PageSourceSearch

https://app.novo.co/Invoices%20Overview.ffe960179f4a3e57.js

js novo.co collected 2026-09-24 19:02:27 UTC 364,050 bytes, 2 lines download raw bytes

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]="13c9b285-74d1-4204-b3db-17177dfebbb1",e._sentryDebugIdIdentifier="sentry-dbid-13c9b285-74d1-4204-b3db-17177dfebbb1")}catch(e){}}(),(self.webpackChunkcore=self.webpackChunkcore||[]).push([[56716],{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 s(){return"https://novo-invoicing-service-api.novo-aws-prod.com/api/upload/document"}function r(){return"https://novo-invoicing-service-api.novo-aws-prod.com/open"}i.d(n,{Ay:()=>a,NK:()=>r,aK:()=>s,sG:()=>t})},19582(e,n,i){"use strict";var a=i(72937);const t=JSON.parse('{"AccountInfoContainerLabels":{"AccountInfoSection":{"Title":"Settings","BankLetterButton":"Bank Letter","StatementsButton":"Statements","UsersButton":"Users"},"TransferLimitsSection":{"Title":"Transfer Limits"}},"PhoneNumberFormLabels":{"title":"Edit Mobile Phone","subTitle":"What\'s your new mobile phone number?","description":"A SMS will be sent to your mobile phone number to verify it\'s you. Message and data rates may apply.","fieldLabel":"Mobile Phone Number","actionButton":{"continue":"Continue","submit":"Submit"}},"PhoneOtpVerificationFormLabels":{"title":"Confirm Mobile Phone Change","fieldLabel":"Enter the code sent to","actionButton":"Continue","description":["You are updating your mobile phone number to","In order to confirm this mobile phone change, please confirm your new mobile phone number."]},"EmailFormLabels":{"title":"Edit Email","description":"An email will be sent to your new email address to verify it\'s you.","fieldLabel":"Mobile Phone Number","actionButton":"Send Code"},"EmailOtpVerificationFormLabels":{"title":"Confirm Email Change","fieldLabel":"Enter the code sent to","actionButton":"Continue","description":["You are updating your email to","In order to confirm this email change, please confirm your new email address."]},"EmailPhoneChangeSuccessLabels":{"title":"Information Updated!","subTitle":"Important Notice","description":"For security, you will be logged out of your Novo account in all devices. Please log in using your new email.","actionButton":"Done"},"ConfirmPhoneFormLabels":{"title":"Confirm Your Identity","fieldLabel":"Enter the code sent to","actionButton":"Continue","description":"In order to save these changes, we\'ll first need to confirm it\'s you making this change. This is to protect your account security."},"AddressFormLabels":{"title":"Edit","subTitle":"What\'s your new","actionButton":"Submit","file":{"title":"Proof of Address","uploadLimit":"Allowed file formats: PDF, JPG, PNG | Maximum file size 10MB"}},"BankLetterModalLabels":{"title":"Bank Letter","description":["The Bank Letter is a document provided by our partner bank to demonstrate the banking relationship and ownership of the account.","The bank letter will include the following information."],"actionButton":"Download","fields":{"accountOwner":"Account Holder","companyName":"Business Name","accountNumber":"Account Number","routingNumber":"Routing Number","businessAddress":"Business Address","accountOpeningDate":"Account Opening Date"}},"DBAFormLabels":{"title":"Update your DBA","subTitle":"What\'s your new \u201cDoing Business As\u201d?","description":"<p>\\n                  Depending on the state or county of registration, it may be\\n                  called: DBA, Trade Name, Fictitious Name, or Assumed Name\\n                  certificate or statement.\\n                </p>\\n                <p>\\n                  Examples of various DBA Certificate names by state:\\n                  <br />
1\\n                  NC - Assumed Business Name Certificate\\n                  <br />\\n                  CT - Certificate of Trade Name\\n                  <br />\\n                  CA - Fictitious Business Name Statement\\n                  <br />\\n                  OH - State of Ohio Certificate, Trade Name Registration\\n                  <br />\\n                </p>\\n                <p>\\n                  If you didn\u2019t receive a certificate and your DBA is listed\\n                  publicly on the website of your Secretary of State, a\\n                  screenshot of the listing is acceptable.\\n                </p>\\n                <p>\\n                  We are unable to accept IRS certificates for proof of\\n                  registration at this time.\\n                </p>","actionButton":"Continue","fileUploadLimit":"Allowed file formats: PDF, JPG, PNG | Maximum file size 10MB"},"DBASuccessScreenLabels":{"title":"We have your request!","description":["We\'ll notify you as all the info has been verified or reach out to you if we need any details.","You can order a new debit card with your updated DBA once it\'s approved."]},"InReviewUpdateReqLabels":{"title":"in Review","description_first":"The edits are under review.","description_second":"New","actionButton":"Cancel Request"},"StartNewApplicationLabels":{"DIFFERENT_EIN":"Different EIN","DIFFERENT_EIN_ONE":"The EIN you entered is different than the one we have on file.","DIFFERENT_EIN_TWO":"For compliance reasons we can\'t add a new DBA to your account when there has been an EIN change. If you want to add a new DBA to your account while your EIN has changed we must ask you fill out a new account application.","DIFFERENT_EIN_THREE":"After your application is approved you will get a new Novo bank account where your new DBA and EIN will be updated.","DIFFERENT_EIN_FOUR":"You can choose to keep both Novo accounts or close one of them afterwards.","START_NEW_APPLICATION":"Start New Application","BACK":"Back"},"W9FormLabels":{"title":"W9 Form","note":"Please provide a W-9 to certify what EIN/TIN is attached to your business. To provide your W-9, please follow these three steps:","fileUploadLimit":"Allowed file formats: PDF, JPG, PNG | Maximum file size 10MB","secondaryButton":"Back","actionButton":"Submit"},"DiscardChangesLabel":{"title":"Discard Changes?","subTitle":"All your changes would be lost. Do you want to terminate this process?","actionButton":"Confirm","secondaryButton":"Cancel"},"BusinessOwnersLabel":{"BUSINESS_OWNERSHIP_INFO":"Business Ownership Info","MANAGE_OWNER":"Manage Owner","PRIMARY_OWNER":"Primary Owner","OWNERSHIP":"Ownership","OWNER":"Owner","IN_REVIEW":"In Review","OWNERSHIP_PERCENTAGE":"Ownership Percentage"},"BusinessInfoUpdateLabels":{"REMOVE_THIS_OWNER":"Remove this owner"},"EditWebsiteLabels":{"title":"Edit Website","actionButton":"Submit"},"COMMON":{"EDIT":"Edit","FULL_NAME":"Full Name","OWNERSHIP":"Ownership","DOB":"Date of Birth","CITIZENSHIP":"Citizenship","SSN":"SSN (Social Security Number)","SSN_SIMPLE":"SSN","EMAIL":"Email","PHONE":"Phone","PERSONAL_ADDRESS":"Personal Address","SUBMIT":"Submit","DBA":"DBA (Doing Business As)","EIN":"EIN (Employer Identification Number)","HOME_ADDRESS":"Home Address","LEGAL_NAME":"Legal Name","BUSINESS_INFO":"Business Info","PERSONAL_INFO":"Personal Info","MOBILE_NUMBER":"Mobile Number","LEGAL_BUSINESS_NAME":"Legal Business Name","BUSINESS_TYPE":"Business Type","PHONE_NUMBER":"Phone Number","BUSINESS_ADDRESS":"Business Address","MAILING_ADDRESS":"Mailing Address","BUSINESS_OWNERSHIP_INFO":"Business Ownership Info","OWNER_NAME":"Owner Name","DATE_OF_BIRTH":"Date of Birth","ADDRESS":"Address","FULL_LEGAL_NAME":"Full Legal Name","BUSINESS_NAME":"Business Name","EMAIL_ADDRESS":"Email Address","ERROR_MESSAGE":"Something Went Wrong!","MOBILE_PHONE":"Mobile Phone","DBA_CERTIFICATE":"DBA Certificate","BENEFICIAL_OWNERS":"Beneficial Owners","WEBSITE":"Website","PROOF_OF_ADDRESS":"Proof of Address","IN_REVIEW":"In Review","REQUEST_A_NEW_CODE_IN":"Didn\'t get a code? Request a new code in {countdown}.","ADDRESS_DOC_EXAMPLES":["Utility bill","Lease agreement"],"AS_A_TYPE_YOUR_SSN":"As a {businessType} your SSN can be used in place of an EIN to identify your business."},"REVIEW_ACCOUNT_INFORMATION":{"TITLE":"Review your current account information","EDIT_INFORMATION":"Edit Information","LOOKS_GOOD":"Looks Good"},"DDAClosureLabels":{"CLOSE_ACCOUNT_BUTTON":"Close account","CLOSE_ACCOUNT_DESCRIPTION":"Permanently close your Novo account and remove access to Novo.","NOT_PRIMARY_USER":{"TITLE":"You\'re not the primary user","DESCRIPTION":"Only the Primary User on this account is authorized to make this request. Please contact {primaryUserEmail} to proceed.","DISMISS":"Dismiss","PRIMARY_USER_FALLBACK":"the Primary User"},"PASSWORD_MODAL":{"HEADER":"Close your Novo account?","DESCRIPTION":"Closing your account is permanent.","SUBMIT":"Close account","CANCEL":"Cancel"},"BLOCKERS":{"TITLE":"Almost done","SUBTITLE":"We can\'t close your account until everything below is resolved.","GOT_IT":"Got it"},"REASONS":{"TITLE":"Before you go","SUBTITLE":"We\'re sorry to see you leave. Let us know what led to your decision, your feedback helps us improve. Select all that apply:","SUB_REASONS_LABEL":"Select all that apply:","TEXTAREA_LABEL":"What could we have done better?","TEXTAREA_OPTIONAL":"Optional","TEXTAREA_PLACEHOLDER":"Your feedback helps us improve...","TEXTAREA_MIN_ERROR":"Please enter at least 80 characters","SUBMIT":"Submit","CANCEL":"Cancel","OTHERS_LABEL":"Other"},"AUTHORIZATION":{"TITLE":"Final authorization","SUBTITLE":"By clicking Delete account, you understand you\'ll lose access to the Novo platform permanently and cannot be undone.","CONFIRM_LABEL":"Please confirm all of the following:","CHECKBOX_1":"I authorize Novo to permanently close this account and understand my access will be revoked.","CHECKBOX_2":"I confirm there are no pending, upcoming, or recurring payments scheduled.","CHECKBOX_3":"I have downloaded any business documents and statements I need before closing my account.","CLOSE_ACCOUNT":"Close account","BACK":"Back"},"SUCCESS":{"TITLE":"You\'re all set","LOGOUT_BUTTON":"Log out"}},"BUSINESS_INFO_UPDATE_CHANGE_OPTIONS":{"name_type_ein":{"label":"Business N
1ame, Business Type and EIN","description":"Update everything at once."},"name_type":{"label":"Business Name or Business Type","description":"Update your business name or type."},"name":{"label":"Business Name","description":"Update your business name only."},"name_ein":{"label":"Business Name and EIN","description":"Update your business name and the EIN."},"ein":{"label":"EIN (Employer Identification Number)","description":"Update your business EIN only."},"ubo":{"label":"Ownership Info","description":"Update your UBO (Ultimate Beneficial Owner)"}},"IDENTITY_VERIFICATION_OPTIONS":{"license":{"label":"U.S. Driver\u2019s License / State ID"},"passport":{"label":"Passport"}},"BUSINESS_TYPE_OPTIONS":{"sole_proprietorship":{"label":"Sole Proprietorship"},"partnership":{"label":"Partnership"},"corporation":{"label":"Corporation"},"llc":{"label":"LLC"},"single_member_llc":{"label":"Single Member LLC"}},"ADD_UPB_STEPS":{"personal_info":{"title":"Personal Info"},"contact_info":{"title":"Contact Info"},"id_verification":{"title":"ID Verification"}},"Title":"Personal Info","first_name":"First Name","last_name":"Last Name","middle_name":"Middle Name","phone":"Phone","email":"Email","address":"Address","full_name":"Full Name","validation":{"INVALID_PHONE_NUMBER":"Please enter valid phone number","INVALID_EMAIL":"Please enter a valid email","INVALID_WEBSITE":"Please enter a valid website","BUSINESS_NAME_MIN":"Business Name must be at least 2 characters","BUSINESS_NAME_MAX":"Business Name must be at most 250 characters","CONFIRM_OWNERSHIP":"You must confirm the ownership","FIRST_NAME_MIN":"First name must be at least 1 characters long.","FIRST_NAME_MAX":"First name must be at most 30 characters","LAST_NAME_MIN":"Last name must be at least 2 characters long.","LAST_NAME_MAX":"Last name must be at most 30 characters","UNIT_MAX":"Unit must be at most 20 characters"},"addressHeader":{"personal_address":{"title":"Home Address","question":"What\'s your new home address?","documentShouldCover":["Your legal name","Your address"]},"business_address":{"title":"Business Address","question":"What\'s your new physical business address?","documentShouldCover":["New address","Your legal name","Your business name"]},"mailing_address":{"title":"Mailing Address","question":"What\'s your new mailing address?","documentShouldCover":["New address","Your legal name","Your business name"]}},"not_editable":"Not Editable","new_ubo":"New UBO","current_info":"Current Info","update_info":"Update Info","please_prepare_the_following_documents":"Please prepare the following documents for the update request.","the_document_must_be_complete_dated":"The document must be complete, dated and signed. Kindly note we cannot accept IRS documents as a proof of a business document.","upload_document":"Upload Document","select_your_document_type":"Select your document type","upload_a_selfie_along_with_your":" Upload a selfie along with your driver\'s license or state ID.","upload_a_photo_of_the_owner":"Upload a photo of the owner\'s front license or state ID.","upload_a_selfie_along_with_your_2":"Upload a selfie along with your passport\'s main page.","upload_a_photo_of_the_passport":" Upload a photo of the passport\'s main page.","signature_and_photo_must_be_visible":"Signature and photo must be visible","information_should_be_clear_and":"Information should be clear and in focus","cannot_be_expired_or_a_military":"Cannot be expired, or a Military ID","example_of_photo_and_id_needed":"Example of photo and ID needed","front_of_driver_s_license_state":"Front of driver\u2019s license / State ID","main_page_of_passport":"Main page of passport","upload_photo":"Upload Photo","upload_a_photo_like_the_example":"Upload a photo like the example shown","deleted":"Deleted","previous":"Previous","update_owner":"Update Owner","add_owner":"Add Owner","next":"Next","are_you_sure_you_want":"Are you sure you want to cancel?","if_you_cancel_this_process_now":"If you cancel this process now, none of the information you have entered so far will be saved. You will need to start from the beginning next time.","stay_and_continue":"Stay and continue","cancel_anyway":"Cancel anyway","confirm_ownership_info":"Confirm ownership info","update_ownership_info":"Update ownership info","i_confirm_that_the_information_provided":"I confirm that the information provided on the beneficial\\n                    ownership of the business is accurate and factual, and I\\n                    would like to proceed with the request.","provide_your_ein_certificate":"Provide your EIN certificate","please_attache_your_ein_certificate_issued":"Please attache your EIN certificate issued by the IRS","to_provide_your_w_9_form":"To provide your W-9 form, please follow these three steps.","n1_download":"1. Download the","w_9_form":"W-9 Form","n2_open_the_w_9_form":"2. Open the W-9 form, fill and sign it digitally using free tool such as Adobe Fill & Sign, or print it out, and sign it manually.","you_can_access_the_tools_app":"You can access the tools/app by selecting the preferred platform..","open_adobe_tool_in_your_device":"Open Adobe tool in your device browser.","download_the_adobe_app_from_play":"Download the Adobe app from Play Store.","download_the_adobe_app_from_app":"Download the Adobe app from App Store.","proof_of_updated_ein":"Proof of updated EIN","your_business_ein_certificate_issued":"Your business EIN certificate issued by the IRS.","proof_of_identity":"Proof of Identity","provide_a_photo_of_you_next":"Provide a photo of you next to your driver\u2019s license or passport.","review_your_update_request":"Review your update request","confirm_and_verify_the_changes_you":"Confirm and verify the changes you have requested before final submission.","update_your_business_ein":"Update your Business EIN","please_provide_updated_business_ein":"Please provide updated Business EIN.","provide_updated_ein":"Provide updated EIN","ein_certificate_issued_by_irs":"EIN certificate issued by IRS","update_your_business_info":"Update your business info","select_a_section_to_make_changes":"Select a section to make changes.","once_you_select_an_option_you":"Once you select an option, you\'ll see a list of documents and information required to process your request.","close"
1:"Close","proof_of_updated_business_name":"Proof of updated business name","the_official_name_amendment_document":"The official name amendment document that shows the business name change or, the official business document that shows the correct business name if an incorrect one was updated on the account.","confirm_your_ownership_and_ubo_info":"Confirm your ownership and UBO info","please_confirm_the_information_regarding_your":"Please confirm the information regarding your business ownership.","update_your_business_name":"Update your Business Name","please_provide_your_new_legal_business":"Please provide your new legal business name","provide_your_new_legal_business_name":"Provide your new legal business name","new_legal_business_name":"New legal business name","business_name_amendment_document":"Business name amendment document","provide_your_secretary_of_state_document":"Provide your Secretary of State document","please_attach_a_business_document":"Please attach a business document that has your name as a member, manager, owner, or organizer of the business.","you_can_attach_any_of":"You can attach any of the following documents.","statement_of_organizer":"Statement of Organizer","initial_resolutions":"Initial Resolutions","articles_of_organization_incorporation":"Articles of Organization/Incorporation","operating_agreement":"Operating Agreement","minutes_of_meeting":"Minutes of Meeting","conversion_document":"Conversion Document","in_case_the_business_type":"(In case the business type is being changed from LLC to Corporation.)","partnership_agreement":"Partnership Agreement","in_case_the_business_type_2":"(In case the business type is being changed to Partnership.)","secretary_of_state_document":"Secretary of State document","proof_of_updated_business_name_2":"Proof of updated business name or type","secretary_of_state_documents_articles":"Secretary of State documents (Articles of Organization, Signed Operating Agreement, etc.)","provide_updated_legal_business_name":"Provide updated legal Business Name","select_updated_business_type":"Select updated Business Type","please_be_aware_that_while_we":"Please be aware that while we are able to support most business entity changes, if you are an LLC changing to a Corporation, your EIN number must remain the same. If the EIN number has changed, for these specific cases, you will need to apply for a new account.","please_write_to_us_via":"Please write to us via a support query with your circumstances, and we may be able to help you.","create_ticket":"Create Ticket","proof_of_updated_business_name_3":"Proof of updated business name and type","cancel_this_update":"Cancel this update?","no_changes_will_be_made":"No changes will be made on this page.","never_mind":"Never mind","we_are_reviewing_your_request":"We are reviewing your request","we_will_update_you_shortly":"We will update you shortly","requested_business_info":"Requested Business Info","we_re_looking_everything_over":"We\u2019re looking everything over","your_ownership_info_has_been_updated":"Your ownership info has been updated","you_should_hear_back_from_us":"You should hear back from us within 2 business days.","you_can_find_all_your_updates":"You can find all your updates by going to Account Info.","remove_this_owner":"Remove this owner?","this_owner_s_info_will":"This owner\u2019s info will be deleted, along with any of their data.","removing_this_owner_doesn_t_remove":"Removing this owner doesn\u2019t remove their access to this account if they are on the User List. To completely remove their access, make sure to delete them from the User List as well.","remove":"Remove","are_you_sure_you_want_2":"Are you sure you want to close this?","by_cancelling_this_process_now_any":"By cancelling this process now, any information you have entered or updated for UBO so far will not be saved.","you_will_still_be_able":"You will still be able to proceed with updating the Business Info.","continue_updating_ubo_information":"Continue updating UBO information","back_to_business_info_update":"Back to Business Info update","enter_email_address":"Enter email address","enter_address":"Enter Address","no_p_o_boxes":"No P.O.Boxes","unit":"Unit","enter_unit":"Enter Unit","enter_city":"Enter City","select_state":"Select State","zip_code":"Zip Code ","enter_zip_code":"Enter zip code","owner_details":"Owner details","upload_ubo_identity_document":"Upload UBO Identity Document","edit_this_owner_s_info":"Edit this owner\'s info","add_another_owner":"Add another owner","make_updates_to_their_personal_info":"Make updates to their personal info, contact info, and identification.","enter_their_personal_info_contact_info":"Enter their personal info, contact info, and identification.","progress":"Progress","percentage_owned":"Percentage Owned","enter_first_name":"Enter first name","enter_middle_name":"Enter middle name","enter_last_name":"Enter last name","select_citizenship":"Select citizenship","social_security_number":"Social Security Number","select_ubo_s_date_of_birth":"Select UBO\'s Date of Birth","confirm_ownership_and_ubo_info":"Confirm ownership and UBO info","review_your_update":"Review your update","make_sure_everything_looks_good_before":"Make sure everything looks good before submitting.","i_authorize_novo_to_update":"I authorize Novo to update the business ownership on my account and confirm I have obtained consent from all relevant business owners.","update_your_ownership_info":"Update your ownership info","adjust_the_percentage_of_ownership":"Adjust the percentage of ownership for each person.","required_field_please_enter_a_value":"Required field. Please enter a value.","there_s_no_space_for_more":"There\u2019s no space for more owners","add_another_owner_by_adjusting_your":"Add another owner by adjusting your percentages to free up at least 25%.","verify_your_identity":"Verify your identity","please_provide_your_government_id":"Please provide your government ID to verify your identity","upload_your_government_id":"Upload your government ID","edit_business_information":"Edit business Information","review_business_information":"Review business Information","change_password":"Change password","to_keep_your_novo_account_safe":"To keep your Novo account safe we must verify address changes.","please_provide_a_document_that_displays":"Please provide a document that displays these:","all_provided_docs_should_not":"All provided docs should not be older than 30 days.","some_common_examples":"Some common examples are:","unit_suite":"Unit / Suite","enter_unit_suite":"Enter Unit / Suite","zip":"Zip","enter_zip":"Enter Zip","all_done":"ALL DONE!","your_request_has_been_submitted":"Your request has been submitted","we_re_reviewing_your_business_info":"We\u2019re reviewing your business Info updates and will get back to you within 2 business days.","confirm_business_info":"Confirm Business Info","confirm_submit":"Confirm & Submit","requested_info":"Requested Info","cancel_this_request":"Cancel this Request","confirm_ein":"Confirm EIN","please_confirm_if_your_ssn":"Please confirm if your SSN is still relevant to identify your business or enter your new EIN 
1in case you have one.","keep_using_my_ssn":"Keep using my SSN","i_have_new_ein":"I have new EIN","verify_your_ein":"Verify your EIN","update_ein_info":"Update EIN info","i_confirm_that_the_information_provided_2":"I confirm that the information provided on the EIN is accurate and factual, and I would like to proceed with the request.","update_your_ein":"Update your EIN","update":"Update","provide_updated_dba":"Provide updated DBA","didn_t_get_a_code":"Didn\'t get a code?","request_a_new_code":"Request a new code.","request_a_new_code_2":"Request a new code","we_re_reviewing_your_updates":"We\'re reviewing your updates","you_should_hear_back_from_us_2":"You should hear back from us soon.","update_request":"Update Request","please_revert_requested_information":"Please revert requested information","cancel_updates":"Cancel updates","something_went_wrong":"Something went wrong","no_changes_detected_if_you_need":"No changes detected. If you need to update ownership information, please try again.","error":"Error","file_size_should_be_less_than":"File size should be less than 10 MB","uploaded_file_size_is_higher":"Uploaded File size is higher","businessDocuments":{"subDescription":"Please provide a business document that has your name as a member, manager, owner, or organizer of the business. This can be any of the following documents.","subList":["Statement of Organizer","Initial Resolutions","Articles of Organization/Incorporation","Operating Agreement","Minutes of Meeting","Conversion Document - (In case the business type is being changed from LLC to Corporation.)"],"partnershipAgreementDashed":"Partnership Agreement - (In case the business type is being changed to Partnership)","partnershipAgreement":"Partnership Agreement (In case the business type is being changed to Partnership)"},"uboRequirements":{"description":"You\u2019ll need to confirm any business owners that own or control at least 25% of the company. Here\u2019s what you\u2019ll need to provide:","subList":["Personal info (name, citizenship, DOB, and SSN)","Contact info","Driver\u2019s license or Passport","Selfie photo of person next to ID"]},"authorization":{"name":"I, <who>{who}</who>, hereby authorize Novo to update my business name from <from>{from}</from> to <to>{to}</to> on the account ending in <acct>{acct}</acct> due to a business name change.","name_and_type":"I, <who>{who}</who> , hereby authorize Novo to update my business name or type from <from>{fromName} {fromType}</from> to <to>{toName} {toType}</to> on the account ending in <acct>{acct}</acct> due to a business name or type change.","ein":"I,<who>{who}</who>, member of<company>{company}</company>hereby authorize Novo to update my EIN from<from>{from}</from>to<to>{to}</to>on the account ending in<acct>{acct}</acct>due to receiving a new EIN.","name_ein":"I,<who>{who}</who>, hereby authorize Novo to update my business name from<from>{from}</from>to<to>{to}</to> and update my EIN from<einFrom>{einFrom}</einFrom>to<einTo>{einTo}</einTo>on the account ending in<acct>{acct}</acct>due to a business name change along with the EIN.","name_type_ein":"I, <who>{who}</who> , hereby authorize Novo to update my business name and type from <from>{fromName} {fromType}</from> to <to>{toName} {toType}</to> and update my EIN from <einFrom>{einFrom}</einFrom> to <einTo>{einTo}</einTo> on the account ending in <acct>{acct}</acct> due to a business name and type change along with the EIN."},"businessNameType":{"title":"{connector, select, or {Update your Business Name or Type} other {Update your Business Name and Type}}","description":"{connector, select, or {Please provide updated legal Business Name or Type.} other {Please provide updated legal Business Name and Type.}}"},"let_us_know_who_owns_25_or_more_of_the_business":"Let us know who owns 25% or more of the business.","i_confirm_no_other_owners_has_more_than_25_of_ownership":"I confirm no other owners has more than 25% of ownership in the business and information provided on the beneficial\\n                    ownership of the business is accurate and factual, and I\\n                    would like to proceed with the request. ","only_add_owners_with_25_or_more_ownership":"Only add owners with 25% or more ownership","ownership_should_be_more_than_25":"Ownership should be more than 25%","include_anyone_who_owns_25_or_more_of_the_business":"Include anyone who owns 25% or more of the business.","city":"City","state":"State","LanguagePreferenceLabels":{"title":"Language","description":"The language Novo uses across the web app, emails, and Ask Anything.","saveLabel":"Save changes"},"AssistantAccessLabels":{"saveSuccess":"Data access updated"},"SettingsTabsLabels":{"accountInfo":"Account info","preferences":"Preferences"}}');(0,a.registerCatalogue)("account-info",t,{es:()=>i.e(22911).then(i.t.bind(i,22911,19)).then((e=>e.default))})},30958(e,n,i){"use strict";i.d(n,{E:()=>a,x:()=>t});let a=function(e){return e.SUPPORT="SUPPORT",e.SEND_MONEY="SEND_MONEY",e.CREDIT_CARD="CREDIT_CARD",e.LENDING="LENDING",e}({}),t=function(e){return e.BLOCKERS="blockers",e.REASONS="reasons",e.AUTHORIZATION="authorization",e.SUCCESS="success",e}({})},85875(e,n,i){"use strict";i.d(n,{Ac:()=>S,Ah:()=>U,An:()=>D,Bc:()=>L,DW:()=>u,EU:()=>I,Io:()=>k,OG:()=>P,OK:()=>c,Oj:()=>R,W5:()=>E,YB:()=>T,YL:()=>A,Yd:()=>F,Yq:()=>_,aN:()=>O,bD:()=>v,bI:()=>N,cD:()=>g,co:()=>b,h5:()=>C,jU:()=>y,km:()=>f,lD:()=>d,rx:()=>m,uV:()=>o,xw:()=>p,yQ:()=>l,zv:()=>h});var a=i(21215),t=i(71067),s=i(30958),r=i(72937);i(19582);var d=function(e){return e.USERS_INFO="USERS_INFO",e.ACCOUNT_INFO="ACCOUNT_INFO",e.PERSONAL_INFO="PERSONAL_INFO",e.BUSINESS_INFO="BUSINESS_INFO",e.BUSINESS_DETAILS="BUSINESS_DETAILS",e.ME_INFO="ME_INFO",e.CONFIG_INFO="CONFIG_INFO",e.BUSINESS_INFO_UPDATE_FETCH_OWNERSHIP="BUSINESS_INFO_UPDATE_FETCH_OWNERSHIP",e.BUSINESS_INFO_UPDATE_FETCH_OWNERS="BUSINESS_INFO_UPDATE_FETCH_OWNERS",e.BUSINESS_INFO_UPDATE_SUBMIT="BUSINESS_INFO_UPDATE_SUBMIT",e.EIN_SSN_DETAILS="EIN_SSN_DETAILS",e.BUSINESS_UBO_UPDATE="BUSINESS_UBO_UPDATE",e.ACKNOWLEDGE_ACCOUNT_INFO="ACKNOWLEDGE_ACCOUNT_INFO",e}(d||{}),o=function(e){return e.PERSONAL_INFO="PERSONAL_INFO",e.BUSINESS_INFO="BUSINESS_INFO",e}(o||{}),l=function(e){return e.ACCOUNT_INFO="ACCOUNT_INFO",e.BANK_LETTER_MODAL="BANK_LETTER_MODAL",e.EMAIL="EMAIL",e.EMAIL_IDENTITY_VERIFICATION="EMAIL_IDENTITY_VERIFICATION",e.EMAIL_OTP_VERIFICATION="EMAIL_OTP_VERIFICATION",e.PHONE_NUMBER="PHONE_NUMBER",e.CONFIRM_PHONE_CHANGE="CONFIRM_PHONE_CHANGE",e.PHONE_OTP_VERIFICATION="PHONE_OTP_VERIFICATION",e.ADDRESS="ADDRESS",e.MAILING_ADDRESS="MAILING_ADDRESS",e.IN_REVIEW_UPDATE_REQUEST="IN_REVIEW_UPDATE_REQUEST",e.DBA="DBA",e.DBA_EIN="DBA_EIN",e.DBA_START_NEW_APPLICATION="DBA_START_NEW_APPLICATION",e.DBA_W9="DBA_W9",e.DBA_EIN_UPDATE="DBA_EIN_UPDATE",e.DBA_EIN_REVIEW="DBA_EIN_REVIEW",e.DISCARD_CHANGES="DISCARD_CHANGES",e.BUSINESS_NAME_TYPE_CHANGE="BUSINESS_NAME_TYPE_CHANGE",e.ADD_UBO="ADD_UBO",e.CONFIRM_UBO_EXIT="CONFIRM_UBO_EXIT",e.CONFIRM_EXIT_BUSINESS_INFO_UPDATE="CONFIRM_EXIT_BUSINESS_INFO_UPDATE",e.CONFIRM_CANCEL_BUSINESS_INFO_UPDATE="CONFIRM_CANCEL_BUSINESS_INFO_UPDATE",e.UBO_DETAILS="UBO_DETAILS",e.CONFIRM_UBO_DELETE="CONFIRM_UBO_DELETE",e.WEBSITE="WEBSITE",e.DDA_CLOSE_ACCOUNT_NOT_PRIMARY_USER="DDA_CLOSE_ACCOUNT_NOT_PRIMARY_USER",e}(l||{});const m={shouldCloseOnBackdrop:!1,shouldCloseOnEsc:!1};var _=function(e){return e.FROZEN="FROZEN",e}(_||{}),c=function(e){return e.ACCOUNT_STATUS="ACCOUNT_STATUS",e}(c||{}),u=function(e){return e.FULL_FREEZE="FULL_FREEZE",e}(u||{});const E=6048e5,N="/upload/personal-info-update-upload",v="/upload/business-info-update-upload",T=[{value:"name_type_ein",get label(){return(0,r.catalogueText)("account-info","BUSINESS_INFO_UPDATE_CHANGE_OPTIONS.name_type_ein.label")},get description(){return(0,r.catalogueText)("account-info","BUSINESS_INFO_UPDATE_CHANGE_OPTIONS.name_type_ein.description")}},{value:"name_type",get label(){return(0,r.catalogueText)("account-info","BUSINESS_INFO_UPDATE_CHANGE_OPTIONS.name_type.label")},get description(){return(0,r.catalogueText)("account-info","BUSINESS_INFO_UPDATE_CHANGE_OPTIONS.name_type.description")}},{value:"name",get label(){return(0,r.catalogueText)("account-info","BUSINESS_INFO_UPDATE_CHANGE_OPTIONS.name.label")},get description(){return(0,r.catalogueText)("account-info","BUSINESS_INFO_UPDATE_CHANGE_OPTIONS.name.de
1scription")}},{value:"name_ein",get label(){return(0,r.catalogueText)("account-info","BUSINESS_INFO_UPDATE_CHANGE_OPTIONS.name_ein.label")},get description(){return(0,r.catalogueText)("account-info","BUSINESS_INFO_UPDATE_CHANGE_OPTIONS.name_ein.description")}},{value:"ein",get label(){return(0,r.catalogueText)("account-info","BUSINESS_INFO_UPDATE_CHANGE_OPTIONS.ein.label")},get description(){return(0,r.catalogueText)("account-info","BUSINESS_INFO_UPDATE_CHANGE_OPTIONS.ein.description")}},{value:"ubo",get label(){return(0,r.catalogueText)("account-info","BUSINESS_INFO_UPDATE_CHANGE_OPTIONS.ubo.label")},get description(){return(0,r.catalogueText)("account-info","BUSINESS_INFO_UPDATE_CHANGE_OPTIONS.ubo.description")}}],I=[{value:"LICENSE",get label(){return(0,r.catalogueText)("account-info","IDENTITY_VERIFICATION_OPTIONS.license.label")}},{value:"PASSPORT",get label(){return(0,r.catalogueText)("account-info","IDENTITY_VERIFICATION_OPTIONS.passport.label")}}],p=[{value:t.e8.sole_proprietorship,get label(){return(0,r.catalogueText)("account-info","BUSINESS_TYPE_OPTIONS.sole_proprietorship.label")}},{value:t.e8.partnership,get label(){return(0,r.catalogueText)("account-info","BUSINESS_TYPE_OPTIONS.partnership.label")}},{value:t.e8.corporation,get label(){return(0,r.catalogueText)("account-info","BUSINESS_TYPE_OPTIONS.corporation.label")}},{value:t.e8.llc,get label(){return(0,r.catalogueText)("account-info","BUSINESS_TYPE_OPTIONS.llc.label")}},{value:t.e8.single_member_llc,get label(){return(0,r.catalogueText)("account-info","BUSINESS_TYPE_OPTIONS.single_member_llc.label")}}],g={name:["NAME"],ein:["EIN"],name_ein:["NAME","EIN"],name_type:["NAME","TYPE"],name_type_ein:["NAME","TYPE","EIN"],type:["NAME","TYPE"],ubo:["UBO"]},k={sole_proprietorship:"SOLE_PROPRIETORSHIP",partnership:"PARTNERSHIP",corporation:"CORPORATION",llc:"LLC",single_member_llc:"LLC"},S=[{get title(){return(0,r.catalogueText)("account-info","ADD_UPB_STEPS.personal_info.title")}},{get title(){return(0,r.catalogueText)("account-info","ADD_UPB_STEPS.contact_info.title")}},{get title(){return(0,r.catalogueText)("account-info","ADD_UPB_STEPS.id_verification.title")}}],A={name:["select_change_type","update_name","verify_identity","confirm_ownership","update_ownership_info","ubo_detail","add_ubo","review_changes","success"],ein:["select_change_type","update_ein","verify_identity","review_changes","success"],name_type:["select_change_type","update_name_type","business_type_document","verify_identity","confirm_ownership","update_ownership_info","ubo_detail","add_ubo","review_changes","success"],name_ein:["select_change_type","update_name","update_ein","verify_identity","confirm_ownership","update_ownership_info","ubo_detail","add_ubo","review_changes","success"],name_type_ein:["select_change_type","update_name_type","business_type_document","update_ein","verify_identity","confirm_ownership","update_ownership_info","ubo_detail","add_ubo","review_changes","success"],ubo:["select_change_type","update_ownership_info","ubo_detail","add_ubo","review_changes","success"]},O={ein:"I, NAME, member of EXISTING_COMPANY_NAME authorize Novo to update my EIN from EXISTING_EIN to NEW_EIN on the account ending in EXISTING_ACCOUNT_NUMBER due to receiving a new EIN.",name:"I, NAME, hereby authorize Novo to update my business name from EXISTING_COMPANY_NAME to NEW_COMPANY_NAME on the account ending in EXISTING_ACCOUNT_NUMBER due to a business name change.",name_ein:"I, NAME, hereby authorize Novo to update my business name from EXISTING_COMPANY_NAME to NEW_COMPANY_NAME and update my EIN from EXISTING_EIN to NEW_EIN on the account ending in EXISTING_ACCOUNT_NUMBER due to a business name change along with the EIN.",name_type:"I, NAME, hereby authorize Novo to update my business name or type from EXISTING_COMPANY_NAME EXISTING_BUSINESS_TYPE to NEW_COMPANY_NAME NEW_BUSINESS_TYPE on the account ending in EXISTING_ACCOUNT_NUMBER due to a business name or type change.",name_type_ein:"I, NAME, hereby authorize Novo to update my business name and type from EXISTING_COMPANY_NAME EXISTING_BUSINESS_TYPE to NEW_COMPANY_NAME NEW_BUSINESS_TYPE and update my EIN from EXISTING_EIN to NEW_EIN on the account ending in EXISTING_ACCOUNT_NUMBER due to a business name and type change along with the EIN.",type:"I, NAME, hereby authorize Novo to update my business name and type from EXISTING_COMPANY_NAME EXISTING_BUSINESS_TYPE to NEW_COMPANY_NAME NEW_BUSINESS_TYPE on the account ending in EXISTING_ACCOUNT_NUMBER due to a business name and type change.",ubo:"I, NAME, hereby authorize Novo to update my business ownership on the account ending in EXISTING_ACCOUNT_NUMBER."},C={visible:{transition:{delayChildren:.2,staggerChildren:.05}}},D={hidden:{y:-10,opacity:0}
1,visible:{y:0,opacity:1}},y={enterFromLeft:{x:"-100vw",opacity:0,transition:{duration:.7}},enterFromRight:{x:"100vw",opacity:0,transition:{duration:.7}},center:{x:0,opacity:1,transition:{duration:.7}},exitToLeft:{x:"100vw",opacity:0,transition:{duration:.7}},exitToRight:{x:"-100vw",opacity:0,transition:{duration:.7}}},f={enterFromLeft:{x:"-200px",opacity:0,transition:{duration:.5}},enterFromRight:{x:"200px",opacity:0,transition:{duration:.5}},center:{x:0,opacity:1,transition:{duration:.5,delay:.1}},exitToLeft:{x:"200px",opacity:0,transition:{duration:.5}},exitToRight:{x:"-200px",opacity:0,transition:{duration:.5}}},R={get first_name(){return(0,r.catalogueText)("account-info","first_name")},get last_name(){return(0,r.catalogueText)("account-info","last_name")},get middle_name(){return(0,r.catalogueText)("account-info","middle_name")},citizenship:"Citizenship",ssn:"SSN",dob:"DOB",get phone(){return(0,r.catalogueText)("account-info","phone")},get email(){return(0,r.catalogueText)("account-info","email")},get address(){return(0,r.catalogueText)("account-info","address")},get full_name(){return(0,r.catalogueText)("account-info","full_name")}},L="DD MMM YYYY",h={[s.E.SUPPORT]:a.NOVO_PAGE_ROUTES.Support,[s.E.SEND_MONEY]:a.NOVO_PAGE_ROUTES.MakePayment,[s.E.CREDIT_CARD]:a.NOVO_PAGE_ROUTES.NovoCard,[s.E.LENDING]:a.NOVO_PAGE_ROUTES.Lending},F="OTHER",P=80,b=1e3,U=[{label:"English (US)",value:"en"},{label:"Espa\xf1ol",value:"es"}]},26443(e,n,i){"use strict";i.d(n,{Fb:()=>l.formateSSN,Gh:()=>O,Iy:()=>g,JX:()=>L,QG:()=>f,TR:()=>D,bL:()=>T,f8:()=>p,n$:()=>C,n4:()=>k,pL:()=>A,pY:()=>y,qt:()=>h,vd:()=>S,yi:()=>E,zx:()=>F});var a=i(90024),t=i(73681),s=i.n(t),r=i(85875),d=i(91317),o=i.n(d),l=i(36195),m=i(43051);const _=["data"],c=["data"],u=["entry","type","requestId","modalProps","newValue","otpSentTo","files"],E=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},N=e=>{const{address:n,address_line_1:i,address_line_2:a,city:t,state:s,zip_code:r}=e;return`${[i||n,a,t,s].filter((e=>!!e)).join(", ")} - ${r||""}`},v=(e,n)=>{var i;const{data:t}=n,d=(0,a.A)(n,_),o=d.in_review?r.yQ.IN_REVIEW_UPDATE_REQUEST:"";switch(e){case"name":return Object.assign({title:m.Sq.LEGAL_NAME,formattedValue:n.data.name},d);case"email":return Object.assign({title:m.Sq.EMAIL,formattedValue:n.data.email,modalName:o||r.yQ.EMAIL},d);case"phone":return Object.assign({title:m.Sq.MOBILE_PHONE,formattedValue:k(n.data.phone),modalName:o||r.yQ.PHONE_NUMBER},d);case"address":return Object.assign({title:m.Sq.HOME_ADDRESS,formattedValue:N(t.address),modalName:o||r.yQ.ADDRESS,docTitle:m.Sq.PROOF_OF_ADDRESS},d);case"ssn":return Object.assign({title:m.Sq.SSN,formattedValue:null==(i=n.data.ssn)?void 0:i.masked},d);case"dob":return Object.assign({title:m.Sq.DOB,formattedValue:s()(n.data.dob).format("DD MMM YYYY")},d);default:return{}}},T=e=>{const n={};return Object.keys(e).forEach((i=>{const a=i;n[a]=v(a,e[a])})),n},I=(e,n)=>{const i=(0,a.A)(n,c),t=i.in_review?r.yQ.IN_REVIEW_UPDATE_REQUEST:"";switch(e){case"company_name":return Object.assign({title:m.Sq.LEGAL_BUSINESS_NAME,formattedValue:n.data.company_name},i,{is_editable:!0});case"dba":return Object.assign({title:"DBA",formattedValue:n.data.dba||"N.A",modalName:t||r.yQ.DBA,docTitle:m.Sq.DBA_CERTIFICATE},i);case"phone":return Object.assign({title:m.Sq.PHONE_NUMBER,formattedValue:k(n.data.phone),modalName:t||r.yQ.PHONE_NUMBER},i);case"address":return Object.assign({title:m.Sq.BUSINESS_ADDRESS,formattedValue:N(n.data.address),modalName:t||r.yQ.ADDRESS,docTitle:m.Sq.PROOF_OF_ADDRESS},i);case"mailing_address":return Object.assign({title:m.Sq.MAILING_ADDRESS,formattedValue:N(n.data.address),modalName:t||r.yQ.MAILING_ADDRESS,docTitle:m.Sq.PROOF_OF_ADDRESS},i);case"name":return Object.assign({title:m.Sq.BUSINESS_NAME,formattedValue:n.data.name||"N.A"},i);case"ein":return Object.assign({title:"EIN",formattedValue:n.data.ein||"N.A"},i);case"beneficial_owners":return Object.assign({title:m.Sq.BENEFICIAL_OWNERS,formattedValue:n.data.beneficial_owners||"N.A"},i);case"website":return Object.assign({title:m.Sq.WEBSITE,formattedValue:n.data.website||"-",modal
1Name:t||r.yQ.WEBSITE},i);default:return{}}},p=e=>{const n={};return Object.keys(e).forEach((i=>{const a=i;n[a]=I(a,e[a])})),n},g=(e,n)=>{if(e===r.uV.PERSONAL_INFO&&n===r.yQ.ADDRESS)return m.cE.personal_address;if(e===r.uV.BUSINESS_INFO){if(n===r.yQ.ADDRESS)return m.cE.business_address;if(n===r.yQ.MAILING_ADDRESS)return m.cE.mailing_address}return{}},k=e=>e?e.slice(-10).replace(/(\d{3})(\d{3})(\d{4})/,"($1) $2-$3"):"",S=(e,n,i)=>{const a=[n.first_name,n.middle_name,n.last_name].filter(Boolean).join(" "),t=e.company_name,r=i.bank_account_number,d=i.routing_number;let o="-";i.opening_date&&(o=s()(i.opening_date).format("MMM D, YYYY"));const l=e.business_address;return{accountOwner:a,companyName:t,accountNumber:r,routingNumber:d,accountOpeningDate:o,businessAddress:N(l)}},A=e=>{const{entry:n}=e,i=(0,a.A)(e,u);return n===r.uV.PERSONAL_INFO?v("address",i):n===r.uV.BUSINESS_INFO?I("dba",i):{}},O=e=>{if(e)return r.xw.find((n=>n.value===e))},C=e=>e.slice(-4),D=(e,n,i,a,t=!1)=>{var d;const l=[];if(t)return n.forEach((e=>{l.push({action:"DELETE",type:"EXISTING",id:e.id})})),l;n.forEach((n=>{const i={action:"UPDATE",type:"EXISTING"};if(null!=n&&n.identity_document_id&&null!=n&&n.identity_document_type){var a,t,d,m;if(i.identity_document={file_name:null!=(a=n.identity_document_id.file_name)?a:"",type:n.identity_document_type},n.address)i.address={address_line_1:null!=(t=null!=(d=n.address.primary_line)?d:n.address.address_line_1)?t:"",city:n.address.city,state:n.address.state,zip_code:n.address.zip_code,unit:null!=(m=n.address.unit)?m:n.address.address_line_2};i.dob=s()(n.dob).format(r.Bc),i.email=n.email,i.first_name=n.first_name,i.last_name=n.last_name,i.middle_name=n.middle_name,i.phone=n.phone,i.ownership_percentage=n.ownership_percentage,i.citizenship=n.citizenship,i.ssn=n.ssn}else{var _,c;const a=e.find((e=>e.id===n.id));if((null==a||null==(_=a.ownership_percentage)?void 0:_.toString())===(null==(c=n.ownership_percentage)?void 0:c.toString()))return;i.ownership_percentage=n.ownership_percentage}o()(n.id)?(i.action="ADD",i.type="NEW"):(i.id=n.id,i.action="UPDATE",i.type="EXISTING"),l.push(i)})),i.forEach((e=>{if(!e.id)return;const n={action:"DELETE",type:"EXISTING",id:e.id};l.push(n)}));const m=e.find((e=>!0===e.is_applicant));if(m&&(null==a?void 0:a.toString())!==(null==(d=m.ownership_percentage)?void 0:d.toString())){const e={action:"UPDATE",type:"EXISTING",id:m.id,ownership_percentage:a};l.push(e)}return l},y=e=>e?e.replace(/(\d{2})(\d{7})/,"$1-$2"):"",f=e=>e?e.replace(/^(\w{2})\w{5}(\w{2})$/,"XX-XXXXX$2"):"";function R(e,n){const i={};for(const a in n)if(Object.prototype.hasOwnProperty.call(n,a)){const t=e[a],s=n[a];if("primary_line"===a){const a=e.address_line_1,t=n.primary_line;a!==t&&(i.address_line_1={old_value:String(null!=a?a:""),new_value:String(null!=t?t:"")})}else t!==s&&(i[a]={old_value:String(null!=t?t:""),new_value:String(null!=s?s:"")})}return i}function L(e,n){const i=[];return n.forEach((n=>{const a=[...e].find((e=>e.id===n.id));if(a){const e=function(e,n){const i={};for(const a in n)if(Object.prototype.hasOwnProperty.call(n,a)){const t=e[a],s=n[a];if("identity_document"===a||"identity_document_id"===a||"type"===a||"action"===a||"id"===a||"role"===a||"identity_document_type"===a)continue;t!==s&&("address"===a?i.address=R(e.address,n.address):i[a]={old_value:String(null!=t?t:""),new_value:String(null!=s?s:"")})}return i}(a,n);Object.keys(e).length>0&&i.push({id:n.id,changes:e,data:a})}})),i}const h=e=>{var n;return e?e.includes(" ")?e.split(" ").map((e=>{var n;return e.charAt(0).toUpperCase()+(null==e||null==(n=e.toLowerCase())?void 0:n.slice(1))})).join(" "):e.charAt(0).toUpperCase()+(null==e||null==(n=e.toLowerCase())?void 0:n.slice(1)):""};function F(e){const n=e.old_data,i=e.new_data;for(const a in n)("ownership_percentage"===a||null===n[a]&&i&&null===i[a])&&(delete n[a],i&&delete i[a]);return e}},43051(e,n,i){"use strict";i.d(n,{Co:()=>C,Cq:()=>r,Cu:()=>c,D4:()=>_,Dc:()=>E,FL:()=>d,GM:()=>g,H1:()=>S,HQ:()=>k,Hn:()=>y,Hq:()=>R,NS:()=>A,O1:()=>m,Sq:()=>O,WD:()=>t,YA:()=>T,_z:()=>u,c2:()=>l,cE:()=>s,dB:()=>N,eh:()=>o,kt:()=>I,uv:()=>D,yr:()=>v,yz:()=>f});var a=i(72937);i(19582);const t=(0,a.createLabels)("account-info"),{addressHeader:s,AccountInfoContainerLabels:r,PhoneNumberFormLabels:d,PhoneOtpVerificationFormLabels:o,EmailFormLabels:l,EmailOtpVerificationFormLabels:m,EmailPhoneChangeSuccessLabels:_,ConfirmPhoneFormLabels:c,AddressFormLabels:u,BankLetterModalLabels:E,DBAFormLabels:N,DBASuccessScreenLabels:v,InReviewUpdateReqLabels:T,StartNewApplicationLabels:I,W9FormLabels:p,DiscardChangesLabel:g,BusinessOwnersLabel:k,BusinessInfoUpdateLabels:S,EditWebsiteLabels:A,COMMON:O,REVIEW_ACCOUNT_INFORMATION:C,DDAClosureLabels:D,LanguagePreferenceLabels:y,AssistantAccessLabels:f,SettingsTabsLabels:R}=t},71067(e,n,i){"use strict";i.d(n,{N0:()=>s,OW:()=>t,e8:()=>a});var a=function(e){return e.sole_proprietorship="sole_proprietorship",e.llc="llc",e.partnership="partnership",e.corporation="corporation",e.single_member_llc="single_member_llc",e}(a||{}),t=function(e){return e.BUSINESS_INFO_UPDATE="BUSINESS_INFO_UPDATE",e.BUSINESS_OWNERS_UPDATE="BUSINESS_OWNERS_UPDATE",e}(t||{}),s=function(e){return e.REVIEW_ACCOUNT_INFO="REVIEW_ACCOUNT_INFO",e}(s||{})},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");
1if(!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:()=>m,Gk:()=>o,Hi:()=>c,Yk:()=>d,au:()=>E,bB:()=>u,qQ:()=>_,uD:()=>l});var a=i(54701),t=i(16787),s=i(34035);const r=(0,i(14004).Ay)(),d=async(e,n)=>(0,t.In)({axiosInstance:e,config:Object.assign({data:{query:(0,a.y)(s.GetInsightWidgetQuery)}},n)}),o=async(e,n)=>(0,t.In)({axiosInstance:e,config:Object.assign({data:{query:(0,a.y)(s.GetInvoiceStatusWidget)}},n)}),l=async(e,n)=>(0,t.In)({axiosInstance:e,config:Object.assign({data:{query:(0,a.y)(s.CheckIfUserHasInvoices)}},n)}),m=async(e,n)=>(0,t.In)({axiosInstance:e,config:Object.assign({data:{query:(0,a.y)(s.GetOverviewAlerts)}},n)}),_=async(e,n,i)=>(0,t.In)({axiosInstance:e,config:Object.assign({data:{query:(0,a.y)(s.GetCustomersWithOverdueBalance),variables:i}},n)}),c=async(e,n)=>(await(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Query",config:{data:{query:(0,a.y)(s.GetActivitiesWidget),variables:n},baseURL:r}})).data.activities,u=async e=>(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Query",config:{data:{query:(0,a.y)(s.Get12MonthPaymentGraphData)},baseURL:r}}),E=async e=>(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Query",config:{data:{query:(0,a.y)(s.GetOnboardingFeeDescription)},baseURL:r}})},25085(e,n,i){"use strict";i.d(n,{CR:()=>T,Em:()=>c,FT:()=>E,GY:()=>u,H:()=>o,Pv:()=>v,Ye:()=>_,dW:()=>l,fY:()=>N,xU:()=>m});var a=i(54701),t=i(16787),s=i(1263),r=i(56011);const d=(0,i(14004).Ay)(),o=async e=>await(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Query",config:{data:{query:(0,a.y)(s.VerifyPersonalInformation)}}}),l=async e=>await(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Query",config:{data:{query:(0,a.y)(s.VerifyBusinessInformation)}}}),m=async e=>await(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Query",config:{data:{query:(0,a.y)(s.VerifyBusinessDetails)}}}),_=async e=>await(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Query",config:{data:{query:(0,a.y)(s.VerifyOwnershipDetails)}}}),c=async e=>await(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Query",config:{data:{query:(0,a.y)(s.GetReviewTermsLinks)},baseURL:d}}),u=async e=>await(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Query",config:{data:{query:(0,a.y)(s.GetPaymentOnboardingInfo)},baseURL:d}}),E=async(e,n)=>await(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Mutation",config:{data:{query:(0,a.y)(r.UpdateVendorOnboardingInfo),variables:n},baseURL:d}}),N=async e=>await(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Query",config:{data:{query:(0,a.y)(s.GetPaymentOnboardingAdditionalInfo)},baseURL:d}}),v=async(e,n)=>await(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Mutation",config:{data:{query:(0,a.y)(r.UpdateVendorOnboardingAdditionalInfo),variables:n},baseURL:d}}),T=async(e,n)=>await(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Mutation",config:{data:{query:(0,a.y)(r.UpdateIfPaymentMethodSetupVisited),variables:n},baseURL:d}})},66753(e,n,i){"use strict";i.d(n,{Do:()=>u,Es:()=>l,Et:()=>g,J4:()=>I,K3:()=>C,KC:()=>y,Mw:()=>v,PA:()=>_,Vr:()=>c,Wd:()=>N,Wv:()=>S,Wz:()=>E,XE:()=>f,X_:()=>D,YL:()=>A,Yu:()=>p,_4:()=>m,nX:()=>k,ng:()=>T,sW:()=>O});i(49100);var a=i(54701),t=i(16787),s=i(4410),r=i(84272),d=i(93389);const o=(0,i(14004).Ay)(),l=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(s.GetSavedItems),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const r=await e.request(t);return(0,d.y)(r)},m=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(s.FetchTransactionsByInvoiceId),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const r=await e.request(t);return(0,d.y)(r)},_=async(e,n)=>{const i=Object.assign({data:{query:(0,a.y)(s.InvoiceOnBoardingInfo)}},n);if(void 0===e)throw new Error("apiInstance is undefined");const t=await e.request(i);return(0,d.y)(t)},c=async(e,n)=>{const i=Object.assign({data:{query:(0,a.y)(s.InvoiceCustomizationInfo)}},n);if(void 0===e)throw new Error("apiInstance is undefined");const t=await e.request(i);return(0,d.y)(t)},u=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(s.GetInvoicesList),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const r=await e.request(t);return(0,d.y)(r)},E=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(r.GetRecurringList),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const s=await e.request(t);return(0,d.y)(s)},N=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(r.GetRecurringListById),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const s=await e.request(t);return(0,d.y)(s)},v=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(r.GetRecurringInvoiceHistory),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const s=await e.request(t);return(0,d.y)(s)},T=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(s.GetInvoiceSignedUrl),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const r=await e.request(t);return(0,d.y)(r)},I=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(s.GetDashboardInvoiceList),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const r=await e.request(t);return(0,d.y)(r)},p=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(s.GetInvoiceListById),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const r=await e.request(t);return(0,d.y)(r)},g=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(s.GetAttachments),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const r=await e.request(t);return(0,d.y)(r)},k=async(e,n)=>{const i=Object.assign({data:{query:(0,a.y)(s.CheckPaymentCapabilities)}},n);if(void 0===e)throw new Error("apiInstance is undefined");const t=await e.request(i);return(0,d.y)(t)},S=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(s.GetNextInvoiceNumber),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const r=await e.request(t);return(0,d.y)(r)},A=async(e,n,i)=>(0,t.In)({axiosInstance:e,config:Object.assign({data:{query:(0,a.y)(s.GetInvoiceDetailsByCode),variables:n}},i),handleError:!0}),O=async(e,n)=>{const i=Object.assign({data:{query:(0,a.y)(s.FetchCreateInvoicePaymentOptions)}},n);if(void 0===e)throw new Error("apiInstance is undefined");const t=await e.request(i);return(0,d.y)(t)},C=async(e,n,i)=>(0,t.In)({axiosInstance:e,config:Object.assign({data:{query:(0,a.y)(s.GetActivities),variables:n}},i)}),D=async e=>await(0,t.In)({axiosInstance:e,config:{data:{query:(0,a.y)(s.GetACLFeatures)},baseURL:o}}),y=async({apiInstance:e,variables:n,config:i={}})=>(0,t.In)({axiosInstance:e,config:Object.assign({},i,{data:{query:(0,a.y)(s.GetClientArchivePreviewInvoices),variables:n}})}),f=async e=>(0,t.In)({axiosInstance:e,config:{data:{query:(0,a.y)(s.GetBetaStatus)},baseURL:o}})},13578(e,n,i){"use strict";i.d(n,{j:()=>s});var a=i(23463),t=i(69500);const s=({name:e,value:n,timeline:i,className:s="",isLoading:r=!1,additionalValue:d})=>(0,t.jsx)(a.Card,{className:`sm:min-w-360 h-fit w-full ${s}`,children:(0,t.jsxs)(a.CardContent,{className:"flex flex-col gap-1 text-body-s-regular",children:[(0,t.jsxs)("div",{className:"text-typography-grey text-body-s-regular flex w-full md:flex-col lg:flex-row",children:[(0,t.jsx)("div",{className:"",children:e}),i?(0,t.jsxs)("span",{children:["\xa0(",i,")"]}
1):(0,t.jsx)("span",{className:"hidden h-0 md:flex md:h-5 lg:hidden lg:h-0"})]}),r?(0,t.jsx)(a.SkeletonText,{className:"my-2 h-6 w-1/2"}):(0,t.jsxs)("div",{className:"flex flex-row gap-1",children:[(0,t.jsx)(a.Header2,{className:"text-typography-default",children:void 0!==n?n:"-"}),d&&(0,t.jsx)("p",{className:"text-typography-grey text-body-s-medium mb-2 justify-end self-end",children:d})]})]})})},72197(e,n,i){"use strict";i.d(n,{Ay:()=>d,EB:()=>r,Ft:()=>s});var a=i(1291),t=i(69500);const s={CALENDAR:"bg-fill-neutral",SENT:"bg-fill-neutral",VIEWED:"bg-fill-neutral",BELL:"bg-fill-neutral",MONEY:"bg-fill-success-light",CARD:"bg-fill-success-light",CHECK:"bg-fill-success-light",ACH:"bg-fill-success-light",PAYPAL:"bg-fill-success-light",UNPAID:"bg-fill-critical-light",OVERDUE:"bg-fill-critical-light",CANCELLED:"bg-fill-neutral",SENT_AS_OVERDUE:"bg-fill-critical-light",CASH:"bg-fill-success-light",INTEGRATION:"bg-fill-success-light",PAYMENT_DELETED:"bg-fill-critical-light"},r={CALENDAR:(0,t.jsx)(a.Int,{name:"calendar",size:"xs",color:"default"}),SENT:(0,t.jsx)(a.Int,{name:"send",size:"xs",color:"default"}),VIEWED:(0,t.jsx)(a.Int,{name:"mail-open",size:"md"}),BELL:(0,t.jsx)(a.Int,{name:"bell",size:"xs",color:"default"}),MONEY:(0,t.jsx)(a.Int,{name:"bag",size:"md"}),CARD:(0,t.jsx)(a.In0,{className:"stroke-icon-success",width:16,height:16}),CHECK:(0,t.jsx)(a.M3g,{className:"stroke-icon-success",width:16,height:16}),ACH:(0,t.jsx)(a.Int,{name:"bank",size:"xs",color:"success"}),PAYPAL:(0,t.jsx)(a.xt_,{}),UNPAID:(0,t.jsx)(a.Int,{name:"dollar-off"}),OVERDUE:(0,t.jsx)(a.Int,{name:"clock",size:"xs",color:"error"}),CANCELLED:(0,t.jsx)(a.Int,{name:"block"}),SENT_AS_OVERDUE:(0,t.jsx)(a.Int,{name:"send",color:"error"}),CASH:(0,t.jsx)(a.z$x,{className:"stroke-icon-success"}),INTEGRATION:(0,t.jsx)(a.ibP,{className:"stroke-icon-success"}),PAYMENT_DELETED:(0,t.jsx)(a.W56,{className:"stroke-icon-error"})},d=({iconType:e,isLastItem:n,timelineContent:i})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:`rounded-full p-2 ${s[e]}`,children:r[e]}),(0,t.jsxs)("div",{children:[" ",i]})]}),(0,t.jsx)("div",{className:`${!n&&"relative my-1 mb-5 flex h-8 gap-4 pb-6"}`,children:(0,t.jsx)("div",{className:`${!n&&"before:border-border-light before:absolute before:left-[14px] before:z-0 before:h-full before:w-0.5 before:border-2"}`})})]})},45969(e,n,i){"use strict";i.d(n,{f:()=>C});var a=i(75969),t=i(23463),s=i(60120),r=i(22949),d=i(55531),o=i(35397),l=i(71806),m=i(42242),_=i(69500);const c=({onClick:e,onOverview:n=!1,status:i})=>{const{CONTINUE_CARD:a}=o.k.PAYMENTS,{ALERT_FINISH_SETUP:s,ALERT_FINISH_SETUP_FROM_PAYMENTS:r}=m.y.STRIPE_ONBOARDING;return(0,_.jsxs)(t.Card,{className:`bg-fill-light flex h-min w-full flex-col items-center gap-6 border-none p-6 pt-0 ${!n&&"max-w-96"}`,children:[(0,_.jsx)(t.Image,{name:"continue-setup",src:l.IN}),(0,_.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,_.jsx)(t.Header6,{children:a.heading}),(0,_.jsx)("div",{className:"text-typography-grey text-body-s-regular",children:a.description}),(0,_.jsx)(t.Button,{"data-test-id":"setup-card-button",buttonVariant:"secondary",size:"medium",onClick:()=>{(0,d.sx)(Object.assign({},n?s:r,{attributes:{is_onboarding_started:!0,invoice_payment_onboarding_status:i}})),null==e||e()},children:a.cta})]})]})};var u=i(1701),E=i(67562),N=i(23584),v=i(59080),T=i(11257);const I=({handleStartOnboarding:e,isUpdating:n=!1})=>{const{modalState:i,closeModal:a}=(0,t.useModal)(),{SETUP_MODAL:s}=o.k.PAYMENTS;return(0,_.jsx)(t.Modal,{isOpen:i.name===T.A.MODAL.INVOICE.SETUP_PAYMENTS,closeIcon:!0,children:(0,_.jsxs)(t.Modal.Content,{className:"flex-col gap-6",children:[(0,_.jsx)(t.Header6,{className:"text-typography-default pt-9 font-medium",children:s.heading}),(0,_.jsx)("div",{children:s.description}),(0,_.jsx)("div",{className:"flex w-full items-center gap-4",children:(0,_.jsx)(t.Button,{type:"button",buttonVariant:"primary",onClick:()=>{a(),e()},disabled:n,"data-test-id":"delete-payment",className:"w-full",children:s.cta})})]})})},p=({onClick:e,onOverview:n=!1,onboardingFeeDescription:i})=>{const{SETUP_CARD:a}=o.k.PAYMENTS,{HIDS:s}=v.aH.APPS,{ALERT_GET_STARTED:r,ALERT_GET_STARTED_FROM_PAYMENTS:c}=m.y.STRIPE_ONBOARDING,{openModal:p}=(0,t.useModal)(),{UpdateVendorOnboardingStatus:g,isUpdateVendorOnboardingStatusPending:k}=(0,E.i)(),{paymentCapabilities:S}=(0,N.A)(),A=!(null==S||!S.find((e=>(e.hid===s.PAYPAL||e.hid===s.STRIPE||e.hid===s.SQUARE||e.hid===s.VENMO)&&"active"===e.status.toLowerCase()))),O=()=>{(0,d.sx)(Object.assign({},n?r:c,{attributes:{is_onboarding_started:!1}})),g({status:u.JG.ONBOARDING_STARTED}),null==e||e()};return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(t.Card,{className:`bg-fill-light flex h-min w-full flex-col items-center gap-6 border-none p-6 pt-0 ${!n&&"max-w-96"}`,children:[(0,_.jsx)(t.Image,{name:"setup-card",src:l.IN}),(0,_.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,_.jsx)(t.Header6,{children:a.heading}),(0,_.jsx)("div",{className:"text-typography-grey text-body-s-regular",children:a.description}),(0,_.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,_.jsx)(t.Button,{"data-test-id":"setup-card-button",buttonVariant:"secondary",size:"medium",onClick:()=>{A&&n?p({name:T.A.MODAL.INVOICE.SETUP_PAYMENTS}):O()},children:a.cta}),i&&(0,_.jsx)("div",{className:"text-typography-grey text-caption-s-regular",children:i})]})]})]}),(0,_.jsx)(I,{handleStartOnboarding:O,isUpdating:k})]})},g=()=>(0,_.jsxs)("div",{className:"flex h-fit w-full flex-col items-center gap-6 p-6 pt-0",children:[(0,_.jsx)(t.SkeletonImage,{className:"mx-auto w-2/3 bg-transparent"}),(0,_.jsxs)("div",{className:"flex w-full flex-col gap-4",children:[(0,_.jsx)(t.SkeletonText,{className:"w-full"}),(0,_.jsx)(t.SkeletonText,{className:"w-52"}),(0,_.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[(0,_.jsx)(t.SkeletonText,{className:"w-full"}),(0,_.jsx)(t.SkeletonText,{className:"w-full"}),(0,_.jsx)(t.SkeletonText,{className:"w-52"})]}),(0,_.jsx)(t.SkeletonButton,{className:"w-full rounded-full"})]})]});var k=i(45914),S=i(76805),A=i(25085);const O=({onOverview:e=!1,onboardingFeeDescription:n})=>{const{privateAPIInstance:i}=(0,a.useContext)(r.AuthContext)||{},c=(0,s.useQueryClient)(),{OPT_IN_CARD:u}=o.k.PAYMENTS,{OPT_BACK_IN:E}=m.y.STRIPE_ONBOARDING,{mutate:N,isPending:v}=(0,s.useMutation)({mutationKey:[S.A.CONFIRM_PAYMENTS_OPT_OUT],mutationFn:async()=>await(0,A.CR)(i,{input:{applicationOptInAcknowledged:!0}}),onSuccess:e=>{var n;200===(null==e||null==(n=e.operationInfo)?void 0:n.statusCode)&&(c.invalidateQueries({queryKey:[S.B.GET_CREATE_PAYMENT_OPTIONS]}),c.invalidateQueries({queryKey:[S.B.GET_INVOICE_ACL_CONFIG]}),c.invalidateQueries({queryKey:[S.B.GET_VENDER_ONBOARDING_INFO]}))}});return e?null:(0,_.jsxs)(t.Card,{className:`bg-fill-light flex h-min w-full flex-col items-center gap-6 border-none p-6 pt-0 ${!e&&"max-w-96"}`,children:[(0,_.jsx)(t.Image,{name:"opt-in-setup",src:l.IN}),(0,_.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,_.jsx)(t.Header6,{children:u.heading}),(0,_.jsx)("div",{className:"text-typography-grey text-body-s-regular",children:u.description}),(0,_.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,_.jsx)(t.Button,{"data-test-id":"setup-card-button",buttonVariant:"secondary",size:"medium",onClick:()=>{(0,d.sx)(E),N()},disabled:v,children:u.cta}),n&&(0,_.jsx)("div",{className:"text-typography-grey text-caption-s-regular",children:n})]})]})]})},C=({onClick:e,isFetching:n=!1,isContinueSetupCard:i=!1,isApplicationOptInCard:d=!1,onOverview:o=!1,status:l})=>{const{privateAPIInstance:m}=(0,a.useContext)(r.AuthContext)||{},{data:u}=(0,s.useQuery)({queryKey:[S.B.GET_ONBOARDING_FEE_DESCRIPTION],queryFn:()=>(0,k.au)(m),select:e=>e.data.onboardingFeeDescription});return(0,_.jsx)(t.Skeleton,{on:n,fallback:(0,_.jsx)(g,{}),children:d?(0,_.jsx)(O,{onOverview:o,onboardingFeeDescription:null!=u?u:""}):i?(0,_.jsx)(c,{onClick:e,onOverview:o,status:l}):(0,_.jsx)(p,{onClick:e,onOverview:o,onboardingFeeDescription:null!=u?u:""})})}},60318(e,n,i){"use strict";i.r(n),i.d(n,{default:()=>Te});var a=i(75969),t=i(3534),s=i(60120),r=i(23463),d=i(16787),o=i(22949),l=i(55531),m=i(21215),_=i(13578),c=i(45914),u=i(33482),E=i(76805),N=i(36195),v=i(35397),T=i(69500);const I=({showEstimateWidget:e=!1,showInsightsWidget:n=!1})=>{const{privateAPIInstance:i}=(0,a.useContext)(o.AuthContext)||{},t=(0,u.Ay)(),{data:r,isFetching:d}=(0,s.useQuery)({queryKey:[E.B.GET_INSIGHT_WIDGETS],queryFn:()=>(0,c.Yk)(i,{baseURL:t}),select:e=>null==e?void 0:e.data});return(0,T.jsxs)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2",children:[n&&["paid","unpaid"].map((e=>{var n;return(0,T.jsx)(_.j,{name:"paid"===e?"Invoices paid":`${e.charAt(0).toUpperCase()+e.slice(1)} invoices`,value:(0,N.currencyFormatter)(null==r||null==(n=r.invoice)||null==(n=n[e])?void 0:n.amount),timeline:"paid"===e?v.k.last_30_days:void 0,className:"!w-full",isLoading:d},e)})),e&&["accepted","pending"].map((e=>{var n;return(0,T.jsx)(_.j,{name:`Estimates ${e}`,value:(0,N.currencyFormatter)(null==r||null==(n=r.estimate)||null==(n=n[e])?void 0:n.amount),timeline:"accepted"===e?v.k.last_30_days:void 0,className:"!w-full",isLoading:d},e)}))]})};var p=i(94182),g=i(97006),k=i(8661),S=i(65198);const A=({name:e,timeline:n})=>(0,T.jsxs)("div",{className:"flex items-center justify-between",children:[(0,T.jsx)(r.Header6,{className:"text-typography-default",children:e}),(0,T.jsx)("span",{className:"text-typography-grey",children:n})]}),O=({data:e,className:n="",isLoading:i=!1})=>{const[t,s]=(0,a.useState)(99999),d=e=>{switch(e.toLowerCase()){case"overdue":return"#ff5244";case"sent":default:return"#e2e1e1";case"paid":return"#00A46C"}},o=e=>{const{cx:n,cy:i,innerRadius:a,outerRadius:t,startAngle:s,endAngle:r,payload:o}=e;return(0,T.jsxs)("g",{children:[(0,T.jsx)("text",{x:n,y:i,dy:-13,textAnchor:"middle",className:"fill-typography-grey capitalize",children:o.type}),(0,T.jsx)("text",{x:n,y:i,dy:5,textAnchor:"middle",className:"fill-typography-default font-medium",children:(0,N.currencyFormatter)(o.amount)}),(0,T.jsx)("text",{x:n,y:i,dy:22,textAnchor:"middle",className:"fill-typography-grey",children:o.percentage}),(0,T.jsx)(p.h,{cx:n,cy:i,innerRadius:a,outerRadius:t+4,startAngle:s,endAngle:r,fill:d(o.type)})]})},l=(0,a.useCallback)(((e,n)=>{s(n)}),[s]);return(0,T.jsx)(r.Card,{className:`${n}`,children:(0,T.jsxs)(r.CardContent,{className:"text-caption-regular flex flex-col gap-4",children:[(0,T.jsx)(A,{name:"Invoices",timeline:v.k.timeline_last_30_days}),(0,T.jsxs)("div",{className:"flex items-center justify-between",children:[(0,T.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,T.jsxs)("div",{className:"flex items-center gap-2",children:[(0,T.jsx)("span",{className:"bg-green-400 h-2 w-2 shrink-0 rounded-full"}),(0,T.jsx)("span",{children:v.k.paid})]}),(0,T.jsxs)("div",{className:"flex items-center gap-2",children:[(0,T.jsx)("span",{className:"bg-grey-100 h-2 w-2 shrink-0 rounded-full"}),(0,T.jsx)("span",{children:v.k.sent})]}),(0,T.jsxs)("div",{className:"flex items-center gap-2",children:[(0,T.jsx)("span",{className:"bg-red-400 h-2 w-2 shrink-0 rounded-full"}),(0,T.jsx)("span",{children:v.k.overdue})]})]}),(0,T.jsx)("div",{children:(0,T.jsx)(g.r,{width:120,height:120,margin:{top:4,right:4,bottom:4,left:4},children:(0,T.jsx)(k.F,{activeIndex:t,activeShape:o,data:e,cx:"50%",cy:"50%",innerRadius:47,outerRadius:56,dataKey:"value",onMouseEnter:l,onMouseLeave:()=>s(99999),paddingAngle:1,startAngle:90,endAngle:-360,className:"!overflow-visible",children:e.map(((e,n)=>(0,T.jsx)(S.f,{fill:d(e.type)},`cell-${n}`)))})})})]})]})})},C=({className:e=""})=>(0,T.jsx)(r.Card,{className:`sm:min-w-360 w-full ${e}`,children:(0,T.jsxs)(r.CardContent,{className:"text-body-s-regular flex flex-col gap-2",children:[(0,T.jsx)(A,{name:"Invoices",timeline:v.k.timeline_last_30_days}),(0,T.jsx)("div",{className:"relative h-32",children:(0,T.jsx)("div",{className:"text-typography-grey text-body-regular absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center",children:v.k.no_invoices_sent})})]})});var D=i(1291),y=i(93415);i(18496);const f=({className:e=""})=>(0,T.jsx)(r.Card,{className:`w-full ${e}`,children:(0,T.jsxs)(r.CardContent,{className:"text-body-s-regular flex flex-col gap-4",children:[(0,T.jsx)(A,{name:"Invoices",timeline:v.k.timeline_last_30_days}),(0,T.jsxs)("div",{className:"text-typography-grey text-body-regular flex h-full min-h-[120px] flex-col items-center justify-center text-center",children:[(0,T.jsx)(D.Int,{name:"star-shine",size:"md",color:"current"}),(0,T.jsx)("div",{className:"mt-2.5",children:(0,T.jsx)(y.Trans,{i18nKey:"nice_work_all_paid",ns:"invoices"})})]})]})});var R=i(26248),L=i(14004);const h=()=>(0,T.jsxs)("div",{className:"flex w-full justify-between",children:[(0,T.jsx)(r.SkeletonText,{containerClassName:"!w-20",className:"my-0.5 h-4"}),(0,T.jsx)(r.SkeletonText,{containerClassName:"!w-10",className:"my-0.5 h-5"})]}),F=()=>(0,T.jsxs)("div",{className:"flex h-[120px] flex-col gap-4",children:[(0,T.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,T.jsx)(h,{}),(0,T.jsx)(h,{}),(0,T.jsx)(h,{})]}),(0,T.jsx)(r.SkeletonText,{containerClassName:"flex justify-center",className:"my-0.5 h-5 w-24"})]}),P=({className:e=""})=>{const{privateAPIInstance:n}=(0,a.useContext)(o.AuthContext)||{}
1,i=(0,u.Ay)(),{data:t,isFetching:d}=(0,s.useQuery)({queryKey:[E.B.GET_OVERDUE_CUSTOMERS],queryFn:async()=>(await(0,c.qQ)(n,{baseURL:i},{limit:3,offset:0,sortBy:"TOTAL_OVERDUE",sortOrder:"DESC",onlyOverdue:!0})).data,select:e=>null==e?void 0:e.invoiceCustomers});return(0,T.jsx)(r.Card,{className:`sm:min-w-360 h-auto w-full ${e}`,children:(0,T.jsxs)(r.CardContent,{className:"text-body-s-regular flex flex-col gap-4",children:[(0,T.jsx)(A,{name:"Overdue Balances"}),(0,T.jsx)(r.Skeleton,{on:d,fallback:(0,T.jsx)(F,{}),children:(0,T.jsx)("div",{className:`flex h-[120px] flex-col gap-2 ${0===(null==t?void 0:t.length)&&"h-[112px] items-center justify-center"}`,children:0===(null==t?void 0:t.length)?(0,T.jsx)("div",{className:"text-typography-grey text-body-regular",children:v.k.no_overdue_invoices}):t&&(0,T.jsxs)(T.Fragment,{children:[null==t?void 0:t.map(((e,n)=>(0,T.jsxs)("div",{className:"flex justify-between",children:[(0,T.jsx)("span",{className:"capitalize",children:e.companyName}),(0,T.jsx)("span",{className:"font-semibold",children:(0,N.currencyFormatter)(e.totalOverdueAmount)})]},n+"_"+e.companyName))),(0,T.jsxs)(r.Link,{"data-test-id":"see-all-overdue-invoices",to:m.NOVO_PAGE_ROUTES.InvoicesList,state:{status:L.Sx.OVERDUE,sortOrder:R.s$.DESC,sortBy:R.QK.INVOICE_TOTAL},className:"mt-2 flex items-center justify-center",children:[v.k.see_all_overdue_invoices,(0,T.jsx)("span",{className:"ml-2",children:(0,T.jsx)(D.Int,{name:"chevron-right",size:"xs"})})]})]})})})]})})},b=()=>(0,T.jsxs)(r.CardContent,{className:"border-border-light mb-6 flex w-full gap-4 rounded-xl border border-solid p-4",children:[(0,T.jsx)(r.SkeletonBox,{className:"!h-6 !w-6 rounded"}),(0,T.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[(0,T.jsx)(r.SkeletonText,{className:"h-3 w-16"}),(0,T.jsx)(r.SkeletonText,{className:"h-3 w-24"})]}),(0,T.jsx)(r.SkeletonBox,{className:"!md:w-60 !h-8 !w-10 rounded-full"})]});var U=i(42242),x=i(1701),M=i(25085);const B=({status:e})=>{const{privateAPIInstance:n}=(0,a.useContext)(o.AuthContext)||{},i=(0,t.useNavigate)(),d=(0,t.useLocation)(),_=(0,u.Ay)(),N=(0,s.useQueryClient)(),{data:I,isLoading:p}=(0,s.useQuery)({queryKey:[E.B.GET_OVERVIEW_ALERTS],queryFn:async()=>(await(0,c.Fb)(n,{baseURL:_})).data,select:e=>null==e?void 0:e.alerts}),{mutate:g,isPending:k}=(0,s.useMutation)({mutationKey:[E.A.ACKNOWLEDGEMENT],mutationFn:async e=>{const i="SETUP_PAYMENT_METHODS"===e,a="ACKNOWLEDGE_DENIED_PAYMENT_ONBOARDING"===e;return await(0,M.CR)(n,{input:i?{paymentMethodSetupVisited:!0}:a?{deniedAcknowledged:!0}:{}})},onSuccess:async(e,n)=>{200===e.operationInfo.statusCode?("SETUP_PAYMENT_METHODS"===n&&i(m.NOVO_PAGE_ROUTES.InvoiceManagePayments,{state:{backfillPaymentMethods:!0}}),"ACKNOWLEDGE_DENIED_PAYMENT_ONBOARDING"===n&&N.invalidateQueries({queryKey:[E.B.GET_OVERVIEW_ALERTS]})):r.toast.error({message:v.k.something_went_wrong})}}),S=e=>{switch(e){case"error":return"danger";case"default":return"info";case"info":return"brand";default:return e}},A=e=>{switch(e){case"payment":return(0,T.jsx)(D.Int,{name:"credit-card",size:"md",color:"current"});case"warning":case"error":return(0,T.jsx)(D.Int,{name:"warning-sign",size:"md"});default:return null}};return 0===(null==I?void 0:I.length)?null:(0,T.jsx)(r.Skeleton,{on:p,fallback:(0,T.jsx)(b,{}),children:(0,T.jsx)("div",{className:"flex flex-col",children:null==I?void 0:I.map(((n,a)=>{var t;return(0,T.jsx)(r.AlertBanner,{description:(0,T.jsxs)("div",{className:"flex flex-col",children:[(0,T.jsx)("div",{className:"text-body-medium",children:n.title}),(0,T.jsx)("div",{className:"text-body-regular",children:n.message})]}),variant:S(n.type.toLowerCase()),className:"mb-6 rounded-xl p-4",icon:(null==n?void 0:n.iconType)&&A(null==(t=n.iconType)?void 0:t.toLowerCase()),cta:(null==n?void 0:n.ctaText)&&(0,T.jsx)(r.Button,{"data-test-id":"see-all-overdue-invoices",buttonVariant:"secondary",onClick:()=>(null==n?void 0:n.ctaType)&&(n=>{const{ALERT_SETUP_PAYMENTS:a}=U.y.OVERVIEW,{ALERT_NEED_ADDITIONAL_INFO:t,ALERT_DENIED_ACKNOWLEDGEMENT:s,ALERT_SET_PAYMENT_OPTIONS:r}=U.y.STRIPE_ONBOARDING;"SETUP_PAYMENTS"===n&&((0,l.sx)(Object.assign({},t,{attributes:{invoice_payment_onboarding_status:e}})),i(m.NOVO_PAGE_ROUTES.InvoiceManagePayments,{state:{showOnboardingFlow:!0}})),"SETUP_PAYMENT_METHODS"===n&&((0,l.sx)(Object.assign({},r,{attributes:{invoice_payment_onboarding_status:x.JG.APPROVED}})),g(n)),"ACKNOWLEDGE_DENIED_PAYMENT_ONBOARDING"===n&&((0,l.sx)(Object.assign({},s,{attributes:{invoice_payment_onboarding_status:x.JG.REJECTED}})),g(n)),"PAYMENT_OPTIONS"===n&&((0,l.sx)(a),i(m.NOVO_PAGE_ROUTES.InvoiceManagePayments,{state:{prevPath:d.pathname}}))})(n.ctaType),className:"flex items-center justify-center",size:"small",disabled:k,children:n.ctaText})},a+n.title)}))})})};var V=i(74860),w=i(33143),G=i(81404),Y=i(26195),j=i(48760),K=i(2666);const H=e=>{if(0===e)return"$0";if(e>=1e3){return`$${Math.round(e/1e3)}k`}return`$${e}`},W=e=>{const{x:n,y:i,width:a,height:t,projectedAmount:s,overdueAmount:r}=e,d=s||!s&&r?0:4;return(0,T.jsxs)("g",{children:[(0,T.jsx)("rect",{x:n,y:i,width:a,height:t,fill:"#00A46C",strokeWidth:1,rx:d}),d&&(0,T.jsx)("rect",{x:n,y:i+t-Math.min(5,t/2),width:a,height:Math.min(t/2,5),fill:"#00A46C"})]})},q=e=>{const{x:n,y:i,width:a,height:t,overdueAmount:s}=e,r=s?0:4;return(0,T.jsxs)("g",{children:[(0,T.jsx)("rect",{x:n,y:i,width:a,height:t,fill:"#9BF3C7",rx:r,ry:r}),(0,T.jsx)("rect",{x:n,y:i+t-Math.min(5,t/2),width:a,height:Math.min(t/2,5),fill:"#9BF3C7"})]})},$=e=>{const{x:n,y:i,width:a,height:t}=e;return(0,T.jsxs)("g",{children:[(0,T.jsx)("rect",{x:n,y:i,width:a,height:t,fill:"#FFD9D0",rx:4,ry:4}),(0,T.jsx)("rect",{x:n,y:i+t-Math.min(5,t/2),width:a,height:Math.min(t/2,5),fill:"#FFD9D0"})]})},Q=({payload:e,data:n})=>{if(e){var i,a,t,s,r;const d=null!=(i=null==(a=e[0])||null==(a=a.payload)?void 0:a.name)?i:"",o=null==(t=e[0])||null==(t=t.payload)?void 0:t.paidAmount,l=null==(s=e[1])||null==(s=s.payload)?void 0:s.projectedAmount,m=null==(r=e[2])||null==(r=r.payload)?void 0:r.overdueAmount,_=e=>{if(!e)return"";if(/\d{2}$/.test(e)){const[n,i]=e.split("'");return`${n} ${`20${i}`}`}{const a=n.filter((e=>{var n;return null==(n=e.name)?void 0:n.includes("'")}));if(a.length>0){var i;const t=n.findIndex((n=>n.name===e)),s=a.map((e=>{var i;return{index:n.findIndex((n=>n.name===e.name)),year:parseInt(`20${null==(i=e.name)?void 0:i.split("'")[1]}`)}})).filter((e=>e.index<t)).sort(((e,n)=>n.index-e.index))[0];if(s)return`${e} ${s.year}`;const r=parseInt(`20${null==(i=a[0].name)?void 0:i.split("'")[1]}`);return`${e} ${r}`}return`${e} ${(new Date).getFullYear()}`}};return(0,T.jsxs)("div",{className:"bg-fill-default text-typography-grey text-body-s-regular flex w-[180px] min-w-fit flex-col gap-2 rounded-xl p-2",style:{boxShadow:"0px 0px 12px 0px #0000001A",marginTop:"-40px"},children:[(0,T.jsx)("div",{children:_(d)}),(0,T.jsxs)("div",{className:"flex justify-between gap-4",children:[(0,T.jsxs)("div",{className:"flex items-center gap-1",children:[(0,T.jsx)(D.Int,{name:"circle",size:"xs",color:"success"}),v.k.paid]}),(0,T.jsx)("span",{className:"text-typography-default font-semibold",children:(0,N.currencyFormatter)(null!=o?o:0)})]}),(0,T.jsxs)("div",{className:"flex justify-between gap-4",children:[(0,T.jsxs)("div",{className:"flex items-center gap-1",children:[(0,T.jsx)(D.Int,{name:"circle",size:"xs",color:"success-light"}),v.k.projected]}),(0,T.jsx)("span",{className:"text-typography-default font-semibold",children:(0,N.currencyFormatter)(null!=l?l:0)})]}),(0,T.jsxs)("div",{className:"flex justify-between gap-4",children:[(0,T.jsxs)("div",{className:"flex items-center gap-1",children:[(0,T.jsx)(D.Int,{name:"circle",size:"xs",color:"error-light"}),v.k.overdue]}),(0,T.jsx)("span",{className:"text-typography-default font-semibold",children:(0,N.currencyFormatter)(null!=m?m:0)})]})]})}return null},z=({width:e,data:n,hasNoInvoices:i=!1})=>{const a=Math.max(...n.map((e=>(e.paidAmount||0)+(e.projectedAmount||0)+(e.overdueAmount||0)))),t=0===(s=a)?[0,0,0,0]:[0,Math.round(s/3),Math.round(2*s/3),s];var s;return(0,T.jsxs)(V.E,{width:e,height:124,data:n,barSize:24,children:[(0,T.jsx)(w.d,{strokeDasharray:"3 3",vertical:!1,stroke:"#E2E1E1",strokeWidth:"0.5px"}),(0,T.jsx)(G.W,{dataKey:"name",tickLine:!1,stroke:"#E2E1E1",height:20}
1),(0,T.jsx)(Y.h,{tickLine:!1,axisLine:!1,tickFormatter:H,domain:[0,t[3]],ticks:t,width:i?25:50,interval:0}),!i&&(0,T.jsx)(j.m,{content:(0,T.jsx)(Q,{data:n}),cursor:{fill:"none"},wrapperStyle:{marginBottom:"120px !important"},offset:100}),(0,T.jsx)(K.y,{dataKey:"paidAmount",stackId:"a",barSize:24,radius:[4,4,0,0],shape:(0,T.jsx)(W,{})}),(0,T.jsx)(K.y,{dataKey:"projectedAmount",stackId:"a",barSize:24,shape:(0,T.jsx)(q,{}),radius:[4,4,0,0]}),(0,T.jsx)(K.y,{dataKey:"overdueAmount",stackId:"a",barSize:24,shape:(0,T.jsx)($,{}),radius:[4,4,0,0]})]})},X=()=>(0,T.jsxs)("div",{children:[(0,T.jsx)("div",{className:"flex flex-row justify-between",children:Array.from({length:12}).map(((e,n)=>(0,T.jsx)(r.SkeletonBox,{className:`h-${Math.min(2*n+4,20)} w-6 rounded-t-md ${n>=6?"hidden md:flex":""}`,containerClassName:"items-end"},n)))}),(0,T.jsx)(r.Divider,{})]}),Z=({data:e,hasNoInvoices:n,isLoading:i=!1})=>{const t=(0,a.useRef)(null),[s,d]=(0,a.useState)(696);(0,a.useEffect)((()=>{t.current&&d(t.current.clientWidth-48)}),[]);return(0,T.jsx)(r.Card,{ref:t,children:(0,T.jsxs)(r.CardContent,{className:"flex flex-col gap-6",children:[(0,T.jsx)(A,{name:"Payments",timeline:v.k.timeline_12_months}),(0,T.jsx)(r.Skeleton,{fallback:(0,T.jsx)(X,{}),on:i,children:(0,T.jsxs)("div",{className:"relative flex justify-center",children:[(0,T.jsx)(z,{width:s,data:n?(()=>{const e=(new Date).getFullYear().toString().slice(-2);return Array.from({length:12}).map(((n,i)=>({name:0===i?`Jan'${e}`:(0,L.Ge)(i+1),paidAmount:0,projectedAmount:0,overdueAmount:0})))})():e,hasNoInvoices:n}),n&&(0,T.jsx)("div",{className:"bg-fill-default text-typography-grey absolute top-[10%] flex justify-center text-center",children:(0,T.jsx)(y.Trans,{i18nKey:"send_an_invoice_to_view",ns:"invoices"})})]})})]})})};var J=i(72197),ee=i(59080),ne=i(73681),ie=i.n(ne);const ae=()=>(0,T.jsxs)("div",{className:"flex items-start gap-2 p-4",children:[(0,T.jsx)("span",{className:"h-fit rounded-full p-2 pt-0",children:(0,T.jsx)(r.SkeletonIcon,{className:"h-4 w-4"})}),(0,T.jsxs)("div",{className:"flex w-full flex-col gap-0.5",children:[(0,T.jsx)("div",{className:"font-semibold",children:(0,T.jsx)(r.SkeletonText,{className:"w-1/2"})}),(0,T.jsx)("div",{className:"text-typography-grey",children:(0,T.jsx)(r.SkeletonText,{className:"w-1/2"})}),(0,T.jsx)("div",{children:(0,T.jsx)(r.SkeletonText,{className:"w-1/4"})})]})]}),te=()=>(0,T.jsxs)("div",{children:[(0,T.jsx)("div",{className:"bg-fill-neutral px-4 py-2",children:(0,T.jsx)(r.SkeletonText,{className:"w-1/2"})}),(0,T.jsx)(ae,{}),(0,T.jsx)("div",{className:"bg-fill-neutral px-4 py-2",children:(0,T.jsx)(r.SkeletonText,{className:"w-1/2"})}),Array.from({length:4}).map(((e,n)=>(0,T.jsx)(ae,{},n)))]}),se=()=>{var e;const{privateAPIInstance:n}=(0,a.useContext)(o.AuthContext)||{},i=(0,t.useNavigate)(),{data:d,isFetching:l,isLoading:_,hasNextPage:u,fetchNextPage:N,isFetchingNextPage:I}=(0,s.useInfiniteQuery)({queryKey:[E.B.INVOICE_OVERVIEW_GET_ACTIVITIES],queryFn:async({pageParam:e})=>await(0,c.Hi)(n,{cursor:e||null,limit:ee.aH.LIMIT.OVERDUE_RECENT_ACTIVITIES,sortBy:R.kF.CREATED_AT,sortOrder:R.qP.DESC})||[],getNextPageParam:e=>{if(e.length<10)return;return e[e.length-1].cursor},initialPageParam:null,enabled:!!n}),p=(0,a.useRef)(null),g={options:{root:null==p?void 0:p.current,rootMargin:"0px",threshold:1},callback:N,searching:!1,isLoading:_,hasNextPage:u},{elementRef:k}=(0,r.useInfiniteScroller)(g),S=(0,a.useMemo)((()=>{var e;return(null==d||null==(e=d.pages)?void 0:e.reduce(((e,n)=>e.concat(n)),[]))||[]}),[d]);return(0,T.jsx)("div",{ref:p,children:(0,T.jsxs)(r.Card,{className:"no-scrollbar h-fit max-h-[602px] overflow-y-scroll scroll-smooth",children:[(0,T.jsx)(r.Header6,{className:"text-typography-default mx-4 mb-4 mt-6",children:v.k.recent_activity}),(0,T.jsx)("div",{children:(0,T.jsxs)(r.Skeleton,{on:l&&!I,fallback:(0,T.jsx)(te,{}),children:[S.length>0&&Object.entries(null!=(e=S.reduce(((e,n)=>{const i=ie()(n.createdAt).format(L.VY);return e[i]||(e[i]=[]),e[i].push(n),e}),{}))?e:{}).map((([e,n])=>(0,T.jsxs)("div",{children:[(0,T.jsx)("div",{className:"bg-fill-neutral text-body-s-regular text-typography-default px-4 py-2",children:ie()(e).format(L.VY)}),n.map(((e,n)=>{var a;return(0,T.jsxs)("div",{className:"flex gap-2 p-4",children:[e.iconType&&(0,T.jsx)("span",{className:`h-fit roun
1ded-full p-2 ${J.Ft[e.iconType]}`,children:J.EB[e.iconType]}),(0,T.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,T.jsx)("div",{className:"text-body-s-medium",children:e.title}),(0,T.jsx)("div",{className:"text-typography-grey text-body-s-regular",children:e.description}),(0,T.jsx)("div",{children:e.cta&&e.cta.type&&(0,T.jsx)(r.Link,{"data-test-id":"recent-activity-cta",size:"small_regular",onClick:()=>{var n,a;"VIEW_INVOICE"===(n=e.cta).type&&i(`/${m.NOVO_PAGE_ROUTES.InvoiceDetails.replace(":id",null!=(a=null==n?void 0:n.id)?a:"")}`)},className:"text-body-s-regular uppercase",children:(null!=(a=e.cta.number)?a:"").indexOf("#")>-1?e.cta.number:`#${e.cta.number}`})})]})]},n)}))]},e))),0===S.length&&(0,T.jsxs)("div",{className:"flex flex-col items-center justify-center gap-2 p-4 pb-10",children:[(0,T.jsx)("div",{className:"text-body-s-medium",children:v.k.there_s_no_activity_yet}),(0,T.jsx)("div",{className:"text-typography-grey text-body-s-regular text-center",children:v.k.you_ll_see_updates_here_when})]}),!l&&u&&(0,T.jsx)("div",{ref:k,className:"mb-1"}),I&&(0,T.jsx)(te,{})]})})]})})};var re=i(76828);const de=()=>(0,T.jsx)(r.Card,{children:(0,T.jsxs)(r.CardContent,{className:"flex flex-col gap-2",children:[(0,T.jsx)(A,{name:"Invoices",timeline:v.k.timeline_last_30_days}),(0,T.jsxs)("div",{className:"flex items-center justify-between py-1",children:[(0,T.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,T.jsxs)("div",{className:"flex items-center gap-2",children:[(0,T.jsx)(D.Int,{name:"circle",size:"xs",color:"grey"}),(0,T.jsx)(r.SkeletonText,{className:"w-28"})]}),(0,T.jsxs)("div",{className:"flex items-center gap-2",children:[(0,T.jsx)(D.Int,{name:"circle",size:"xs",color:"grey"}),(0,T.jsx)(r.SkeletonText,{className:"w-28"})]}),(0,T.jsxs)("div",{className:"flex items-center gap-2",children:[(0,T.jsx)(D.Int,{name:"circle",size:"xs",color:"grey"}),(0,T.jsx)(r.SkeletonText,{className:"w-28"})]})]}),(0,T.jsxs)("div",{className:"relative",children:[(0,T.jsx)(r.SkeletonCircle,{className:"h-28 w-28"}),(0,T.jsx)(r.SkeletonCircle,{className:"bg-fill-default h-24 w-24",containerClassName:"absolute !animate-none top-0 left-0 p-2 z-10"})]})]})]})});var oe=i(80168),le=i(45969);const me=()=>{var e,n,i;const{privateAPIInstance:d}=(0,a.useContext)(o.AuthContext)||{},{aclConfigData:l}=(0,a.useContext)(re.r),_=(0,u.Ay)(),N=(0,t.useNavigate)(),v=(null==l||null==(e=l.dashboard)?void 0:e.permissions)||{},{setupPaymentBanner:p,continueSetupPaymentBanner:g}=(null==l?void 0:l.marketing)||{},k=p||g,{isFetchingPaymentsApplicationData:S,showOnboardingBanner:A,paymentsApplicationData:D}=(0,oe.u)({enabled:!!k}),{insightsWidget:y,estimateWidget:R,recentActivitiesWidget:h,paymentsWidget:F,invoiceStatusWidget:b,invoiceOverdueWidget:U}=v,{data:x,isFetching:M}=(0,s.useQuery)({queryKey:[E.B.GET_INVOICE_STATUS_WIDGET],queryFn:()=>(0,c.Gk)(d,{baseURL:_}),select:e=>{return{allInvoicesPaid:e.data.allInvoicesPaid,hasNoInvoices:e.data.hasNoInvoices,invoiceStatuses:(n=e.data.invoiceStatuses,[...Object.entries(n).map((([e,n])=>({value:n?n.percentage:"",amount:n?n.amount:"",percentage:n?`${n.percentage}%`:"0%",type:e})))])};var n},enabled:!!b&&!!d}),{data:V,isFetching:w}=(0,s.useQuery)({queryKey:[E.B.GET_12_MONTH_PAYMENT_GRAPH_DATA],queryFn:()=>(0,c.bB)(d),select:e=>{var n,i;const a=(null==e||null==(n=e.data)?void 0:n.payment)||[];return{data:a.map(((e,n)=>{const i=n>0&&e.year!==a[n-1].year;return{name:`${(0,L.Ge)(e.month)}${0===n||i?`'${e.year.toString().slice(-2)}`:""}`,paidAmount:e.paidAmount,projectedAmount:e.projectedAmount,overdueAmount:e.overdueAmount}}))||[],hasNoInvoices:null==e||null==(i=e.data)?void 0:i.hasNoInvoices}},enabled:!!F&&!!d});return(0,T.jsxs)("div",{children:[(0,T.jsx)(B,{status:null==D?void 0:D.applicationStatus}),(0,T.jsxs)("div",{className:"flex w-full flex-col gap-6 "+(h?"md:flex-row-reverse":"md:flex-row"),children:[(k||h)&&(0,T.jsxs)("div",{className:"order-4 flex w-full flex-col gap-6 md:order-first md:w-[32%]",children:[k&&A&&(0,T.jsx)(le.f,{onClick:()=>N(m.NOVO_PAGE_ROUTES.InvoiceManagePayments,{state:{showOnboardingFlow:!0}}),isFetching:S,isContinueSetupCard:g,onOverview:!0,status:null==D?void 0:D.applicationStatus}),h&&(0,T.jsx)(se,{})]}),(0,T.jsxs)("div",{className:"flex w-full flex-col gap-6 md:w-[66%]",children:[y&&(0,T.jsx)(I,{showEstimateWidget:R,showInsightsWidget:y}),F&&(0,T.jsx)(Z,{data:null!=(n=null==V?void 0:V.data)?n:[],hasNoInvoices:null!=(i=null==V?void 0:V.hasNoInvoices)?i:!(null==V||!V.data),isLoading:w}),(0,T.jsxs)("div",{className:"flex w-full flex-col gap-6 md:flex-row",children:[(0,T.jsx)("div",{className:"w-full md:w-1/2",children:(0,T.jsx)(r.Skeleton,{fallback:(0,T.jsx)(de,{}),on:M,children:b&&x&&(G=x,null!=G&&G.allInvoicesPaid?(0,T.jsx)(f,{className:"w-full"}):null!=G&&G.hasNoInvoices?(0,T.jsx)(C,{className:"w-full"}):null!=G&&G.invoiceStatuses?(0,T.jsx)(O,{data:null==G?void 0:G.invoiceStatuses,isLoading:M}):null)})}),(0,T.jsx)("div",{className:"w-full md:w-1/2",children:U&&(0,T.jsx)(P,{})})]})]})]})]});var G};var _e=i(71806);const ce=({showPaymentCard:e=!1})=>{var n,i,s,d;const{aclConfigData:o}=(0,a.useContext)(re.r),_=null!=(n=null==o||null==(i=o.invoice)||null==(i=i.permissions)?void 0:i.create)&&n,c=null!=(s=null==o||null==(d=o.estimate)||null==(d=d.permissions)?void 0:d.create)&&s,u=(0,t.useNavigate)(),{CREATE_AN_INVOICE:E,SETUP_PAYMENTS:N}=U.y.OVERVIEW;return(0,T.jsxs)("section",{className:"flex h-min w-full flex-col gap-6 md:flex-row",children:[_&&(0,T.jsx)(r.SetupCard,{heading:v.k.OVERVIEW.CARDS.INVOICES.heading,de
1scription:v.k.OVERVIEW.CARDS.INVOICES.description,icon:_e.Es,iconClassName:"w-16 h-16 mb-2",actionButton:(0,T.jsx)(r.Button,{"data-test-id":"overview-create-invoice",buttonVariant:"secondary",onClick:()=>{(0,l.sx)(E),u(m.NOVO_PAGE_ROUTES.CreateInvoice)},className:"mt-2 w-fit",children:v.k.OVERVIEW.CTA.CREATE_INVOICE})}),c&&(0,T.jsx)(r.SetupCard,{heading:v.k.OVERVIEW.CARDS.ESTIMATES.heading,description:v.k.OVERVIEW.CARDS.ESTIMATES.description,icon:_e.FW,iconClassName:"w-16 h-16 mb-2",actionButton:(0,T.jsx)(r.Button,{"data-test-id":"overview-send-estimate",buttonVariant:"secondary",onClick:()=>u(m.NOVO_PAGE_ROUTES.InvoiceEstimates),className:"mt-2 w-fit",children:v.k.OVERVIEW.CTA.SEND_ESTIMATE})}),e&&(0,T.jsx)(r.SetupCard,{heading:v.k.OVERVIEW.CARDS.PAYMENTS.heading,description:v.k.OVERVIEW.CARDS.PAYMENTS.description,icon:_e.rV,iconClassName:"w-16 h-16 mb-2",actionButton:(0,T.jsx)(r.Button,{"data-test-id":"overview-setup-payment",buttonVariant:"secondary",onClick:()=>{(0,l.sx)(N),u(m.NOVO_PAGE_ROUTES.InvoicePayments)},className:"mt-2 w-fit",children:v.k.OVERVIEW.CTA.SETUP_PAYMENTS})})]})},ue=({showPaymentCard:e})=>{const n=(0,t.useNavigate)(),{aclConfigData:i}=(0,a.useContext)(re.r),{continueSetupPaymentBanner:s,setupPaymentBanner:r}=(null==i?void 0:i.marketing)||{},d=r||s,{isFetchingPaymentsApplicationData:o,showOnboardingBanner:l}=(0,oe.u)({enabled:!!d});return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(B,{}),(0,T.jsx)("div",{className:"flex flex-col gap-10",children:(0,T.jsxs)("div",{className:"flex w-full flex-col gap-6 lg:flex-row",children:[(0,T.jsx)(ce,{showPaymentCard:e}),(0,T.jsx)("div",{className:"w-full max-w-96",children:l&&d&&(0,T.jsx)(le.f,{onOverview:!0,onClick:()=>n(m.NOVO_PAGE_ROUTES.InvoiceManagePayments,{state:{showOnboardingFlow:!0}}),isFetching:o,isContinueSetupCard:s})})]})})]})},Ee=({onClose:e})=>{const{privateAPIInstance:n}=(0,a.useContext)(o.AuthContext)||{},i=(0,t.useNavigate)(),{ACK_MODAL:d}=v.k.DOWNGRADED,{mutate:_,isPending:c}=(0,s.useMutation)({mutationKey:[E.A.CONFIRM_DOWNGRADE_ACKNOWLEDGMENT],mutationFn:async()=>{(0,l.sx)(U.y.STRIPE_ONBOARDING.CONFIRM_DOWNGRADE_ACKNOWLEDGMENT);return await(0,M.CR)(n,{input:{downgradeAcknowledged:!0}})},onSuccess:async e=>{200===e.operationInfo.statusCode?i(m.NOVO_PAGE_ROUTES.InvoiceManagePayments,{state:{backfillPaymentMethods:!0}}):r.toast.error({message:v.k.something_went_wrong})}}),{mutate:u,isPending:N}=(0,s.useMutation)({mutationKey:[E.A.CONFIRM_DOWNGRADE_ACKNOWLEDGMENT],mutationFn:async()=>await(0,M.CR)(n,{input:{downgradeAcknowledged:!0}}),onSuccess:()=>{e()}});return(0,T.jsxs)(r.Modal.Content,{className:"flex-col gap-6",children:[(0,T.jsx)(r.Header4,{className:"text-typography-default",children:d.heading}),(0,T.jsx)("div",{className:"text-typography-default",children:d.description}),(0,T.jsxs)("div",{className:"flex items-center gap-4",children:[(0,T.jsx)(r.Button,{type:"button",buttonVariant:"primary",onClick:()=>_(),"data-test-id":"update-payment-methods",disabled:c||N,children:d.confirm}),(0,T.jsx)(r.Link,{"data-test-id":"decline-downgrade-ack",onClick:()=>!c&&!N&&u(),linkVariant:c||N?"disabled":"primary",children:d.decline})]})]})};var Ne=i(4610);const ve=()=>{var e;const{privateAPIInstance:n}=(0,a.useContext)(o.AuthContext)||{},{aclConfigData:i,checkIsFeatureEnabled:_}=(0,a.useContext)(re.r),{modalState:N,openModal:v,closeModal:I}=(0,r.useModal)(),p=(0,u.Ay)(),{isFetchingFeatureFlag:g}=(0,d.h)(),k=null==i||null==(e=i.dashboard)||null==(e=e.permissions)?void 0:e.showDowngradeAcknowledgmentBanner;(0,a.useEffect)((()=>{k&&v({name:ee.aH.MODAL.DOWNGRADE_ACKNOWLEDGMENT})}),[]);const{data:S,isFetching:A}=(0,s.useQuery)({queryKey:[E.B.GET_INVOICES_COUNT],queryFn:()=>(0,c.uD)(n,{baseURL:p}),select:e=>e.data.hasInvoices,staleTime:1/0});if(!_("OVERVIEW"))return(0,T.jsx)(t.Navigate,{to:m.NOVO_PAGE_ROUTES.InvoicesList,replace:!0});const O=!S,C=()=>{(0,l.sx)(U.y.STRIPE_ONBOARDING.DOWNGRADE_NOT_ACKNOWLEDGED),I()};return(0,T.jsxs)(r.Skeleton,{fallback:(0,T.jsx)(r.Loader,{}),on:g||A,children:[(0,T.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,T.jsx)(r.BreadCrumb,{path:Ne.o5}),O?(0,T.jsx)(ue,{showPaymentCard:!1}):(0,T.jsx)(me,{})]}),(0,T.jsx)(r.Modal,{isOpen:N.name===ee.aH.MODAL.DOWNGRADE_ACKNOWLEDGMENT,closeIcon:!1,onModalClose:C,shouldCloseOnBackdrop:!1,shouldCloseOnEsc:!1,children:(0,T.jsx)(Ee,{onClose:C})})]})},Te=()=>(0,T.jsx)(ve,{})},76828(e,n,i){"use strict";i.d(n,{A:()=>m,r:()=>l});var a=i(75969),t=i(66753),s=i(22949),r=i(60120),d=i(76805),o=i(69500);const l=(0,a.createContext)({aclConfigData:null,checkIsFeatureEnabled:function(e){throw new Error("Function not implemented.")}}),m=({children:e})=>{const{privateAPIInstance:n}=(0,a.useContext)(s.AuthContext)||{},{Provider:i}=l,{data:m}=(0,r.useQuery)({queryKey:[d.B.GET_INVOICE_ACL_CONFIG],queryFn:async()=>{const e=await(0,t.X_)(n);if(!e.hasError)return e.data},gcTime:0,enabled:!!n});return(0,o.jsx)(i,{value:{aclConfigData:m||null,checkIsFeatureEnabled:e=>{var n,i;return null!=(n=null==m||null==(i=m.menu)?void 0:i.includes(e))&&n}},children:e})}},23584(e,n,i){"use strict";i.d(n,{A:()=>_});var a=i(22949),t=i(60120),s=i(75969),r=i(91317),d=i.n(r),o=i(33482),l=i(76805),m=i(66753);const _=()=>{var e;const n=(0,o.Ay)(),{privateAPIInstance:i}=null!=(e=(0,s.useContext)(a.AuthContext))?e:{}
1,[r,_]=(0,s.useState)(!1),[c,u]=(0,s.useState)(null),{data:E,isFetching:N}=(0,t.useQuery)({queryKey:[l.B.CHECK_PAYMENT_CAPABILITIES],queryFn:()=>(0,m.nX)(i,{baseURL:n}),gcTime:0,enabled:!!i});return(0,s.useEffect)((()=>{if(!(d()(E)||null!=E&&E.hasError)){var e;const n=null==(e=E.data)?void 0:e.paymentMethods;if(Array.isArray(n)){u(n);n.find((e=>"inactive"===e.status))&&_(!0)}}}),[E]),{showWarningBanner:r,paymentCapabilities:c,isFetchingPaymentCapabilities:N}}},80168(e,n,i){"use strict";i.d(n,{u:()=>m});var a=i(75969),t=i(60120),s=i(22949),r=i(25085),d=i(76805),o=i(59080),l=i(1701);const m=({pollingNeeded:e=!1,enabled:n=!0}={})=>{const{privateAPIInstance:i}=(0,a.useContext)(s.AuthContext)||{},{data:m,isFetching:_,isRefetching:c}=(0,t.useQuery)({queryKey:[d.B.GET_VENDER_ONBOARDING_INFO],queryFn:async()=>await(0,r.GY)(i),enabled:!!i&&n,gcTime:0,refetchOnMount:"always",refetchInterval:n=>{var i;const a=null==(i=n.state.data)?void 0:i.applicationStatus;return!!(a&&e&&l.oK.includes(a))&&o.aH.TIME.ONBOARDING_POLLING_INTERVAL}});return{showOnboardingBanner:null===(null==m?void 0:m.applicationStatus)||(null==m?void 0:m.applicationStatus)===l.JG.ONBOARDING_STARTED||(null==m?void 0:m.applicationStatus)===l.JG.ACCOUNT_INFO_VERIFIED||(null==m?void 0:m.applicationStatus)===l.JG.BUSINESS_OWNERSHIP_VERIFIED||(null==m?void 0:m.applicationStatus)===l.JG.BUSINESS_DESCRIPTION_SUBMITTED,paymentsApplicationData:m,isFetchingPaymentsApplicationData:_,isRefetchingPaymentsApplicationData:c}}},67562(e,n,i){"use strict";i.d(n,{i:()=>o});var a=i(75969),t=i(60120),s=i(22949),r=i(25085),d=i(76805);const o=()=>{const{privateAPIInstance:e}=(0,a.useContext)(s.AuthContext)||{},n=(0,t.useQueryClient)(),{mutate:i,isPending:o}=(0,t.useMutation)({mutationKey:["UpdateVendorOnboardingStatus"],mutationFn:async({status:n,description:i=null})=>await(0,r.FT)(e,{input:{applicationStatus:n,businessDescription:i}}),onSuccess:()=>{n.invalidateQueries({queryKey:[d.B.GET_VENDER_ONBOARDING_INFO]})}});return{UpdateVendorOnboardingStatus:i,isUpdateVendorOnboardingStatusPending:o}}},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
1_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_TYPE:{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"}}})},26248(e,n,i){"use strict";i.d(n,{QK:()=>s,kF:()=>a,m_:()=>d,qP:()=>t,s$:()=>r});let a=function(e){return e.CREATED_AT="CREATED_AT",e}({}),t=function(e){return e.ASC="ASC",e.DESC="DESC",e}({}),s=function(e){return e.CREATED_AT="CREATED_AT",e.INVOICE_TOTAL="INVOICE_TOTAL",e.INVOICE_NUMBER="INVOICE_NUMBER",e.INVOICE_SENT_DATE="INVOICE_SENT_DATE",e}({}),r=function(e){return e.ASC="ASC",e.DESC="DESC",e}({}),d=function(e){return e.OVERDUE="OVERDUE",e.CURRENTLY_DUE="CURRENTLY_DUE",e.TOTAL_BALANCE="TOTAL_BALANCE",e.DUE_AMOUNT="DUE_AMOUNT",e}({})},59080(e,n,i){"use strict";i.d(n,{qS:()=>X,hk:()=>H,KM:()=>K,aH:()=>V,kG:()=>$,qU:()=>j,wz:()=>q,vx:()=>W,xv:()=>z,yv:()=>Q,XS:()=>G,s7:()=>w,hD:()=>Y});var a=i(72937),t=(i(18496),i(75969)),s=i(73681),r=i.n(s),d=i(23463),o=i(36195),l=i(35397),m=i(11257),_=i(55531),c=i(42242),u=i(69500);const E=({onConfirm:e,underReview:n,isLoading:i,type:a})=>{const{APPLICATION:t}=l.k.PAYMENTS,{openModal:s}=(0,d.useModal)(),r=a&&"businessOwnership"===a,{VERIFY_BUSINESS_INFO_UPDATE:o,VERIFY_ACCOUNT_INFO_UPDATE:E,VERIFY_BUSINESS_INFO_YES:N,VERIFY_ACCOUNT_INFO_YES:v}=c.y.STRIPE_ONBOARDING;return(0,u.jsxs)("div",{className:"",children:[(0,u.jsx)("span",{className:"text-typography-default text-body-medium w-full",children:r?t.CONFIRM_DETAILS.BUSINESS_HEADING:t.CONFIRM_DETAILS.HEADING}),(0,u.jsxs)("div",{className:"mt-4 flex w-full gap-x-4",children:[(0,u.jsxs)(d.Tooltip,{children:[(0,u.jsx)(d.TooltipTrigger,{asChild:!0,children:(0,u.jsx)(d.Button,{"data-test-id":"confirm-personal-information",className:"w-full md:w-[216px] md:max-w-[216px]",onClick:()=>{r?(0,_.sx)(N):(0,_.sx)(v),e()},disabled:n||i,children:t.CONFIRM_DETAILS.YES})}),(0,u.jsx)(d.TooltipContent,{children:n&&(0,u.jsx)("div",{className:"text-body-s-regular max-w-80",children:t.DISABLED_CTA_TOOLTIP.CONTINUE})})]}),(0,u.jsx)(d.Button,{"data-test-id":"open-update-personal-information",buttonVariant:"secondary",className:"w-full md:max-w-[216px]",onClick:()=>{r?(0,_.sx)(o):(0,_.sx)(E),s({name:m.A.MODAL.UPDATE_ACCOUNT_DETAILS})},children:t.CONFIRM_DETAILS.UPDATE})]})]})},N=({type:e})=>{const{openModal:n}=(0,d.useModal)(),{APPLICATION:i}=l.k.PAYMENTS,{MADE_A_MISTAKE_UPDATE_ACCOUNT_INFO:a,MADE_A_MISTAKE_BUSINESS_INFO:t}=c.y.STRIPE_ONBOARDING;return(0,u.jsxs)("div",{className:"bg-fill-success-light text-typography-default text-body-regular flex flex-col rounded-lg p-4 font-normal leading-6",children:[(0,u.jsx)("span",{children:"accountInfo"===e?i.VERIFICATION.VERIFIED_ACCOUNT_INFO:i.VERIFICATION.VERIFIED_OWNERSHIP_INFO}),(0,u.jsxs)("span",{children:[i.VERIFICATION.MADE_A_MISTAKE," ",(0,u.jsx)("span",{role:"button",onClick:()=>{"accountInfo"===e?(0,_.sx)(a):(0,_.sx)(t),n({name:m.A.MODAL.UPDATE_ACCOUNT_DETAILS})},className:"text-button-variant-outlined cursor-pointer underline underline-offset-2",children:i.VERIFICATION.UPDATE_INFO})," ",i.VERIFICATION.BEFORE_SUBMISSION]})]})},v=()=>(0,u.jsx)(d.SkeletonText,{className:"mt-1 h-4 w-32"}),T=()=>(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(d.SkeletonText,{className:"mb-2 mt-1 h-4 w-32"}),(0,u.jsx)(d.SkeletonText,{className:"h-4 w-24"})]}),I=()=>{const{APPLICATION:e}=l.k.PAYMENTS;return(0,u.jsx)("div",{className:"w-full",children:(0,u.jsxs)("div",{className:"my-4 flex w-full flex-col gap-3 break-all pb-8 md:grid md:grid-cols-3 lg:gap-6",children:[(0,u.jsxs)("div",{className:"flex flex-col gap-y-4",children:[(0,u.jsx)("h2",{className:"text-typography-default text-h4 leading-7",children:e.ACCOUNT_INFO.HEADINGS.PERSONAL_INFORMATION}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-body-regular font-normal leading-6 text-typography-grey",children:e.COMMON.FULL_LEGAL_NAME}),(0,u.jsx)(v,{})]}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-body-regular font-normal leading-6 text-typography-grey",children:e.COMMON.DATE_OF_BIRTH}),(0,u.jsx)(v,{})]}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-body-regular font-normal leading-6 text-typography-grey",children:e.ACCOUNT_INFO.SSN}),(0,u.jsx)(v,{})]}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-body-regular font-normal leading-6 text-typography-grey",children:e.ACCOUNT_INFO.HOME_ADDRESS}),(0,u.jsx)(T,{})]})]}),(0,u.jsxs)("div",{className:"flex flex-col gap-y-4",children:[(0,u.jsx)("h2",{className:"text-typography-default text-h4 leading-7",children:e.ACCOUNT_INFO.HEADINGS.BUSINESS_INFORMATION}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-body-regular font-normal leading-6 text-typography-grey",children:e.ACCOUNT_INFO.BUSINESS_NAME}),(0,u.jsx)(v,{})]}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-body-regular font-normal leading-6 text-typography-grey",children:e.ACCOUNT_INFO.DBA}),(0,u.jsx)(v,{})]}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-body-regular font-normal leading-6 text-typography-grey",children:e.ACCOUNT_INFO.BUSINESS_ADDRESS}),(0,u.jsx)(T,{})]})]}),(0,u.jsxs)("div",{className:"flex flex-col gap-y-4",children:[(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-body-regular mt-11 font-normal leading-6 text-typography-grey",children:e.ACCOUNT_INFO.EIN}),(0,u.jsx)("span",{className:"text-typography-default text-body-regular font-normal leading-6",children:(0,u.jsx)(v,{})})]}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-body-regular font-normal leading-6 text-typography-grey",children:e.ACCOUNT_INFO.BUSINESS_TYPE}),(0,u.jsx)(v,{})]}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-body-regular font-normal leading-6 text-typography-grey",children:e.ACCOUNT_INFO.WEBSITE}),(0,u.jsx)(v,{})]})]})]})})};var p=i(67562),g=i(1701),k=i(3534),S=i(21215),A=i(93415);const O=({type:e})=>{const{modalState:n,closeModal:i}=(0,d.useModal)(),a=(0,k.useNavigate)(),{UPDATE_POPUP_GO_TO_ACCOUNT_INFO:t,UPDATE_POPUP_CANCEL:s}=c.y.STRIPE_ONBOARDING;return(0,u.jsxs)(d.Modal,{isOpen:n.name===m.A.MODAL.UPDATE_ACCOUNT_DETAILS,closeIcon:!0,children:[(0,u.jsx)(d.Modal.Header,{children:(0,u.jsx)(d.Header4,{className:"text-typography-default",children:l.k.how_to_update_your_info})}),(0,u.jsxs)(d.Modal.Content,{className:"flex-col justify-end gap-6 self-end",children:[(0,u.jsx)("div",{className:"text-typography-grey",children:(0,u.jsx)(A.Trans,{i18nKey:"how_to_update_info_body",ns:"invoices",values:{accountInfo:l.k.account_info,type:e},components:{b:(0,u.jsx)("span",{className:"font-medium"})}})}),(0,u.jsxs)("div",{className:"flex items-center gap-6",children:[(0,u.jsx)(d.Button,{type:"button",buttonVariant:"primary",onClick:()=>{(0,_.sx)(t),a(S.NOVO_PAGE_ROUTES.AccountInfo)},"data-test-id":"redirect-to-account-info",className:"w-1/2",children:l.k.go_to_account_info}),(0,u.jsx)(d.Button,{type:"button",buttonVariant:"secondary",onClick:()=>{(0,_.sx)(s),i()}
1,"data-test-id":"cancel-account-info-update",className:"w-1/2",children:l.k.cancel})]})]})]})};var C=i(26443),D=i(1291);const y=(0,t.memo)((({value:e})=>e?(0,u.jsx)("span",{className:"text-typography-default text-body-regular break-all font-normal leading-6",children:e}):"-")),f=(0,t.memo)((({value:e})=>(0,u.jsx)("span",{className:"text-body-regular text-typography-grey font-normal leading-6",children:e}))),R=(0,t.memo)((()=>{const{APPLICATION:e}=l.k.PAYMENTS;return(0,u.jsx)(d.Tag,{className:"rounded-full px-2 py-1",category:"warning",children:e.ACCOUNT_INFO.LABELS.IN_REVIEW})})),L=(0,t.memo)((({title:e,value:n,showInReview:i})=>(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsxs)("div",{className:"flex items-center gap-1",children:[(0,u.jsx)(f,{value:e}),i&&(0,u.jsx)(R,{})]}),(0,u.jsx)(y,{value:n})]}))),h=(0,t.memo)((({heading:e="",rows:n})=>(0,u.jsxs)("div",{className:"flex flex-col gap-y-4",children:[e&&(0,u.jsx)(d.Header4,{className:"text-typography-default",children:e}),n.map(((e,n)=>(0,u.jsx)(L,Object.assign({},e),"info"+n)))]}))),F=({title:e,ein:n,maskedEin:i,showInReview:a})=>{const[s,r]=(0,t.useState)(!1);return(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsxs)("div",{className:"flex items-center gap-1",children:[(0,u.jsxs)("div",{className:"flex items-center gap-2",children:[(0,u.jsx)(f,{value:e}),(0,u.jsx)("span",{className:"cursor-pointer","data-test-id":"ein-toggle",role:"button",onClick:()=>r(!s),"aria-label":s?l.k.hide_ein:l.k.show_ein,tabIndex:0,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||r(!s)},children:s?(0,u.jsx)(D.Int,{name:"view",size:"xs",className:"cursor-pointer",color:"current"}):(0,u.jsx)(D.Int,{name:"hide",size:"xs",className:"cursor-pointer",color:"current"})})]}),a&&(0,u.jsx)(R,{})]}),(0,u.jsx)(y,{value:s?(0,o.formatToEin)(n):i})]})},P=()=>{const{APPLICATION:e}=l.k.PAYMENTS;return(0,u.jsxs)("div",{className:"border-border-light flex flex-col gap-y-4 rounded-lg border border-solid p-4",children:[(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-body-regular font-normal leading-6 text-typography-grey",children:e.COMMON.FULL_LEGAL_NAME}),(0,u.jsx)(d.SkeletonText,{className:"mt-1 h-4 w-32"})]}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-body-regular font-normal leading-6 text-typography-grey",children:e.COMMON.DATE_OF_BIRTH}),(0,u.jsx)(d.SkeletonText,{className:"mt-1 h-4 w-12"})]}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-body-regular font-normal leading-6 text-typography-grey",children:e.OWNERS_INFO.EMAIL}),(0,u.jsx)(d.SkeletonText,{className:"mt-1 h-4 w-40"})]}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-body-regular font-normal leading-6 text-typography-grey",children:e.OWNERS_INFO.OWNERSHIP_PERCENTAGE}),(0,u.jsx)(d.SkeletonText,{className:"mt-1 h-4 w-10"})]})]})},b=()=>(0,u.jsxs)("div",{className:"my-4 grid w-full grid-cols-3 gap-3 pb-8 md:gap-6 xl:gap-8",children:[(0,u.jsx)(P,{}),(0,u.jsx)(P,{}),(0,u.jsx)(P,{}),(0,u.jsx)(d.SkeletonButton,{className:"mb-7 w-60"})]});var U=i(97519);const x=()=>(0,u.jsx)(d.SkeletonParagraph,{className:"mb-7 w-2/5"});var M=i(80824),B=i(76075);const V={UserLoggedINCookie:"novo_app_user_logged_in",DeviceUUIDCookie:"novo_app_device_uuid",CounterCookie:"novo_app_counter",ACH:"ACH",MAILED_CHECKS:"MAILED_CHECKS",INTERNATIONAL:"INTERNATIONAL",INTERNATIONAL_PAYMENT:"INTERNATIONAL_PAYMENT",EXPRESS_ACH:"EXPRESS_ACH",MAKE_PAYMENT_SCREEN:{CHOOSE_PAYEE:"choose_payee",ENTER_AMOUNT:"enter_amount",CHOOSE_SPEED:"choose_speed",CHOOSE_PAYMENT_METHOD:"choose_payment_method",REVIEW_PAYMENT:"review_payment",SHOW_AD:"show_ad",PAYMENT_DONE:"payment_done"},LIMIT:{TRANSACTION:50,STATEMENTS:24,RECENT_TRANSACTION:5,RECENT_INVOICES:4,PENDING_TRANSACTIONS:4,CLIENT_DETAIL_RECENT_INVOICES:4,CLIENT_DETAIL_RECENT_PAYMENTS:4,OVERDUE_RECENT_ACTIVITIES:10,PAYMENTS:50},TIME:{ONBOARDING_POLLING_INTERVAL:5e3},PAYEE_PAYMENT_METHOD_TYPE:{ACCOUNT:"ACCOUNT",ADDRESS:"ADDRESS"},MODAL:{CARD_PAYMENT_REFERRAL:"CARD_PAYMENT_REFERRAL",INVOICE_PREVIEW_MODA
1L:"INVOICE_PREVIEW_MODAL",REFER_A_FRIEND:"REFER_A_FRIEND",INVOICE_FEATURES_TUTORIAL:"INVOICE_FEATURES_TUTORIAL",TXN_DETAILS:"TXN_DETAILS",TXN_DETAILS_ACH:"TXN_DETAILS_ACH",INTEGRATION_CONNECTED:"INTEGRATION_CONNECTED",SHOPIFY_DETAILS:"SHOPIFY_DETAILS",SHOPIFY_DISCONNECT:"SHOPIFY_DISCONNECT",CONNECT_TO_SHOPIFY:"CONNECT_TO_SHOPIFY",DELETE_DRAFT_INVOICE:"DELETE_DRAFT_INVOICE",SHOW_INVOICES_LIST_ON_TRANSACTIONS_DETAILS:"SHOW_INVOICES_LIST_ON_TRANSACTIONS_DETAILS",INVOICE_BACK:"INVOICE_BACK",ADD_UPDATE_REMINDERS:"ADD_UPDATE_REMINDERS",SCHEDULED_INVOICE_BACK:"SCHEDULED_INVOICE_BACK",PROCESSING_FEE_DETAILS:"PROCESSING_FEE_DETAILS",CREATE_INVOICE_MODAL:"CREATE_INVOICE_MODAL",CUSTOMIZE_INVOICE_MODAL:"CUSTOMIZE_INVOICE_MODAL",EDIT_SERIES_MODAL:"EDIT_SERIES_MODAL",QB_DETAILS:"QB_DETAILS",QB_DISCONNECT:"QB_DISCONNECT",QB_SYNC_TXNS:"QB_SYNC_TXNS",QB_CONNECTED:"QB_CONNECTED",XERO_DETAILS:"XERO_DETAILS",XERO_DISCONNECT:"XERO_DISCONNECT",XERO_SYNC_TXNS:"XERO_SYNC_TXNS",XERO_CONNECTED:"XERO_CONNECTED",STRIPE_DETAILS:"STRIPE_DETAILS",STRIPE_DISCONNECT:"STRIPE_DISCONNECT",ZAPIER_DETAILS:"ZAPIER_DETAILS",ZAPIER_DISCONNECT:"ZAPIER_DISCONNECT",SLACK_DETAILS:"SLACK_DETAILS",SLACK_DISCONNECT:"SLACK_DISCONNECT",SLACK_CONNECTED:"SLACK_CONNECTED",CHANGE_NOTICE_REVIEW:"CHANGE_NOTICE_REVIEW",CHANGE_NOTICE_REVIEW_V2:"CHANGE_NOTICE_REVIEW_V2",HOW_TO_ADD_FUND:"HOW_TO_ADD_FUND",ADD_FUNDS_TO_RESERVE:"ADD_FUNDS_TO_RESERVE",RELEASE_FUNDS_FROM_RESERVE:"RELEASE_FUNDS_FROM_RESERVE",DELETE_RESERVE:"DELETE_RESERVE",CANCEL_INVOICE:"CANCEL_INVOICE",ACTIVITY_FILTER:"ACTIVITY_FILTER",TOP_SOURCES_DESTINATIONS_TXNS:"TOP_SOURCES_DESTINATIONS_TXNS",ADD_GOOGLE_PAY:"ADD_GOOGLE_PAY",ADD_APPLE_PAY:"ADD_APPLE_PAY",REMOVE_MOBILE_WALLET:"REMOVE_MOBILE_WALLET",SQUARE_CONNECTED:"SQUARE_CONNECTED",SQUARE_DETAILS:"SQUARE_DETAILS",SQUARE_DISCONNECT:"SQUARE_DISCONNECT",SHOPIFY_CONNECTED:"SHOPIFY_CONNECTED",ADD_USER_WANT_DEBIT_CARD:"ADD_USER_WANT_DEBIT_CARD",CONFIRM_USER_DELETE:"CONFIRM_USER_DELETE",USER_DETAILS:"USER_DETAILS",USER_REMOVE_REQUEST:"USER_REMOVE_REQUEST",INVOICE_NUMBER_INFO:"INVOICE_NUMBER_INFO",HOW_TO_PAY_VIA_ACH:"HOW_TO_PAY_VIA_ACH",CANCEL_DEBIT_CARD_TIMELINE_CONFIRMATION:"CANCEL_DEBIT_CARD_TIMELINE_CONFIRMATION",PLATFORM_PICKER:"PLATFORM_PICKER",WISE_ACCOUNT_EXIST:"WISE_ACCOUNT_EXIST",WISE_ACCOUNT_READY:"WISE_ACCOUNT_READY",WISE_DETAILS:"WISE_DETAILS",WISE_DISCONNECT:"WISE_DISCONNECT",WISE_TRANSECTION_DETAILS:"WISE_TRANSECTION_DETAILS",WISE_CONNECTED:"WISE_CONNECTED",CONNECT_TO_WISE:"CONNECT_TO_WISE",UPDATE_RESERVE:"UPDATE_RESERVE",TXN_REPORT_ISSUE:"TXN_REPORT_ISSUE",TXN_REPORT_ADDITIONAL_DATA:"TXN_REPORT_ADDITIONAL_DATA",HOW_TO_REORDER:"HOW_TO_REORDER",LOGIN_MAX_ATTEMPT:"LOGIN_MAX_ATTEMPT",CLOSE_CONFIRMATION:"CLOSE_CONFIRMATION",TRUST_PILOT_REVIEW:"TRUST_PILOT_REVIEW",ADD_PAYEE_REVIEW:"ADD_PAYEE_REVIEW",ADD_PAYEE_CONFIRM_ACCOUNT_NUMBER_RESULTS:"ADD_PAYEE_CONFIRM_ACCOUNT_NUMBER_RESULTS",ADD_VCARD_TO_WALLETS:"ADD_VCARD_TO_WALLETS",NOVO_APPS_TUTORIAL:"NOVO_APPS_TUTORIAL",NOVO_APP_CONNECTED:"NOVO_APP_CONNECTED",NOVO_APP_CONNECTION_ERROR:"NOVO_APP_CONNECTION_ERROR",NOVO_APP_DIS_CONNECT:"NOVO_APP_DIS_CONNECT",DISPUTE_TXN_DETAILS:"DISPUTE_TXN_DETAILS",UNDERSTAND_YOUR_BALANCE:"UNDERSTAND_YOUR_BALANCE",TOTAL_ACCOUNT_BALANCE:"TOTAL_ACCOUNT_BALANCE",NEGATIVE_AVAILABLE_BALANCE:"NEGATIVE_AVAILABLE_BALANCE",SETUP_PAYOUTS:"SETUP_PAYOUTS",DEBIT_CARD_HOLD:"DEBIT_CARD_HOLD",SELECT_PAYMENT_SOURCE:"SELECT_PAYMENT_SOURCE",SEND_REMINDER_INVOICE:"SEND_REMINDER_INVOICE",CANCEL_SCHEDULED_INVOICE:"CANCEL_SCHEDULED_INVOICE",CUSTOMER_DETAILS:"CUSTOMER_DETAILS",ITEM_DETAILS:"ITEM_DETAILS",UPDATE_CUSTOMER_DETAILS:"UPDATE_CUSTOMER_DETAILS",DELETE_CUSTOMER:"DELETE_CUSTOMER",REFERRAL_SPLASH_SCREEN:"REFERRAL_SPLASH_SCREEN",NOVO_INVOICE_TUTORIAL_N_ONBOARD:"NOVO_INVOICE_TUTORIAL_N_ONBOARD",MANAGE_BUSINESS_INFO:"MANAGE_BUSINESS_INFO",LIMIT_INFORMATION:"LIMIT_INFORMATION",LIMIT_EXCEED:"LIMIT_EXCEED",REQUEST_LIMIT_CHANGE:"REQUEST_LIMIT_CHANGE",VIEW_LIMIT_CHANGE_REQUEST:"VIEW_LIMIT_CHANGE_REQUEST",CANCEL_LIMIT_CHANGE_REQUEST:"CANCEL_LIMIT_CHANGE_REQUEST",REQUEST_LIMIT_CHANGE_ACCOUNT_INFO:"REQUEST_LIMIT_CHANGE_ACCOUNT_INFO",VIEW_LIMIT_CHANGE_REQUEST_ACCOUNT_INFO:"VIEW_LIMIT_CHANGE_REQUEST_ACCOUNT_INFO",CANCEL_LIMIT_CHANGE_REQUEST_ACCOUNT_INFO:"CANCEL_LIMIT_CHANGE_REQUEST_ACCOUNT_INFO",RECONNECT_PAYMENT:"RECONNECT_PAYMENT",DOWNGRADE_ACKNOWLEDGMENT:"DOWNGRADE_ACKNOWLEDGMENT",PAYMENTS_OPT_OUT:"PAYMENTS_OPT_OUT",PAYMENTS_OPT_OUT_CONFIRMATION:"PAYMENTS_OPT_OUT_CONFIRMATION",INSTANT_PAYOUT:{STRIPE_STARTER:"STRIPE_STARTER",ENSURE_INSTANT_PAYOUT:"ENSURE_PAYOUT",OPT_IN_INSTANT_PAYOUT:"OPT_IN_INSTANT_PAYOUT",SETUP_STRIPE_PAYOUT:"SETUP_STRIPE_PAYOUT",INSTANT_PAYOUT_ENABLED:"INSTANT_PAYOUT_ENABLED"},INSTANT_DEPOSIT_USING_V_CARD_CONF:"INSTANT_DEPOSIT_USING_V_CARD_CONF",PAYMENT_SENT:"PAYMENT_SENT",SUCCESS_SCREEN:"SUCCESS_SCREEN",EXPRESS_ACH_INFO:"EXPRESS_ACH_INFO",LINE_OF_CREDIT_ESTIMATED_AMOUNT:"LINE_OF_CREDIT_ESTIMATED_AMOUNT",NOVO_PAYEE_INVITE_SUCCESS:"NOVO_PAYEE_INVITE_SUCCESS",RESERVE:{PERCENTAGE_ALLOCATION:"PERCENTAGE_ALLOCATION",TRANSFER_FUNDS:"TRANSFER_FUNDS",PROFIT_FIRST:"PROFIT_FIRST",ABOUT_PROFIT_FIRST:"ABOUT_PROFIT_FIRST",CONFIRM_RESERVE:"CONFIRM_RESERVE"},ZENDESK:{CREATE_TICKET:"CREATE_TICKET"},TXN_PAY_FROM_RESERVE_CONFIRMATION:"TXN_PAY_FROM_RESERVE_CONFIRMATION",NOT_ENOUGH_FUNDS:"NOT_ENOUGH_FUNDS",TAX:{FEATURE_DETAIl_EXIT:"FEATURE_DETAIl_EXIT",OPT_OUT_TAX_WAIT_LIST:"OPT_OUT_TAX_WAIT_LIST"}
1,NOVO_INVOICE_TUTORIAL_N_ONBOARD_EXIT:"NOVO_INVOICE_TUTORIAL_N_ONBOARD_EXIT",ACCOUNTING:{ADD_RULE:"ADD_RULE",EDIT_RULE:"EDIT_RULE",DELETE_RULE_CONFIRMATION:"DELETE_RULE_CONFIRMATION",MANAGE_TAGS:"MANAGE_TAGS",SHOULD_CREATE_NEW_RULE:"SHOULD_CREATE_NEW_RULE",SHOULD_CHANGE_RULE:"SHOULD_CHANGE_RULE",DELETE_TRANSACTION:"DELETE_TRANSACTION",SHOULD_CHANGE_TXN_TYPE:"SHOULD_CHANGE_TXN_TYPE",SELECT_TRANSACTION_TYPE_TO_CATEGORIZE:"SELECT_TRANSACTION_TYPE_TO_CATEGORIZE",SELECT_BULK_CATEGORY:"SELECT_BULK_CATEGORY",CAN_NOT_CONFIRM_ALL:"CAN_NOT_CONFIRM_ALL"},VIEW_LOAN_APPLICATION_RESULT:"VIEW_LOAN_APPLICATION_RESULT",PAYEE_DETAIL_ON_REVIEW_PAYMENT:"PAYEE_DETAIL_ON_REVIEW_PAYMENT",SEND_MONEY_FROM:"SEND_MONEY_FROM",NOVO_PERKS_VIEW:"NOVO_PERKS_VIEW",WELCOME_BANNER:"WELCOME_BANNER",FTE_ACTIVITY:"FTE_ACTIVITY",FTE_ACTIVITY_WRAPPER:"FTE_ACTIVITY_WRAPPER",FAQ_AND_INFO_MODAL:"FAQ_AND_INFO_MODAL",ADD_PAYEE_INFO_MODAL:"ADD_PAYEE_INFO_MODAL",VENMO_REMINDER:"VENMO_REMINDER",APPS:{QUICK_BOOK:{SELECT_WIDGET:"SELECT_WIDGET",ADD_ACCOUNT_DETAIL_IN_QB:"ADD_ACCOUNT_DETAIL_IN_QB",QUICK_BOOK_RESERVE_MANAGE:"QUICK_BOOK_RESERVE_MANAGE",CATEGORIES:"CATEGORIES",DASHBOARD_WIDGET_DETAILS:"DASHBOARD_WIDGET_DETAILS",QB_INFO:"QB_INFO"}},PAYPAL_MICRO_DEPOSIT:"PAYPAL_MICRO_DEPOSIT",SHOW_EXTERNAL_ACCOUNT_DETAILS:"SHOW_EXTERNAL_ACCOUNT_DETAILS",SELECT_PAYEE_METHOD:"SELECT_PAYEE_METHOD",ADD_PAYEE_BY_USER:"ADD_PAYEE_BY_USER",ADD_PAYEE_EMAIL_TO_INVITE:"ADD_PAYEE_EMAIL_TO_INVITE",ADD_PAYEE_PAYMENT_METHODS:"ADD_PAYEE_PAYMENT_METHODS",ADD_PAYEE_EMAIL_TO_INVITE_SUCCESS:"ADD_PAYEE_EMAIL_TO_INVITE_SUCCESS",ADD_PAYEE_PLAID_SUCCESS:"ADD_PAYEE_PLAID_SUCCESS",ADD_PAYEE_EDIT_PAYMENT_METHOD:"ADD_PAYEE_EDIT_PAYMENT_METHOD",ADD_PAYEE_PAYMENT_METHOD_REQUEST:"ADD_PAYEE_PAYMENT_METHOD_REQUEST",ADD_INTERNATIONAL_PAYEE:"ADD_INTERNATIONAL_PAYEE",DELETE_PAYEE:"DELETE_PAYEE",DELETE_PAYEEE_INVITE_REQUEST:"DELETE_PAYEEE_INVITE_REQUEST",SEND_REMINDER_TO_PAYEE:"SEND_REMINDER_TO_PAYEE",DELETE_PAYMENT_METHOD_PAYEE:"DELETE_PAYMENT_METHOD_PAYEE",PAYEE_PAYMENT_HISTORY:"PAYEE_PAYMENT_HISTORY",PAYEE_NOVO_TO_NOVO_INVITE:"PAYEE_NOVO_TO_NOVO_INVITE",UNABLE_TO_EDIT_PAYEE_DETAILS:"UNABLE_TO_EDIT_PAYEE_DETAILS",CHANGE_EMAIL_AND_SEND_NEW_PAYEE_REQUEST:"CHANGE_EMAIL_AND_SEND_NEW_PAYEE_REQUEST",FISERVE_CARD_USE_ALERT_MODAL:"FISERVE_CARD_USE_ALERT_MODAL",CUSTOMER_SUPPORT_MODAL:"CUSTOMER_SUPPORT_MODAL",ADD_PAYMENT_NOTES:"ADD_PAYMENT_NOTES",CARDS:{DISPUTE_SUCCESS_REPORT:"DISPUTE_SUCCESS_REPORT"},CONFIRM_RECONNECT:"CONFIRM_RECONNECT",WELCOME_INTRO:"WELCOME_INTRO",DOWNLOAD_APP:"DOWNLOAD_APP",PAYMENT_IN_PROGRESS:"PAYMENT_IN_PROGRESS"},DEFAULT_CITIZENSHIP:"US",MOBILE_WALLET_VENDORS:{GOOGLE:"GOOGLE",APPLE:"APPLE"},WISE:{DEFAULT_TARGET_CURRENCY:"EUR",DEFAULT_SOURCE_AMOUNT:20,MINIMUM_QUOTE_AMOUNT:20,MAXIMUM_QUOTE_AMOUNT:5e4,AMOUNT_TYPES:{SOURCE:"SOURCE",TARGET:"TARGET"},DEFAULT_SOURCE_CURRENCY:"USD",DEFAULT_SOURCE_CURRENCY_LOGO:"https://novo-static-assets.s3.amazonaws.com/images/country_flag/US.PNG"},PLAID_OAUTH_DATA:"PLAID_OAUTH_DATA",URL:{TRUSTPILOT:"https://www.trustpilot.com/evaluate/novo.co"},ADD_PAYEE:{MAIN_FORM:"ADD_PAYEE_MAIN_FORM",CONFIRM_ACC_NUM:"ADD_PAYEE_CONFIRM_ACC_NUM_FORM"},CARD_TXN_STATUS:{DECLINED:"DECLINED",CANCELED:"CANCELED",PENDING:"PENDING"},HOLD_INFO:{DEBIT_CARD:"DEBIT_CARD_HOLD"},APPS:{NOVO_ACTION:"NOVO_ACTION",FOOTER:"FOOTER",get COLLECTIONS(){return(0,a.catalogueText)("invoices","APPS.COLLECTIONS")},get VIEW_ALL(){return(0,a.catalogueText)("invoices","APPS.VIEW_ALL")},get BACK(){return(0,a.catalogueText)("invoices","APPS.BACK")},get CONTINUE(){return(0,a.catalogueText)("invoices","APPS.CONTINUE")},get DISCONNECT(){return(0,a.catalogueText)("invoices","APPS.DISCONNECT")},get DISCONNECTED(){return(0,a.catalogueText)("invoices","APPS.DISCONNECTED")},get GO_TO_APPS(){return(0,a.catalogueText)("invoices","APPS.GO_TO_APPS")},get GO_TO_INVOICE(){return(0,a.catalogueText)("invoices","APPS.GO_TO_INVOICE")},BOTH:"BOTH",PRE_CONNECTION:"PRE_CONNECTION",POST_CONNECTION:"POST_CONNECTION",get NO_APPS(){return(0,a.catalogueText)("invoices","APPS.NO_APPS")},get DID_NT_FIND_REQUEST(){return(0,a.catalogueText)("invoices","APPS.DID_NT_FIND_REQUEST")},get REQUEST_HERE(){return(0,a.catalogueText)("invoices","APPS.REQUEST_HERE")},get REMOVE_FROM_MY_APP(){return(0,a.catalogueText)("invoices","APPS.REMOVE_FROM_MY_APP")},get ADD_TO_MY_APP(){return(0,a.catalogueText)("invoices","APPS.ADD_TO_MY_APP")},REMOVE:"REMOVE",ADD:"ADD",HTML:"HTML",TEXT:"TEXT",BUTTON:"BUTTON",FAQ_AND_INFO:"FAQ_AND_INFO",SECONDARY_BUTTON:"SECONDARY_BUTTON",HYPERLINK:"HYPERLINK",EXTERNAL_TOOL:"EXTERNAL_TOOL",FAQ:"FAQ",ACCOUNT_INFO:"ACCOUNT_INFORMATION",NOVO_INTEGRATION:"NOVO_INTEGRATION",get CONNECTION_DETAIL(){return(0,a.catalogueText)("invoices","APPS.CONNECTION_DETAIL")},get CONNECTED(){return(0,a.catalogueText)("invoices","APPS.CONNECTED")},get CONNECTION_FAILED(){return(0,a.catalogueText)("invoices","APPS.CONNECTION_FAILED")},ACTIVE:"active",INACTIVE:"inactive",DISABLE:"disable",ERROR:"error",VERTICAL:"vertical",get LAST_REFRESHED_ON(){return(0,a.catalogueText)("invoices","APPS.LAST_REFRESHED_ON")},get MY_APPS(){return(0,a.catalogueText)("invoices","APPS.MY_APPS")},get DISCOVER(){return(0,a.catalogueText)("invoices","APPS.DISCOVER")},ACCOUNT_INFORMATION:"ACCOUNT_INFORMATION",CONNECT_SOURCES:{INVOICE:"INVOICE",NOVO_APP_STORE:"NOVO_APP_STORE",NOVO_APPS_STORE_V2:"NOVO_APPS_STORE_V2",LENDING_INTEGRATION_SETTINGS:"LENDING_INTEGRATION_SETTINGS",LENDING_INTEGRATION_ONBOARD:"LENDING_INTEGRATION_ONBOARD"}
1,HIDS:{STRIPE:"com.novo.stripe",QUICKBOOKS:"com.novo.quickbooks",XERO:"com.novo.xero",SLACK:"com.novo.slack",ZAPIER:"com.novo.zapier",WISE:"com.novo.wise",GUSTO:"com.novo.gusto",PAYPAL:"com.novo.paypal",SQUARE:"com.novo.square",AMAZON:"com.novo.amazon",VENMO:"com.novo.venmo"},WIDGET_TYPES:{ACCOUNTING_DATA:"accounting_data",SALES_DATA:"sales_data",PAYROLL_DATA:"payroll_data",GUSTO:"com.novo.gusto"},ADD_NOVO_DETAILS_IN_GUSTO:"ADD_NOVO_DETAILS_IN_GUSTO",REGISTER_FOR_GUSTO_ACCOUNT:"REGISTER_FOR_GUSTO_ACCOUNT",NAMES:{PAYPAL:"PAYPAL",STRIPE:"STRIPE",AMAZON:"AMAZON",VENMO:"VENMO"}},TUTORIAL:{APPS:{get V_HV_UPDATE(){return(0,a.catalogueText)("invoices","TUTORIAL.APPS.V_HV_UPDATE")},get LETS_SHOW(){return(0,a.catalogueText)("invoices","TUTORIAL.APPS.LETS_SHOW")},get YOUR_NEW_HUB(){return(0,a.catalogueText)("invoices","TUTORIAL.APPS.YOUR_NEW_HUB")},get MEET_NOVO_APPS(){return(0,a.catalogueText)("invoices","TUTORIAL.APPS.MEET_NOVO_APPS")},get NOVO_MUCH_MORE(){return(0,a.catalogueText)("invoices","TUTORIAL.APPS.NOVO_MUCH_MORE")},get ACCESS_APP(){return(0,a.catalogueText)("invoices","TUTORIAL.APPS.ACCESS_APP")},get YOUR_APP_CONTROL(){return(0,a.catalogueText)("invoices","TUTORIAL.APPS.YOUR_APP_CONTROL")},get YOUR_APP_FEATURE(){return(0,a.catalogueText)("invoices","TUTORIAL.APPS.YOUR_APP_FEATURE")},get VIEW_N_MANAGE(){return(0,a.catalogueText)("invoices","TUTORIAL.APPS.VIEW_N_MANAGE")},get FIND_YOUR_APP(){return(0,a.catalogueText)("invoices","TUTORIAL.APPS.FIND_YOUR_APP")},get CONNECT_YOUR_PLATFORM(){return(0,a.catalogueText)("invoices","TUTORIAL.APPS.CONNECT_YOUR_PLATFORM")},get RE_CONNECT_INTEGRATION(){return(0,a.catalogueText)("invoices","TUTORIAL.APPS.RE_CONNECT_INTEGRATION")}}},get RESERVES(){return(0,a.catalogueText)("invoices","RESERVES")},get RESERVE_HOLDING(){return(0,a.catalogueText)("invoices","RESERVE_HOLDING")},get AVAILABLE_BALANCE(){return(0,a.catalogueText)("invoices","AVAILABLE_BALANCE")},PENDING:"Pending",get OVERALL_BALANCE(){return(0,a.catalogueText)("invoices","OVERALL_BALANCE")},get TOTAL_BALANCE(){return(0,a.catalogueText)("invoices","TOTAL_BALANCE")},get TOTAL_BALANCE_INFO(){return(0,a.catalogueText)("invoices","TOTAL_BALANCE_INFO")},TOTAL_BALANCE_NONE:{get INFO(){return(0,a.catalogueText)("invoices","TOTAL_BALANCE_NONE.INFO")},ACTIONS:[{KEY:"TRANSFER",get DESC(){return(0,a.catalogueText)("invoices","TOTAL_BALANCE_NONE.ACTIONS.0.DESC")},get ACTION_BUTTON_TITLE(){return(0,a.catalogueText)("invoices","TOTAL_BALANCE_NONE.ACTIONS.0.ACTION_BUTTON_TITLE")}},{KEY:"APPS",get DESC(){return(0,a.catalogueText)("invoices","TOTAL_BALANCE_NONE.ACTIONS.1.DESC")},get ACTION_BUTTON_TITLE(){return(0,a.catalogueText)("invoices","TOTAL_BALANCE_NONE.ACTIONS.1.ACTION_BUTTON_TITLE")}}],get PRIMARY_ACTION_BUTTON(){return(0,a.catalogueText)("invoices","TOTAL_BALANCE_NONE.PRIMARY_ACTION_BUTTON")},get SECONDARY_ACTION_BUTTON(){return(0,a.catalogueText)("invoices","TOTAL_BALANCE_NONE.SECONDARY_ACTION_BUTTON")}},get NEGATIVE_BALANCE_INFO(){return(0,a.catalogueText)("invoices","NEGATIVE_BALANCE_INFO")},PENDING_TRANSACTIONS_INFO:{get NONE(){return(0,a.catalogueText)("invoices","PENDING_TRANSACTIONS_INFO.NONE")},get REMAINING(){return(0,a.catalogueText)("invoices","PENDING_TRANSACTIONS_INFO.REMAINING")}},get PENDING_TRANSACTIONS(){return(0,a.catalogueText)("invoices","PENDING_TRANSACTIONS")},TOTAL_BALANCE_MODAL:{get INFO(){return(0,a.catalogueList)("invoices","TOTAL_BALANCE_MODAL.INFO")},get ACTION_BUTTON_TITLE(){return(0,a.catalogueText)("invoices","TOTAL_BALANCE_MODAL.ACTION_BUTTON_TITLE")}},get UPDATED(){return(0,a.catalogueText)("invoices","UPDATED")},NEGATIVE_AVAILABLE_BALANCE_MODAL:{API_REQ:{limit:3,orderBy:"ASC"},get HEADING(){return(0,a.catalogueText)("invoices","NEGATIVE_AVAILABLE_BALANCE_MODAL.HEADING")},get INFO(){return(0,a.catalogueList)("invoices","NEGATIVE_AVAILABLE_BALANCE_MODAL.INFO")},get DATA_AVAILABLE_DESC(){return(0,a.catalogueText)("invoices","NEGATIVE_AVAILABLE_BALANCE_MODAL.DATA_AVAILABLE_DESC")},get PREVIOUS_AVAILABLE_BALANCE(){return(0,a.catalogueText)("invoices","NEGATIVE_AVAILABLE_BALANCE_MODAL.PREVIOUS_AVAILABLE_BALANCE")},get RESULTING_AVAILABLE_BALANCE(){return(0,a.catalogueText)("invoices","NEGATIVE_AVAILABLE_BALANCE_MODAL.RESULTING_AVAILABLE_BALANCE")},get VIEW_DETAILS(){return(0,a.catalogueText)("invoices","NEGATIVE_AVAILABLE_BALANCE_MODAL.VIEW_DETAILS")},get ACTION_BUTTON_TITLE(){return(0,a.catalogueText)("invoices","NEGATIVE_AVAILABLE_BALANCE_MODAL.ACTION_BUTTON_TITLE")}}
1,SETUP_PAYOUTS_MODAL:{get HEADER_TITLE(){return(0,a.catalogueText)("invoices","SETUP_PAYOUTS_MODAL.HEADER_TITLE")},get INFO(){return(0,a.catalogueList)("invoices","SETUP_PAYOUTS_MODAL.INFO")}},get MONEY_IN(){return(0,a.catalogueText)("invoices","MONEY_IN")},get MONEY_OUT(){return(0,a.catalogueText)("invoices","MONEY_OUT")},get HOLD(){return(0,a.catalogueText)("invoices","HOLD")},DEBIT_CARD_HOLDS_MODAL:{get HEADING(){return(0,a.catalogueText)("invoices","DEBIT_CARD_HOLDS_MODAL.HEADING")},get INFO(){return(0,a.catalogueList)("invoices","DEBIT_CARD_HOLDS_MODAL.INFO")},get ACTION_BUTTON_TITLE(){return(0,a.catalogueText)("invoices","DEBIT_CARD_HOLDS_MODAL.ACTION_BUTTON_TITLE")}},RECENT_ACTIVITY_V2:{get ACTION_BUTTON_TITLE(){return(0,a.catalogueText)("invoices","RECENT_ACTIVITY_V2.ACTION_BUTTON_TITLE")},get INCOMING(){return(0,a.catalogueText)("invoices","RECENT_ACTIVITY_V2.INCOMING")},get OUTGOING(){return(0,a.catalogueText)("invoices","RECENT_ACTIVITY_V2.OUTGOING")}},get NO_DATA_RECENT_ACTIVITY(){return(0,a.catalogueText)("invoices","NO_DATA_RECENT_ACTIVITY")},BALANCE_INFO:{get UYB(){return(0,a.catalogueText)("invoices","BALANCE_INFO.UYB")},get AVBALANCE_INFO_1(){return(0,a.catalogueText)("invoices","BALANCE_INFO.AVBALANCE_INFO_1")},get AVBALANCE_INFO_2(){return(0,a.catalogueText)("invoices","BALANCE_INFO.AVBALANCE_INFO_2")},get RESERVE_BAL_INFO_1(){return(0,a.catalogueText)("invoices","BALANCE_INFO.RESERVE_BAL_INFO_1")},get RESERVE_BAL_INFO_2(){return(0,a.catalogueText)("invoices","BALANCE_INFO.RESERVE_BAL_INFO_2")},get PENDING_BAL_INFO(){return(0,a.catalogueText)("invoices","BALANCE_INFO.PENDING_BAL_INFO")},get OVERALL_BAL_INFO(){return(0,a.catalogueText)("invoices","BALANCE_INFO.OVERALL_BAL_INFO")},get RESERVE_HOLDING_INFO(){return(0,a.catalogueText)("invoices","BALANCE_INFO.RESERVE_HOLDING_INFO")}},AVAILABLE_BALANCE_INFO:{get DESC(){return(0,a.catalogueList)("invoices","AVAILABLE_BALANCE_INFO.DESC")},get ACTION_BUTTON_TITLE(){return(0,a.catalogueText)("invoices","AVAILABLE_BALANCE_INFO.ACTION_BUTTON_TITLE")}},get MANAGE_RESERVES(){return(0,a.catalogueText)("invoices","MANAGE_RESERVES")},get TOTAL_RESERVES(){return(0,a.catalogueText)("invoices","TOTAL_RESERVES")},get ADD_RESERVE(){return(0,a.catalogueText)("invoices","ADD_RESERVE")},get ADD_FUNDS(){return(0,a.catalogueText)("invoices","ADD_FUNDS")},get ALLOCATED_FUND(){return(0,a.catalogueText)("invoices","ALLOCATED_FUND")},get SELECT_PAYMENT_SOURCE(){return(0,a.catalogueText)("invoices","SELECT_PAYMENT_SOURCE")},get TRANSFER_AMOUNT(){return(0,a.catalogueText)("invoices","TRANSFER_AMOUNT")},get SELECT_BALANCES_USED(){return(0,a.catalogueText)("invoices","SELECT_BALANCES_USED")},get TRANSFER_MONEY_FROM_RESERVES(){return(0,a.catalogueText)("invoices","TRANSFER_MONEY_FROM_RESERVES")},get PROCEED(){return(0,a.catalogueText)("invoices","PROCEED")},get SEND_REMINDER(){return(0,a.catalogueText)("invoices","SEND_REMINDER")},get REMINDER_QUESTION(){return(0,a.catalogueText)("invoices","REMINDER_QUESTION")},get DELETE_DRAFT_MODAL_HEADER(){return(0,a.catalogueText)("invoices","DELETE_DRAFT_MODAL_HEADER")},get CANCEL_SCHEDULED_INVOICE_HEADER(){return(0,a.catalogueText)("invoices","CANCEL_SCHEDULED_INVOICE_HEADER")},get CANCEL_ONETIME_SCHEDULED_INVOICE_DESCRIPTION(){return(0,a.catalogueText)("invoices","CANCEL_ONETIME_SCHEDULED_INVOICE_DESCRIPTION")},get CANCEL_RECURRING_SCHEDULED_INVOICE_DESCRIPTION(){return(0,a.catalogueText)("invoices","CANCEL_RECURRING_SCHEDULED_INVOICE_DESCRIPTION")},get SAVE_CHANGES(){return(0,a.catalogueText)("invoices","SAVE_CHANGES")},get DELETE_DRAFT_DESCRIPTION(){return(0,a.catalogueText)("invoices","DELETE_DRAFT_DESCRIPTION")},get INVOICE_BACK_MODAL_HEADER(){return(0,a.catalogueText)("invoices","INVOICE_BACK_MODAL_HEADER")},get MAKE_CHANGES_TO_DRAFT(){return(0,a.catalogueText)("invoices","MAKE_CHANGES_TO_DRAFT")},get DISCARD_CHANGES_MODAL_HEADER(){return(0,a.catalogueText)("invoices","DISCARD_CHANGES_MODAL_HEADER")},get INVOICE_BACK_MODAL_DESCRIPTION(){return(0,a.catalogueText)("invoices","INVOICE_BACK_MODAL_DESCRIPTION")},get SCHEDULE_BACK_MODAL_DESCRIPTION(){return(0,a.catalogueText)("invoices","SCHEDULE_BACK_MODAL_DESCRIPTION")},get SCHEDULE_DISCARD_DESCRIPTION(){return(0,a.catalogueText)("invoices","SCHEDULE_DISCARD_DESCRIPTION")},get SAVE_DRAFT_POPOVER_DESCRIPTION(){return(0,a.catalogueText)("invoices","SAVE_DRAFT_POPOVER_DESCRIPTION")},get SELECT_ADDITIONAL_RECIPIENTS(){return(0,a.catalogueText)("invoices","SELECT_ADDITIONAL_RECIPIENTS")}
1,get CANCEL(){return(0,a.catalogueText)("invoices","CANCEL")},get CANCEL_INVOICE(){return(0,a.catalogueText)("invoices","CANCEL_INVOICE")},get ADDITIONAL_RECIPIENTS(){return(0,a.catalogueText)("invoices","ADDITIONAL_RECIPIENTS")},get INVOICE_PDF_SUCCESS_MESSAGE(){return(0,a.catalogueText)("invoices","INVOICE_PDF_SUCCESS_MESSAGE")},PDF:"PDF",get DOWNLOAD_PDF(){return(0,a.catalogueText)("invoices","DOWNLOAD_PDF")},get PAY_INVOICE(){return(0,a.catalogueText)("invoices","PAY_INVOICE")},LINK:"Link",get REMIND(){return(0,a.catalogueText)("invoices","REMIND")},get INVOICE(){return(0,a.catalogueText)("invoices","INVOICE")},get INVOICE_NUMBER(){return(0,a.catalogueText)("invoices","INVOICE_NUMBER")},get CUSTOMER_DETAILS(){return(0,a.catalogueText)("invoices","CUSTOMER_DETAILS")},get FIRST_NAME(){return(0,a.catalogueText)("invoices","FIRST_NAME")},get LAST_NAME(){return(0,a.catalogueText)("invoices","LAST_NAME")},get CONTACT_FIRST_NAME(){return(0,a.catalogueText)("invoices","CONTACT_FIRST_NAME")},get CONTACT_LAST_NAME(){return(0,a.catalogueText)("invoices","CONTACT_LAST_NAME")},get CUSTOMER_EMAIL(){return(0,a.catalogueText)("invoices","CUSTOMER_EMAIL")},get CUSTOMER_NAME(){return(0,a.catalogueText)("invoices","CUSTOMER_NAME")},get COMPANY_NAME(){return(0,a.catalogueText)("invoices","COMPANY_NAME")},get CUSTOMER_CONTACT(){return(0,a.catalogueText)("invoices","CUSTOMER_CONTACT")},get OPTIONAL(){return(0,a.catalogueText)("invoices","OPTIONAL")},get INVOICE_DETAILS(){return(0,a.catalogueText)("invoices","INVOICE_DETAILS")},get SERIES_DETAILS(){return(0,a.catalogueText)("invoices","SERIES_DETAILS")},get PAYMENT_TERMS(){return(0,a.catalogueText)("invoices","PAYMENT_TERMS")},get DESCRIPTION(){return(0,a.catalogueText)("invoices","DESCRIPTION")},get SEND_ME_A_COPY(){return(0,a.catalogueText)("invoices","SEND_ME_A_COPY")},get INVOICE_COPY_EMAIL(){return(0,a.catalogueText)("invoices","INVOICE_COPY_EMAIL")},get ADD_OTHER_RECIPIENTS(){return(0,a.catalogueText)("invoices","ADD_OTHER_RECIPIENTS")},get RECIPIENT_EMAILS(){return(0,a.catalogueText)("invoices","RECIPIENT_EMAILS")},get ADD_UP_TO_4_RECIPIENT_EMAILS(){return(0,a.catalogueText)("invoices","ADD_UP_TO_4_RECIPIENT_EMAILS")},get LINE_ITEMS(){return(0,a.catalogueText)("invoices","LINE_ITEMS")},get ITEM(){return(0,a.catalogueText)("invoices","ITEM")},get ITEM_NAME(){return(0,a.catalogueText)("invoices","ITEM_NAME")},get PRICE(){return(0,a.catalogueText)("invoices","PRICE")},get AMOUNT(){return(0,a.catalogueText)("invoices","AMOUNT")},get QUANTITY(){return(0,a.catalogueText)("invoices","QUANTITY")},get TOTAL(){return(0,a.catalogueText)("invoices","TOTAL")},get INVOICE_TOTAL(){return(0,a.catalogueText)("invoices","INVOICE_TOTAL")},get ACCEPTED_PAYMENT_OPTIONS(){return(0,a.catalogueText)("invoices","ACCEPTED_PAYMENT_OPTIONS")},get BANK_TRANSFER_ACH(){return(0,a.catalogueText)("invoices","BANK_TRANSFER_ACH")},get ACCOUNT_NUMBER(){return(0,a.catalogueText)("invoices","ACCOUNT_NUMBER")},get ACCOUNT(){return(0,a.catalogueText)("invoices","ACCOUNT")},get ROUTING(){return(0,a.catalogueText)("invoices","ROUTING")},get ROUTING_NUMBER(){return(0,a.catalogueText)("invoices","ROUTING_NUMBER")},get ACCOUNT_TYPE(){return(0,a.catalogueText)("invoices","ACCOUNT_TYPE")},get CREATE_INVOICE(){return(0,a.catalogueText)("invoices","CREATE_INVOICE")},get NEW_INVOICE(){return(0,a.catalogueText)("invoices","NEW_INVOICE")},get EDIT_INVOICE(){return(0,a.catalogueText)("invoices","EDIT_INVOICE")},get SEND_INVOICE(){return(0,a.catalogueText)("invoices","SEND_INVOICE")},get INVOICE_LIST(){return(0,a.catalogueText)("invoices","INVOICE_LIST")},get SAVE_DRAFT(){return(0,a.catalogueText)("invoices","SAVE_DRAFT")},get REVIEW(){return(0,a.catalogueText)("invoices","REVIEW")},get PREVIEW(){return(0,a.catalogueText)("invoices","PREVIEW")},get SAVE_AS_DRAFT(){return(0,a.catalogueText)("invoices","SAVE_AS_DRAFT")},get SAVE_CHANGES_BUTTON(){return(0,a.catalogueText)("invoices","SAVE_CHANGES_BUTTON")},get OTHER_RECIPIENTS(){return(0,a.catalogueText)("invoices","OTHER_RECIPIENTS")},get DUE_DATE(){return(0,a.catalogueText)("invoices","DUE_DATE")},get BACK(){return(0,a.catalogueText)("invoices","BACK")},get CUSTOMER(){return(0,a.catalogueText)("invoices","CUSTOMER")},get NAME(){return(0,a.catalogueText)("invoices","NAME")},get EMAIL(){return(0,a.catalogueText)("invoices","EMAIL")},get PHONE_NUMBER(){return(0,a.catalogueText)("invoices","PHONE_NUMBER")},get BILLING_ADDRESS(){return(0,a.catalogueText)("invoices","BILLING_ADDRESS")}
1,CITY:"City",STATE:"State",get ZIP(){return(0,a.catalogueText)("invoices","ZIP")},get ZIP_CODE(){return(0,a.catalogueText)("invoices","ZIP_CODE")},get SETTINGS(){return(0,a.catalogueText)("invoices","SETTINGS")},get BUSINESS_INFO(){return(0,a.catalogueText)("invoices","BUSINESS_INFO")},get BUSINESS_INFORMATION(){return(0,a.catalogueText)("invoices","BUSINESS_INFORMATION")},get BUSINESS_INFORMATION_CAPS(){return(0,a.catalogueText)("invoices","BUSINESS_INFORMATION_CAPS")},get INVOICE_CUSTOMIZATION(){return(0,a.catalogueText)("invoices","INVOICE_CUSTOMIZATION")},get INVOICE_CUSTOMIZATION_CAPS(){return(0,a.catalogueText)("invoices","INVOICE_CUSTOMIZATION_CAPS")},get MANAGE_CUSTOMERS(){return(0,a.catalogueText)("invoices","MANAGE_CUSTOMERS")},get PAYMENT_METHODS(){return(0,a.catalogueText)("invoices","PAYMENT_METHODS")},get INVOICE_STYLE(){return(0,a.catalogueText)("invoices","INVOICE_STYLE")},get ITEM_LIBRARY(){return(0,a.catalogueText)("invoices","ITEM_LIBRARY")},get MANAGE_PAYMENTS(){return(0,a.catalogueText)("invoices","MANAGE_PAYMENTS")},get ADD_NEW_CUSTOMER(){return(0,a.catalogueText)("invoices","ADD_NEW_CUSTOMER")},LIST_ACTIONS:{EDIT:"EDIT",DELETE:"DELETE",INFO:"INFO",QUESTION:"QUESTION",ROLE:"ROLE",CANCEL_REMOVE_REQUEST:"CANCEL_REMOVE_REQUEST",STATUS:"STATUS"},get CONTACT(){return(0,a.catalogueText)("invoices","CONTACT")},get DELETE_INVOICE_CUSTOMER_CONFIRM_MSG(){return(0,a.catalogueText)("invoices","DELETE_INVOICE_CUSTOMER_CONFIRM_MSG")},get ARE_U_SURE_DELETE(){return(0,a.catalogueText)("invoices","ARE_U_SURE_DELETE")},get DELETE(){return(0,a.catalogueText)("invoices","DELETE")},get DISCARD(){return(0,a.catalogueText)("invoices","DISCARD")},get DISMISS(){return(0,a.catalogueText)("invoices","DISMISS")},get SEND(){return(0,a.catalogueText)("invoices","SEND")},get SCHEDULE(){return(0,a.catalogueText)("invoices","SCHEDULE")},get START_GETTING_PAID(){return(0,a.catalogueText)("invoices","START_GETTING_PAID")},get GET_STARTED(){return(0,a.catalogueText)("invoices","GET_STARTED")},get BILLING_INFORMATION(){return(0,a.catalogueText)("invoices","BILLING_INFORMATION")},get FOR_CHECK_PAYMENTS(){return(0,a.catalogueText)("invoices","FOR_CHECK_PAYMENTS")},get STREET_ADDRESS(){return(0,a.catalogueText)("invoices","STREET_ADDRESS")},get ADDRESS_LINE_1(){return(0,a.catalogueText)("invoices","ADDRESS_LINE_1")},get ADDRESS_LINE_2(){return(0,a.catalogueText)("invoices","ADDRESS_LINE_2")},get CONTACT_INFORMATION(){return(0,a.catalogueText)("invoices","CONTACT_INFORMATION")},CUSTOMIZATION:{get PERSONALIZATION_DESCRIPTION(){return(0,a.catalogueText)("invoices","CUSTOMIZATION.PERSONALIZATION_DESCRIPTION")},get BUSINESS_NAME(){return(0,a.catalogueText)("invoices","CUSTOMIZATION.BUSINESS_NAME")},get CONTACT_INFO_DESCRIPTION(){return(0,a.catalogueText)("invoices","CUSTOMIZATION.CONTACT_INFO_DESCRIPTION")},get BUSINESS_INFO_DESCRIPTION(){return(0,a.catalogueText)("invoices","CUSTOMIZATION.BUSINESS_INFO_DESCRIPTION")},get EMAIL_DESCRIPTION(){return(0,a.catalogueText)("invoices","CUSTOMIZATION.EMAIL_DESCRIPTION")},get REQUIRED(){return(0,a.catalogueText)("invoices","CUSTOMIZATION.REQUIRED")}},DBA:"DBA",get BUSINESS_NAME(){return(0,a.catalogueText)("invoices","BUSINESS_NAME")},get SAVE_AND_CONTINUE(){return(0,a.catalogueText)("invoices","SAVE_AND_CONTINUE")},get CONTINUE(){return(0,a.catalogueText)("invoices","CONTINUE")},get DELETE_CUSTOMER(){return(0,a.catalogueText)("invoices","DELETE_CUSTOMER")},get FINISH(){return(0,a.catalogueText)("invoices","FINISH")},get SAVE(){return(0,a.catalogueText)("invoices","SAVE")},get SKIP(){return(0,a.catalogueText)("invoices","SKIP")},get SAVE_PAYMENT_OPTIONS(){return(0,a.catalogueText)("invoices","SAVE_PAYMENT_OPTIONS")},get SAVE_PAYMENT_OPTIONS_NOTE(){return(0,a.catalogueText)("invoices","SAVE_PAYMENT_OPTIONS_NOTE")}
1,get INVOICE_PAYMENT_FOOTER_TEXT(){return(0,a.catalogueText)("invoices","INVOICE_PAYMENT_FOOTER_TEXT")},get INVOICE_PAYMENT_FOOTER_BUTTON(){return(0,a.catalogueText)("invoices","INVOICE_PAYMENT_FOOTER_BUTTON")},get NOTE(){return(0,a.catalogueText)("invoices","NOTE")},get NOTE_PLACEHOLDER(){return(0,a.catalogueText)("invoices","NOTE_PLACEHOLDER")},get FILE_UPLOAD_DESCRIPTION(){return(0,a.catalogueText)("invoices","FILE_UPLOAD_DESCRIPTION")},get OTHER_DETAILS(){return(0,a.catalogueText)("invoices","OTHER_DETAILS")},get ADDITIONAL_OPTIONS(){return(0,a.catalogueText)("invoices","ADDITIONAL_OPTIONS")},get MORE_OPTIONS(){return(0,a.catalogueText)("invoices","MORE_OPTIONS")},MODAL_POSITIONS:{TUTORIAL:"tutorial"},NOVO_DOMAIN:"www.novo.co",NUMBER_PLACEHOLDER:"100.00",ZERO_AMOUNT_PLACEHOLDER:"0",get CURRENCY_PLACEHOLDER_LIMIT_CHANGE(){return(0,a.catalogueText)("invoices","CURRENCY_PLACEHOLDER_LIMIT_CHANGE")},AMOUNT_PLACEHOLDER:"0.00",PAYLATER_INFO_LINK:"https://developer.paypal.com/docs/commerce-platforms/admin-panel/",get EDIT_SERIES(){return(0,a.catalogueText)("invoices","EDIT_SERIES")},REFER_A_FRIEND:{get TITLE(){return(0,a.catalogueText)("invoices","REFER_A_FRIEND.TITLE")},get SUBTITLE(){return(0,a.catalogueText)("invoices","REFER_A_FRIEND.SUBTITLE")},get SEE_TERMS(){return(0,a.catalogueText)("invoices","REFER_A_FRIEND.SEE_TERMS")},get INSTRUCTIONS_TO_SHARE(){return(0,a.catalogueText)("invoices","REFER_A_FRIEND.INSTRUCTIONS_TO_SHARE")},get EMAIL_INPUT(){return(0,a.catalogueText)("invoices","REFER_A_FRIEND.EMAIL_INPUT")},get INVITE_REQUEST_SENT(){return(0,a.catalogueText)("invoices","REFER_A_FRIEND.INVITE_REQUEST_SENT")}},Environments:{dev:"dev",development:"development",production:"production",local:"local"},SegmentTracker:{AccountView:{Cooldown:5e3}},ScreenSize:{MOBILE:"MOBILE",TABLET:"TABLET",DESKTOP:"DESKTOP"},EA_LENDING_STATUS:{PENDING:"PENDING",AUTHORIZED:"AUTHORIZED",ERROR:"ERROR",ACTIVE:"ACTIVE",INACTIVE:"INACTIVE",BLOCKED:"BLOCKED",DELETED:"DELETED",DUPLICATE:"DUPLICATE"},PAYEE_TYPE:{INDIVIDUAL:"INDIVIDUAL",BUSINESS:"BUSINESS"},ADD_PAYEE_TYPE:{SEND_INVITE:"SEND_INVITE",ADD_MANUALLY:"ADD_MANUALLY"},PAYEE_ACCOUNT_TYPE:{CHECKING:"Checking",SAVINGS:"Savings"}
1,MANUAL_PAYMENT_STATUS:{PENDING:"PENDING",REJECTED:"REJECTED",ACCEPTED:"ACCEPTED",NOT_APPLICABLE:"NOT_APPLICABLE"},CARDS:{WONT_USE_FISERVE_CARD:"WONT_USE_FISERVE_CARD"},LENDING_INVITE_TYPES:{DDA_AGE_BELOW_6_MONTHS:"DDA_AGE_BELOW_6_MONTHS",DDA_AGE_ABOVE_6_MONTHS:"DDA_AGE_ABOVE_6_MONTHS"},InvitationFlowTypes:{DEFAULT:"DEFAULT",NET_NEW_DDA:"NET_NEW_DDA"},ADDITIONAL_USER_ROLE_TYPE:{OWNER:"Owner"},ADDITIONAL_USER_STATUS_MAPPPING:{PENDING:"Pending",get SUBMITTED(){return(0,a.catalogueText)("invoices","ADDITIONAL_USER_STATUS_MAPPPING.SUBMITTED")},get INCOMPLETE(){return(0,a.catalogueText)("invoices","ADDITIONAL_USER_STATUS_MAPPPING.INCOMPLETE")},get READY_TO_ADD(){return(0,a.catalogueText)("invoices","ADDITIONAL_USER_STATUS_MAPPPING.READY_TO_ADD")}},LendingIntegrationsConnectStatus:{NOT_INTEGRATED:"NOT_INTEGRATED",INTEGRATED:"INTEGRATED",FUNDING_CONNECTED:"FUNDING_CONNECTED"}},w={PAID:"text-typography-success bg-fill-success-light",CANCELLED:"text-typography-grey  bg-fill-neutral",OVERDUE:"text-typography-error bg-fill-critical-light",SENT:"bg-fill-neutral",UNPAID:"bg-fill-neutral",PAYMENT_IN_PROCESS:"bg-fill-neutral",DRAFT:"bg-fill-neutral",DRAFT_DISCARDED:"bg-fill-neutral",SCHEDULED_CANCELLED:"bg-fill-neutral",SCHEDULED:"text-typography-info bg-blue-100",PARTIALLY_PAID:"bg-fill-neutral text-typography-grey"},G={PAID:"text-typography-success",CANCELLED:"text-typography-grey  "},Y=e=>{switch(e){case g.Hi.INITIATED:case g.Hi.PROCESSING:case g.Hi.IN_TRANSIT:case g.Hi.CANCELED:case g.Hi.DELETED:case g.Hi.PENDING:case g.Hi.DECLINED:return"neutral";case g.Hi.DISPUTED:case g.Hi.REFUNDED:return"warning";case g.Hi.COMPLETED:return"success";case g.Hi.FAILED:return"critical";default:return"neutral"}},j=50,K=4,H={components:{verify_account_info:({sectionId:e,data:n,isCompleted:i,updateCompleteState:a,isLoading:s,underReview:m})=>{var _,c;const[v,T]=(0,t.useState)(i),{APPLICATION:k}=l.k.PAYMENTS,{UpdateVendorOnboardingStatus:S,isUpdateVendorOnboardingStatusPending:A}=(0,p.i)(),D=(0,t.useMemo)((()=>{var e,i,a,t;return[{title:k.COMMON.FULL_LEGAL_NAME,value:null==n?void 0:n.name,showInReview:null==n||null==(e=n.showInReviewLabel)?void 0:e.legalFullName},{title:k.COMMON.DATE_OF_BIRTH,value:r()(null==n?void 0:n.dob).format(o.DATE_FORMAT),showInReview:null==n||null==(i=n.showInReviewLabel)?void 0:i.dob},{title:k.ACCOUNT_INFO.SSN,value:null==n?void 0:n.ssn,showInReview:null==n||null==(a=n.showInReviewLabel)?void 0:a.ssn},{title:k.ACCOUNT_INFO.HOME_ADDRESS,value:null==n?void 0:n.address,showInReview:null==n||null==(t=n.showInReviewLabel)?void 0:t.homeAddress}]}),[n]),y=(0,t.useMemo)((()=>{var e,i,a;return[{title:k.ACCOUNT_INFO.BUSINESS_NAME,value:null==n?void 0:n.businessName,showInReview:null==n||null==(e=n.showInReviewLabel)?void 0:e.businessName},{title:k.ACCOUNT_INFO.DBA,value:null==n?void 0:n.dba,showInReview:null==n||null==(i=n.showInReviewLabel)?void 0:i.dba},{title:k.ACCOUNT_INFO.BUSINESS_ADDRESS,value:null==n?void 0:n.businessAddress,showInReview:null==n||null==(a=n.showInReviewLabel)?void 0:a.businessAddress}]}),[n]),f=(0,t.useMemo)((()=>{var e,i,a,t;return[{title:k.ACCOUNT_INFO.BUSINESS_TYPE,value:null!=(e=null==(i=(0,C.Gh)(null==n?void 0:n.businessType))?void 0:i.label)?e:"-"},{title:k.ACCOUNT_INFO.WEBSITE,value:null!=(a=null==n?void 0:n.website)?a:"-",showInReview:null==n||null==(t=n.showInReviewLabel)?void 0:t.website}]}),[n]);return(0,u.jsx)(d.Skeleton,{on:s,fallback:(0,u.jsx)(I,{}),children:(0,u.jsxs)("div",{className:"w-full",children:[(0,u.jsxs)("div",{className:"my-4 flex w-full grid-cols-3 flex-col gap-3 break-all pb-8 lg:grid lg:gap-6",children:[(0,u.jsx)(h,{heading:k.ACCOUNT_INFO.HEADINGS.PERSONAL_INFORMATION,rows:D}),(0,u.jsx)(h,{heading:k.ACCOUNT_INFO.HEADINGS.BUSINESS_INFORMATION,rows:y}),(0,u.jsxs)("div",{className:"flex flex-col gap-y-4 lg:mt-11",children:[(0,u.jsx)(F,{title:k.ACCOUNT_INFO.EIN,ein:null==n?void 0:n.ein,maskedEin:null==n?void 0:n.maskedEin,showInReview:null!=(_=null==n||null==(c=n.showInReviewLabel)?void 0:c.ein)&&_}),(0,u.jsx)(h,{rows:f})]})]}),(0,u.jsx)("div",{className:"w-full",children:v?(0,u.jsx)(N,{type:"accountInfo"}):(0,u.jsx)(E,{onConfirm:()=>{S({status:g.JG.ACCOUNT_INFO_VERIFIED})},underReview:m,isLoading:A})}),(0,u.jsx)(O,{type:"info"})]})})},verify_owners_info:({sectionId:e,data:n,isCompleted:i,updateCompleteState:a,isLoading:s,underReview:m})=>{var _;const[c,v]=(0,t.useState)(i),{UpdateVendorOnboardingStatus:T,isUpdateVendorOnboardingStatusPending:I}=(0,p.i)(),k=null!=(_=null==n?void 0:n.length)?_:0,{APPLICATION:S}=l.k.PAYMENTS;return(0,u.jsx)(d.Skeleton,{on:s,fallback:(0,u.jsx)(b,{}),children:(0,u.jsxs)("div",{className:"w-full",children:[(0,u.jsx)("div",{className:`my-4 grid w-full grid-cols-1 gap-3 pb-8 sm:grid-cols-2 md:grid-cols-3 md:gap-6 xl:gap-8 ${k>3&&"md:grid-cols-4"}`,children:null==n?void 0:n.map(((e,n)=>{var i;return(0,u.jsxs)("div",{className:"border-border-light flex flex-col gap-y-4 break-all rounded-lg border border-solid p-4",children:[(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-typography-grey text-body-regular",children:S.COMMON.FULL_LEGAL_NAME}),(0,u.jsx)("span",{className:"text-body-regular",children:e.name})]}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-typography-grey text-body-regular",children:S.COMMON.DATE_OF_BIRTH}),(0,u.jsx)("span",{className:"text-body-regular",children:null!=(i=r()(e.dob).format(
1o.DATE_FORMAT))?i:""})]}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-typography-grey text-body-regular",children:S.OWNERS_INFO.EMAIL}),(0,u.jsx)("span",{className:"text-body-regular",children:e.email})]}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("span",{className:"text-typography-grey text-body-regular",children:S.OWNERS_INFO.OWNERSHIP_PERCENTAGE}),(0,u.jsxs)("span",{className:"text-body-regular",children:[e.ownershipPercentage,"%"]})]})]},n+e.name)}))}),(0,u.jsx)("div",{className:"w-full",children:c?(0,u.jsx)(N,{type:"businessOwnership"}):(0,u.jsx)(E,{onConfirm:()=>{T({status:g.JG.BUSINESS_OWNERSHIP_VERIFIED})},underReview:m,isLoading:I,type:"businessOwnership"})}),(0,u.jsx)(O,{type:"ownership"})]})})},review_terms:({updateTermsAccepted:e,data:n,isLoading:i})=>{const[a,s]=(0,t.useState)(!1),[r,o]=(0,t.useState)(!1),{APPLICATION:m}=l.k.PAYMENTS,{REVIEW_TERMS_CHECKBOX_ACKNOWLEDGE:E,REVIEW_TERMS_CHECKBOX_CERTIFY:N}=c.y.STRIPE_ONBOARDING;(0,t.useEffect)((()=>{e(a&&r)}),[a,r]);const v=e=>{var i;let a=e;null==n||null==(i=n.cta)||i.forEach((e=>{var n;null!=(n=a)&&n.includes(e.key)&&(a=a.replace(e.key,`<a\n            id="${e.key}"\n            href="${e.link}"\n            target="_blank"\n            className="text-body-regular whitespace-normal cursor-pointer !text-typography-interactive-resting !hover:text-typography-interactive-hover"\n          >\n            ${e.text}\n          </a>`))}));const t=U.A.sanitize(a.replace(/\s+</g,"<")||"",{ADD_ATTR:["target"]});return(0,u.jsx)("span",{dangerouslySetInnerHTML:{__html:t.trim()}})};return(0,u.jsx)(d.Skeleton,{on:i,fallback:(0,u.jsx)(x,{}),count:1,children:(0,u.jsxs)("div",{className:"mt-4",children:[(0,u.jsx)("div",{className:"mb-2",children:m.REVIEW_TERMS.DISCLAIMER}),null==n?void 0:n.terms.map(((e,n)=>{const i=0===n?"acknowledged":"certified";return(0,u.jsx)("div",{className:"mb-2",children:(0,u.jsx)(d.Checkbox,{onClick:()=>(e=>{switch(e){case"acknowledged":(0,_.sx)(E),s(!a);break;case"certified":(0,_.sx)(N),o(!r)}})(i),checkboxStyle:"w-6 h-6",label:(0,u.jsx)("div",{className:"text-body-regular text-typography-default",children:0===n?v(e):e}),checked:0===n?a:1===n&&r,name:i})},n+e.substring(0,5))}))]})})},add_business_description:({data:e,setActiveStep:n})=>{var i,a,t;const s=(0,M.mN)({mode:"onChange",reValidateMode:"onChange",resolver:(0,B.z5)(B.cH),defaultValues:{businessDescription:e.businessDescription}}),{control:r,handleSubmit:o,watch:m,formState:E}=s,{errors:N}=E,{UpdateVendorOnboardingStatus:v,isUpdateVendorOnboardingStatusPending:T}=(0,p.i)(),{BUSINESS_DESCRIPTION:I}=l.k.PAYMENTS.APPLICATION,{BUSINESS_DESC_NEXT:k,ENTER_BUSINESS_DESC:S}=c.y.STRIPE_ONBOARDING,A=null!=(i=null!=(a=m("businessDescription").trim())?a:e.businessDescription.trim())?i:"";return(0,u.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,u.jsx)("div",{className:"text-typography-grey max-w-xl",children:I.DESCRIPTION}),(0,u.jsx)(M.Op,Object.assign({},s,{children:(0,u.jsxs)("form",{onSubmit:o((async()=>{(0,_.sx)(k),await v({status:g.JG.BUSINESS_DESCRIPTION_SUBMITTED,description:A})})),children:[(0,u.jsx)(M.xI,{name:"businessDescription",control:r,render:({field:{value:e,onChange:n}})=>{var i,a,t;return(0,u.jsx)("div",{children:(0,u.jsx)(d.Textarea,{label:I.TITLE,name:"businessDescription",onChange:n,value:e,maxLength:1e3,showError:!0,rows:4,placeholder:I.PLACEHOLDER,error:null==N||null==(i=N.businessDescription)?void 0:i.message,inputAdditionalInfo:(0,u.jsx)(u.Fragment,{children:I.LENGTH_INFO.replace("length",`${null!=(a=null==e||null==(t=e.trim())?void 0:t.length)?a:0}`)}),onFocus:()=>{(0,_.sx)(S)}})})}}),(0,u.jsx)(d.Button,{"data-test-id":"submit-business-description",className:"mt-4 w-56",disabled:!(null==N||null==(t=N.businessDescription)||!t.message)||A.length<50||T,type:"submit",children:I.CTA})]})}))]})}}},W=[{value:g.TG.STRIPE_INTEGRATION,get label(){return l.k.stripe_integration}},{value:g.TG.PAYPAL_INTEGRATION,get label(){return l.k.paypal_integration}},{value:g.TG.SQUARE_INTEGRATION,get label(){return l.k.square_integration}}],q=[{value:g.TG.CASH,get label(){return l.k.cash}},{get label(){return l.k.bank_transfer},value:g.TG.BANK_TRANSFER},{value:g.TG.CARD,get label(){return l.k.card}},{value:g.TG.CHECK,get label(){return l.k.check}},{value:g.TG.OTHER,get label(){return l.k.other}}],$=[{value:g.ds.ALL_TIME,get label(){return l.k.all_time}},{value:g.ds.SEVEN_DAYS,get label(){return l.k.n7_days}},{value:g.ds.THIRTY_DAYS,get label(){return l.k.n30_days}},{value:g.ds.SIX_MONTHS,get label(){return l.k.n6_months}},{value:g.ds.ONE_YEAR,get label(){return l.k.n1_year}},{value:g.ds.MONTH_TO_DATE,get label(){return l.k.month_to_date}},{value:g.ds.QUARTER_TO_DATE,get label(){return l.k.quarter_to_date}},{value:g.ds.YEAR_TO_DATE,get label(){return l.k.year_to_date}},{value:g.ds.CUSTOM,get label(){return l.k.custom}}],Q=[g.F1.STRIPE_THIRD_PARTY,g.F1.PAYPAL_THIRD_PARTY,g.F1.SQUARE_THIRD_PARTY],z=[g.F1.MANUA
1L,...Q],X=["SENT","OVERDUE","PARTIALLY_PAID"]},76075(e,n,i){"use strict";i.d(n,{Fc:()=>c,NW:()=>m,SG:()=>u,TE:()=>_,cH:()=>N,gF:()=>v,ml:()=>d,tj:()=>E,wu:()=>l,z5:()=>r});var a=i(10524),t=i(21215),s=i(35397);const r=i(16354).t,d=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,o=/^(.*)@(.*)\.web$/,l=/^[a-zA-Z0-9!@#$&*,"'. ]*$/,m=a.Ik().shape({phone:a.Yj().trim().notRequired().nullable().test("min-10-digits",(()=>t.errorMessages.INVALID_PHONE_NUMBER),(function(e){return!(e&&e.length<10)})),email:a.Yj().trim().nullable().required((()=>t.errorMessages.REQUIRED_FIELD)).matches(new RegExp(d),(()=>t.errorMessages.INVALID_EMAIL_ADDRESS)),address:a.Yj().nullable().trim().required((()=>t.errorMessages.REQUIRED_FIELD)).max(40,(()=>t.errorMessages.ADDRESS_LENGTH_LESS_THAN_40)),addressLine2:a.Yj().nullable().trim().notRequired().max(40,(()=>t.errorMessages.ADDRESS_LENGTH_LESS_THAN_80)),city:a.Yj().required((()=>t.errorMessages.REQUIRED_FIELD)).nullable(),state:a.Yj().required((()=>t.errorMessages.REQUIRED_FIELD)).nullable(),zipCode:a.Yj().required((()=>t.errorMessages.REQUIRED_FIELD)).length(5,(()=>t.errorMessages.INVALID_ZIP_CODE)).nullable()}),_=a.Ik().shape({companyName:a.Yj().trim().required((()=>t.errorMessages.REQUIRED_FIELD)).max(50),clientName:a.Yj().nullable().trim().max(50).notRequired(),addressLine1:a.Yj().nullable().trim().max(80,(()=>t.errorMessages.ADDRESS_LENGTH_LESS_THAN_80)).notRequired(),addressLine2:a.Yj().nullable().trim().max(80,(()=>t.errorMessages.ADDRESS_LENGTH_LESS_THAN_80)).notRequired(),phone:a.Yj().trim().notRequired().nullable().test((function(e){const{phone:n}=this.parent;return!(n&&(null!=e?e:"").length<10)||(this.createError({message:t.errorMessages.INVALID_PHONE_NUMBER,path:"phone"}),!1)})),email:a.Yj().trim().required((()=>t.errorMessages.REQUIRED_FIELD)).matches(new RegExp(d),(()=>t.errorMessages.INVALID_EMAIL)).test("invalid-domain",(()=>t.errorMessages.INVALID_EMAIL_DOMAIN),(e=>e&&!o.test(e))),city:a.Yj().nullable().trim(),state:a.Yj().nullable().trim(),zip:a.Yj().nullable().trim().notRequired()}),c=a.Ik().shape({items:a.YO().of(a.Ik().shape({name:a.Yj().trim().required((()=>t.errorMessages.REQUIRED_FIELD)).max(50),cost:a.Yj().typeError((()=>t.errorMessages.REQUIRED_FIELD)).required((()=>t.errorMessages.REQUIRED_FIELD)).test("not-nan",(()=>t.errorMessages.REQUIRED_FIELD),(e=>"NaN"!==e)),quantity:a.Yj().typeError((()=>t.errorMessages.REQUIRED_FIELD)).required((()=>t.errorMessages.REQUIRED_FIELD))})),dueBy:a.Yj().required((()=>t.errorMessages.REQUIRED_FIELD)).nullable(),onSpecificDate:a.Ik().nullable().when("dueBy",{is:"onSpecificDate",then:e=>e.nullable().typeError((()=>t.errorMessages.DATE_VALIDATION_MESSAGE)).required((()=>t.errorMessages.DATE_VALIDATION_MESSAGE))}),scheduledStatus:a.Yj().required((()=>t.errorMessages.REQUIRED_FIELD)).nullable(),scheduledDate:a.Ik().nullable().when("scheduledStatus",{is:"scheduledDate",then:e=>e.nullable().typeError((()=>t.errorMessages.DATE_VALIDATION_MESSAGE)).required((()=>t.errorMessages.DATE_VALIDATION_MESSAGE))}),repeatType:a.Yj().when("invoiceType",{is:"RECURRING",then:e=>e.nullable().typeError((()=>t.errorMessages.REQUIRED_FIELD)).required((()=>t.errorMessages.REQUIRED_FIELD))}),frequency:a.Yj().when("invoiceType",{is:"RECURRING",then:e=>e.nullable().typeError((()=>s.k.VALIDATION.required)).required((()=>s.k.VALIDATION.required))}),endType:a.Yj().when("invoiceType",{is:"RECURRING",then:e=>e.nullable().typeError((()=>t.errorMessages.REQUIRED_FIELD)).required((()=>t.errorMessages.REQUIRED_FIELD))}),endDate:a.Ik().nullable().when("endType",{is:"ONDATE",then:e=>e.nullable().typeError((()=>t.errorMessages.DATE_VALIDATION_MESSAGE)).required((()=>t.errorMessages.DATE_VALIDATION_MESSAGE))}),endValue:a.Yj().nullable().when("endType",{is:e=>["AFTER"].includes(e),then:e=>e.nullable().test("min-2",(()=>s.k.VALIDATION.min_occurrences),(e=>!(e&&parseInt(e)<2))).typeError((()=>t.errorMessages.REQUIRED_FIELD)).required((()=>t.errorMessages.REQUIRED_FIELD))}),hasPremiumPaymentOptions:a.zM().default(!1),selectedPaymentOptions:a.YO().when("hasPremiumPaymentOptions",{is:!1,then:e=>e.when(["ACH","CREDIT_DEBIT_CARD","PAYPAL_PAYMENTS","CHECK_DEPOSIT"],{is:(e,n,i,a)=>!(e||n||i||a),then:e=>e.required((()=>t.errorMessages.REQUIRED_FIELD))}),otherwise:e=>e}),selectedPaymentOptionsPremium:a.Ik().when("hasPremiumPaymentOptions",{is:!0,then:e=>e.test("has-premium-option",(()=>s.k.VALIDATION.payment_option_required),(function(e){return e&&Object.values(e).some((e=>!0===e))})),otherwise:e=>e}),note:a.Yj().trim().max(250).nullable(),invoiceNumber:a.Yj().trim().required((()=>t.errorMessages.REQUIRED_FIELD)).min(4,(()=>t.errorMessages.INVOICE_NUMBER_INVALID_LENGTH)),customerId:a.Yj().trim().required((()=>t.errorMessages.REQUIRED_FIELD))}),u=e=>a.Ik().shape({items:a.YO().of(a.Ik().shape({name:a.Yj().trim().required((()=>t.errorMessages.REQUIRED_FIELD)).max(50),cost:a.Yj().typeError((()=>t.errorMessages.REQUIRED_FIELD)).required((()=>t.errorMessages.REQUIRED_FIELD)),quantity:a.Yj().typeError((()=>t.errorMessages.REQUIRED_FIELD)).required((()=>t.errorMessages.REQUIRED_FIELD))})),dueBy:a.Yj().required((()=>t.errorMessages.REQUIRED_FIELD)).nullable(),repeatType:a.Yj().when("invoiceType",{is:"RECURRING",then:e=>e.nullable().typeError((()=>t.errorMessages.REQUIRED_FIELD)).required((()=>t.errorMessages.REQUIRED_FIELD))}),frequency:a.Yj().when("invoiceType",{is:"RECURRING",then:e=>e.nullable().typeError((()=>s.k.VALIDATION.required)).required((()=>s.k.VALIDATION.required))}),endType:a.Yj().when("invoiceType",{is:"RECURRING",then:e=>e.nullable().typeError((()=>t.errorMessages.REQUIRED_FIELD)).required((()=>t.errorMessages.REQUIRED_FIELD))}),endDate:a.Ik().nullable().when("endType",{is:"ONDATE",then:e=>e.nullable().typeError((()=>t.errorMessages.DATE_VALIDATION_MESSAGE)).required((()=>t.errorMessages.DATE_VALIDATION_MESSAGE))}),endValue:a.Yj().nullable().when("endType",{is:e=>"AFTER"===e,then:n=>n.nullable().test("edit-end-value-min-2",(()=>s.k.VALIDATION.min_occurrences),(n=>!(0===e&&n&&parseInt(n)<2))).test("edit-end-value-greater-than-generated",(()=>s.k.VALIDATION.must_exceed_sent(e)),(n=>!(e>0&&n&&parseInt(n)<=e))).typeError((()=>t.errorMessages.REQUIRED_FIELD)).required((()=>t.errorMessages.REQUIRED_FIELD))}),hasPremiumPaymentOptions:a.zM().default(!1),selectedPaymentOptions:a.YO().when("hasPremiumPaymentOptions",{is:!1,then:e=>e.when(["ACH","CREDIT_DEBIT_CARD","PAYPAL_PAYMENTS","CHECK_DEPOSIT"],{is:(e,n,i,a)=>!(e||n||i||a),then:e=>e.required((()=>t.errorMessages.REQUIRED_FIELD))}),otherwise:e=>e}),selectedPaymentOptionsPremium:a.Ik().when("hasPremiumPaymentOptions",{is:!0,then:e=>e.test("has-premium-option",(()=>s.k.VALIDATION.payment_option_required),(function(e){return e&&Object.values(e).some((e=>!0===e))})),otherwise:e=>e}),note:a.Yj().trim().max(250).nullable()}),E=a.Ik().shape({itemName:a.Yj().trim().required((()=>t.errorMessages.REQUIRED_FIELD)).max(50),itemDefaultCost:a.ai().typeError((()=>t.errorMessages.REQUIRED_FIELD)).required((()=>t.errorMessages.REQUIRED_FIELD))}),N=a.Ik().shape({businessDescription:a.Yj().trim().required((()=>t.errorMessages.REQUIRED_FIELD))}),v=e=>a.Ik().shape({amount:a.ai().typeError((()=>s.k.VALIDATION.amount_must_exceed_zero)).required((()=>t.errorMessages.REQUIRED_FIELD)).max(e,(()=>t.errorMessages.MAX_PAYMENT))})},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 s(e,n){var i={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var s=a[n]||new Set,r=new Set,d=new Set;for(s.forEach((function(e){d.add(e)}));d.size>0;){var o=d;d=new Set,o.forEach((function(e){r.has(e)||(r.add(e),(a[e]||new Set).forEach((function(e){d.add(e)})))}))}return r.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=s(n,"InvoiceBrandingFragment"),e.exports.InvoiceList=s(n,"InvoiceList"),e.exports.InvoiceItems=s(n,"InvoiceItems"),e.exports.RecurringSeriesFields=s(n,"RecurringSeriesFields"),e.exports.InvoiceCustomer=s(n,"InvoiceCustomer"),e.exports.InvoiceSenderDetails=s(n,"InvoiceSenderDetails"),e.exports.InvoiceSelectedPaymentMethods=s(n,"InvoiceSelectedPaymentMethods"),e.exports.InvoicePremiumSelectedPaymentGateways=s(n,"InvoicePremiumSelectedPaymentGateways"),e.exports.ReferralDetails=s(n,"ReferralDetails"),e.exports.PaymentSchedule=s(n,"PaymentSchedule")},56011(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateVendorOnboardingInfo"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpsertVendorOnboardingInfoRequest"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"upsertVendorOnboardingInfo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"operationInfo"},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:"statusCode"},arguments:[],directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateVendorOnboardingAdditionalInfo"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateVendorOnboardingAdditionalInfoRequest"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"updateInvoiceVendorOnboardingAdditionalInfo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"operationInfo"},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:"statusCode"},arguments:[],directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateIfPaymentMethodSetupVisited"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateVendorOnboardingPostApprovalRequestDto"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"updateVendorOnboardingPostApproval"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"operationInfo"},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:"statusCode"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:731}};n.loc.source={body:"mutation UpdateVendorOnboardingInfo(\n  $input: UpsertVendorOnboardingInfoRequest!\n) {\n  responseData: upsertVendorOnboardingInfo(input: $input) {\n    operationInfo {\n      message\n      title\n      statusCode\n    }\n  }\n}\n\nmutation UpdateVendorOnboardingAdditionalInfo(\n  $input: [UpdateVendorOnboardingAdditionalInfoRequest!]!\n) {\n  responseData: updateInvoiceVendorOnboardingAdditionalInfo(input: $input) {\n    operationInfo {\n      message\n      title\n      statusCode\n    }\n  }\n}\n\nmutation UpdateIfPaymentMethodSetupVisited(\n  $input: UpdateVendorOnboardingPostApprovalRequestDto!\n) {\n  responseData: updateVendorOnboardingPostApproval(input: $input) {\n    operationInfo {\n      message\n      title\n      statusCode\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 s(e,n){var i={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var s=a[n]||new Set,r=new Set,d=new Set;for(s.forEach((function(e){d.add(e)}));d.size>0;){var o=d;d=new Set,o.forEach((function(e){r.has(e)||(r.add(e),(a[e]||new Set).forEach((function(e){d.add(e)})))}))}return r.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.UpdateVendorOnboardingInfo=s(n,"UpdateVendorOnboardingInfo"),e.exports.UpdateVendorOnboardingAdditionalInfo=s(n,"UpdateVendorOnboardingAdditionalInfo"),e.exports.UpdateIfPaymentMethodSetupVisited=s(n,"UpdateIfPaymentMethodSetupVisited")},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:[]}
1,{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"},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:[]}
1,{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 s(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){s(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){s(e,n)})),e.definitions&&e.definitions.forEach((function(e){s(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 r={};function d(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 o(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=r[n]||new Set,t=new Set,s=new Set;for(a.forEach((function(e){s.add(e)}));s.size>0;){var o=s;s=new Set,o.forEach((function(e){t.has(e)||(t.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return t.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}a.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),r[e.name.value]=n}})),e.exports=a,e.exports.GetInvoicesList=o(a,"GetInvoicesList"),e.exports.GetDashboardInvoiceList=o(a,"GetDashboardInvoiceList"),e.exports.GetInvoiceListById=o(a,"GetInvoiceListById"),e.exports.GetACOpeningDate=o(a,"GetACOpeningDate"),e.exports.GetInAppMarketingConfig=o(a,"GetInAppMarketingConfig"),e.exports.GetAttachments=o(a,"GetAttachments"),e.exports.GetSavedItems=o(a,"GetSavedItems"),e.exports.CheckPaymentCapabilities=o(a,"CheckPaymentCapabilities"),e.exports.GetNextInvoiceNumber=o(a,"GetNextInvoiceNumber"),e.exports.FetchTransactionsByInvoiceId=o(a,"FetchTransactionsByInvoiceId"),e.exports.GetInvoiceDetailsByCode=o(a,"GetInvoiceDetailsByCode"),e.exports.GetInvoiceCustomers=o(a,"GetInvoiceCustomers"),e.exports.GetInvoiceCustomersOnCreateInvoice=o(a,"GetInvoiceCustomersOnCreateInvoice"),e.exports.GetInvoiceCustomerById=o(a,"GetInvoiceCustomerById"),e.exports.InvoiceOnBoardingInfo=o(a,"InvoiceOnBoardingInfo"),e.exports.InvoiceCustomizationInfo=o(a,"InvoiceCustomizationInfo"),e.exports.InvoiceOnboardingPaymentData=o(a,"InvoiceOnboardingPaymentData"),e.exports.FetchCreateInvoicePaymentOptions=o(a,"FetchCreateInvoicePaymentOptions"),e.exports.GetBetaStatus=o(a,"GetBetaStatus"),e.exports.GetInvoiceSignedUrl=o(a,"GetInvoiceSignedUrl"),e.exports.GetActivities=o(a,"GetActivities"),e.exports.GetACLFeatures=o(a,"GetACLFeatures"),e.exports.GetClientArchivePreviewInvoices=o(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 s(e,n){var i={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var s=a[n]||new Set,r=new Set,d=new Set;for(s.forEach((function(e){d.add(e)}));d.size>0;){var o=d;d=new Set,o.forEach((function(e){r.has(e)||(r.add(e),(a[e]||new Set).forEach((function(e){d.add(e)})))}))}return r.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=s(n,"GetInsightWidgetQuery"),e.exports.GetInvoiceStatusWidget=s(n,"GetInvoiceStatusWidget"),e.exports.CheckIfUserHasInvoices=s(n,"CheckIfUserHasInvoices"),e.exports.GetOverviewAlerts=s(n,"GetOverviewAlerts"),e.exports.GetCustomersWithOverdueBalance=s(n,"GetCustomersWithOverdueBalance"),e.exports.GetActivitiesWidget=s(n,"GetActivitiesWidget"),e.exports.Get12MonthPaymentGraphData=s(n,"Get12MonthPaymentGraphData"),e.exports.GetOnboardingFeeDescription=s(n,"GetOnboardingFeeDescription")},1263(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VerifyPersonalInformation"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"personal_information"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"ssn"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"dob"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VerifyBusinessInformation"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"business_information"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"company_name"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"dba"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"website"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VerifyBusinessDetail
1s"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"business_details"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maskedEin"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ein"},arguments:[],directives:[]}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VerifyOwnershipDetails"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"business_details"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"owners"},arguments:[],directives:[]}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetReviewTermsLinks"},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:"reviewTerms"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"terms"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cta"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]}]}}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetNovoPaymentsTermsOfService"},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:"novoPaymentsTermsOfService"},arguments:[],directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetPaymentOnboardingInfo"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceVendorOnboardingInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"operationInfo"},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:"statusCode"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"applicationStatus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"stepsInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"inReview"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isCompleted"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"showInReviewLabel"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dba"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"businessName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"businessAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ein"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"website"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dob"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ssn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"legalFullName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"homeAddress"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"businessOwnership"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"inReview"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isCompleted"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"businessDescription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"inReview"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isCompleted"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessDescription"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"termsReviews"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"inReview"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isCompleted"},arguments:[],directives:[]}]}}]}}
1,{kind:"Field",name:{kind:"Name",value:"inReviewData"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"submittedAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"estimatedReviewTime"},arguments:[],directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CheckIfPaymentMethodSetupVisited"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceVendorOnboardingInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"operationInfo"},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:"statusCode"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"paymentMethodSetupVisited"},arguments:[],directives:[]}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetPaymentOnboardingAdditionalInfo"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceVendorOnboardingAdditionalInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"operationInfo"},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:"statusCode"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"edges"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"genericError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ctaText"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"redirectTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"groupName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"inputType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"requirements"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"validations"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"minTextLength"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxTextLength"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fileValidations"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allowedDocumentLabel"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"allowedDocumentType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"front"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"back"},arguments:[],directives:[]}]}}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetPaymentOnboardingAdditionalInfo"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"response"},name:{kind:"Name",value:"getInvoiceVendorOnboardingAdditionalInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"operationInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"requirements"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},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:"iconType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"inputType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errorCode"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:2996}};n.loc.source={body:"query VerifyPersonalInformation {\n  responseData: personal_information {\n    name {\n      data\n    }\n    address {\n      data\n    }\n    ssn {\n      data\n    }\n    dob {\n      data\n    }\n  }\n}\n\nquery VerifyBusinessInformation {\n  responseData: business_information {\n    company_name {\n      data\n    }\n    dba {\n      data\n    }\n    address {\n      data\n    }\n    website {\n      data\n    }\n  }\n}
1\n\nquery VerifyBusinessDetails {\n  responseData: business_details {\n    business_type\n    maskedEin\n    ein\n  }\n}\n\nquery VerifyOwnershipDetails {\n  responseData: business_details {\n    owners\n  }\n}\n\nquery GetReviewTermsLinks {\n  responseData: getInvoiceConfigs {\n    hasError\n    message\n    title\n    success\n    statusCode\n    userErrors\n    data {\n      reviewTerms {\n        terms\n        cta {\n          key\n          text\n          link\n        }\n      }\n    }\n  }\n}\n\nquery GetNovoPaymentsTermsOfService {\n  responseData: getInvoiceConfigs {\n    hasError\n    message\n    title\n    success\n    statusCode\n    userErrors\n    data {\n      novoPaymentsTermsOfService\n    }\n  }\n}\n\nquery GetPaymentOnboardingInfo {\n  responseData: getInvoiceVendorOnboardingInfo {\n    operationInfo {\n      message\n      title\n      statusCode\n    }\n    applicationStatus\n    stepsInfo {\n      accountInfo {\n        inReview\n        isCompleted\n        showInReviewLabel {\n          dba\n          businessName\n          businessAddress\n          ein\n          website\n          dob\n          ssn\n          legalFullName\n          homeAddress\n        }\n      }\n      businessOwnership {\n        inReview\n        isCompleted\n      }\n      businessDescription {\n        inReview\n        isCompleted\n        data {\n          businessDescription\n        }\n      }\n      termsReviews {\n        inReview\n        isCompleted\n      }\n    }\n    inReviewData {\n      submittedAt\n      estimatedReviewTime\n    }\n  }\n}\n\nquery CheckIfPaymentMethodSetupVisited {\n  responseData: getInvoiceVendorOnboardingInfo {\n    operationInfo {\n      message\n      title\n      statusCode\n    }\n    paymentMethodSetupVisited\n  }\n}\n\nquery GetPaymentOnboardingAdditionalInfo {\n  responseData: getInvoiceVendorOnboardingAdditionalInfo {\n    operationInfo {\n      message\n      title\n      statusCode\n    }\n    edges {\n      title\n      message\n      genericError\n      ctaText\n      redirectTo\n      groupName\n      inputType\n      requirements {\n        label\n        value\n        errors {\n          id\n          message\n        }\n      }\n      validations {\n        minTextLength\n        maxTextLength\n        fileValidations {\n          allowedDocumentLabel\n          allowedDocumentType\n          front\n          back\n        }\n      }\n    }\n  }\n}\n\nquery GetPaymentOnboardingAdditionalInfo {\n  response: getInvoiceVendorOnboardingAdditionalInfo {\n    operationInfo {\n      message\n      statusCode\n      title\n    }\n    requirements {\n      type\n      title\n      message\n      ctaText\n      iconType\n      inputType\n      errorCode\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 s(e,n){var i={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var s=a[n]||new Set,r=new Set,d=new Set;for(s.forEach((function(e){d.add(e)}));d.size>0;){var o=d;d=new Set,o.forEach((function(e){r.has(e)||(r.add(e),(a[e]||new Set).forEach((function(e){d.add(e)})))}))}return r.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.VerifyPersonalInformation=s(n,"VerifyPersonalInformation"),e.exports.VerifyBusinessInformation=s(n,"VerifyBusinessInformation"),e.exports.VerifyBusinessDetails=s(n,"VerifyBusinessDetails"),e.exports.VerifyOwnershipDetails=s(n,"VerifyOwnershipDetails"),e.exports.GetReviewTermsLinks=s(n,"GetReviewTermsLinks"),e.exports.GetNovoPaymentsTermsOfService=s(n,"GetNovoPaymentsTermsOfService"),e.exports.GetPaymentOnboardingInfo=s(n,"GetPaymentOnboardingInfo"),e.exports.CheckIfPaymentMethodSetupVisited=s(n,"CheckIfPaymentMethodSetupVisited"),e.exports.GetPaymentOnboardingAdditionalInfo=s(n,"GetPaymentOnboardingAdditionalInfo"),e.exports.GetPaymentOnboardingAdditionalInfo=s(n,"GetPaymentOnboardingAdditionalInfo")},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 s(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){s(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){s(e,n)})),e.definitions&&e.definitions.forEach((function(e){s(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 r={};function d(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 o(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=r[n]||new Set,t=new Set,s=new Set;for(a.forEach((function(e){s.add(e)}));s.size>0;){var o=s;s=new Set,o.forEach((function(e){t.has(e)||(t.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return t.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}a.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),r[e.name.value]=n}})),e.exports=a,e.exports.GetRecurringList=o(a,"GetRecurringList"),e.exports.GetRecurringListById=o(a,"GetRecurringListById"),e.exports.GetRecurringInvoiceHistory=o(a,"GetRecurringInvoiceHistory")},97888(e){e.exports=function(e,n){for(var i=-1,a=null==e?0:e.length,t=Array(a);++i<a;)t[i]=n(e[i],i,e);return t}},13830(e){e.exports=function(e){return e.split("")}},24444(e){e.exports=function(e,n,i){var a=-1,t=e.length;n<0&&(n=-n>t?0:t+n),(i=i>t?t:i)<0&&(i+=t),t=n>i?0:i-n>>>0,n>>>=0;for(var s=Array(t);++a<t;)s[a]=e[a+n];return s}},20056(e,n,i){var a=i(91741),t=i(97888),s=i(54509),r=i(33062),d=a?a.prototype:void 0,o=d?d.toString:void 0;e.exports=function e(n){if("string"==typeof n)return n;if(s(n))return t(n,e)+"";if(r(n))return o?o.call(n):"";var i=n+"";return"0"==i&&1/n==-1/0?"-0":i}},55801(e,n,i){var a=i(24444);e.exports=function(e,n,i){var t=e.length;return i=void 0===i?t:i,!n&&i>=t?e:a(e,n,i)}},95271(e,n,i){var a=i(55801),t=i(96766),s=i(55292),r=i(58514);e.exports=function(e){return function(n){n=r(n);var i=t(n)?s(n):void 0,d=i?i[0]:n.charAt(0),o=i?a(i,1).join(""):n.slice(1);return d[e]()+o}}},96766(e){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},55292(e,n,i){var a=i(13830),t=i(96766),s=i(21522);e.exports=function(e){return t(e)?s(e):a(e)}},21522(e){var n="\\ud800-\\udfff",i="["+n+"]",a="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",t="\\ud83c[\\udffb-\\udfff]",s="[^"+n+"]",r="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",o="(?:"+a+"|"+t+")"+"?",l="[\\ufe0e\\ufe0f]?",m=l+o+("(?:\\u200d(?:"+[s,r,d].join("|")+")"+l+o+")*"),_="(?:"+[s+a+"?",a,r,d,i].join("|")+")",c=RegExp(t+"(?="+t+")|"+_+m,"g");e.exports=function(e){return e.match(c)||[]}},70632(e,n,i){var a=i(73242);e.exports=function(e,n){return a(e,n)}},58514(e,n,i){var a=i(20056);e.exports=function(e){return null==e?"":a(e)}},98756(e,n,i){var a=i(95271)("toUpperCase");e.exports=a},74860(e,n,i){"use strict";i.d(n,{E:()=>o});var a=i(9265),t=i(2666),s=i(81404),r=i(26195),d=i(17010),o=(0,a.gu)({chartName:"BarChart",GraphicalChild:t.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:s.W},{axisType:"yAxis",AxisComp:r.h}],formatAxisMap:d.pr})},65404(e,n,i){"use strict";i.d(n,{A:()=>t});var a="Invariant failed";function t(e,n){if(!e)throw new Error(a)}}}]);
2//# sourceMappingURL=Invoices Overview.ffe960179f4a3e57.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.