{"version":3,"sources":["_metronic/_helpers/AssetsHelpers.js","_metronic/_helpers/RouterHelpers.js","_metronic/_helpers/TablePaginationHelpers.js","_metronic/_helpers/TableRowSelectionHelpers.js","_metronic/_helpers/TableSortingHelpers.js","_metronic/layout/_core/HTMLClassService.js","_metronic/layout/_core/MetronicLayout.js","_metronic/layout/_core/LayoutConfig.js","app/modules/User/components/UserNotificationsDropdown.js","_metronic/layout/components/extras/dropdowns/UserProfileDropdown.js","_metronic/layout/components/extras/QuiclUserToggler.js","app/common/service/login_types.js","app/modules/User/components/ModuleVisualizationDropdown.js","app/modules/Atorder/components/Topbar.js","app/modules/EInvoice/components/Topbar.js","app/modules/Multicashregister/components/ECRSelectorDropdown.js","app/modules/RTUser/components/Topbar.js","_metronic/layout/components/extras/dropdowns/search/SearchDropdown.js","_metronic/layout/components/extras/dropdowns/UserNotificationsDropdown.js","_metronic/layout/components/extras/dropdowns/QuickActionsDropdown.js","_metronic/layout/components/extras/dropdowns/MyCartDropdown.js","app/modules/Multitenancy/components/CompanySelectorDropdown.js","app/modules/Multistore/components/StoreSelectorDropdown.js","app/modules/Admin/components/Menu.js","app/modules/Retail/components/Menu.js","app/modules/DTRBI/components/Menu.js","app/modules/AWS/components/ServiceHeaderMenu.js","_metronic/layout/components/header/header-menu/HeaderMenu.js","_metronic/layout/components/header/header-menu/HeaderMenuWrapper.js","_metronic/layout/components/header/Topbar.js","app/modules/AWS/components/ServiceTopbar.js","_metronic/layout/components/header/Header.js","_metronic/layout/components/header-mobile/HeaderMobile.js","_metronic/layout/components/brand/Brand.js","app/modules/Admin/components/Aside.js","app/modules/Atorder/components/Aside.js","app/modules/EInvoice/components/Aside.js","app/modules/RTUser/components/Aside.js","app/modules/RTUtility/components/Aside.js","app/modules/DTRBI/components/Aside.js","app/modules/MoitoIOT/components/Aside.js","app/modules/Calendar/components/Aside.js","app/modules/ForValue/components/Aside.js","app/modules/DTROptical/components/Aside.js","app/modules/Happy/components/Aside.js","app/modules/AWS/components/ServiceAside.js","_metronic/layout/components/aside/aside-menu/AsideMenuList.js","_metronic/layout/components/aside/aside-menu/AsideMenu.js","_metronic/layout/components/aside/Aside.js","_metronic/layout/components/footer/Footer.js","_metronic/_assets/js/layout/base/header-topbar.js","_metronic/_assets/js/layout/base/footer.js","_metronic/_assets/js/layout/base/content.js","_metronic/_assets/js/layout/extended/scrolltop.js","_metronic/_assets/js/layout/base/stretched-card.js","_metronic/_assets/js/layout/extended/quick-panel.js","_metronic/_assets/js/layout/extended/quick-user.js","_metronic/layout/components/LayoutInit.js","_metronic/layout/components/subheader/components/BreadCrumbs.js","_metronic/layout/_core/MetronicSubheader.js","_metronic/layout/components/subheader/SubHeader.js","_metronic/layout/components/extras/offcanvas/QuickPanel.js","_metronic/layout/components/extras/offcanvas/QuickUser.js","_metronic/layout/components/extras/ScrollTop.js","_metronic/layout/components/extras/StickyToolbar.js","_metronic/layout/components/Layout.js","_metronic/layout/components/content/Content.js","_metronic/layout/components/content/ContentRoute.js","_metronic/layout/_core/MetronicSplashScreen.js","_metronic/layout/_core/MaterialThemeProvider.js","app/modules/AWS/Can.js","app/modules/AuthCognito/_redux/authReducer.js","app/modules/Multitenancy/_redux/tenantReducer.js","app/modules/Multitenancy/_redux/tenantSagas.js","app/modules/Admin/_redux/reducer.js","app/modules/Retail/_redux/reducer.js","app/modules/ProductManagement/_redux/reducer.js","app/modules/Atorder/_redux/reducer.js","app/modules/Sales/_redux/reducer.js","app/modules/Customer/_redux/reducer.js","app/modules/Accounting/_redux/reducer.js","app/modules/EInvoice/_redux/reducer.js","app/modules/User/_redux/reducer.js","app/modules/RTUser/_redux/reducer.js","app/modules/Multistore/_redux/reducer.js","app/modules/Multistore/_redux/sagas.js","app/modules/Multicashregister/_redux/reducer.js","app/modules/Multicashregister/_redux/sagas.js","app/modules/RTUtility/_redux/reducer.js","app/modules/DTRBI/_redux/reducer.js","app/modules/MoitoIOT/_redux/reducer.js","app/modules/ForValue/_redux/reducer.js","app/modules/Calendar/_redux/reducer.js","app/modules/EJManagement/_redux/reducer.js","app/modules/DTROptical/_redux/reducer.js","app/modules/Happy/_redux/reducer.js","redux/rootReducer.js","redux/store.js","app/modules/Admin/graphql/private/queries.js","_metronic/_assets/js/layout/base/header.js","app/modules/Customer/_redux/customers/crud.js","_metronic/_partials/dropdowns/DropdownCustomToggler.js","_metronic/_partials/dropdowns/DropdownTopbarItemToggler.js","app/modules/AWS/ability.js","app/modules/AuthCognito/components/LoginDataTypeWorkflowBoxes.js","app/modules/AuthCognito/components/ErrorMessage.js","app/modules/AuthCognito/pages/Login.js","app/modules/AuthCognito/components/UserTypeBoxes.js","app/modules/AuthCognito/components/RegistrationMethodBoxes.js","app/modules/AuthCognito/components/RegistrationStepper.js","app/modules/AuthCognito/pages/Register.js","app/modules/AuthCognito/pages/Forget.js","app/modules/AuthCognito/pages/AuthPage.js","app/modules/ErrorsExamples/ErrorPage1.js","app/modules/ErrorsExamples/ErrorPage2.js","app/modules/ErrorsExamples/ErrorPage3.js","app/modules/ErrorsExamples/ErrorsPage.js","app/modules/AWS/pages/terms/PrivacyPolicy.js","app/modules/AWS/pages/terms/CookiePolicy.js","app/modules/AWS/Routes.js","app/App.js","index.js","app/utils/components/generic/_redux/slice.js","app/utils/components/generic/_redux/actions.js","app/modules/Multitenancy/_redux/tenantTypes.js","app/modules/Multistore/_redux/types.js","app/modules/Multicashregister/_redux/types.js","_metronic/layout/components/extras/dropdowns/LanguageSelectorDropdown.js","app/modules/AuthCognito/components/Aside.js","_metronic/i18n/I18nProvider.js","_metronic/_assets/js/layout/base/aside-menu.js","aws-exports.js","_metronic/i18n/Metronici18n.js","app/modules/AWS/pages/dashboard/components/DTRServiceLogo.js","_metronic/_assets/js/components/offcanvas.js","app/modules/Multistore/_redux/actions.js","_metronic/_assets/js/layout/base/subheader.js","app/utils/functions/date/ISODateDDMMYYYY.js","app/utils/components/license-report/column-formatters/ActivatedStatusColumnFormatter.js","app/utils/components/license-report/column-formatters/ApplicantColumnFormatter.js","app/utils/components/license-report/column-formatters/NumberColumnFormatter.js","app/utils/components/license-report/column-formatters/IsFreeColumnFormatter.js","app/utils/components/license-report/column-formatters/AutorenewColumnFormatter.js","app/modules/Calendar/graphql/private/queries.js","app/modules/Calendar/graphql/private/mutations.js","app/modules/Calendar/_redux/events/crud.js","app/common/localization/countries.js","app/utils/functions/GetText.js","app/utils/lookup/CreatableLookupField.js","app/utils/functions/GetValueFromStringPath.js","app/utils/components/CountryLookupField.js","app/common/localization/provinces.js","app/utils/components/CountyLookupField.js","app/utils/components/AddressPickerForm.js","app/utils/functions/manageExtensions.js","app/utils/components/ImagesCarousel.js","app/utils/components/IncrementalIdColumn.js","app/utils/components/ItemImagesUploader.js","app/utils/components/ShowMultipleEntities.js","app/utils/functions/date/FromTimeToDate.js","app/utils/components/ToastContainer.js","app/utils/components/ManualRecordAdding.js","app/utils/components/PartnerCategoryPicker.js","app/utils/functions/GetAllergenObjectByIconCode.js","app/utils/functions/GetAllergenPathByIconCode.js","app/utils/functions/GetAtorderFoodImages.js","app/utils/functions/GetRetailStore.js","app/utils/functions/GetTenant.js","app/utils/functions/OmitSystemFields.js","app/utils/functions/RandomStringGenerator.js","app/utils/functions/RandomTokenGenerator.js","app/utils/functions/SelectedEntities.js","app/utils/functions/ToastNotify.js","app/utils/functions/YupAddressPickerValidation.js","app/utils/functions/YupCacheValidation.js","app/utils/functions/YupPartnerCodeValidation.js","app/utils/functions/date/DDMMYYYY_HHMM.js","app/utils/functions/date/GetDataOr.js","app/utils/functions/date/ISODate.js","app/utils/functions/date/SafeGetDate.js","app/utils/functions/IsSafari.js","app/utils/functions/date/TimeAgo.js","app/utils/functions/date/TimeSince.js","app/utils/functions/date/YYYYMMDD.js","app/utils/functions/date/HHMMSS.js","app/utils/functions/date/TimeAgoInDays.js","app/utils/functions/date/FromDDMMYYYYtoYYYYMMDD.js","app/utils/functions/date/YYYYMMDD_HHMM.js","app/utils/functions/date/FromISODateTimeStrToTime.js","app/utils/functions/date/DateRange.js","app/utils/functions/date/GetLastDayFromYearMonth.js","app/utils/functions/date/DDMMYYYY.js","app/utils/functions/date/ToItalianTime.js","app/utils/functions/date/NumberToHoursAndMinutes.js","app/utils/functions/date/DateDiffMinutes.js","app/utils/functions/date/MinutesToHumanReadableDuration.js","app/utils/functions/date/AddDays.js","app/utils/functions/date/AddMonths.js","app/utils/functions/date/AddYears.js","app/utils/functions/date/FromDDMMYYYYtoDateObj.js","app/utils/functions/date/HHMM.js","app/utils/functions/FormatNumber.js","app/utils/functions/IsNumber.js","app/utils/functions/ECRNumberValidator.js","app/utils/functions/YupVatNumberValidator.js","app/utils/functions/getMenuItemActive.js","app/utils/functions/YupItalianVatNumberValidator.js","app/utils/functions/YupItalianFiscalCodeValidator.js","app/utils/functions/MaxLengthCheck.js","app/utils/functions/StringToHexColor.js","app/utils/functions/TextColorFromHexBackground.js","app/utils/functions/MoitoIOTCodeValidator.js","app/utils/functions/YupTimeValidator.js","app/utils/functions/ECRNumberExistance.js","app/utils/functions/YupCustomerVatNumberValidator.js","app/utils/functions/DownloadProtectedFile.js","app/utils/functions/DownloadContent.js","app/utils/functions/useCheckMobileScreen.js","app/utils/functions/YupCustomerVatNumberFiscalCodeValidator.js","app/utils/functions/lazyRetry.js","app/utils/functions/YupVendorVatNumberValidator.js","app/utils/functions/YupVatDealerRegistrationValidator.js","app/utils/functions/GetAllergenNameByCode.js","app/utils/functions/ScrollEffect.js","app/utils/functions/MoitoIOTRegistrationCodeValidator.js","app/utils/functions/DownloadZippedContent.js","app/utils/components/TagsManager.js","app/utils/components/DBQueryCSVExport.js","app/utils/lookup/LookupField.js","app/utils/components/CSVExport.js","app/utils/components/license-report/LicenseReport.js","app/utils/components/generic/LoadingDialog.js","app/utils/components/generic/Card.js","app/utils/components/generic/Filter.js","app/utils/components/generic/Route.js","app/utils/components/generic/DeleteDialog.js","app/utils/components/generic/OpenSearchFilter.js","app/utils/components/generic/MultipleDeleteDialog.js","app/utils/components/generic/Grouping.js","app/utils/components/generic/ConstructUIEvents.js","app/utils/components/generic/UIRoutes.js","app/utils/components/generic/Table.js","app/utils/components/generic/InitialFilters.js","app/utils/components/generic/ActionsColumnFormatter.js","app/utils/components/generic/ActionsColumn.js","app/utils/components/generic/EnabledColumnFormatter.js","app/utils/components/generic/EnableColumn.js","app/utils/components/generic/ColorColumnFormatter.js","app/utils/components/generic/DDMMYYYYColumnFormatter.js","app/utils/components/generic/CreatedAtColumnFormatter.js","app/utils/components/Barcode.js","app/utils/components/StripeConnect.js","app/utils/components/address-autocomplete/AddressMap.js","app/utils/components/address-autocomplete/AddressAutocompleteInput.js","app/utils/components/TimeScrollPicker.js","app/utils/components/arrows.js","app/utils/components/HourMinuteTimePicker.js","app/utils/components/CustomerPurchaseHistory.js","app/utils/components/TimeProgressBar.js","app/utils/components/PdfDocument.js","app/utils/components/EnvName.js","app/utils/functions/EnvironmentType.js","app/utils/components/ToItalianTimeColumnFormatter.js","app/utils/components/MoitoIotImageCarousel.js","app/utils/hooks/useFetchAll.js","app/utils/hooks/useInterval.js","app/utils/lookup/GetDefaultValueById.js","app/utils/lookup/CustomizableLookupField.js","app/utils/pagination/PaginationLinks.js","app/utils/pagination/Pagination.js","app/common/allergens/Allergens.js","_metronic/_partials/controls/forms/FieldFeedbackLabel.js","app/modules/AuthCognito/_redux/types.js","app/modules/Multicashregister/_redux/actions.js","_metronic/_assets/js/layout/base/aside.js","app/common/cashregisters/configuration_entities.js","app/utils/functions/date/DateDiffDays.js","app/modules/Multitenancy/_redux/tenantActions.js","app/modules/RTUser/_redux/dailysales/slice.js","_metronic/_assets/js/components/cookie.js","app/utils/components/LoadingCard.js","app/modules/Admin/_redux/retailstorelicenses/crud.js","app/modules/Admin/_redux/retailstorelicenses/actions.js","app/modules/MoitoIOT/graphql/private/queries.js","graphql/queries.js","app/utils/functions/FileToBase64.js","_metronic/_partials/controls/Card.js","_metronic/_partials/controls/forms/Input.js","_metronic/_partials/controls/forms/Select.js","_metronic/_partials/controls/AnimateLoading.js","_metronic/_partials/controls/LoadingDialog.js","_metronic/_partials/controls/ModalProgressBar.js","_metronic/_assets/js/layout/base/header-menu.js","_metronic/_assets/js/components/menu.js","_metronic/_assets/js/components/toggle.js","_metronic/_assets/js/layout/base/brand.js","_metronic/_assets/js/layout/base/sticky-card.js","app/modules/User/_redux/notifications/crud.js","app/modules/User/_redux/notifications/actions.js","_metronic/_assets/js/components/util.js","app/modules/Calendar/_redux/event-types/crud.js","app/modules/AuthCognito/components/WorkflowBox.js","app/modules/Admin/_redux/tenants/crud.js","app/modules/Admin/_redux/tenants/actions.js","app/modules/Calendar/_redux/event-types/slice.js","app/modules/Customer/_redux/customers/actions.js","graphql/mutations.js","_metronic/i18n/languages.js","app/common/cashregisters/dtr_models.js","app/modules/Admin/_redux/userlicenses/crud.js","app/modules/Admin/_redux/userlicenses/actions.js","app/modules/User/rest/api.js","app/modules/RTUser/graphql/private/queries.js","app/modules/RTUser/_redux/dailysales/crud.js","app/modules/RTUser/_redux/dailysales/actions.js","app/modules/Admin/cognito/crud.js","app/utils/components/license-report/column-formatters/DurationColumnFormatter.js","app/modules/Atorder/_redux/ordinations/slice.js","app/modules/Calendar/_redux/events/slice.js","app/modules/Calendar/_redux/public/slice.js","app/common/licenses/excluded_user_licenses.js","app/modules/EInvoice/_redux/vendors/crud.js","app/modules/EInvoice/_redux/vendors/actions.js","app/modules/Admin/rest/api.js","app/modules/AuthCognito/utils/translateError.js","app/modules/AuthCognito/_redux/authActions.js","app/utils/functions/UploadProtectedFile.js","app/modules/Admin/_redux/ecr_registration/slice.js","app/modules/Admin/_redux/moitoiot_registration/slice.js","app/modules/Atorder/_redux/booking/slice.js","app/modules/Atorder/_redux/public/slice.js","app/modules/RTUtility/utils/versions.js","app/modules/RTUtility/_redux/filters/slice.js","_metronic/_assets/js/layout/base/aside-toggle.js","app/modules/AWS/pages/terms/TenantTermsOfService.js","app/modules/AWS/pages/terms/PartnerTermsOfService.js","app/common/cashregisters/default_configuration.js","app/modules/RTUtility/_redux/configuration/slice.js","app/modules/MoitoIOT/_redux/receipts/crud.js","app/modules/MoitoIOT/_redux/receipts/actions.js","_metronic/_assets/js/components/card.js","_metronic/_assets/js/components/scrolltop.js"],"names":["toAbsoluteUrl","pathname","process","checkIsActive","location","url","current","split","getCurrentUrl","indexOf","getPagesCount","totalSize","sizePerPage","Math","ceil","getPages","page","pagesCount","paginationSize","result","push","i","shiftCount","floor","getHandlerTableChange","setQueryParams","type","sortField","sortOrder","pageNumber","data","prev","pageSize","PleaseWaitMessage","entities","NoRecordsFoundMessage","customersList","length","SelectionCheckbox","isSelected","onChange","style","display","className","checked","getSelectRow","props","ids","setIds","mode","clickToSelect","hideSelectAll","selectionHeaderRenderer","allIds","forEach","el","id","groupingAllOnSelect","selectionRenderer","rowIndex","some","customerId","filter","newIds","groupingItemOnSelect","sortCaret","order","column","headerSortingClasses","isLastSorting","colIndex","HtmlClassService","layoutConfig","this","config","preInit","classes","header","header_container","header_mobile","header_menu","aside","aside_menu","subheader","subheader_container","content","content_container","footer_container","attributes","initLayout","initHeader","initSubheader","initContent","initAside","initFooter","initTheme","updatedConfig","Object","assign","headerSelfFixedDesktop","objectPath","get","fixed","path","toString","Array","isArray","join","logo","getLogo","selfBodyBackgroundImage","document","body","backgroundImage","_selfBodyClass","cssClass","classList","add","headerMenuSelfLayout","headerMenuLayoutCssClass","subheaderFixed","subheaderStyle","has","subheaderClass","asideSelfDisplay","asideMenuDropdown","asideSubmenuDHoverTimeout","brandSelfTheme","headerSelfTheme","LAYOUT_CONFIG_KEY","REACT_APP_LAYOUT_CONFIG_KEY","getConfig","ls","localStorage","getItem","JSON","parse","er","console","error","demo","js","breakpoints","sm","md","lg","xl","xxl","colors","theme","base","light","inverse","gray","fontFamily","loader","enabled","message","toolbar","self","width","desktop","mobile","menu","layout","arrow","toggle","submenu","accordion","displayDesc","displayDaterangepicker","clear","brand","minimize","default","hoverable","footer","dropdown","scroll","extras","search","offcanvas","direction","notifications","directions","user","languages","cart","chat","scrolltop","HtmlClassServiceContext","createContext","useHtmlClassService","useContext","Consumer","MetronicLayoutProvider","children","lc","useMemo","hcs","service","setConfig","Provider","value","perfectScrollbarOptions","wheelSpeed","wheelPropagation","UserNotificationsDropdown","intl","useIntl","useHistory","useState","key","setKey","isOpen","setIsOpen","bgImage","uiService","layoutProps","useSelector","state","items","nextToken","tenant","auth","GetTenant","shallowEqual","dispatch","useDispatch","queryParams","tenantId","eq","useFetchAll","operation","actions","fetchObjectsByUser","Promise","resolve","reject","isActive","setIsActive","useEffect","interval","setInterval","clearInterval","handleVisibilityChange","hidden","addEventListener","removeEventListener","onNotificationClick","notification","context","pointer","printIcon","status","src","Dropdown","drop","alignRight","onClick","restApi","then","old","Toggle","as","DropdownTopbarItemToggler","OverlayTrigger","placement","overlay","Tooltip","Menu","Tab","Container","defaultActiveKey","Nav","onSelect","_key","Item","Link","eventKey","Content","Pane","options","maxHeight","position","orderBy","map","text","TimeAgo","Date","createdAt","UserProfileDropdown","fullname","alt","to","href","QuickUserToggler","history","getName","firstName","name","commercialName","ModuleVisualizationDropdown","show","loginType","userLicenses","admin","userlicenses","userLicensesNextToken","today","setDate","getDate","toISOString","substring","validTo","gt","validFrom","lt","getQueryParams","userLicenseActions","licensesTypes","userId","getLoginTypeByLicenseName","license","includes","newLoginType","find","changeLoginType","getCommercialNameByLoginType","loginTypes","licenseName","reload","authCognitoActions","window","filteredUserLicenses","ExcludedUserLicenses","userLicense","Topbar","useLocation","height","Can","I","a","getMenuItemActive","LanguageSelectorDropdown","ECRSelectorDropdown","retailstorelicenses","store","GetRetailStore","ecrId","cashregister","currentCashRegisterId","retailStoreLicenseActions","fetchObjectsByLicenseRetailStore","getCashRegistersFromRetailStoreLicenses","number","retailStoreId","electronicCashRegisterId","v","findIndex","v2","selectableCashRegisters","doAutoselect","setCurrentCashRegisterAsync","entity","getNumberById","ecr","dailySalesActions","clearData","setCurrentCashRegister","SearchDropdown","QuickActionsDropdown","MyCartDropdown","CompanySelectorDropdown","Component","connect","ownProps","tenantDefault","currentTenantId","userTenants","tenantUser","userRetailStores","userRetailStore","bindActionCreators","setCurrentTenant","setCurrentStore","multistoreActions","StoreSelectorDropdown","undefined","currentStoreId","storeOb","retailStoreDefault","retailStore","setState","deleted","userStore","data-menu-toggle","aria-haspopup","ServiceHeaderMenu","HeaderMenu","ktMenuClasses","headerMenuAttributes","ulClasses","menuDesktopToggle","HeaderMenuWrapper","getClasses","rootArrowEnabled","getAttributes","headerLogo","disabledAsideSelfDisplay","viewSearchDisplay","viewNotificationsDisplay","viewQuickActionsDisplay","viewCartDisplay","viewQuickPanelDisplay","viewLanguagesDisplay","viewUserDisplay","boxShadow","isAccountant","zIndex","ServiceTopbar","Header","headerClasses","headerAttributes","headerContainerClasses","menuHeaderDisplay","HeaderMobile","getStickyLogo","asideDisplay","headerMenuSelfDisplay","headerMobileCssClasses","headerMobileAttributes","Brand","brandClasses","asideSelfMinimizeToggle","headerStickyLogo","borderRight","Aside","isPartner","ability","can","ServiceAside","AsideMenuList","isServiceManager","AsideMenu","disableScroll","asideMenuAttr","asideClassesFromConfig","data-menu-vertical","disableAsideSelfDisplay","Footer","getFullYear","footerClasses","footerContainerClasses","baseUrl","download","target","KTLayoutHeaderTopbar","_toggleElement","init","KTUtil","getById","KTToggle","getBody","targetState","toggleState","getToggleElement","KTLayoutFooter","_element","getHeight","actualHeight","_getHeight","getElement","KTLayoutContent","getViewPort","parseInt","css","KTLayoutHeader","KTLayoutSubheader","KTLayoutScrolltop","KTScrolltop","offset","speed","KTLayoutStretchedCard","_init","cardBody","cardHeader","addResizeHandler","update","KTLayoutQuickPanel","_notificationsElement","_logsElement","_settingsElement","_getContentHeight","KTOffcanvas","baseClass","closeBy","toggleBy","scrollInit","mobileNativeScroll","resetHeightOnDestroy","handleWindowResize","KTLayoutQuickUser","disableForMobile","LayoutInit","useLayoutEffect","ready","KTLayoutHeaderMenu","KTLayoutBrand","KTLayoutAside","KTLayoutAsideToggle","KTLayoutAsideMenu","KTLayoutStickyCard","BreadCrumbs","item","index","title","getBreadcrumbsAndTitle","menuId","pathName","breadcrumbs","getElementById","activeLinks","from","getElementsByClassName","tagName","link","titleSpans","titleSpan","t","innerHTML","breadCrumbs","b","getTitle","SubheaderContext","MetronicSubheaderProvider","setTitle","setBreadcrumbs","SubHeader","subheaderMobileToggle","subheaderCssClasses","subheaderContainerCssClasses","data-toggle","data-placement","QuickPanel","QuickUser","lastName","email","ScrollTop","StickyToolbar","rel","Layout","selfLayout","subheaderDisplay","desktopHeaderDisplay","contentCssClasses","contentContainerClasses","contentExtended","match","useRouteMatch","animationEndClass","cssClassesState","setCssClassesState","fullClasses","startAnimation","timeOutId","setTimeout","clearTimeout","ContentRoute","component","render","routeProps","React","createElement","MetronicSplashScreenContext","MetronicSplashScreenProvider","count","setCount","visible","timeout","splashScreen","remove","LayoutSplashScreen","createMuiTheme","typography","palette","primary","main","secondary","MuiButtonBase","disableRipple","MuiPopover","elevation","MaterialThemeProvider","ThemeProvider","AbilityContext","createContextualCan","initialAuthState","authToken","reducer","persistReducer","storage","action","AUTH_USER","authenticated","mfa","changePassword","cognitoUser","payload","pendingSocialSignIn","lastReduxAction","extensions","SET_USER_TYPE","returnProps","userType","PENDING_SOCIAL_SIGN_IN","socialProvider","provider","FORCE_REFRESH_TOKEN","AUTH_MFA","log","AUTH_NEW_PASSWORD_REQUIRED","UNAUTH_USER","source","REGISTER_USER","register","REGISTER_USER_CONFIRM","resendCode","registrationMethod","REGISTER_MFA","REGISTER_USER_ERROR","AUTH_ERROR","FORGOT_PASSWORD","forgotPasswordCode","FORGOT_PASSWORD_CONFIRM","AUTH_ERROR_CLEAR","COMPLETE_REGISTRATION","UPDATE_USER_PARTY","UPDATE_TENANT_PARTY","resultState","UPDATE_TENANT","stateResult","UPDATE_USER","REFRESH_CURRENT_USER","rfc_result","INCREMENT_ITEM_SORTING","nextItemSorting","INCREMENT_ITEMGROUP_SORTING","nextItemGroupSorting","CHANGE_LOGIN_TYPE","CANCEL_FORGOT_PASSWORD","CANCEL_REGISTRATION","initialCompanyState","tenantReducer","SET_CURRENT_TENANT","SET_CURRENT_TENANT_ASYNC","REFRESH","setCurrentTenantSaga","changeTenant","takeEvery","put","delay","combineReducers","users","GenerateSlice","licenses","licenserequests","tenantusers","userprivileges","privileges","partnershiprequests","privilegegroups","appsettings","tenants","ecr_registration","ecrRegistrationSlice","moitoiot_registration","moitoRegistrationSlice","privilegeprivilegegroups","news","retailstores","retailstorerooms","retailstorelocations","userretailstores","cashregisters","digitalcashregisters","itemgroups","itemitemgroups","public","sessionStorage","publicSlice","ordinations","ordinationsSlice","booking","bookingSlice","pricelist","itempricelist","salesorders","salesorderlines","customers","sectionals","salesinvoices","salesinvoicelines","purchinvoices","vatrates","departments","transmissions","costcenters","vendors","dailysales","dailysalesSlice","initialState","storeReducer","SET_CURRENT_STORE","SET_CURRENT_STORE_ASYNC","setCurrentStoreSaga","changeStore","cashRegisterReducer","SET_CURRENT_ECR","SET_CURRENT_ECR_ASYNC","setCurrentCashRegisterSaga","changeCashRegister","ecrconfigurations","configuration","configurationSlice","favorites","interventions","errors","partnernotes","filters","filtersSlice","firmwares","fwupgradeheaders","fwupgradelines","certificates","logs","pendingxmls","advmessages","firmwarestats","moitoiots","versions","modifiers","variants","variantgroups","moitoiot_operators","variantvariantgroups","variantmodifiers","discountsurcharges","receipts","logicalprinters","physicalprinters","itemlogicalprinters","itemvariantgroups","barcodes","payments","phases","tobaccos","calendarevents","cards","eventtypes","eventTypesReducer","events","eventsReducer","operators","calendareventitems","ej_programming","opticalfiles","rootSaga","appReducer","adminReducer","retail","retailReducer","product","productReducer","atorder","atorderReducer","sales","salesReducer","customer","customerReducer","accounting","accountingReducer","einvoice","einvoiceReducer","userReducer","rt_user","rtUserReducer","rt_utility","rtUtilityReducer","dtrbi","dtrbiReducer","moitoiot","moitoIotReducer","forvalue","forValueReducer","calendar","calendarReducer","ej_management","ejManagementReducer","dtroptical","dtrOpticalReducer","happy","happyReducer","all","multitenantSagas","multistoreSagas","multicashregisterSagas","sagaMiddleware","createSagaMiddleware","configureStore","middleware","getDefaultMiddleware","immutableCheck","serializableCheck","concat","devTools","enhancers","reduxBatch","persistor","persistStore","run","lightSearchRetailStoreLicenses","listPrivilegeGroups","listPrivileges","tenantUsersByTenant","getTenant","listAppSettingss","searchTenants","listTenants","tenantsByCompanyVat","tenantsByShortCode","tenantsByDefaultPartnerCode","lightGetTenant","lightTenantsByCompanyVat","licenseRequestsByPartner","getLicenseRequest","retailStoreLicensesByRetailStore","getRetailStoreLicense","lightRetailStoreLicensesByLicenseRetailStore","retailStoreLicensesByTenant","searchRetailStoreLicenses","_elementForMobile","idForMobile","isFixed","hasClass","isFixedForMobile","getElementForMobile","getHeader","getHeightForMobile","searchObjects","additionalFilters","params","limit","sort","field","keys","ne","API","graphql","graphqlOperation","searchCustomers","findObjects","or","attributeExists","listCustomers","findObjectsByTenant","customersByTenant","findObjectsByCompanyVat","companyVat","customersByCompanyVat","findObjectsByFiscalCode","fiscalCode","customersByFiscalCode","findObjectsByMobile","customersByMobile","getObjectById","getCustomer","deleteObject","deleteCustomer","input","createObject","createCustomer","updateObject","updateCustomer","deleteObjects","deletes","updateObjects","objs","creates","obj","forwardRef","ref","e","preventDefault","displayName","Ability","subjectName","__type","getState","currentRetailStoreId","subscribe","prevUser","prevCurrentTenantId","prevCurrentRetailStoreId","isEqual","defineRulesFor","AbilityBuilder","rules","cannot","retailStoreLicense","licenseId","ul","userPrivilege","privilege","LoginDataTypeWorkflowBoxes","defaultValue","selected","setSelected","onChangeSelected","val","cursor","borderBottom","borderTop","ErrorMessage","Login","isLoading","setIsLoading","passwordShown","setPasswordShown","togglePasswordVisiblity","initialValues","phone","password","ValidationSchema","Yup","shape","formatMessage","required","changePasswordValidationSchema","newPassword","test","newPasswordConfirmation","oneOf","isSocialLoginLoading","setIsSocialLoginLoading","feedback","finally","enableReinitialize","validationSchema","validateOnMount","onSubmit","values","handleSubmit","isValid","setFieldValue","Input","autocomplete","placeholder","disabled","label","country","inputClass","UserTypeBoxes","WorkflowBox","description","hrClassName","RegistrationMethodBoxes","RegistrationStepper","activeStep","steps","Stepper","alternativeLabel","Step","StepLabel","Register","setRegistrationMethod","currentStepper","setCurrentStepper","username","setUsername","insertDataValidationSchema","validateCodeValidationSchema","code","renderBackButton","registerUser","Forget","sendCodeValidationSchema","cancelForgotPassword","sendVerificationCode","AuthPage","exact","ErrorPage1","fontSize","ErrorPage2","ErrorPage3","ErrorsPage","PrivacyPolicy","goBack","DTRServiceLogo","dynamic","CookiePolicy","chromeUrl","firefoxUrl","safariUrl","PublicDownloadPage","lazy","lazyRetry","AtorderUnauthorizedEntryPage","TwoAtorderUnauthorizedEntryPage","ForValueUnauthorizedEntryPage","ReceiptUnauthorizedEntryPage","EInvoiceUnauthorizedEntryPage","CalendarUnauthorizedEntryPage","BasePageWrapper","Routes","TenantTermsOfService","PartnerTermsOfService","validateUserSession","App","basename","loading","Suspense","fallback","isLocalhost","Boolean","hostname","awsExports","oauth","redirectSignIn","localRedirectSignIn","productionRedirectSignIn","redirectSignOut","localRedirectSignOut","productionRedirectSignOut","updatedAwsConfig","Amplify","configure","Analytics","disable","Geocode","setApiKey","ReactDOM","listLoading","actionsLoading","totalCount","prevTokens","lastError","SliceCallTypes","list","createSlice","reducers","catchError","stringify","callType","startCall","setEntity","objectFetched","refreshRecordOnEntities","objectsFetched","prevToken","Set","objectsCreated","objects","objectDeleted","objectsDeleted","objectUpdated","object","objectsUpdated","found","removeFromEntities","clearEntityData","addOnEntities","setEntities","GenerateSlowFetchObjects","requestFunction","queryName","cc","postFilters","callTypes","nextTokenInternal","sortedItems","clientMessage","GenerateFetchObjectsBy","parameter","GenerateActions","request","response","catch","fetchObject","createObjects","createObjectsNoRedux","cleanState","lang","useLang","currentLanguage","x","flag","language","clsx","active","setLanguage","backgroundColor","allMessages","de","deMessages","en","enMessages","es","esMessages","fr","frMessages","zh","zhMessages","it","itMessages","ar","arMessages","ru","ruMessages","I18nProvider","locale","messages","_menuObject","menuDesktopMode","attr","rememberPosition","isBreakpointUp","KTMenu","tablet","expandAll","on","isMinimized","isHoverable","isBreakpointDown","getOffcanvas","hide","getMenu","pauseDropdownHover","time","closeMobileOffcanvas","isMobileDevice","awsmobile","I18N_CONFIG_KEY","REACT_APP_I18N_CONFIG_KEY","selectedLang","setItem","I18nContext","MetronicI18nProvider","partner","partnerLogo","setPartnerLogo","currentPartner","Storage","companyName","partnerText","ReactHtmlParser","right","bottom","module","exports","elementId","the","element","defaultOptions","customClass","Plugin","construct","build","set","deepExtend","classBase","classCustom","classShown","classOverlay","addEvent","isShown","eventTrigger","toggleClass","addClass","insertAfter","stopPropagation","removeClass","classPush","args","event","one","handler","call","fired","setDefaults","apply","storeId","setCurrentStoreAsync","ISODateDDMMYYYY","date","separator","year","month","getMonth","day","ActivatedStatusCssClasses","ActivatedStatusTitles","ActivatedStatusColumnFormatter","cellContent","row","getStatus","ApplicantColumnFormatter","retailStoreName","ecrCompanyName","NumberColumnFormatter","openEcrReportDialog","slice","moitoIotCode","IsFreeColumnFormatter","isFree","AutorenewColumnFormatter","toggleAutorenew","autorenewIsLoadingId","Switch","autorenew","baseName","blockLevel","calendarEventByRetailStore","createCalendarEvent","updateCalendarEvent","create","normalizeInput","read","results","token","softDelete","calendarEventTypeId","tags","isAllDayEvent","notificationEnabled","startDatetime","endDatetime","notificationDatetime","operatorId","isPending","langPriority","getByLangPriority","translationText","translations","languageCode","GetText","currentLang","targetLanguageCode","CreatableAsyncPaginate","withAsyncPaginate","Creatable","sleep","ms","getValueFromStringPath","getText","reduce","o","k","CreatableLookupField","filterDeleted","valueField","labelField","queryFilter","query","topOption","isMulti","closeMenuOnSelect","additionalParams","forceChangeValue","setValue","loadOptions","prevOptions","contains","additionalOptions","hasMore","filteredData","toLowerCase","toUpperCase","slicedData","queries","additional","newValue","GetValueFromStringPath","CountryLookupField","useFormikContext","setFieldTouched","touched","defaultCountry","setDefaultCountry","Countries","CountyLookupField","county","defaultCounty","setDefaultCounty","Provinces","AddressPickerForm","address","municipality","zipcode","appendToExtensions","moduleName","getFromExtensions","otherwise","ImagesCarousel","open","setOpen","images","setImages","absolute","img_size","img_cell","unmounted","custom_images","selected_images","img_key","img","onClose","onStart","image","idx","media","subtitle","IncrementalIdColumn","ItemImagesUploader","fieldName","defaultImages","setImageCount","logos","setLogos","onImageChange","files","dataUrls","puts","file","reader","FileReader","readAsDataURL","onload","base64file","base64","uuidv4","putImages","base64ToRemove","differenceWith","Body","onloadend","base64data","withLabel","buttonText","imgExtension","maxFileSize","withPreview","singleImage","ShowMultipleEntities","FromTimeToDate","currentValue","splittedTime","setHours","setMinutes","setSeconds","ToastContainer","autoClose","hideProgressBar","newestOnTop","closeOnClick","rtl","pauseOnFocusLoss","draggable","pauseOnHover","ManualRecordAdding","defaulValue","splitCharachers","validate","textareaValue","setTextareaValue","setError","lastChar","err","onChangeTextarea","PartnerCategoryPicker","isSubmitting","currentPlan","blocked","silver","borderRadius","padding","gold","platinum","diamond","updateValue","newVal","opacity","GetAllergenObjectByIconCode","allergenObj","Allergens","allergen","icons","GetAllergenPathByIconCode","GetAtorderFoodImages","tenantIdFind","OmitSystemFields","others","omit","RandomStringGenerator","characters","charactersLength","charAt","random","RandomTokenGenerator","sha1","SelectedEntities","_entities","ToastNotify","progress","toast","success","warning","dark","info","YupAddressPickerValidation","zipCode","mandatory","addressVal","countryVal","countyVal","zipCodeVal","municipalityVal","YupCacheValidation","asyncValidate","_valid","_value","checkOnDb","exists","YupPartnerCodeValidation","checkOnDbTest","max","DDMMYYYY_HHMM","hour","getHours","minute","getMinutes","GetDataOr","ISODate","SafeGetDate","navigator","userAgent","replace","seconds","TimeSince","YYYYMMDD","HHMMSS","hh","mm","ss","getSeconds","TimeAgoInDays","FromDDMMYYYYtoYYYYMMDD","str_date","splitted","YYYYMMDD_HHMM","FromISODateTimeStrToTime","datetime","moment","format","DateRange","startDate","endDate","dateArray","currentDate","setUTCDate","getUTCDate","GetLastDayFromYearMonth","d","DDMMYYYY","ToItalianTime","toLocaleString","timeZone","second","NumberToHoursAndMinutes","totalMinutes","minutes","hours","padStart","DateDiffMinutes","diff","getTime","MinutesToHumanReadableDuration","AddDays","days","AddMonths","months","newD","setMonth","AddYears","years","setFullYear","FromDDMMYYYYtoDateObj","date_splitter","splittedDate","HHMM","FormatNumber","r","Number","parseFloat","toFixed","numbers","IsNumber","string","char","checkExistanceOnDb","checkNotExistance","checkRTUserExistanceOnDb","ECRNumberValidator","checkExistance","checkRTUserExistance","DTRModels","checkExistanceOnDbTest","checkRTUserExistanceOnDbTest","YupVatNumberValidator","countryCodeField","when","is","s","n","charCodeAt","urlType","YupItalianVatNumberValidator","YupItalianFiscalCodeValidator","CodiceFiscale","check","MaxLengthCheck","maxLength","StringToHexColor","c","intToRGB","str","hash","hashCode","TextColorFromHexBackground","hexColor","MoitoIOTCodeValidator","YupTimeValidator","h","m","ECRNumberExistance","YupCustomerVatNumberValidator","saveRedux","getByVatNumber","DownloadProtectedFile","s3Key","sendToastNotification","callback","axios","decompress","responseType","axiosResponse","DownloadContent","filename","contentType","AppJS","Blob","res","saveGenericFile","URL","createObjectURL","appendChild","click","useCheckMobileScreen","innerWidth","setWidth","handleWindowSizeChange","YupCustomerVatNumberFiscalCodeValidator","componentImport","hasRefreshed","YupVendorVatNumberValidator","YupVatDealerRegistrationValidator","GetAllergenNameByCode","nameLabelId","ScrollEffect","targetRef","scrollIntoView","behavior","block","MoitoIOTRegistrationCodeValidator","DownloadZippedContent","extension","JSZip","loadAsync","zip","internalFileName","async","fileData","fileNameToDownload","TagsManager","stringValues","setStringValues","editable","customStyle","setValues","inputValue","setInputValue","vals","parseInput","remove_icon","color","before","after","removeTag","onKeyDown","DBQueryCSVExport","queryStr","fields","headers","isGenerating","setIsGenerating","replacer","csv","LookupField","sortFields","sortDirections","isClearable","isPublicApi","filterFunc","wildcards","and","wc","wildcard","promise","variables","authMode","mock","isDisabled","CSVExport","LicenseReport","retailStoreLicenses","setData","opened","setOpened","selectedTenantId","setSelectedTenantId","byLicense","rsl","setAutorenewIsLoadingId","columns","dataField","formatter","columnFormatters","formatExtraData","rslId","fwDownloadColumns","getColumnsByLicenseId","defaultPartnerCode","shortCode","ecrCompanyVat","LoadingCard","records","wrapperClasses","bordered","bootstrap4","keyField","LoadingDialog","Card","UIContext","titleId","Filter","Grouping","Table","otherButtons","UIProps","newButtonClick","isValidElement","icon","labelId","timeoutId","setTimeoutId","setCurrentToken","applyFilter","newQueryParams","searchText","f","prepareFilter","handleBlur","handleChange","onBlur","fullPathByType","basePath","idSlug","Route","componentProps","copy","onHide","DeleteDialog","hardDelete","statePath","Modal","centered","variant","closeButton","Title","newRecord","OpenSearchFilter","st","MultipleDeleteDialog","newRecords","selectedId","openMultipleDeleteDialog","ConstructUIEvents","UIActions","funcName","fullPath","UIRoutes","onUseEffect","sorting","selectableRow","disablePaginator","currentToken","nextPage","prevPage","sortedEntities","paginationOptions","custom","sizePerPageList","remote","defaultSorted","onTableChange","selectRow","pagination","paginationFactory","paginationProps","paginationTableProps","Pagination","enableNextPage","enablePrevPage","InitialFilters","actionsPreset","ActionsColumnFormatter","iconClassNames","ActionsColumn","minWidth","EnabledColumnFormatter","toggleEnabled","EnableColumn","ColorColumnFormatter","box","background","DDMMYYYYColumnFormatter","CreatedAtColumnFormatter","Barcode","querySelectorAll","childNodes","setAttribute","removeAttribute","stripeAccountId","myInit","post","StripeConnect","authActions","isModalOpen","setIsModalOpen","showError","setShowError","stripeRegistrationCompleted","onboard","redirect","AddressMap","initialCenter","latitude","longitude","lat","lng","google","zoom","disableDefaultUI","zoomControl","margin","scaleControl","keyboardShortcuts","GoogleApiWrapper","apiKey","searchComponent","addressComponents","comp","types","short_name","composeAddressObject","placeId","AddressAutocompleteInput","showMap","useGoogle","placesService","placePredictions","getPlacePredictions","isPlacePredictionsLoading","place","setPlace","searchString","setSearchString","isLoadingDefaultAddress","setIsLoadingDefaultAddress","getDetails","placeDetails","place_id","details","formatted_address","addr","address_components","suggestions","onSuggestionsFetchRequested","onSuggestionsClearRequested","getSuggestionValue","renderSuggestion","suggestion","onSuggestionSelected","inputProps","geometry","fill","_","Arrow","flexDirection","justifyContent","marginTop","userSelect","LeftScrollerArrow","VisibilityContext","isFirstItemVisible","scrollPrev","visibleElements","initComplete","setDisabled","RightScrollerArrow","isLastItemVisible","scrollNext","HourMinuteTimePicker","maxHour","minHour","minuteSteps","setHour","setMinute","paddedHour","paddedMinute","CustomerPurchaseHistory","fetchObjectsByCustomer","receipt","moitoIotDatetime","lines","line","comment","quantity","amount","useStyles","makeStyles","root","flexGrow","TimeProgressBar","completed","setCompleted","oldCompleted","UPDATE_REFRESH_MS","LinearProgress","PdfDocument","numPages","setNumPages","setPageNumber","pdfPath","setPdfPath","goToPrevPage","goToNextPage","renderBackNext","useRef","onResize","useCallback","clientWidth","onLoadSuccess","onItemClick","noData","scale","EnvName","showProd","env","host","patterns","dev","prod","EnvironmentType","isMobile","ToItalianTimeColumnFormatter","MoitoIotImageCarousel","fetchPromise","didMount","useInterval","savedCallback","GetDefaultValueById","CustomizableLookupField","onInputChange","newInputValue","PaginationLinks","onPageChange","handlePrevPage","handleNextPage","veg","bio","dyn","ice","low","15","alc","10","11","12","13","14","inputLabel","customFeedbackLabel","FieldFeedbackLabel","selectLabel","_body","_offcanvasObject","insideTm","outsideTm","offcanvasClass","scrollUpdate","scrollTop","DateDiffDays","diffTime","abs","setCurrentTenantAsync","lastPrevElement","itemsToAppend","original","KTCookie","getCookie","matches","cookie","RegExp","decodeURIComponent","setCookie","expires","toUTCString","updatedCookie","encodeURIComponent","optionKey","hasOwnProperty","optionValue","deleteCookie","customQuery","customQueries","listRetailStoreLicenses","findObjectsByRetailStore","sortDirection","findObjectsByLicenseRetailStore","createRetailStoreLicense","updateRetailStoreLicense","sliceActions","fetchActiveLicensesByECRId","fetchActiveRtUtilityLicensesByECRId","total","fetchObjects","fetchObjectsByRetailStore","fetchObjectsByPartner","partnerId","retailStoreLicensesByPartner","fetchObjectsByTenant","fetchAllActiveDealerUserLicenses","licenseIds","deleteRetailStoreLicense","updates","fetchActiveLicensesByMoitoIotId","moitoIotId","fetchActiveLicensesByRetailStoreAndMoitoIot","fetchAllExpiringLicenses","todayPlus30","checkActiveRetailStoreLicensesExistance","fetchActiveLicensesByRetailStore","fetchObjectsByTenantNoRedux","fetchAllExpiringLicensesByRange","range","retailStoreLicensesByLicenseRetailStore","fetchActiveMoitoIotLicensesByStoreIds","storeIds","listReceipts","receiptsByRetailStore","variantsByTenantSorting","receiptsByCustomer","itemMoitoIotLogicalPrinterByLogicalPrinter","itemVariantGroupsByVariantGroup","getCurrency","listCurrencys","getECRConfigurationFavorite","listECRConfigurationFavorites","getPartnerNote","listPartnerNotes","getRtUtilityLog","listRtUtilityLogs","configurationFavoritesByPartner","partnerNotesByPartner","rtUtilityLogsByPartner","getUser","listUsers","getPartnershipRequest","listPartnershipRequests","getLicense","listLicenses","getAppSettings","listLicenseRequests","licenseRequestsByRetailStore","getPrivilege","getPrivilegePrivilegeGroup","listPrivilegePrivilegeGroups","getPrivilegeGroup","getTenantUser","listTenantUsers","tenantUsersByUser","getUserPrivilege","listUserPrivileges","userPrivilegesByUser","userPrivilegesByPrivilege","getUserLicense","listUserLicenses","userLicensesByUser","userLicensesByLicense","userLicensesByTenant","retailStoreLicensesByLicense","getParty","listPartys","getSalesOrder","listSalesOrders","salesOrdersByRetailStore","getSalesOrderLine","listSalesOrderLines","salesOrderLinesBySalesOrder","listItems","itemsByTenant","itemsByName","itemsByExternalId","searchItems","getItemItemGroup","listItemItemGroups","itemItemGroupsByItem","itemItemGroupsByItemGroup","itemItemGroupsByTenant","getItemGroup","listItemGroups","itemGroupsByTenant","itemGroupsByExternalId","itemGroupsByName","searchItemGroups","getItemPriceList","listItemPriceLists","itemPriceListsByItem","itemPriceListsByPriceList","itemPriceListsByTenant","getPriceList","listPriceLists","priceListsByTenant","priceListsByRetailStore","getRetailStore","listRetailStores","retailStoresByTenant","retailStoresByPartner","getRetailStoreRoom","listRetailStoreRooms","retailStoreRoomsByRetailStore","getRetailStoreLocation","listRetailStoreLocations","retailStoreLocationsByRetailStoreRoom","retailStoreLocationsByRetailStore","retailStoreLocationsByRetailStoreName","getUserRetailStore","listUserRetailStores","userRetailStoresByUser","userRetailStoresByRetailStore","getNotification","listNotifications","notificationsByTenant","notificationsByUser","getInvoiceSectional","listInvoiceSectionals","invoiceSectionalsByTenant","invoiceSectionalsByRetailStore","getSalesInvoice","listSalesInvoices","salesInvoicesByTenant","salesInvoicesByTenantSortData","salesInvoicesByRetailStore","salesInvoicesByCustomer","getSalesInvoiceLine","listSalesInvoiceLines","salesInvoiceLinesBySalesInvoice","getEInvoiceTransmission","listEInvoiceTransmissions","einvoiceTransmissionsByRetailStore","einvoiceTransmissionsBySalesInvoice","getElectronicCashRegister","listElectronicCashRegisters","electronicCashRegistersByTenant","electronicCashRegistersByRetailStore","electronicCashRegistersByPartner","electronicCashRegistersByNumber","electronicCashRegistersByDigitalCashRegister","searchElectronicCashRegisters","getECRConfiguration","listECRConfigurations","ecrConfigurationsByNumber","getECRDailySales","listECRDailySaless","ecrDailySalesByElectronicCashRegisterId","getECRDailyTech","listECRDailyTechs","ecrDailyTechsByNumber","getECRTechIntervention","listECRTechInterventions","ecrTechInterventionsByPartner","ecrTechInterventionsByNumber","searchECRTechInterventions","getECRError","listECRErrors","ecrErrorsByPartner","ecrErrorsByNumber","searchECRErrors","getFirmware","listFirmwares","getFirmwareUpgradeHeader","listFirmwareUpgradeHeaders","firmwareUpgradeHeadersByTenant","firmwareUpgradeHeadersByFirmware","firmwareUpgradeHeadersByTenantSortDatetime","getFirmwareUpgradeLine","listFirmwareUpgradeLines","firmwareUpgradeLinesByHeader","firmwareUpgradeLinesByNumber","getCertificate","listCertificates","getCommunication","listCommunications","getFirmwareStat","listFirmwareStats","getMoitoIot","listMoitoIots","moitoIotsByTenant","moitoIotsByRetailStore","moitoIotsByPartner","moitoIotsByCode","searchMoitoIots","getMoitoIotAppVersion","listMoitoIotAppVersions","moitoIotAppVersionsByAdmin","getPurchInvoice","listPurchInvoices","purchInvoicesByTenant","purchInvoicesByVendor","getPublishedMoitoIotMessage","listPublishedMoitoIotMessages","publishedMoitoIotMessagesByDeviceId","getReceivedMoitoIotMessage","listReceivedMoitoIotMessages","receivedMoitoIotMessageByDeviceId","getVatRate","listVatRates","vatRatesByTenant","vatRatesByTenantSorting","getDepartment","listDepartments","departmentsByTenant","departmentsByTenantSorting","getVariant","listVariants","variantsByTenant","getModifier","listModifiers","modifiersByTenant","getVariantGroup","listVariantGroups","variantGroupsByTenant","variantGroupsByTenantSorting","getVariantVariantGroup","listVariantVariantGroups","variantVariantGroupsByTenant","variantVariantGroupsByVariant","getVariantModifier","listVariantModifiers","variantModifiersByTenant","variantModifiersByVariant","getMoitoIotOperator","listMoitoIotOperators","moitoIotOperatorsByTenant","moitoIotOperatorsByRetailStore","getDiscountSurcharge","listDiscountSurcharges","discountSurchargesByTenant","discountSurchargesByTenantSorting","getPhase","listPhases","phasesByTenant","phasesByTenantSorting","getItemVariantGroup","listItemVariantGroups","itemVariantGroupsByTenant","itemVariantGroupsByItem","getMoitoIotPhysicalPrinter","listMoitoIotPhysicalPrinters","moitoIotPhysicalPrintersByTenant","moitoIotPhysicalPrintersByRetailStore","getMoitoIotLogicalPrinter","listMoitoIotLogicalPrinters","moitoIotLogicalPrintersByTenant","moitoIotLogicalPrintersByRetailStore","getItemMoitoIotLogicalPrinter","listItemMoitoIotLogicalPrinters","itemMoitoIotLogicalPrinterByTenant","itemMoitoIotLogicalPrinterByRetailStore","itemMoitoIotLogicalPrinterByItem","getReceipt","receiptsByTenant","receiptsByMoitoIot","getPayment","listPayments","paymentsByTenant","paymentsByTenantSorting","getReceiptPayment","listReceiptPayments","receiptPaymentsByTenant","receiptPaymentsByReceipt","getReceiptLine","listReceiptLines","receiptLinesByTenant","receiptLinesByReceipt","getReceiptVat","listReceiptVats","receiptVatsByTenant","receiptVatsByReceipt","getReceiptLineVariant","listReceiptLineVariants","receiptLineVariantsByTenant","receiptLineVariantsByReceiptLine","getMoitoIotMessageFilter","listMoitoIotMessageFilters","moitoIotMessageFiltersByDeviceId","getECRPendingXML","listECRPendingXMLs","ecrPendingXMLsByElectronicCashRegister","ecrPendingXMLsByPartner","getCalendarEventType","listCalendarEventTypes","calendarEventTypeByTenant","calendarEventTypeByRetailStore","getCalendarEvent","listCalendarEvents","calendarEventByUser","calendarEventByCustomer","getECRAdvMessage","listECRAdvMessages","ecrAdvMessagesByElectronicCashRegister","ecrAdvMessagesByPartner","getLoyaltyCard","listLoyaltyCards","loyaltyCardsByTenant","loyaltyCardsByCustomer","getOperator","listOperators","operatorsByTenant","operatorsByRetailStore","getCalendarEventItem","listCalendarEventItems","calendarEventItemsByItem","calendarEventItemsByCalendarEvent","calendarEventItemsByTenant","calendarEventItemsByRetailStore","getCalendarEventItemVariant","listCalendarEventItemVariants","calendarEventItemVariantsByCalendarEventItem","calendarEventItemVariantsByTenant","calendarEventItemVariantsByRetailStore","getEJProgramming","listEJProgrammings","ejProgrammingsByNumber","ejProgrammingsByTenant","searchEJProgrammings","getECRNumber","listECRNumbers","getOpticalFile","listOpticalFiles","opticalFilesByRetailStore","opticalFilesByTenant","getInventoryMovement","listInventoryMovements","inventoryMovementsByRetailStore","inventoryMovementsByTenant","inventoryMovementsByItem","getBarcode","listBarcodes","barcodesByTenant","barcodesByItem","getMoitoIotFrontendConfigurations","listMoitoIotFrontendConfigurationss","frontendConfigurationsByTenant","frontendConfigurationsByRetailStore","frontendConfigurationsByOperator","getTobacco","listTobaccos","tobaccosByTenantSortValidFrom","getVendor","listVendors","vendorsByTenant","vendorsByCompanyVat","searchVendors","getCostCenter","listCostCenters","costCentersByTenant","getDigitalCashRegister","listDigitalCashRegisters","digitalCashRegistersByTenant","digitalCashRegistersByPartner","digitalCashRegistersByNumber","digitalCashRegistersByInvitationCode","FileToBase64","onerror","CardHeaderTitle","CardHeaderToolbar","CardHeader","sticky","labelRef","top","setTop","windowHeight","setWindowHeight","handleResize","headerElement","querySelector","subheaderElement","headerMobileElement","nextMarginTop","getComputedStyle","offsetHeight","isFragment","CardBody","fit","fluid","fluidHeight","getFieldCSSClasses","form","withFeedbackLabel","autoComplete","onWheel","blur","Select","useField","meta","erros","AnimateLoading","routeChanged","nextProps","animate","scrollToTop","scrollToTopBtn","animateTimeout","stopAnimate","animateInterval","stopAnimateTimeout","ProgressBar","now","withRouter","initCssClasses","cssClasses","setCssClasses","node","ModalProgressBar","animated","_menuElement","_offcanvasElement","offcanvasId","slideSpeed","getMenuElement","getOffcanvasElement","getByTagName","len","closest","parentNode","getSubmenuMode","hideDropdowns","autoScroll","autoScrollSpeed","reset","eventHandlers","pauseDropdownHoverTime","uid","getUniqueID","resetSubmenuProps","handleSubmenuAccordion","isConditionalSubmenuDropdown","handleSubmenuDrodownHoverEnter","handleSubmenuDrodownHoverExit","handleSubmenuDropdownClick","handleSubmenuDropdownTabClick","handleLinkClick","off","scrollDestroy","windowScroll","hasAttr","isset","hasClasses","submenus","findAll","resumeDropdownHover","getAttribute","showSubmenuDropdown","hideSubmenuDropdown","hideSubmenuDropdowns","handleSubmenuDropdownClose","shown","li","child","subnav","closables","el_","submenu_","slideUp","slideDown","scrollToItem","scrollTo","classAlso","j","cnt","createSubmenuDropdownClickDropoff","dropoff","resetActiveItem","parents","i_","len_","setActiveItem","getBreadcrumbs","submenuLink","reverse","getPageTitle","removeEvent","scrollReInit","hideDropdown","toggleOn","toggleOff","_object","KTCard","pos","left","card","cardWidth","initSticky","updateSticky","findObjectsByUser","createNotification","updateNotification","qp","af","op","Element","prototype","msMatchesSelector","webkitMatchesSelector","ancestor","documentElement","parentElement","elem","removeChild","lastTime","requestAnimationFrame","cancelAnimationFrame","currTime","timeToCall","Document","DocumentFragment","defineProperty","configurable","enumerable","writable","argArr","arguments","docFrag","createDocumentFragment","argItem","isNode","Node","createTextNode","String","insertBefore","firstChild","KTUtilElementDataStore","KTUtilElementDataStoreID","KTUtilDelegatedEventHandlers","resizeHandlers","_windowResizeHandler","throttle","timer","_runResizeHandlers","settings","removeResizeHandler","runResizeHandlers","resize","Event","dispatchEvent","evt","createEvent","initUIEvent","getURLParam","paramName","unescape","getBreakpoint","isDesktopDevice","isInResponsiveRange","breakpoint","prefix","stone","Error","shift","getHighestZindex","isNaN","hasFixedPositionedParent","milliseconds","start","getRandomInt","min","isAngularVersion","Zone","out","extend","getByTag","getElementsByTagName","getByClass","classesArr","trim","classNames","triggerCustomEvent","eventName","CustomEvent","detail","initCustomEvent","triggerEvent","doc","ownerDocument","nodeType","eventClass","bubbles","initEvent","synthetic","fireEvent","createEventObject","eventTriggered","currentTarget","dataset","triggered","parent","referenceNode","nextSibling","selector","matchesSelector","mozMatchesSelector","oMatchesSelector","l","p","customDataTag","outerWidth","offsetWidth","rect","win","getClientRects","getBoundingClientRect","defaultView","pageYOffset","pageXOffset","removeAttr","duration","easing","done","easings","linear","rAF","change","performance","loop","timestamp","actualCss","prop","cache","HTMLElement","cssText","actualWidth","getScroll","method","browserSupportsBoxModel","styleProp","getPropertyValue","currentStyle","letter","oldLeft","oldRsLeft","runtimeStyle","pixelLeft","slide","dir","recalcMaxHeight","calcHeight","calcPaddingTop","calcPaddingBottom","paddingTop","paddingBottom","overflow","eventId","targets","callee","animateClass","animationName","animation","animations","OAnimation","MozAnimation","WebkitAnimation","msAnimation","transitionEnd","transition","transitions","OTransition","MozTransition","WebkitTransition","msTransition","animationEnd","animateDelay","animateDuration","targetPos","scrollPos","attachEvent","readyState","isEmpty","numberString","nStr","x1","x2","rgx","detectIE","ua","msie","rv","edge","isRTL","html","ps","Function","destroy","desktopNativeScroll","PerfectScrollbar","swipeEasing","minScrollbarLength","maxScrollbarLength","suppressScrollX","scrollUpdateAll","scrollers","resetAll","setProperty","setHTML","getHTML","getDocumentHeight","scrollHeight","clientHeight","getScrollTop","scrollingElement","colorDarken","subtractLight","colorLighten","addLight","func","debounce","KTAppSettings","createCalendarEventType","updateCalendarEventType","showTopText","border","customOnClick","rtUtilityInactive","findObjectsByDefaultPartnerCode","updateTenant","fetchObjectsByDefaultPartnerCode","getByShortCode","vatNum","checkEnabled","newObject","decrementCashRegisterCount","cashRegisterCount","decrementMoitoIotCount","moitoIotCount","fetchEventTypes","createAsyncThunk","updateColor","eventTypesSlice","extraReducers","pending","fulfilled","rejected","selectEntities","selectLoading","setEventTypes","searchCustomer","getByFiscalCode","getByMobile","deleteUser","updatePartnershipRequest","createLicense","updateLicense","updateLicenseRequest","updateTenantUser","deleteTenantUser","updateUserPrivilege","deleteUserPrivilege","deleteSalesOrder","deleteItem","deleteItemGroup","deleteItemPriceList","deletePriceList","deleteRetailStore","deleteRetailStoreRoom","deleteRetailStoreLocation","updateUserRetailStore","deleteUserRetailStore","deleteInvoiceSectional","deleteSalesInvoice","deleteEInvoiceTransmission","deleteElectronicCashRegister","createECRConfigurationFavorite","updateECRConfigurationFavorite","updatePartnerNote","createFirmware","createCertificate","updateCertificate","createCommunication","deleteMoitoIot","createMoitoIotAppVersion","deleteMoitoIotAppVersion","deletePurchInvoice","deleteVatRate","deleteDepartment","deleteVariant","deleteModifier","deleteVariantGroup","deleteMoitoIotOperator","deleteDiscountSurcharge","deletePhase","deleteMoitoIotPhysicalPrinter","deleteMoitoIotLogicalPrinter","deletePayment","deleteOperator","deleteVendor","deleteCostCenter","createUser","updateUser","createPartnershipRequest","deletePartnershipRequest","updateAppSettings","createLicenseRequest","deleteLicenseRequest","createTenantUser","createUserPrivilege","createUserLicense","deleteUserLicense","createSalesOrder","updateSalesOrder","createSalesOrderLine","updateSalesOrderLine","deleteSalesOrderLine","createItemItemGroup","updateItemItemGroup","deleteItemItemGroup","createItemGroup","updateItemGroup","createItemPriceList","updateItemPriceList","createPriceList","updatePriceList","createRetailStore","updateRetailStore","createRetailStoreRoom","updateRetailStoreRoom","createRetailStoreLocation","updateRetailStoreLocation","createUserRetailStore","createInvoiceSectional","updateInvoiceSectional","createSalesInvoice","updateSalesInvoice","createSalesInvoiceLine","updateSalesInvoiceLine","deleteSalesInvoiceLine","createEInvoiceTransmission","updateEInvoiceTransmission","createElectronicCashRegister","updateElectronicCashRegister","createECRConfiguration","updateECRConfiguration","createPartnerNote","updateFirmware","createFirmwareUpgradeHeader","updateFirmwareUpgradeHeader","createFirmwareUpgradeLine","updateFirmwareUpgradeLine","createRtUtilityLog","updateCommunication","createMoitoIot","updateMoitoIot","updateMoitoIotAppVersion","createPurchInvoice","updatePurchInvoice","createVatRate","updateVatRate","createDepartment","updateDepartment","createVariant","updateVariant","createModifier","updateModifier","createVariantGroup","updateVariantGroup","createVariantVariantGroup","updateVariantVariantGroup","deleteVariantVariantGroup","createVariantModifier","updateVariantModifier","deleteVariantModifier","createMoitoIotOperator","updateMoitoIotOperator","createDiscountSurcharge","updateDiscountSurcharge","createPhase","updatePhase","createItemVariantGroup","updateItemVariantGroup","deleteItemVariantGroup","createMoitoIotPhysicalPrinter","updateMoitoIotPhysicalPrinter","createMoitoIotLogicalPrinter","updateMoitoIotLogicalPrinter","createItemMoitoIotLogicalPrinter","updateItemMoitoIotLogicalPrinter","deleteItemMoitoIotLogicalPrinter","createPayment","updatePayment","updateECRPendingXML","deleteCalendarEvent","createECRAdvMessage","updateECRAdvMessage","createLoyaltyCard","updateLoyaltyCard","createOperator","updateOperator","createCalendarEventItem","updateCalendarEventItem","deleteCalendarEventItem","createEJProgramming","updateEJProgramming","deleteEJProgramming","createOpticalFile","updateOpticalFile","createBarcode","updateBarcode","deleteBarcode","createTobacco","updateTobacco","deleteTobacco","createVendor","updateVendor","createCostCenter","updateCostCenter","updateDigitalCashRegister","maxPlu","endpoint","Auth","currentSession","Authorization","getAccessToken","getJwtToken","addNotification","readAllNotifications","notifyLicenseRequest","accountantEcrDailySalesByElectronicCashRegisterId","findObjectsByElectronicCashRegisterId","fetchObjectsByElectronicCashRegisterId","fetchAllObjectsByMultipleElectronicCashRegisterId","ecrIds","createCognitoUser","groups","temporaryPassword","addUserToGroups","Username","groupname","apiName","getUserByEmailOrPhone","attribute","DurationColumnFormatter","durationDiff","timeSpentPerc","striped","sessionId","customerName","ordinationsPassword","initialData","setSessionId","setCustomerName","setOrdinationsPassword","initialDataFetched","readWithFilter","fetchOnEffectEvents","thunkAPI","fetchPrevEvents","fetchCurrentEvents","fetchNextEvents","eventsSlice","pop","selectNextToken","selectCurrentToken","selectPrevToken","setCustomerId","setPassword","fetchObjectsByCompanyVat","bulkTenantCreation","approveLicenseRequest","approvePartnershipRequest","completeRegistration","upgradePlan","newPlanValue","importPrices","fromPriceList","toPriceLists","requestMoitoIotLicense","requestMoitoIotUpdateSublicenses","migrateData","newCode","oldCode","deleteData","tables","requestAccountDeactivation","checkEcrNumber","checkMoitoIotCode","requestRTUtilityLicense","checkShortCode","checkLicenseExistance","generatePreSignedURL","function","isLicenseRequestable","otherParams","checkVatNumber","autocompleteRegistration","translateAll","recordId","translate","createFidelityCard","listS3Objects","createAccountant","congnitoRest","cognitoUsername","manageAccountantTenants","sendEventNotification","createEjProgramming","setOldEjExpDate","canCreateEjProgramming","createOpticalFromXml","sendOpticalFile","checkUserExistance","deleteS3Object","generateLicensesByDealer","setFilePublic","downloadEnowebItems","downloadOpticalFiles","deleteEnowebItems","saveTobaccoFile","record","sendPendingEventNotification","copyItemAssociations","sourceItemId","destinationItemId","currentLocationSorting","rearrangeRecords","tableName","triggerMoitoIotMessages","getCashRegisterTags","sendMoitoIotReportEmail","fromDatetime","toDatetime","bulkUpdateRecords","complexFilterRecords","removeAllAutorenew","notifyDailySales","dailySalesId","sendHappyInvitation","digitalCashRegisterId","translateError","BLOCKED_LOGIN_ERROR","authError","getAllUserData","throwError","getUserResponse","setUserType","login","signIn","challengeName","u","payl","defaultTenantUserData","logout","storeActions","tenantActions","cashRegisterActions","currentAuthenticatedUser","currentAuthUser","userSession","session","setNewPassword","completeNewPassword","newCognitoUser","signOut","signUp","userConfirmed","initializeSocialSignIn","providerName","federatedSignIn","doSocialSignIn","waitForCurrentAuthenticatedUser","userData","cancelRegistration","confirmRegistration","confirmSignUp","resendConfirmationCode","resendSignUp","forgotPassword","confirmForgotPassword","forgotPasswordSubmit","updateLoggedUserParty","mutations","refreshCurrentUser","oldPassword","updateTenantParty","newTenant","incrementItemSorting","incrementItemGroupSorting","UploadProtectedFile","buffer","Buffer","stores","setTenantData","setStoreData","addStoreData","updateStoreData","storeData","deskData","storeDataFetched","deskDataFetched","addOnCart","itemId","qty","notes","unitPrice","removeItemFromCart","cleanCart","setCart","setCartOrderType","orderType","setCartTime","setPaymentType","paymentType","setPhoneNumber","phoneNumber","setCartCustomerName","setCustomerSurname","customerSurname","setCustomerAddress","customerAddress","customerCountry","customerCounty","customerMunicipality","customerZipCode","customerAddressPlaceId","setAddressNote","customerAddressNotes","defaultVersion","cashRegisterId","cashRegisterNumber","cashRegister","setTenant","setRetailStore","setCashRegisterId","setCashRegisterNumber","setCashRegister","_toggleObject","getToggle","onToggle","showAside","showBackButton","plu","no","price","discType","percentFlag","discount","pluidx","group","freePrice","inputQty","acCodeIdx","TaxIdx","systemFlag","Beep","discountinfo","subflag","subdiscount","discount1","discount2","discount3","discount4","HeadrInfo","Lunghezza","msg","doubleHigh","TAX","taxid","rate","tail","prtFlag","tailSpaceLine","PrnDensity","advertMsg","clerk","macro","currency","Ateco","omaggio","PayKey","varie","SetPsw","printReportFlag","Finanziario","barcodeType","fpflag","fptype","BaudRate","programkey","programkey0","programkey1","urlData","z_report_url","lottery_file_url","ssl_crt_filepath","xml_crt_filepath","lotteryStartDate","serverServices","footerlogo","DefaultConfiguration","lastContent","version","setLastConfiguration","setCurrentConfiguration","setPlu","setVersion","setChecked","toggleEntity","updatePlu","newValues","updateConfiguration","moitoIotQueries","findObjectsByMoitoIot","findObjectsByCustomer","fetchObjectsByMoitoIot","toggleSpeed","releseOnReverse","onScrollSticky","resetSticky","setContent","getSelf","expand","collapse","destroySticky","handle","hasAttribute"],"mappings":";obASO,IAAMA,EAAgB,SAAAC,GAAQ,MAAIC,GAAyBD,GC2C3D,SAASE,EAAcC,EAAUC,GACpC,IAAMC,EALH,SAAuBF,G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A,ICnCD,OACb,CACE9tB,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,YAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,SAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,QAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,eAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,SAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,QAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,SAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,SAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,YAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,SAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,iBAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,mBAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,mBAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,YAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,iBAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,iBAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,SAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,QAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,aAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,YAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,QAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,wBAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,aAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,YAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,YAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,gBAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,cAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,aAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,QAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,SAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,aAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,YAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,SAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,SAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,QAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,mBAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,SAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,YAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,QAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,aAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,SAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,mBAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,SAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,SAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,YAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,gBAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,UAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,SAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,WAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,yBAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,iBAER,CACEjG,MAAO,KACPovB,MAAO,KACPnpB,KAAM,YC9gBH,SA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EAAI4B,YAAc,SAAS34B,GACvBi3B,EAAiBj3B,GAMrB+2B,EAAI/B,GAAK,SAAS9zB,EAAMs3B,GACpB,OAAOrB,EAAOS,SAAS12B,EAAMs3B,IAOjCzB,EAAIwB,IAAM,SAASr3B,EAAMs3B,GACrB,OAAOrB,EAAOS,SAAS12B,EAAMs3B,GAAS,IAQ1CrB,EAAOC,UAAUwB,MAAM7B,EAAK,CAAC/2B,KAGtB,EAGA+2B,M","file":"static/js/main.45c34124.chunk.js","sourcesContent":["export function removeCSSClass(ele, cls) {\n const reg = new RegExp(\"(\\\\s|^)\" + cls + \"(\\\\s|$)\");\n ele.className = ele.className.replace(reg, \" \");\n}\n\nexport function addCSSClass(ele, cls) {\n ele.classList.add(cls);\n}\n\nexport const toAbsoluteUrl = pathname => process.env.PUBLIC_URL + pathname;\n","import * as utils from \"./LocalStorageHelpers\";\n\nconst localStorageLastLocationKey = \"metronic-lastLocation\";\n\nfunction acceptLocation(lastLocation) {\n if (\n lastLocation &&\n lastLocation.pathname &&\n lastLocation.pathname !== \"/\" &&\n lastLocation.pathname.indexOf(\"auth\") === -1 &&\n lastLocation.pathname !== \"/logout\"\n ) {\n return true;\n }\n\n return false;\n}\n\nexport function saveLastLocation(lastLocation) {\n if (acceptLocation(lastLocation)) {\n utils.setStorage(\n localStorageLastLocationKey,\n JSON.stringify(lastLocation),\n 120\n );\n }\n}\n\nexport function forgotLastLocation() {\n utils.removeStorage(localStorageLastLocationKey);\n}\n\nexport function getLastLocation() {\n const defaultLocation = { pathname: \"/\", title: \"Dashboard\"};\n const localStorateLocations = utils.getStorage(localStorageLastLocationKey);\n if (!localStorateLocations) {\n return { pathname: \"/\", title: \"Dashboard\"};\n }\n\n try {\n const result = JSON.parse(localStorateLocations);\n return result;\n } catch (error) {\n console.error(error);\n return defaultLocation;\n }\n}\n\nexport function getCurrentUrl(location) {\n return location.pathname.split(/[?#]/)[0];\n}\n\nexport function checkIsActive(location, url) {\n const current = getCurrentUrl(location);\n if (!current || !url) {\n return false;\n }\n\n if (current === url) {\n return true;\n }\n\n if (current.indexOf(url) > -1) {\n return true;\n }\n\n return false;\n}\n","/* Pagination Helprs */\nimport React from \"react\";\n\nexport const getPagesCount = (totalSize, sizePerPage) => {\n return Math.ceil(totalSize / sizePerPage);\n};\n\nexport const getPages = (page, pagesCount, paginationSize) => {\n const result = [];\n if (!page) {\n return result;\n }\n\n if (pagesCount === 1) {\n result.push(1);\n return result;\n }\n\n if (pagesCount < page) {\n return result;\n }\n\n if (pagesCount < paginationSize + 1) {\n for (let i = 1; i < pagesCount + 1; i++) {\n result.push(i);\n }\n return result;\n }\n\n if (page === 1) {\n for (let i = 1; i < paginationSize + 1; i++) {\n if (i < pagesCount) {\n result.push(i);\n }\n }\n return result;\n }\n\n if (page === pagesCount) {\n for (let i = pagesCount - paginationSize + 1; i <= pagesCount; i++) {\n if (i <= pagesCount) {\n result.push(i);\n }\n }\n return result;\n }\n\n const shiftCount = Math.floor(paginationSize / 2);\n if (shiftCount < 1) {\n result.push(page);\n return result;\n }\n\n //\n if (page < shiftCount + 2) {\n for (let i = 1; i < paginationSize + 1; i++) {\n result.push(i);\n }\n return result;\n }\n\n if (pagesCount - page < shiftCount + 2) {\n for (let i = pagesCount - paginationSize; i < pagesCount + 1; i++) {\n result.push(i);\n }\n return result;\n }\n\n for (let i = page - shiftCount; i < page; i++) {\n if (i > 0) {\n result.push(i);\n }\n }\n result.push(page);\n for (let i = page + 1; i < page + shiftCount + 1; i++) {\n if (i <= pagesCount) {\n result.push(i);\n }\n }\n\n return result;\n};\n\nexport function getHandlerTableChange(setQueryParams) {\n return (type, { page, sizePerPage, sortField, sortOrder, data }) => {\n const pageNumber = page || 1;\n setQueryParams((prev) =>\n type === \"sort\"\n ? { ...prev, sortOrder, sortField }\n : type === \"pagination\"\n ? { ...prev, pageNumber, pageSize: sizePerPage }\n : prev\n );\n };\n}\n\nexport function PleaseWaitMessage({ entities }) {\n return <>{entities === null &&
Please wait...
};\n}\n\nexport function NoRecordsFoundMessage({ entities }) {\n const customersList = entities === null ? [] : entities;\n return (\n <>\n {customersList.length === 0 && entities !== null && (\n
No records found
\n )}\n \n );\n}\n","import React from \"react\";\n\nfunction SelectionCheckbox({ isSelected, onChange }) {\n return (\n <>\n \n \n \n );\n}\n\nfunction groupingItemOnSelect(props) {\n const { ids, setIds, customerId } = props;\n if (ids.some((id) => id === customerId)) {\n setIds(ids.filter((id) => id !== customerId));\n } else {\n const newIds = [...ids];\n newIds.push(customerId);\n setIds(newIds);\n }\n}\n\nfunction groupingAllOnSelect(props) {\n const { isSelected, setIds, entities } = props;\n if (!isSelected) {\n const allIds = [];\n entities.forEach((el) => allIds.push(el.id));\n setIds(allIds);\n } else {\n setIds([]);\n }\n\n return isSelected;\n}\n\n// check official documentations: https://react-bootstrap-table.github.io/react-bootstrap-table2/storybook/index.html?selectedKind=Row%20Selection&selectedStory=Custom%20Selection%20Column%20Header%20Style&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel\nexport function getSelectRow(props) {\n const { entities, ids, setIds } = props;\n return {\n mode: \"checkbox\",\n clickToSelect: true,\n hideSelectAll: false,\n selectionHeaderRenderer: () => {\n const isSelected =\n entities && entities.length > 0 && entities.length === ids.length;\n const props = { isSelected, entities, setIds };\n return (\n groupingAllOnSelect(props)}\n />\n );\n },\n selectionRenderer: ({ rowIndex }) => {\n const isSelected = ids.some((el) => el === entities[rowIndex].id);\n const props = { ids, setIds, customerId: entities[rowIndex].id };\n return (\n groupingItemOnSelect(props)}\n />\n );\n },\n };\n}\n","/* Pagination Helprs */\nimport React from \"react\";\n\nexport const sortCaret = (order, column) => {\n if (!order) return (\n \n );\n else if (order === \"asc\")\n return (\n \n );\n else if (order === \"desc\")\n return (\n \n );\n return null;\n};\n\nexport const headerSortingClasses = (column, sortOrder, isLastSorting, colIndex) => (\n (sortOrder === 'asc' || sortOrder === \"desc\") ? 'sortable-active' : ''\n);","import objectPath from \"object-path\";\nimport {toAbsoluteUrl} from \"../../_helpers\";\n\nexport class HtmlClassService {\n // Public properties\n config;\n classes;\n attributes;\n\n /**\n * Build html element classes from layout config\n * @param layoutConfig\n */\n setConfig(layoutConfig) {\n this.config = this.preInit(layoutConfig);\n\n // scope list of classes\n this.classes = {\n header: [],\n header_container: [],\n header_mobile: [],\n header_menu: [],\n aside: [],\n aside_menu: [],\n subheader: [],\n subheader_container: [],\n content: [],\n content_container: [],\n footer_container: []\n };\n\n this.attributes = {\n aside_menu: {},\n header_mobile: {},\n header_menu: {}\n };\n\n // init base layout\n this.initLayout();\n //this.initLoader();\n\n // init header and subheader menu\n this.initHeader();\n this.initSubheader();\n\n this.initContent();\n // init aside and aside menu\n this.initAside();\n\n // init footer\n this.initFooter();\n\n // init theme\n this.initTheme();\n }\n\n preInit(layoutConfig) {\n const updatedConfig = Object.assign({}, layoutConfig);\n const headerSelfFixedDesktop = objectPath.get(updatedConfig, \"header.self.fixed.desktop\");\n const subheaderFixed = objectPath.get(updatedConfig, \"subheader.fixed\");\n if (subheaderFixed && headerSelfFixedDesktop) {\n // Page::setOption('layout', 'subheader/style', 'solid');\n updatedConfig.subheader.style = \"solid\"; \n } else {\n // Page::setOption('layout', 'subheader/fixed', false);\n updatedConfig.subheader.fixed = false;\n }\n return updatedConfig;\n }\n\n /**\n * Returns Classes\n *\n * @param path: string\n * @param toString boolean\n */\n getClasses(path, toString) {\n if (path) {\n const classes = objectPath.get(this.classes, path) || \"\";\n if (toString && Array.isArray(classes)) {\n return classes.join(\" \");\n }\n return classes.toString();\n }\n return this.classes;\n }\n\n getAttributes(path) {\n if (path) {\n const attributes = objectPath.get(this.attributes, path) || [];\n return attributes;\n }\n return [];\n }\n\n getLogo() {\n const brandSkin = objectPath.get(this.config, \"brand.self.theme\");\n if (brandSkin === \"light\") {\n return toAbsoluteUrl(\"/media/coristech/logos/dtrservice_dark.jpg\");\n } else {\n return toAbsoluteUrl(\"/media/coristech/logos/dtrservice_dark.jpg\");\n }\n }\n\n getStickyLogo() {\n let logo = objectPath.get(this.config, \"self.logo.sticky\");\n if (typeof logo === \"undefined\") {\n logo = this.getLogo();\n }\n return logo + \"\";\n }\n\n /**\n * Init Layout\n */\n initLayout() {\n const selfBodyBackgroundImage = objectPath.get(this.config, \"self.body.background-image\");\n if (selfBodyBackgroundImage) {\n document.body.style.backgroundImage = `url(\"${selfBodyBackgroundImage}'\")`;\n }\n\n const _selfBodyClass = objectPath.get(this.config, \"self.body.class\");\n if (_selfBodyClass) {\n const bodyClasses = _selfBodyClass.toString().split(\" \");\n bodyClasses.forEach(cssClass => document.body.classList.add(cssClass));\n }\n\n // Offcanvas directions\n document.body.classList.add(\"quick-panel-right\");\n document.body.classList.add(\"demo-panel-right\");\n document.body.classList.add(\"offcanvas-right\");\n }\n\n /**\n * Init Loader\n */\n //initLoader() {}\n\n /**\n * Init Header\n */\n initHeader() {\n // Fixed header\n const headerSelfFixedDesktop = objectPath.get(this.config, \"header.self.fixed.desktop\");\n if (headerSelfFixedDesktop) {\n document.body.classList.add(\"header-fixed\");\n objectPath.push(this.classes, \"header\", \"header-fixed\");\n } else {\n document.body.classList.add(\"header-static\");\n }\n\n const headerSelfFixedMobile = objectPath.get(this.config, \"header.self.fixed.mobile\");\n if (headerSelfFixedMobile) {\n document.body.classList.add(\"header-mobile-fixed\");\n objectPath.push(this.classes, \"header_mobile\", \"header-mobile-fixed\");\n }\n\n // Menu\n const headerMenuSelfDisplay = objectPath.get(this.config, \"header.menu.self.display\");\n if (headerMenuSelfDisplay) {\n const headerMenuSelfLayout = objectPath.get(this.config, \"header.menu.self.layout\");\n const headerMenuLayoutCssClass = `header-menu-layout-${headerMenuSelfLayout}`;\n objectPath.push(this.classes, \"header_menu\", headerMenuLayoutCssClass);\n\n if (objectPath.get(this.config, \"header.menu.self.root-arrow\")) {\n objectPath.push(this.classes, \"header_menu\", \"header-menu-root-arrow\");\n }\n }\n\n const headerSelfWidth = objectPath.get(this.config, \"header.self.width\");\n if (headerSelfWidth === \"fluid\") {\n objectPath.push(this.classes, \"header_container\", \"container-fluid\");\n } else {\n objectPath.push(this.classes, \"header_container\", \"container\");\n }\n }\n\n /**\n * Init Subheader\n */\n initSubheader() {\n const subheaderDisplay = objectPath.get(this.config, \"subheader.display\");\n if (subheaderDisplay) {\n document.body.classList.add(\"subheader-enabled\");\n } else {\n return;\n }\n\n // Fixed content head\n const subheaderFixed = objectPath.get(this.config, \"subheader.fixed\");\n const headerSelfFixedDesktop = objectPath.get(this.config, \"header.self.fixed.desktop\");\n if (subheaderFixed && headerSelfFixedDesktop) {\n document.body.classList.add(\"subheader-fixed\");\n // Page::setOption('layout', 'subheader/style', 'solid'); => See preInit()\n } else {\n // Page::setOption('layout', 'subheader/fixed', false); => See preInit()\n }\n\n const subheaderStyle = objectPath.has(this.config, \"subheader.style\");\n if (subheaderStyle) {\n const subheaderClass = `subheader-${subheaderStyle}`;\n objectPath.push(this.classes, \"subheader\", subheaderClass);\n }\n\n const subheaderWidth = objectPath.get(this.config, \"subheader.width\");\n if (subheaderWidth === \"fluid\") {\n objectPath.push(this.classes, \"subheader_container\", \"container-fluid\");\n } else {\n objectPath.push(this.classes, \"subheader_container\", \"container\");\n }\n\n if (objectPath.get(this.config, \"subheader.clear\")) {\n objectPath.push(this.classes, \"subheader\", \"mb-0\");\n }\n }\n\n /**\n * Init Content\n */\n initContent() {\n if (objectPath.get(this.config, \"content.fit-top\")) {\n objectPath.push(this.classes, \"content\", \"pt-0\");\n }\n\n if (objectPath.get(this.config, \"content.fit-bottom\")) {\n objectPath.push(this.classes, \"content\", \"pb-0\");\n }\n\n if (objectPath.get(this.config, \"content.width\") === \"fluid\") {\n objectPath.push(this.classes, \"content_container\", \"container-fluid\");\n } else {\n objectPath.push(this.classes, \"content_container\", \"container\");\n }\n }\n\n /**\n * Init Aside\n */\n initAside() {\n // Check Aside\n const asideSelfDisplay = objectPath.get(this.config, \"aside.self.display\");\n if (!asideSelfDisplay) {\n return;\n }\n\n // Enable Aside\n document.body.classList.add(\"aside-enabled\");\n\n // Fixed Aside\n const asideSelfFixed = objectPath.get(this.config, \"aside.self.fixed\");\n if (asideSelfFixed) {\n document.body.classList.add(\"aside-fixed\");\n objectPath.push(this.classes, \"aside\", \"aside-fixed\");\n } else {\n document.body.classList.add(\"aside-static\");\n }\n\n // Check Aside\n if (!asideSelfDisplay) {\n return;\n }\n\n // Default fixed\n if (objectPath.get(this.config, \"aside.self.minimize.default\")) {\n document.body.classList.add(\"aside-minimize\");\n }\n\n if (objectPath.get(this.config, \"aside.self.minimize.hoverable\")) {\n document.body.classList.add(\"aside-minimize-hoverable\");\n }\n\n // Menu\n // Dropdown Submenu\n const asideMenuDropdown = objectPath.get(this.config, \"aside.menu.dropdown\");\n if (asideMenuDropdown) {\n objectPath.push(this.classes, \"aside_menu\", \"aside-menu-dropdown\");\n this.attributes.aside_menu[\"data-menu-dropdown\"] = \"1\";\n }\n\n // Scrollable Menu\n this.attributes.aside_menu[\"data-menu-scroll\"] = asideMenuDropdown ? \"0\" : \"1\";\n\n const asideSubmenuDHoverTimeout = objectPath.get(\n this.config,\n \"aside.menu.submenu.dropdown.hover-timeout\"\n );\n if (asideSubmenuDHoverTimeout) {\n this.attributes.aside_menu[\n \"data-menu-dropdown-timeout\"\n ] = asideSubmenuDHoverTimeout;\n }\n }\n\n /**\n * Init Footer\n */\n initFooter() {\n // Fixed header\n if (objectPath.get(this.config, \"footer.fixed\")) {\n document.body.classList.add(\"footer-fixed\");\n }\n\n if (objectPath.get(this.config, \"footer.self.width\") === \"fluid\") {\n objectPath.push(this.classes, \"footer_container\", \"container-fluid\");\n } else {\n objectPath.push(this.classes, \"footer_container\", \"container\");\n }\n }\n\n /** Init Theme */\n initTheme() {\n const asideSelfDisplay = objectPath.get(this.config, \"aside.self.display\");\n if (!asideSelfDisplay) {\n const headerSelfTheme = objectPath.get(this.config, \"header.self.theme\");\n document.body.classList.add(`brand-${headerSelfTheme}`);\n } else {\n const brandSelfTheme = objectPath.get(this.config, \"brand.self.theme\");\n document.body.classList.add(`brand-${brandSelfTheme}`);\n }\n }\n}\n","import React, { createContext, useContext, useMemo } from \"react\";\nimport { getInitLayoutConfig } from \"./LayoutConfig\";\nimport { HtmlClassService } from \"./HTMLClassService\";\n\nconst LAYOUT_CONFIG_KEY =\n process.env.REACT_APP_LAYOUT_CONFIG_KEY || \"LayoutConfig\";\n\nfunction getConfig() {\n const ls = localStorage.getItem(LAYOUT_CONFIG_KEY);\n if (ls) {\n try {\n return JSON.parse(ls);\n } catch (er) {\n console.error(er);\n }\n }\n return getInitLayoutConfig();\n}\n\n// Side effect\nexport function setLayoutConfig(config) {\n localStorage.setItem(LAYOUT_CONFIG_KEY, JSON.stringify(config));\n window.location.reload();\n}\n\nconst HtmlClassServiceContext = createContext();\n\n/**\n *\n *\n * @export\n * @returns Layout context from 'localStorage'\n */\nexport function useHtmlClassService() {\n return useContext(HtmlClassServiceContext);\n}\n\nexport function withHtmlClassService(Component) {\n class WithHtmlClassService extends React.Component {\n static displayName = `WithHtmlClassService(${Component.displayName ||\n Component.name})`;\n\n static contextType = HtmlClassServiceContext;\n\n render() {\n return ;\n }\n }\n\n return WithHtmlClassService;\n}\n\nexport const HtmlClassServiceConsumer = HtmlClassServiceContext.Consumer;\n\nexport function MetronicLayoutProvider({ children }) {\n const lc = useMemo(getConfig, []);\n const hcs = useMemo(() => {\n const service = new HtmlClassService();\n\n service.setConfig(lc);\n\n return service;\n }, [lc]);\n\n return (\n \n {children}\n \n );\n}\n","import {toAbsoluteUrl} from \"../../_helpers\";\nexport function getInitLayoutConfig() {\n return {\n demo: \"demo1\",\n js: {\n breakpoints : {\n sm: \"576\",\n md: \"768\",\n lg: \"992\",\n xl: \"1200\",\n xxl: \"1200\"\n },\n colors: {\n theme: {\n base: {\n \"white\": \"#ffffff\",\n \"primary\": \"#6993FF\",\n \"secondary\": \"#E5EAEE\",\n \"success\": \"#1BC5BD\",\n \"info\": \"#8950FC\",\n \"warning\": \"#FFA800\",\n \"danger\": \"#F64E60\",\n \"light\": \"#F3F6F9\",\n \"dark\": \"#212121\",\n },\n light: {\n \"white\": \"#ffffff\",\n \"primary\": \"#E1E9FF\",\n \"secondary\": \"#ECF0F3\",\n \"success\": \"#C9F7F5\",\n \"info\": \"#EEE5FF\",\n \"warning\": \"#FFF4DE\",\n \"danger\": \"#FFE2E5\",\n \"light\": \"#F3F6F9\",\n \"dark\": \"#D6D6E0\",\n },\n inverse: {\n \"white\": \"#ffffff\",\n \"primary\": \"#ffffff\",\n \"secondary\": \"#212121\",\n \"success\": \"#ffffff\",\n \"info\": \"#ffffff\",\n \"warning\": \"#ffffff\",\n \"danger\": \"#ffffff\",\n \"light\": \"#464E5F\",\n \"dark\": \"#ffffff\",\n }\n },\n gray: {\n \"gray100\": \"#F3F6F9\",\n \"gray200\": \"#ECF0F3\",\n \"gray300\": \"#E5EAEE\",\n \"gray400\": \"#D6D6E0\",\n \"gray500\": \"#B5B5C3\",\n \"gray600\": \"#80808F\",\n \"gray700\": \"#464E5F\",\n \"gray800\": \"#1B283F\",\n \"gray900\": \"#212121\"\n }\n },\n fontFamily: \"Poppins\"\n },\n // == Page Splash Screen loading\n loader: {\n enabled: true,\n type: \"\", // default|spinner-message|spinner-logo\n logo: toAbsoluteUrl(\"/media/logos/logo-dark-sm.png\"),\n message: \"Please wait...\"\n },\n // page toolbar\n toolbar: {\n display: true\n },\n header: {\n self: {\n width: \"fluid\", // fixed|fluid\n theme: \"light\", // light|dark\n fixed: {\n desktop: true,\n mobile: true\n }\n },\n menu: {\n self: {\n display: true,\n layout: \"default\", // tab/default\n \"root-arrow\": false,\n \"icon-style\": \"duotone\" // duotone, line, bold, solid\n },\n desktop: {\n arrow: true,\n toggle: \"click\",\n submenu: {\n theme: \"light\", // light|dark\n arrow: true\n }\n },\n mobile: {\n submenu: {\n theme: \"dark\",\n accordion: true\n }\n }\n }\n },\n subheader: {\n display: true,\n displayDesc: false,\n displayDaterangepicker: true,\n layout: \"subheader-v1\",\n fixed: true,\n width: \"fluid\", // fixed/fluid,\n clear: false,\n style: \"solid\" // solid/transparent\n },\n content: {\n width: \"fixed\" // fluid|fixed\n },\n brand: {\n self: {\n theme: \"dark\" // light/dark\n }\n },\n aside: {\n self: {\n theme: \"dark\", // light/dark\n display: true,\n fixed: true,\n minimize: {\n toggle: true, // allow toggle\n default: false, // default state\n hoverable: true // allow hover\n }\n },\n footer: {\n self: {\n display: true\n }\n },\n menu: {\n dropdown: false, // ok\n scroll: true, // ok\n \"icon-style\": \"duotone\", // duotone, line, bold, solid\n submenu: {\n accordion: true,\n dropdown: {\n arrow: true,\n \"hover-timeout\": 500 // in milliseconds\n }\n }\n }\n },\n footer: {\n self: {\n fixed: true,\n width: \"fluid\"\n }\n },\n extras: {\n search: {\n display: true,\n layout: \"dropdown\", // offcanvas, dropdown\n offcanvas: {\n direction: \"right\"\n }\n },\n notifications: {\n display: true,\n layout: \"dropdown\", // offcanvas, dropdown\n dropdown: {\n style: \"dark\" // light, dark\n },\n offcanvas: {\n directions: \"right\"\n }\n },\n \"quick-actions\": {\n display: true,\n layout: \"dropdown\", // offcanvas, dropdown,\n dropdown: {\n style: \"dark\", // light, dark\n },\n offcanvas: {\n directions: \"right\"\n }\n },\n user: {\n display: true,\n layout: \"offcanvas\", // offcanvas, dropdown\n dropdown: {\n style: \"dark\"\n },\n offcanvas: {\n directions: \"right\"\n }\n },\n languages: {\n display: true\n },\n cart: {\n display: true,\n dropdown: {\n style: \"dark\", // ligth, dark\n }\n },\n \"quick-panel\": {\n display: true,\n offcanvas: {\n directions: \"right\"\n }\n },\n chat: {\n display: true\n },\n toolbar: {\n display: true\n },\n scrolltop: {\n display: true\n }\n }\n };\n}\n","import React, { useState, useMemo, useEffect } from \"react\";\nimport { Nav, Tab, Dropdown, OverlayTrigger, Tooltip } from \"react-bootstrap\";\nimport PerfectScrollbar from \"react-perfect-scrollbar\";\nimport SVG from \"react-inlinesvg\";\nimport objectPath from \"object-path\";\nimport { shallowEqual, useDispatch, useSelector } from \"react-redux\";\nimport { useHtmlClassService } from \"../../../../_metronic/layout/_core/MetronicLayout\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\nimport { DropdownTopbarItemToggler } from \"../../../../_metronic/_partials/dropdowns\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { useFetchAll, TimeAgo, GetTenant } from \"../../../utils\";\nimport { actions } from \"../_redux/notifications/actions\";\nimport { orderBy } from \"lodash\";\nimport * as restApi from \"../rest/api\";\nimport { useHistory } from \"react-router-dom\";\n\nconst perfectScrollbarOptions = {\n wheelSpeed: 2,\n wheelPropagation: false,\n};\n\nexport function UserNotificationsDropdown() {\n const intl = useIntl();\n const history = useHistory();\n\n const [key, setKey] = useState(\"Messages\");\n const [isOpen, setIsOpen] = useState(false);\n const bgImage = toAbsoluteUrl(\"/media/misc/bg-1.jpg\");\n\n const uiService = useHtmlClassService();\n const layoutProps = useMemo(() => {\n return {\n offcanvas:\n objectPath.get(uiService.config, \"extras.notifications.layout\") ===\n \"offcanvas\",\n };\n }, [uiService]);\n\n const { entities, nextToken, tenant, user } = useSelector(\n (state) => ({\n entities: state.user.notifications.entities.items,\n nextToken: state.user.notifications.entities.nextToken,\n\n tenant: state.auth.user ? GetTenant() : null,\n user: state.auth.user,\n }),\n shallowEqual\n );\n\n const dispatch = useDispatch();\n\n const queryParams = () => {\n return {\n pageSize: 1000,\n filter: {\n tenantId: { eq: tenant.id },\n },\n };\n };\n\n useFetchAll((operation) => {\n if (user && tenant) {\n return dispatch(\n actions.fetchObjectsByUser(\n user.id,\n queryParams(),\n null,\n nextToken,\n \"append\"\n )\n );\n }\n return new Promise((resolve, reject) => {\n resolve(null);\n });\n }, nextToken);\n\n const [isActive, setIsActive] = useState(true);\n\n useEffect(() => {\n const interval = setInterval(() => {\n if (isActive && user && tenant) {\n dispatch(\n actions.fetchObjectsByUser(\n user.id,\n queryParams(),\n null,\n nextToken,\n \"append\"\n )\n );\n }\n }, 60000);\n\n return () => clearInterval(interval);\n }, [isActive]);\n\n useEffect(() => {\n const handleVisibilityChange = () => {\n if (!document.hidden) {\n setIsActive(true);\n } else {\n setIsActive(false);\n }\n };\n document.addEventListener('visibilitychange', handleVisibilityChange);\n return () => {\n document.removeEventListener('visibilitychange', handleVisibilityChange);\n };\n }, []);\n\n const onDropdownClick = () => {\n if (!isOpen && entities.filter((el) => !el.status).length > 0) {\n restApi.readAllNotifications(tenant.id, user.id).then(() => {\n dispatch(\n actions.fetchObjectsByUser(\n user.id,\n queryParams(),\n null,\n nextToken,\n \"append\"\n )\n );\n });\n }\n setIsOpen((old) => !old);\n };\n\n const onNotificationClick = (notification) => {\n if (notification) {\n switch (notification.context ? notification.context : 0) {\n case 0:\n //Should never happen\n break;\n /* All notifications should open a page\n case 2:\n //License activation\n //License approvement\n //License revoke\n break;\n case 1:\n //New license request\n case 3: // eslint-disable-line no-fallthrough\n //New partnership request\n history.push(\"/admin/onboarding\");\n break;\n case 4:\n //Partnership approved\n break;\n case 5:\n //News\n if (notification.news) {\n history.push(\"/news/\" + notification.news.id);\n } else {\n history.push(\"/news\");\n }\n break;\n case 6:\n //Errors from RT configuration (confirmUpdates endpoint)\n break;\n case 7:\n //License near due date\n break;\n case 8:\n //Tech intervention not registered from ECR's dealer vat number\n history.push(\"/rt_utility/dashboard\");\n break;\n */\n default:\n break;\n }\n }\n };\n\n const style = {\n pointer: {\n //cursor: \"pointer\",\n },\n };\n\n const printIcon = (context) => {\n return (\n <>\n {context === 1 ? (\n \n ) : context === 2 ? (\n \n ) : context === 3 ? (\n \n ) : context === 4 ? (\n \n ) : context === 5 ? (\n \n ) : context === 6 ? (\n \n ) : context === 7 ? (\n \n ) : context === 8 ? (\n \n ) : context === 9 ? (\n \n ) : context === 10 ? (\n \n ) : (\n \n )}\n \n );\n };\n\n return (\n <>\n {user && (\n <>\n {layoutProps.offcanvas && (\n
\n !el.status).length > 0\n ? \"pulse pulse-primary\"\n : \"\")\n }\n id=\"kt_quick_notifications_toggle\"\n >\n \n \n \n \n
\n \n )}\n {!layoutProps.offcanvas && (\n \n \n \n \n \n }\n >\n !el.status).length > 0\n ? \"pulse pulse-primary\"\n : \"\")\n }\n id=\"kt_quick_notifications_toggle\"\n >\n \n \n \n \n \n \n \n \n\n \n
\n {/** Head */}\n \n

\n \n \n \n \n {entities.filter((el) => !el.status).length}{\" \"}\n \n \n

\n\n \n setKey(_key)}\n >\n \n \n \n {entities.filter(\n (el) => el.type === 0 && !el.status\n ).length > 0 && (\n \n {\n entities.filter(\n (el) => el.type === 0 && !el.status\n ).length\n }\n \n )}\n \n \n \n \n \n {entities.filter(\n (el) => el.type === 1 && !el.status\n ).length > 0 && (\n \n {\n entities.filter(\n (el) => el.type === 1 && !el.status\n ).length\n }\n \n )}\n \n \n \n\n \n \n \n {orderBy(\n entities.filter((el) => el.type === 0),\n [\"createdAt\"],\n [\"desc\"]\n ).map((notification) => (\n \n onNotificationClick(notification)\n }\n className=\"navi-item\"\n key={notification.id}\n style={style.pointer}\n >\n
\n
\n {printIcon(notification.context)}\n
\n
\n \n {notification.text}\n
\n
\n {TimeAgo(\n new Date(notification.createdAt),\n intl\n )}\n
\n
\n \n \n ))}\n \n
\n\n \n \n {orderBy(\n entities.filter((el) => el.type === 1),\n [\"createdAt\"],\n [\"desc\"]\n ).map((notification) => (\n \n onNotificationClick(notification)\n }\n className=\"navi-item\"\n key={notification.id}\n style={style.pointer}\n >\n
\n
\n {printIcon(notification.context)}\n
\n
\n \n {notification.text}\n
\n
\n {TimeAgo(\n new Date(notification.createdAt),\n intl\n )}\n
\n
\n \n \n ))}\n \n
\n
\n
\n \n \n
\n
\n )}\n \n )}\n \n );\n}\n","/* eslint-disable no-restricted-imports */\n/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\nimport React, {useMemo} from \"react\";\nimport {Link} from \"react-router-dom\";\nimport Dropdown from \"react-bootstrap/Dropdown\";\nimport {useSelector} from \"react-redux\";\nimport objectPath from \"object-path\";\nimport {useHtmlClassService} from \"../../../_core/MetronicLayout\";\nimport {toAbsoluteUrl} from \"../../../../_helpers\";\nimport {DropdownTopbarItemToggler} from \"../../../../_partials/dropdowns\";\n\nexport function UserProfileDropdown() {\n const {user} = useSelector(state => state.auth);\n\n const uiService = useHtmlClassService();\n const layoutProps = useMemo(() => {\n return {\n light: objectPath.get(uiService.config, \"extras.user.dropdown.style\") === \"light\",\n };\n }, [uiService]);\n\n return (\n \n \n
\n Hi,\n \n {user.fullname}\n \n \n {user.fullname[0]}\n \n
\n \n \n <>\n {/** ClassName should be 'dropdown-menu p-0 m-0 dropdown-menu-right dropdown-menu-anim dropdown-menu-top-unround dropdown-menu-xl' */}\n {layoutProps.light && (<>\n
\n\n
\n \"\"/\n
\n
Sean Stone
\n 3 messages\n
\n
\n )}\n\n {!layoutProps.light && (\n \n
\n S\n {/*\"Pic\"*/}\n
\n
\n Sean Stone\n
\n \n 3 messages\n \n \n )}\n \n\n \n \n
\n );\n}\n","/* eslint-disable no-restricted-imports */\n/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\nimport React, {useMemo} from \"react\";\nimport {OverlayTrigger, Tooltip} from \"react-bootstrap\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport objectPath from \"object-path\";\nimport {useHtmlClassService} from \"../../_core/MetronicLayout\";\nimport {UserProfileDropdown} from \"./dropdowns/UserProfileDropdown\";\nimport { FormattedMessage } from \"react-intl\";\nimport * as actions from \"../../../../app/modules/AuthCognito/_redux/authActions\";\nimport { useHistory } from \"react-router-dom\";\n\nexport function QuickUserToggler() {\n const history = useHistory();\n\n const {user} = useSelector(state => state.auth);\n\n\n const uiService = useHtmlClassService();\n const layoutProps = useMemo(() => {\n return {\n offcanvas: objectPath.get(uiService.config, \"extras.user.layout\") === \"offcanvas\",\n };\n }, [uiService]);\n\n const getName = () => {\n return user.firstName || \"\";\n };\n\n const dispatch = useDispatch();\n\n const logoutClick = () => {\n dispatch(actions.logout()).then(() => {\n localStorage.clear();\n history.push(\"/\");\n });\n };\n\n return (\n <>\n {user ? (\n <>\n {layoutProps.offcanvas && (}\n >\n
\n
\n <>\n\n ,\n \n {getName()}\n \n \n \n {getName().length > 0 ? getName()[0] : \"\"}\n \n \n \n
\n
\n )}\n\n {!layoutProps.offcanvas && ()}\n \n ) : (\n \n \n \n )}\n \n );\n}\n","export default [\n {\n value: 0,\n name: \"dtr_service\",\n commercialName: \"DTR-Service\",\n },\n {\n value: 1,\n name: \"atorder\",\n commercialName: \"@Order\",\n },\n {\n value: 2,\n name: \"einvoice\",\n commercialName: \"&Invoice\",\n },\n {\n value: 3,\n name: \"rt_user\",\n commercialName: \"RT-User\",\n },\n];\n","/* eslint-disable no-unused-vars */\n/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\nimport React, { useEffect } from \"react\";\nimport { Dropdown, OverlayTrigger, Tooltip } from \"react-bootstrap\";\nimport { shallowEqual, useDispatch, useSelector } from \"react-redux\";\nimport { DropdownTopbarItemToggler } from \"../../../../_metronic/_partials/dropdowns\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { useFetchAll, GetTenant } from \"../../../utils\";\nimport * as authCognitoActions from \"../../AuthCognito/_redux/authActions\";\nimport { actions as userLicenseActions } from \"../../Admin/_redux/userlicenses/actions\";\nimport loginTypes from \"../../../common/service/login_types\";\nimport ExcludedUserLicenses from \"../../../common/licenses/excluded_user_licenses\";\n\nexport function ModuleVisualizationDropdown({ show }) {\n const intl = useIntl();\n\n const { loginType, userLicenses, userLicensesNextToken, user, tenant } =\n useSelector(\n (state) => ({\n loginType: state.auth.loginType,\n\n userLicenses: state.admin.userlicenses.entities.items,\n userLicensesNextToken: state.admin.userlicenses.entities.nextToken,\n\n user: state.auth.user,\n tenant: GetTenant(),\n }),\n shallowEqual\n );\n\n const getQueryParams = () => {\n var today = new Date();\n today.setDate(today.getDate() + 1);\n today = today.toISOString().substring(0, 10);\n\n return {\n pageSize: 1000,\n filter: {\n tenantId: { eq: tenant.id },\n validTo: { gt: today },\n validFrom: { lt: today },\n },\n };\n };\n\n const dispatch = useDispatch();\n useFetchAll((operation) => {\n if (user && tenant) {\n const queryParams = getQueryParams();\n return dispatch(\n userLicenseActions.fetchObjectsByUser(\n user.id,\n queryParams,\n null,\n userLicensesNextToken,\n operation\n )\n );\n }\n\n return new Promise((resolve, reject) => {\n return resolve(true);\n });\n }, userLicensesNextToken);\n\n useEffect(() => {\n var licensesTypes = [0];\n\n if (userLicensesNextToken === null && user) {\n userLicenses\n .filter((el) => el.userId === user.id)\n .map((el) => {\n licensesTypes.push(getLoginTypeByLicenseName(el.license.name));\n });\n\n if (!licensesTypes.includes(loginType)) {\n const newLoginType = licensesTypes.find((el) => el !== 0);\n if (newLoginType) {\n changeLoginType(newLoginType, true);\n } else {\n changeLoginType(0, false);\n }\n }\n }\n }, [userLicenses, userLicensesNextToken]);\n\n const getCommercialNameByLoginType = (loginType) => {\n const result = loginTypes.find((el) => el.value === loginType);\n if (result) {\n return result.commercialName;\n }\n return \"\";\n };\n\n const getLoginTypeByLicenseName = (licenseName) => {\n const result = loginTypes.find((el) => el.name === licenseName);\n if (result) {\n return result.value;\n }\n return 0;\n };\n\n const changeLoginType = (newLoginType, reload = true) => {\n dispatch(authCognitoActions.changeLoginType(newLoginType)).then(() => {\n if (reload) {\n window.location.reload(true);\n }\n });\n };\n\n const filteredUserLicenses = userLicenses.filter((el) => {\n if (el.license.name && ExcludedUserLicenses.includes(el.license.name)) {\n return false;\n }\n return user && el.userId === user.id;\n });\n\n return (\n <>\n {user && show && (\n \n \n \n \n \n }\n >\n
\n
\n {loginType !== 0 ? (\n {getCommercialNameByLoginType(loginType)}\n ) : (\n {getCommercialNameByLoginType(0)}\n )}\n
\n
\n \n \n\n \n
    \n
  • \n \n changeLoginType(getLoginTypeByLicenseName(\"dtr_service\"))\n }\n className=\"navi-link\"\n >\n {\"DTR-Service\"}\n \n
  • \n\n {filteredUserLicenses.map((userLicense) => (\n
  • \n \n changeLoginType(\n getLoginTypeByLicenseName(userLicense.license.name)\n )\n }\n className=\"navi-link\"\n >\n \n {userLicense.license.commercialName}\n \n \n
  • \n ))}\n
\n
\n
\n )}\n \n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { UserNotificationsDropdown } from \"../../User/components/UserNotificationsDropdown\";\nimport { LanguageSelectorDropdown } from \"../../../../_metronic/layout/components/extras/dropdowns/LanguageSelectorDropdown\";\nimport { QuickUserToggler } from \"../../../../_metronic/layout/components/extras/QuiclUserToggler\";\nimport { NavLink, Link, useLocation } from \"react-router-dom\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\nimport { FormattedMessage } from \"react-intl\";\nimport { ModuleVisualizationDropdown } from \"../../User/components/ModuleVisualizationDropdown\";\n\nexport function Topbar() {\n const location = useLocation();\n\n return (\n
\n
\n
\n \n
\n \n \n \n
\n
\n\n
\n\n
\n \n
    \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n
\n
\n
\n\n
\n
\n\n
\n \n\n \n \n \n
\n \n \n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { UserNotificationsDropdown } from \"../../User/components/UserNotificationsDropdown\";\nimport { LanguageSelectorDropdown } from \"../../../../_metronic/layout/components/extras/dropdowns/LanguageSelectorDropdown\";\nimport { QuickUserToggler } from \"../../../../_metronic/layout/components/extras/QuiclUserToggler\";\nimport { NavLink, useLocation, Link } from \"react-router-dom\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\nimport { FormattedMessage } from \"react-intl\";\nimport { ModuleVisualizationDropdown } from \"../../User/components/ModuleVisualizationDropdown\";\n\nexport function Topbar() {\n const location = useLocation();\n\n return (\n
\n
\n
\n \n
\n \n \n \n
\n
\n\n
\n\n
\n \n
    \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n
\n
\n
\n\n
\n
\n\n
\n \n\n \n \n \n
\n \n \n );\n}\n","import React, { useEffect } from \"react\";\nimport { Dropdown } from \"react-bootstrap\";\nimport { OverlayTrigger, Tooltip } from \"react-bootstrap\";\nimport { shallowEqual, useDispatch, useSelector } from \"react-redux\";\nimport { actions } from \"../_redux/actions\";\nimport { actions as retailStoreLicenseActions } from \"../../Admin/_redux/retailstorelicenses/actions\";\nimport { actions as dailySalesActions } from \"../../RTUser/_redux/dailysales/actions\";\nimport { DropdownTopbarItemToggler } from \"../../../../_metronic/_partials/dropdowns\";\nimport { FormattedMessage } from \"react-intl\";\nimport { GetTenant, GetRetailStore } from \"../../../utils\";\nimport { useHistory } from \"react-router-dom\";\n\nexport function ECRSelectorDropdown() {\n const history = useHistory();\n\n const { entities, tenant, store, ecrId } = useSelector(\n (state) => ({\n entities: state.admin.retailstorelicenses.entities.items,\n\n tenant: GetTenant(),\n store: GetRetailStore(),\n ecrId: state.cashregister.cashregister.currentCashRegisterId,\n }),\n shallowEqual\n );\n\n const dispatch = useDispatch();\n\n useEffect(() => {\n if (store && tenant && history.location.pathname.includes(\"rt_user\")) {\n var today = new Date();\n today = today.toISOString().substring(0, 10);\n\n const queryParams = {\n pageSize: 1000,\n filter: {\n validTo: { gt: today },\n },\n };\n\n dispatch(retailStoreLicenseActions.fetchObjectsByLicenseRetailStore(\n \"9eae171e-93df-4b42-a2ee-41014e1a5d1c\",\n store.id,\n queryParams, \n null, \n null, \n \"overwrite\"\n ));\n }\n }, [history.location]);\n\n const getCashRegistersFromRetailStoreLicenses = () => {\n return entities\n .filter(el => !el.number.includes(\"_DELETED\"))\n .filter(el => el.retailStoreId === store.id)\n .map(el => {\n return {\n id: el.electronicCashRegisterId,\n number: el.number,\n };\n })\n .filter((v,i,a)=>a.findIndex(v2=>(v2.id===v.id))===i); //remove duplicates\n };\n\n useEffect(() => {\n const selectableCashRegisters = getCashRegistersFromRetailStoreLicenses();\n\n var doAutoselect = false;\n if (!ecrId) {\n doAutoselect = true;\n }\n else {\n const found = selectableCashRegisters.find(el => el.id === ecrId);\n if (!found) {\n doAutoselect = true; \n }\n }\n \n if (\n entities.length > 0 &&\n doAutoselect &&\n history.location.pathname.includes(\"rt_user\")\n ) {\n if (selectableCashRegisters.length > 0) {\n dispatch(actions.setCurrentCashRegisterAsync(selectableCashRegisters[0].id));\n }\n }\n }, [entities, history.location]);\n\n const getNumberById = (id) => {\n const entity = entities.find((el) => el.electronicCashRegisterId === id);\n if (entity) {\n return entity.number;\n }\n return \"\";\n };\n\n return (\n <>\n {ecrId && store && history.location.pathname.includes(\"rt_user\") && (\n \n \n \n \n \n }\n >\n
\n
\n {getNumberById(ecrId)}\n
\n
\n \n \n \n
    \n {getCashRegistersFromRetailStoreLicenses()\n .map((ecr) => (\n
  • \n {\n dispatch(dailySalesActions.clearData());\n dispatch(actions.setCurrentCashRegister(ecr.id));\n }}\n className=\"navi-link\"\n >\n {ecr.number}\n \n
  • \n ))}\n
\n
\n
\n )}\n \n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { UserNotificationsDropdown } from \"../../User/components/UserNotificationsDropdown\";\nimport { ECRSelectorDropdown } from \"../../../../app/modules/Multicashregister/components/ECRSelectorDropdown\";\nimport { LanguageSelectorDropdown } from \"../../../../_metronic/layout/components/extras/dropdowns/LanguageSelectorDropdown\";\nimport { QuickUserToggler } from \"../../../../_metronic/layout/components/extras/QuiclUserToggler\";\nimport { NavLink, useLocation, Link } from \"react-router-dom\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\nimport { FormattedMessage } from \"react-intl\";\nimport { ModuleVisualizationDropdown } from \"../../User/components/ModuleVisualizationDropdown\";\n\nexport function Topbar() {\n const location = useLocation();\n\n return (\n
\n
\n
\n \n
\n \n \n \n
\n
\n\n
\n\n \n\n
\n\n \n \n
    \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n
\n
\n
\n\n
\n \n\n
\n \n\n \n \n \n
\n \n \n );\n}\n","import React from \"react\";\n\nexport function SearchDropdown() {\n return (<>);\n}\n","/* eslint-disable no-unused-vars */\n/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\nimport React, { useState, useMemo } from \"react\";\nimport objectPath from \"object-path\";\nimport { useHtmlClassService } from \"../../../_core/MetronicLayout\";\nimport { toAbsoluteUrl } from \"../../../../_helpers\";\n\nconst perfectScrollbarOptions = {\n wheelSpeed: 2,\n wheelPropagation: false,\n};\n\nexport function UserNotificationsDropdown() {\n const [key, setKey] = useState(\"Alerts\");\n const bgImage = toAbsoluteUrl(\"/media/misc/bg-1.jpg\");\n\n const uiService = useHtmlClassService();\n const layoutProps = useMemo(() => {\n return {\n offcanvas:\n objectPath.get(uiService.config, \"extras.notifications.layout\") ===\n \"offcanvas\",\n };\n }, [uiService]);\n\n return (\n <>\n \n \n );\n}\n","/* eslint-disable no-restricted-imports */\n/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\nimport React, { useMemo } from \"react\";\nimport objectPath from \"object-path\";\nimport { useHtmlClassService } from \"../../../_core/MetronicLayout\";\nimport { toAbsoluteUrl } from \"../../../../_helpers\";\n\nexport function QuickActionsDropdown() {\n const bgImage = toAbsoluteUrl(\"/media/misc/bg-2.jpg\");\n const uiService = useHtmlClassService();\n const layoutProps = useMemo(() => {\n return {\n offcanvas:\n objectPath.get(uiService.config, \"extras.quick-actions.layout\") ===\n \"offcanvas\",\n };\n }, [uiService]);\n\n return (\n <>\n \n \n );\n}\n","/* eslint-disable react/style-prop-object */\n/* eslint-disable jsx-a11y/alt-text */\n/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from \"react\";\n\nconst perfectScrollbarOptions = {\n wheelSpeed: 2,\n wheelPropagation: false,\n};\n\nexport function MyCartDropdown() {\n return (\n <>\n \n );\n}\n","import React, { Component } from \"react\";\nimport { bindActionCreators } from \"redux\";\nimport { actions } from \"../_redux/tenantActions\";\nimport { actions as multistoreActions } from \"../../Multistore/_redux/actions\";\nimport { connect } from \"react-redux\";\n\nclass CompanySelectorDropdown extends Component {\n \n render() {\n return (\n <>\n \n \n );\n }\n}\n\nconst mapStateToProps = (state, ownProps) => {\n return {\n tenantDefault: state.auth.user ? state.auth.user.tenantDefault : \"\",\n currentTenantId: state.tenant.currentTenantId,\n userTenants: state.auth.user ? state.auth.user.tenantUser.items : [],\n userRetailStores: state.auth.user\n ? state.auth.user.userRetailStore.items\n : [],\n };\n};\nconst mapDispatchToProps = (dispatch, ownProps) => {\n return {\n dispatch,\n ...bindActionCreators(\n {\n setCurrentTenant: actions.setCurrentTenant,\n setCurrentStore: multistoreActions.setCurrentStore,\n },\n dispatch\n ),\n };\n};\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(CompanySelectorDropdown);\n","import React, { Component } from \"react\";\nimport { Dropdown } from \"react-bootstrap\";\nimport { OverlayTrigger, Tooltip } from \"react-bootstrap\";\nimport { bindActionCreators } from \"redux\";\nimport { actions } from \"../_redux/actions\";\nimport { connect } from \"react-redux\";\nimport { DropdownTopbarItemToggler } from \"../../../../_metronic/_partials/dropdowns\";\nimport { FormattedMessage } from \"react-intl\";\nimport { GetTenant } from \"../../../utils\";\n\nclass StoreSelectorDropdown extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n store: null,\n };\n }\n\n componentDidMount() {\n let store = undefined;\n\n if (\n this.props.currentStoreId === \"\" ||\n this.props.currentStoreId === undefined\n ) {\n let storeOb = this.props.userRetailStores.find(\n (i) => i.retailStoreId === this.props.retailStoreDefault\n );\n store = null;\n if (storeOb) {\n store = storeOb.retailStore;\n }\n } else {\n let storeOb = this.props.userRetailStores.find(\n (i) => i.retailStoreId === this.props.currentStoreId\n );\n store = null;\n if (storeOb) {\n store = storeOb.retailStore;\n }\n }\n\n this.setState({\n store: store,\n });\n }\n\n render() {\n return (\n <>\n {this.state.store && this.props.tenant && (\n \n \n \n \n \n }\n >\n
\n
\n {this.state.store.name}\n
\n
\n \n \n \n
    \n {this.props.userRetailStores\n .filter((el) => !el.retailStore.deleted)\n .filter((el) => el.retailStore.tenantId === this.props.tenant.id)\n .map((userStore) => (\n
  • \n \n this.props.setCurrentStore(userStore.retailStore.id)\n }\n className=\"navi-link\"\n >\n \n {userStore.retailStore.name}\n \n \n
  • \n ))}\n
\n
\n
\n )}\n \n );\n }\n}\n\nconst mapStateToProps = (state, ownProps) => {\n return {\n tenant: GetTenant(),\n retailStoreDefault: state.auth.user\n ? state.auth.user.retailStoreDefault\n : \"\",\n currentStoreId: state.store.currentStoreId,\n userRetailStores: state.auth.user\n ? state.auth.user.userRetailStore.items\n : [],\n };\n};\nconst mapDispatchToProps = (dispatch, ownProps) => {\n return {\n dispatch,\n ...bindActionCreators(\n {\n setCurrentStore: actions.setCurrentStore,\n },\n dispatch\n ),\n };\n};\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(StoreSelectorDropdown);\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { useLocation } from \"react-router\";\nimport { FormattedMessage } from \"react-intl\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { NavLink } from \"react-router-dom\";\n\nexport function Menu() {\n const location = useLocation();\n\n return (\n \n \n \n \n {\" \"}\n \n \n \n \n \n
\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n
\n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { useLocation } from \"react-router\";\nimport { FormattedMessage } from \"react-intl\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { NavLink } from \"react-router-dom\";\n\nexport function Menu() {\n const location = useLocation();\n\n return (\n \n \n \n \n {\" \"}\n \n \n \n \n \n
\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n\n {/*\n \n
  • \n \n \n \n \n \n \n
  • \n
    \n\n \n
  • \n \n \n \n \n \n \n
  • \n
    \n */}\n\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n
\n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { useLocation } from \"react-router\";\nimport { FormattedMessage } from \"react-intl\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { NavLink } from \"react-router-dom\";\nimport SVG from \"react-inlinesvg\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\n\nexport function Menu() {\n const location = useLocation();\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n
\n
    \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n
\n );\n}\n","import React from \"react\";\nimport { Menu as AdminMenu } from \"../../Admin/components/Menu\";\nimport { Menu as RetailMenu } from \"../../Retail/components/Menu\";\nimport { Menu as DTRBIMenu } from \"../../DTRBI/components/Menu\";\n\nexport function ServiceHeaderMenu() {\n return (\n <>\n \n \n \n {/*\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t*/}\n \n );\n}\n","/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\nimport React from \"react\";\nimport { useLocation } from \"react-router\";\nimport { NavLink } from \"react-router-dom\";\nimport { FormattedMessage } from \"react-intl\";\nimport { ServiceHeaderMenu } from \"../../../../../app/modules/AWS/components/ServiceHeaderMenu\";\n\nexport function HeaderMenu({ layoutProps }) {\n const location = useLocation();\n\n return \n {/*begin::Header Nav*/}\n
    \n {/*begin::1 Level*/}\n \n \n \n \n \n
    \n
      \n\n \n\n
    \n
    \n \n
\n {/*end::Header Nav*/}\n ;\n}\n","import React, {useMemo} from \"react\";\nimport objectPath from \"object-path\";\nimport {Link} from \"react-router-dom\";\nimport {toAbsoluteUrl} from \"../../../../_helpers\";\nimport {useHtmlClassService} from \"../../../_core/MetronicLayout\";\nimport {HeaderMenu} from \"./HeaderMenu\";\n\nimport { useSelector, shallowEqual } from \"react-redux\";\n\nexport function HeaderMenuWrapper() {\n const uiService = useHtmlClassService();\n const layoutProps = useMemo(() => {\n return {\n config: uiService.config,\n ktMenuClasses: uiService.getClasses(\"header_menu\", true),\n rootArrowEnabled: objectPath.get(\n uiService.config,\n \"header.menu.self.root-arrow\"\n ),\n menuDesktopToggle: objectPath.get(uiService.config, \"header.menu.desktop.toggle\"),\n headerMenuAttributes: uiService.getAttributes(\"header_menu\"),\n headerSelfTheme: objectPath.get(uiService.config, \"header.self.theme\"),\n ulClasses: uiService.getClasses(\"header_menu_nav\", true),\n headerLogo: uiService.getLogo(),\n disabledAsideSelfDisplay:\n objectPath.get(uiService.config, \"aside.self.display\") === false\n };\n }, [uiService]);\n\n const { loginType } = useSelector(\n (state) => ({\n loginType: state.auth.loginType,\n }),\n shallowEqual\n );\n\n const getHeaderLogo = () => {\n /*\n let result = \"logo-light.png\";\n if (layoutProps.headerSelfTheme && layoutProps.headerSelfTheme !== \"dark\") {\n result = \"logo-dark.png\";\n }\n\n return toAbsoluteUrl(`/media/logos/${result}`);\n */\n return toAbsoluteUrl(\"/media/coristech/logos/dtrservice_dark.jpg\");\n };\n\n return <>\n {/*begin::Header Menu Wrapper*/}\n
\n {loginType !== 0 && (\n <>\n {/*begin::Header Logo*/}\n
\n \n \"logo\"\n \n
\n {/*end::Header Logo*/}\n \n )}\n \n {/*begin::Header Menu*/}\n \n {/*end::Header Menu*/}\n
\n {/*Header Menu Wrapper*/}\n \n}\n","import React, { useMemo } from \"react\";\nimport objectPath from \"object-path\";\nimport { useHtmlClassService } from \"../../_core/MetronicLayout\";\nimport { SearchDropdown } from \"../extras/dropdowns/search/SearchDropdown\";\nimport { UserNotificationsDropdown } from \"../extras/dropdowns/UserNotificationsDropdown\";\nimport { QuickActionsDropdown } from \"../extras/dropdowns/QuickActionsDropdown\";\nimport { MyCartDropdown } from \"../extras/dropdowns/MyCartDropdown\";\nimport { LanguageSelectorDropdown } from \"../extras/dropdowns/LanguageSelectorDropdown\";\nimport { QuickUserToggler } from \"../extras/QuiclUserToggler\";\nimport { UserNotificationsDropdown as ServiceUserNotificationsDropdown } from \"../../../../app/modules/User/components/UserNotificationsDropdown\";\nimport Can from \"../../../../app/modules/AWS/Can\";\nimport CompanySelectorDropdown from \"../../../../app/modules/Multitenancy/components/CompanySelectorDropdown\";\nimport StoreSelectorDropdown from \"../../../../app/modules/Multistore/components/StoreSelectorDropdown\";\nimport { ECRSelectorDropdown } from \"../../../../app/modules/Multicashregister/components/ECRSelectorDropdown\";\nimport {HeaderMenuWrapper} from \"./header-menu/HeaderMenuWrapper\";\n//import { TenantSelectorDropdown as PartnerTenantSelectorDropdown } from \"../../../../app/modules/RTUtility/components/TenantSelectorDropdown\";\n//import { ECRSelectorDropdown as PartnerECRSelectorDropdown } from \"../../../../app/modules/RTUtility/components/ECRSelectorDropdown\";\nimport { shallowEqual, useSelector } from \"react-redux\";\nimport { GetTenant, EnvName } from \"../../../../app/utils\";\n\nexport function Topbar() {\n const uiService = useHtmlClassService();\n\n const layoutProps = useMemo(() => {\n return {\n viewSearchDisplay: objectPath.get(\n uiService.config,\n \"extras.search.display\"\n ),\n viewNotificationsDisplay: objectPath.get(\n uiService.config,\n \"extras.notifications.display\"\n ),\n viewQuickActionsDisplay: objectPath.get(\n uiService.config,\n \"extras.quick-actions.display\"\n ),\n viewCartDisplay: objectPath.get(uiService.config, \"extras.cart.display\"),\n viewQuickPanelDisplay: objectPath.get(\n uiService.config,\n \"extras.quick-panel.display\"\n ),\n viewLanguagesDisplay: objectPath.get(\n uiService.config,\n \"extras.languages.display\"\n ),\n viewUserDisplay: objectPath.get(uiService.config, \"extras.user.display\"),\n };\n }, [uiService]);\n\n const { user, tenant } = useSelector(\n (state) => ({\n user: state.auth.user,\n tenant: GetTenant(),\n }),\n shallowEqual\n );\n\n return (\n
\n \n {layoutProps.viewSearchDisplay && }\n \n\n \n {layoutProps.viewQuickActionsDisplay && }\n\n {layoutProps.viewCartDisplay && }\n\n \n\n \n {layoutProps.viewNotificationsDisplay && }\n \n\n
\n
\n\n
\n \n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n {tenant && !tenant.isAccountant && (\n \n )}\n\n {/*\n \n \n */}\n
\n\n {!user && (\n
\n \n
\n )}\n\n
\n {/*\n
\n \n
\n */}\n\n {layoutProps.viewNotificationsDisplay && }\n\n {layoutProps.viewLanguagesDisplay && }\n\n {layoutProps.viewUserDisplay && }\n
\n\n
\n
\n \n
\n
\n \n \n \n\n {/*\n \n */}\n
\n
\n\n
\n );\n}\n","import React from \"react\";\nimport { Topbar as AtorderTopbar } from \"../../Atorder/components/Topbar\";\nimport { Topbar as EInvoiceTopbar } from \"../../EInvoice/components/Topbar\";\nimport { Topbar as RTUserTopbar } from \"../../RTUser/components/Topbar\";\nimport { shallowEqual, useSelector } from \"react-redux\";\nimport { Topbar } from \"../../../../_metronic/layout/components/header/Topbar\";\n\nexport function ServiceTopbar() {\n const { loginType } = useSelector(\n (state) => ({\n loginType: state.auth.loginType,\n }),\n shallowEqual\n );\n\n return (\n <>\n {loginType === 1 ? (\n \n ) : loginType === 2 ? (\n \n ) : loginType === 3 ? (\n \n ) : (\n \n )}\n \n );\n}\n","import React, { useMemo } from \"react\";\nimport objectPath from \"object-path\";\nimport {useHtmlClassService} from \"../../_core/MetronicLayout\";\n//import {Topbar} from \"./Topbar\";\nimport { ServiceTopbar } from \"../../../../app/modules/AWS/components/ServiceTopbar\";\n\nexport function Header() {\n const uiService = useHtmlClassService();\n\n const layoutProps = useMemo(() => {\n return {\n headerClasses: uiService.getClasses(\"header\", true),\n headerAttributes: uiService.getAttributes(\"header\"),\n headerContainerClasses: uiService.getClasses(\"header_container\", true),\n menuHeaderDisplay: objectPath.get(\n uiService.config,\n \"header.menu.self.display\"\n )\n };\n }, [uiService]);\n\n return (\n <>\n {/*begin::Header*/}\n \n {/*begin::Container*/}\n
\n {/*begin::Topbar*/}\n \n {/*end::Topbar*/}\n
\n {/*end::Container*/}\n \n {/*end::Header*/}\n \n );\n}\n","import React, {useMemo} from \"react\";\nimport {Link} from \"react-router-dom\";\nimport objectPath from \"object-path\";\nimport {useHtmlClassService} from \"../../_core/MetronicLayout\";\nimport Can from \"../../../../app/modules/AWS/Can\";\n\nexport function HeaderMobile() {\n const uiService = useHtmlClassService();\n\n const layoutProps = useMemo(() => {\n return {\n headerLogo: uiService.getStickyLogo(),\n asideDisplay: objectPath.get(uiService.config, \"aside.self.display\"),\n headerMenuSelfDisplay:\n objectPath.get(uiService.config, \"header.menu.self.display\") === true,\n headerMobileCssClasses: uiService.getClasses(\"header_mobile\", true),\n headerMobileAttributes: uiService.getAttributes(\"header_mobile\")\n };\n }, [uiService]);\n\n return (\n <>\n {/*begin::Header Mobile*/}\n \n {/*begin::Logo*/}\n \n \"logo\"\n \n {/*end::Logo*/}\n\n {/*begin::Toolbar*/}\n
\n {layoutProps.asideDisplay && (\n <>\n {/*begin::Aside Mobile Toggle*/}\n \n {/*end::Aside Mobile Toggle*/}\n \n )}\n\n \n {layoutProps.headerMenuSelfDisplay && (\n <>\n {/*begin::Header Menu Mobile Toggle*/}\n \n {/*end::Header Menu Mobile Toggle*/}\n \n )}\n \n\n {/*begin::Topbar Mobile Toggle*/}\n \n \n \n {/*end::Topbar Mobile Toggle*/}\n
\n {/*end::Toolbar*/}\n \n {/*end::Header Mobile*/}\n \n );\n}\n","import React, {useMemo} from \"react\";\nimport {Link} from \"react-router-dom\";\nimport objectPath from \"object-path\";\nimport {useHtmlClassService} from \"../../_core/MetronicLayout\";\nimport SVG from \"react-inlinesvg\";\nimport {toAbsoluteUrl} from \"../../../_helpers\";\n\nexport function Brand() {\n const uiService = useHtmlClassService();\n\n const layoutProps = useMemo(() => {\n return {\n brandClasses: uiService.getClasses(\"brand\", true),\n asideSelfMinimizeToggle: objectPath.get(\n uiService.config,\n \"aside.self.minimize.toggle\"\n ),\n headerLogo: uiService.getLogo(),\n headerStickyLogo: uiService.getStickyLogo()\n };\n }, [uiService]);\n\n return (\n <>\n {/* begin::Brand */}\n \n {/* begin::Logo */}\n \n \"logo\"\n \n {/* end::Logo */}\n\n {layoutProps.asideSelfMinimizeToggle && (\n <>\n {/* begin::Toggle */}\n \n {/* end::Toolbar */}\n \n )}\n \n {/* end::Brand */}\n \n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { useLocation } from \"react-router\";\nimport { FormattedMessage } from \"react-intl\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { NavLink } from \"react-router-dom\";\nimport SVG from \"react-inlinesvg\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\n\nexport function Aside({ isPartner }) {\n const location = useLocation();\n\n return (\n <>\n {isPartner && (\n \n {/* Admin */}\n {/*begin::1 Level*/}\n \n \n \n \n \n \n \n \n \n
\n \n
    \n
  • \n \n \n \n \n \n
  • \n\n \n {/*begin::2 Level*/}\n \n \n \n \n \n \n \n \n \n \n {/*end::2 Level*/}\n \n\n \n {/*begin::2 Level*/}\n \n \n \n \n \n \n \n \n \n \n {/*end::2 Level*/}\n \n\n \n {/*begin::2 Level*/}\n \n \n \n \n \n \n \n \n \n \n {/*end::2 Level*/}\n \n\n \n {/*begin::2 Level*/}\n \n \n \n \n \n \n \n \n \n \n {/*end::2 Level*/}\n \n\n \n {/*begin::2 Level*/}\n \n \n \n \n \n \n \n \n \n \n {/*end::2 Level*/}\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n {/*begin::2 Level*/}\n \n \n \n \n \n \n \n \n \n \n {/*end::2 Level*/}\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n {/*begin::2 Level*/}\n \n \n \n \n \n \n \n \n \n \n {/*end::2 Level*/}\n \n\n \n {/*begin::2 Level*/}\n \n \n \n \n \n \n \n \n \n \n {/*end::2 Level*/}\n \n\n \n {/*begin::2 Level*/}\n \n \n \n \n \n \n \n \n \n \n {/*end::2 Level*/}\n \n\n \n {/*begin::2 Level*/}\n \n \n \n \n \n \n \n \n \n \n {/*end::2 Level*/}\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n
\n
\n \n {/*end::1 Level*/}\n
\n )}\n \n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { useLocation } from \"react-router\";\nimport { FormattedMessage } from \"react-intl\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { NavLink } from \"react-router-dom\";\nimport SVG from \"react-inlinesvg\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\nimport ability from \"../../AWS/ability\";\n\nexport function Aside() {\n const location = useLocation();\n\n return (\n \n \n \n \n \n \n \n \n \n \n
\n \n
    \n
  • \n \n \n \n \n \n
  • \n\n {ability.can(\"view\", \"room\") && ability.can(\"access\", \"atorder_delivery\") && (\n \n \n \n \n \n \n \n \n \n \n )}\n\n {ability.can(\"view\", \"location\") && ability.can(\"access\", \"atorder_delivery\") && (\n \n \n \n \n \n \n \n \n \n \n )}\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n
\n
\n \n
\n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { useLocation } from \"react-router\";\nimport { FormattedMessage } from \"react-intl\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { NavLink } from \"react-router-dom\";\nimport SVG from \"react-inlinesvg\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\n\nexport function Aside() {\n const location = useLocation();\n\n return (\n \n \n \n \n \n \n \n \n \n \n
\n \n
    \n
  • \n \n \n \n \n \n
  • \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n
\n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport ability from \"../../AWS/ability\";\nimport { useLocation } from \"react-router\";\nimport { FormattedMessage } from \"react-intl\";\nimport { getMenuItemActive, GetTenant } from \"../../../utils\";\nimport { NavLink } from \"react-router-dom\";\nimport SVG from \"react-inlinesvg\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\nimport { useSelector, shallowEqual } from \"react-redux\"\n\nexport function Aside() {\n const location = useLocation();\n\n const { tenant } = useSelector(\n (state) => ({\n tenant: GetTenant(),\n }),\n shallowEqual\n );\n\n return (\n <>\n {(ability.can(\"view\", \"rt_user\") || ability.can(\"view\", \"rt_user_accountant\")) && (\n \n \n \n \n \n \n \n \n \n
\n \n
    \n
  • \n \n \n \n \n \n
  • \n\n {!tenant?.isAccountant && (\n \n \n \n \n \n \n \n \n \n \n \n \n )}\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n )}\n \n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { useLocation } from \"react-router\";\nimport { FormattedMessage } from \"react-intl\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { NavLink } from \"react-router-dom\";\nimport SVG from \"react-inlinesvg\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\n\nexport function Aside() {\n const location = useLocation();\n\n return (\n \n \n \n \n \n \n \n \n \n \n
\n \n
    \n
  • \n \n \n \n \n \n
  • \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n
\n
\n \n
\n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { useLocation } from \"react-router\";\nimport { FormattedMessage } from \"react-intl\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { NavLink } from \"react-router-dom\";\nimport SVG from \"react-inlinesvg\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\n\nexport function Aside({ isPartner }) {\n const location = useLocation();\n\n return (\n <>\n {isPartner && (\n \n \n \n \n \n \n \n \n \n \n
\n \n
    \n
  • \n \n \n \n \n \n
  • \n\n \n \n \n \n \n \n \n \n \n \n
\n
\n \n
\n )}\n \n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { useLocation } from \"react-router\";\nimport { FormattedMessage } from \"react-intl\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { NavLink } from \"react-router-dom\";\nimport SVG from \"react-inlinesvg\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\nimport ability from \"../../AWS/ability\";\n\nexport function Aside() {\n const location = useLocation();\n\n return (\n \n \n \n \n \n \n \n \n \n \n
\n \n
    \n
  • \n \n \n \n \n \n
  • \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n {(!ability.can(\"view\", \"moitoiot_partnerlist\") || !ability.can(\"view\", \"moitoiot_list\")) && (\n \n \n \n \n \n \n \n \n \n \n \n \n )}\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n
\n
\n \n
\n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { useLocation } from \"react-router\";\nimport { FormattedMessage } from \"react-intl\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { NavLink } from \"react-router-dom\";\nimport SVG from \"react-inlinesvg\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\n\nexport function Aside() {\n const location = useLocation();\n\n return (\n \n \n \n \n \n \n \n \n \n \n
\n \n
    \n
  • \n \n \n \n \n \n
  • \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n\n
\n
\n \n
\n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { useLocation } from \"react-router\";\nimport { FormattedMessage } from \"react-intl\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { NavLink } from \"react-router-dom\";\nimport SVG from \"react-inlinesvg\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\n\nexport function Aside() {\n const location = useLocation();\n\n return (\n \n \n \n \n \n \n \n \n \n \n
\n \n
    \n
  • \n \n \n \n \n \n
  • \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n
\n \n
\n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { useLocation } from \"react-router\";\nimport { FormattedMessage } from \"react-intl\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { NavLink } from \"react-router-dom\";\nimport SVG from \"react-inlinesvg\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\n\nexport function Aside() {\n const location = useLocation();\n\n return (\n \n \n \n \n \n \n \n \n \n \n
\n \n
    \n
  • \n \n \n \n \n \n
  • \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n
\n );\n}\n","import React from \"react\";\nimport Can from \"../../AWS/Can\";\nimport { useLocation } from \"react-router\";\nimport { FormattedMessage } from \"react-intl\";\nimport { getMenuItemActive } from \"../../../utils\";\nimport { NavLink } from \"react-router-dom\";\nimport SVG from \"react-inlinesvg\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\n\nexport function Aside() {\n const location = useLocation();\n\n return (\n \n \n \n \n \n \n \n \n \n \n
\n \n
    \n
  • \n \n \n \n \n \n
  • \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n
\n
\n \n
\n );\n}\n","import React from \"react\";\nimport { Aside as AdminAside } from \"../../Admin/components/Aside\";\nimport { Aside as AtorderAside } from \"../../Atorder/components/Aside\";\nimport { Aside as EInvoiceAside } from \"../../EInvoice/components/Aside\";\nimport { Aside as RTUserAside } from \"../../RTUser/components/Aside\";\nimport { Aside as RTUtilityAside } from \"../../RTUtility/components/Aside\";\nimport { Aside as DTRBIAside } from \"../../DTRBI/components/Aside\";\nimport { Aside as MoitoIotAside } from \"../../MoitoIOT/components/Aside\";\nimport { Aside as CalendarAside } from \"../../Calendar/components/Aside\";\nimport { Aside as ForValueAside } from \"../../ForValue/components/Aside\";\n//import { Aside as EJManagementAside } from \"../../EJManagement/components/Aside\";\nimport { Aside as DTROpticalAside } from \"../../DTROptical/components/Aside\";\nimport { Aside as HappyAside } from \"../../Happy/components/Aside\";\n\nexport function ServiceAside({ isPartner, loginType }) {\n return (\n <>\n {loginType === 1 ? (\n \n ) : loginType === 2 ? (\n \n ) : loginType === 3 ? (\n \n ) : (\n <>\n \n \n \n \n \n \n \n \n \n {/**/}\n \n \n \n )}\n \n );\n}\n","/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\nimport React from \"react\";\nimport {useLocation} from \"react-router\";\nimport {NavLink} from \"react-router-dom\";\nimport SVG from \"react-inlinesvg\";\nimport {toAbsoluteUrl} from \"../../../../_helpers\";\n\nimport Can from \"../../../../../app/modules/AWS/Can\";\nimport { FormattedMessage } from \"react-intl\";\nimport { shallowEqual, useSelector } from \"react-redux\";\nimport { getMenuItemActive, GetTenant, GetRetailStore } from \"../../../../../app/utils\";\nimport { ServiceAside } from \"../../../../../app/modules/AWS/components/ServiceAside\";\n\nexport function AsideMenuList({ layoutProps }) {\n const location = useLocation();\n\n const { loginType, tenant, store } = useSelector(\n (state) => ({\n loginType: state.auth.loginType,\n\n tenant: GetTenant(),\n store: GetRetailStore(),\n }),\n shallowEqual\n );\n\n const isPartner = tenant && tenant.isPartner;\n const isServiceManager = tenant && tenant.isServiceManager;\n const isAccountant = tenant && tenant.isAccountant;\n\n return (\n <>\n {/* begin::Menu Nav */}\n
    \n {/*begin::1 Level*/}\n {loginType === 0 && (\n \n \n \n \n \n \n \n \n )}\n {/*end::1 Level*/}\n\n \n {/*begin::1 Level*/}\n \n \n \n \n \n Layout Builder\n \n \n {/*end::1 Level*/}\n\n {/* Components */}\n {/* begin::section */}\n
  • \n

    Components

    \n \n
  • \n {/* end:: section */}\n\n {/* Material-UI */}\n {/*begin::1 Level*/}\n \n \n \n \n \n Material UI\n \n \n
    \n \n
      \n
    • \n \n Material UI\n \n
    • \n\n {/* Inputs */}\n {/*begin::2 Level*/}\n \n \n \n \n \n Inputs\n \n \n
      \n \n
        \n {/*begin::3 Level*/}\n \n \n \n \n \n Autocomplete\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Buttons\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Checkboxes\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Pickers\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Radio Buttons\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Selects\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Switches\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Text Fields\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Transfer List\n \n \n {/*end::3 Level*/}\n
      \n
      \n \n {/*end::2 Level*/}\n\n {/* Navigation */}\n {/*begin::2 Level*/}\n \n \n \n \n \n Navigation\n \n \n
      \n \n
        \n {/*begin::3 Level*/}\n \n \n \n \n \n Bottom Navigation\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Breadcrumbs\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Drawers\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n NavLinks\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Menus\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Steppers\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Tabs\n \n \n {/*end::3 Level*/}\n
      \n
      \n \n {/*end::2 Level*/}\n\n {/* Surfaces */}\n {/*begin::2 Level*/}\n \n \n \n \n \n Surfaces\n \n \n
      \n \n
        \n {/*begin::3 Level*/}\n \n \n \n \n \n App Bar\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Paper\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Cards\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Expansion Panels\n \n \n {/*end::3 Level*/}\n
      \n
      \n \n {/*end::2 Level*/}\n\n {/* Feedback */}\n {/*begin::2 Level*/}\n \n \n \n \n \n Feedback\n \n \n
      \n \n
        \n {/*begin::3 Level*/}\n \n \n \n \n \n Progress\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Dialogs\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Snackbars\n \n \n {/*end::3 Level*/}\n
      \n
      \n \n {/*end::2 Level*/}\n\n {/* Data Display */}\n {/*begin::2 Level*/}\n \n \n \n \n \n Data Display\n \n \n
      \n \n
        \n {/*begin::3 Level*/}\n \n \n \n \n \n Avatars\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Badges\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Chips\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Dividers\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Icons\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Lists\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Tables\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Tooltips\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Typography\n \n \n {/*end::3 Level*/}\n
      \n
      \n \n {/*end::2 Level*/}\n\n {/* Utils */}\n {/*begin::2 Level*/}\n \n \n \n \n \n Utils\n \n \n
      \n \n
        \n {/*begin::3 Level*/}\n \n \n \n \n \n Click Away Listener\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n No SSR\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Popover\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Popper\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Portal\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Transitions\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n useMediaQuery\n \n \n {/*end::3 Level*/}\n
      \n
      \n \n {/*end::2 Level*/}\n\n {/* Layout */}\n {/*begin::2 Level*/}\n \n \n \n \n \n Layout\n \n \n
      \n \n
        \n {/*begin::3 Level*/}\n \n \n \n \n \n Box\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Container\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Grid\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Grid list\n \n \n {/*end::3 Level*/}\n\n {/*begin::3 Level*/}\n \n \n \n \n \n Hidden\n \n \n {/*end::3 Level*/}\n
      \n
      \n \n {/*end::2 Level*/}\n
    \n
    \n \n {/*end::1 Level*/}\n\n {/* Bootstrap */}\n {/*begin::1 Level*/}\n \n \n \n \n \n Bootstrap\n \n \n
    \n
      \n
        \n \n \n Bootstrap\n \n \n\n {/*begin::2 Level*/}\n \n \n \n \n \n Alerts\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Badge\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Breadcrumb\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Buttons\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Button Group\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Cards\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Carousel\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Dropdowns\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Forms\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Input Group\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Images\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Figures\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Jumbotron\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n List group\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Modal\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Navs\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Navbar\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Overlays\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Pagination\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Popovers\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Progress\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Spinners\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Table\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Tabs\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Tooltips\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Toasts\n \n \n {/*end::2 Level*/}\n
      \n
    \n
    \n \n {/*end::1 Level*/}\n
    \n\n {/* Applications */}\n {/* begin::section */}\n
  • \n

    \n \n
  • \n {/* end:: section */}\n\n \n {/* eCommerce */}\n {/*begin::1 Level*/}\n \n \n \n \n \n eCommerce\n \n
    \n \n
      \n
    • \n \n eCommerce\n \n
    • \n {/*begin::2 Level*/}\n \n \n \n \n \n Customers\n \n \n {/*end::2 Level*/}\n {/*begin::2 Level*/}\n \n \n \n \n \n Products\n \n \n {/*end::2 Level*/}\n
    \n
    \n \n {/*end::1 Level*/}\n\n {/* eCommerce AWS */}\n {/*begin::1 Level*/}\n \n \n \n \n \n eCommerce AWS\n \n
    \n \n
      \n
    • \n \n eCommerce AWS\n \n
    • \n {/*begin::2 Level*/}\n \n \n \n \n \n Customers\n \n \n {/*end::2 Level*/}\n {/*begin::2 Level*/}\n \n \n \n \n \n Products\n \n \n {/*end::2 Level*/}\n
    \n
    \n \n {/*end::1 Level*/}\n
    \n\n \n\n \n {/* Custom */}\n {/* begin::section */}\n
  • \n

    Custom

    \n \n
  • \n {/* end:: section */}\n\n {/* Error Pages */}\n {/*begin::1 Level*/}\n \n \n \n \n \n Error Pages\n \n \n
    \n \n
      \n
    • \n \n Error Pages\n \n
    • \n\n {/*begin::2 Level*/}\n \n \n \n \n \n Error Page - 1\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Error Page -2\n \n \n {/*end::2 Level*/}\n\n {/*begin::2 Level*/}\n \n \n \n \n \n Error Page - 3\n \n \n {/*end::2 Level*/}\n
    \n
    \n \n {/*end::1 Level*/}\n
    \n
\n\n {/* end::Menu Nav */}\n \n );\n}\n","import React, {useMemo} from \"react\";\nimport {AsideMenuList} from \"./AsideMenuList\";\nimport {useHtmlClassService} from \"../../../_core/MetronicLayout\";\nimport { shallowEqual, useSelector } from \"react-redux\";\nimport { GetTenant } from \"../../../../../app/utils\";\n\nexport function AsideMenu({disableScroll}) {\n const uiService = useHtmlClassService();\n const layoutProps = useMemo(() => {\n return {\n layoutConfig: uiService.config,\n asideMenuAttr: uiService.getAttributes(\"aside_menu\"),\n ulClasses: uiService.getClasses(\"aside_menu_nav\", true),\n asideClassesFromConfig: uiService.getClasses(\"aside_menu\", true)\n };\n }, [uiService]);\n\n const { tenant } = useSelector(\n (state) => ({\n tenant: GetTenant(),\n }),\n shallowEqual\n );\n\n const isPartner = tenant && tenant.isPartner;\n const isServiceManager = tenant && tenant.isServiceManager;\n const isAccountant = tenant && tenant.isAccountant;\n\n return (\n <>\n {/* begin::Menu Container */}\n \n \n \n {/* end::Menu Container */}\n \n );\n}\n","import React, {useMemo} from \"react\";\nimport {Link} from \"react-router-dom\";\nimport objectPath from \"object-path\";\nimport {Brand} from \"../brand/Brand\";\nimport {AsideMenu} from \"./aside-menu/AsideMenu\";\nimport {useHtmlClassService} from \"../../_core/MetronicLayout\";\nimport { shallowEqual, useSelector } from \"react-redux\";\nimport { GetTenant } from \"../../../../app/utils\";\n\nexport function Aside() {\n const uiService = useHtmlClassService();\n\n const layoutProps = useMemo(() => {\n return {\n disableScroll:\n objectPath.get(uiService.config, \"aside.menu.dropdown\") === \"true\" ||\n false,\n asideClassesFromConfig: uiService.getClasses(\"aside\", true),\n disableAsideSelfDisplay:\n objectPath.get(uiService.config, \"aside.self.display\") === false,\n headerLogo: uiService.getLogo()\n };\n }, [uiService]);\n\n const { tenant } = useSelector(\n (state) => ({\n tenant: GetTenant(),\n }),\n shallowEqual\n );\n\n const isPartner = tenant && tenant.isPartner;\n const isServiceManager = tenant && tenant.isServiceManager;\n const isAccountant = tenant && tenant.isAccountant;\n\n return (\n <>\n {/* begin::Aside */}\n
\n \n\n {/* begin::Aside Menu */}\n
\n {layoutProps.disableAsideSelfDisplay && (\n <>\n {/* begin::Header Logo */}\n
\n \n \"logo\"\n \n
\n {/* end::Header Logo */}\n \n )}\n \n
\n {/* end::Aside Menu */}\n
\n {/* end::Aside */}\n \n );\n}\n","import React, { useMemo } from \"react\";\nimport {useHtmlClassService} from \"../../_core/MetronicLayout\";\nimport { Link } from \"react-router-dom\";\nimport { useSelector, shallowEqual } from \"react-redux\";\nimport { GetTenant } from \"../../../../app/utils\";\n\nexport function Footer() {\n const today = new Date().getFullYear();\n const uiService = useHtmlClassService();\n\n const layoutProps = useMemo(() => {\n return {\n footerClasses: uiService.getClasses(\"footer\", true),\n footerContainerClasses: uiService.getClasses(\"footer_container\", true)\n };\n }, [uiService]);\n\n const { tenant } = useSelector(\n (state) => ({\n tenant: GetTenant(),\n }),\n shallowEqual\n );\n\n //Warning: This is the PRODUCTION S3 BUCKET\n const baseUrl = \"https://coristechda3c2209cf6940b7976e4d383712a5ea142526-prod.s3.eu-central-1.amazonaws.com/public/tos/\";\n const DealerTosPdf = baseUrl + \"Dealer_TOS_Gennaio_2025.pdf\";\n const DealerPrivacyPolicyPdf = baseUrl + \"DEALER_PRIVACY_POLICY.pdf\";\n const ServicesPdf = baseUrl + \"SERVIZI.pdf\";\n const FeePdf = baseUrl + \"CANONI.pdf\";\n const TenantTosPdf = baseUrl + \"Tenant_TOS_Gennaio_2025.pdf\";\n const TenantPrivacyPolicyPdf = baseUrl + \"TENANT_PRIVACY_POLICY.pdf\";\n\n return (\n \n \n
\n {today.toString()} ©{\" \"}\n \n DTR-Service\n \n
\n
\n {tenant && (\n <>\n {tenant.isPartner ? (\n <>\n \n Termini di servizio\n \n
\n \n Privacy Policy\n \n
\n \n Servizi\n \n {\" - \"}\n \n Canoni\n \n \n ) : (\n <>\n \n Termini di servizio\n \n
\n \n Privacy Policy\n \n \n )}\n \n )}\n
\n
\n DTR Italy S.r.l.
\n Sede Legale: Via Giuseppe Luosi 14 - 20131 Milano
\n Sede Operativa: Via Lussemburgo 28 - 21013 Gallarate (VA) \n
\n
\n \n
\n P.IVA/C.F. 10244350962
\n commerciale@dtr-italy.com\n
\n \n \n );\n}\n","/* eslint-disable */\n\"use strict\";\n\nimport KTToggle from \"./../../components/toggle.js\";\nimport { KTUtil } from \"./../../components/util.js\";\n\nvar KTLayoutHeaderTopbar = function() {\n // Private properties\n\tvar _toggleElement;\n var _toggleObject;\n\n // Private functions\n var _init = function() {\n\t\t\t_toggleObject = new KTToggle(_toggleElement, {\n\t\t\t\ttarget: KTUtil.getBody(),\n\t\t\t\ttargetState: 'topbar-mobile-on',\n\t\t\t\ttoggleState: 'active',\n\t\t\t});\n }\n\n // Public methods\n\treturn {\n\t\tinit: function(id) {\n _toggleElement = KTUtil.getById(id);\n\n\t\t\tif (!_toggleElement) {\n return;\n }\n\n // Initialize\n _init();\n\t\t},\n\n getToggleElement: function() {\n return _toggleElement;\n }\n\t};\n}();\n\n// Webpack support\nif (typeof module !== 'undefined') {\n\t// module.exports = KTLayoutHeaderTopbar;\n}\n\nexport default KTLayoutHeaderTopbar;","/* eslint-disable */\n\"use strict\";\n\nimport { KTUtil } from \"./../../components/util.js\";\n\nvar KTLayoutFooter = function() {\n // Private properties\n var _element;\n\n\t// Private functions\n\tvar _getHeight = function() {\n\t\tvar height = 0;\n\n if (_element) {\n height = KTUtil.actualHeight(_element);\n }\n\n\t\treturn height;\n\t}\n\n // Public methods\n\treturn {\n\t\tinit: function(id) {\n _element = KTUtil.getById(id);\n\t\t},\n\n\t\tgetHeight: function() {\n\t\t\treturn _getHeight();\n\t\t},\n\n getElement: function() {\n return _element;\n }\n\t};\n}();\n\n// Webpack support\nif (typeof module !== 'undefined') {\n\t// module.exports = KTLayoutFooter;\n}\n\nexport default KTLayoutFooter;","/* eslint-disable */\n\"use strict\";\n\nimport { KTUtil } from \"./../../components/util.js\";\nimport KTLayoutHeader from \"./header.js\";\nimport KTLayoutSubheader from \"./subheader.js\";\nimport KTLayoutFooter from \"./footer.js\";\n\nvar KTLayoutContent = function() {\n // Private properties\n var _element;\n\n\t// Private functions\n\tvar _getHeight = function() {\n\t\tvar height;\n\n\t\theight = KTUtil.getViewPort().height;\n\n if (_element) {\n height = height - parseInt(KTUtil.css(_element, 'paddingTop')) - parseInt(KTUtil.css(_element, 'paddingBottom'));\n }\n\n height = height - KTLayoutHeader.getHeight();\n height = height - KTLayoutSubheader.getHeight();\n height = height - KTLayoutFooter.getHeight();\n\n\t\treturn height;\n\t}\n\n // Public methods\n\treturn {\n\t\tinit: function(id) {\n _element = KTUtil.getById(id);\n\t\t},\n\n\t\tgetHeight: function() {\n\t\t\treturn _getHeight();\n\t\t},\n\n getElement: function() {\n return _element;\n }\n\t};\n}();\n\n// Webpack support\nif (typeof module !== 'undefined') {\n\t// module.exports = KTLayoutContent;\n}\n\nexport default KTLayoutContent;","/* eslint-disable */\n\"use strict\";\n\nimport KTScrolltop from \"./../../components/scrolltop.js\";\nimport { KTUtil } from \"./../../components/util.js\";\n\nvar KTLayoutScrolltop = function() {\n // Private properties\n var _element;\n var _object;\n\n // Private functions\n var _init = function() {\n _object = new KTScrolltop(_element, {\n offset: 300,\n speed: 600,\n });\n }\n\n // Public methods\n\treturn {\n\t\tinit: function(id) {\n _element = KTUtil.getById(id);\n\n if (!_element) {\n return;\n }\n\n // Initialize\n _init();\n\t\t},\n\n getElement: function() {\n return _element;\n }\n\t};\n}();\n\n// Webpack support\nif (typeof module !== 'undefined') {\n\t// module.exports = KTLayoutScrolltop;\n}\n\nexport default KTLayoutScrolltop;","/* eslint-disable */\n\"use strict\";\n\nimport { KTUtil } from \"./../../components/util.js\";\nimport KTLayoutContent from \"./content.js\";\n\nvar KTLayoutStretchedCard = function() {\n // Private properties\n\tvar _element;\n\n\t// Private functions\n\tvar _init = function() {\n\t\tvar scroll = KTUtil.find(_element, '.card-scroll');\n\t\tvar cardBody = KTUtil.find(_element, '.card-body');\n\t\tvar cardHeader = KTUtil.find(_element, '.card-header');\n\n\t\tvar height = KTLayoutContent.getHeight();\n\n\t\theight = height - parseInt(KTUtil.actualHeight(cardHeader));\n\n\t\theight = height - parseInt(KTUtil.css(_element, 'marginTop')) - parseInt(KTUtil.css(_element, 'marginBottom'));\n\t\theight = height - parseInt(KTUtil.css(_element, 'paddingTop')) - parseInt(KTUtil.css(_element, 'paddingBottom'));\n\n\t\theight = height - parseInt(KTUtil.css(cardBody, 'paddingTop')) - parseInt(KTUtil.css(cardBody, 'paddingBottom'));\n\t\theight = height - parseInt(KTUtil.css(cardBody, 'marginTop')) - parseInt(KTUtil.css(cardBody, 'marginBottom'));\n\n\t\theight = height - 3;\n\n\t\tKTUtil.css(scroll, 'height', height + 'px');\n\t}\n\n // Public methods\n\treturn {\n\t\tinit: function(id) {\n _element = KTUtil.getById(id);\n\n if (!_element) {\n return;\n }\n\n // Initialize\n\t\t\t_init();\n\n // Re-calculate on window resize\n KTUtil.addResizeHandler(function() {\n\t\t\t\t_init();\n\t\t\t});\n\t\t},\n\n\t\tupdate: function() {\n\t\t\t_init();\n\t\t}\n\t};\n}();\n\n// Webpack support\nif (typeof module !== 'undefined') {\n\t// module.exports = KTLayoutStretchedCard;\n}\n\nexport default KTLayoutStretchedCard;","/* eslint-disable */\n\"use strict\";\n\nimport { KTUtil } from \"./../../components/util.js\";\nimport KTOffcanvas from \"./../../components/offcanvas.js\";\n\nvar KTLayoutQuickPanel = function() {\n // Private properties\n var _element;\n var _offcanvasObject;\n var _notificationsElement;\n var _logsElement;\n var _settingsElement;\n\n // Private functions\n var _getContentHeight = function() {\n var height;\n\n var header = KTUtil.find(_element, '.offcanvas-header');\n var content = KTUtil.find(_element, '.offcanvas-content');\n\n var height = parseInt(KTUtil.getViewPort().height);\n\n if (header) {\n height = height - parseInt(KTUtil.actualHeight(header));\n height = height - parseInt(KTUtil.css(header, 'marginTop'));\n height = height - parseInt(KTUtil.css(header, 'marginBottom'));\n }\n\n if (content) {\n height = height - parseInt(KTUtil.css(content, 'marginTop'));\n height = height - parseInt(KTUtil.css(content, 'marginBottom'));\n }\n\n height = height - parseInt(KTUtil.css(_element, 'paddingTop'));\n height = height - parseInt(KTUtil.css(_element, 'paddingBottom'));\n\n height = height - 2;\n\n return height;\n }\n\n var _init = function() {\n _offcanvasObject = new KTOffcanvas(_element, {\n overlay: true,\n baseClass: 'offcanvas',\n placement: 'right',\n closeBy: 'kt_quick_panel_close',\n toggleBy: 'kt_quick_panel_toggle'\n });\n }\n\n var _initNotifications = function() {\n KTUtil.scrollInit(_notificationsElement, {\n mobileNativeScroll: true,\n resetHeightOnDestroy: true,\n handleWindowResize: true,\n height: function() {\n return _getContentHeight();\n }\n });\n }\n\n var _initLogs = function() {\n KTUtil.scrollInit(_logsElement, {\n mobileNativeScroll: true,\n resetHeightOnDestroy: true,\n handleWindowResize: true,\n height: function() {\n return _getContentHeight();\n }\n });\n }\n\n var _initSettings = function() {\n KTUtil.scrollInit(_settingsElement, {\n mobileNativeScroll: true,\n resetHeightOnDestroy: true,\n handleWindowResize: true,\n height: function() {\n return _getContentHeight();\n }\n });\n }\n\n var _updateScrollbars = function() {\n $(_element).find('a[data-toggle=\"tab\"]').on('shown.bs.tab', function (e) {\n KTUtil.scrollUpdate(_notificationsElement);\n KTUtil.scrollUpdate(_logsElement);\n KTUtil.scrollUpdate(_settingsElement);\n });\n }\n\n // Public methods\n return {\n init: function(id) {\n _element = KTUtil.getById(id);\n _notificationsElement = KTUtil.getById('kt_quick_panel_notifications');\n _logsElement = KTUtil.getById('kt_quick_panel_logs');\n _settingsElement = KTUtil.getById('kt_quick_panel_settings');\n\n _init();\n _initNotifications();\n _initLogs();\n _initSettings();\n\n \n }\n };\n}();\n\n// Webpack support\nif (typeof module !== 'undefined') {\n\t// module.exports = KTLayoutQuickPanel;\n}\n\nexport default KTLayoutQuickPanel;","/* eslint-disable */\n\"use strict\";\n\nimport { KTUtil } from \"./../../components/util.js\";\nimport KTOffcanvas from \"./../../components/offcanvas.js\";\n\nvar KTLayoutQuickUser = function() {\n // Private properties\n var _element;\n var _offcanvasObject;\n\n // Private functions\n var _init = function() {\n var header = KTUtil.find(_element, '.offcanvas-header');\n var content = KTUtil.find(_element, '.offcanvas-content');\n\n _offcanvasObject = new KTOffcanvas(_element, {\n overlay: true,\n baseClass: 'offcanvas',\n placement: 'right',\n closeBy: 'kt_quick_user_close',\n toggleBy: 'kt_quick_user_toggle'\n });\n\n KTUtil.scrollInit(content, {\n disableForMobile: true,\n resetHeightOnDestroy: true,\n handleWindowResize: true,\n height: function() {\n var height = parseInt(KTUtil.getViewPort().height);\n\n if (header) {\n height = height - parseInt(KTUtil.actualHeight(header));\n height = height - parseInt(KTUtil.css(header, 'marginTop'));\n height = height - parseInt(KTUtil.css(header, 'marginBottom'));\n }\n\n if (content) {\n height = height - parseInt(KTUtil.css(content, 'marginTop'));\n height = height - parseInt(KTUtil.css(content, 'marginBottom'));\n }\n\n height = height - parseInt(KTUtil.css(_element, 'paddingTop'));\n height = height - parseInt(KTUtil.css(_element, 'paddingBottom'));\n\n height = height - 2;\n\n return height;\n }\n });\n }\n\n // Public methods\n return {\n init: function(id) {\n _element = KTUtil.getById(id);\n\n if (!_element) {\n return;\n }\n\n // Initialize\n _init();\n },\n\n getElement: function() {\n return _element;\n }\n };\n}();\n\n// Webpack support\nif (typeof module !== 'undefined') {\n\t// module.exports = KTLayoutQuickUser;\n}\n\nexport default KTLayoutQuickUser;","import React, {useLayoutEffect} from \"react\";\nimport {KTUtil} from \"../../_assets/js/components/util\";\nimport KTLayoutHeader from \"../../_assets/js/layout/base/header\";\nimport KTLayoutHeaderMenu from \"../../_assets/js/layout/base/header-menu\";\nimport KTLayoutHeaderTopbar from \"../../_assets/js/layout/base/header-topbar\";\nimport KTLayoutBrand from \"../../_assets/js/layout/base/brand\";\nimport KTLayoutAside from \"../../_assets/js/layout/base/aside\";\nimport KTLayoutAsideToggle from \"../../_assets/js/layout/base/aside-toggle\";\nimport KTLayoutAsideMenu from \"../../_assets/js/layout/base/aside-menu\";\nimport KTLayoutContent from \"../../_assets/js/layout/base/content\";\nimport KTLayoutFooter from \"../../_assets/js/layout/base/footer\";\nimport KTLayoutSubheader from \"../../_assets/js/layout/base/subheader\";\nimport KTLayoutScrolltop from \"../../_assets/js/layout/extended/scrolltop\";\nimport KTLayoutStickyCard from \"../../_assets/js/layout/base/sticky-card\";\nimport KTLayoutStretchedCard from \"../../_assets/js/layout/base/stretched-card\";\nimport KTLayoutQuickPanel from \"../../_assets/js/layout/extended/quick-panel\";\nimport KTLayoutQuickUser from \"../../_assets/js/layout/extended/quick-user\";\n\nexport function LayoutInit() {\n useLayoutEffect(() => {\n // Initialization\n KTUtil.ready(function () {\n ////////////////////////////////////////////////////\n // Layout Base Partials(mandatory for core layout)//\n ////////////////////////////////////////////////////\n // Init Desktop & Mobile Headers\n KTLayoutHeader.init('kt_header', 'kt_header_mobile');\n\n // Init Header Menu\n KTLayoutHeaderMenu.init('kt_header_menu', 'kt_header_menu_wrapper');\n // Init Header Topbar For Mobile Mode\n KTLayoutHeaderTopbar.init('kt_header_mobile_topbar_toggle');\n // Init Brand Panel For Logo\n KTLayoutBrand.init('kt_brand');\n // Init Aside\n KTLayoutAside.init('kt_aside');\n\n // Init Aside Menu Toggle\n KTLayoutAsideToggle.init('kt_aside_toggle');\n //\n // Init Aside Menu\n KTLayoutAsideMenu.init('kt_aside_menu');\n\n // Init Content\n KTLayoutContent.init('kt_content');\n\n // Init Footer\n KTLayoutFooter.init('kt_footer');\n\n\n //////////////////////////////////////////////\n // Layout Extended Partials(optional to use)//\n //////////////////////////////////////////////\n KTLayoutSubheader.init('kt_subheader');\n\n // Init Scrolltop\n KTLayoutScrolltop.init('kt_scrolltop');\n\n // Init Sticky Card\n KTLayoutStickyCard.init('kt_page_sticky_card');\n\n // Init Stretched Card\n KTLayoutStretchedCard.init('kt_page_stretched_card');\n\n // Init Quick Offcanvas Panel\n KTLayoutQuickPanel.init('kt_quick_panel');\n\n // Init Quick User Panel\n KTLayoutQuickUser.init('kt_quick_user');\n });\n }, []);\n return <>;\n}\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from \"react\";\nimport {Link} from \"react-router-dom\";\n\nexport function BreadCrumbs({items}) {\n if (!items || !items.length) {\n return \"\";\n }\n\n return (\n
    \n
  • \n \n \n \n
  • \n {items.map((item, index) => (\n
  • \n \n {item.title}\n \n
  • \n ))}\n
\n );\n}\n","import React, {createContext, useState, useContext} from \"react\";\n\nexport function getBreadcrumbsAndTitle(menuId, pathName) {\n const result = {\n breadcrumbs: [],\n title: \"\"\n };\n const menu = document.getElementById(menuId);\n if (!menu) {\n return result;\n }\n\n\n const activeLinksArray = Array.from(menu.getElementsByClassName(\"active\") || []);\n const activeLinks = activeLinksArray.filter(el => el.tagName === \"A\");\n if (!activeLinks) {\n return result;\n }\n\n activeLinks.forEach(link => {\n const titleSpans = link.getElementsByClassName(\"menu-text\");\n if (titleSpans) {\n const titleSpan = Array.from(titleSpans).find(t => t.innerHTML);\n if (titleSpan) {\n result.breadcrumbs.push(\n {\n pathname: link.pathname,\n title: titleSpan.innerHTML\n }\n );\n }\n }\n });\n result.title = getTitle(result.breadcrumbs, pathName);\n return result;\n}\n\nexport function getTitle(breadCrumbs, pathname) {\n if (!breadCrumbs || !pathname) {\n return \"\";\n }\n\n const item = breadCrumbs.find(b => b.pathname === pathname);\n if (!item) {\n return \"\";\n }\n\n return item.title;\n}\n\nconst SubheaderContext = createContext();\n\nexport function useSubheader() {\n return useContext(SubheaderContext);\n}\n\nexport const SubheaderConsumer = SubheaderContext.Consumer;\n\nexport function MetronicSubheaderProvider({ children }) {\n const [title, setTitle] = useState(\"\");\n const [breadcrumbs, setBreadcrumbs] = useState([]);\n const value = { title, setTitle, breadcrumbs, setBreadcrumbs };\n return {children};\n}\n","/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\nimport React, {useMemo, useLayoutEffect} from \"react\";\nimport objectPath from \"object-path\";\nimport {useLocation} from \"react-router-dom\";\n//import {QuickActions} from \"./components/QuickActions\";\nimport {BreadCrumbs} from \"./components/BreadCrumbs\";\nimport {getBreadcrumbsAndTitle, useSubheader} from \"../../_core/MetronicSubheader\";\nimport {useHtmlClassService} from \"../../_core/MetronicLayout\"\nimport { FormattedMessage } from \"react-intl\";\n\nexport function SubHeader() {\n const uiService = useHtmlClassService();\n const location = useLocation();\n const subheader = useSubheader();\n\n const layoutProps = useMemo(() => {\n return {\n config: uiService.config,\n subheaderMobileToggle: objectPath.get(\n uiService.config,\n \"subheader.mobile-toggle\"\n ),\n subheaderCssClasses: uiService.getClasses(\"subheader\", true),\n subheaderContainerCssClasses: uiService.getClasses(\n \"subheader_container\",\n true\n )\n };\n }, [uiService]);\n\n useLayoutEffect(() => {\n const aside = getBreadcrumbsAndTitle(\"kt_aside_menu\", location.pathname);\n const header = getBreadcrumbsAndTitle(\"kt_header_menu\", location.pathname);\n subheader.setBreadcrumbs(aside.breadcrumbs || header.breadcrumbs);\n subheader.setTitle(aside.title || header.title);\n // eslint-disable-next-line\n }, [location.pathname]);\n\n return (\n \n \n {/* Info */}\n
\n {layoutProps.subheaderMobileToggle && (\n \n \n \n )}\n\n
\n
\n <>\n {subheader.title}\n \n {/**/}\n
\n\n
\n\n\n \n
\n\n {/* Toolbar */}\n {/*\n \n */}\n
\n
\n \n \n \n \n
\n
\n\n \n \n );\n}\n","/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid,no-undef */\nimport React from \"react\";\n\nexport function QuickPanel() {\n return (\n <>\n );\n}\n","/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid,no-undef */\nimport React from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { shallowEqual, useDispatch, useSelector } from \"react-redux\";\nimport * as actions from \"../../../../../app/modules/AuthCognito/_redux/authActions\";\nimport { GetTenant } from \"../../../../../app/utils\";\nimport { FormattedMessage } from \"react-intl\";\nimport { toAbsoluteUrl } from \"../../../../_helpers\";\n\nexport function QuickUser() {\n const history = useHistory();\n const dispatch = useDispatch();\n\n const { user, tenant } = useSelector(\n (state) => ({\n user: state.auth.user,\n tenant: GetTenant(),\n }),\n shallowEqual\n );\n\n const logoutClick = () => {\n dispatch(actions.logout()).then(() => {\n dispatch({ type: \"USER_LOGOUT\" });\n localStorage.clear();\n history.push(\"/\");\n });\n };\n\n return (\n
\n
\n

\n \n {/*12 messages*/}\n

\n \n \n \n
\n\n \n
\n \n
\n \n
\n
\n \n {user ? ((user.firstName ? user.firstName : \"\") + \" \" + (user.lastName ? user.lastName : \"\")) : \"\"}\n \n \n {/* \n Sign Out\n */}\n \n
\n
\n\n
\n\n
\n
history.push(\"/user/profile\")} className=\"navi-item cursor-pointer\">\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n\n {/*\n
history.push(\"/news\")} className=\"navi-item cursor-pointer\">\n
\n
\n
\n \n \n \n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n */}\n\n {tenant && tenant.isPartner && (\n <>\n
history.push(\"/changelog\")} className=\"navi-item cursor-pointer\">\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n\n
history.push(\"/erratanote\")} className=\"navi-item cursor-pointer\">\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n\n
history.push(\"/docs\")} className=\"navi-item cursor-pointer\">\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n )}\n
\n
\n
\n );\n}\n","import React from \"react\";\n\nexport function ScrollTop() {\n return (\n
\n \n {\" \"}\n
\n );\n}\n","/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\nimport React from \"react\";\nimport {Link} from \"react-router-dom\";\nimport {OverlayTrigger, Tooltip} from \"react-bootstrap\";\nimport Can from \"../../../../app/modules/AWS/Can\";\n\nexport function StickyToolbar() {\n return (\n <>\n \n
    \n Layout Builder}\n >\n
  • \n \n \n \n
  • \n \n\n Documentation}\n >\n
  • \n \n \n \n
  • \n \n
\n
\n \n );\n}\n","import React, {useMemo} from \"react\";\nimport objectPath from \"object-path\";\n// LayoutContext\nimport {useHtmlClassService} from \"../_core/MetronicLayout\";\n// Import Layout components\nimport {Header} from \"./header/Header\";\nimport {HeaderMobile} from \"./header-mobile/HeaderMobile\";\nimport {Aside} from \"./aside/Aside\";\nimport {Footer} from \"./footer/Footer\";\nimport {LayoutInit} from \"./LayoutInit\";\nimport {SubHeader} from \"./subheader/SubHeader\";\nimport {QuickPanel} from \"./extras/offcanvas/QuickPanel\";\nimport {QuickUser} from \"./extras/offcanvas/QuickUser\";\nimport {ScrollTop} from \"./extras/ScrollTop\";\nimport {StickyToolbar} from \"./extras/StickyToolbar\";\n\nimport Can from \"../../../app/modules/AWS/Can\";\nimport { shallowEqual, useSelector } from \"react-redux\";\n\nexport function Layout({ children }) {\n const uiService = useHtmlClassService();\n // Layout settings (cssClasses/cssAttributes)\n const layoutProps = useMemo(() => {\n return {\n layoutConfig: uiService.config,\n selfLayout: objectPath.get(uiService.config, \"self.layout\"),\n asideDisplay: objectPath.get(uiService.config, \"aside.self.display\"),\n subheaderDisplay: objectPath.get(uiService.config, \"subheader.display\"),\n desktopHeaderDisplay: objectPath.get(\n uiService.config,\n \"header.self.fixed.desktop\"\n ),\n contentCssClasses: uiService.getClasses(\"content\", true),\n contentContainerClasses: uiService.getClasses(\"content_container\", true),\n contentExtended: objectPath.get(uiService.config, \"content.extended\")\n };\n }, [uiService]);\n\n const { loginType } = useSelector(\n (state) => ({\n loginType: state.auth.loginType,\n }),\n shallowEqual\n );\n\n return layoutProps.selfLayout !== \"blank\" ? (\n <>\n {/*begin::Main*/}\n \n
\n {/*begin::Page*/}\n
\n {layoutProps.asideDisplay && (\n
\n
\n )}\n {/*begin::Wrapper*/}\n
\n
\n {/*begin::Content*/}\n \n \n {layoutProps.subheaderDisplay && }\n \n {/*begin::Entry*/}\n {!layoutProps.contentExtended && (\n
\n {/*begin::Container*/}\n
\n {children}\n
\n {/*end::Container*/}\n
\n )}\n\n {layoutProps.contentExtended && {children}}\n {/*end::Entry*/}\n
\n {/*end::Content*/}\n
\n
\n {/*end::Wrapper*/}\n
\n {/*end::Page*/}\n \n \n \n \n \n {/*end::Main*/}\n \n \n ) : (\n // BLANK LAYOUT\n
{children}
\n );\n}\n","import React, {useEffect, useState} from \"react\";\nimport {useRouteMatch} from \"react-router-dom\";\n\nexport function Content({ children }) {\n const match = useRouteMatch() || {};\n const animationEndClass = \"grid-animateContent-finished\";\n const [cssClassesState, setCssClassesState] = useState([\n \"grid-animateContent\",\n animationEndClass\n ]);\n\n useEffect(() => {\n // for animation start should toggle 'grid-animateContent-finished' css class\n // TODO: change useMemo\n const fullClasses = [...cssClassesState];\n const startAnimation = fullClasses.filter(el => el !== animationEndClass);\n setCssClassesState(startAnimation);\n const timeOutId = setTimeout(() => {\n setCssClassesState(fullClasses);\n }, 200);\n\n return () => {\n clearTimeout(timeOutId);\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [match.url]);\n\n return <>{children};\n}\n","import React from \"react\";\nimport {Route} from \"react-router-dom\";\nimport {Content} from \"./Content\";\n\nexport function ContentRoute({ children, component, render, ...props }) {\n return (\n \n {routeProps => {\n if (typeof children === \"function\") {\n return {children(routeProps)};\n }\n\n if (!routeProps.match) {\n return null;\n }\n\n if (children) {\n return {children};\n }\n\n if (component) {\n return (\n {React.createElement(component, routeProps)}\n );\n }\n\n if (render) {\n return {render(routeProps)};\n }\n\n return null;\n }}\n \n );\n}\n","import React, {createContext, useContext, useState, useEffect} from \"react\";\n\nconst MetronicSplashScreenContext = createContext();\n\nexport function MetronicSplashScreenProvider({ children }) {\n const [count, setCount] = useState(0);\n let visible = count > 0;\n\n useEffect(() => {\n const splashScreen = document.getElementById(\"splash-screen\");\n\n // Show SplashScreen\n if (splashScreen && visible) {\n splashScreen.classList.remove(\"hidden\");\n\n return () => {\n splashScreen.classList.add(\"hidden\");\n };\n }\n\n // Hide SplashScreen\n let timeout;\n if (splashScreen && !visible) {\n timeout = setTimeout(() => {\n splashScreen.classList.add(\"hidden\");\n }, 3000);\n }\n\n return () => {\n clearTimeout(timeout);\n };\n }, [visible]);\n\n return (\n \n {children}\n \n );\n}\n\nexport function LayoutSplashScreen({ visible = true }) {\n // Everything are ready - remove splashscreen\n const setCount = useContext(MetronicSplashScreenContext);\n\n useEffect(() => {\n if (!visible) {\n return;\n }\n\n setCount(prev => {\n return prev + 1;\n });\n\n return () => {\n setCount(prev => {\n return prev - 1;\n });\n };\n }, [setCount, visible]);\n\n return null;\n}\n","import React from \"react\";\nimport {createMuiTheme} from \"@material-ui/core\";\nimport {ThemeProvider} from \"@material-ui/styles\";\n\nconst theme = createMuiTheme(\n /**\n * @see https://material-ui.com/customization/themes/#theme-configuration-variables\n */\n {\n // direction: \"rtl\",\n typography: {\n fontFamily: [\"Poppins\"].join(\",\")\n },\n\n palette: {\n primary: {\n // light: will be calculated from palette.primary.main,\n main: \"#17c191\",\n // dark: will be calculated from palette.primary.main,\n // contrastText: \"#fff\" //will be calculated to contrast with palette.primary.main\n },\n secondary: {\n // light: will be calculated from palette.primary.main,\n main: \"#3783e7\",\n // dark: will be calculated from palette.primary.main,\n // contrastText: \"#fff\" //will be calculated to contrast with palette.primary.main\n },\n error: {\n // light: will be calculated from palette.primary.main,\n main: \"#f018a6\",\n // dark: will be calculated from palette.primary.main,\n // contrastText: \"#fff\" //will be calculated to contrast with palette.primary.main\n }\n },\n\n /**\n * @see https://material-ui.com/customization/globals/#default-props\n */\n props: {\n // Name of the component ⚛️\n MuiButtonBase: {\n // The properties to apply\n disableRipple: true // No more ripple, on the whole application 💣!\n },\n\n // Set default elevation to 1 for popovers.\n MuiPopover: {\n elevation: 1\n }\n }\n }\n);\n\nexport function MaterialThemeProvider(props) {\n const { children } = props;\n\n return {children};\n}\n","import { createContext } from \"react\";\nimport { createContextualCan } from \"@casl/react\";\n\nexport const AbilityContext = createContext();\nexport default createContextualCan(AbilityContext.Consumer);\n","import {\n AUTH_USER,\n AUTH_MFA,\n AUTH_NEW_PASSWORD_REQUIRED,\n UNAUTH_USER,\n REGISTER_USER,\n REGISTER_USER_CONFIRM,\n REGISTER_MFA,\n REGISTER_USER_ERROR,\n FORGOT_PASSWORD,\n FORGOT_PASSWORD_CONFIRM,\n AUTH_ERROR,\n AUTH_ERROR_CLEAR,\n COMPLETE_REGISTRATION,\n UPDATE_USER_PARTY,\n UPDATE_TENANT_PARTY,\n UPDATE_TENANT,\n UPDATE_USER,\n REFRESH_CURRENT_USER,\n INCREMENT_ITEM_SORTING,\n INCREMENT_ITEMGROUP_SORTING,\n CHANGE_LOGIN_TYPE,\n CANCEL_FORGOT_PASSWORD,\n CANCEL_REGISTRATION,\n FORCE_REFRESH_TOKEN,\n PENDING_SOCIAL_SIGN_IN,\n SET_USER_TYPE\n} from \"./types\";\nimport { persistReducer } from \"redux-persist\";\nimport storage from \"redux-persist/lib/storage\";\n\n/* export default function(state = {}, action) { */\nconst initialAuthState = {\n user: undefined,\n authToken: undefined,\n};\n\nexport const reducer = persistReducer(\n { storage, key: \"auth\" /* , whitelist: [\"user\", \"authToken\"] */ },\n (state = initialAuthState, action) => {\n switch (action.type) {\n case AUTH_USER: {\n var result = {\n ...state,\n error: \"\",\n authenticated: true,\n mfa: false,\n changePassword: false,\n cognitoUser: action.payload.cognitoUser,\n loginType: action.payload.loginType,\n pendingSocialSignIn: false,\n lastReduxAction: \"AUTH_USER\",\n };\n\n if (action.payload.user) {\n result.user = {\n ...action.payload.user,\n tenantUser: {\n ...action.payload.user.tenantUser,\n items: action.payload.user.tenantUser.items.map((item) => {\n return {\n ...item,\n tenant: {\n ...item.tenant,\n extensions: JSON.parse(item.tenant.extensions),\n },\n };\n }),\n },\n userRetailStore: {\n ...action.payload.user.userRetailStore,\n items: action.payload.user.userRetailStore.items.map((item) => {\n return {\n ...item,\n retailStore: {\n ...item.retailStore,\n extensions: JSON.parse(item.retailStore.extensions),\n },\n };\n }),\n },\n };\n } else {\n result.loginType = 0;\n }\n\n const returnProps = result;\n return returnProps;\n }\n case SET_USER_TYPE: {\n const returnProps = {\n ...state,\n userType: action.payload.userType,\n lastReduxAction: \"SET_USER_TYPE\",\n };\n\n return returnProps;\n }\n case PENDING_SOCIAL_SIGN_IN: {\n const returnProps = {\n ...state,\n pendingSocialSignIn: true,\n socialProvider: action.payload.provider,\n lastReduxAction: \"PENDING_SOCIAL_SIGN_IN\",\n };\n\n return returnProps;\n }\n case FORCE_REFRESH_TOKEN: {\n const returnProps = {\n ...state,\n cognitoUser: action.payload,\n lastReduxAction: \"FORCE_REFRESH_TOKEN\",\n };\n\n return returnProps;\n }\n case AUTH_MFA: {\n console.log(\"AUTH_MFA\");\n\n const returnProps = {\n ...state,\n error: \"\",\n authenticated: false,\n mfa: true,\n changePassword: false,\n cognitoUser: action.payload,\n lastReduxAction: \"AUTH_MFA\",\n };\n\n return returnProps;\n }\n case AUTH_NEW_PASSWORD_REQUIRED: {\n console.log(\"AUTH_NEW_PASSWORD_REQUIRED\");\n\n const returnProps = {\n ...state,\n error: \"\",\n authenticated: false,\n mfa: false,\n changePassword: true,\n cognitoUser: action.payload,\n lastReduxAction: \"AUTH_NEW_PASSWORD_REQUIRED\",\n };\n\n return returnProps;\n }\n case UNAUTH_USER: {\n console.log(\"UNAUTH_USER\");\n\n const returnProps = {\n ...state,\n error: \"\",\n authenticated: false,\n user: null,\n cognitoUser: null,\n pendingSocialSignIn: false,\n socialProvider: \"\",\n lastReduxAction: \"UNAUTH_USER\",\n source: action.payload.source,\n };\n\n return returnProps;\n }\n case REGISTER_USER: {\n console.log(\"REGISTER_USER\");\n\n const returnProps = {\n ...state,\n error: \"\",\n authenticated: false,\n register: true,\n lastReduxAction: \"REGISTER_USER\",\n };\n\n return returnProps;\n }\n case REGISTER_USER_CONFIRM: {\n console.log(\"REGISTER_USER_CONFIRM\");\n\n const returnProps = {\n ...state,\n error: \"\",\n authenticated: false,\n register: true,\n mfa: false,\n resendCode: false,\n userType: action.payload.userType,\n registrationMethod: action.payload.registrationMethod,\n lastReduxAction: \"REGISTER_USER_CONFIRM\",\n };\n\n return returnProps;\n }\n case REGISTER_MFA: {\n const returnProps = {\n ...state,\n error: \"\",\n mfa: true,\n resendCode: false,\n cognitoUser: action.payload,\n lastReduxAction: \"REGISTER_MFA\",\n };\n\n return returnProps;\n }\n case REGISTER_USER_ERROR: {\n const returnProps = {\n ...state,\n error: action.payload,\n mfa: true,\n resendCode: true,\n cognitoUser: action.cognitoUser,\n lastReduxAction: \"REGISTER_USER_ERROR\",\n };\n\n return returnProps;\n }\n case AUTH_ERROR: {\n console.log(\"AUTH_ERROR\");\n\n const returnProps = {\n ...state,\n error: action.payload,\n authenticated: false,\n lastReduxAction: \"AUTH_ERROR\",\n };\n\n return returnProps;\n }\n case FORGOT_PASSWORD: {\n console.log(\"FORGOT_PASSWORD\");\n\n const returnProps = {\n ...state,\n error: \"\",\n forgotPasswordCode: true,\n authenticated: false,\n lastReduxAction: \"FORGOT_PASSWORD\",\n };\n\n return returnProps;\n }\n case FORGOT_PASSWORD_CONFIRM: {\n console.log(\"FORGOT_PASSWORD_CONFIRM\");\n\n const returnProps = {\n ...state,\n error: \"\",\n forgotPasswordCode: false,\n authenticated: false,\n lastReduxAction: \"FORGOT_PASSWORD_CONFIRM\",\n };\n\n return returnProps;\n }\n case AUTH_ERROR_CLEAR: {\n console.log(\"AUTH_ERROR_CLEAR\");\n \n const returnProps = { \n ...state, \n error: \"\",\n lastReduxAction: \"AUTH_ERROR_CLEAR\",\n /*, authenticated: false*/ \n };\n\n return returnProps;\n }\n case COMPLETE_REGISTRATION: {\n const returnProps = {\n ...state,\n user: action.payload.user,\n lastReduxAction: \"COMPLETE_REGISTRATION\",\n };\n return returnProps;\n }\n case UPDATE_USER_PARTY: {\n const returnProps = {\n ...state,\n lastReduxAction: \"UPDATE_USER_PARTY\",\n user: {\n ...state.user,\n ...action.payload.user,\n },\n };\n return returnProps;\n }\n case UPDATE_TENANT_PARTY: {\n const resultState = {\n ...state,\n lastReduxAction: \"UPDATE_TENANT_PARTY\",\n user: {\n ...state.user,\n tenantUser: {\n ...state.user.tenantUser,\n items: state.user.tenantUser.items.map((item) => {\n if (item.tenantId === action.payload.tenant.id) {\n item.tenant = { ...item.tenant, ...action.payload.tenant };\n }\n return item;\n }),\n },\n },\n };\n return resultState;\n }\n case UPDATE_TENANT: {\n const stateResult = {\n ...state,\n lastReduxAction: \"UPDATE_TENANT\",\n user: {\n ...state.user,\n tenantUser: {\n ...state.user.tenantUser,\n items: state.user.tenantUser.items.map((item) => {\n if (item.tenantId === action.payload.tenantId) {\n item.tenant = {\n ...action.payload.tenant,\n extensions: JSON.parse(action.payload.tenant.extensions),\n };\n }\n return item;\n }),\n },\n },\n };\n\n return stateResult;\n }\n case UPDATE_USER: {\n if (action.payload.user.id === state.user.id) {\n const stateResult = {\n ...state,\n lastReduxAction: \"UPDATE_USER\",\n user: {\n ...state.user,\n ...action.payload.user,\n tenantUser: {\n ...state.user.tenantUser,\n },\n },\n };\n\n return stateResult;\n }\n return { ...state };\n }\n case REFRESH_CURRENT_USER: {\n var rfc_result = {\n ...state,\n lastReduxAction: \"REFRESH_CURRENT_USER\",\n };\n\n if (action.payload.user) {\n rfc_result.user = {\n ...action.payload.user,\n tenantUser: {\n ...action.payload.user.tenantUser,\n items: action.payload.user.tenantUser.items.map((item) => {\n return {\n ...item,\n tenant: {\n ...item.tenant,\n extensions: JSON.parse(item.tenant.extensions),\n },\n };\n }),\n },\n userRetailStore: {\n ...action.payload.user.userRetailStore,\n items: action.payload.user.userRetailStore.items.map((item) => {\n return {\n ...item,\n retailStore: {\n ...item.retailStore,\n extensions: JSON.parse(item.retailStore.extensions),\n },\n };\n }),\n },\n };\n }\n\n const returnProps = rfc_result;\n return returnProps;\n }\n case INCREMENT_ITEM_SORTING: {\n return {\n ...state,\n user: {\n ...state.user,\n tenantUser: {\n ...state.user.tenantUser,\n items: state.user.tenantUser.items.map((item) => {\n if (item.tenantId === action.payload.tenantId) {\n return {\n ...item,\n tenant: {\n ...item.tenant,\n nextItemSorting: action.payload.nextItemSorting,\n },\n };\n }\n return { ...item };\n }),\n },\n },\n };\n }\n case INCREMENT_ITEMGROUP_SORTING: {\n return {\n ...state,\n user: {\n ...state.user,\n tenantUser: {\n ...state.user.tenantUser,\n items: state.user.tenantUser.items.map((item) => {\n if (item.tenantId === action.payload.tenantId) {\n return {\n ...item,\n tenant: {\n ...item.tenant,\n nextItemGroupSorting: action.payload.nextItemGroupSorting,\n },\n };\n }\n return { ...item };\n }),\n },\n },\n };\n }\n case CHANGE_LOGIN_TYPE: {\n return {\n ...state,\n lastReduxAction: \"CHANGE_LOGIN_TYPE\",\n loginType: action.payload.loginType,\n };\n }\n case CANCEL_FORGOT_PASSWORD: {\n return {\n ...state,\n lastReduxAction: \"CANCEL_FORGOT_PASSWORD\",\n forgotPasswordCode: false,\n };\n }\n case CANCEL_REGISTRATION: {\n return {\n ...state,\n lastReduxAction: \"CANCEL_REGISTRATION\",\n resendCode: false,\n mfa: false,\n };\n }\n\n default:\n return state;\n }\n }\n);\n","import {\n SET_CURRENT_TENANT,\n SET_CURRENT_TENANT_ASYNC,\n REFRESH,\n} from \"./tenantTypes\";\n\nimport { persistReducer } from \"redux-persist\";\nimport storage from \"redux-persist/lib/storage\";\n\nconst initialCompanyState = {\n currentTenantId: \"\",\n};\n\n//todo get default company for user\n\nexport const tenantReducer = persistReducer(\n { storage, key: \"tenant\" },\n (state = initialCompanyState, action) => {\n switch (action.type) {\n case SET_CURRENT_TENANT: {\n const returnProps = {\n ...state,\n };\n return returnProps;\n }\n\n case SET_CURRENT_TENANT_ASYNC: {\n const returnProps = {\n ...state,\n currentTenantId: action.payload,\n };\n return returnProps;\n }\n\n case REFRESH: {\n const returnProps = {\n ...state,\n };\n //console.log(\"Refresh\");\n window.location.reload();\n return returnProps;\n }\n\n default:\n return state;\n }\n }\n);\n","import { takeEvery, put, delay } from \"redux-saga/effects\";\nimport {\n SET_CURRENT_TENANT,\n SET_CURRENT_TENANT_ASYNC,\n REFRESH,\n} from \"./tenantTypes\";\n\nexport function* setCurrentTenantSaga() {\n yield takeEvery(SET_CURRENT_TENANT, changeTenant);\n}\n\nfunction* changeTenant(action) {\n yield put({ type: SET_CURRENT_TENANT_ASYNC, payload: action.payload });\n yield delay(1000);\n yield put({ type: REFRESH });\n}\n","import { combineReducers } from \"redux\";\nimport { GenerateSlice } from \"../../../utils\";\n\nimport { slice as ecrRegistrationSlice } from \"./ecr_registration/slice\";\nimport { slice as moitoRegistrationSlice } from \"./moitoiot_registration/slice\";\n\nexport const reducer = combineReducers({\n users: GenerateSlice(\"users\").reducer,\n licenses: GenerateSlice(\"licenses\").reducer,\n licenserequests: GenerateSlice(\"licenserequests\").reducer,\n retailstorelicenses: GenerateSlice(\"retailstorelicenses\").reducer,\n tenantusers: GenerateSlice(\"tenantusers\").reducer,\n userprivileges: GenerateSlice(\"userprivileges\").reducer,\n userlicenses: GenerateSlice(\"userlicenses\").reducer,\n privileges: GenerateSlice(\"privileges\").reducer,\n partnershiprequests: GenerateSlice(\"partnershiprequests\").reducer,\n privilegegroups: GenerateSlice(\"privilegegroups\").reducer,\n appsettings: GenerateSlice(\"appsettings\").reducer,\n tenants: GenerateSlice(\"tenants\").reducer,\n ecr_registration: ecrRegistrationSlice.reducer,\n moitoiot_registration: moitoRegistrationSlice.reducer,\n privilegeprivilegegroups: GenerateSlice(\"privilegeprivilegegroups\").reducer,\n news: GenerateSlice(\"news\").reducer,\n});\n","import { combineReducers } from \"redux\";\nimport { GenerateSlice } from \"../../../utils\";\n\nexport const reducer = combineReducers({\n retailstores: GenerateSlice(\"retailstores\").reducer,\n retailstorerooms: GenerateSlice(\"retailstorerooms\").reducer,\n retailstorelocations: GenerateSlice(\"retailstorelocations\").reducer,\n userretailstores: GenerateSlice(\"userretailstores\").reducer,\n cashregisters: GenerateSlice(\"cashregisters\").reducer,\n digitalcashregisters: GenerateSlice(\"digitalcashregisters\").reducer,\n});\n","import { combineReducers } from \"redux\";\nimport { GenerateSlice } from \"../../../utils\";\n\nexport const reducer = combineReducers({\n itemgroups: GenerateSlice(\"itemgroups\").reducer,\n itemitemgroups: GenerateSlice(\"itemitemgroups\").reducer,\n items: GenerateSlice(\"items\").reducer,\n});\n","import { combineReducers } from \"redux\";\nimport { persistReducer } from \"redux-persist\";\nimport { default as sessionStorage } from \"redux-persist/lib/storage/session\";\nimport storage from \"redux-persist/lib/storage\";\nimport { GenerateSlice } from \"../../../utils\";\n\nimport { slice as ordinationsSlice } from \"./ordinations/slice\";\nimport { slice as bookingSlice } from \"./booking/slice\";\nimport { slice as publicSlice } from \"./public/slice\";\n\nexport const reducer = combineReducers({\n itemgroups: GenerateSlice(\"atorder_itemgroups\").reducer,\n items: GenerateSlice(\"atorder_items\").reducer,\n public: persistReducer(\n { key: \"atorder.public\", storage: sessionStorage },\n publicSlice.reducer\n ),\n\n ordinations: persistReducer(\n { key: \"atorder.ordinations\", storage: sessionStorage },\n ordinationsSlice.reducer\n ),\n booking: persistReducer(\n { key: \"atorder.booking\", storage: storage },\n bookingSlice.reducer\n ),\n});\n","import { combineReducers } from \"redux\";\nimport { GenerateSlice } from \"../../../utils\";\n\nexport const reducer = combineReducers({\n pricelist: GenerateSlice(\"pricelist\").reducer,\n itempricelist: GenerateSlice(\"itempricelist\").reducer,\n salesorders: GenerateSlice(\"salesorders\").reducer,\n salesorderlines: GenerateSlice(\"salesorderlines\").reducer,\n});\n","import { combineReducers } from \"redux\";\nimport { GenerateSlice } from \"../../../utils\";\n\nexport const reducer = combineReducers({\n customers: GenerateSlice(\"customers\").reducer,\n});\n","import { combineReducers } from \"redux\";\nimport { GenerateSlice } from \"../../../utils\";\n\nexport const reducer = combineReducers({\n sectionals: GenerateSlice(\"sectionals\").reducer,\n salesinvoices: GenerateSlice(\"salesinvoices\").reducer,\n salesinvoicelines: GenerateSlice(\"salesinvoicelines\").reducer,\n purchinvoices: GenerateSlice(\"purchinvoices\").reducer,\n vatrates: GenerateSlice(\"vatrates\").reducer,\n departments: GenerateSlice(\"departments\").reducer,\n});\n","import { combineReducers } from \"redux\";\nimport { GenerateSlice } from \"../../../utils\";\n\nexport const reducer = combineReducers({\n transmissions: GenerateSlice(\"transmission\").reducer,\n costcenters: GenerateSlice(\"costcenters\").reducer,\n vendors: GenerateSlice(\"vendors\").reducer,\n});\n","import { combineReducers } from \"redux\";\nimport { GenerateSlice } from \"../../../utils\";\n\nexport const reducer = combineReducers({\n notifications: GenerateSlice(\"notifications\").reducer,\n});\n","import { combineReducers } from \"redux\";\n//import { GenerateSlice } from \"../../../utils\";\nimport { slice as dailysalesSlice } from \"./dailysales/slice\";\n\nexport const reducer = combineReducers({\n //dailysales: GenerateSlice(\"dailysales\").reducer,\n dailysales: dailysalesSlice.reducer,\n});\n","import { SET_CURRENT_STORE, SET_CURRENT_STORE_ASYNC, REFRESH } from \"./types\";\n\nimport { persistReducer } from \"redux-persist\";\nimport storage from \"redux-persist/lib/storage\";\n\nconst initialState = {\n currentStoreId: \"\",\n};\n\nexport const storeReducer = persistReducer(\n { storage, key: \"store\" },\n (state = initialState, action) => {\n switch (action.type) {\n case SET_CURRENT_STORE: {\n const returnProps = {\n ...state,\n currentStoreId: action.payload,\n };\n return returnProps;\n }\n\n case SET_CURRENT_STORE_ASYNC: {\n const returnProps = {\n ...state,\n currentStoreId: action.payload,\n };\n return returnProps;\n }\n\n case REFRESH: {\n const returnProps = {\n ...state,\n };\n window.location.reload();\n return returnProps;\n }\n\n default:\n return state;\n }\n }\n);\n","import { takeEvery, put, delay } from \"redux-saga/effects\";\nimport { SET_CURRENT_STORE, SET_CURRENT_STORE_ASYNC, REFRESH } from \"./types\";\n\nexport function* setCurrentStoreSaga() {\n yield takeEvery(SET_CURRENT_STORE, changeStore);\n}\n\nfunction* changeStore(action) {\n yield put({ type: SET_CURRENT_STORE_ASYNC, payload: action.payload });\n yield delay(1000);\n yield put({ type: REFRESH });\n}\n","import { SET_CURRENT_ECR, SET_CURRENT_ECR_ASYNC, REFRESH } from \"./types\";\n\nimport { persistReducer } from \"redux-persist\";\nimport storage from \"redux-persist/lib/storage\";\n\nconst initialState = {\n currentCashRegisterId: \"\",\n};\n\nexport const cashRegisterReducer = persistReducer(\n { storage, key: \"cashregister\" },\n (state = initialState, action) => {\n switch (action.type) {\n case SET_CURRENT_ECR: {\n const returnProps = {\n ...state,\n };\n return returnProps;\n }\n\n case SET_CURRENT_ECR_ASYNC: {\n const returnProps = {\n ...state,\n currentCashRegisterId: action.payload,\n };\n return returnProps;\n }\n\n case REFRESH: {\n const returnProps = {\n ...state,\n };\n window.location.reload();\n return returnProps;\n }\n\n default:\n return state;\n }\n }\n);\n","import { takeEvery, put, delay } from \"redux-saga/effects\";\nimport { SET_CURRENT_ECR, SET_CURRENT_ECR_ASYNC, REFRESH } from \"./types\";\n\nexport function* setCurrentCashRegisterSaga() {\n yield takeEvery(SET_CURRENT_ECR, changeCashRegister);\n}\n\nfunction* changeCashRegister(action) {\n yield put({ type: SET_CURRENT_ECR_ASYNC, payload: action.payload });\n yield delay(1000);\n yield put({ type: REFRESH });\n}\n","import { combineReducers } from \"redux\";\nimport { persistReducer } from \"redux-persist\";\nimport storage from \"redux-persist/lib/storage/session\";\nimport { GenerateSlice } from \"../../../utils\";\n\nimport { slice as configurationSlice } from \"./configuration/slice\";\nimport { slice as filtersSlice } from \"./filters/slice\";\n\nexport const reducer = combineReducers({\n ecrconfigurations: GenerateSlice(\"ecrconfigurations\").reducer,\n configuration: configurationSlice.reducer,\n favorites: GenerateSlice(\"favorites\").reducer,\n interventions: GenerateSlice(\"interventions\").reducer,\n errors: GenerateSlice(\"errors\").reducer,\n partnernotes: GenerateSlice(\"partnernotes\").reducer,\n filters: persistReducer(\n { key: \"rt_utility.filters\", storage: storage },\n filtersSlice.reducer\n ),\n firmwares: GenerateSlice(\"firmwares\").reducer,\n fwupgradeheaders: GenerateSlice(\"fwupgradeheaders\").reducer,\n fwupgradelines: GenerateSlice(\"fwupgradelines\").reducer,\n certificates: GenerateSlice(\"certificates\").reducer,\n logs: GenerateSlice(\"logs\").reducer,\n pendingxmls: GenerateSlice(\"pendingxmls\").reducer,\n advmessages: GenerateSlice(\"advmessages\").reducer,\n});\n","import { combineReducers } from \"redux\";\nimport { GenerateSlice } from \"../../../utils\";\n\nexport const reducer = combineReducers({\n firmwarestats: GenerateSlice(\"firmwarestats\").reducer,\n});\n","import { combineReducers } from \"redux\";\nimport { GenerateSlice } from \"../../../utils\";\n\nexport const reducer = combineReducers({\n moitoiots: GenerateSlice(\"moitoiots\").reducer,\n versions: GenerateSlice(\"moitoiotversions\").reducer,\n modifiers: GenerateSlice(\"modifiers\").reducer,\n variants: GenerateSlice(\"variants\").reducer,\n variantgroups: GenerateSlice(\"variantgroups\").reducer,\n moitoiot_operators: GenerateSlice(\"moitoiot_operators\").reducer,\n variantvariantgroups: GenerateSlice(\"variantvariantgroups\").reducer,\n variantmodifiers: GenerateSlice(\"variantmodifiers\").reducer,\n discountsurcharges: GenerateSlice(\"discountsurcharges\").reducer,\n receipts: GenerateSlice(\"receipts\").reducer,\n logicalprinters: GenerateSlice(\"logicalprinters\").reducer,\n physicalprinters: GenerateSlice(\"physicalprinters\").reducer,\n itemlogicalprinters: GenerateSlice(\"itemlogicalprinters\").reducer,\n itemvariantgroups: GenerateSlice(\"itemvariantgroups\").reducer,\n barcodes: GenerateSlice(\"barcodes\").reducer,\n payments: GenerateSlice(\"payments\").reducer,\n phases: GenerateSlice(\"phases\").reducer,\n tobaccos: GenerateSlice(\"tobaccos\").reducer,\n calendarevents: GenerateSlice(\"calendarevents\").reducer,\n});\n","import { combineReducers } from \"redux\";\nimport { GenerateSlice } from \"../../../utils\";\n\nexport const reducer = combineReducers({\n cards: GenerateSlice(\"cards\").reducer,\n});\n","import { combineReducers } from \"redux\";\nimport eventTypesReducer from \"./event-types/slice\";\nimport eventsReducer from \"./events/slice\";\nimport { GenerateSlice } from \"../../../utils\";\nimport { default as sessionStorage } from \"redux-persist/lib/storage/session\";\nimport { persistReducer } from \"redux-persist\";\n\nimport { slice as publicSlice } from \"./public/slice\";\n\nexport const reducer = combineReducers({\n eventtypes: eventTypesReducer,\n events: eventsReducer,\n operators: GenerateSlice(\"operators\").reducer,\n calendareventitems: GenerateSlice(\"calendareventitems\").reducer,\n public: persistReducer(\n { key: \"calendar.calendar_public\", storage: sessionStorage },\n publicSlice.reducer\n ),\n});","import { combineReducers } from \"redux\";\nimport { GenerateSlice } from \"../../../utils\";\n\nexport const reducer = combineReducers({\n ej_programming: GenerateSlice(\"ej_programming\").reducer,\n});","import { combineReducers } from \"redux\";\nimport { GenerateSlice } from \"../../../utils\";\n\nexport const reducer = combineReducers({\n opticalfiles: GenerateSlice(\"opticalfiles\").reducer,\n});\n","import { combineReducers } from \"redux\";\nimport { GenerateSlice } from \"../../../utils\";\n\nexport const reducer = combineReducers({\n digitalcashregisters: GenerateSlice(\"digitalcashregisters\").reducer,\n});\n","import { all } from \"redux-saga/effects\";\nimport { combineReducers } from \"redux\";\nimport * as auth from \"../app/modules/AuthCognito/_redux/authReducer\";\nimport {tenantReducer} from \"../app/modules/Multitenancy/_redux/tenantReducer\";\nimport * as multitenantSagas from \"../app/modules/Multitenancy/_redux/tenantSagas\";\nimport { reducer as adminReducer } from \"../app/modules/Admin/_redux/reducer\";\nimport { reducer as retailReducer } from \"../app/modules/Retail/_redux/reducer\";\nimport { reducer as productReducer } from \"../app/modules/ProductManagement/_redux/reducer\";\nimport { reducer as atorderReducer } from \"../app/modules/Atorder/_redux/reducer\";\nimport { reducer as salesReducer } from \"../app/modules/Sales/_redux/reducer\";\nimport { reducer as customerReducer } from \"../app/modules/Customer/_redux/reducer\";\nimport { reducer as accountingReducer } from \"../app/modules/Accounting/_redux/reducer\";\nimport { reducer as einvoiceReducer } from \"../app/modules/EInvoice/_redux/reducer\";\nimport { reducer as userReducer } from \"../app/modules/User/_redux/reducer\";\nimport { reducer as rtUserReducer } from \"../app/modules/RTUser/_redux/reducer\";\nimport { storeReducer } from \"../app/modules/Multistore/_redux/reducer\";\nimport * as multistoreSagas from \"../app/modules/Multistore/_redux/sagas\";\nimport { cashRegisterReducer } from \"../app/modules/Multicashregister/_redux/reducer\";\nimport * as multicashregisterSagas from \"../app/modules/Multicashregister/_redux/sagas\";\nimport { reducer as rtUtilityReducer } from \"../app/modules/RTUtility/_redux/reducer\";\nimport { reducer as dtrbiReducer } from \"../app/modules/DTRBI/_redux/reducer\";\nimport { reducer as moitoIotReducer } from \"../app/modules/MoitoIOT/_redux/reducer\";\nimport { reducer as forValueReducer } from \"../app/modules/ForValue/_redux/reducer\";\nimport { reducer as calendarReducer } from \"../app/modules/Calendar/_redux/reducer\";\nimport { reducer as ejManagementReducer } from \"../app/modules/EJManagement/_redux/reducer\";\nimport { reducer as dtrOpticalReducer } from \"../app/modules/DTROptical/_redux/reducer\";\nimport { reducer as happyReducer } from \"../app/modules/Happy/_redux/reducer\";\n\nconst appReducer = combineReducers({\n auth: auth.reducer,\n tenant: tenantReducer,\n store: storeReducer,\n cashregister: combineReducers({\n cashregister: cashRegisterReducer,\n }),\n\n admin: adminReducer,\n retail: retailReducer,\n product: productReducer,\n atorder: atorderReducer,\n sales: salesReducer,\n customer: customerReducer,\n accounting: accountingReducer,\n einvoice: einvoiceReducer,\n user: userReducer,\n rt_user: rtUserReducer,\n rt_utility: rtUtilityReducer,\n dtrbi: dtrbiReducer,\n moitoiot: moitoIotReducer,\n forvalue: forValueReducer,\n calendar: calendarReducer,\n ej_management: ejManagementReducer,\n dtroptical: dtrOpticalReducer,\n happy: happyReducer,\n});\n\nexport const rootReducer = (state, action) => {\n return appReducer(state, action);\n};\n\nexport function* rootSaga() {\n //yield all([auth.saga()]);\n yield all([\n multitenantSagas.setCurrentTenantSaga(),\n multistoreSagas.setCurrentStoreSaga(),\n multicashregisterSagas.setCurrentCashRegisterSaga(),\n ]);\n}\n","import {configureStore} from \"@reduxjs/toolkit\";\nimport createSagaMiddleware from \"redux-saga\";\nimport {reduxBatch} from \"@manaflair/redux-batch\";\nimport {persistStore} from \"redux-persist\";\nimport {rootReducer, rootSaga} from \"./rootReducer\";\n\nconst sagaMiddleware = createSagaMiddleware();\n/*\nconst middleware = [\n ...getDefaultMiddleware({\n immutableCheck: false,\n serializableCheck: false,\n thunk: true\n }),\n sagaMiddleware\n];\n*/\nconst store = configureStore({\n reducer: rootReducer,\n middleware: (getDefaultMiddleware) => getDefaultMiddleware({\n immutableCheck: false,\n serializableCheck: false\n }).concat(sagaMiddleware),\n devTools: process.env.NODE_ENV !== \"production\",\n enhancers: [reduxBatch]\n});\n\n/**\n * @see https://github.com/rt2zz/redux-persist#persiststorestore-config-callback\n * @see https://github.com/rt2zz/redux-persist#persistor-object\n */\nexport const persistor = persistStore(store);\n\nsagaMiddleware.run(rootSaga);\n\nexport default store;\n","export const lightSearchRetailStoreLicenses = /* GraphQL */ `\n query SearchRetailStoreLicenses(\n $filter: SearchableRetailStoreLicenseFilterInput\n $sort: SearchableRetailStoreLicenseSortInput\n $limit: Int\n $nextToken: String\n $from: Int\n ) {\n searchRetailStoreLicenses(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n ) {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n firmware\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n retailStore {\n id\n name\n partnerId\n partner {\n id\n companyName\n companyVat\n }\n tenant {\n id\n companyName\n companyVat\n }\n }\n }\n nextToken\n total\n }\n }\n`;\n\nexport const listPrivilegeGroups = /* GraphQL */ `\n query ListPrivilegeGroups(\n $filter: ModelPrivilegeGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listPrivilegeGroups(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n name\n privileges {\n items {\n id\n privilegeId\n privilegeGroupId\n privilege {\n id\n name\n description\n ability\n entity\n license {\n id\n name\n commercialName\n createdAt\n updatedAt\n }\n createdAt\n updatedAt\n }\n privilegeGroup {\n id\n name\n createdAt\n updatedAt\n }\n createdAt\n updatedAt\n }\n nextToken\n }\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\n\nexport const listPrivileges = /* GraphQL */ `\n query ListPrivileges(\n $filter: ModelPrivilegeFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listPrivileges(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n name\n description\n ability\n entity\n license {\n id\n }\n }\n nextToken\n }\n }\n`;\n\nexport const tenantUsersByTenant = /* GraphQL */ `\n query TenantUsersByTenant(\n $tenantId: ID\n $userId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelTenantUserFilterInput\n $limit: Int\n $nextToken: String\n ) {\n tenantUsersByTenant(\n tenantId: $tenantId\n userId: $userId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n userId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n createdAt\n updatedAt\n tenantUser {\n items {\n id\n userId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n user {\n id\n enabled\n tenantDefault\n retailStoreDefault\n userPrivilege {\n items {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n userRetailStore {\n items {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n createdAt\n updatedAt\n tenantUser {\n items {\n id\n userId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n userLicense {\n items {\n id\n tenantId\n userId\n licenseId\n validFrom\n validTo\n createdAt\n updatedAt\n }\n nextToken\n }\n firstName\n lastName\n }\n }\n nextToken\n }\n }\n`;\n\nexport const getTenant = /* GraphQL */ `\n query GetTenant($id: ID!) {\n getTenant(id: $id) {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n createdAt\n updatedAt\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n blockLevel\n }\n }\n`;\n\nexport const listAppSettingss = /* GraphQL */ `\n query ListAppSettingss(\n $filter: ModelAppSettingsFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listAppSettingss(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n firstTenantUserPrivilegeGroups\n createdAt\n updatedAt\n defaultPartner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n createdAt\n updatedAt\n }\n AtorderLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n AtorderDeliveryLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EInvoiceItLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityFwDownloadLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityLogsLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserCollectorLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotAutomaticUpdateLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotMultipleUsersLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotOnlineBackupLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotCollectorLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotDealerLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotCateringLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityEJExtensionLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n CalendarLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n partnerPrivilegeGroup {\n id\n name\n createdAt\n updatedAt\n }\n serviceManagerPrivilegeGroup {\n id\n name\n createdAt\n updatedAt\n }\n lastMoitoIotStableVersion {\n id\n version\n frontendZipPath\n apkPath\n apk21Path\n notes\n isStable\n deleted\n createdAt\n updatedAt\n }\n lastMoitoIotBetaVersion {\n id\n version\n frontendZipPath\n apkPath\n apk21Path\n notes\n isStable\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const searchTenants = /* GraphQL */ `\n query SearchTenants(\n $filter: SearchableTenantFilterInput\n $sort: SearchableTenantSortInput\n $limit: Int\n $nextToken: String\n $from: Int\n ) {\n searchTenants(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n ) {\n items {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n createdAt\n updatedAt\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n blockLevel\n }\n nextToken\n total\n }\n }\n`;\nexport const listTenants = /* GraphQL */ `\n query ListTenants(\n $filter: ModelTenantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listTenants(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n createdAt\n updatedAt\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n nextToken\n }\n }\n`;\n\nexport const tenantsByCompanyVat = /* GraphQL */ `\n query TenantsByCompanyVat(\n $companyVat: String\n $sortDirection: ModelSortDirection\n $filter: ModelTenantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n tenantsByCompanyVat(\n companyVat: $companyVat\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n createdAt\n updatedAt\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n nextToken\n }\n }\n`;\n\nexport const tenantsByShortCode = /* GraphQL */ `\n query TenantsByShortCode(\n $shortCode: String\n $sortDirection: ModelSortDirection\n $filter: ModelTenantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n tenantsByShortCode(\n shortCode: $shortCode\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n createdAt\n updatedAt\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n nextToken\n }\n }\n`;\nexport const tenantsByDefaultPartnerCode = /* GraphQL */ `\n query TenantsByDefaultPartnerCode(\n $defaultPartnerCode: String\n $sortDirection: ModelSortDirection\n $filter: ModelTenantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n tenantsByDefaultPartnerCode(\n defaultPartnerCode: $defaultPartnerCode\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n createdAt\n updatedAt\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n nextToken\n }\n }\n`;\n\nexport const lightGetTenant = /* GraphQL */ `\n query GetTenant($id: ID!) {\n getTenant(id: $id) {\n id\n enabled\n defaultPartnerCode\n companyName\n companyVat\n createdAt\n updatedAt\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n partnerText\n logo\n }\n }\n`;\nexport const lightTenantsByCompanyVat = /* GraphQL */ `\n query TenantsByCompanyVat(\n $companyVat: String\n $sortDirection: ModelSortDirection\n $filter: ModelTenantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n tenantsByCompanyVat(\n companyVat: $companyVat\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n enabled\n defaultPartnerCode\n companyName\n companyVat\n createdAt\n updatedAt\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n nextToken\n }\n }\n`;\n\nexport const licenseRequestsByPartner = /* GraphQL */ `\n query LicenseRequestsByPartner(\n $partnerId: ID\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelLicenseRequestFilterInput\n $limit: Int\n $nextToken: String\n ) {\n licenseRequestsByPartner(\n partnerId: $partnerId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n partnerId\n retailStoreId\n duration\n deleted\n extensions\n startFromDate\n level\n isFree\n autorenew\n createdAt\n updatedAt\n tenant {\n id\n enabled\n shortCode\n isPartner\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n extensions\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n createdAt\n updatedAt\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n ecrNumber\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\n\nexport const getLicenseRequest = /* GraphQL */ `\n query GetLicenseRequest($id: ID!) {\n getLicenseRequest(id: $id) {\n id\n tenantId\n partnerId\n retailStoreId\n duration\n deleted\n extensions\n startFromDate\n level\n isFree\n autorenew\n createdAt\n updatedAt\n tenant {\n id\n enabled\n shortCode\n isPartner\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n createdAt\n updatedAt\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n createdAt\n updatedAt\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n ecrNumber\n createdAt\n updatedAt\n }\n }\n }\n`;\nexport const retailStoreLicensesByRetailStore = /* GraphQL */ `\n query RetailStoreLicensesByRetailStore(\n $retailStoreId: ID\n $partnerId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRetailStoreLicenseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n retailStoreLicensesByRetailStore(\n retailStoreId: $retailStoreId\n partnerId: $partnerId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n firmware\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n extensions\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getRetailStoreLicense = /* GraphQL */ `\n query GetRetailStoreLicense($id: ID!) {\n getRetailStoreLicense(id: $id) {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n firmware\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n isBetaTester\n extensions\n createdAt\n updatedAt\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n isBetaTester\n extensions\n createdAt\n updatedAt\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n createdAt\n updatedAt\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n }\n }\n }\n`;\n\nexport const lightRetailStoreLicensesByLicenseRetailStore = /* GraphQL */ `\n query RetailStoreLicensesByLicenseRetailStore(\n $licenseId: ID\n $retailStoreId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRetailStoreLicenseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n retailStoreLicensesByLicenseRetailStore(\n licenseId: $licenseId\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n firmware\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n isBetaTester\n extensions\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n isBetaTester\n extensions\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\n\nexport const retailStoreLicensesByTenant = /* GraphQL */ `\n query RetailStoreLicensesByTenant(\n $tenantId: ID\n $retailStoreId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRetailStoreLicenseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n retailStoreLicensesByTenant(\n tenantId: $tenantId\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n firmware\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\n\nexport const searchRetailStoreLicenses = /* GraphQL */ `\n query SearchRetailStoreLicenses(\n $filter: SearchableRetailStoreLicenseFilterInput\n $sort: SearchableRetailStoreLicenseSortInput\n $limit: Int\n $nextToken: String\n $from: Int\n ) {\n searchRetailStoreLicenses(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n ) {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n createdAt\n updatedAt\n }\n }\n nextToken\n total\n }\n }\n`;","/* eslint-disable */\n\"use strict\";\n\nimport { KTUtil } from \"./../../components/util.js\";\n\nvar KTLayoutHeader = function() {\n // Private properties\n var _element;\n var _elementForMobile;\n var _object;\n\n\t// Private functions\n // Get Height\n var _getHeight = function() {\n var height = 0;\n\n if (_element) {\n height = KTUtil.actualHeight(_element) + 1;\n }\n\n return height;\n }\n\n // Get Height\n var _getHeightForMobile = function() {\n var height;\n\n height = KTUtil.actualHeight(_elementForMobile);\n\n return height;\n }\n\n // Public Methods\n\treturn {\n\t\tinit: function(id, idForMobile) {\n _element = KTUtil.getById(id);\n _elementForMobile = KTUtil.getById(idForMobile);\n\n if (!_element) {\n return;\n }\n\t\t},\n\n isFixed: function() {\n return KTUtil.hasClass(KTUtil.getBody(), 'header-fixed')\n },\n\n isFixedForMobile: function() {\n return KTUtil.hasClass(KTUtil.getBody(), 'header-mobile-fixed')\n },\n\n getElement: function() {\n return _element;\n },\n\n getElementForMobile: function() {\n return _elementForMobile;\n },\n\n getHeader: function() {\n return _object;\n },\n\n getHeight: function() {\n return _getHeight();\n },\n\n getHeightForMobile: function() {\n return _getHeightForMobile();\n }\n\t};\n}();\n\n// Webpack support\nif (typeof module !== 'undefined') {\n\t// module.exports = KTLayoutHeader;\n}\n\nexport default KTLayoutHeader;","import { API, graphqlOperation } from \"aws-amplify\";\nimport {\n listCustomers,\n customersByTenant,\n customersByMobile,\n customersByCompanyVat,\n customersByFiscalCode,\n getCustomer,\n searchCustomers,\n} from \"../../../../../graphql/queries\";\nimport {\n createCustomer,\n deleteCustomer,\n updateCustomer,\n} from \"../../../../../graphql/mutations\";\n\nexport function searchObjects(queryParams, additionalFilters, nextToken) {\n var params = {\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n \n if (queryParams.sortField && queryParams.sortOrder) {\n params.sort = {\n field: queryParams.sortField,\n direction: queryParams.sortOrder,\n };\n }\n\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n }\n\n params.filter = {\n ...params.filter,\n deleted: { ne: true },\n };\n\n return API.graphql(graphqlOperation(searchCustomers, params));\n}\n\n\nexport function findObjects(queryParams, additionalFilters, nextToken) {\n const params = {\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n if (Object.keys(params.filter).includes(\"or\")) {\n params.filter.or = params.filter.or.concat([\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ]);\n } else {\n params.filter.or = [\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ];\n }\n }\n\n return API.graphql(graphqlOperation(listCustomers, params));\n}\n\nexport function findObjectsByTenant(\n tenantId,\n queryParams,\n additionalFilters,\n nextToken\n) {\n const params = {\n tenantId: tenantId,\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n if (Object.keys(params.filter).includes(\"or\")) {\n params.filter.or = params.filter.or.concat([\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ]);\n } else {\n params.filter.or = [\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ];\n }\n }\n\n return API.graphql(graphqlOperation(customersByTenant, params));\n}\n\nexport function findObjectsByCompanyVat(\n companyVat,\n queryParams,\n additionalFilters,\n nextToken\n) {\n const params = {\n limit: queryParams.pageSize,\n companyVat: companyVat,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = { ...params.filter, ...additionalFilters };\n }\n\n return API.graphql(graphqlOperation(customersByCompanyVat, params));\n}\n\nexport function findObjectsByFiscalCode(\n fiscalCode,\n queryParams,\n additionalFilters,\n nextToken\n) {\n const params = {\n limit: queryParams.pageSize,\n fiscalCode: fiscalCode,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = { ...params.filter, ...additionalFilters };\n }\n\n return API.graphql(graphqlOperation(customersByFiscalCode, params));\n}\n\nexport function findObjectsByMobile(\n mobile,\n queryParams,\n additionalFilters,\n nextToken\n) {\n const params = {\n limit: queryParams.pageSize,\n mobile: mobile,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = { ...params.filter, ...additionalFilters };\n }\n\n return API.graphql(graphqlOperation(customersByMobile, params));\n}\n\nexport function getObjectById(id) {\n return API.graphql(graphqlOperation(getCustomer, { id: id }));\n}\n\nexport function deleteObject(id) {\n return API.graphql(graphqlOperation(deleteCustomer, { input: { id: id } }));\n}\n\nexport function createObject(customer) {\n return API.graphql(graphqlOperation(createCustomer, { input: customer }));\n}\n\nexport function updateObject(customer) {\n return API.graphql(graphqlOperation(updateCustomer, { input: customer }));\n}\n\nexport function deleteObjects(ids) {\n var deletes = [];\n ids.forEach((id) => {\n deletes.push(\n new Promise((resolve, reject) => {\n return resolve(deleteObject(id));\n })\n );\n });\n return Promise.all(deletes);\n}\n\nexport function updateObjects(objs) {\n var creates = [];\n objs.forEach((obj) => {\n creates.push(\n new Promise((resolve, reject) => {\n return resolve(updateObject(obj.entity));\n })\n );\n });\n return Promise.all(creates);\n}\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from \"react\";\n\nexport const DropdownCustomToggler = React.forwardRef((props, ref) => {\n return (\n {\n e.preventDefault();\n props.onClick(e);\n }}\n >\n {props.children}\n \n );\n});\n","import React from \"react\";\n\nexport const DropdownTopbarItemToggler = React.forwardRef((props, ref) => {\n return (\n {\n e.preventDefault();\n props.onClick(e);\n }}\n >\n {props.children}\n \n );\n});\n\nDropdownTopbarItemToggler.displayName = 'DropdownTopbarItemToggler';\n","/* eslint-disable no-underscore-dangle */\nimport { Ability, AbilityBuilder } from \"@casl/ability\";\nimport store from \"../../../redux/store\";\nimport { isEqual } from \"lodash\";\nimport { GetTenant } from \"../../utils\";\n\n// Defines how to detect object's type\nfunction subjectName(item) {\n if (!item || typeof item === \"string\") {\n return item;\n }\n return item.__type;\n}\n\nconst ability = new Ability([], { subjectName });\n\nvar user = store.getState().auth.user;\nvar currentTenantId = store.getState().tenant.currentTenantId;\nvar currentRetailStoreId = store.getState().store.currentStoreId;\n\nstore.subscribe(() => {\n const prevUser = user;\n user = store.getState().auth.user;\n\n const prevCurrentTenantId = currentTenantId;\n currentTenantId = store.getState().tenant.currentTenantId;\n\n const prevCurrentRetailStoreId = currentRetailStoreId;\n currentRetailStoreId = store.getState().store.currentStoreId;\n\n if (\n !isEqual(prevUser, user) ||\n prevCurrentTenantId !== currentTenantId ||\n prevCurrentRetailStoreId !== currentRetailStoreId\n ) {\n ability.update(defineRulesFor(user, currentTenantId, currentRetailStoreId));\n }\n});\n\nconst defineRulesFor = (user, currentTenantId, currentRetailStoreId) => {\n const { can, rules, cannot } = new AbilityBuilder();\n\n if (user) {\n const tenant = GetTenant(currentTenantId);\n\n const today = new Date();\n\n const userLicenses = user.userLicense.items\n .filter((el) => {\n if (\n tenant &&\n (el.license.name.includes(\"rt_utility\") || el.license.name.includes(\"ej_management\")) &&\n !tenant.isPartner\n ) {\n return false;\n }\n\n if (\n tenant &&\n el.license.name.includes(\"moitoiot_dealer\") &&\n !tenant.isPartner\n ) {\n return false;\n }\n\n if (\n el.retailStoreLicense.retailStoreId !== currentRetailStoreId\n && el.license.name !== \"rt_user_collector\"\n && el.license.name !== \"moitoiot_collector\"\n ) {\n return false;\n }\n\n const validFrom = new Date(el.validFrom);\n const validTo = new Date(el.validTo);\n\n return validFrom <= today && validTo >= today;\n })\n .map((el) => el.licenseId);\n\n user.userLicense.items.forEach(ul => {\n can(\"access\", ul.license.name);\n });\n\n var userPrivileges = user.userPrivilege.items;\n\n userPrivileges.forEach((el) => {\n if (\n el.tenantId === currentTenantId &&\n (!el.privilege.license ||\n userLicenses.includes(el.privilege.license.id))\n ) {\n can(el.privilege.ability, el.privilege.entity);\n }\n });\n\n cannot(\"view\", \"metronic\");\n }\n return rules;\n};\n\nexport default ability;\n","import React, { useState } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\n\nexport function LoginDataTypeWorkflowBoxes({ defaultValue, onChange }) {\n const intl = useIntl();\n\n const [selected, setSelected] = useState(defaultValue);\n\n const onChangeSelected = (val) => {\n setSelected(val);\n onChange(val);\n };\n\n const style = {\n card: {\n cursor: \"pointer\",\n borderBottom: \"1px solid var(--secondary)\",\n height: 60,\n },\n };\n\n return (\n
\n
\n
\n onChangeSelected(0)}\n style={{\n ...style.card,\n borderTop: selected === 0 ? \"6px solid var(--primary)\" : \"\",\n }}\n className={selected !== 0 ? \"bg-light-secondary\" : \"\"}\n >\n
\n
\n
\n
\n
\n
\n\n
\n onChangeSelected(1)}\n style={{\n ...style.card,\n borderTop: selected === 1 ? \"6px solid var(--primary)\" : \"\",\n }}\n className={selected !== 1 ? \"bg-light-secondary\" : \"\"}\n >\n
\n
\n
\n
\n
\n
\n \n\n
\n

\n \n

\n
\n \n );\n}\n","import React from \"react\";\nimport { useSelector, shallowEqual } from \"react-redux\";\n\nexport function ErrorMessage() {\n const { auth } = useSelector(\n (state) => ({\n auth: state.auth,\n }),\n shallowEqual\n );\n\n return (\n <>\n {auth && auth.error && (\n
\n {\" \"}\n {auth ? auth.error : \"\"}\n
\n )}\n \n );\n}\n","import React, { useState, useEffect } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport * as actions from \"../_redux/authActions\";\nimport { LoginDataTypeWorkflowBoxes } from \"../components/LoginDataTypeWorkflowBoxes\";\nimport { ErrorMessage } from \"../components/ErrorMessage\";\nimport PhoneInput from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/style.css\";\nimport { Input, Card as MetronicCard } from \"../../../../_metronic/_partials/controls\";\nimport { Formik, Field, Form } from \"formik\";\nimport * as Yup from \"yup\";\nimport { useDispatch, useSelector, shallowEqual } from \"react-redux\";\nimport { Link, useHistory } from \"react-router-dom\";\n//import { GoogleSignInButton } from \"../../../utils\";\n\nexport function Login({ match }) {\n const intl = useIntl();\n const history = useHistory();\n\n const [loginButtonEnabled, setLoginButtonEnabled] = useState(false);\n\n const [isLoading, setIsLoading] = useState(false);\n\n const [passwordShown, setPasswordShown] = useState(false);\n\n const togglePasswordVisiblity = () => {\n setPasswordShown(passwordShown ? false : true);\n };\n\n const { auth } = useSelector(\n (state) => ({\n auth: state.auth,\n }),\n shallowEqual\n );\n\n const initialValues = {\n email: \"\",\n phone: \"\",\n password: \"\",\n loginType: 0,\n };\n\n const changePasswordInitialValues = {\n newPassword: \"\",\n newPasswordConfirmation: \"\",\n };\n\n const ValidationSchema = Yup.object().shape({\n email: Yup.string().email(\n intl.formatMessage({ id: \"SERVICE.INVALID_EMAIL\" })\n ),\n password: Yup.string().required(\n intl.formatMessage({ id: \"USER.PASSWORD_REQUIRED\" })\n ),\n });\n\n const changePasswordValidationSchema = Yup.object().shape({\n newPassword: Yup.string()\n .required(intl.formatMessage({ id: \"USER.PASSWORD_REQUIRED\" }))\n .test(\n \"len\",\n intl.formatMessage({ id: \"SERVICE.PASSWORD_MUST_BE_AT_LEAST_8\" }),\n (val) => val && val.length > 8\n ),\n newPasswordConfirmation: Yup.string().oneOf(\n [Yup.ref(\"newPassword\"), null],\n intl.formatMessage({ id: \"SERVICE.PASSWORDS_MUST_MATCH\" })\n ),\n });\n\n const dispatch = useDispatch();\n\n const [isSocialLoginLoading, setIsSocialLoginLoading] = useState(false);\n\n useEffect(() => {\n if (match?.params?.feedback === \"social-login\") {\n setIsSocialLoginLoading(true);\n\n dispatch(actions.doSocialSignIn())\n .finally(() => {\n setIsSocialLoginLoading(false);\n });\n }\n }, [match]);\n\n const doLogin = (data) => {\n setIsLoading(true);\n\n dispatch(\n actions.login(\n data.loginType === 1 ? \"+\" + data.phone : data.email,\n data.password,\n 0\n )\n ).finally(() => {\n setIsLoading(false);\n });\n };\n\n const doChangePassword = (data) => {\n setIsLoading(true);\n\n dispatch(\n actions.setNewPassword(auth.cognitoUser, data.newPassword)\n ).finally(() => {\n setIsLoading(false);\n history.push(\"/\");\n });\n };\n\n return (\n
\n
\n \n
\n\n
\n
\n {auth && !auth.changePassword ? (\n {\n doLogin(values);\n }}\n >\n {({ handleSubmit, isValid, setFieldValue, values }) => (\n <>\n {isSocialLoginLoading && (\n
\n
\n
\n
\n
\n

\n
\n
\n \n
\n
\n )}\n\n \n
\n
\n setFieldValue(\"loginType\", v)}\n />\n
\n
\n
\n
\n {values.loginType === 0 ? (\n \n ) : (\n
\n \n setFieldValue(\"phone\", value)}\n inputClass={\"w-100\"}\n disabled={isSocialLoginLoading}\n />\n
\n )}\n
\n
\n
\n
\n \n \n \n \n
\n
\n\n
\n \n \n \n
\n\n
\n \n
\n {isLoading && (\n
\n )}\n
\n \n
\n
\n \n
\n
\n
\n \n\n {/*\n
\n\n \n
\n dispatch(actions.initializeSocialSignIn(\"Google\"))}\n />\n
\n
\n */}\n \n )}\n \n ) : (\n {\n doChangePassword(values);\n }}\n >\n {({ handleSubmit, isValid, setFieldValue, values }) => (\n <>\n
\n
\n
\n

\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n\n
\n
\n
\n \n
\n {isLoading && (\n
\n )}\n
\n \n
\n
\n \n
\n
\n
\n
\n \n )}\n \n )}\n
\n
\n
\n );\n}\n","import React, { useState } from \"react\";\nimport { WorkflowBox } from \"./WorkflowBox\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\n\nexport function UserTypeBoxes({ defaultValue, onChange }) {\n const intl = useIntl();\n\n const [selected, setSelected] = useState(defaultValue);\n\n const onChangeSelected = (val) => {\n setSelected(val);\n onChange(val);\n };\n\n const style = {\n card: {\n borderRadius: 4,\n padding: 2,\n cursor: \"pointer\",\n border: \"1px solid grey\",\n height: \"100%\",\n },\n };\n\n return (\n <>\n
\n

\n \n

\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n DEALER DTR-Italy\"\n }\n selected={selected}\n onClick={onChangeSelected}\n className=\"col-md-4 col-sm-12\"\n hrClassName={\"bg-danger\"}\n />\n
\n
\n
\n
\n
\n TENANT\"\n }\n selected={selected}\n onClick={onChangeSelected}\n className=\"col-md-4 col-sm-12\"\n hrClassName={\"bg-primary\"}\n />\n
\n
\n
\n \n );\n}\n","import React, { useState } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport SVG from \"react-inlinesvg\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\n//import { GoogleSignInButton } from \"../../../utils\";\n\nexport function RegistrationMethodBoxes({ defaultValue, onChange }) {\n const intl = useIntl();\n\n const [selected, setSelected] = useState(defaultValue);\n const [isGoogleLoading, setIsGoogleLoading] = useState(false);\n\n const onChangeSelected = (val) => {\n setSelected(val);\n onChange(val);\n };\n\n const onGoogleSelect = () => {\n setIsGoogleLoading(true);\n onChangeSelected(2);\n };\n\n return (\n <>\n
\n

\n \n

\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n onChangeSelected(0)}\n className=\"btn bg-white w-100 text-dark m-2 border border-1 border-light-primary rounded\"\n >\n
\n \n
\n
\n \n\n onChangeSelected(1)}\n className=\"btn bg-white w-100 text-dark m-2 border border-1 border-light-primary rounded\"\n >\n
\n \n
\n
\n \n\n {/*\n onGoogleSelect()}\n />\n */}\n
\n
\n
\n
\n
\n
\n \n );\n}\n","import React from \"react\";\nimport { useIntl } from \"react-intl\";\nimport { Stepper } from \"@material-ui/core\";\nimport { Step } from \"@material-ui/core\";\nimport { StepLabel } from \"@material-ui/core\";\n\nexport function RegistrationStepper({ activeStep }) {\n const intl = useIntl();\n\n const steps = [\n intl.formatMessage({ id: \"SERVICE.AUTH.REGISTATION_STEPPER_1\" }),\n intl.formatMessage({ id: \"SERVICE.AUTH.REGISTATION_STEPPER_2\" }),\n intl.formatMessage({ id: \"SERVICE.AUTH.REGISTATION_STEPPER_3\" }),\n intl.formatMessage({ id: \"SERVICE.AUTH.REGISTATION_STEPPER_4\" }),\n ];\n\n return (\n
\n \n {steps.map((label) => (\n \n {label}\n \n ))}\n \n
\n );\n}\n","import React, { useState } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport * as actions from \"../_redux/authActions\";\nimport { UserTypeBoxes } from \"../components/UserTypeBoxes\";\nimport { RegistrationMethodBoxes } from \"../components/RegistrationMethodBoxes\";\nimport { RegistrationStepper } from \"../components/RegistrationStepper\";\nimport { ErrorMessage } from \"../components/ErrorMessage\";\nimport PhoneInput from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/style.css\";\nimport { Input } from \"../../../../_metronic/_partials/controls\";\nimport { Formik, Field, Form } from \"formik\";\nimport * as Yup from \"yup\";\nimport { useDispatch, useSelector, shallowEqual } from \"react-redux\";\nimport { useHistory } from \"react-router-dom\";\n\nexport function Register({ match }) {\n const intl = useIntl();\n const history = useHistory();\n\n const [registrationMethod, setRegistrationMethod] = useState(0);\n const [currentStepper, setCurrentStepper] = useState(0);\n\n const [username, setUsername] = useState(\"\");\n\n const [isLoading, setIsLoading] = useState(false);\n\n const [passwordShown, setPasswordShown] = useState(false);\n\n const togglePasswordVisiblity = () => {\n setPasswordShown(passwordShown ? false : true);\n };\n\n const { auth } = useSelector(\n (state) => ({\n auth: state.auth,\n }),\n shallowEqual\n );\n\n const insertDataInitialValues = {\n email: \"\",\n phone: \"\",\n password: \"\",\n };\n\n const validateCodeInitialValues = {\n code: \"\",\n };\n\n const insertDataValidationSchema = Yup.object().shape({\n email: Yup.string().email(\n intl.formatMessage({ id: \"SERVICE.INVALID_EMAIL\" })\n ),\n password: Yup.string()\n .required(intl.formatMessage({ id: \"USER.PASSWORD_REQUIRED\" }))\n .test(\n \"len\",\n intl.formatMessage({ id: \"SERVICE.PASSWORD_MUST_BE_AT_LEAST_8\" }),\n (val) => val && val.length >= 8\n ),\n });\n\n const validateCodeValidationSchema = Yup.object().shape({\n code: Yup.string().required(\n intl.formatMessage({ id: \"SERVICE.CODE_IS_REQUIRED\" })\n ),\n });\n\n const dispatch = useDispatch();\n\n const registerUser = (data) => {\n setIsLoading(true);\n\n const username = registrationMethod === 1 ? \"+\" + data.phone : data.email;\n setUsername(username);\n\n dispatch(actions.register(username, data.password, history))\n .then(() => {\n setCurrentStepper((old) => old + 1);\n })\n .finally(() => {\n setIsLoading(false);\n });\n };\n\n const socialSignIn = (providerName) => {\n setIsLoading(true);\n\n dispatch(actions.initializeSocialSignIn(providerName))\n .then(() => {\n console.log(\"socialSignIn then\");\n })\n .finally(() => {\n setIsLoading(false);\n });\n };\n\n const validateCode = (data) => {\n setIsLoading(true);\n\n dispatch(\n actions.confirmRegistration(\n auth.cognitoUser,\n data.code,\n auth?.userType || 1,\n registrationMethod,\n history\n )\n )\n .then(() => {\n setUsername(\"\");\n setCurrentStepper(0);\n })\n .finally(() => {\n setIsLoading(false);\n });\n };\n\n const resendCode = () => {\n dispatch(actions.resendConfirmationCode(auth.cognitoUser));\n };\n\n const cancelRegistration = () => {\n setUsername(\"\");\n setCurrentStepper(0);\n dispatch(actions.cancelRegistration());\n history.push(\"/auth/login\");\n };\n\n const renderBackButton = () => {\n return (\n {\n if (currentStepper === 0) {\n history.push(\"/auth/login\");\n } else {\n if (currentStepper >= 3) {\n setUsername(\"\");\n }\n setCurrentStepper((old) => old - 1);\n }\n }}\n className=\"w-100 m-0 p-0 border-0 bg-transparent text-muted mt-4\"\n >\n \n \n );\n };\n\n const renderNextButton = (disabled = false) => {\n return (\n setCurrentStepper((old) => old + 1)}\n className=\"btn btn-light-primary btn-elevate w-100 text-uppercase\"\n disabled={disabled}\n >\n {\" \"}\n \n \n );\n };\n\n return (\n <>\n \n \n {auth && !auth.mfa ? (\n <>\n {currentStepper === 0 ? (\n <>\n
\n
\n {\n dispatch(actions.setUserType(v));\n setCurrentStepper(old => old + 1);\n }}\n />\n
\n
\n\n
\n
\n
{renderBackButton()}
\n
\n
\n \n ) : currentStepper === 1 ? (\n <>\n
\n
\n {\n if (v === 2) {\n dispatch(actions.initializeSocialSignIn(\"Google\"));\n }\n else {\n setRegistrationMethod(v);\n setCurrentStepper(old => old + 1);\n }\n }}\n />\n
\n
\n\n
\n
\n
{renderBackButton()}
\n
\n
\n \n ) : (\n <>\n
\n

\n \n

\n
\n
\n
\n
\n {registrationMethod === 0 ? (\n \n ) : (\n \n )}\n
\n
\n
\n
\n
\n\n
\n
\n
\n {\n registerUser(values);\n }}\n >\n {({ handleSubmit, isValid, setFieldValue, values }) => (\n <>\n
\n
\n
\n {registrationMethod === 0 ? (\n \n ) : (\n
\n \n \n setFieldValue(\"phone\", value)\n }\n inputClass={\"w-100\"}\n />\n
\n )}\n
\n
\n\n
\n
\n \n \n \n \n
\n
\n\n
\n
\n \n
\n {isLoading && (\n
\n )}\n
\n \n
\n
\n \n
\n
\n
\n {renderBackButton()}\n
\n
\n
\n
\n \n )}\n \n
\n
\n
\n \n )}\n \n ) : (\n <>\n
\n

\n \n

\n
\n
\n
\n
\n {registrationMethod === 0 ? (\n \n ) : (\n \n )}\n {\":\"}\n
\n {username}\n
\n
\n
\n
\n
\n\n
\n
\n
\n {\n validateCode(values);\n }}\n >\n {({ handleSubmit, isValid, setFieldValue, values }) => (\n <>\n
\n
\n
\n \n
\n
\n\n
\n
\n cancelRegistration()}\n className=\"btn btn-light-secondary btn-elevate text-dark w-100\"\n >\n
\n \n
\n \n
\n
\n \n
\n {isLoading && (\n
\n )}\n
\n \n
\n
\n \n
\n
\n\n {auth && auth.resendCode && (\n
\n
\n \n
\n \n
\n \n
\n
\n )}\n
\n \n )}\n \n
\n
\n
\n \n )}\n \n );\n}\n","import React, { useState } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport * as actions from \"../_redux/authActions\";\nimport PhoneInput from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/style.css\";\nimport { Input } from \"../../../../_metronic/_partials/controls\";\nimport { Formik, Field, Form } from \"formik\";\nimport * as Yup from \"yup\";\nimport { useDispatch, useSelector, shallowEqual } from \"react-redux\";\nimport { useHistory } from \"react-router-dom\";\n\nexport function Forget({ match }) {\n const intl = useIntl();\n const history = useHistory();\n\n const [loginType, setLoginType] = useState(\n parseInt(\n match && match.params && match.params.type !== undefined\n ? match.params.type\n : 0\n )\n );\n\n const [username, setUsername] = useState(\"\");\n const [isLoading, setIsLoading] = useState(false);\n\n const { auth } = useSelector(\n (state) => ({\n auth: state.auth,\n }),\n shallowEqual\n );\n\n const sendCodeInitialValues = {\n username: \"\",\n };\n\n const changePasswordInitialValues = {\n newPassword: \"\",\n newPasswordConfirmation: \"\",\n code: \"\",\n };\n\n const sendCodeValidationSchema = Yup.object().shape({\n email: Yup.string().email(\n intl.formatMessage({ id: \"SERVICE.INVALID_EMAIL\" })\n ),\n });\n\n const changePasswordValidationSchema = Yup.object().shape({\n code: Yup.string().required(\n intl.formatMessage({ id: \"SERVICE.CODE_IS_REQUIRED\" })\n ),\n newPassword: Yup.string()\n .required(intl.formatMessage({ id: \"USER.PASSWORD_REQUIRED\" }))\n .test(\n \"len\",\n intl.formatMessage({ id: \"SERVICE.PASSWORD_MUST_BE_AT_LEAST_8\" }),\n (val) => val && val.length > 8\n ),\n newPasswordConfirmation: Yup.string().oneOf(\n [Yup.ref(\"newPassword\"), null],\n intl.formatMessage({ id: \"SERVICE.PASSWORDS_MUST_MATCH\" })\n ),\n });\n\n const dispatch = useDispatch();\n\n const sendVerificationCode = (data) => {\n setIsLoading(true);\n\n const username = loginType === 1 ? \"+\" + data.username : data.username;\n setUsername(username);\n\n dispatch(actions.forgotPassword(username)).finally(() => {\n setIsLoading(false);\n });\n };\n\n const changePassword = (data) => {\n setIsLoading(true);\n\n dispatch(\n actions.confirmForgotPassword(username, data.code, data.newPassword)\n )\n .then(() => {\n history.push(\"/auth/login\");\n setUsername(\"\");\n })\n .finally(() => {\n setIsLoading(false);\n });\n };\n\n const cancelForgotPassword = () => {\n setUsername(\"\");\n dispatch(actions.cancelForgotPassword());\n history.push(\"/auth/login\");\n };\n\n return (\n <>\n
\n
\n
\n {auth && !auth.forgotPasswordCode ? (\n {\n sendVerificationCode(values);\n }}\n >\n {({ handleSubmit, isValid, setFieldValue, values }) => (\n <>\n
\n

\n \n

\n
\n {loginType === 0 ? (\n \n ) : (\n \n )}\n
\n
\n\n
\n
\n
\n {loginType === 0 ? (\n \n ) : (\n
\n \n \n setFieldValue(\"username\", value)\n }\n />\n
\n )}\n
\n
\n\n
\n
\n cancelForgotPassword()}\n className=\"btn btn-light-secondary btn-elevate w-100 text-dark\"\n >\n
\n \n
\n \n
\n
\n \n
\n {isLoading && (\n
\n )}\n
\n \n
\n
\n \n
\n
\n
\n \n )}\n \n ) : (\n {\n changePassword(values);\n }}\n >\n {({ handleSubmit, isValid, setFieldValue, values }) => (\n <>\n
\n

\n \n

\n
\n {loginType === 0 ? (\n \n ) : (\n \n )}\n
\n
\n\n
\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n cancelForgotPassword()}\n className=\"btn btn-light-secondary btn-elevate w-100 text-dark\"\n >\n
\n \n
\n \n
\n
\n \n
\n {isLoading && (\n
\n )}\n
\n \n
\n
\n \n
\n
\n
\n \n )}\n \n )}\n
\n
\n
\n \n );\n}\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from \"react\";\nimport { Link, Switch, Redirect, useHistory } from \"react-router-dom\";\nimport { ContentRoute } from \"../../../../_metronic/layout\";\nimport { Login } from \"./Login\";\nimport { Register } from \"./Register\";\nimport { Forget } from \"./Forget\";\nimport \"../../../../_metronic/_assets/sass/pages/login/login-1.scss\";\nimport { LanguageSelectorDropdown } from \"../../../../_metronic/layout/components/extras/dropdowns/LanguageSelectorDropdown\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Aside } from \"../components/Aside\";\nimport { shallowEqual, useSelector } from \"react-redux\";\nimport { EnvName } from \"../../../utils\";\n\nexport function AuthPage() {\n const history = useHistory();\n\n const today = new Date().getFullYear();\n\n const { auth } = useSelector(\n (state) => ({\n auth: state.auth,\n }),\n shallowEqual\n );\n\n return (\n <>\n
\n {/*begin::Login*/}\n \n
\n {/*end::Login*/}\n \n \n );\n}\n","import React from \"react\";\nimport { toAbsoluteUrl } from \"../../../_metronic/_helpers\";\nimport { FormattedMessage } from \"react-intl\";\n\nexport function ErrorPage1() {\n return (\n
\n \n \n 404\n \n

\n \n

\n
\n \n );\n}\n","import React from \"react\";\nimport { toAbsoluteUrl } from \"../../../_metronic/_helpers\";\n\nexport function ErrorPage2() {\n return (\n
\n \n
\n

OOPS!

\n \n Something went wrong here\n \n
\n
\n \n );\n}\n","import React from \"react\";\nimport { toAbsoluteUrl } from \"../../../_metronic/_helpers\";\nimport \"../../../_metronic/_assets/sass/pages/error/error-3.scss\";\n\nexport function ErrorPage3() {\n return (\n
\n \n
\n

404

\n

\n How did you get here\n

\n

\n Sorry we can't seem to find the page you're looking for.\n

\n

\n There may be a misspelling in the URL entered,\n
\n or the page you are looking for may no longer exist.\n

\n
\n
\n \n );\n}\n","import React from \"react\";\nimport { Redirect, Route, Switch } from \"react-router-dom\";\nimport { ErrorPage1 } from \"./ErrorPage1\";\nimport { ErrorPage2 } from \"./ErrorPage2\";\nimport { ErrorPage3 } from \"./ErrorPage3\";\n\nexport default function ErrorsPage() {\n return (\n \n \n \n \n \n \n );\n}\n","import React from \"react\";\nimport { Aside } from \"../../../AuthCognito/components/Aside\";\nimport { DTRServiceLogo } from \"../dashboard/components/DTRServiceLogo\";\nimport { FormattedMessage } from \"react-intl\";\nimport { useHistory } from \"react-router-dom\";\nimport { useIntl } from \"react-intl\";\n\nexport function PrivacyPolicy() {\n const intl = useIntl();\n const history = useHistory();\n\n const url = \"https://www.dtr-service.it\";\n\n //Warning: This is the PRODUCTION S3 BUCKET\n const documentUrl =\n \"https://coristechda3c2209cf6940b7976e4d383712a5ea142526-prod.s3.eu-central-1.amazonaws.com/public/tos/PRIVACY_POLICY.pdf\";\n\n return (\n
\n \n
\n \n );\n}\n","import React from \"react\";\nimport { Aside } from \"../../../AuthCognito/components/Aside\";\nimport { DTRServiceLogo } from \"../dashboard/components/DTRServiceLogo\";\nimport { FormattedMessage } from \"react-intl\";\nimport { useHistory } from \"react-router-dom\";\nimport { useIntl } from \"react-intl\";\n\nexport function CookiePolicy() {\n const intl = useIntl();\n const history = useHistory();\n\n const url = \"https://www.dtr-service.it\";\n\n //Warning: This is the PRODUCTION S3 BUCKET\n const documentUrl =\n \"https://coristechda3c2209cf6940b7976e4d383712a5ea142526-prod.s3.eu-central-1.amazonaws.com/public/tos/COOKIE_POLICY.pdf\";\n\n const chromeUrl =\n \"https://support.google.com/chrome/bin/answer.py?hl=it&answer=95647&p=cpn_cookies\";\n const firefoxUrl =\n \"http://support.mozilla.org/it-IT/kb/Enabling%20and%20disabling%20cookies\";\n const safariUrl =\n \"http://support.apple.com/kb/PH17191?viewlocale=it_IT&locale=it_IT\";\n\n return (\n
\n \n
\n \n );\n}\n","import React, { Component, lazy } from \"react\";\nimport { Redirect, Switch, Route } from \"react-router-dom\";\nimport { ContentRoute } from \"../../../_metronic/layout\";\nimport { lazyRetry } from \"../../utils\";\n//import BasePage from \"./pages/BasePage\";\nimport { AuthPage } from \"../AuthCognito\";\nimport ErrorsPage from \"../ErrorsExamples/ErrorsPage\";\nimport { bindActionCreators } from \"redux\";\nimport { validateUserSession } from \"../AuthCognito/_redux/authActions\";\nimport { connect } from \"react-redux\";\n//import { UnauthorizedEntryPage as AtorderUnauthorizedEntryPage } from \"../Atorder/pages/UnauthorizedEntryPage\";\nimport { TenantTermsOfService } from \"./pages/terms/TenantTermsOfService\";\nimport { PartnerTermsOfService } from \"./pages/terms/PartnerTermsOfService\";\nimport { PrivacyPolicy } from \"./pages/terms/PrivacyPolicy\";\nimport { CookiePolicy } from \"./pages/terms/CookiePolicy\";\n//import { DownloadPage as PublicDownloadPage } from \"../Download/pages/DownloadPage\";\n\nconst PublicDownloadPage = lazy(() => lazyRetry(() => import(\"../Download/pages/DownloadPage\"), \"PublicDownloadPage\"));\nconst AtorderUnauthorizedEntryPage = lazy(() => lazyRetry(() => import(\"../Atorder/pages/UnauthorizedEntryPage\"), \"AtorderUnauthorizedEntryPage\"));\nconst TwoAtorderUnauthorizedEntryPage = lazy(() => lazyRetry(() => import(\"../Atorder/pages/TwoUnauthorizedEntryPage\"), \"TwoAtorderUnauthorizedEntryPage\"));\nconst ForValueUnauthorizedEntryPage = lazy(() => lazyRetry(() => import(\"../ForValue/pages/UnauthorizedEntryPage\"), \"ForValueUnauthorizedEntryPage\"));\nconst ReceiptUnauthorizedEntryPage = lazy(() => lazyRetry(() => import(\"../MoitoIOT/pages/ReceiptUnauthorizedEntryPage\"), \"ReceiptUnauthorizedEntryPage\"));\nconst EInvoiceUnauthorizedEntryPage = lazy(() => lazyRetry(() => import(\"../EInvoice/pages/EInvoiceUnauthorizedEntryPage\"), \"EInvoiceUnauthorizedEntryPage\"));\nconst CalendarUnauthorizedEntryPage = lazy(() => lazyRetry(() => import(\"../Calendar/pages/UnauthorizedEntryPage\"), \"CalendarUnauthorizedEntryPage\"));\nconst BasePageWrapper = lazy(() => lazyRetry(() => import(\"./pages/BasePageWrapper\"), \"BasePageWrapper\"));\n\nclass Routes extends Component {\n render() {\n let authenticated = this.props.authenticated;\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n\n {!authenticated ? (\n \n \n \n \n \n \n \n \n \n \n \n ) : (\n \n )}\n\n \n\n {!authenticated ? (\n /*Redirect to `/auth` when user is not authorized*/\n \n ) : (\n \n )}\n \n );\n }\n}\n\nfunction mapStateToProps(state) {\n return {\n authenticated: state.auth.authenticated,\n };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return {\n ...bindActionCreators(\n {\n validateUserSession,\n },\n dispatch\n ),\n dispatch,\n };\n}\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Routes);\n","/**\n * Entry application component used to compose providers and render Routes.\n * */\n\nimport React from \"react\";\nimport { Provider } from \"react-redux\";\nimport { BrowserRouter } from \"react-router-dom\";\nimport { PersistGate } from \"redux-persist/integration/react\";\nimport Routes from \"./modules/AWS/Routes\";\nimport { I18nProvider } from \"../_metronic/i18n\";\nimport { LayoutSplashScreen, MaterialThemeProvider } from \"../_metronic/layout\";\n\n\nexport default function App({ store, persistor, basename }) {\n return (\n /* Provide Redux store */\n \n {/* Asynchronously persist redux stores and show `SplashScreen` while it's loading. */}\n }>\n {/* Add high level `Suspense` in case if was not handled inside the React tree. */}\n }>\n {/* Override `basename` (e.g: `homepage` in `package.json`) */}\n \n {/*This library only returns the location that has been active before the recent location change in the current window lifetime.*/}\n \n {/* Provide `react-intl` context synchronized with Redux state. */}\n \n {/* Render routes with provided `Layout`. */}\n \n \n \n \n \n \n \n );\n}\n","/**\n * Create React App entry point. This and `public/index.html` files can not be\n * changed or moved.\n */\nimport \"react-app-polyfill/ie11\";\nimport \"react-app-polyfill/stable\";\nimport React from \"react\";\nimport ReactDOM from \"react-dom\";\n//import axios from \"axios\";\n//import * as _redux from \"./redux\";\nimport store, { persistor } from \"./redux/store\";\nimport App from \"./app/App\";\nimport \"./index.scss\"; // Standard version\n// import \"./sass/style.react.rtl.css\"; // RTL version\n//import \"socicon/css/socicon.css\";\nimport \"@fortawesome/fontawesome-free/css/all.min.css\";\nimport \"react-phone-input-2/lib/style.css\";\n// Datepicker\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport Amplify, { Analytics } from \"aws-amplify\";\nimport awsExports from \"./aws-exports\";\nimport Geocode from \"react-geocode\";\nimport { MetronicSplashScreenProvider } from \"./_metronic/layout\";\nimport { MetronicI18nProvider } from \"./_metronic/i18n\";\n\nconst isLocalhost = Boolean(\n window.location.hostname === \"localhost\" ||\n window.location.hostname === \"[::1]\" ||\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nconst [\n localRedirectSignIn,\n productionRedirectSignIn,\n] = awsExports?.oauth?.redirectSignIn?.split(\",\");\n\nconst [\n localRedirectSignOut,\n productionRedirectSignOut,\n] = awsExports?.oauth?.redirectSignOut?.split(\",\");\n\nconst updatedAwsConfig = {\n ...awsExports,\n oauth: {\n ...awsExports.oauth,\n redirectSignIn: isLocalhost ? localRedirectSignIn : productionRedirectSignIn,\n redirectSignOut: isLocalhost ? localRedirectSignOut : productionRedirectSignOut,\n }\n}\n\nAmplify.configure(updatedAwsConfig);\n\nAnalytics.disable();\n\nGeocode.setApiKey(process.env.REACT_APP_GOOGLE_API_KEY);\n\nconst { PUBLIC_URL } = process.env;\n\nReactDOM.render(\n \n \n \n \n ,\n document.getElementById(\"root\")\n);\n\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst initialState = {\n listLoading: false,\n actionsLoading: false,\n totalCount: 0,\n entities: {\n items: [],\n nextToken: undefined,\n prevTokens: [],\n },\n entity: undefined,\n lastError: null,\n};\nexport const SliceCallTypes = {\n list: \"list\",\n action: \"action\",\n};\n\nexport const GenerateSlice = (name) => {\n return createSlice({\n name: name,\n initialState: initialState,\n reducers: {\n catchError: (state, action) => {\n state.error = `${action.type}: ${JSON.stringify(action.payload.error)}`;\n if (action.payload && action.payload.callType === SliceCallTypes.list) {\n state.listLoading = false;\n } else {\n state.actionsLoading = false;\n }\n },\n startCall: (state, action) => {\n state.error = null;\n if (action.payload && action.payload.callType === SliceCallTypes.list) {\n state.listLoading = true;\n } else {\n state.actionsLoading = true;\n }\n },\n setEntity: (state, action) => {\n state.actionsLoading = false;\n state.entity = action.payload;\n if (state.entity) {\n state.entity.extensions = state.entity.extensions ? JSON.parse(state.entity.extensions) : {};\n }\n state.error = null;\n },\n objectFetched: (state, action) => {\n state.actionsLoading = false;\n if (action.payload.entity) {\n state.entity = {\n ...action.payload.entity,\n extensions: action.payload.entity.extensions ? JSON.parse(action.payload.entity.extensions) : {},\n };\n }\n state.error = null;\n },\n refreshRecordOnEntities: (state, action) => {\n state.actionsLoading = false;\n\n state.entity = action.payload.entity;\n if (state.entity) {\n state.entity.extensions = state.entity.extensions ? JSON.parse(state.entity.extensions) : {};\n }\n\n state.entities = {\n items: [\n ...state.entities.items.filter(el => el.id !== state.entity.id),\n state.entity,\n ],\n nextToken: state.entities.nextToken,\n prevTokens: state.entities.prevTokens,\n };\n\n state.error = null;\n },\n objectsFetched: (state, action) => {\n const { totalCount, items, nextToken, prevToken, operation } = action.payload;\n state.listLoading = false;\n state.error = null;\n\n switch (operation) {\n case \"overwrite\":\n //go ahead\n if (!state.entities.prevTokens.filter(el => !!el).includes(nextToken)) {\n state.entities = {\n items: items.map((el) => {\n return { ...el, extensions: el.extensions ? JSON.parse(el.extensions) : {} };\n }),\n nextToken: nextToken,\n prevTokens: [...new Set([...state.entities.prevTokens, prevToken])],\n };\n }\n else {\n //go back\n state.entities = {\n items: items.map((el) => {\n return { ...el, extensions: el.extensions ? JSON.parse(el.extensions) : {} };\n }),\n nextToken: nextToken,\n prevTokens: state.entities.prevTokens.filter(el => el !== nextToken),\n };\n }\n break;\n case \"append\":\n state.entities = {\n items: [\n ...state.entities.items,\n ...items.map((el) => {\n return { ...el, extensions: el.extensions ? JSON.parse(el.extensions) : {} };\n }),\n ],\n nextToken: nextToken,\n prevTokens: [...state.entities.prevTokens, prevToken],\n };\n break;\n default:\n break;\n }\n\n state.totalCount = totalCount;\n },\n objectsCreated: (state, action) => {\n state.actionsLoading = false;\n state.error = null;\n\n Object.keys(action.payload.objects).forEach(function (key) {\n state.entities.items.push({\n ...action.payload.objects[key],\n extensions: action.payload.objects[key].extensions ? JSON.parse(action.payload.objects[key].extensions) : {},\n });\n });\n },\n objectDeleted: (state, action) => {\n state.error = null;\n state.actionsLoading = false;\n state.entities.items = state.entities.items.filter((el) => el.id !== action.payload.id);\n },\n objectsDeleted: (state, action) => {\n state.error = null;\n state.actionsLoading = false;\n state.entities.items = state.entities.items.filter((el) => !action.payload.ids.includes(el.id));\n },\n objectUpdated: (state, action) => {\n state.error = null;\n state.actionsLoading = false;\n\n state.entity = action.payload.object;\n if (state.entity) {\n state.entity.extensions = action.payload.object.extensions ? JSON.parse(action.payload.object.extensions) : {};\n }\n \n state.entities.items = state.entities.items\n .map((entity) => {\n if (entity.id === action.payload.object.id) {\n return {\n ...action.payload.object,\n extensions: action.payload.object.extensions && typeof(action.payload.object.extensions) === \"string\" ? JSON.parse(action.payload.object.extensions) : (typeof(action.payload.object.extensions) === \"object\" ? action.payload.object.extensions : {}),\n };\n }\n return entity;\n });\n\n state.entities.items = state.entities.items.filter(entity => !entity.deleted);\n },\n objectsUpdated: (state, action) => {\n state.actionsLoading = false;\n state.error = null;\n const { objects } = action.payload;\n state.entities.items = state.entities.items\n .map((entity) => {\n const found = objects.find((el) => el.id === entity.id);\n if (found) {\n return {\n ...found,\n extensions: found.extensions ? JSON.parse(found.extensions) : {},\n };\n }\n return entity;\n });\n state.entities.items = state.entities.items.filter(entity => !entity.deleted);\n },\n removeFromEntities: (state, action) => {\n state.entities.items = state.entities.items.filter((el) => el.id !== action.payload.id);\n },\n clearData: (state, action) => {\n state.listLoading = false;\n state.actionsLoading = false;\n state.totalCount = 0;\n state.entities = {\n items: [],\n nextToken: undefined,\n prevTokens: [],\n };\n state.entity = undefined;\n state.lastError = null;\n },\n clearEntityData: (state, action) => {\n state.entity = undefined;\n },\n addOnEntities: (state, action) => {\n state.entities.items.push({\n ...action.payload.entity,\n extensions: action.payload.entity?.extensions ? JSON.parse(action.payload.entity.extensions) : {},\n });\n },\n setEntities: (state, action) => {\n state.entities.items = [\n ...action.payload.entities.map(el => {\n return {\n ...el,\n extensions: el?.extensions ? JSON.parse(el.extensions) : {},\n };\n }),\n ];\n },\n },\n });\n}\n","import orderBy from \"lodash/orderBy\";\nimport { SliceCallTypes as callTypes } from \"./slice\";\n\nexport const GenerateSlowFetchObjects =\n(\n actions,\n requestFunction,\n queryName,\n queryParams,\n additionalFilters,\n nextToken,\n operation = \"overwrite\",\n cc = null,\n postFilters = null,\n) =>\n(dispatch) => {\n dispatch(actions.startCall({ callType: callTypes.list }));\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n const lastIncrementalId = (operation === \"overwrite\" || !queryParams?.pageNumber || queryParams?.pageNumber <= 1) ? 0 : 0;\n\n do {\n var result = await requestFunction(\n {\n ...queryParams,\n pageSize: queryParams.pageSize === 999 ? queryParams.pageSize : (queryParams.pageSize > 100 ? 100 : queryParams.pageSize),\n },\n additionalFilters,\n nextTokenInternal,\n cc\n );\n var data = result.data[queryName];\n\n items = items.concat(postFilters ? data.items.filter(el => postFilters(el)) : data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n actions.objectsFetched({\n totalCount: sortedItems.length,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n\n return resolve({\n data: {\n [queryName]: {\n items: sortedItems,\n nextToken: nextTokenInternal,\n },\n },\n });\n } catch (error) {\n error.clientMessage = \"Can't find records\";\n dispatch(actions.catchError({ error, callType: callTypes.list }));\n //return reject(error);\n }\n });\n};\n\nexport const GenerateFetchObjectsBy =\n(\n actions,\n requestFunction,\n queryName,\n parameter,\n queryParams,\n additionalFilters,\n nextToken,\n operation = \"overwrite\",\n cc = null,\n postFilters = null\n) =>\n(dispatch) => {\n dispatch(actions.startCall({ callType: callTypes.list }));\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await requestFunction(\n parameter,\n {\n ...queryParams,\n pageSize: queryParams.pageSize === 999 ? queryParams.pageSize : (queryParams.pageSize > 100 ? 100 : queryParams.pageSize),\n },\n additionalFilters,\n nextTokenInternal,\n cc,\n );\n var data = result.data[queryName];\n\n items = items.concat(postFilters ? data.items.filter(el => postFilters(el)) : data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n \n dispatch(\n actions.objectsFetched({\n totalCount: sortedItems.length,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n\n return resolve({\n data: {\n [queryName]: {\n items: sortedItems,\n nextToken: nextTokenInternal,\n },\n },\n });\n } catch (error) {\n error.clientMessage = \"Can't find records\";\n dispatch(actions.catchError({ error, callType: callTypes.list }));\n //return reject(error);\n }\n });\n};\n\nexport const GenerateActions = (actions, request, entity) => {\n return {\n\n clearData: () => (dispatch) => {\n dispatch(actions.clearData());\n },\n\n refreshRecordOnEntities: (id) => (dispatch) => {\n if (!id) {\n return dispatch(actions.objectFetched({ entity: undefined }));\n }\n\n dispatch(actions.startCall({ callType: callTypes.action }));\n return request\n .getObjectById(id)\n .then((response) => {\n const obj = response.data[\"get\" + entity];\n dispatch(actions.refreshRecordOnEntities({ entity: obj }));\n return obj;\n })\n .catch((error) => {\n error.clientMessage = \"Can't find record\";\n dispatch(actions.catchError({ error, callType: callTypes.action }));\n return error;\n });\n },\n\n fetchObject: (id) => (dispatch) => {\n if (!id) {\n return dispatch(actions.objectFetched({ entity: undefined }));\n }\n\n dispatch(actions.startCall({ callType: callTypes.action }));\n return request\n .getObjectById(id)\n .then((response) => {\n const obj = response.data[\"get\" + entity];\n dispatch(actions.objectFetched({ entity: obj }));\n return obj;\n })\n .catch((error) => {\n error.clientMessage = \"Can't find record\";\n dispatch(actions.catchError({ error, callType: callTypes.action }));\n return error;\n });\n },\n\n deleteObject: (id) => (dispatch) => {\n dispatch(actions.startCall({ callType: callTypes.action }));\n return request\n .deleteObject(id)\n .then((response) => {\n dispatch(actions.objectDeleted({ id }));\n return response;\n })\n .catch((error) => {\n error.clientMessage = \"Can't delete record\";\n dispatch(actions.catchError({ error, callType: callTypes.action }));\n return error;\n });\n },\n deleteObjects: (ids) => (dispatch) => {\n dispatch(actions.startCall({ callType: callTypes.action }));\n return request\n .deleteObjects(ids)\n .then((response) => {\n dispatch(actions.objectsDeleted({ ids }));\n return response;\n })\n .catch((error) => {\n error.clientMessage = \"Can't delete records\";\n dispatch(actions.catchError({ error, callType: callTypes.action }));\n return error;\n });\n },\n\n createObject: (obj) => (dispatch) => {\n dispatch(actions.startCall({ callType: callTypes.action }));\n obj.extensions = obj.extensions ? JSON.stringify(obj.extensions) : undefined;\n return request\n .createObject(obj)\n .then((response) => {\n const object = response.data[\"create\" + entity];\n dispatch(actions.objectsCreated({ objects: [object] }));\n return object;\n })\n .catch((error) => {\n error.clientMessage = \"Can't create record\";\n dispatch(actions.catchError({ error, callType: callTypes.action }));\n return error;\n });\n },\n\n createObjects: (objs) => (dispatch) => {\n dispatch(actions.startCall({ callType: callTypes.action }));\n objs = objs.map(obj => {\n return {\n ...obj,\n extensions: obj.extensions ? JSON.stringify(obj.extensions) : undefined,\n };\n });\n return request\n .createObjects(objs)\n .then((response) => {\n const objects = response.map((obj) => obj.data[\"create\" + entity]);\n dispatch(actions.objectsCreated({ objects: objects }));\n return objects;\n })\n .catch((error) => {\n error.clientMessage = \"Can't create records\";\n dispatch(actions.catchError({ error, callType: callTypes.action }));\n return error;\n });\n },\n\n createObjectsNoRedux: (objs) => (dispatch) => {\n objs = objs.map(obj => {\n return {\n ...obj,\n extensions: obj.extensions ? JSON.stringify(obj.extensions) : undefined,\n };\n });\n return request\n .createObjects(objs)\n .then((response) => {\n const objects = response.map((obj) => obj.data[\"create\" + entity]);\n return objects;\n })\n .catch((error) => {\n return error;\n });\n },\n\n updateObject: (object) => (dispatch) => {\n dispatch(actions.startCall({ callType: callTypes.action }));\n object.extensions = object.extensions ? JSON.stringify(object.extensions) : undefined;\n return request\n .updateObject(object)\n .then((response) => {\n dispatch(\n actions.objectsUpdated({ objects: [response.data[\"update\" + entity]] })\n );\n return response.data[\"update\" + entity];\n })\n .catch((error) => {\n error.clientMessage = \"Can't update record\";\n dispatch(actions.catchError({ error, callType: callTypes.action }));\n return error;\n });\n },\n updateObjects: (objects) => (dispatch) => {\n dispatch(actions.startCall({ callType: callTypes.action }));\n objects = objects.map(obj => {\n return {\n ...obj,\n extensions: obj.extensions ? JSON.stringify(obj.extensions) : undefined,\n };\n });\n return request\n .updateObjects(objects)\n .then((response) => {\n const objects = response.map((obj) => obj.data[\"update\" + entity]);\n dispatch(actions.objectsUpdated({ objects: objects }));\n return objects;\n })\n .catch((error) => {\n error.clientMessage = \"Can't update records\";\n dispatch(actions.catchError({ error, callType: callTypes.action }));\n return error;\n });\n },\n\n //only for compatibility somewhere, use clearData instead\n cleanState: () => (dispatch) => {\n return new Promise((resolve, reject) => {\n dispatch(actions.clearData());\n return resolve(true);\n });\n },\n\n removeFromEntities: (id) => (dispatch) => {\n dispatch(actions.removeFromEntities({ id }));\n },\n\n addOnEntities: (entity) => (dispatch) => {\n dispatch(actions.addOnEntities({ entity: entity }));\n },\n\n setEntities: (entities) => (dispatch) => {\n dispatch(actions.setEntities({ entities: entities }));\n },\n }\n}","export const GET_TENANTS = \"get_tenants\";\nexport const SET_CURRENT_TENANT = \"select_tenant\";\nexport const SET_CURRENT_TENANT_ASYNC = \"select_tenant_async\";\nexport const REFRESH = \"refresh\";\n","export const SET_CURRENT_STORE = \"select_store\";\nexport const SET_CURRENT_STORE_ASYNC = \"select_store_async\";\nexport const REFRESH = \"refresh\";\n","export const SET_CURRENT_ECR = \"select_ecr\";\nexport const SET_CURRENT_ECR_ASYNC = \"select_ecr_async\";\nexport const REFRESH = \"refresh\";\n","/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\nimport React from \"react\";\nimport clsx from \"clsx\";\nimport { Dropdown } from \"react-bootstrap\";\nimport { OverlayTrigger, Tooltip } from \"react-bootstrap\";\nimport { useLang, setLanguage, languages } from \"../../../../i18n\";\nimport { DropdownTopbarItemToggler } from \"../../../../_partials/dropdowns\";\nimport { FormattedMessage } from \"react-intl\";\n\nexport function LanguageSelectorDropdown() {\n const lang = useLang();\n const currentLanguage = languages.find((x) => x.lang === lang);\n return (\n \n \n \n }\n >\n
\n \n
\n \n \n \n
    \n {languages.map((language) => (\n \n setLanguage(language.lang)}\n className=\"navi-link\"\n >\n \n {language.name}\n \n {language.name}\n \n \n ))}\n
\n
\n
\n );\n}\n","import React from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { FormattedMessage } from \"react-intl\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\n\nexport function Aside() {\n const today = new Date().getFullYear();\n\n return (\n \n
\n \n \n \n\n
\n

DTR-Service

\n

\n Un nuovo mondo di servizi\n

\n
\n\n
\n
\n DTR Italy S.r.l.
\n Sede Legale: Via Giuseppe Luosi 14 - 20131 Milano
\n Sede Operativa: Via Lussemburgo 28 - 21013 Gallarate (VA)
\n P.IVA/C.F. 10244350962
\n commerciale@dtr-italy.com\n
\n
\n \n \n \n
\n \n \n \n
\n
\n
\n \n );\n}\n","import React from \"react\";\nimport {useLang} from \"./Metronici18n\";\nimport {IntlProvider} from \"react-intl\";\nimport \"@formatjs/intl-pluralrules/polyfill\";\nimport '@formatjs/intl-pluralrules/polyfill-force';\nimport '@formatjs/intl-datetimeformat/polyfill-force';\nimport '@formatjs/intl-datetimeformat/add-all-tz';\n\nimport '@formatjs/intl-datetimeformat/locale-data/it';\nimport '@formatjs/intl-datetimeformat/locale-data/en';\nimport '@formatjs/intl-datetimeformat/locale-data/de';\nimport '@formatjs/intl-datetimeformat/locale-data/es';\nimport '@formatjs/intl-datetimeformat/locale-data/fr';\nimport '@formatjs/intl-datetimeformat/locale-data/ru';\nimport '@formatjs/intl-datetimeformat/locale-data/ar';\nimport '@formatjs/intl-datetimeformat/locale-data/zh';\n\nimport '@formatjs/intl-pluralrules/locale-data/it';\nimport \"@formatjs/intl-pluralrules/locale-data/en\";\nimport \"@formatjs/intl-pluralrules/locale-data/de\";\nimport \"@formatjs/intl-pluralrules/locale-data/es\";\nimport \"@formatjs/intl-pluralrules/locale-data/fr\";\nimport \"@formatjs/intl-pluralrules/locale-data/ru\";\nimport \"@formatjs/intl-pluralrules/locale-data/ar\";\nimport \"@formatjs/intl-pluralrules/locale-data/zh\";\n\n\nimport deMessages from \"./messages/de\";\nimport enMessages from \"./messages/en\";\nimport esMessages from \"./messages/es\";\nimport frMessages from \"./messages/fr\";\nimport zhMessages from \"./messages/zh\";\nimport itMessages from \"./messages/it\";\nimport arMessages from \"./messages/ar\";\nimport ruMessages from \"./messages/ru\";\n\nconst allMessages = {\n de: deMessages,\n en: enMessages,\n es: esMessages,\n fr: frMessages,\n zh: zhMessages,\n it: itMessages,\n ar: arMessages,\n ru: ruMessages,\n};\n\nexport function I18nProvider({ children }) {\n const locale = useLang();\n const messages = allMessages[locale];\n\n return (\n \n {children}\n \n );\n}\n","/* eslint-disable */\n\"use strict\";\n\nimport { KTUtil } from \"./../../components/util.js\";\nimport KTLayoutBrand from \"./brand.js\";\nimport KTMenu from \"./../../components/menu.js\";\nimport KTLayoutAside from \"./aside.js\";\n\nvar KTLayoutAsideMenu = function() {\n // Private properties\n var _element;\n var _menuObject;\n\n\t// Initialize\n\tvar _init = function() {\n\t\tvar menuDesktopMode = (KTUtil.attr(_element, 'data-menu-dropdown') === '1' ? 'dropdown' : 'accordion');\n var scroll;\n\n\t\tif (KTUtil.attr(_element, 'data-menu-scroll') === '1') {\n\t\t\tscroll = {\n\t\t\t\trememberPosition: true, // remember position on page reload\n\t\t\t\theight: function() { // calculate available scrollable area height\n\t\t\t\t\tvar height = parseInt(KTUtil.getViewPort().height);\n\n\t\t\t\t\tif (KTUtil.isBreakpointUp('lg')) {\n\t\t\t\t\t\theight = height - KTLayoutBrand.getHeight();\n\t\t\t\t\t}\n\n\t\t\t\t\theight = height - (parseInt(KTUtil.css(_element, 'marginBottom')) + parseInt(KTUtil.css(_element, 'marginTop')));\n\n\t\t\t\t\treturn height;\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\n\t\t_menuObject = new KTMenu(_element, {\n\t\t\t// Vertical scroll\n\t\t\tscroll: scroll,\n\n\t\t\t// Submenu setup\n\t\t\tsubmenu: {\n\t\t\t\tdesktop: menuDesktopMode,\n\t\t\t\ttablet: 'accordion', // menu set to accordion in tablet mode\n\t\t\t\tmobile: 'accordion' // menu set to accordion in mobile mode\n\t\t\t},\n\n\t\t\t// Accordion setup\n\t\t\taccordion: {\n\t\t\t\texpandAll: false // allow having multiple expanded accordions in the menu\n\t\t\t}\n\t\t});\n\n // Disable menu click if aside is fixed and minimized\n _menuObject.on('submenuToggle', function(menu) {\n if (KTLayoutAside.isMinimized() === true && KTLayoutAside.isHoverable() === false) {\n return false;\n }\n });\n\n // Close aside offcanvas panel before page reload On tablet and mobile\n _menuObject.on('linkClick', function(menu) {\n if (KTUtil.isBreakpointDown('lg')) { // Tablet and mobile mode\n KTLayoutAside.getOffcanvas().hide(); // Hide offcanvas after general link click\n }\n });\n\t}\n\n // Public methods\n\treturn {\n\t\tinit: function(id) {\n _element = KTUtil.getById(id);\n\n if (!_element) {\n return;\n }\n\n // Initialize menu\n _init();\n\t\t},\n\n\t\tgetElement: function() {\n\t\t\treturn _element;\n\t\t},\n\n getMenu: function() {\n\t\t\treturn _menuObject;\n\t\t},\n\n pauseDropdownHover: function(time) {\n\t\t\tif (_menuObject) {\n\t\t\t\t_menuObject.pauseDropdownHover(time);\n\t\t\t}\n\t\t},\n\n\t\tcloseMobileOffcanvas: function() {\n\t\t\tif (_menuObject && KTUtil.isMobileDevice()) {\n\t\t\t\t_menuObject.hide();\n\t\t\t}\n\t\t}\n\t};\n}();\n\n// Webpack support\nif (typeof module !== 'undefined') {\n\t// module.exports = KTLayoutAsideMenu;\n}\n\nexport default KTLayoutAsideMenu;","/* eslint-disable */\n// WARNING: DO NOT EDIT. This file is automatically generated by AWS Amplify. It will be overwritten.\n\nconst awsmobile = {\n \"aws_project_region\": \"eu-central-1\",\n \"aws_mobile_analytics_app_id\": \"a03a9d99a4db4e069f42f338ab207196\",\n \"aws_mobile_analytics_app_region\": \"eu-central-1\",\n \"aws_cloud_logic_custom\": [\n {\n \"name\": \"AdminQueries\",\n \"endpoint\": \"https://4f5yoqfd3e.execute-api.eu-central-1.amazonaws.com/prod\",\n \"region\": \"eu-central-1\"\n },\n {\n \"name\": \"AtorderApi\",\n \"endpoint\": \"https://rtdkzg884d.execute-api.eu-central-1.amazonaws.com/prod\",\n \"region\": \"eu-central-1\"\n },\n {\n \"name\": \"DTRServiceApi\",\n \"endpoint\": \"https://q29cvd6ms4.execute-api.eu-central-1.amazonaws.com/prod\",\n \"region\": \"eu-central-1\"\n },\n {\n \"name\": \"EInvoiceApi\",\n \"endpoint\": \"https://ywpt0msxy9.execute-api.eu-central-1.amazonaws.com/prod\",\n \"region\": \"eu-central-1\"\n },\n {\n \"name\": \"MoitoIotApi\",\n \"endpoint\": \"https://ln1gdodmjg.execute-api.eu-central-1.amazonaws.com/prod\",\n \"region\": \"eu-central-1\"\n },\n {\n \"name\": \"PaymentApi\",\n \"endpoint\": \"https://uow0wcfzkh.execute-api.eu-central-1.amazonaws.com/prod\",\n \"region\": \"eu-central-1\"\n },\n {\n \"name\": \"RTApi\",\n \"endpoint\": \"https://aq6h26fgxf.execute-api.eu-central-1.amazonaws.com/prod\",\n \"region\": \"eu-central-1\"\n },\n {\n \"name\": \"RTUtilityApi\",\n \"endpoint\": \"https://xwmo7giav8.execute-api.eu-central-1.amazonaws.com/prod\",\n \"region\": \"eu-central-1\"\n },\n {\n \"name\": \"mobileAppApi\",\n \"endpoint\": \"https://0h75vvga34.execute-api.eu-central-1.amazonaws.com/prod\",\n \"region\": \"eu-central-1\"\n }\n ],\n \"aws_appsync_graphqlEndpoint\": \"https://2n72u23wrbbolbgggtqhwufnla.appsync-api.eu-central-1.amazonaws.com/graphql\",\n \"aws_appsync_region\": \"eu-central-1\",\n \"aws_appsync_authenticationType\": \"AMAZON_COGNITO_USER_POOLS\",\n \"aws_cognito_identity_pool_id\": \"eu-central-1:096e4159-5e4e-4edd-8f1a-2991bbfade28\",\n \"aws_cognito_region\": \"eu-central-1\",\n \"aws_user_pools_id\": \"eu-central-1_esPlVlrIh\",\n \"aws_user_pools_web_client_id\": \"7bild99n19gc6kc0nsgj32a04l\",\n \"oauth\": {\n \"domain\": \"coristech5aa0b61f-5aa0b61f-prod.auth.eu-central-1.amazoncognito.com\",\n \"scope\": [\n \"phone\",\n \"email\",\n \"openid\",\n \"profile\",\n \"aws.cognito.signin.user.admin\"\n ],\n \"redirectSignIn\": \"http://localhost:3000/auth/login/social-login,https://dev-gcar.dtr-service.it/auth/login/social-login,https://test1.dtr-service.it/auth/login/social-login,https://build.dtr-service.it/auth/login/social-login,https://www.dtr-service.it/auth/login/social-login\",\n \"redirectSignOut\": \"http://localhost:3000/auth/login,https://dev-gcar.dtr-service.it/auth/login,https://test1.dtr-service.it/auth/login,https://build.dtr-service.it/auth/login,https://www.dtr-service.it/auth/login\",\n \"responseType\": \"code\"\n },\n \"federationTarget\": \"COGNITO_USER_AND_IDENTITY_POOLS\",\n \"aws_cognito_username_attributes\": [\n \"EMAIL\",\n \"PHONE_NUMBER\"\n ],\n \"aws_cognito_social_providers\": [],\n \"aws_cognito_signup_attributes\": [],\n \"aws_cognito_mfa_configuration\": \"OFF\",\n \"aws_cognito_mfa_types\": [\n \"SMS\"\n ],\n \"aws_cognito_password_protection_settings\": {\n \"passwordPolicyMinLength\": 8,\n \"passwordPolicyCharacters\": []\n },\n \"aws_cognito_verification_mechanisms\": [\n \"EMAIL\",\n \"PHONE_NUMBER\"\n ],\n \"aws_user_files_s3_bucket\": \"coristechda3c2209cf6940b7976e4d383712a5ea142526-prod\",\n \"aws_user_files_s3_bucket_region\": \"eu-central-1\",\n \"Analytics\": {\n \"AWSPinpoint\": {\n \"appId\": \"a03a9d99a4db4e069f42f338ab207196\",\n \"region\": \"eu-central-1\"\n }\n },\n \"Notifications\": {\n \"Push\": {\n \"AWSPinpoint\": {\n \"appId\": \"a03a9d99a4db4e069f42f338ab207196\",\n \"region\": \"eu-central-1\"\n }\n },\n \"Email\": {\n \"AWSPinpoint\": {\n \"appId\": \"a03a9d99a4db4e069f42f338ab207196\",\n \"region\": \"eu-central-1\"\n }\n }\n }\n};\n\n\nexport default awsmobile;\n","import React, {createContext} from \"react\";\nimport {useMemo} from \"react\";\nimport {useContext} from \"react\";\n\nconst I18N_CONFIG_KEY = process.env.REACT_APP_I18N_CONFIG_KEY || \"i18nConfig\";\nconst initialState = {\n selectedLang: \"it\"\n };\n\nexport function getConfig() {\n const ls = localStorage.getItem(I18N_CONFIG_KEY);\n if (ls) {\n try {\n return JSON.parse(ls);\n } catch (er) {\n console.error(er);\n }\n }\n return initialState;\n}\n\n// Side effect\nexport function setLanguage(lang) {\n localStorage.setItem(I18N_CONFIG_KEY, JSON.stringify({ selectedLang: lang }));\n window.location.reload();\n}\n\nconst I18nContext = createContext();\n\nexport function useLang() {\n return useContext(I18nContext).selectedLang;\n}\n\nexport function withI18n(Component) {\n class WithI18n extends React.Component {\n static displayName = `WithI18n(${Component.displayName || Component.name})`;\n\n static contextType = I18nContext;\n\n render() {\n return ;\n }\n }\n\n return WithI18n;\n}\n\nexport const I18nConsumer = I18nContext.Consumer;\n\nexport function MetronicI18nProvider({ children }) {\n const lang = useMemo(getConfig, []);\n\n return {children};\n}\n","import React, { useState, useEffect } from \"react\";\nimport { toAbsoluteUrl } from \"../../../../../../_metronic/_helpers\";\nimport { Storage } from \"aws-amplify\";\nimport { useSelector, shallowEqual, useDispatch } from \"react-redux\";\nimport { actions } from \"../../../../Admin/_redux/tenants/actions\";\nimport ReactHtmlParser from \"react-html-parser\";\n\nexport function DTRServiceLogo({ partner, dynamic = true }) {\n const [partnerLogo, setPartnerLogo] = useState(\"\");\n\n const style = {\n made_by: {\n position: \"absolute\",\n right: 0,\n bottom: 0,\n },\n };\n\n const { currentPartner } = useSelector(\n (state) => ({\n currentPartner: state.admin.tenants.entity,\n }),\n shallowEqual\n );\n\n const dispatch = useDispatch();\n\n useEffect(() => {\n if (partner) {\n dispatch(actions.fetchObject(partner.id, true, \"lightGetTenant\"));\n }\n }, [partner]);\n\n useEffect(() => {\n if (currentPartner && currentPartner.logo) {\n Storage.get(currentPartner.logo).then((logo) => {\n setPartnerLogo(logo);\n });\n } else {\n setPartnerLogo(\"\");\n }\n }, [currentPartner]);\n\n return (\n
\n
\n {!dynamic ||\n !currentPartner ||\n !currentPartner.logo ? (\n
\n \n
\n ) : (\n
\n \n
\n {currentPartner.partnerText && (\n \n {ReactHtmlParser(currentPartner.partnerText)}\n \n )}\n
\n )}\n
\n
\n Made by\n \n \n DTR-Italy\n \n
\n
\n );\n}\n","/* eslint-disable */\n\"use strict\";\n\nimport { KTUtil } from \"./util\";\n\n// Component Definition\nvar KTOffcanvas = function(elementId, options) {\n // Main object\n var the = this;\n var init = false;\n\n // Get element object\n var element = KTUtil.getById(elementId);\n var body = KTUtil.getBody();\n\n if (!element) {\n return;\n }\n\n // Default options\n var defaultOptions = {\n customClass: ''\n };\n\n ////////////////////////////\n // ** Private Methods ** //\n ////////////////////////////\n\n var Plugin = {\n construct: function(options) {\n if (KTUtil.data(element).has('offcanvas')) {\n the = KTUtil.data(element).get('offcanvas');\n } else {\n // Reset offcanvas\n Plugin.init(options);\n\n // Build offcanvas\n Plugin.build();\n\n KTUtil.data(element).set('offcanvas', the);\n }\n\n return the;\n },\n\n init: function(options) {\n the.events = [];\n\n // merge default and user defined options\n the.options = KTUtil.deepExtend({}, defaultOptions, options);\n\n the.classBase = the.options.baseClass;\n the.classCustom = the.options.customClass;\n the.classShown = the.classBase + '-on';\n the.classOverlay = the.classBase + '-overlay';\n the.target;\n\n the.state = KTUtil.hasClass(element, the.classShown) ? 'shown' : 'hidden';\n },\n\n build: function() {\n // offcanvas toggle\n if (the.options.toggleBy) {\n if (typeof the.options.toggleBy === 'string') {\n KTUtil.addEvent(KTUtil.getById(the.options.toggleBy), 'click', function(e) {\n e.preventDefault();\n the.target = this;\n Plugin.toggle();\n });\n } else if (the.options.toggleBy && the.options.toggleBy[0]) {\n if (the.options.toggleBy[0].target) {\n for (var i in the.options.toggleBy) {\n KTUtil.addEvent(KTUtil.getById(the.options.toggleBy[i].target), 'click', function(e) {\n e.preventDefault();\n the.target = this;\n Plugin.toggle();\n });\n }\n } else {\n for (var i in the.options.toggleBy) {\n KTUtil.addEvent(KTUtil.getById(the.options.toggleBy[i]), 'click', function(e) {\n e.preventDefault();\n the.target = this;\n Plugin.toggle();\n });\n }\n }\n\n } else if (the.options.toggleBy && the.options.toggleBy.target) {\n KTUtil.addEvent( KTUtil.getById(the.options.toggleBy.target), 'click', function(e) {\n e.preventDefault();\n the.target = this;\n Plugin.toggle();\n });\n }\n }\n\n // offcanvas close\n var closeBy = KTUtil.getById(the.options.closeBy);\n if (closeBy) {\n KTUtil.addEvent(closeBy, 'click', function(e) {\n e.preventDefault();\n the.target = this;\n Plugin.hide();\n });\n }\n },\n\n isShown: function() {\n return (the.state == 'shown' ? true : false);\n },\n\n toggle: function() {;\n Plugin.eventTrigger('toggle');\n\n if (the.state == 'shown') {\n Plugin.hide();\n } else {\n Plugin.show();\n }\n },\n\n show: function() {\n if (the.state == 'shown') {\n return;\n }\n\n Plugin.eventTrigger('beforeShow');\n\n Plugin.toggleClass('show');\n\n // Offcanvas panel\n KTUtil.addClass(body, the.classShown);\n KTUtil.addClass(element, the.classShown);\n\n if (the.classCustom.length > 0) {\n KTUtil.addClass(body, the.classCustom);\n }\n\n the.state = 'shown';\n\n if (the.options.overlay) {\n the.overlay = KTUtil.insertAfter(document.createElement('DIV') , element );\n KTUtil.addClass(the.overlay, the.classOverlay);\n\n KTUtil.addEvent(the.overlay, 'click', function(e) {\n e.stopPropagation();\n e.preventDefault();\n Plugin.hide(the.target);\n });\n }\n\n Plugin.eventTrigger('afterShow');\n },\n\n hide: function() {\n if (the.state == 'hidden') {\n return;\n }\n\n Plugin.eventTrigger('beforeHide');\n\n Plugin.toggleClass('hide');\n\n KTUtil.removeClass(body, the.classShown);\n KTUtil.addClass(body, the.classPush);\n KTUtil.removeClass(element, the.classShown);\n\n if (the.classCustom.length > 0) {\n KTUtil.removeClass(body, the.classCustom);\n }\n\n the.state = 'hidden';\n\n if (the.options.overlay && the.overlay) {\n KTUtil.remove(the.overlay);\n }\n\n Plugin.eventTrigger('afterHide');\n },\n\n toggleClass: function(mode) {\n var id = KTUtil.attr(the.target, 'id');\n var toggleBy;\n\n if (the.options.toggleBy && the.options.toggleBy[0] && the.options.toggleBy[0].target) {\n for (var i in the.options.toggleBy) {\n if (the.options.toggleBy[i].target === id) {\n toggleBy = the.options.toggleBy[i];\n }\n }\n } else if (the.options.toggleBy && the.options.toggleBy.target) {\n toggleBy = the.options.toggleBy;\n }\n\n if (toggleBy) {\n var el = KTUtil.getById(toggleBy.target);\n\n if (mode === 'show') {\n KTUtil.addClass(el, toggleBy.state);\n }\n\n if (mode === 'hide') {\n KTUtil.removeClass(el, toggleBy.state);\n }\n }\n },\n\n eventTrigger: function(name, args) {\n for (var i = 0; i < the.events.length; i++) {\n var event = the.events[i];\n if (event.name == name) {\n if (event.one == true) {\n if (event.fired == false) {\n the.events[i].fired = true;\n return event.handler.call(this, the, args);\n }\n } else {\n return event.handler.call(this, the, args);\n }\n }\n }\n },\n\n addEvent: function(name, handler, one) {\n the.events.push({\n name: name,\n handler: handler,\n one: one,\n fired: false\n });\n }\n };\n\n //////////////////////////\n // ** Public Methods ** //\n //////////////////////////\n\n /**\n * Set default options\n * @param options\n */\n the.setDefaults = function(options) {\n defaultOptions = options;\n };\n\n /**\n * Check if canvas is shown\n * @returns {boolean}\n */\n the.isShown = function() {\n return Plugin.isShown();\n };\n\n /**\n * Set to hide the canvas\n */\n the.hide = function() {\n return Plugin.hide();\n };\n\n /**\n * Set to show the canvas\n */\n the.show = function() {\n return Plugin.show();\n };\n\n /**\n * Attach event\n * @param name\n * @param handler\n */\n the.on = function(name, handler) {\n return Plugin.addEvent(name, handler);\n };\n\n /**\n * Attach event that will be fired once\n * @param name\n * @param handler\n */\n the.one = function(name, handler) {\n return Plugin.addEvent(name, handler, true);\n };\n\n ///////////////////////////////\n // ** Plugin Construction ** //\n ///////////////////////////////\n\n // Run plugin\n Plugin.construct.apply(the, [options]);\n\n // Init done\n init = true;\n\n // Return plugin instance\n return the;\n};\n\n// webpack support\nif (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\n // module.exports = KTOffcanvas;\n}\n\nexport default KTOffcanvas;","import { SET_CURRENT_STORE, SET_CURRENT_STORE_ASYNC } from \"./types\";\n\nfunction setCurrentStore(storeId) {\n return function (dispatch) {\n dispatch({ type: SET_CURRENT_STORE, payload: storeId });\n };\n}\n\nfunction setCurrentStoreAsync(storeId) {\n return function (dispatch) {\n dispatch({ type: SET_CURRENT_STORE_ASYNC, payload: storeId });\n };\n}\n\nexport const actions = {\n\tsetCurrentStore,\n\tsetCurrentStoreAsync,\n}","/* eslint-disable */\n\"use strict\";\n\nimport { KTUtil } from \"./../../components/util.js\";\n\nvar KTLayoutSubheader = function() {\n // Private properties\n var _element;\n\n // Private functions\n var _getHeight = function() {\n var height = 0;\n\n if (_element) {\n height = KTUtil.actualHeight(_element);\n }\n\n return height;\n }\n\n // Public methods\n\treturn {\n\t\tinit: function(id) {\n _element = KTUtil.getById(id);\n\n if (!_element) {\n return;\n }\n\t\t},\n\n isFixed: function() {\n return KTUtil.hasClass(KTUtil.getBody(), 'subheader-fixed');\n },\n\n getElement: function() {\n return _element;\n },\n\n getHeight: function() {\n return _getHeight();\n }\n\t};\n}();\n\n// Webpack support\nif (typeof module !== 'undefined') {\n\t// module.exports = KTLayoutSubheader;\n}\n\nexport default KTLayoutSubheader;","export function ISODateDDMMYYYY(date, separator = \"-\") {\n var year = \"\" + date.getFullYear();\n var month = \"\" + (date.getMonth() + 1);\n var day = \"\" + date.getDate();\n\n if (month.length < 2) {\n month = \"0\" + month;\n }\n if (day.length < 2) {\n day = \"0\" + day;\n }\n\n return day + separator + month + separator + year;\n}\n","import React from \"react\";\n\nconst ActivatedStatusCssClasses = [\"success\", \"danger\", \"\"];\nconst ActivatedStatusTitles = [\"Valida\", \"Scaduta\", \"\"];\n\nexport function ActivatedStatusColumnFormatter(cellContent, row) {\n const getStatus = () => {\n const validFrom = new Date(row.validFrom);\n const validTo = new Date(row.validTo);\n const today = new Date();\n\n if (today > validFrom && today < validTo) {\n return 0;\n }\n return 1;\n };\n\n const getLabelCssClasses = () => {\n return `label label-lg label-light-${\n ActivatedStatusCssClasses[getStatus()]\n } label-inline`;\n };\n return (\n \n {ActivatedStatusTitles[getStatus()]}\n \n );\n}\n","import React from \"react\";\n\nexport function ApplicantColumnFormatter(cellContent, row, rowIndex) {\n const retailStoreName = row.retailStore.name;\n\n return (\n {row?.ecrCompanyName || retailStoreName}\n );\n}\n","import React from \"react\";\n\nexport function NumberColumnFormatter(\n\tcellContent,\n\trow,\n\trowIndex,\n\t{ openEcrReportDialog }\n) {\n\treturn (\n\t\t\n\t\t\t{row.electronicCashRegisterId && (\n\t\t\t\t\n\t\t\t\t\t{openEcrReportDialog && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\topenEcrReportDialog(row?.electronicCashRegisterId)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tclassName=\"fas fa-info-circle fa-2x text-primary cursor-pointer\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{\" \"}\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\n\t\t\t\t\t{row.number.includes(\"DELETED\")\n\t\t\t\t\t\t? row.number.slice(0, 11)\n\t\t\t\t\t\t: row.number}\n\t\t\t\t\n\t\t\t)}\n\t\t\t{row.moitoIotCode && (\n\t\t\t\t\n\t\t\t\t\t{row.moitoIotCode.includes(\"DELETED\")\n\t\t\t\t\t\t? row.moitoIotCode.slice(0, 16)\n\t\t\t\t\t\t: row.moitoIotCode}\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n}","import React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\n\nexport function IsFreeColumnFormatter(cellContent, row, rowIndex) {\n return (\n \n {row.isFree ? (\n \n \n \n ) : (\n \n \n \n )}\n \n );\n}\n","import React from \"react\";\nimport { Switch } from \"@material-ui/core\";\n\nexport function AutorenewColumnFormatter(\n\tcellContent,\n\trow,\n\trowIndex,\n\t{ toggleAutorenew, autorenewIsLoadingId, partner }\n) {\n\treturn (\n\t\t
\n\t\t\t{autorenewIsLoadingId === row.id ? (\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t) : (\n\t\t\t\t toggleAutorenew(row.id)}\n\t\t\t\t\tdisabled={new Date(row.validTo) <= new Date() || (row?.license?.baseName?.includes(\"rt_utility\") && partner?.blockLevel === 3)}\n\t\t\t\t/>\n\t\t\t)}\n\t\t
\n\t);\n}","export const calendarEventByRetailStore = /* GraphQL */ `\n query CalendarEventByRetailStore(\n $retailStoreId: ID\n $startDatetimeEndDatetime: ModelCalendarEventByRetailStoreCompositeKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCalendarEventFilterInput\n $limit: Int\n $nextToken: String\n ) {\n calendarEventByRetailStore(\n retailStoreId: $retailStoreId\n startDatetimeEndDatetime: $startDatetimeEndDatetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n isPending\n operatorId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n items {\n id\n tenantId\n retailStoreId\n itemId\n qty\n item {\n id\n name\n description\n }\n calendarEventId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n nextToken\n }\n }\n`;\n\n","export const createCalendarEvent = /* GraphQL */ `\n mutation CreateCalendarEvent(\n $input: CreateCalendarEventInput!\n $condition: ModelCalendarEventConditionInput\n ) {\n createCalendarEvent(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n createdAt\n updatedAt\n }\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n createdAt\n updatedAt\n }\n }\n calendarEventItems {\n items {\n id\n tenantId\n retailStoreId\n itemId\n item {\n id\n name\n }\n qty\n calendarEventId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\n\nexport const updateCalendarEvent = /* GraphQL */ `\n mutation UpdateCalendarEvent(\n $input: UpdateCalendarEventInput!\n $condition: ModelCalendarEventConditionInput\n ) {\n updateCalendarEvent(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n createdAt\n updatedAt\n }\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n createdAt\n updatedAt\n }\n }\n calendarEventItems {\n items {\n id\n tenantId\n retailStoreId\n itemId\n item {\n id\n name\n }\n qty\n calendarEventId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;","import { API, graphqlOperation } from \"aws-amplify\";\nimport { calendarEventByRetailStore } from \"../../graphql/private/queries\";\nimport { createCalendarEvent, updateCalendarEvent } from \"../../graphql/private/mutations\";\nimport { deleteCalendarEvent } from \"../../../../../graphql/mutations\";\n\nexport async function create(input){\n const {data} = await API.graphql(graphqlOperation(createCalendarEvent, { input: normalizeInput(input)}));\n return data.createCalendarEvent;\n}\n\nexport async function read(params={}, fetchAll = false){\n if (fetchAll) {\n let results=[];\n let token=params?.nextToken || undefined;\n\n do {\n const {data} = await API.graphql(graphqlOperation(calendarEventByRetailStore,{ ...params, nextToken: nextToken }));\n const items = data.calendarEventByRetailStore.items;\n const nextToken = data.calendarEventByRetailStore.nextToken ?? undefined;\n\n results = results.concat(items);\n token = nextToken;\n } while (token !== undefined);\n\n return {\n items: results,\n nextToken: token || undefined,\n };\n }\n \n const {data} = await API.graphql(graphqlOperation(calendarEventByRetailStore,params));\n return {\n items:data.calendarEventByRetailStore.items,\n nextToken:data.calendarEventByRetailStore.nextToken ?? undefined\n };\n}\n\nexport async function update(input){\n const {data} = await API.graphql(graphqlOperation(updateCalendarEvent, { input: normalizeInput(input)}));\n return data.updateCalendarEvent;\n}\n\nexport async function softDelete(id){\n const {data} = await API.graphql(graphqlOperation(updateCalendarEvent, { input: { id: id, deleted: true }}));\n return data.updateCalendarEvent;\n}\n\n\nexport async function hardDelete(id){\n return await API.graphql(graphqlOperation(deleteCalendarEvent, { input: {id:id} }))\n}\n\n\nfunction normalizeInput({\n id,\n title,\n tenantId,\n retailStoreId,\n userId,\n calendarEventTypeId,\n customerId,\n description,\n tags,\n isAllDayEvent,\n notificationEnabled,\n deleted,\n extensions,\n startDatetime,\n endDatetime,\n notificationDatetime,\n mobile,\n email,\n operatorId,\n isPending\n}){\n return {\n id,\n title,\n tenantId,\n retailStoreId,\n userId,\n calendarEventTypeId,\n customerId,\n description,\n tags,\n isAllDayEvent,\n notificationEnabled,\n deleted,\n extensions,\n startDatetime,\n endDatetime,\n notificationDatetime,\n mobile,\n email,\n operatorId,\n isPending,\n };\n}","export default [\n {\n value: \"IT\",\n label: \"IT\",\n },\n {\n value: \"FR\",\n label: \"FR\",\n },\n {\n value: \"ES\",\n label: \"ES\",\n },\n {\n value: \"BE\",\n label: \"BE\",\n },\n {\n value: \"BG\",\n label: \"BG\",\n },\n {\n value: \"CZ\",\n label: \"CZ\",\n },\n {\n value: \"DK\",\n label: \"DK\",\n },\n {\n value: \"DE\",\n label: \"DE\",\n },\n {\n value: \"EE\",\n label: \"EE\",\n },\n {\n value: \"IE\",\n label: \"IE\",\n },\n {\n value: \"EL\",\n label: \"EL\",\n },\n {\n value: \"HR\",\n label: \"HR\",\n },\n {\n value: \"CY\",\n label: \"CY\",\n },\n {\n value: \"LV\",\n label: \"LV\",\n },\n {\n value: \"LT\",\n label: \"LT\",\n },\n {\n value: \"LU\",\n label: \"LU\",\n },\n {\n value: \"HU\",\n label: \"HU\",\n },\n {\n value: \"MT\",\n label: \"MT\",\n },\n {\n value: \"NL\",\n label: \"NL\",\n },\n {\n value: \"AT\",\n label: \"AT\",\n },\n {\n value: \"PL\",\n label: \"PL\",\n },\n {\n value: \"PT\",\n label: \"PT\",\n },\n {\n value: \"RO\",\n label: \"RO\",\n },\n {\n value: \"SI\",\n label: \"SI\",\n },\n {\n value: \"SK\",\n label: \"SK\",\n },\n {\n value: \"FI\",\n label: \"FI\",\n },\n {\n value: \"SE\",\n label: \"SE\",\n },\n];\n","import { getConfig } from \"../../../_metronic/i18n/Metronici18n\";\n\nconst langPriority = [\"it\", \"en\", \"fr\", \"de\", \"es\", \"ru\", \"ar\", \"zh\"];\n\nfunction getByLangPriority(translationText, index) {\n if (index > langPriority.length) {\n return \"\";\n }\n\n const target = translationText.translations.items.find(\n (el) => el.languageCode === langPriority[index]\n );\n if (target) {\n return target.text;\n }\n return getByLangPriority(translationText, index + 1);\n}\n\nexport function GetText(translationText, lang = null) {\n const currentLang = getConfig();\n const targetLanguageCode = !lang\n ? currentLang\n ? currentLang.selectedLang\n : \"it\"\n : lang;\n\n if (translationText) {\n const target = translationText.translations.items.find(\n (el) => el.languageCode === targetLanguageCode\n );\n if (target) {\n return target.text;\n } else {\n return getByLangPriority(translationText, 0);\n }\n }\n\n return \"\";\n}\n","import React, { useState, useEffect } from \"react\";\nimport Creatable from \"react-select/creatable\";\nimport { withAsyncPaginate, AsyncPaginate } from \"react-select-async-paginate\";\nimport { API, graphqlOperation } from \"aws-amplify\";\nimport * as queries from \"../../../graphql/queries\";\nimport { isEqual } from \"lodash\";\nimport { GetText } from \"../functions/GetText\";\n\nconst CreatableAsyncPaginate = withAsyncPaginate(Creatable);\n\nconst sleep = (ms) =>\n new Promise((resolve) => {\n setTimeout(() => {\n resolve();\n }, ms);\n });\n\nconst getValueFromStringPath = (obj, path, getText = false) => {\n return path.split(\".\").reduce(function (o, k) {\n if (getText) {\n return GetText(o && o[k]);\n }\n return o && o[k];\n }, obj);\n};\n\nexport function CreatableLookupField({\n label,\n getText = false,\n filterDeleted = false,\n onChange,\n data = [],\n valueField = \"id\",\n labelField = \"name\",\n defaultValue = undefined,\n queryFilter = null,\n query,\n topOption,\n isMulti = false,\n closeMenuOnSelect = true,\n disabled = false,\n error = \"\",\n additionalParams = {},\n forceChangeValue = false,\n required = false,\n}) {\n const [value, setValue] = useState(defaultValue);\n\n useEffect(() => {\n if (\n isEqual(value, defaultValue) ||\n (defaultValue && (!value || Object.keys(value).length <= 0))\n ) {\n setValue(defaultValue);\n }\n\n if (forceChangeValue) {\n setValue(defaultValue);\n }\n }, [defaultValue, value]);\n\n const loadOptions = async (search, prevOptions, { nextToken }) => {\n await sleep(500);\n\n const params = {\n limit: 20,\n nextToken: nextToken,\n filter: {\n [labelField]: { contains: search },\n },\n ...additionalParams,\n };\n if (queryFilter) {\n params.filter = { ...params.filter, ...queryFilter };\n\n if (filterDeleted) {\n if (Object.keys(params.filter).includes(\"or\")) {\n params.filter.or = params.filter.or.concat([\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ]);\n } else {\n params.filter.or = [\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ];\n }\n }\n } else {\n if (filterDeleted) {\n params.filter = {\n or: [\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ],\n };\n }\n }\n\n var additionalOptions = [];\n if (topOption && !prevOptions.length) {\n additionalOptions[0] = topOption;\n }\n if (data.length > 0) {\n const hasMore =\n prevOptions.length === 0 && data.length > 20\n ? true\n : data.length > prevOptions.length + 20;\n var filteredData = data.filter(\n (el) =>\n el[labelField].toLowerCase().includes(search) ||\n el[labelField].toUpperCase().includes(search)\n );\n const slicedData = filteredData.slice(\n prevOptions.length,\n prevOptions.length + 20\n );\n\n return {\n options: slicedData.map((el) => {\n return {\n value: getValueFromStringPath(el, valueField),\n label: getValueFromStringPath(el, labelField, getText),\n };\n }),\n hasMore: hasMore,\n };\n } else {\n return API.graphql(graphqlOperation(queries[query], params))\n .then((result) => {\n return {\n options: additionalOptions.concat(\n result.data[query].items.map((el) => {\n return {\n value: getValueFromStringPath(el, valueField),\n label: getValueFromStringPath(el, labelField, getText),\n };\n })\n ),\n hasMore: !!result.data[query].nextToken,\n additional: {\n nextToken: result.data[query].nextToken,\n },\n };\n })\n .catch((e) => {\n return {\n options: additionalOptions.concat([{}]),\n hasMore: true,\n additional: {\n nextToken: null,\n },\n };\n });\n }\n };\n\n const onSelectChange = (newValue) => {\n onChange(newValue ? newValue : null);\n setValue(newValue);\n };\n\n return (\n <>\n {label && }\n {required && (\n <>\n {\" \"}\n *\n \n )}\n {!disabled ? (\n <>\n \n \n \n {error && !isEqual(value, {}) && (\n \n )}\n \n ) : (\n <>\n \n \n )}\n \n );\n}\n","export const GetValueFromStringPath = (obj, path) => {\n return path.split(\".\").reduce(function (o, k) {\n return o && o[k];\n }, obj);\n};\n","import React, { useState, useEffect } from \"react\";\nimport { useFormikContext } from \"formik\";\nimport { useIntl } from \"react-intl\";\nimport Countries from \"../../common/localization/countries\";\nimport { CreatableLookupField } from \"../lookup/CreatableLookupField\";\nimport { orderBy } from \"lodash\";\nimport { GetValueFromStringPath } from \"../functions/GetValueFromStringPath\";\n\nexport function CountryLookupField({ country, disabled = false, required = false }) {\n const intl = useIntl();\n const { values, setFieldValue, errors, touched, setFieldTouched } =\n useFormikContext();\n\n const [defaultCountry, setDefaultCountry] = useState(null);\n\n useEffect(() => {\n const value = GetValueFromStringPath(values, country);\n if (value) {\n setDefaultCountry({ value: value, label: value });\n setFieldTouched(country);\n } else {\n setDefaultCountry({});\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [values[country]]);\n\n return (\n setFieldValue(country, val.value)}\n disabled={disabled}\n required={required}\n />\n );\n}\n","export default [\n {\n value: \"TO\",\n label: \"TO\",\n name: \"Torino\"\n },\n {\n value: \"VC\",\n label: \"VC\",\n name: \"Vercelli\"\n },\n {\n value: \"NO\",\n label: \"NO\",\n name: \"Novara\"\n },\n {\n value: \"CN\",\n label: \"CN\",\n name: \"Cuneo\"\n },\n {\n value: \"AT\",\n label: \"AT\",\n name: \"Asti\"\n },\n {\n value: \"AL\",\n label: \"AL\",\n name: \"Alessandria\"\n },\n {\n value: \"AO\",\n label: \"AO\",\n name: \"Aosta\"\n },\n {\n value: \"IM\",\n label: \"IM\",\n name: \"Imperia\"\n },\n {\n value: \"SV\",\n label: \"SV\",\n name: \"Savona\"\n },\n {\n value: \"GE\",\n label: \"GE\",\n name: \"Genova\"\n },\n {\n value: \"SP\",\n label: \"SP\",\n name: \"Spezia\"\n },\n {\n value: \"VA\",\n label: \"VA\",\n name: \"Varese\"\n },\n {\n value: \"CO\",\n label: \"CO\",\n name: \"Como\"\n },\n {\n value: \"SO\",\n label: \"SO\",\n name: \"Sondrio\"\n },\n {\n value: \"MI\",\n label: \"MI\",\n name: \"Milano\"\n },\n {\n value: \"BG\",\n label: \"BG\",\n name: \"Bergamo\"\n },\n {\n value: \"BS\",\n label: \"BS\",\n name: \"Brescia\"\n },\n {\n value: \"PV\",\n label: \"PV\",\n name: \"Pavia\"\n },\n {\n value: \"CR\",\n label: \"CR\",\n name: \"Cremona\"\n },\n {\n value: \"MN\",\n label: \"MN\",\n name: \"Mantova\"\n },\n {\n value: \"BZ\",\n label: \"BZ\",\n name: \"Bolzano\"\n },\n {\n value: \"TN\",\n label: \"TN\",\n name: \"Trento\"\n },\n {\n value: \"VR\",\n label: \"VR\",\n name: \"Verona\"\n },\n {\n value: \"VI\",\n label: \"VI\",\n name: \"Vicenza\"\n },\n {\n value: \"BL\",\n label: \"BL\",\n name: \"Belluno\"\n },\n {\n value: \"TV\",\n label: \"TV\",\n name: \"Treviso\"\n },\n {\n value: \"VE\",\n label: \"VE\",\n name: \"Venezia\"\n },\n {\n value: \"PD\",\n label: \"PD\",\n name: \"Padova\"\n },\n {\n value: \"RO\",\n label: \"RO\",\n name: \"Rovigo\"\n },\n {\n value: \"UD\",\n label: \"UD\",\n name: \"Udine\"\n },\n {\n value: \"GO\",\n label: \"GO\",\n name: \"Gorizia\"\n },\n {\n value: \"TS\",\n label: \"TS\",\n name: \"Trieste\"\n },\n {\n value: \"PC\",\n label: \"PC\",\n name: \"Piacenza\"\n },\n {\n value: \"PR\",\n label: \"PR\",\n name: \"Parma\"\n },\n {\n value: \"RE\",\n label: \"RE\",\n name: \"Reggio emilia\"\n },\n {\n value: \"MO\",\n label: \"MO\",\n name: \"Modena\"\n },\n {\n value: \"BO\",\n label: \"BO\",\n name: \"Bologna\"\n },\n {\n value: \"FE\",\n label: \"FE\",\n name: \"Ferrara\"\n },\n {\n value: \"RA\",\n label: \"RA\",\n name: \"Ravenna\"\n },\n {\n value: \"FC\",\n label: \"FC\",\n name: \"Forlì-Cesena\"\n },\n {\n value: \"PU\",\n label: \"PU\",\n name: \"Pesaro e Urbino\"\n },\n {\n value: \"AN\",\n label: \"AN\",\n name: \"Ancona\"\n },\n {\n value: \"MC\",\n label: \"MC\",\n name: \"Macerata\"\n },\n {\n value: \"AP\",\n label: \"AP\",\n name: \"Ascoli Piceno\"\n },\n {\n value: \"MS\",\n label: \"MS\",\n name: \"Massa-Carrara\"\n },\n {\n value: \"LU\",\n label: \"LU\",\n name: \"Lucca\"\n },\n {\n value: \"RM\",\n label: \"RM\",\n name: \"Roma\"\n },\n {\n value: \"AG\",\n label: \"AG\",\n name: \"Agrigento\"\n },\n {\n value: \"AR\",\n label: \"AR\",\n name: \"Arezzo\"\n },\n {\n value: \"AV\",\n label: \"AV\",\n name: \"Avellino\"\n },\n {\n value: \"BA\",\n label: \"BA\",\n name: \"Bari\"\n },\n {\n value: \"BT\",\n label: \"BT\",\n name: \"Barletta Adria Trani\"\n },\n {\n value: \"BN\",\n label: \"BN\",\n name: \"Benevento\"\n },\n {\n value: \"BI\",\n label: \"BI\",\n name: \"Biella\"\n },\n {\n value: \"BR\",\n label: \"BR\",\n name: \"Brindisi\"\n },\n {\n value: \"CA\",\n label: \"CA\",\n name: \"Cagliari\"\n },\n {\n value: \"CL\",\n label: \"CL\",\n name: \"Cantanisseta\"\n },\n {\n value: \"CB\",\n label: \"CB\",\n name: \"Campobasso\"\n },\n {\n value: \"CE\",\n label: \"CE\",\n name: \"Caserta\"\n },\n {\n value: \"CT\",\n label: \"CT\",\n name: \"Catania\"\n },\n {\n value: \"CZ\",\n label: \"CZ\",\n name: \"Catanzaro\"\n },\n {\n value: \"CH\",\n label: \"CH\",\n name: \"Chieti\"\n },\n {\n value: \"CS\",\n label: \"CS\",\n name: \"Cosenza\"\n },\n {\n value: \"KR\",\n label: \"KR\",\n name: \"Crotone\"\n },\n {\n value: \"EN\",\n label: \"EN\",\n name: \"Enna\"\n },\n {\n value: \"FM\",\n label: \"FM\",\n name: \"Fermo\"\n },\n {\n value: \"FI\",\n label: \"FI\",\n name: \"Firenze\"\n },\n {\n value: \"FG\",\n label: \"FG\",\n name: \"Foggia\"\n },\n {\n value: \"FR\",\n label: \"FR\",\n name: \"Frosinone\"\n },\n {\n value: \"GR\",\n label: \"GR\",\n name: \"Grosseto\"\n },\n {\n value: \"IS\",\n label: \"IS\",\n name: \"Isernia\"\n },\n {\n value: \"AQ\",\n label: \"AQ\",\n name: \"Acquila\"\n },\n {\n value: \"LT\",\n label: \"LT\",\n name: \"Latina\"\n },\n {\n value: \"LE\",\n label: \"LE\",\n name: \"Lecce\"\n },\n {\n value: \"LC\",\n label: \"LC\",\n name: \"Lecco\"\n },\n {\n value: \"LI\",\n label: \"LI\",\n name: \"Livorno\"\n },\n {\n value: \"LO\",\n label: \"LO\",\n name: \"Lodi\"\n },\n {\n value: \"MT\",\n label: \"MT\",\n name: \"Matera\"\n },\n {\n value: \"ME\",\n label: \"ME\",\n name: \"Messina\"\n },\n {\n value: \"MB\",\n label: \"MB\",\n name: \"Monza e Brianza\"\n },\n {\n value: \"NA\",\n label: \"NA\",\n name: \"Napoli\"\n },\n {\n value: \"NU\",\n label: \"NU\",\n name: \"Nuoro\"\n },\n {\n value: \"OR\",\n label: \"OR\",\n name: \"Oristano\"\n },\n {\n value: \"PA\",\n label: \"PA\",\n name: \"Palermo\"\n },\n {\n value: \"PG\",\n label: \"PG\",\n name: \"Perugia\"\n },\n {\n value: \"PE\",\n label: \"PE\",\n name: \"Pescara\"\n },\n {\n value: \"PI\",\n label: \"PI\",\n name: \"Pisa\"\n },\n {\n value: \"PT\",\n label: \"PT\",\n name: \"Pistoia\"\n },\n {\n value: \"PN\",\n label: \"PN\",\n name: \"Pordenone\"\n },\n {\n value: \"PZ\",\n label: \"PZ\",\n name: \"Potenza\"\n },\n {\n value: \"PO\",\n label: \"PO\",\n name: \"Prato\"\n },\n {\n value: \"RC\",\n label: \"RC\",\n name: \"Reggio Calabria\"\n },\n {\n value: \"RG\",\n label: \"RG\",\n name: \"Ragusa\"\n },\n {\n value: \"RI\",\n label: \"RI\",\n name: \"Rieti\"\n },\n {\n value: \"RN\",\n label: \"RN\",\n name: \"Rimini\"\n },\n {\n value: \"SA\",\n label: \"SA\",\n name: \"Salerno\"\n },\n {\n value: \"SS\",\n label: \"SS\",\n name: \"Sassari\"\n },\n {\n value: \"SI\",\n label: \"SI\",\n name: \"Siena\"\n },\n {\n value: \"SR\",\n label: \"SR\",\n name: \"Siracusa\"\n },\n {\n value: \"SU\",\n label: \"SU\",\n name: \"Sud Sardegna\"\n },\n {\n value: \"TA\",\n label: \"TA\",\n name: \"Taranto\"\n },\n {\n value: \"TE\",\n label: \"TE\",\n name: \"Teramo\"\n },\n {\n value: \"TR\",\n label: \"TR\",\n name: \"Terni\"\n },\n {\n value: \"TP\",\n label: \"TP\",\n name: \"Trapani\"\n },\n {\n value: \"VB\",\n label: \"VB\",\n name: \"Verbano Cusion Ossola\"\n },\n {\n value: \"VV\",\n label: \"VV\",\n name: \"Vibo Valentia\"\n },\n {\n value: \"VT\",\n label: \"VT\",\n name: \"Viterbo\"\n },\n];\n","import React, { useState, useEffect } from \"react\";\nimport { useFormikContext } from \"formik\";\nimport { useIntl } from \"react-intl\";\nimport Provinces from \"../../common/localization/provinces\";\nimport { CreatableLookupField } from \"../lookup/CreatableLookupField\";\nimport { orderBy } from \"lodash\";\nimport { GetValueFromStringPath } from \"../functions/GetValueFromStringPath\";\n\nexport function CountyLookupField({ county, disabled = false, required = false }) {\n const intl = useIntl();\n const { values, setFieldValue, errors, touched, setFieldTouched } =\n useFormikContext();\n\n const [defaultCounty, setDefaultCounty] = useState(null);\n\n useEffect(() => {\n const value = GetValueFromStringPath(values, county);\n if (value) {\n setDefaultCounty({ value: value, label: value });\n setFieldTouched(county);\n } else {\n setDefaultCounty({});\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [values[county]]);\n\n return (\n setFieldValue(county, val.value)}\n disabled={disabled}\n required={required}\n />\n );\n}\n","import React from \"react\";\nimport { useFormikContext, Field } from \"formik\";\nimport { Input } from \"../../../_metronic/_partials/controls\";\nimport { useIntl } from \"react-intl\";\nimport { CountryLookupField } from \"./CountryLookupField\";\nimport { CountyLookupField } from \"./CountyLookupField\";\n\nconst getValueFromStringPath = (obj, path) => {\n return path.split(\".\").reduce(function (o, k) {\n return o && o[k];\n }, obj);\n};\n\nexport function AddressPickerForm({\n address,\n country,\n county,\n municipality,\n zipcode,\n disabled = false,\n required = [],\n}) {\n const intl = useIntl();\n const { values, setFieldValue, errors, touched, setFieldTouched } =\n useFormikContext();\n\n return (\n <>\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n );\n}\n","export function appendToExtensions(\n obj,\n moduleName,\n key,\n value,\n stringify = true\n) {\n var result = JSON.parse(JSON.stringify(obj));\n\n if (Object.keys(result).includes(\"extensions\")) {\n if (!result.extensions) {\n result.extensions = {};\n }\n\n if (Object.keys(result.extensions).includes(moduleName)) {\n result.extensions = { ...result.extensions };\n result.extensions[moduleName] = { ...result.extensions[moduleName] };\n result.extensions[moduleName][key] = value;\n } else {\n result.extensions[moduleName] = { [key]: value };\n }\n } else {\n result[\"extensions\"] = { [moduleName]: { [key]: value } };\n }\n\n if (stringify) {\n result.extensions = JSON.stringify(result.extensions);\n }\n\n return result;\n}\n\nexport function getFromExtensions(obj, moduleName, key, otherwise = null) {\n if (\n obj &&\n obj.extensions &&\n Object.keys(obj.extensions).includes(moduleName) &&\n Object.keys(obj.extensions[moduleName]).includes(key)\n ) {\n return obj.extensions[moduleName][key];\n }\n return otherwise;\n}\n","import React, { useState, useEffect } from \"react\";\nimport { getFromExtensions } from \"../functions/manageExtensions\";\nimport { AutoRotatingCarousel, Slide } from \"material-auto-rotating-carousel\";\nimport { Storage } from \"aws-amplify\";\n\nexport function ImagesCarousel({ row }) {\n const [open, setOpen] = useState(false);\n const [images, setImages] = useState([]);\n\n const style = {\n absolute: {\n position: \"absolute\",\n },\n img_size: {\n width: \"100%\",\n height: \"100%\",\n },\n img_cell: {\n width: 100,\n height: 100,\n cursor: \"pointer\",\n },\n };\n\n useEffect(() => {\n let unmounted = false;\n\n if (!unmounted) {\n const custom_images = row.images;\n const selected_images = getFromExtensions(\n row,\n \"atorder\",\n \"selected_images\",\n []\n );\n\n setImages(selected_images);\n\n if (custom_images && custom_images.length > 0) {\n custom_images.forEach((img_key) => {\n Storage.get(img_key).then((img) => {\n setImages((old) => [...old, img]);\n });\n });\n }\n }\n\n return () => {\n unmounted = true;\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n
\n {images.length > 0 && (\n
\n setOpen(true)}\n className=\"rounded\"\n alt=\"\"\n />\n
\n \n
\n )}\n setOpen(false)}\n onStart={() => setOpen(false)}\n style={style.absolute}\n >\n {images.map((image, idx) => (\n }\n title={row.name}\n subtitle={row.description}\n />\n ))}\n \n
\n );\n}\n","import React from \"react\";\n\nexport function IncrementalIdColumn(\n cellContent,\n row,\n rowIndex,\n { sizePerPage, pageNumber }\n) {\n return {rowIndex + 1 + sizePerPage * pageNumber - sizePerPage};\n}\n","import React, { useState, useEffect } from \"react\";\nimport ImageUploader from \"react-images-upload\";\nimport { Storage } from \"aws-amplify\";\nimport { v4 as uuidv4 } from \"uuid\";\nimport { differenceWith, isEqual } from \"lodash\";\n\nexport function ItemImagesUploader({\n setFieldValue,\n fieldName,\n defaultImages,\n setImageCount = null,\n tenantId,\n}) {\n const [logos, setLogos] = useState([]);\n\n const putImages = (files) => {\n var puts = [];\n files.forEach((file) => {\n puts.push(\n new Promise((resolve, reject) => {\n var reader = new FileReader();\n reader.readAsDataURL(file);\n reader.onload = () => {\n var base64file = reader.result;\n if (!logos.map((el) => el.base64).includes(base64file)) {\n resolve(\n Storage.put(tenantId + \"/items/\" + uuidv4() + file.name, file).then(\n (result) => {\n setLogos((old) => [\n ...old,\n { key: result.key, base64: base64file },\n ]);\n }\n )\n );\n }\n resolve(true);\n };\n })\n );\n });\n return Promise.all(puts);\n };\n\n const onImageChange = (files, dataUrls) => {\n putImages(files).then(() => {\n const base64ToRemove = differenceWith(\n logos.map((el) => el.base64),\n dataUrls,\n isEqual\n );\n setLogos((old) => [\n ...old.filter((el) => !base64ToRemove.includes(el.base64)),\n ]);\n //setFieldValue(fieldName, [...logos.filter(el => !base64ToRemove.includes(el.base64)).map(el => el.key)]);\n });\n };\n\n useEffect(() => {\n let unmounted = false;\n\n if (defaultImages && defaultImages.length > 0) {\n defaultImages.forEach((el) => {\n Storage.get(el, { download: true }).then((logo) => {\n var reader = new FileReader();\n reader.readAsDataURL(logo.Body);\n reader.onloadend = function () {\n var base64data = reader.result;\n if (!unmounted) {\n setLogos((old) => [...old, { key: el, base64: base64data }]);\n }\n };\n });\n });\n }\n\n return () => {\n unmounted = true;\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n setFieldValue(fieldName, [...logos.map((el) => el.key)]);\n if (setImageCount) {\n setImageCount(logos.length);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [logos]);\n\n return (\n <>\n {/*\n\t\t\t
\n\t\t\t\n\t\t\t
\n\t\t\t*/}\n onImageChange(files, dataUrls)}\n imgExtension={[\".jpg\", \".png\", \".jpeg\"]}\n maxFileSize={5242880}\n withPreview={true}\n singleImage={false}\n defaultImages={logos.map((el) => el.base64)}\n />\n \n );\n}\n","import React from \"react\";\n\nconst getValueFromStringPath = (obj, path) => {\n return path.split(\".\").reduce(function (o, k) {\n return o && o[k];\n }, obj);\n};\n\nexport function ShowMultipleEntities({ entities, id, name }) {\n return (\n
\n {entities.map((entity) => (\n
\n
\n
\n \n
\n
\n {getValueFromStringPath(entity, name)}\n
\n
\n ))}\n
\n );\n}\n","export function FromTimeToDate(time) {\n var currentValue = new Date();\n const splittedTime = time.split(\":\");\n\n currentValue.setHours(splittedTime[0]);\n currentValue.setMinutes(splittedTime[1]);\n currentValue.setSeconds(0);\n\n return currentValue;\n}\n","import React from \"react\";\nimport { ToastContainer as ReactToastContainer } from \"react-toastify\";\n\nexport function ToastContainer() {\n return (\n \n );\n}\n","import React, { useState } from \"react\";\nimport { useIntl } from \"react-intl\";\n\nexport function ManualRecordAdding({\n label,\n defaulValue,\n add,\n splitCharachers = [\" \", \"\\n\", \"\\t\"],\n validate,\n}) {\n const intl = useIntl();\n\n const [textareaValue, setTextareaValue] = useState(defaulValue);\n const [error, setError] = useState(\"\");\n\n const onChangeTextarea = (value) => {\n const lastChar = value.slice(-1);\n if (splitCharachers.includes(lastChar)) {\n const newValue = value.slice(0, -1);\n validate(newValue)\n .then(() => {\n setError(\"\");\n add(newValue);\n setTextareaValue(\"\");\n })\n .catch((err) => {\n const error =\n err.errors.length > 0\n ? err.errors[0]\n : intl.formatMessage({ id: \"SERVICE.ERROR\" });\n setError(error);\n });\n } else {\n setTextareaValue(value);\n }\n };\n\n return (\n <>\n {label && }\n onChangeTextarea(e.target.value)}\n className={\"w-100 form-control \" + (error ? \"is-invalid\" : \"\")}\n />\n {error &&
{error}
}\n \n );\n}\n","import React, { useState, useEffect } from \"react\";\nimport { useIntl } from \"react-intl\";\nimport {\n Card as MetronicCard,\n CardBody,\n} from \"../../../_metronic/_partials/controls\";\nimport { toAbsoluteUrl } from \"../../../_metronic/_helpers\";\n\nexport function PartnerCategoryPicker({\n defaultValue,\n onChange,\n isSubmitting = false,\n currentPlan = null,\n}) {\n const intl = useIntl();\n const [value, setValue] = useState(defaultValue);\n\n useEffect(() => {\n setValue(defaultValue);\n }, [defaultValue]);\n\n var blocked =\n currentPlan !== null\n ? currentPlan === 0\n ? [0]\n : currentPlan === 1\n ? [0, 1]\n : currentPlan === 2\n ? [0, 1, 2]\n : currentPlan === 3\n ? [0, 1, 2, 3]\n : [0, 1, 2, 3]\n : [];\n\n const style = {\n silver: {\n backgroundColor: \"#f6f6f6\",\n borderRadius: 4,\n padding: 2,\n cursor: blocked.includes(0) ? \"default\" : \"pointer\",\n boxShadow: value === 0 ? \"0 0 0 2pt blue\" : \"\",\n },\n gold: {\n backgroundColor: \"#f6f6f6\",\n borderRadius: 4,\n padding: 2,\n cursor: blocked.includes(1) ? \"default\" : \"pointer\",\n boxShadow: value === 1 ? \"0 0 0 2pt blue\" : \"\",\n },\n platinum: {\n backgroundColor: \"#f6f6f6\",\n borderRadius: 4,\n padding: 2,\n cursor: blocked.includes(2) ? \"default\" : \"pointer\",\n boxShadow: value === 2 ? \"0 0 0 2pt blue\" : \"\",\n },\n diamond: {\n backgroundColor: \"#f6f6f6\",\n borderRadius: 4,\n padding: 2,\n cursor: blocked.includes(2) ? \"default\" : \"pointer\",\n boxShadow: value === 3 ? \"0 0 0 2pt blue\" : \"\",\n },\n };\n\n const updateValue = (newVal) => {\n if (!isSubmitting && !blocked.includes(newVal)) {\n setValue(newVal);\n onChange(newVal);\n }\n };\n\n return (\n
\n
\n updateValue(0)} style={style.silver}>\n \n \n SILVER\n {currentPlan !== null && currentPlan >= 0 && (\n \n {\" \"}\n \n \n )}\n \n
\n \n
\n\n
\n \n 1 Operatore\n
\n\n
\n \n \n
\n
\n
\n
\n\n
\n updateValue(1)} style={style.gold}>\n \n \n GOLD\n {currentPlan !== null && currentPlan >= 1 && (\n \n {\" \"}\n \n \n )}\n \n
\n \n
\n\n
\n \n 1 Titolare\n
\n\n
\n \n 2 Operatori\n
\n\n
\n \n \n
\n
\n
\n
\n\n
\n updateValue(2)} style={style.platinum}>\n \n \n PLATINUM\n {currentPlan !== null && currentPlan >= 2 && (\n \n {\" \"}\n \n \n )}\n \n
\n \n
\n\n
\n \n 1 Titolare\n
\n\n
\n \n 5 Operatori\n
\n\n
\n \n Log operatori\n
\n
\n
\n
\n\n
\n updateValue(3)} style={style.diamond}>\n \n \n DIAMOND\n {currentPlan !== null && currentPlan >= 3 && (\n \n {\" \"}\n \n \n )}\n \n
\n \n
\n\n
\n \n 1 Titolare\n
\n\n
\n \n 10 Operatori\n
\n\n
\n \n Log operatori\n
\n
\n
\n
\n\n
\n );\n}\n","import Allergens from \"../../common/allergens/Allergens\";\n\nexport function GetAllergenObjectByIconCode(code) {\n var allergenObj = {};\n\n Allergens.forEach((allergen) => {\n const obj = allergen[Object.keys(allergen)[0]];\n\n obj.icons.forEach((el) => {\n if (el.code === code) {\n allergenObj = obj;\n return;\n }\n });\n\n if (allergenObj) {\n return;\n }\n });\n\n return allergenObj;\n}\n","import Allergens from \"../../common/allergens/Allergens\";\n\nexport function GetAllergenPathByIconCode(code) {\n var path = \"\";\n\n Allergens.forEach((allergen) => {\n const obj = allergen[Object.keys(allergen)[0]];\n\n obj.icons.forEach((el) => {\n if (el.code === code) {\n path = el.path;\n return;\n }\n });\n\n if (path) {\n return;\n }\n });\n\n return path;\n}\n","import { toAbsoluteUrl } from \"../../../_metronic/_helpers\";\n\nexport function GetAtorderFoodImages() {\n var images = [];\n\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon100.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon101.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon102.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon103.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon104.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon105.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon106.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon107.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon108.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon109.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon110.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon111.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon112.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon113.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon114.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon115.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon116.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon117.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon118.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon119.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon120.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon121.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon122.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon123.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon124.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon125.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon126.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon127.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon128.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon129.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon130.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon131.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon132.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon133.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon134.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon135.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon136.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon137.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon138.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon139.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon140.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon141.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon142.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon143.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon144.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon145.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon146.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon147.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon148.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon149.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon150.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon151.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon152.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon153.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon154.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon155.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon156.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon157.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon158.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon159.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon160.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon161.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon162.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon163.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon200.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon201.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon202.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon203.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon204.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon205.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon206.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon207.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon208.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon209.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon210.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon211.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon212.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon213.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon214.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon215.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon216.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon217.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon218.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon219.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon220.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon221.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon222.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon223.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon224.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon225.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon226.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon227.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon228.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon229.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon230.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon231.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon232.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon233.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon234.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon235.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon236.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon237.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon238.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon239.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon240.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon241.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon242.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon243.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon244.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon245.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon246.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon247.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon248.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon249.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon250.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon251.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon252.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon253.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon254.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon255.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon256.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon257.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon258.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon259.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon260.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon261.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon262.png\"));\n images.push(toAbsoluteUrl(\"/media/coristech/atorder/food/icon263.png\"));\n\n return images;\n}\n","import store from \"../../../redux/store\";\n\nexport function GetRetailStore(retailStoreId = undefined) {\n const state = store.getState();\n if (!state || !state.auth || !state.auth.user) {\n return undefined;\n }\n\n const storeId = retailStoreId ? retailStoreId : state.store.currentStoreId;\n const userRetailStore = state.auth.user.userRetailStore.items.find(\n (el) => el.retailStoreId === storeId\n );\n if (userRetailStore) {\n return userRetailStore.retailStore;\n }\n return undefined;\n}\n","import store from \"../../../redux/store\";\n\nexport function GetTenant(tenantId = undefined) {\n const state = store.getState();\n if (!state || !state.auth || !state.auth.user) {\n return undefined;\n }\n\n const tenantIdFind = tenantId ? tenantId : state.tenant.currentTenantId;\n const tenantUser = state.auth.user.tenantUser.items.find(\n (el) => el.tenantId === tenantIdFind\n );\n if (tenantUser) {\n return tenantUser.tenant;\n }\n return undefined;\n}\n","import { omit } from \"lodash\";\n\nexport function OmitSystemFields(obj, others = []) {\n return omit(obj, [\"createdAt\", \"updatedAt\", \"owner\", \"__typename\"].concat(others));\n}\n","export function RandomStringGenerator(length = 16) {\n var result = \"\";\n var characters =\n \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";\n var charactersLength = characters.length;\n for (var i = 0; i < length; i++) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n }\n return result;\n}\n","import sha1 from \"crypto-js/sha1\";\nimport { RandomStringGenerator } from \"./RandomStringGenerator\";\n\nexport function RandomTokenGenerator() {\n return sha1(RandomStringGenerator()).toString();\n}\n","export function SelectedEntities(entities, ids) {\n const _entities = [];\n ids.forEach((id) => {\n const entity = entities.find((el) => el.id === id);\n if (entity) {\n _entities.push(entity);\n }\n });\n return _entities;\n}\n","import { toast } from \"react-toastify\";\nimport \"react-toastify/dist/ReactToastify.css\";\n\nexport function ToastNotify(type, text, position = \"bottom-center\", style = undefined) {\n const options = {\n position: position,\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: false,\n draggable: true,\n progress: undefined,\n style: style || undefined,\n };\n\n switch (type) {\n case \"success\":\n toast.success(text, options);\n break;\n case \"warning\":\n toast.warning(text, options);\n break;\n case \"error\":\n toast.error(text, options);\n break;\n case \"dark\":\n toast.dark(text, options);\n break;\n case \"info\":\n default:\n toast.info(text, options);\n break;\n }\n}\n","import * as Yup from \"yup\";\n\nexport function YupAddressPickerValidation(\n address,\n country,\n county,\n zipCode,\n municipality,\n intl,\n mandatory = true\n) {\n var addressVal = Yup.string();\n if (mandatory) {\n addressVal = addressVal.required(\n intl.formatMessage({ id: \"PARTY.ADDRESS_MANDATORY\" })\n );\n }\n\n var countryVal = Yup.string().length(\n 2,\n intl.formatMessage({ id: \"PARTY.FIELD_LENGTH_2_CHARS\" })\n );\n if (mandatory) {\n countryVal = countryVal.required(\n intl.formatMessage({ id: \"PARTY.COUNTRY_MANDATORY\" })\n );\n }\n\n var countyVal = Yup.string().length(\n 2,\n intl.formatMessage({ id: \"PARTY.FIELD_LENGTH_2_CHARS\" })\n );\n if (mandatory) {\n countyVal = countyVal.required(\n intl.formatMessage({ id: \"PARTY.COUNTY_MANDATORY\" })\n );\n }\n\n var zipCodeVal = Yup.string();\n if (mandatory) {\n zipCodeVal = zipCodeVal.required(\n intl.formatMessage({ id: \"PARTY.ZIPCODE_MANDATORY\" })\n );\n }\n\n var municipalityVal = Yup.string();\n if (mandatory) {\n municipalityVal = municipalityVal.required(\n intl.formatMessage({ id: \"PARTY.MUNICIPALITY_MANDATORY\" })\n );\n }\n\n return {\n [address]: addressVal,\n [country]: countryVal,\n [county]: countyVal,\n [zipCode]: zipCodeVal,\n [municipality]: municipalityVal,\n };\n}\n","export const YupCacheValidation = (asyncValidate) => {\n let _valid = false;\n let _value = '';\n\n return async (value) => {\n if (value !== _value) {\n const response = await asyncValidate(value);\n _value = value;\n _valid = response;\n return response;\n }\n return _valid;\n };\n};\n","import * as Yup from \"yup\";\nimport * as restApi from \"../../modules/Admin/rest/api\";\nimport { YupCacheValidation } from \"./YupCacheValidation\";\n\nconst checkOnDb = async (value) => {\n return new Promise((resolve, reject) => {\n if (value && value.length === 8) {\n restApi.checkShortCode(value)\n .then(result => {\n if (result?.data?.exists && result?.data?.isPartner) {\n resolve(true);\n } else {\n resolve(false);\n }\n })\n .catch((error) => {\n resolve(false);\n });\n } else {\n resolve(false);\n }\n });\n}\n\nexport function YupPartnerCodeValidation(dispatch, intl, required = true) {\n const checkOnDbTest = YupCacheValidation((value) => checkOnDb(value));\n\n var result = Yup.string()\n .max(\n 8,\n intl.formatMessage({ id: \"ADMIN.LICENSE.PARTNER_CODE_LENGTH_ERROR\" })\n )\n .test(\n \"checkCodeExistance\",\n intl.formatMessage({ id: \"ADMIN.LICENSE.PARTNER_CODE_EXISTANCE_ERROR\" }),\n checkOnDbTest,\n );\n\n if (required) {\n return result.required(\n intl.formatMessage({ id: \"SERVICE.PARTNER_CODE_IS_MANDATORY\" })\n );\n }\n return result;\n}\n","export function DDMMYYYY_HHMM(date, separator = \"/\") {\n var year = \"\" + date.getFullYear();\n var month = \"\" + (date.getMonth() + 1);\n var day = \"\" + date.getDate();\n var hour = \"\" + date.getHours();\n var minute = \"\" + date.getMinutes();\n\n if (month.length < 2) {\n month = \"0\" + month;\n }\n if (day.length < 2) {\n day = \"0\" + day;\n }\n if (hour.length < 2) {\n hour = \"0\" + hour;\n }\n if (minute.length < 2) {\n minute = \"0\" + minute;\n }\n\n return day + separator + month + separator + year + \" \" + hour + \":\" + minute;\n}\n","export function GetDataOr(data, otherwise) {\n return data ? data : otherwise;\n}\n","export function ISODate(date) {\n var year = \"\" + date.getFullYear();\n var month = \"\" + (date.getMonth() + 1);\n var day = \"\" + date.getDate();\n\n if (month.length < 2) {\n month = \"0\" + month;\n }\n if (day.length < 2) {\n day = \"0\" + day;\n }\n\n return year + \"-\" + month + \"-\" + day;\n}\n","import { IsSafari } from \"../IsSafari\";\n\nexport function SafeGetDate(data) {\n if (IsSafari()) data.replace(\"-\", \"/\");\n\n return new Date(data);\n}\n","export function IsSafari() {\n return navigator.userAgent.toLowerCase().indexOf(\"safari/\") > -1;\n}\n","export function TimeAgo(date, intl) {\n var seconds = Math.floor((new Date() - date) / 1000);\n\n var interval = Math.floor(seconds / 31536000);\n\n if (interval > 1) {\n return interval + \" \" + intl.formatMessage({ id: \"SERVICE.YEARS_AGO\" });\n }\n interval = Math.floor(seconds / 2592000);\n if (interval > 1) {\n return interval + \" \" + intl.formatMessage({ id: \"SERVICE.MONTHS_AGO\" });\n }\n interval = Math.floor(seconds / 86400);\n if (interval > 1) {\n return interval + \" \" + intl.formatMessage({ id: \"SERVICE.DAYS_AGO\" });\n }\n interval = Math.floor(seconds / 3600);\n if (interval > 1) {\n return interval + \" \" + intl.formatMessage({ id: \"SERVICE.HOURS_AGO\" });\n }\n interval = Math.floor(seconds / 60);\n if (interval > 1) {\n return interval + \" \" + intl.formatMessage({ id: \"SERVICE.MINUTES_AGO\" });\n }\n return 0 + \" \" + intl.formatMessage({ id: \"SERVICE.MINUTES_AGO\" });\n}\n","export function TimeSince(date) {\n var seconds = Math.floor((new Date() - date) / 1000);\n\n var interval = Math.floor(seconds / 31536000);\n\n if (interval > 1) {\n return \"-\";\n }\n interval = Math.floor(seconds / 2592000);\n if (interval > 1) {\n return \"-\";\n }\n interval = Math.floor(seconds / 86400);\n if (interval > 1) {\n return \"-\";\n }\n interval = Math.floor(seconds / 3600);\n if (interval > 1) {\n var tmp_interval = interval * 60;\n if (tmp_interval > 999) {\n return \"-\";\n } else {\n return interval * 60 + \" '\";\n }\n }\n interval = Math.floor(seconds / 60);\n if (interval > 1) {\n return interval + \" '\";\n }\n return \"0 '\";\n}\n","export function YYYYMMDD(date, separator = \"\") {\n var year = \"\" + date.getFullYear();\n var month = \"\" + (date.getMonth() + 1);\n var day = \"\" + date.getDate();\n\n if (month.length < 2) {\n month = \"0\" + month;\n }\n if (day.length < 2) {\n day = \"0\" + day;\n }\n\n return year + separator + month + separator + day;\n}\n","export function HHMMSS(data) {\n var hh = \"\" + data.getHours();\n if (hh.length === 1) hh = \"0\" + hh;\n var mm = \"\" + data.getMinutes();\n if (mm.length === 1) mm = \"0\" + mm;\n var ss = \"\" + data.getSeconds();\n if (ss.length === 1) ss = \"0\" + ss;\n return hh + \":\" + mm + \":\" + ss;\n}\n","export function TimeAgoInDays(date, intl) {\n var seconds = Math.floor((new Date() - date) / 1000);\n\n var interval = Math.floor(seconds / 31536000);\n\n if (interval > 1) {\n return interval + \" \" + intl.formatMessage({ id: \"SERVICE.YEARS_AGO\" });\n }\n interval = Math.floor(seconds / 2592000);\n if (interval > 1) {\n return interval + \" \" + intl.formatMessage({ id: \"SERVICE.MONTHS_AGO\" });\n }\n interval = Math.floor(seconds / 86400);\n if (interval > 1) {\n return interval + \" \" + intl.formatMessage({ id: \"SERVICE.DAYS_AGO\" });\n }\n return 0 + \" \" + intl.formatMessage({ id: \"SERVICE.DAYS_AGO\" });\n}\n","export function FromDDMMYYYYtoYYYYMMDD(str_date) {\n const splitted = str_date.split(\"-\");\n return splitted[2] + \"-\" + splitted[1] + \"-\" + splitted[0];\n}\n","export function YYYYMMDD_HHMM(date, separator = \"-\") {\n var year = \"\" + date.getFullYear();\n var month = \"\" + (date.getMonth() + 1);\n var day = \"\" + date.getDate();\n var hour = \"\" + date.getHours();\n var minute = \"\" + date.getMinutes();\n\n if (month.length < 2) {\n month = \"0\" + month;\n }\n if (day.length < 2) {\n day = \"0\" + day;\n }\n if (hour.length < 2) {\n hour = \"0\" + hour;\n }\n if (minute.length < 2) {\n minute = \"0\" + minute;\n }\n\n return year + separator + month + separator + day + \" \" + hour + \":\" + minute;\n}\n","import moment from \"moment\";\n\nexport function FromISODateTimeStrToTime(datetime) {\n return moment(datetime).format(\"HH:mm\");\n}\n","export function DateRange(startDate, endDate, steps = 1) {\n const dateArray = [];\n let currentDate = new Date(startDate);\n\n while (currentDate <= new Date(endDate)) {\n dateArray.push(new Date(currentDate));\n // Use UTC date to prevent problems with time zones and DST\n currentDate.setUTCDate(currentDate.getUTCDate() + steps);\n }\n\n return dateArray;\n}","export function GetLastDayFromYearMonth(year, month) {\n const d = new Date(year, month, 1);\n return new Date(d.getFullYear(), d.getMonth(), 0, 3, 0).getDate()\n}\n","export function DDMMYYYY(date, separator = \"/\") {\n var year = \"\" + date.getFullYear();\n var month = \"\" + (date.getMonth() + 1);\n var day = \"\" + date.getDate();\n\n if (month.length < 2) {\n month = \"0\" + month;\n }\n if (day.length < 2) {\n day = \"0\" + day;\n }\n\n return day + separator + month + separator + year;\n}\n","export function ToItalianTime(d) {\n\treturn d\n\t\t.toLocaleString(\"it-IT\", {\n\t\t\ttimeZone: \"Europe/Rome\",\n\t\t\tyear: \"numeric\",\n\t\t\tmonth: \"2-digit\",\n\t\t\tday: \"2-digit\",\n\t\t\thour: \"2-digit\",\n\t\t\tminute: \"2-digit\",\n\t\t\tsecond: \"2-digit\",\n\t\t})\n\t\t.replace(\",\", \"\");\n}","export function NumberToHoursAndMinutes(totalMinutes) {\n const minutes = totalMinutes % 60;\n const hours = Math.floor(totalMinutes / 60);\n\n return `${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}`;\n}","export function DateDiffMinutes(a, b) {\n\tconst diff = b.getTime() - a.getTime();\n\t\n\tif (diff <= 0) {\n\t\treturn 0;\n\t}\n\n\treturn diff / 60000;\n}","export function MinutesToHumanReadableDuration(value) {\n const hours = parseInt(value / 60);\n const minutes = value % 60;\n \n const hourName = hours === 1 ? \"ora\" : \"ore\"; \n\n return hours + \" \" + hourName + (minutes !== 0 ? (\", \" + minutes + \" minuti\") : \"\");\n}\n","export function AddDays(d, days) {\n if (!d) {\n return d;\n }\n\n var date = d;\n if (typeof(date) === \"string\") {\n date = new Date(date);\n }\n\n var result = new Date(date);\n result.setDate(result.getDate() + days);\n return result;\n}\n","//https://stackoverflow.com/questions/12793045/adding-months-to-a-date-in-javascript\nexport function AddMonths(d, months) {\n if (!d) {\n return d;\n }\n\n var date = d;\n if (typeof(date) === \"string\") {\n date = new Date(date);\n }\n\n var newD = date.getDate();\n date.setMonth(date.getMonth() + +months);\n if (date.getDate() != newD) {\n date.setDate(0);\n }\n return date;\n}","export function AddYears(d, years) {\n if (!d) {\n return d;\n }\n\n var date = d;\n if (typeof(date) === \"string\") {\n date = new Date(date);\n }\n\n date.setFullYear(date.getFullYear() + years);\n return date;\n}\n","//\"29/05/2023\"\nexport function FromDDMMYYYYtoDateObj(str_date, date_splitter = \"/\") {\n\tconst splittedDate = str_date.split(date_splitter);\n\n\tconst result = new Date(\n\t\tsplittedDate[2].slice(0, 4),\n\t\tparseInt(splittedDate[1]) - 1,\n\t\tsplittedDate[0]\n\t);\n\t\n\treturn result;\n}","export function HHMM(data) {\n var hh = \"\" + data.getHours();\n if (hh.length === 1) hh = \"0\" + hh;\n var mm = \"\" + data.getMinutes();\n if (mm.length === 1) mm = \"0\" + mm;\n return hh + \":\" + mm;\n}\n","export function FormatNumber(number) {\n if (!number) {\n number = \"0\";\n }\n if (typeof number !== \"string\") {\n number = number + \"\";\n }\n\n try {\n const r = Number.parseFloat(number.replace(\",\", \".\")).toFixed(2);\n if (r === \"NaN\") {\n return Number.parseFloat(0).toFixed(2);\n }\n return r;\n } catch (e) {\n return Number.parseFloat(0).toFixed(2);\n }\n}\n","const numbers = [\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\"];\n\nexport function IsNumber(string) {\n if (!string || typeof string !== \"string\") {\n return false;\n }\n\n var result = true;\n\n for (var i = 0; i < string.length; i++) {\n var char = string.charAt(i);\n\n if (!numbers.includes(char)) {\n result = false;\n break;\n }\n }\n\n return result;\n}\n","import * as Yup from \"yup\";\nimport { IsNumber } from \"./IsNumber\";\nimport * as restApi from \"../../modules/Admin/rest/api\";\nimport DTRModels from \"../../common/cashregisters/dtr_models\";\nimport { YupCacheValidation } from \"./YupCacheValidation\";\n\nconst checkExistanceOnDb = async (value, checkNotExistance) => {\n return new Promise((resolve, reject) => {\n if (value && value.length === 11) {\n restApi.checkEcrNumber(value)\n .then(result => {\n if (result?.data?.exists) {\n resolve(!checkNotExistance ? false : true);\n }\n else {\n resolve(!checkNotExistance ? true : false);\n }\n })\n .catch((error) => {\n resolve(!checkNotExistance ? false : true);\n });\n } else {\n resolve(!checkNotExistance ? false : true);\n }\n });\n}\n\nconst checkRTUserExistanceOnDb = async (value) => {\n return new Promise((resolve, reject) => {\n if (value && value.length === 11) {\n restApi.checkLicenseExistance(\"9eae171e-93df-4b42-a2ee-41014e1a5d1c\", value)\n .then(result => {\n if (result?.data?.exists) {\n resolve(false);\n }\n else {\n resolve(true);\n }\n })\n .catch((error) => {\n resolve(false);\n });\n } else {\n resolve(false);\n }\n });\n}\n\n\nexport function ECRNumberValidator(\n dispatch,\n intl,\n required = true,\n checkExistance = true,\n checkRTUserExistance = false,\n checkNotExistance = false,\n) {\n var result = Yup.string()\n .length(11, intl.formatMessage({ id: \"RT_USER.NUMBER_11_CHARS\" }))\n .test(\n \"DTR-Italy ECR\",\n intl.formatMessage({ id: \"RT_USER.NOT_DTR_MACHINE\" }),\n (val) => (val ? val.substring(0, 2) === \"4C\" : true)\n )\n .test(\n \"Invalid number\",\n intl.formatMessage({ id: \"RT_USER.INVALID_NUMBER\" }),\n (val) => (required ? !!val : true)\n )\n .test(\"Type\", intl.formatMessage({ id: \"RT_USER.INVALID_TYPE\" }), (val) =>\n val ? val.substring(2, 3) === \"I\" || val.substring(2, 3) === \"E\" : true\n )\n .test(\n \"Serial\",\n intl.formatMessage({ id: \"RT_USER.INVALID_SERIAL_NUMBER\" }),\n (val) => (val ? IsNumber(val.substring(5, 11)) : true)\n )\n .test(\"Model\", intl.formatMessage({ id: \"RT_USER.INVALID_MODEL\" }), (val) =>\n val\n ? DTRModels.map((el) => el.code).includes(val.substring(3, 5))\n ? true\n : false\n : true\n )\n .test(\n \"Uppercase\",\n intl.formatMessage({ id: \"SERVICE.UPPERCASE_ONLY\" }),\n (val) => (val ? val.toUpperCase() === val : true)\n );\n\n if (checkExistance || checkNotExistance) {\n const checkExistanceOnDbTest = YupCacheValidation((value) => checkExistanceOnDb(value, checkNotExistance));\n\n result = result.test(\n \"checkNumberExistance\",\n intl.formatMessage({ id: checkExistance ? \"RT_USER.NUMBER_EXISTANCE_ERROR\" : \"RT_USER.NUMBER_NOT_EXISTANCE_ERROR\" }),\n checkExistanceOnDbTest\n );\n }\n\n if (checkRTUserExistance) {\n const checkRTUserExistanceOnDbTest = YupCacheValidation((value) => checkRTUserExistanceOnDb(value));\n\n result = result.test(\n \"checkRTUserExistance\",\n intl.formatMessage({ id: \"RT_USER.NUMBER_EXISTANCE_ERROR\" }),\n checkRTUserExistanceOnDbTest\n );\n }\n\n if (required) {\n return result.required(\n intl.formatMessage({ id: \"RT_USER.NUMBER_IS_MANDATORY\" })\n );\n }\n return result;\n}\n","import * as Yup from \"yup\";\nimport * as restApi from \"../../modules/Admin/rest/api\";\nimport { YupCacheValidation } from \"./YupCacheValidation\";\n\nconst checkOnDb = async (value) => {\n return new Promise((resolve, reject) => {\n if (value && value.length === 11) {\n restApi.checkVatNumber(value)\n .then(result => {\n if (result?.data?.exists) {\n resolve(false);\n }\n else {\n resolve(true);\n }\n })\n .catch((error) => {\n resolve(false);\n });\n }\n else {\n resolve(false);\n }\n });\n}\n\nexport function YupVatNumberValidator(\n intl,\n countryCodeField,\n required = true,\n dispatch = false,\n checkEnabled = false,\n saveRedux = true,\n) {\n var result = Yup.string().when(countryCodeField, {\n is: (val) => val && val.toLowerCase() === \"it\",\n then: () => {\n return Yup.string()\n .length(11, intl.formatMessage({ id: \"SERVICE.INVALID_VAT_NUM_LENGTH\" }))\n .test(\n \"checkVatNumValidation\",\n intl.formatMessage({ id: \"SERVICE.INVALID_VAT_NUM\" }),\n (value) => {\n if (value) {\n var s = 0;\n for (var i = 0; i < 11; i++) {\n var n = value.charCodeAt(i) - \"0\".charCodeAt(0);\n if ((i & 1) === 1) {\n n *= 2;\n if (n > 9) n -= 9;\n }\n s += n;\n }\n if (s % 10 !== 0) return false;\n return true;\n } else {\n if (required) {\n return false;\n }\n return true;\n }\n }\n );\n }\n });\n\n if (dispatch) {\n const checkOnDbTest = YupCacheValidation((value) => checkOnDb(value));\n\n result = result.test(\n \"checkExistance\",\n intl.formatMessage({ id: \"SERVICE.VAT_NUM_ALREADY_PRESENT\" }),\n checkOnDbTest,\n );\n }\n\n if (required) {\n return result.required(\n intl.formatMessage({ id: \"SERVICE.VAT_NUM_IS_MANDATORY\" })\n );\n }\n return result;\n}\n","import { checkIsActive } from \"../../../_metronic/_helpers\";\n\nexport const getMenuItemActive = (location, url) => {\n const urlType = typeof url;\n var isActive = false;\n\n if (urlType === \"string\") {\n isActive = checkIsActive(location, url);\n } else if (urlType === \"object\") {\n for (var el of url) {\n isActive = checkIsActive(location, el);\n if (!isActive) {\n break;\n }\n }\n }\n\n return isActive ? \" menu-item-open menu-item-active \" : \" \";\n};\n","import * as Yup from \"yup\";\nimport * as restApi from \"../../modules/Admin/rest/api\";\n\nexport function YupItalianVatNumberValidator(\n intl,\n required = true,\n dispatch = null\n) {\n var result = Yup.string()\n .length(11, intl.formatMessage({ id: \"SERVICE.INVALID_VAT_NUM_LENGTH\" }))\n .test(\n \"checkVatNumValidation\",\n intl.formatMessage({ id: \"SERVICE.INVALID_VAT_NUM\" }),\n (value) => {\n if (value) {\n var s = 0;\n for (var i = 0; i < 11; i++) {\n var n = value.charCodeAt(i) - \"0\".charCodeAt(0);\n if ((i & 1) === 1) {\n n *= 2;\n if (n > 9) n -= 9;\n }\n s += n;\n }\n if (s % 10 !== 0) return false;\n return true;\n } else {\n if (required) {\n return false;\n }\n return true;\n }\n }\n );\n\n if (dispatch) {\n result = result.test(\n \"checkExistance\",\n intl.formatMessage({ id: \"SERVICE.VAT_NUM_ALREADY_PRESENT\" }),\n (value) => {\n return new Promise((resolve, reject) => {\n if (value && value.length === 11) {\n restApi.checkVatNumber(value)\n .then(result => {\n if (result?.data?.exists) {\n resolve(false);\n }\n else {\n resolve(true);\n }\n })\n .catch((error) => {\n resolve(false);\n });\n }\n else {\n resolve(false);\n }\n });\n }\n );\n }\n\n if (required) {\n return result.required(\n intl.formatMessage({ id: \"SERVICE.VAT_NUM_IS_MANDATORY\" })\n );\n }\n\n return result;\n}\n","import * as Yup from \"yup\";\nimport CodiceFiscale from \"codice-fiscale-js\";\n\nexport function YupItalianFiscalCodeValidator(intl, required = true) {\n var result = Yup.string()\n .test(\n \"Uppercase\",\n intl.formatMessage({ id: \"SERVICE.UPPERCASE_ONLY\" }),\n (val) => (val ? val.toUpperCase() === val : true)\n )\n .test(\n \"checkFiscalCodeValidation\",\n intl.formatMessage({ id: \"SERVICE.INVALID_FISCAL_CODE\" }),\n (value) => {\n if (value) {\n return CodiceFiscale.check(value);\n } else {\n if (required) {\n return false;\n }\n return true;\n }\n }\n );\n\n if (required) {\n return result.required(\n intl.formatMessage({ id: \"SERVICE.FISCAL_CODE_IS_MANDATORY\" })\n );\n }\n\n return result;\n}\n","export function MaxLengthCheck(object) {\n if (object.target.value.length > object.target.maxLength) {\n object.target.value = object.target.value.slice(0, object.target.maxLength);\n }\n}\n","function hashCode(str) {\n var hash = 0;\n for (var i = 0; i < str.length; i++) {\n hash = str.charCodeAt(i) + ((hash << 5) - hash);\n }\n return hash;\n}\n\nfunction intToRGB(i) {\n var c = (i & 0x00ffffff).toString(16).toUpperCase();\n\n return \"00000\".substring(0, 6 - c.length) + c;\n}\n\nexport function StringToHexColor(s) {\n const res = intToRGB(hashCode(s));\n return res;\n}\n","export function TextColorFromHexBackground(hexColor) {\n const r = parseInt(hexColor.slice(0, 2), 16);\n const g = parseInt(hexColor.slice(2, 4), 16);\n const b = parseInt(hexColor.slice(4, 6), 16);\n\n const avg = (r + g + b) / 3;\n\n if (avg > 128) {\n return \"000000\";\n }\n return \"FFFFFF\";\n}\n","import * as Yup from \"yup\";\nimport * as restApi from \"../../modules/Admin/rest/api\";\nimport { YupCacheValidation } from \"./YupCacheValidation\";\n\nconst checkOnDb = async (value, checkExistance) => {\n return new Promise((resolve, reject) => {\n if (value && (value.length === 16 || value.length === 15)) {\n restApi.checkMoitoIotCode(value)\n .then(result => {\n if (result?.data?.exists) {\n resolve(checkExistance ? false : true); //ugly but understandable\n }\n else {\n resolve(checkExistance ? true : false);\n }\n })\n .catch((error) => {\n resolve(checkExistance ? false : true);\n });\n }\n else {\n resolve(checkExistance ? false : true);\n }\n });\n}\n\nexport function MoitoIOTCodeValidator(\n dispatch,\n intl,\n required = true,\n checkExistance = true,\n checkNotExistance = false,\n) {\n var result = Yup.string();\n if (required) {\n result = result.test('checkLength', intl.formatMessage({ id: \"MOITO_IOT.INVALID_LENGTH\" }), val => val && (val.length === 16 || val.length === 15))\n .test('checkSlash', intl.formatMessage({ id: \"MOITO_IOT.SLASH_IN_CODE_MESSAGE\" }), val => val && !val.includes(\"/\") && !val.includes(\"\\\\\"))\n .test('checkSpaces', intl.formatMessage({ id: \"MOITO_IOT.INVALID_CODE\" }), val => val && !val.includes(\" \"))\n .test('checkTemp', intl.formatMessage({ id: \"MOITO_IOT.TEMP_IN_CODE_MESSAGE\" }), val => val && !val.includes(\"TEMP_\"));\n }\n\n if (checkExistance || checkNotExistance) {\n const checkOnDbTest = YupCacheValidation((value) => checkOnDb(value, checkExistance));\n\n result = result.test(\n \"checkMoitoIOTCodeExistance\",\n intl.formatMessage({ id: checkExistance ? \"MOITO_IOT.CODE_EXISTANCE_ERROR\" : \"MOITO_IOT.CODE_NOT_EXISTANCE_ERROR\" }),\n checkOnDbTest,\n );\n }\n\n if (required) {\n result = result.required(\n intl.formatMessage({ id: \"MOITO_IOT.CODE_IS_MANDATORY\" })\n );\n }\n\n return result;\n}\n","import * as Yup from \"yup\";\n\nexport function YupTimeValidator(intl, required = true) {\n var result = Yup.string().test(\n \"checkTime\",\n intl.formatMessage({ id: \"SERVICE.INVALID_TIME\" }),\n (value) => {\n if (!value || typeof value !== \"string\" || !value.includes(\":\")) {\n return false;\n }\n\n var splitted = value.split(\":\");\n if (!splitted || splitted.length !== 2) {\n return false;\n }\n\n try {\n const h = parseInt(splitted[0]);\n const m = parseInt(splitted[1]);\n\n if (h < 0 || h > 24 || m < 0 || m > 60) {\n return false;\n }\n } catch (e) {\n return false;\n }\n\n return true;\n }\n );\n\n if (required) {\n result = result.required(\n intl.formatMessage({ id: \"SERVICE.TIME_IS_MANDATORY\" })\n );\n }\n\n return result;\n}\n","import * as Yup from \"yup\";\nimport * as restApi from \"../../modules/Admin/rest/api\";\n\nexport function ECRNumberExistance(\n dispatch,\n intl\n) {\n return Yup.string().test(\n \"checkNumberExistance\",\n intl.formatMessage({ id: \"RT_USER.NUMBER_EXISTANCE_ERROR\" }),\n (value) => {\n return new Promise((resolve, reject) => {\n if (value && value.length === 11) {\n restApi.checkEcrNumber(value)\n .then(result => {\n if (result?.data?.exists) {\n resolve(false);\n }\n else {\n resolve(true);\n }\n })\n .catch((error) => {\n resolve(true);\n });\n } else {\n resolve(false);\n }\n });\n }\n );\n}\n","import * as Yup from \"yup\";\nimport { actions } from \"../../modules/Customer/_redux/customers/actions\";\n\nexport function YupCustomerVatNumberValidator(\n intl,\n countryCodeField,\n tenantId,\n required = true,\n dispatch = false,\n saveRedux = true\n) {\n var result = Yup.string()\n .length(11, intl.formatMessage({ id: \"SERVICE.INVALID_VAT_NUM_LENGTH\" }))\n .test(\n \"checkVatNumValidation\",\n intl.formatMessage({ id: \"SERVICE.INVALID_VAT_NUM\" }),\n (value) => {\n if (value) {\n var s = 0;\n for (var i = 0; i < 11; i++) {\n var n = value.charCodeAt(i) - \"0\".charCodeAt(0);\n if ((i & 1) === 1) {\n n *= 2;\n if (n > 9) n -= 9;\n }\n s += n;\n }\n if (s % 10 !== 0) return false;\n return true;\n } else {\n if (required) {\n return false;\n }\n return true;\n }\n }\n );\n\n if (dispatch) {\n result = result.test(\n \"checkExistance\",\n intl.formatMessage({ id: \"SERVICE.VAT_NUM_ALREADY_PRESENT\" }),\n (value) => {\n return new Promise((resolve, reject) => {\n if (value && value.length === 11) {\n dispatch(actions.getByVatNumber(value, tenantId, saveRedux))\n .then((result) => {\n if (result) {\n resolve(false);\n } else {\n resolve(true);\n }\n })\n .catch((error) => {\n resolve(true);\n });\n } else {\n resolve(true);\n }\n });\n }\n );\n }\n\n if (required) {\n return result.required(\n intl.formatMessage({ id: \"SERVICE.VAT_NUM_IS_MANDATORY\" })\n );\n }\n return result;\n}\n","import axios from \"axios\";\nimport * as restApi from \"../../modules/Admin/rest/api\";\n\nexport async function DownloadProtectedFile(tenantId, s3Key, sendToastNotification, intl, callback) {\n return restApi.generatePreSignedURL(tenantId, s3Key, \"getObject\")\n .then((result) => {\n axios.get(result.data, {\n decompress: false,\n responseType: \"arraybuffer\",\n })\n .then((axiosResponse) => {\n callback(result.data, axiosResponse.data);\n })\n .catch((e) => {\n if (sendToastNotification) {\n sendToastNotification(\"error\", intl.formatMessage({ id: \"SERVICE.ERROR_DOWNLOADING_FILE\" }));\n }\n });\n })\n .catch((e) => {\n if (sendToastNotification) {\n sendToastNotification(\"error\", intl.formatMessage({ id: \"SERVICE.ERROR_DOWNLOADING_FILE\" }));\n }\n });\n}\n","/*global AppJS*/\n/*eslint no-undef: \"error\"*/\n\nexport const DownloadContent = (filename, data, contentType) => {\n if (typeof AppJS !== 'undefined') {\n const file = new Blob([data], { type: contentType });\n file.text()\n .then(res => {\n AppJS.saveGenericFile(filename, res);\n })\n\n } else {\n const element = document.createElement(\"a\");\n const file = new Blob([data], {\n type: contentType\n });\n element.href = URL.createObjectURL(file);\n element.download = filename;\n document.body.appendChild(element); // Required for this to work in FireFox\n element.click();\n }\n};\n","import { useEffect, useState } from \"react\";\n\nexport const useCheckMobileScreen = () => {\n const [width, setWidth] = useState(window.innerWidth);\n const handleWindowSizeChange = () => {\n setWidth(window.innerWidth);\n }\n\n useEffect(() => {\n window.addEventListener('resize', handleWindowSizeChange);\n return () => {\n window.removeEventListener('resize', handleWindowSizeChange);\n }\n }, []);\n\n return (width <= 768);\n}\n","import * as Yup from \"yup\";\nimport CodiceFiscale from \"codice-fiscale-js\";\n\nexport function YupCustomerVatNumberFiscalCodeValidator(\n intl,\n countryCodeField,\n required = true\n) {\n var result = Yup.string().when(countryCodeField, {\n is: (val) => val && val.toLowerCase() === \"it\",\n then: () => {\n const res = Yup.string()\n .test(\n \"Uppercase\",\n intl.formatMessage({ id: \"SERVICE.UPPERCASE_ONLY\" }),\n (val) => (val ? val.toUpperCase() === val : false)\n )\n .test(\"check\", intl.formatMessage({ id: \"SERVICE.INVALID_VALUE\" }), (value) => {\n if (!value && required) {\n return false;\n }\n\n if (value && value.length === 16) {\n return CodiceFiscale.check(value);\n }\n\n if (value && value.length === 11) {\n var s = 0;\n for (var i = 0; i < 11; i++) {\n var n = value.charCodeAt(i) - \"0\".charCodeAt(0);\n if ((i & 1) === 1) {\n n *= 2;\n if (n > 9) n -= 9;\n }\n s += n;\n }\n if (s % 10 !== 0) return false;\n return true;\n } else {\n if (required) {\n return false;\n }\n return true;\n }\n })\n\n if (required) {\n return res.required(\n intl.formatMessage({ id: \"SERVICE.FIELD_IS_REQUIRED\" })\n );\n }\n },\n otherwise: Yup.string(),\n });\n\n return result;\n}\n","export const lazyRetry = function(componentImport, name) {\n return new Promise((resolve, reject) => {\n const hasRefreshed = JSON.parse(window.sessionStorage.getItem(`retry-${name}-refreshed`) || 'false');\n \n componentImport().then((component) => {\n window.sessionStorage.setItem(`retry-${name}-refreshed`, 'false');\n resolve(component);\n }).catch((error) => {\n if (!hasRefreshed) {\n window.sessionStorage.setItem(`retry-${name}-refreshed`, 'true'); \n return window.location.reload(); \n }\n reject(error); \n });\n });\n};","import * as Yup from \"yup\";\nimport { actions } from \"../../modules/EInvoice/_redux/vendors/actions\";\n\nexport function YupVendorVatNumberValidator(\n intl,\n tenantId,\n required = true,\n dispatch = false,\n saveRedux = false\n) {\n var result = Yup.string()\n .length(11, intl.formatMessage({ id: \"SERVICE.INVALID_VAT_NUM_LENGTH\" }))\n .test(\n \"checkVatNumValidation\",\n intl.formatMessage({ id: \"SERVICE.INVALID_VAT_NUM\" }),\n (value) => {\n if (value) {\n var s = 0;\n for (var i = 0; i < 11; i++) {\n var n = value.charCodeAt(i) - \"0\".charCodeAt(0);\n if ((i & 1) === 1) {\n n *= 2;\n if (n > 9) n -= 9;\n }\n s += n;\n }\n if (s % 10 !== 0) return false;\n return true;\n } else {\n if (required) {\n return false;\n }\n return true;\n }\n }\n );\n\n if (dispatch) {\n result = result.test(\n \"checkExistance\",\n intl.formatMessage({ id: \"SERVICE.VAT_NUM_ALREADY_PRESENT\" }),\n (value) => {\n return new Promise((resolve, reject) => {\n if (value && value.length === 11) {\n dispatch(actions.getByVatNumber(value, tenantId, saveRedux))\n .then((result) => {\n if (result) {\n resolve(false);\n } else {\n resolve(true);\n }\n })\n .catch((error) => {\n resolve(true);\n });\n } else {\n resolve(true);\n }\n });\n }\n );\n }\n\n if (required) {\n return result.required(\n intl.formatMessage({ id: \"SERVICE.VAT_NUM_IS_MANDATORY\" })\n );\n }\n return result;\n}\n","import * as Yup from \"yup\";\nimport * as restApi from \"../../modules/Admin/rest/api\";\nimport { YupCacheValidation } from \"./YupCacheValidation\";\n\nconst checkOnDb = async (value) => {\n return new Promise((resolve, reject) => {\n if (value && value.length === 11) {\n restApi.checkVatNumber(null, value)\n .then(result => {\n if (result?.data?.exists) {\n resolve(false);\n }\n else {\n resolve(true);\n }\n })\n .catch((error) => {\n resolve(false);\n });\n }\n else {\n resolve(false);\n }\n });\n}\n\nexport function YupVatDealerRegistrationValidator(\n intl,\n required = true,\n dispatch = false\n) {\n var result = Yup.string()\n .length(11, intl.formatMessage({ id: \"SERVICE.INVALID_VAT_NUM_LENGTH\" }))\n .test(\n \"checkVatNumValidation\",\n intl.formatMessage({ id: \"SERVICE.INVALID_VAT_NUM\" }),\n (value) => {\n console.log(\"value\", value);\n if (value) {\n var s = 0;\n for (var i = 0; i < 11; i++) {\n var n = value.charCodeAt(i) - \"0\".charCodeAt(0);\n if ((i & 1) === 1) {\n n *= 2;\n if (n > 9) n -= 9;\n }\n s += n;\n }\n if (s % 10 !== 0) return false;\n return true;\n } else {\n if (required) {\n return false;\n }\n return true;\n }\n }\n );\n\n console.log(\"dispatch\", dispatch);\n\n if (dispatch) {\n console.log(\"checking on db\");\n const checkOnDbTest = YupCacheValidation((value) => checkOnDb(value));\n\n result = result.test(\n \"checkExistance\",\n intl.formatMessage({ id: \"SERVICE.VAT_NUM_ALREADY_PRESENT\" }),\n checkOnDbTest,\n );\n }\n\n if (required) {\n return result.required(\n intl.formatMessage({ id: \"SERVICE.VAT_NUM_IS_MANDATORY\" })\n );\n }\n return result;\n}\n","import Allergens from \"../../common/allergens/Allergens\";\n\nexport function GetAllergenNameByCode(code) {\n var nameLabelId = \"\";\n\n Allergens.forEach((allergen) => {\n const obj = allergen[Object.keys(allergen)[0]];\n\n obj.icons.forEach((el) => {\n if (el.code === code) {\n nameLabelId = obj.name;\n return;\n }\n });\n\n if (nameLabelId) {\n return;\n }\n });\n\n return nameLabelId;\n}\n","export const ScrollEffect = (targetRef) => {\n if (targetRef) {\n targetRef.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n });\n }\n}\n","import * as Yup from \"yup\";\nimport * as restApi from \"../../modules/Admin/rest/api\";\nimport { YupCacheValidation } from \"./YupCacheValidation\";\n\nconst checkOnDb = async (value, checkExistance) => {\n return new Promise((resolve, reject) => {\n if (value && (value.length === 16 || value.length === 15)) {\n restApi.checkMoitoIotCode(value)\n .then(result => {\n if (result?.data?.exists) {\n resolve(false);\n }\n else {\n resolve(true);\n }\n })\n .catch((error) => {\n resolve(false);\n });\n }\n else {\n resolve(true);\n }\n });\n}\n\nexport function MoitoIOTRegistrationCodeValidator(dispatch, intl) {\n var result = Yup.string();\n result = result.test('checkLength', intl.formatMessage({ id: \"MOITO_IOT.INVALID_LENGTH\" }), val => val ? (val.length === 16 || val.length === 15) : true)\n .test('checkSlash', intl.formatMessage({ id: \"MOITO_IOT.SLASH_IN_CODE_MESSAGE\" }), val => val ? !val.includes(\"/\") && !val.includes(\"\\\\\") : true)\n .test('checkSpaces', intl.formatMessage({ id: \"MOITO_IOT.INVALID_CODE\" }), val => val ? !val.includes(\" \") : true)\n .test('checkTemp', intl.formatMessage({ id: \"MOITO_IOT.TEMP_IN_CODE_MESSAGE\" }), val => val ? !val.includes(\"TEMP_\") : true);\n\n const checkOnDbTest = YupCacheValidation((value) => checkOnDb(value));\n\n result = result.test(\n \"checkMoitoIOTCodeExistance\",\n intl.formatMessage({ id: \"MOITO_IOT.CODE_EXISTANCE_ERROR\"}),\n checkOnDbTest,\n );\n\n return result;\n}\n","import JSZip from \"jszip\";\nimport { DownloadContent } from \"./DownloadContent\";\n\nexport const DownloadZippedContent = (extension, filename, data) => {\n if (extension === \"zip\") {\n try {\n const jsZip = new JSZip();\n jsZip.loadAsync(data).then((zip) => {\n Object.keys(zip.files).forEach((internalFileName) => {\n zip.files[internalFileName].async(\"arraybuffer\").then((fileData) => {\n const fileNameToDownload = filename.replace(/\\.[^/.]+$/, \"\");\n DownloadContent(fileNameToDownload, fileData, undefined);\n });\n });\n });\n } catch(e) {\n DownloadContent(filename, data, undefined); \n }\n }\n else {\n DownloadContent(filename, data, undefined);\n }\n};","import React, { useState, useEffect } from \"react\";\nimport { StringToHexColor, TextColorFromHexBackground } from \"../functions\";\n\nexport function TagsManager({\n stringValues,\n setStringValues,\n editable = true,\n customStyle = {}\n}) {\n const [values, setValues] = useState([]);\n const [inputValue, setInputValue] = useState(\"\");\n\n useEffect(() => {\n if (stringValues) {\n const vals = stringValues.split(\"#\");\n if (vals && vals.length > 1) {\n setValues(vals.slice(1));\n } else {\n setValues([]);\n }\n } else {\n setValues([]);\n }\n }, [stringValues]);\n\n const parseInput = (v) => {\n setInputValue(v);\n\n var newValue = \"\";\n if (v && v.slice(-1) === \" \") {\n newValue = v.slice(0, v.length - 1);\n }\n\n if (newValue) {\n setInputValue(\"\");\n setStringValues(\n (stringValues ? stringValues : \"\") + \"#\" + newValue.toUpperCase()\n );\n }\n };\n\n const removeTag = (value) => {\n if (stringValues && stringValues.includes(value)) {\n const idx = stringValues.indexOf(value);\n\n const before = stringValues.slice(0, idx - 1);\n const after = stringValues.slice(idx + value.length, stringValues.length);\n\n setStringValues(before + after);\n }\n };\n\n const handleKeyDown = (e) => {\n if (e.key === 'Enter') {\n parseInput(e.target.value + \" \"); //Simulate the space char to add tag\n }\n };\n\n const style = {\n remove_icon: {\n cursor: \"pointer\",\n },\n };\n\n return (\n <>\n {values.map((t, idx) => (\n \n {t}{\" \"}\n {editable && (\n removeTag(t)}\n style={style.remove_icon}\n >\n )}\n \n ))}\n\n {editable && (\n parseInput(e.target.value)}\n style={customStyle}\n placeholder={\"Tags\"}\n onKeyDown={handleKeyDown}\n />\n )}\n \n );\n}\n","import React, { useState } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport { API, graphqlOperation } from \"aws-amplify\";\nimport * as queries from \"../../../graphql/queries\";\n\nconst getValueFromStringPath = (obj, path) => {\n return path.split(\".\").reduce(function (o, k) {\n return o && o[k];\n }, obj);\n};\n\nexport function DBQueryCSVExport({\n queryName,\n queryStr = null,\n params,\n fields,\n headers,\n filename,\n disabled = false,\n}) {\n\n const [isGenerating, setIsGenerating] = useState(false);\n\n const onClick = async () => {\n setIsGenerating(true);\n\n var items = [];\n var nextToken = undefined;\n\n try {\n do {\n const queryParams = {\n ...params,\n limit: params.limit > 100 ? 100 : params.limit,\n nextToken: nextToken,\n };\n\n const result = await API.graphql(graphqlOperation(queryName ? queries[queryName] : queryStr, queryParams));\n const data = result && result.data && Object.keys(result.data).length > 0 && result.data[Object.keys(result.data)[0]] ? result.data[Object.keys(result.data)[0]] : {};\n\n items = items.concat(data && data.items ? data.items : []);\n nextToken = data.nextToken;\n } while (nextToken !== null);\n } catch(e) {\n items = [];\n nextToken = undefined;\n }\n\n const separator = \";\";\n const replacer = (key, value) => value === null ? '' : (value + \"\");\n const csv = [\n headers.join(separator),\n ...items.map(row => {\n return fields.map(fieldName => {\n if (typeof(fieldName) === \"function\") {\n return JSON.stringify(fieldName(row), replacer);\n }\n return JSON.stringify(getValueFromStringPath(row, fieldName), replacer);\n }).join(separator);\n })\n ].join('\\r\\n')\n\n const file = new Blob([csv], { type: \"text/csv\" });\n \n const element = document.createElement(\"a\");\n element.href = URL.createObjectURL(file);\n element.download = filename.replace(/^.*[\\\\\\/]/, \"\");\n document.body.appendChild(element); // Required for this to work in FireFox\n element.click();\n\n setIsGenerating(false);\n };\n\n return (\n <>\n await onClick()}\n disabled={disabled || isGenerating}\n >\n
\n {isGenerating && (\n
\n )}\n
\n \n {\" \"}\n \n
\n
\n \n \n );\n}\n","import React, { useState, useEffect } from \"react\";\nimport { AsyncPaginate } from \"react-select-async-paginate\";\nimport { API, graphqlOperation } from \"aws-amplify\";\nimport * as queries from \"../../../graphql/queries\";\nimport { isEqual, orderBy } from \"lodash\";\nimport { GetText } from \"../functions/GetText\";\n\nconst sleep = (ms) =>\n new Promise((resolve) => {\n setTimeout(() => {\n resolve();\n }, ms);\n });\n\nconst getValueFromStringPath = (obj, path, getText = false) => {\n return path.split(\".\").reduce(function (o, k) {\n if (getText) {\n return GetText(o && o[k]);\n }\n return o && o[k];\n }, obj);\n};\n\nexport function LookupField({\n label,\n getText = false,\n onChange,\n data = [],\n valueField = \"id\",\n labelField = \"name\",\n defaultValue = undefined,\n queryFilter = null,\n query,\n topOption,\n isMulti = false,\n closeMenuOnSelect = true,\n disabled = false,\n sortFields = null,\n sortDirections = [\"desc\"],\n additionalParams = {},\n forceChangeValue = false,\n isClearable = true,\n required = false,\n graphql = \"\",\n isPublicApi = false,\n filterFunc = null,\n limit = 20,\n}) {\n const [value, setValue] = useState(defaultValue);\n\n useEffect(() => {\n if (\n isEqual(value, defaultValue) ||\n (defaultValue && (!value || Object.keys(value).length <= 0))\n ) {\n setValue(defaultValue);\n }\n\n if (forceChangeValue) {\n setValue(defaultValue);\n }\n }, [defaultValue, value]);\n\n const loadOptions = async (search, prevOptions, { nextToken }) => {\n await sleep(500);\n\n var params = {\n limit: limit,\n nextToken: nextToken,\n ...additionalParams,\n };\n if (!labelField.includes(\".\")) {\n if ((query && query.toLowerCase().includes(\"search\")) || (graphql && graphql.includes(\"search\"))) {\n if (search) {\n const wildcards = search.toLowerCase().split(\" \").map(el => \"*\" + el + \"*\");\n\n params.filter = {\n and: wildcards.map(wc => {\n return { [labelField]: { wildcard: wc } };\n }),\n };\n }\n }\n else {\n params.filter = {\n [labelField]: { contains: search },\n };\n }\n }\n if (queryFilter) {\n params.filter = { ...params.filter, ...queryFilter };\n }\n\n var additionalOptions = [];\n if (topOption && !prevOptions.length) {\n additionalOptions[0] = topOption;\n }\n if (data.length > 0) {\n const hasMore =\n prevOptions.length === 0 && data.length > 20\n ? true\n : data.length > prevOptions.length + 20;\n const slicedData = data.slice(\n prevOptions.length,\n prevOptions.length + 20\n );\n \n return {\n options: slicedData.filter(el => filterFunc ? filterFunc(el) : true).map((el) => {\n return {\n value: getValueFromStringPath(el, valueField),\n label: getValueFromStringPath(el, labelField, getText),\n };\n }),\n hasMore: hasMore,\n };\n } else {\n var promise;\n if (isPublicApi) {\n promise = API.graphql({ query: graphql || queries[query], variables: params, authMode: \"AWS_IAM\"});\n }\n else {\n promise = API.graphql(graphqlOperation(graphql || queries[query], params));\n }\n\n return promise\n .then((result) => {\n var options = additionalOptions.concat(\n result.data[query].items.filter(el => filterFunc ? filterFunc(el) : true).map((el) => {\n var label = getValueFromStringPath(el, labelField, getText);\n if (!label || label === \" \") {\n label = \"-\";\n }\n\n return {\n value: getValueFromStringPath(el, valueField),\n label: label,\n };\n })\n );\n if (sortFields) {\n options = additionalOptions.concat(\n orderBy(result.data[query].items, sortFields, sortDirections).filter(el => filterFunc ? filterFunc(el) : true).map(\n (el) => {\n var label = getValueFromStringPath(el, labelField, getText);\n if (!label || label === \" \") {\n label = \"-\";\n }\n\n return {\n value: getValueFromStringPath(el, valueField),\n label: label,\n };\n }\n )\n );\n }\n\n return {\n options: options,\n hasMore: !!result.data[query].nextToken,\n additional: {\n nextToken: result.data[query].nextToken,\n },\n };\n })\n .catch((e) => {\n return {\n options: additionalOptions.concat([{}]),\n hasMore: true,\n additional: {\n nextToken: null,\n },\n };\n });\n }\n };\n\n const onSelectChange = (newValue) => {\n if (isMulti) {\n onChange(newValue ? newValue.map((el) => el.value) : null);\n } else {\n onChange(newValue ? newValue.value : null);\n }\n\n //Because of useEffect logic there should be at least one key to make isClearable works\n //This component need a rework but It's used on too many points\n setValue(newValue || { mock: true });\n };\n\n return (\n <>\n {label && }\n {required && (\n <>\n {\" \"}\n *\n \n )}\n \n \n );\n}\n","import React, { useState } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\n\nconst getValueFromStringPath = (obj, path) => {\n return path.split(\".\").reduce(function (o, k) {\n return o && o[k];\n }, obj);\n};\n\nexport function CSVExport({\n items,\n fields,\n headers,\n filename,\n disabled = false,\n}) {\n\n const [isGenerating, setIsGenerating] = useState(false);\n\n const onClick = async () => {\n setIsGenerating(true);\n\n const separator = \";\";\n const replacer = (key, value) => value === null ? '' : (value + \"\");\n const csv = [\n headers.join(separator),\n ...items.map(row => {\n return fields.map(fieldName => {\n if (typeof(fieldName) === \"function\") {\n return JSON.stringify(fieldName(row), replacer);\n }\n return JSON.stringify(getValueFromStringPath(row, fieldName), replacer);\n }).join(separator);\n })\n ].join('\\r\\n');\n\n const file = new Blob([csv], { type: \"text/csv\" });\n \n const element = document.createElement(\"a\");\n element.href = URL.createObjectURL(file);\n element.download = filename.replace(/^.*[\\\\\\/]/, \"\");\n document.body.appendChild(element); // Required for this to work in FireFox\n element.click();\n\n setIsGenerating(false);\n };\n\n return (\n <>\n onClick()}\n disabled={disabled || isGenerating || items.length <= 0}\n >\n
\n {isGenerating && (\n
\n )}\n
\n \n {\" \"}\n \n
\n
\n \n \n );\n}\n","import React, { useState, useEffect } from \"react\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport BootstrapTable from \"react-bootstrap-table-next\";\nimport * as columnFormatters from \"./column-formatters\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\nimport { LoadingCard } from \"../LoadingCard\";\nimport { useSelector, shallowEqual, useDispatch } from \"react-redux\";\nimport { GetTenant } from \"../../functions/GetTenant\";\nimport { LookupField } from \"../../lookup/LookupField\";\nimport { CSVExport } from \"../CSVExport\";\nimport { YYYYMMDD } from \"../../functions/date/YYYYMMDD\";\nimport * as restApi from \"../../../modules/Admin/rest/api\";\nimport { actions } from \"../../../modules/Admin/_redux/retailstorelicenses/actions\";\n\nexport function LicenseReport({ retailStoreLicenses, filename = null, isLoading = false, openEcrReportDialog = null }) {\n const intl = useIntl();\n\n const { partner } = useSelector(\n (state) => ({\n partner: GetTenant(),\n }),\n shallowEqual\n );\n\n const [data, setData] = useState([]);\n const [opened, setOpened] = useState(undefined);\n const [selectedTenantId, setSelectedTenantId] = useState(\"all\");\n\n useEffect(() => {\n var byLicense = {};\n\n retailStoreLicenses.forEach(rsl => {\n if (selectedTenantId !== \"all\" && rsl.tenantId !== selectedTenantId) {\n return;\n }\n\n if (Object.keys(byLicense).includes(rsl.licenseId)) {\n byLicense[rsl.licenseId] = byLicense[rsl.licenseId].concat(rsl);\n }\n else {\n byLicense[rsl.licenseId] = [rsl];\n }\n });\n\n setData(byLicense);\n\n if (Object.keys(byLicense).length > 0 && !opened) {\n setOpened(byLicense[Object.keys(byLicense)[0]]);\n }\n }, [retailStoreLicenses, selectedTenantId]);\n\n const dispatch = useDispatch();\n\n const [autorenewIsLoadingId, setAutorenewIsLoadingId] = useState(undefined);\n\n const toggleAutorenew = (rslId) => {\n setAutorenewIsLoadingId(rslId);\n\n restApi.toggleAutorenew(rslId)\n .then(() => {\n dispatch(actions.refreshRecordOnEntities(rslId))\n .then(() => {\n setAutorenewIsLoadingId(undefined);\n });\n });\n };\n\n const columns = [\n {\n dataField: \"id\",\n text: \"ID\",\n hidden: true,\n },\n {\n dataField: \"formattedNumber\",\n text: intl.formatMessage({ id: \"SERVICE.CODE\" }),\n formatter: columnFormatters.NumberColumnFormatter,\n formatExtraData: {\n openEcrReportDialog: openEcrReportDialog,\n },\n },\n {\n dataField: \"applicant\",\n text: intl.formatMessage({ id: \"SERVICE.LICENSE_HOLDER\" }),\n formatter: columnFormatters.ApplicantColumnFormatter,\n },\n {\n dataField: \"duration\",\n text: intl.formatMessage({ id: \"SERVICE.DURATION\" }),\n formatter: columnFormatters.DurationColumnFormatter,\n },\n {\n dataField: \"status\",\n text: intl.formatMessage({ id: \"SERVICE.STATUS\" }),\n formatter: columnFormatters.ActivatedStatusColumnFormatter,\n },\n {\n dataField: \"isFreeBadger\",\n text: intl.formatMessage({ id: \"SERVICE.TYPE\" }),\n formatter: columnFormatters.IsFreeColumnFormatter,\n },\n {\n dataField: \"autorenew\",\n text: intl.formatMessage({ id: \"SERVICE.AUTORENEW\" }),\n formatter: columnFormatters.AutorenewColumnFormatter,\n formatExtraData: {\n toggleAutorenew: toggleAutorenew,\n autorenewIsLoadingId: autorenewIsLoadingId,\n partner: partner,\n },\n },\n ];\n\n const fwDownloadColumns = [\n {\n dataField: \"firmware\",\n text: intl.formatMessage({ id: \"RT_USER.FIRMWARE\" }),\n }\n ];\n\n const getColumnsByLicenseId = (licenseId) => {\n switch (licenseId) {\n case \"9b362f09-b8c4-42f2-ab7c-527a0fe6ae5d\": //Fw download\n return fwDownloadColumns.concat(columns.filter(el => ![\"duration\", \"status\"].includes(el.dataField)));\n case \"2dd7f09e-fd03-49cb-9c82-147de29394d9\": //EJ extension\n return columns.filter(el => ![\"duration\", \"status\"].includes(el.dataField));\n case \"f2892650-5c25-4ef4-b250-f2df4b16bfde\": //EInvoice \n case \"53546483-a7b1-4366-9c68-bf4c23ec6c88\": //Atorder\n case \"32357de7-594b-4c76-9d55-83b3c8aeed9c\": //Atorder\n case \"10d1611d-f86b-4eb7-87f5-7b2774842fa5\": //calendar\n case \"1cdf900d-748b-41cf-9061-bba90a67fbfa\": //forvalue\n return columns.filter(el => ![\"formattedNumber\"].includes(el.dataField));\n default:\n return columns;\n }\n };\n\n const getLicenseCommercialName = (records) => {\n return records && records.length > 0 && records[0].license && records[0].license.commercialName ? records[0].license.commercialName : \"\";\n };\n \n const onClick = (licenseId) => {\n if (opened === licenseId) {\n setOpened(undefined);\n }\n else {\n setOpened(licenseId);\n }\n };\n\n const getLogo = (licenseId) => {\n switch (licenseId) { \n case \"10d1611d-f86b-4eb7-87f5-7b2774842fa5\":\n return \"/media/coristech/logos/CALENDAR_3x.png\";\n \n case \"1cdf900d-748b-41cf-9061-bba90a67fbfa\":\n return \"/media/coristech/logos/for_value.jpg\";\n\n case \"53546483-a7b1-4366-9c68-bf4c23ec6c88\":\n case \"32357de7-594b-4c76-9d55-83b3c8aeed9c\":\n return \"/media/coristech/logos/atorder.png\";\n\n case \"f2892650-5c25-4ef4-b250-f2df4b16bfde\":\n return \"/media/coristech/logos/einvoice.png\";\n\n case \"9eae171e-93df-4b42-a2ee-41014e1a5d1c\":\n case \"8eb9062d-ebc1-4170-b400-8eda55eb2872\":\n return \"/media/coristech/logos/rt_user.png\";\n\n case \"4d1d8ef8-1fa7-4909-a09c-469822acd335\":\n return \"/media/coristech/logos/dtr_happy.png\";\n\n case \"f4e74abd-64ff-47d0-a887-b6058e240fb0\":\n case \"9b362f09-b8c4-42f2-ab7c-527a0fe6ae5d\":\n case \"2dd7f09e-fd03-49cb-9c82-147de29394d9\":\n return \"/media/coristech/logos/rt_utility.png\";\n\n case \"3eebc758-3b87-4423-8c14-59f89b67ce4f\":\n case \"bff77d8b-bfab-45b3-be66-4588bf7070d1\":\n case \"9d92dd27-6f88-4a6f-80c6-dcb53fa31aa0\":\n case \"25818ff7-dc7b-4723-9aac-fa0c6b7c15c9\":\n case \"559cb818-8ecb-4d80-b7d0-dafb45799b58\":\n case \"9ae29c06-76bb-4ada-9379-91425c3b616e\":\n case \"31dd24f6-0c72-4afd-a324-04c5e5e1661d\":\n case \"e10c5f96-dd90-47a1-9299-c67725d3a644\":\n case \"b02a485d-90fa-4485-9de9-f12b988a1b00\":\n case \"7a09ca36-7bed-42df-bae4-662591ae9aec\":\n case \"aa0abe1a-892d-4c54-8e5f-294a2e146710\":\n case \"2e49a6e6-d45c-488d-b8b1-81b547d5bd19\":\n return \"/media/coristech/logos/moitoiot.png\";\n\n default:\n return \"\";\n }\n };\n\n const getCode = (rsl) => {\n if (rsl.number) {\n return rsl.number;\n }\n if (rsl.moitoIotCode) {\n return rsl.moitoIotCode;\n }\n return \"\";\n };\n \n\n const getTenantName = (rsl) => {\n if (rsl.ecrCompanyName) {\n return rsl.ecrCompanyName;\n }\n return rsl?.tenant?.companyName || \"\";\n }\n\n const getTenantCompanyVat = (rsl) => {\n if (rsl.ecrCompanyVat) {\n return rsl.ecrCompanyVat;\n }\n return rsl?.tenant?.companyVat || \"\"; \n }\n\n return (\n
\n
\n
\n setSelectedTenantId(val)}\n labelField=\"companyName\"\n defaultValue={{ value: \"all\", label: \"Tutti\" }}\n topOption={{ value: \"all\", label: \"Tutti\" }}\n query={\"searchTenants\"}\n queryFilter={{ defaultPartnerCode: { eq: partner.shortCode } }}\n />\n\n \n \n \n
\n
\n
\n
\n \n
\n
\n {!isLoading ? (\n <>\n
\n {Object.keys(data).map((licenseId, idx) => (\n
\n
onClick(licenseId)}\n >\n
\n
\n

{data[licenseId].length}

\n {\" x \"}\n
\n
\n
{getLicenseCommercialName(data[licenseId])}
\n
\n
\n \n
\n
\n \n
\n
\n
\n {licenseId === opened && (\n
\n \n
\n )}\n
\n ))}\n
\n \n ) : (\n
\n \n
\n )}\n
\n );\n}\n","import React from \"react\";\nimport { shallowEqual, useSelector } from \"react-redux\";\nimport { LoadingDialog as MetronicLoadingDialog } from \"../../../../_metronic/_partials/controls\";\nimport { useIntl } from \"react-intl\";\nimport { GetValueFromStringPath } from \"../../functions/GetValueFromStringPath\";\n\nexport function LoadingDialog({ path }) {\n const intl = useIntl();\n const { isLoading } = useSelector(\n (state) => ({ \n isLoading: GetValueFromStringPath(state, path),\n }),\n shallowEqual\n );\n\n return (\n \n );\n}\n","import React, { useMemo } from \"react\";\nimport {\n Card as MetronicCard,\n CardBody,\n CardHeader,\n CardHeaderToolbar,\n} from \"../../../../_metronic/_partials/controls\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\n\nexport function Card({ \n UIContext, \n location = null, \n titleId, \n Filter, \n Grouping,\n Table,\n otherButtons = []\n}) {\n const intl = useIntl();\n\n const UIProps = useMemo(() => {\n return {\n ids: UIContext.ids,\n newButtonClick: UIContext.newButtonClick,\n };\n }, [UIContext]);\n\n return (\n <>\n {(!location || (!location.pathname.includes(\"/new\") \n && !location.pathname.match(\"([^,]+)/copy\") \n && !location.pathname.match(\"([^,]+)/massiveNew\")\n && !location.pathname.match(\"([^,]+)/edit\"))) && (\n \n \n \n {otherButtons.map((b, idx) => (\n
\n {React.isValidElement(b) ? (\n <>{b}\n ) : (\n \n {b.icon && (\n <>\n \n {\" \"}\n \n )}\n \n \n )}\n\n {\" \"}\n
\n ))}\n\n <> \n\n {UIProps.newButtonClick && (\n \n \n {\" \"}\n \n \n )}\n
\n \n \n {Filter && (\n <>{Filter}\n )}\n {Grouping && (\n <>{Grouping}\n )}\n {Table && (\n <>{Table}\n )}\n \n
\n )}\n \n );\n}\n","import React, { useMemo, useState } from \"react\";\nimport { Formik } from \"formik\";\nimport { isEqual } from \"lodash\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\n\nconst prepareFilter = (queryParams, values, fields) => {\n const { searchText } = values;\n const newQueryParams = { ...queryParams };\n const filter = {};\n\n if (searchText) {\n filter.or = fields.map(f => {\n return { [f]: { contains: searchText } };\n });\n }\n\n newQueryParams.filter = filter;\n return newQueryParams;\n};\n\nexport function Filter({ UIContext, fields }) {\n const intl = useIntl();\n\n const [timeoutId, setTimeoutId] = useState(-1);\n\n const UIProps = useMemo(() => {\n return {\n queryParams: UIContext.queryParams,\n setQueryParams: UIContext.setQueryParams,\n\n setCurrentToken: UIContext.setCurrentToken,\n };\n }, [UIContext]);\n\n const applyFilter = (values) => {\n if (timeoutId >= 0) {\n clearTimeout(timeoutId);\n setTimeoutId(-1);\n }\n\n setTimeoutId(setTimeout(() => {\n const newQueryParams = prepareFilter(UIProps.queryParams, values, fields);\n if (!isEqual(newQueryParams, UIProps.queryParams)) {\n if (UIProps.setCurrentToken) {\n UIProps.setCurrentToken(null);\n }\n \n newQueryParams.pageNumber = 1;\n UIProps.setQueryParams(newQueryParams);\n }\n }, 400));\n };\n\n return (\n <>\n {\n applyFilter(values);\n }}\n >\n {({\n values,\n handleSubmit,\n handleBlur,\n handleChange,\n setFieldValue,\n }) => (\n
\n
\n
\n {\n setFieldValue(\"searchText\", e.target.value);\n handleSubmit();\n }}\n />\n \n \n \n
\n
\n
\n )}\n \n \n );\n}\n","import React from \"react\";\nimport { Route as RouterRoute } from \"react-router-dom\";\nimport { useHistory } from 'react-router-dom';\n\nconst fullPathByType = (basePath, idSlug, type) => {\n switch (type) {\n case \"delete\":\n return basePath + \"/:id/delete\";\n case \"new\":\n return basePath + \"/new\";\n case \"edit\":\n return basePath + \"/:id/edit\";\n case \"moveSorting\":\n return basePath + \"/:id/moveSorting\";\n case \"copy\":\n return basePath + \"/:id/copy\";\n case \"enableAll\":\n return basePath + \"/enableAll\";\n case \"addQtyOnHand\":\n return basePath + \"/:id/addQtyOnHand\";\n case \"removeQtyOnHand\":\n return basePath + \"/:id/removeQtyOnHand\";\n case \"multipleDelete\":\n return basePath + \"/multipleDelete\";\n case \"massiveNew\":\n return basePath + \"/massiveNew\";\n default:\n return idSlug ? (basePath + \"/:id/\" + type) : (basePath + \"/\" + type);\n }\n};\n\nexport function Route({ UIContext, basePath, idSlug = false, type, Component, componentProps }) {\n const history = useHistory();\n\n return (\n \n {({ history, match }) => (\n {\n history.push(basePath);\n }}\n {...componentProps}\n />\n )}\n \n );\n}\n","import React, { useEffect, useMemo } from \"react\";\nimport { Modal } from \"react-bootstrap\";\nimport { shallowEqual, useDispatch, useSelector } from \"react-redux\";\nimport { ModalProgressBar } from \"../../../../_metronic/_partials/controls\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { GetValueFromStringPath } from \"../../functions/GetValueFromStringPath\";\n\nexport function DeleteDialog({ id, show, onHide, UIContext, hardDelete = false }) {\n const intl = useIntl();\n\n const UIProps = useMemo(() => {\n return {\n setIds: UIContext.setIds,\n queryParams: UIContext.queryParams,\n sendToastNotification: UIContext.sendToastNotification,\n statePath: UIContext.statePath,\n actions: UIContext.actions,\n };\n }, [UIContext]);\n\n const dispatch = useDispatch();\n const { isLoading } = useSelector(\n (state) => ({\n isLoading: GetValueFromStringPath(state, UIProps.statePath + \".actionsLoading\"),\n }),\n shallowEqual\n );\n\n useEffect(() => {\n if (!id) {\n onHide();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [id]);\n\n const deleteRecord = () => {\n var promise;\n\n if (!hardDelete) {\n const newRecord = {\n id: id,\n deleted: true,\n };\n promise = dispatch(UIProps.actions.updateObject(newRecord));\n }\n else {\n promise = dispatch(UIProps.actions.deleteObject(id));\n }\n\n promise\n .then(() => {\n UIProps.sendToastNotification(\n \"success\",\n intl.formatMessage({ id: \"SERVICE.RECORD_HAS_BEEN_DELETED\" })\n );\n if (UIProps.setIds) {\n UIProps.setIds([]);\n }\n onHide();\n })\n .catch((e) => {\n UIProps.sendToastNotification(\n \"error\",\n intl.formatMessage({ id: \"SERVICE.ERROR_DELETING_RECORD\" })\n );\n onHide();\n });\n };\n\n return (\n \n {isLoading && }\n \n \n \n \n \n \n \n \n
\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n
\n \n );\n}\n","import React, { useMemo, useState } from \"react\";\nimport { Formik } from \"formik\";\nimport { isEqual } from \"lodash\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport { useDispatch } from \"react-redux\";\n\nconst prepareFilter = (queryParams, values, dispatch, fields, actions) => {\n var { searchText } = values;\n const newQueryParams = { ...queryParams };\n var filter = {};\n\n if (searchText) {\n dispatch(actions.clearData());\n }\n\n //searchText = (\"*\" + searchText + \"*\").toLowerCase();\n\n if (searchText) {\n filter.or = fields.map(f => {\n return {\n and: searchText.split(\" \").map(st => {\n return { [f]: { wildcard: (\"*\" + st + \"*\").toLowerCase() } };\n }),\n };\n });\n }\n\n /*\n searchText = (\"*\" + searchText + \"*\").toLowerCase();\n\n if (searchText) {\n filter.or = fields.map(f => {\n return { [f]: { wildcard: searchText } };\n });\n }\n */\n\n newQueryParams.filter = filter;\n return newQueryParams;\n};\n\nexport function OpenSearchFilter({ \n UIContext, \n fields,\n labelId = \"SERVICE.SEARCH_ALL_FIELDS\"\n}) {\n const intl = useIntl();\n\n const [timeoutId, setTimeoutId] = useState(-1);\n\n const UIProps = useMemo(() => {\n return {\n queryParams: UIContext.queryParams,\n setQueryParams: UIContext.setQueryParams,\n actions: UIContext.actions,\n\n setCurrentToken: UIContext.setCurrentToken,\n };\n }, [UIContext]);\n\n const dispatch = useDispatch();\n\n const applyFilter = (values) => {\n if (timeoutId >= 0) {\n clearTimeout(timeoutId);\n setTimeoutId(-1);\n }\n\n setTimeoutId(setTimeout(() => {\n const newQueryParams = prepareFilter(UIProps.queryParams, values, dispatch, fields, UIProps.actions);\n if (!isEqual(newQueryParams, UIProps.queryParams)) {\n if (UIProps.setCurrentToken) {\n UIProps.setCurrentToken(null);\n }\n\n newQueryParams.pageNumber = 1;\n UIProps.setQueryParams(newQueryParams);\n }\n }, 400));\n };\n\n return (\n <>\n {\n applyFilter(values);\n }}\n >\n {({\n values,\n handleSubmit,\n handleBlur,\n handleChange,\n setFieldValue,\n }) => (\n
\n
\n
\n {\n setFieldValue(\"searchText\", e.target.value);\n handleSubmit();\n }}\n />\n \n \n \n
\n
\n
\n )}\n \n \n );\n}\n","/* eslint-disable no-restricted-imports */\nimport React, { useEffect, useMemo } from \"react\";\nimport { Modal } from \"react-bootstrap\";\nimport { shallowEqual, useDispatch, useSelector } from \"react-redux\";\nimport { ModalProgressBar } from \"../../../../_metronic/_partials/controls\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport { GetValueFromStringPath } from \"../../functions/GetValueFromStringPath\";\n\nexport function MultipleDeleteDialog({ show, onHide, UIContext }) {\n const intl = useIntl();\n\n const UIProps = useMemo(() => {\n return {\n ids: UIContext.ids,\n setIds: UIContext.setIds,\n queryParams: UIContext.queryParams,\n sendToastNotification: UIContext.sendToastNotification,\n statePath: UIContext.statePath,\n actions: UIContext.actions,\n };\n }, [UIContext]);\n\n const dispatch = useDispatch();\n const { entities, isLoading } = useSelector(\n (state) => ({\n entities: GetValueFromStringPath(state, UIProps.statePath + \".entities.items\"),\n isLoading: GetValueFromStringPath(state, UIProps.statePath + \".actionsLoading\"),\n }),\n shallowEqual\n );\n\n useEffect(() => {\n if (!UIProps.ids || UIProps.ids.length === 0) {\n onHide();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [UIProps.ids]);\n\n const deleteRecords = () => {\n const newRecords = UIProps.ids.map((selectedId) => ({ id: selectedId, deleted: true }));\n dispatch(UIProps.actions.updateObjects(newRecords))\n .then(() => {\n UIProps.sendToastNotification(\n \"success\",\n intl.formatMessage({ id: \"SERVICE.RECORD_HAS_BEEN_DELETED\" })\n );\n UIProps.setIds([]);\n onHide();\n })\n .catch(() => {\n UIProps.sendToastNotification(\n \"error\",\n intl.formatMessage({ id: \"SERVICE.ERROR_DELETING_RECORD\" })\n );\n });\n };\n\n return (\n \n {isLoading && }\n \n \n \n \n \n \n \n \n \n
\n \n \n \n <> \n \n \n \n
\n
\n \n );\n}\n","import React, { useMemo } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\n\nexport function Grouping({ UIContext }) {\n \n const UIProps = useMemo(() => {\n return {\n ids: UIContext.ids,\n openMultipleDeleteDialog: UIContext.openMultipleDeleteDialog,\n };\n }, [UIContext]);\n\n return (\n <>\n {UIProps.ids && UIProps.ids.length > 0 && (\n
\n
\n
\n
\n
\n {UIProps.openMultipleDeleteDialog && (\n \n {\" \"}\n \n \n )}\n
\n
\n
\n
\n
\n )}\n \n );\n}\n","import { ToastNotify } from \"../../functions/ToastNotify\";\n\nexport const ConstructUIEvents = (history, basePath, UIActions) => {\n var result = {\n sendToastNotification: (type, text) => {\n ToastNotify(type, text);\n },\n };\n\n UIActions.forEach(a => {\n result = {\n ...result,\n [a.funcName]: function(id) {\n if (a.fullPath) {\n if (a.idSlug) {\n history.push(a.fullPath + \"/\" + id);\n }\n else {\n history.push(a.fullPath);\n }\n }\n else {\n if (a.idSlug) {\n history.push(basePath + \"/\" + id + \"/\" + a.type);\n }\n else {\n history.push(basePath + \"/\" + a.type);\n }\n }\n },\n };\n });\n\n return result;\n}","import React from \"react\";\nimport { Route } from \"./Route\";\nimport Can from \"../../../modules/AWS/Can\";\n\nexport function UIRoutes({ UIContext, UIActions, basePath }) {\n return (\n <>\n {UIActions.filter(el => !el.fullPath).map((a, idx) => (\n
\n {a.can && a.can.length == 2 ? (\n \n \n \n ) : (\n \n )}\n
\n ))}\n \n );\n}\n","import React, { useEffect, useMemo } from \"react\";\nimport BootstrapTable from \"react-bootstrap-table-next\";\nimport paginationFactory, { PaginationProvider } from \"react-bootstrap-table2-paginator\";\nimport { shallowEqual, useDispatch, useSelector } from \"react-redux\";\nimport { getSelectRow, getHandlerTableChange, NoRecordsFoundMessage, PleaseWaitMessage } from \"../../../../_metronic/_helpers\";\nimport { useIntl } from \"react-intl\";\nimport { Pagination, GetTenant, GetRetailStore } from \"../../\";\nimport { GetValueFromStringPath } from \"../../functions/GetValueFromStringPath\";\nimport orderBy from \"lodash/orderBy\";\n\nexport function Table({ \n UIContext, \n columns, \n onUseEffect, \n sorting = { field: \"createdAt\", direction: \"desc\" },\n selectableRow = true,\n disablePaginator = false,\n}) {\n const intl = useIntl();\n\n const UIProps = useMemo(() => {\n return {\n ids: UIContext.ids,\n setIds: UIContext.setIds,\n queryParams: UIContext.queryParams,\n setQueryParams: UIContext.setQueryParams,\n currentToken: UIContext.currentToken,\n setCurrentToken: UIContext.setCurrentToken,\n statePath: UIContext.statePath,\n };\n }, [UIContext]);\n\n const { entities, nextToken, prevTokens, listLoading, tenant, store } = useSelector(\n (state) => ({\n entities: GetValueFromStringPath(state, UIProps.statePath + \".entities.items\"),\n nextToken: GetValueFromStringPath(state, UIProps.statePath + \".entities.nextToken\"),\n prevTokens: GetValueFromStringPath(state, UIProps.statePath + \".entities.prevTokens\"),\n listLoading: GetValueFromStringPath(state, UIProps.statePath + \".listLoading\"),\n\n tenant: GetTenant(),\n store: GetRetailStore(),\n }),\n shallowEqual\n );\n\n const nextPage = () => {\n UIProps.setCurrentToken(nextToken);\n };\n const prevPage = () => {\n if (prevTokens.length >= 2) {\n UIProps.setCurrentToken(prevTokens[prevTokens.length - 2]);\n }\n };\n\n const dispatch = useDispatch();\n useEffect(() => {\n if (UIProps.setIds) {\n UIProps.setIds([]);\n }\n \n if (onUseEffect) {\n onUseEffect(dispatch, tenant.id, store.id, UIProps.queryParams, UIProps.currentToken);\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [UIProps.queryParams, tenant.id, dispatch]);\n\n const sortedEntities = orderBy(entities, [sorting.field], [sorting.direction]);\n\n const paginationOptions = {\n custom: true,\n sizePerPageList: [],\n sizePerPage: UIProps.queryParams.pageSize,\n page: UIProps.queryParams.pageNumber,\n };\n return (\n <>\n {disablePaginator ? (\n \n \n \n \n ) : (\n \n {({ paginationProps, paginationTableProps }) => {\n return (\n !!el).length > 0}\n >\n \n \n \n \n \n );\n }}\n \n )}\n \n );\n}\n","export const InitialFilters = {\n\tfilter: {},\n\tsortOrder: \"asc\", // asc||desc\n\tsortField: \"id\",\n\tpageNumber: 1,\n\tpageSize: 10,\n};","import React from \"react\";\nimport { OverlayTrigger, Tooltip } from \"react-bootstrap\";\nimport { FormattedMessage } from \"react-intl\";\nimport SVG from \"react-inlinesvg\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\n\nconst actionsPreset = (a, row) => {\n switch (a.id) {\n case \"edit\":\n return (\n \n \n \n }\n >\n a.action(row.id)}\n >\n \n \n \n );\n case \"delete\":\n return (\n \n \n \n }\n >\n a.action(row.id)}\n >\n \n \n \n );\n case \"moveUp\":\n return (\n \n \n \n }\n >\n a.action(row)}\n >\n \n \n \n )\n case \"moveDown\":\n return (\n \n \n \n }\n >\n a.action(row)}\n >\n \n \n \n )\n case \"move\":\n return (\n \n \n \n }\n >\n a.action(row.id)}\n >\n \n \n \n )\n case \"copy\":\n return (\n \n \n \n }\n >\n a.action(row.id)}\n >\n \n \n \n )\n case \"view\": \n return (\n \n \n \n }\n >\n a.action(row.id)}\n >\n \n \n \n )\n }\n} \n\nexport const ActionsColumnFormatter = (\n cellContent,\n row,\n rowIndex,\n { actions }\n) => (\n <>\n {actions.map((a, idx) => (\n
\n {a && a.id ? (\n <>\n {actionsPreset(a, row)}\n \n ) : (\n \n \n \n }\n >\n a.action(row.id)}\n >\n {a.iconClassNames ? (\n \n ) : (\n \n \n \n )}\n \n \n )}\n
\n ))}\n \n);\n","import { ActionsColumnFormatter } from \"./ActionsColumnFormatter\";\n\nexport const ActionsColumn = (intl, actions) => {\n return {\n dataField: \"actions\",\n text: intl.formatMessage({ id: \"SERVICE.ACTIONS\" }),\n formatter: ActionsColumnFormatter,\n formatExtraData: {\n actions: actions,\n },\n classes: \"text-right pr-0\",\n headerClasses: \"text-right pr-3\",\n style: {\n minWidth: \"110px\",\n },\n }\n}","import React from \"react\";\nimport { Switch } from \"@material-ui/core\";\n\nexport function EnabledColumnFormatter(\n cellContent,\n row,\n rowIndex,\n { fieldName, toggleEnabled }\n) {\n return (\n <>\n toggleEnabled(row.id)} \n />\n \n );\n}\n","import { EnabledColumnFormatter } from \"./EnabledColumnFormatter\";\n\nexport const EnableColumn = (intl, keyField, toggleEnabled) => {\n return {\n dataField: \"enabled\",\n text: intl.formatMessage({ id: \"SERVICE.ENABLED\" }),\n formatter: EnabledColumnFormatter,\n formatExtraData: {\n fieldName: keyField,\n toggleEnabled: toggleEnabled,\n },\n }\n}","import React from \"react\";\n\nexport function ColorColumnFormatter(cellContent, row, rowIndex) {\n const defaultColor = \"#D1D1D1\";\n\n const style = {\n box: {\n background: row.color ? row.color : defaultColor,\n },\n };\n\n return (\n <>\n
\n  \n
\n \n );\n}\n","import React from \"react\";\nimport { ISODateDDMMYYYY } from \"../../functions/date/ISODateDDMMYYYY\";\n\nexport function DDMMYYYYColumnFormatter(\n cellContent,\n row,\n rowIndex\n) {\n return (\n {cellContent ? ISODateDDMMYYYY(new Date(cellContent)) : \"\"}\n );\n}\n","import React from \"react\";\nimport { ToItalianTime } from \"../../\";\n\nexport const CreatedAtColumnFormatter = (\n\tcellContent,\n\trow,\n\trowIndex\n) => (\n\t\n\t\t{row && row.createdAt ? ToItalianTime(new Date(row.createdAt)) : \"-\"}\n\t\n);","import React, { useEffect } from \"react\";\nimport { default as ReactBarcode } from \"react-barcode\";\n\nexport function Barcode({ value, height = \"100%\" }) {\n useEffect(() => {\n document.querySelectorAll('.barcode-wrapper').forEach(function(element) {\n if (element.childNodes.length > 0) {\n element.childNodes[0].setAttribute('width', '100%');\n element.childNodes[0].removeAttribute('height', \"100%\");\n }\n });\n }, [value]);\n\n return (\n
\n \n
\n );\n}\n","import React, { useState, useEffect } from \"react\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport { Modal } from \"react-bootstrap\";\nimport { API } from \"aws-amplify\";\nimport { shallowEqual, useSelector, useDispatch } from \"react-redux\";\nimport { GetTenant } from \"../functions\";\nimport * as authActions from \"../../modules/AuthCognito/_redux/authActions\";\n\nasync function onboard(tenant) {\n let apiName = \"PaymentApi\";\n let path = tenant.stripeAccountId ? \"/pay/refresh-onboard\" : \"/pay/onboard\";\n let myInit = {\n body: {\n tenantId: tenant.id,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n },\n };\n\n return API.post(apiName, path, myInit);\n}\n\nexport function StripeConnect() {\n const intl = useIntl();\n\n const { tenant, user } = useSelector(\n (state) => ({\n tenant: GetTenant(),\n user: state.auth.user,\n }),\n shallowEqual\n );\n\n const dispatch = useDispatch();\n useEffect(() => {\n dispatch(authActions.refreshCurrentUser(user.id));\n }, []);\n\n const [isModalOpen, setIsModalOpen] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [showError, setShowError] = useState(false);\n\n const onHide = () => {\n setShowError(false);\n setIsLoading(false);\n setIsModalOpen(false);\n };\n\n const choseOnboardAndRedirect = () => {\n setShowError(false);\n setIsLoading(true);\n\n onboard(tenant)\n .then((response) => {\n window.location.href = response.redirect;\n })\n .catch((e) => {\n setShowError(true);\n })\n .finally(() => {\n setIsLoading(false);\n });\n }\n\n return (\n <>\n
\n

\n \n\n {\" \"}\n Accetta pagamenti online\n

\n\n
\n La creazione di un account Stripe ti permetterà di\n ricevere pagamenti online da parte dei tuoi clienti.\n
\n\n \n {tenant.stripeRegistrationCompleted && (\n
\n \n {\" \"}\n Il tuo account Stripe è collegato!\n
\n )}\n
\n\n \n \n \n \n {\" \"}\n Accetta pagamenti con Stripe\n \n \n \n
\n \n Prima di procedere alla registrazione del tuo account Stripe collegato\n a DTR-Service assicurati di avere a disposizione i dati richiesti:\n \n

\n
    \n
  • Email e numero di cellulare.
  • \n
  • Informazioni generali sulla tua attività (partita iva, indirizzo, ecc).
  • \n
  • Codici del conto bancario.
  • \n
\n

\n
\n \n
\n {isLoading && (\n
\n \n Verrai reindirizzato tra qualche secondo...\n
\n )}\n {showError && (\n
\n \n {\" \"}\n Errore durante il reindirizzamento verso Stripe\n
\n )}\n
\n
\n \n
\n \n \n \n
\n
\n
\n \n );\n}\n","import React, { Component } from \"react\";\nimport { Map, GoogleApiWrapper, Marker } from \"google-maps-react\";\n\nexport class AddressMap extends Component {\n initialCenter = () => {\n if (this.props.latitude && this.props.longitude) {\n return {\n lat: this.props.latitude,\n lng: this.props.longitude,\n };\n }\n return {};\n };\n\n render() {\n return (\n \n \n \n );\n }\n}\n\nexport default GoogleApiWrapper({\n apiKey: process.env.REACT_APP_GOOGLE_API_KEY,\n})(AddressMap);\n","import React, { useState, useEffect } from \"react\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport useGoogle from \"react-google-autocomplete/lib/usePlacesAutocompleteService\";\nimport AddressMap from \"./AddressMap\";\nimport Autosuggest from 'react-autosuggest';\n\nconst searchComponent = (addressComponents, type) => {\n for (const comp of addressComponents) {\n if (comp.types.includes(type)) {\n return comp.short_name;\n }\n }\n return \"\";\n}\n\nconst composeAddressObject = (addressComponents, placeId) => {\n const municipality = searchComponent(addressComponents, \"administrative_area_level_3\");\n const zipCode = searchComponent(addressComponents, \"postal_code\");\n const country = searchComponent(addressComponents, \"country\");\n const county = searchComponent(addressComponents, \"administrative_area_level_2\");\n const route = searchComponent(addressComponents, \"route\");\n const streetNumber = searchComponent(addressComponents, \"street_number\");\n\n return {\n placeId,\n\n address: route + \" \" + streetNumber,\n municipality,\n zipCode,\n country,\n county,\n };\n}\n\n\nexport function AddressAutocompleteInput({\n label,\n required = false,\n onChange,\n placeId,\n showMap = false,\n}) {\n const intl = useIntl();\n\n const {\n placesService,\n placePredictions,\n getPlacePredictions,\n isPlacePredictionsLoading,\n } = useGoogle({\n apiKey: process.env.REACT_APP_GOOGLE_API_KEY,\n language:\"it\",\n });\n\n const [place, setPlace] = useState(undefined);\n const [searchString, setSearchString] = useState(\"\");\n const [isLoadingDefaultAddress, setIsLoadingDefaultAddress] = useState(false);\n\n useEffect(() => {\n //executed on form open, when address has to be pre-popolated automatically\n\n if (placeId && !place) {\n if (!placesService) {\n setIsLoadingDefaultAddress(true);\n }\n\n placesService?.getDetails({ placeId: placeId }, (placeDetails) => {\n setPlace({\n place_id: placeId,\n details: placeDetails\n });\n\n setSearchString(placeDetails.formatted_address);\n\n setIsLoadingDefaultAddress(false);\n\n const addr = composeAddressObject(placeDetails.address_components, placeId);\n onChange(addr);\n });\n }\n }, [placeId, placesService]);\n\n useEffect(() => {\n if (place && !place.details) {\n placesService?.getDetails({ placeId: place.place_id }, (placeDetails) => {\n setPlace({\n ...place,\n details: placeDetails\n });\n\n const addr = composeAddressObject(placeDetails.address_components, place.place_id);\n onChange(addr);\n });\n }\n }, [place]);\n\n const onInputChange = (event, { newValue }) => {\n setSearchString(newValue);\n }\n\n const onSuggestionSelected = (event, { suggestion }) => {\n setPlace(suggestion);\n }\n\n const onSuggestionsFetchRequested = ({ value }) => {\n getPlacePredictions({ input: value });\n }\n\n const onSuggestionsClearRequested = () => void 0;\n\n const renderSuggestion = (suggestion) => {\n return (\n
\n {suggestion.description}\n
\n );\n }\n\n return (\n
\n {label && ()}\n {required && (\n <>\n {\" \"}\n *\n \n )}\n {isLoadingDefaultAddress && placeId && (\n <>\n {\" \"}\n \n \n )}\n\n
\n s.description}\n renderSuggestion={renderSuggestion}\n onSuggestionSelected={onSuggestionSelected}\n inputProps={{\n placeholder: intl.formatMessage({ id: \"ATORDER.DELIVERY_ADDRESS\" }),\n value: searchString,\n onChange: onInputChange\n }}\n />\n
\n\n
\n {showMap && place?.details ? (\n \n ) : (\n
\n
\n \n
\n \n {isLoadingDefaultAddress ? (\n \n ) : (\n \n )}\n \n
\n
\n )}\n
\n
\n );\n}\n","import React, { useState } from \"react\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport Picker from 'react-scrollable-picker';\n\nconst fullRotate = (values) => {\n const repeatTimes = 10;\n\n var results = [];\n [...Array(repeatTimes)].forEach((_, i) => {\n for (const el of values) {\n results.push({\n value: i + \"_\" + el.value,\n label: el.label,\n })\n }\n });\n\n return results;\n};\n\nconst allHours = Array(24).fill(null).map((_, i) => ({ value: i, label: i }));\nconst allMinutes = Array(60).fill(null).map((_, i) => ({ value: i, label: i })).filter(el => el.value % 5 === 0);\n\nexport function TimeScrollPicker({\n defaultValue,\n onChange,\n enabledHours = [],\n enabledMinutes = []\n}) {\n const intl = useIntl();\n\n const [valueGroups, setValueGroups] = useState({ \n hour: \"5_\" + (defaultValue?.hour || 0), \n minute: \"5_\" + (defaultValue?.minute || 0) \n });\n\n const optionGroups = { \n hour: fullRotate(enabledHours?.length > 0 ? enabledHours : allHours), \n minute: fullRotate(enabledHours?.length > 0 ? enabledMinutes : allMinutes), \n };\n\n const onTimeChange = (name, value) => {\n setValueGroups(old => ({\n ...old,\n [name]: value,\n }));\n\n const realValue = value.split(\"_\")[1];\n if (name === \"hour\") {\n const realMinute = valueGroups.minute.split(\"_\")[1];\n onChange(realValue, realMinute);\n }\n else {\n const realHour = valueGroups.hour.split(\"_\")[1];\n onChange(realHour, realValue); \n }\n }\n\n return (\n
\n
\n \n {\" \"}\n *\n
\n\n \n
\n
\n );\n}\n","import React, { useContext, useState, useEffect } from \"react\";\nimport { VisibilityContext } from \"react-horizontal-scrolling-menu\";\n\nfunction Arrow({\n children,\n disabled,\n onClick\n}) {\n return (\n <>\n {!disabled ? (\n \n {children}\n \n ) : (\n <>\n )}\n \n );\n}\n\nexport function LeftScrollerArrow() {\n const {\n isFirstItemVisible,\n scrollPrev,\n visibleElements,\n initComplete\n } = useContext(VisibilityContext);\n\n const [disabled, setDisabled] = useState(\n !initComplete || (initComplete && isFirstItemVisible)\n );\n useEffect(() => {\n // NOTE: detect if whole component visible\n if (visibleElements.length) {\n setDisabled(isFirstItemVisible);\n }\n }, [isFirstItemVisible, visibleElements]);\n\n return (\n scrollPrev()}>\n \n \n );\n}\n\nexport function RightScrollerArrow() {\n const { isLastItemVisible, scrollNext, visibleElements } = useContext(\n VisibilityContext\n );\n\n const [disabled, setDisabled] = useState(\n !visibleElements.length && isLastItemVisible\n );\n useEffect(() => {\n if (visibleElements.length) {\n setDisabled(isLastItemVisible);\n }\n }, [isLastItemVisible, visibleElements]);\n\n return (\n scrollNext()}>\n \n \n );\n}\n","import React, { useState, useEffect } from \"react\";\n\nexport function HourMinuteTimePicker({ \n defaultValue = \"00:00\", \n label,\n onChange,\n maxHour = 23,\n minHour = 0,\n required = false,\n minuteSteps = 5,\n}) {\n const [hour, setHour] = useState(parseInt(defaultValue.split(\":\")[0]));\n const [minute, setMinute] = useState(parseInt(defaultValue.split(\":\")[1]));\n\n useEffect(() => {\n const paddedHour = (hour + \"\").padStart(2, \"0\");\n const paddedMinute = (minute + \"\").padStart(2, \"0\");\n\n onChange(paddedHour + \":\" + paddedMinute);\n }, [hour, minute]);\n\n const onHourUp = () => {\n setHour(old => old >= maxHour ? minHour : (old + 1));\n }\n\n const onHourDown = () => {\n setHour(old => old >= (minHour + 1) ? (old - 1) : minHour);\n }\n\n const onMinuteUp = () => {\n setMinute(old => old >= (60 - minuteSteps) ? 0 : (old + minuteSteps));\n }\n\n const onMinuteDown = () => {\n setMinute(old => old >= minuteSteps ? (old - minuteSteps) : (60 - minuteSteps));\n }\n\n return (\n <>\n \n {required && (\n <>\n {\" \"}\n *\n \n )}\n
\n
\n
\n \n \n \n\n \n\n \n \n \n
\n\n
\n
\n {\" : \"} \n
\n
\n\n
\n \n \n \n\n \n\n \n \n \n
\n
\n \n );\n}\n","import React, { useEffect } from \"react\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport { shallowEqual, useSelector, useDispatch } from \"react-redux\";\nimport { GetTenant, GetRetailStore } from \"../functions\";\nimport { actions } from \"../../modules/MoitoIOT/_redux/receipts/actions\";\nimport { DDMMYYYY_HHMM } from \"../functions\";\n\nexport function CustomerPurchaseHistory({ \n customerId,\n count = 10,\n}) {\n const intl = useIntl();\n\n const { tenant, store, receipts } = useSelector(\n (state) => ({\n tenant: GetTenant(),\n store: GetRetailStore(),\n\n receipts: state.moitoiot.receipts.entities.items,\n }),\n shallowEqual\n );\n\n const dispatch = useDispatch();\n useEffect(() => {\n const queryParams = {\n pageSize: count,\n filter: {\n deleted: { ne: true },\n },\n };\n\n dispatch(actions.fetchObjectsByCustomer(customerId, queryParams, null, null, \"overwrite\", \"receiptsByCustomer\"));\n }, [customerId]);\n\n return (\n
\n
\n

\n \n {\" \"}\n \n

\n
\n
\n\n {receipts.length <= 0 ? (\n
\n \n
\n ) : (\n
\n {receipts.map(receipt => (\n
\n
\n {DDMMYYYY_HHMM(new Date(receipt.moitoIotDatetime))}\n \n
\n {receipt.lines.items.map(line => (\n
\n {line.comment ? (\n <>\n {line?.description && (\n <>\n {line.quantity}\n {\" x \" + line.description}\n {\" \"}\n \n )}\n\n \n {\" \"}\n {line.comment || \"\"}\n \n ) : (\n <>\n {line.quantity}\n {\" x \" + line.description}\n \n )}\n
\n ))}\n
\n
\n\n
\n
\n
{Number.parseFloat(receipt.amount || 0).toFixed(2) + \" €\"}
\n
\n
\n
\n ))}\n
\n )}\n
\n );\n}\n","import React, { useState, useEffect } from 'react';\nimport { makeStyles } from '@material-ui/core/styles';\nimport LinearProgress from '@material-ui/core/LinearProgress';\n\nconst useStyles = makeStyles({\n root: {\n flexGrow: 1,\n },\n});\n\nconst UPDATE_REFRESH_MS = 250;\n\nexport function TimeProgressBar({ seconds }) {\n const classes = useStyles();\n const [completed, setCompleted] = useState(0);\n\n useEffect(() => {\n const interval = setInterval(() => {\n setCompleted(oldCompleted => {\n if (oldCompleted >= 100) { //100%\n return 0;\n }\n return oldCompleted + (UPDATE_REFRESH_MS * 100 / (seconds * 1000));\n });\n }, UPDATE_REFRESH_MS);\n\n return () => clearInterval(interval);\n }, []);\n\n return (\n
\n \n
\n );\n}\n","import React, { useState, useEffect, useCallback, useRef } from \"react\";\nimport { Document, Page } from \"react-pdf/dist/esm/entry.webpack\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport \"react-pdf/dist/esm/Page/AnnotationLayer.css\";\nimport * as restApi from \"../../modules/Admin/rest/api\";\n\nexport function PdfDocument({ s3Key, tenantId }) {\n const intl = useIntl();\n\n const [numPages, setNumPages] = useState(null);\n const [pageNumber, setPageNumber] = useState(1);\n const [pdfPath, setPdfPath] = useState(1);\n\n useEffect(() => {\n setNumPages(null);\n setPageNumber(1);\n\n restApi.generatePreSignedURL(tenantId, s3Key, \"getObject\")\n .then((result) => {\n setPdfPath(result.data);\n });\n }, [s3Key]);\n\n const goToPrevPage = () => {\n setPageNumber((old) => old - 1);\n };\n const goToNextPage = () => {\n setPageNumber((old) => old + 1);\n };\n\n const onDocumentLoadSuccess = ({ numPages }) => {\n setNumPages(numPages);\n };\n\n const onItemClick = (item) => {\n if (item && item.pageNumber) {\n setPageNumber(item.pageNumber);\n }\n };\n\n const renderBackNext = () => {\n return (\n
\n
\n
\n
\n \n {\"<\"}\n \n\n = numPages}\n onClick={goToNextPage}\n className=\"btn btn-light btn-hover-primary text-dark mx-1\"\n >\n {\">\"}\n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n );\n };\n\n const ref = useRef(null);\n const [width, setWidth] = useState(0);\n\n const onResize = useCallback(() => {\n if (ref.current) setWidth(ref.current.clientWidth);\n }, []);\n\n useEffect(() => {\n window.addEventListener(\"resize\", onResize);\n onResize();\n return () => {\n window.removeEventListener(\"resize\", onResize);\n };\n }, []);\n\n return (\n
\n {pdfPath && (\n
\n {renderBackNext()}\n\n \n \n \n\n

\n \n {pageNumber}{\" \"}\n {numPages}\n \n

\n\n {renderBackNext()}\n
\n )}\n
\n );\n}\n","import React from \"react\";\nimport { EnvironmentType } from \"../functions/EnvironmentType\";\nimport { useCheckMobileScreen } from \"..\";\n\nexport function EnvName({ showProd = false }) {\n const env = EnvironmentType();\n const isMobile = useCheckMobileScreen();\n\n return (\n
\n {((showProd ? true : (env !== \"prod\")) && !isMobile) && (\n

\n {env}\n

\n )}\n
\n );\n}\n","export function EnvironmentType() {\n const host = window.location.host;\n\n const patterns = {\n dev: [\"localhost\", \"dev\"],\n test: [\"test\"],\n build: [\"build\", \"staging\", \"preprod\"],\n prod: [\"prod\", \"master\"],\n };\n\n var env = \"prod\";\n if (host) {\n const keys = Object.keys(patterns);\n for (const key of keys) {\n var found = false;\n const values = patterns[key];\n for (const value of values) {\n if (host.includes(value)) {\n found = true;\n env = key;\n break;\n }\n }\n if (found) {\n break;\n }\n }\n }\n return env;\n}\n","import React from \"react\";\nimport { ToItalianTime } from \"../\";\n\nexport const ToItalianTimeColumnFormatter = (\n\tcellContent,\n\trow,\n\trowIndex,\n\t{ fieldName }\n) => (\n\t\n\t\t{row && row?.[fieldName] ? ToItalianTime(new Date(row?.[fieldName])) : \"-\"}\n\t\n);\n","import React, { useState, useEffect } from \"react\";\nimport { AutoRotatingCarousel, Slide } from \"material-auto-rotating-carousel\";\n\nexport function MoitoIotImageCarousel({ row }) {\n const [open, setOpen] = useState(false);\n const [images, setImages] = useState([]);\n\n const style = {\n absolute: {\n position: \"absolute\",\n },\n img_size: {\n width: \"100%\",\n height: \"100%\",\n },\n img_cell: {\n width: 70,\n height: 70,\n cursor: \"pointer\",\n },\n };\n\n useEffect(() => {\n let unmounted = false;\n\n if (!unmounted) {\n setImages(row?.image ? [row.image] : []);\n }\n\n return () => {\n unmounted = true;\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n
\n {images.length > 0 && (\n
\n setOpen(true)}\n className=\"rounded\"\n alt=\"\"\n />\n
\n )}\n setOpen(false)}\n onStart={() => setOpen(false)}\n style={style.absolute}\n >\n {images.map((image, idx) => (\n }\n title={row.name}\n subtitle={row.description}\n />\n ))}\n \n
\n );\n}\n","import { useEffect, useRef } from \"react\";\n\nexport function useFetchAll(fetchPromise, nextToken) {\n const didMount = useRef(false);\n\n useEffect(() => {\n if (!didMount.current && !nextToken) {\n fetchPromise(\"overwrite\").then(() => {\n didMount.current = true;\n });\n } else {\n if (!didMount.current || nextToken) {\n fetchPromise(\"append\").then(() => {\n didMount.current = true;\n });\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [nextToken]);\n}\n","import { useEffect, useRef } from \"react\";\n\nexport function useInterval(callback, delay) {\n const savedCallback = useRef();\n\n // Remember the latest callback.\n useEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n\n // Set up the interval.\n useEffect(() => {\n function tick() {\n savedCallback.current();\n }\n if (delay !== null) {\n let id = setInterval(tick, delay);\n return () => clearInterval(id);\n }\n }, [delay]);\n}\n","const getValueFromStringPath = (obj, path) => {\n return path.split(\".\").reduce(function (o, k) {\n return o && o[k];\n }, obj);\n};\n\nexport function GetDefaultValueById(\n dispatch,\n id,\n actions,\n valueField = \"id\",\n labelField = \"name\"\n) {\n if (!id) {\n return new Promise((resolve, reject) => {\n dispatch(actions.fetchObject(undefined));\n return resolve({});\n });\n }\n\n return dispatch(actions.fetchObject(id, false)).then((result) => {\n return {\n value: getValueFromStringPath(result, valueField),\n label: getValueFromStringPath(result, labelField),\n };\n });\n}\n","import React, { useState, useEffect } from \"react\";\nimport { AsyncPaginate } from \"react-select-async-paginate\";\nimport { API, graphqlOperation } from \"aws-amplify\";\nimport * as queries from \"../../../graphql/queries\";\nimport { isEqual } from \"lodash\";\n\nconst sleep = (ms) =>\n new Promise((resolve) => {\n setTimeout(() => {\n resolve();\n }, ms);\n });\n\nconst getValueFromStringPath = (obj, path) => {\n return path.split(\".\").reduce(function (o, k) {\n return o && o[k];\n }, obj);\n};\n\nexport function CustomizableLookupField({\n label,\n onChange,\n data = [],\n valueField = \"id\",\n labelField = \"name\",\n defaultValue = undefined,\n queryFilter = null,\n query,\n topOption,\n disabled = false,\n additionalParams = {},\n onInputChange,\n forceChangeValue = false,\n required = false,\n filterFunc = null,\n}) {\n const [value, setValue] = useState(defaultValue);\n const [inputValue, setInputValue] = useState(\"\");\n\n useEffect(() => {\n if (\n isEqual(value, defaultValue) ||\n (defaultValue && (!value || Object.keys(value).length <= 0))\n ) {\n setValue(defaultValue);\n }\n if (forceChangeValue) {\n setValue(defaultValue);\n }\n }, [defaultValue, value, forceChangeValue]);\n\n const loadOptions = async (search, prevOptions, { nextToken }) => {\n await sleep(500);\n\n const params = {\n limit: 20,\n nextToken: nextToken,\n ...additionalParams,\n };\n if (!labelField.includes(\".\")) {\n if (query && query.toLowerCase().includes(\"search\")) {\n if (search) {\n const wildcards = search.toLowerCase().split(\" \").map(el => \"*\" + el + \"*\");\n\n params.filter = {\n and: wildcards.map(wc => {\n return { [labelField]: { wildcard: wc } };\n }),\n };\n }\n }\n else {\n params.filter = {\n [labelField]: { contains: search },\n };\n }\n }\n if (queryFilter) {\n params.filter = { ...params.filter, ...queryFilter };\n }\n\n var additionalOptions = [];\n if (topOption && !prevOptions.length) {\n additionalOptions[0] = topOption;\n }\n if (data.length > 0) {\n const hasMore =\n prevOptions.length === 0\n ? false\n : data.length > prevOptions.length + 20;\n var filteredData = data.filter(\n (el) =>\n el[labelField].toLowerCase().includes(search) ||\n el[labelField].toUpperCase().includes(search)\n );\n const slicedData = filteredData.slice(\n prevOptions.length,\n prevOptions.length + 20\n );\n\n return {\n options: slicedData.filter(el => filterFunc ? filterFunc(el) : true).map((el) => {\n return {\n value: getValueFromStringPath(el, valueField),\n label: getValueFromStringPath(el, labelField),\n };\n }),\n hasMore: hasMore,\n };\n } else {\n return API.graphql(graphqlOperation(queries[query], params))\n .then((result) => {\n return {\n options: additionalOptions.concat(\n result.data[query].items.filter(el => filterFunc ? filterFunc(el) : true).map((el) => {\n return {\n value: getValueFromStringPath(el, valueField),\n label: getValueFromStringPath(el, labelField),\n };\n })\n ),\n hasMore: !!result.data[query].nextToken,\n additional: {\n nextToken: result.data[query].nextToken,\n },\n };\n })\n .catch((e) => {\n return {\n options: additionalOptions.concat([{}]),\n hasMore: true,\n additional: {\n nextToken: null,\n },\n };\n });\n }\n };\n\n const onSelectChange = (newValue) => {\n onChange(newValue ? newValue : null);\n setValue(newValue);\n\n setInputValue(\"\");\n };\n\n const customOnInputChange = (newInputValue, { action }) => {\n if (action === \"input-change\") {\n setInputValue(newInputValue);\n\n if (onInputChange) {\n onInputChange(newInputValue);\n }\n }\n };\n\n return (\n <>\n {label && }\n {required && (\n <>\n {\" \"}\n *\n \n )}\n
\n \n
\n \n );\n}\n","/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\nimport React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\n\nexport function PaginationLinks({\n paginationProps,\n nextPage,\n prevPage,\n enableNextPage,\n enablePrevPage,\n}) {\n const handlePrevPage = ({ page, onPageChange }) => {\n prevPage();\n onPageChange(page - 1);\n };\n\n const handleNextPage = ({ page, onPageChange }) => {\n nextPage();\n onPageChange(page + 1);\n };\n\n return (\n <>\n
\n
\n handlePrevPage(paginationProps)}\n className=\"btn btn-icon btn-sm btn-light btn-hover-primary mr-2 my-1\"\n >\n \n \n\n handleNextPage(paginationProps)}\n className=\"btn btn-icon btn-sm btn-light btn-hover-primary mr-2 my-1\"\n >\n \n \n
\n
\n
\n
\n \n \n {\" \"}\n {paginationProps?.page || 1}\n \n
\n \n );\n}\n","import React from \"react\";\nimport { PaginationLinks } from \"./PaginationLinks\";\n\nexport function Pagination(props) {\n const {\n children,\n paginationProps,\n nextPage,\n prevPage,\n enableNextPage,\n enablePrevPage,\n } = props;\n return (\n <>\n {children}\n
\n \n
\n \n );\n}\n","export default [\n {\n veg: {\n name: \"SERVICE.ALLERGENS.1\",\n description: \"SERVICE.ALLERGENS.1_DESC\",\n icons: [\n {\n code: \"veg\",\n path: \"veg.png\",\n },\n ],\n },\n },\n {\n bio: {\n name: \"SERVICE.ALLERGENS.2\",\n description: \"SERVICE.ALLERGENS.2_DESC\",\n icons: [\n {\n code: \"bio\",\n path: \"bio.png\",\n },\n ],\n },\n },\n {\n dyn: {\n name: \"SERVICE.ALLERGENS.3\",\n description: \"SERVICE.ALLERGENS.3_DESC\",\n icons: [\n {\n code: \"dyn\",\n path: \"dyn.png\",\n },\n ],\n },\n },\n {\n ice: {\n name: \"SERVICE.ALLERGENS.4\",\n description: \"SERVICE.ALLERGENS.4_DESC\",\n icons: [\n {\n code: \"ice\",\n path: \"ice.png\",\n },\n ],\n },\n },\n {\n low: {\n name: \"SERVICE.ALLERGENS.5\",\n description: \"SERVICE.ALLERGENS.5_DESC\",\n icons: [\n {\n code: \"low\",\n path: \"low.png\",\n },\n ],\n },\n },\n {\n 15: {\n name: \"SERVICE.ALLERGENS.6\",\n description: \"SERVICE.ALLERGENS.6_DESC\",\n icons: [\n {\n code: \"15a\",\n path: \"15a.png\",\n },\n {\n code: \"15b\",\n path: \"15b.png\",\n },\n {\n code: \"15c\",\n path: \"15c.png\",\n },\n {\n code: \"15d\",\n path: \"15d.png\",\n },\n ],\n },\n },\n {\n alc: {\n name: \"SERVICE.ALLERGENS.7\",\n description: \"SERVICE.ALLERGENS.7_DESC\",\n icons: [\n {\n code: \"alc\",\n path: \"alc.png\",\n },\n ],\n },\n },\n {\n \"01\": {\n name: \"SERVICE.ALLERGENS.8\",\n description: \"SERVICE.ALLERGENS.8_DESC\",\n icons: [\n {\n code: \"01a\",\n path: \"01a.png\",\n },\n {\n code: \"01b\",\n path: \"01b.png\",\n },\n {\n code: \"01c\",\n path: \"01c.png\",\n },\n {\n code: \"01d\",\n path: \"01d.png\",\n },\n ],\n },\n },\n {\n \"02\": {\n name: \"SERVICE.ALLERGENS.9\",\n description: \"SERVICE.ALLERGENS.9_DESC\",\n icons: [\n {\n code: \"02a\",\n path: \"02a.png\",\n },\n {\n code: \"02b\",\n path: \"02b.png\",\n },\n {\n code: \"02c\",\n path: \"02c.png\",\n },\n {\n code: \"02d\",\n path: \"02d.png\",\n },\n ],\n },\n },\n {\n \"03\": {\n name: \"SERVICE.ALLERGENS.10\",\n description: \"SERVICE.ALLERGENS.10_DESC\",\n icons: [\n {\n code: \"03a\",\n path: \"03a.png\",\n },\n {\n code: \"03b\",\n path: \"03b.png\",\n },\n {\n code: \"03c\",\n path: \"03c.png\",\n },\n {\n code: \"03d\",\n path: \"03d.png\",\n },\n ],\n },\n },\n {\n \"04\": {\n name: \"SERVICE.ALLERGENS.11\",\n description: \"SERVICE.ALLERGENS.11_DESC\",\n icons: [\n {\n code: \"04a\",\n path: \"04a.png\",\n },\n {\n code: \"04b\",\n path: \"04b.png\",\n },\n {\n code: \"04c\",\n path: \"04c.png\",\n },\n {\n code: \"04d\",\n path: \"04d.png\",\n },\n ],\n },\n },\n {\n \"05\": {\n name: \"SERVICE.ALLERGENS.12\",\n description: \"SERVICE.ALLERGENS.12_DESC\",\n icons: [\n {\n code: \"05a\",\n path: \"05a.png\",\n },\n {\n code: \"05b\",\n path: \"05b.png\",\n },\n {\n code: \"05c\",\n path: \"05c.png\",\n },\n {\n code: \"05d\",\n path: \"05d.png\",\n },\n ],\n },\n },\n {\n \"06\": {\n name: \"SERVICE.ALLERGENS.13\",\n description: \"SERVICE.ALLERGENS.13_DESC\",\n icons: [\n {\n code: \"06a\",\n path: \"06a.png\",\n },\n {\n code: \"06b\",\n path: \"06b.png\",\n },\n {\n code: \"06c\",\n path: \"06c.png\",\n },\n {\n code: \"06d\",\n path: \"06d.png\",\n },\n ],\n },\n },\n {\n \"07\": {\n name: \"SERVICE.ALLERGENS.14\",\n description: \"SERVICE.ALLERGENS.14_DESC\",\n icons: [\n {\n code: \"07a\",\n path: \"07a.png\",\n },\n {\n code: \"07b\",\n path: \"07b.png\",\n },\n {\n code: \"07c\",\n path: \"07c.png\",\n },\n {\n code: \"07d\",\n path: \"07d.png\",\n },\n ],\n },\n },\n {\n \"08\": {\n name: \"SERVICE.ALLERGENS.15\",\n description: \"SERVICE.ALLERGENS.15_DESC\",\n icons: [\n {\n code: \"08a\",\n path: \"08a.png\",\n },\n {\n code: \"08b\",\n path: \"08b.png\",\n },\n {\n code: \"08c\",\n path: \"08c.png\",\n },\n {\n code: \"08d\",\n path: \"08d.png\",\n },\n ],\n },\n },\n {\n \"09\": {\n name: \"SERVICE.ALLERGENS.16\",\n description: \"SERVICE.ALLERGENS.16_DESC\",\n icons: [\n {\n code: \"09a\",\n path: \"09a.png\",\n },\n {\n code: \"09b\",\n path: \"09b.png\",\n },\n {\n code: \"09c\",\n path: \"09c.png\",\n },\n {\n code: \"09d\",\n path: \"09d.png\",\n },\n ],\n },\n },\n {\n 10: {\n name: \"SERVICE.ALLERGENS.17\",\n description: \"SERVICE.ALLERGENS.17_DESC\",\n icons: [\n {\n code: \"10a\",\n path: \"10a.png\",\n },\n {\n code: \"10b\",\n path: \"10b.png\",\n },\n {\n code: \"10c\",\n path: \"10c.png\",\n },\n {\n code: \"10d\",\n path: \"10d.png\",\n },\n ],\n },\n },\n {\n 11: {\n name: \"SERVICE.ALLERGENS.18\",\n description: \"SERVICE.ALLERGENS.18_DESC\",\n icons: [\n {\n code: \"11a\",\n path: \"11a.png\",\n },\n {\n code: \"11b\",\n path: \"11b.png\",\n },\n {\n code: \"11c\",\n path: \"11c.png\",\n },\n {\n code: \"11d\",\n path: \"11d.png\",\n },\n ],\n },\n },\n {\n 12: {\n name: \"SERVICE.ALLERGENS.19\",\n description: \"SERVICE.ALLERGENS.19_DESC\",\n icons: [\n {\n code: \"12a\",\n path: \"12a.png\",\n },\n {\n code: \"12b\",\n path: \"12b.png\",\n },\n {\n code: \"12c\",\n path: \"12c.png\",\n },\n {\n code: \"12d\",\n path: \"12d.png\",\n },\n ],\n },\n },\n {\n 13: {\n name: \"SERVICE.ALLERGENS.20\",\n description: \"SERVICE.ALLERGENS.20_DESC\",\n icons: [\n {\n code: \"13a\",\n path: \"13a.png\",\n },\n {\n code: \"13b\",\n path: \"13b.png\",\n },\n {\n code: \"13c\",\n path: \"13c.png\",\n },\n {\n code: \"13d\",\n path: \"13d.png\",\n },\n ],\n },\n },\n {\n 14: {\n name: \"SERVICE.ALLERGENS.21\",\n description: \"SERVICE.ALLERGENS.21_DESC\",\n icons: [\n {\n code: \"14a\",\n path: \"14a.png\",\n },\n {\n code: \"14b\",\n path: \"14b.png\",\n },\n {\n code: \"14c\",\n path: \"14c.png\",\n },\n {\n code: \"14d\",\n path: \"14d.png\",\n },\n ],\n },\n },\n];\n","import React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\n\nconst inputLabel = ({ label, touched, error, customFeedbackLabel }) => {\n if (touched && error) {\n return
{error}
;\n }\n\n if (touched && !error && label) {\n return
{label}
;\n }\n\n return (\n
\n {customFeedbackLabel && <>{customFeedbackLabel}}\n {!customFeedbackLabel && (\n <>\n {/* {label}*/}\n \n )}\n
\n );\n};\n\nconst selectLabel = ({ label, touched, error, customFeedbackLabel }) => {\n if (touched && error) {\n return
{error}
;\n }\n\n return (\n
\n {customFeedbackLabel && <>{customFeedbackLabel}}\n {!customFeedbackLabel && label && (\n <>\n {/* {label}*/}\n \n )}\n
\n );\n};\n\nexport function FieldFeedbackLabel({\n label,\n touched,\n error,\n type,\n customFeedbackLabel\n}) {\n switch (type) {\n case \"text\":\n return inputLabel({ label, touched, error, customFeedbackLabel });\n case \"email\":\n return inputLabel({ label, touched, error, customFeedbackLabel });\n case \"password\":\n return inputLabel({ label, touched, error, customFeedbackLabel });\n default:\n return selectLabel({ label, touched, error, customFeedbackLabel });\n }\n}\n","// Actions related to authentication\nexport const AUTH_USER = \"auth_user\";\nexport const AUTH_MFA = \"auth_mfa\";\nexport const AUTH_NEW_PASSWORD_REQUIRED = \"auth_new_password_required\";\nexport const UNAUTH_USER = \"unauth_user\";\nexport const REGISTER_USER = \"register_user\";\nexport const REGISTER_USER_CONFIRM = \"register_user_confirm\";\nexport const REGISTER_MFA = \"register_mfa\";\nexport const REGISTER_USER_ERROR = \"register_user_error\";\nexport const FORGOT_PASSWORD = \"forgot_password\";\nexport const FORGOT_PASSWORD_CONFIRM = \"forgot_password_confirm\";\nexport const AUTH_ERROR = \"auth_error\";\nexport const AUTH_ERROR_CLEAR = \"auth_error_clear\";\n// Actions associated with Your own API\nexport const REQRES_FETCH_ALL_SUCCESS = \"reqres_fetch_all_success\";\nexport const REQRES_CREATE_SUCCESS = \"reqres_create_success\";\nexport const REQRES_ERROR = \"reqres_error\";\nexport const HYDRATE_USER = \"hydrate_user\";\n\nexport const COMPLETE_REGISTRATION = \"complete_registration\";\nexport const UPDATE_USER_PARTY = \"update_user_party\";\nexport const UPDATE_TENANT_PARTY = \"update_tenant_party\";\nexport const UPDATE_TENANT = \"update_tenant\";\nexport const UPDATE_USER = \"update_user\";\nexport const REFRESH_CURRENT_USER = \"refresh_current_user\";\nexport const INCREMENT_ITEM_SORTING = \"increment_item_sorting\";\nexport const INCREMENT_ITEMGROUP_SORTING = \"increment_itemgroup_sorting\";\nexport const CHANGE_LOGIN_TYPE = \"change_login_type\";\nexport const CANCEL_FORGOT_PASSWORD = \"cancel_forgot_password\";\nexport const CANCEL_REGISTRATION = \"cancel_registration\";\nexport const FORCE_REFRESH_TOKEN = \"force_refresh_token\";\nexport const SET_USER_TYPE = \"set_user_type\";\nexport const PENDING_SOCIAL_SIGN_IN = \"pending_social_sing_in\";","import { SET_CURRENT_ECR, SET_CURRENT_ECR_ASYNC } from \"./types\";\n\nfunction setCurrentCashRegister(ecrId) {\n return function (dispatch) {\n dispatch({ type: SET_CURRENT_ECR, payload: ecrId });\n };\n}\n\nfunction setCurrentCashRegisterAsync(ecrId) {\n return function (dispatch) {\n dispatch({ type: SET_CURRENT_ECR_ASYNC, payload: ecrId });\n };\n}\n\nexport const actions = {\n\tsetCurrentCashRegister,\n\tsetCurrentCashRegisterAsync,\n}","/* eslint-disable */\n\"use strict\";\n\nimport { KTUtil } from \"./../../components/util.js\";\nimport KTOffcanvas from \"./../../components/offcanvas.js\";\nimport KTLayoutAsideMenu from \"./aside-menu.js\";\n\nvar KTLayoutAside = function() {\n // Private properties\n var _body;\n var _element;\n var _offcanvasObject;\n\n // Private functions\n\t// Initialize\n\tvar _init = function() {\n\t\tvar offcanvasClass = KTUtil.hasClass(_element, 'aside-offcanvas-default') ? 'aside-offcanvas-default' : 'aside';\n\n // Initialize mobile aside offcanvas\n\t\t_offcanvasObject = new KTOffcanvas(_element, {\n\t\t\tbaseClass: offcanvasClass,\n\t\t\toverlay: true,\n\t\t\tcloseBy: 'kt_aside_close_btn',\n\t\t\ttoggleBy: {\n\t\t\t\ttarget: 'kt_aside_mobile_toggle',\n\t\t\t\tstate: 'mobile-toggle-active'\n\t\t\t}\n\t\t});\n\n\t\t// Handle Minimized Aside Hover\n\t\tif (KTUtil.hasClass(_body, 'aside-fixed') && KTUtil.hasClass(_body, 'aside-minimize-hoverable')) {\n\t\t\tvar insideTm;\n\t\t\tvar outsideTm;\n\n // Handle Aside Hover Mode\n\t\t\tKTUtil.addEvent(_element, 'mouseenter', function(e) {\n\t\t\t\te.preventDefault();\n\n\t\t\t\tif (KTUtil.isBreakpointUp('lg') === false) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (outsideTm) {\n\t\t\t\t\tclearTimeout(outsideTm);\n\t\t\t\t\toutsideTm = null;\n\t\t\t\t}\n\n\t\t\t\tinsideTm = setTimeout(function() {\n\t\t\t\t\tif (KTUtil.hasClass(_body, 'aside-minimize') && KTUtil.isBreakpointUp('lg')) {\n\t\t\t\t\t\tKTUtil.removeClass(_body, 'aside-minimize');\n\n\t\t\t\t\t\t// Hover class\n\t\t\t\t\t\tKTUtil.addClass(_body, 'aside-minimize-hover');\n\n\t\t\t\t\t\tKTLayoutAsideMenu.getMenu().scrollUpdate();\n\t\t\t\t\t\tKTLayoutAsideMenu.getMenu().scrollTop();\n\t\t\t\t\t}\n\t\t\t\t}, 50);\n\t\t\t});\n\n\t\t\tKTUtil.addEvent(_element, 'mouseleave', function(e) {\n\t\t\t\te.preventDefault();\n\n\t\t\t\tif (KTUtil.isBreakpointUp('lg') === false) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (insideTm) {\n\t\t\t\t\tclearTimeout(insideTm);\n\t\t\t\t\tinsideTm = null;\n\t\t\t\t}\n\n\t\t\t\toutsideTm = setTimeout(function() {\n\t\t\t\t if (KTUtil.hasClass(_body, 'aside-minimize-hover') && KTUtil.isBreakpointUp('lg')) {\n\t\t\t\t\t KTUtil.removeClass(_body, 'aside-minimize-hover');\n\t\t\t\t\t KTUtil.addClass(_body, 'aside-minimize');\n\n\t\t\t\t\t\t// Hover class\n KTLayoutAsideMenu.getMenu().scrollUpdate();\n\t\t\t\t\t\tKTLayoutAsideMenu.getMenu().scrollTop();\n\t\t\t\t\t}\n\t\t\t\t}, 100);\n\t\t\t});\n\t\t}\n\t}\n\n // Public methods\n\treturn {\n\t\tinit: function(id) {\n _element = KTUtil.getById(id);\n _body = KTUtil.getBody();\n\n if (!_element) {\n return;\n }\n\n // Initialize\n _init();\n },\n\n getElement: function() {\n return _element;\n },\n\n getOffcanvas: function() {\n return _offcanvasObject;\n },\n\n isFixed: function() {\n return KTUtil.hasClass(_body, 'aside-fixed');\n },\n\n isMinimized: function() {\n return (KTUtil.hasClass(_body, 'aside-fixed') && KTUtil.hasClass(_body, 'aside-minimize'));\n },\n\n isHoverable: function() {\n return (KTUtil.hasClass(_body, 'aside-fixed') && KTUtil.hasClass(_body, 'aside-minimize-hoverable'));\n }\n\t};\n}();\n\n// Webpack support\nif (typeof module !== 'undefined') {\n\t// module.exports = KTLayoutAside;\n}\n\nexport default KTLayoutAside;","export default [\n {\n name: \"PLU\",\n code: \"plu\",\n },\n {\n name: \"Reparti\",\n code: \"departments\",\n },\n {\n name: \"Gruppi\",\n code: \"groups\",\n },\n {\n name: \"Flag di sistema\",\n code: \"systemFlag\",\n },\n {\n name: \"Sconti/Magg.\",\n code: \"discountinfo\",\n },\n {\n name: \"Intestazione\",\n code: \"HeadrInfo\",\n },\n {\n name: \"Aliquote IVA\",\n code: \"TAX\",\n },\n {\n name: \"Fine scontrino\",\n code: \"tail\",\n },\n {\n name: \"Densità stampa\",\n code: \"PrnDensity\",\n },\n {\n name: \"Pubblicità\",\n code: \"advertMsg\",\n },\n {\n name: \"Operatori\",\n code: \"clerk\",\n },\n {\n name: \"Macro\",\n code: \"macro\",\n },\n {\n name: \"Valute\",\n code: \"currency\",\n },\n {\n name: \"Ateco\",\n code: \"Ateco\",\n },\n {\n name: \"Omaggio\",\n code: \"omaggio\",\n },\n {\n name: \"Tasti pagam.\",\n code: \"PayKey\",\n },\n {\n name: \"Varie\",\n code: \"varie\",\n },\n {\n name: \"Tastiera\",\n code: \"programkey\",\n },\n {\n name: \"Servizi Web\",\n code: \"serverServices\",\n },\n {\n name: \"Logo\",\n code: \"logo\",\n },\n {\n name: \"URL\",\n code: \"urlData\",\n },\n {\n name: \"Footer logo\",\n code: \"footerlogo\",\n },\n];\n","export function DateDiffDays(a, b) {\n const diffTime = Math.abs(b - a);\n const diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24)); \n return diffDays;\n}\n","import { SET_CURRENT_TENANT, SET_CURRENT_TENANT_ASYNC } from \"./tenantTypes\";\n\nfunction setCurrentTenant(tenantId) {\n return function (dispatch) {\n dispatch({ type: SET_CURRENT_TENANT, payload: tenantId });\n };\n}\n\nfunction setCurrentTenantAsync(tenantId) {\n return function (dispatch) {\n dispatch({ type: SET_CURRENT_TENANT_ASYNC, payload: tenantId });\n };\n}\n\nexport const actions = {\n\tsetCurrentTenant,\n\tsetCurrentTenantAsync,\n}","import { createSlice } from \"@reduxjs/toolkit\";\nimport { original } from \"immer\";\n\nconst initialState = {\n listLoading: false,\n actionsLoading: false,\n totalCount: 0,\n entities: {\n items: [],\n nextToken: undefined,\n prevTokens: [],\n },\n entity: undefined,\n lastError: null,\n};\nexport const callTypes = {\n list: \"list\",\n action: \"action\",\n};\n\nexport const slice = createSlice({\n name: \"dailysales\",\n initialState: initialState,\n reducers: {\n catchError: (state, action) => {\n state.error = `${action.type}: ${JSON.stringify(action.payload.error)}`;\n if (action.payload.callType === callTypes.list) {\n state.listLoading = false;\n } else {\n state.actionsLoading = false;\n }\n },\n startCall: (state, action) => {\n state.error = null;\n if (action.payload.callType === callTypes.list) {\n state.listLoading = true;\n } else {\n state.actionsLoading = true;\n }\n },\n objectFetched: (state, action) => {\n state.actionsLoading = false;\n state.entity = action.payload.entity;\n if (action.payload.entity) {\n state.entity = {\n ...action.payload.entity,\n content: JSON.parse(action.payload.entity.content),\n };\n }\n state.error = null;\n },\n objectsFetched: (state, action) => {\n const { totalCount, items, nextToken, prevToken, operation } =\n action.payload;\n state.listLoading = false;\n state.error = null;\n\n switch (operation) {\n case \"overwrite\":\n const lastPrevElement =\n state.entities.prevTokens[state.entities.prevTokens.length - 1];\n if (\n state.entities.prevTokens.includes(prevToken) &&\n !lastPrevElement\n ) {\n state.entities = {\n items: items.map((el) => {\n return {\n ...el,\n content: JSON.parse(el.content),\n };\n }),\n nextToken: lastPrevElement,\n prevTokens: state.entities.prevTokens.filter(\n (el) => el !== lastPrevElement\n ),\n };\n } else {\n state.entities = {\n items: items.map((el) => {\n return {\n ...el,\n content: JSON.parse(el.content),\n };\n }),\n nextToken: nextToken,\n prevTokens: [...state.entities.prevTokens, prevToken],\n };\n }\n break;\n case \"append\":\n const itemsToAppend = items.map((el) => {\n return {\n ...el,\n content: JSON.parse(el.content),\n };\n });\n state.entities = {\n items: [...original(state.entities.items), ...itemsToAppend],\n nextToken: nextToken,\n prevTokens: [...state.entities.prevTokens, prevToken],\n };\n break;\n default:\n break;\n }\n\n state.totalCount = totalCount;\n },\n clearData: (state, action) => {\n state.listLoading = false;\n state.actionsLoading = false;\n state.totalCount = 0;\n state.entities = {\n items: [],\n nextToken: undefined,\n prevTokens: [],\n };\n state.entity = undefined;\n state.lastError = null;\n },\n },\n});\n","/* eslint-disable */\n\"use strict\";\n// DOCS: https://javascript.info/cookie\n\n// Component Definition \nexport var KTCookie = function() {\n return {\n // returns the cookie with the given name,\n // or undefined if not found\n getCookie: function(name) {\n var matches = document.cookie.match(new RegExp(\n \"(?:^|; )\" + name.replace(/([\\.$?*|{}\\(\\)\\[\\]\\\\\\/\\+^])/g, '\\\\$1') + \"=([^;]*)\"\n ));\n return matches ? decodeURIComponent(matches[1]) : undefined;\n },\n // Please note that a cookie value is encoded,\n // so getCookie uses a built-in decodeURIComponent function to decode it.\n setCookie: function(name, value, options) {\n if (!options) {\n options = {};\n }\n\n options = Object.assign({}, {path: '/'}, options);\n\n if (options.expires instanceof Date) {\n options.expires = options.expires.toUTCString();\n }\n\n var updatedCookie = encodeURIComponent(name) + \"=\" + encodeURIComponent(value);\n\n for (var optionKey in options) {\n if (!options.hasOwnProperty(optionKey)) {\n continue;\n }\n updatedCookie += \"; \" + optionKey;\n var optionValue = options[optionKey];\n if (optionValue !== true) {\n updatedCookie += \"=\" + optionValue;\n }\n }\n\n document.cookie = updatedCookie;\n },\n // To delete a cookie, we can call it with a negative expiration date:\n deleteCookie: function(name) {\n setCookie(name, \"\", {\n 'max-age': -1\n })\n }\n }\n}();\n\n// webpack support\nif (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\n // module.exports = KTCookie;\n}\n","import React from \"react\";\nimport { Card as MetronicCard, CardBody } from \"../../../_metronic/_partials/controls\";\nimport { FormattedMessage } from \"react-intl\";\n\nexport function LoadingCard() {\n\n return (\n \n \n
\n
\n \n
\n
\n
\n );\n}\n","import { API, graphqlOperation } from \"aws-amplify\";\nimport {\n listRetailStoreLicenses,\n //getRetailStoreLicense,\n retailStoreLicensesByTenant,\n retailStoreLicensesByPartner,\n //retailStoreLicensesByRetailStore,\n searchRetailStoreLicenses,\n} from \"../../../../../graphql/queries\";\nimport * as customQueries from \"../../graphql/private/queries\";\nimport {\n updateRetailStoreLicense,\n createRetailStoreLicense,\n deleteRetailStoreLicense,\n} from \"../../../../../graphql/mutations\";\n\nexport function searchObjects(queryParams, additionalFilters, nextToken, customQuery = null) {\n var params = {\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n \n if (queryParams.sortField && queryParams.sortOrder) {\n params.sort = {\n field: queryParams.sortField,\n direction: queryParams.sortOrder,\n };\n }\n\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n }\n\n params.filter = {\n ...params.filter,\n };\n\n const query = customQuery ? customQueries[customQuery] : searchRetailStoreLicenses;\n return API.graphql(graphqlOperation(query, params));\n}\n\nexport function findObjects(queryParams, additionalFilters, nextToken) {\n const params = {\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = { ...params.filter, ...additionalFilters };\n }\n\n return API.graphql(graphqlOperation(listRetailStoreLicenses, params));\n}\n\nexport function findObjectsByRetailStore(\n retailStoreId,\n queryParams,\n additionalFilters,\n nextToken\n) {\n const params = {\n retailStoreId: retailStoreId,\n sortDirection: \"ASC\",\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = { ...params.filter, ...additionalFilters };\n }\n\n return API.graphql(\n graphqlOperation(customQueries[\"retailStoreLicensesByRetailStore\"], params)\n );\n}\n\nexport function findObjectsByTenant(\n tenantId,\n queryParams,\n additionalFilters,\n nextToken,\n queryName = null,\n) {\n const params = {\n tenantId: tenantId,\n sortDirection: \"ASC\",\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = { ...params.filter, ...additionalFilters };\n }\n\n return API.graphql(graphqlOperation(queryName ? customQueries[queryName] : retailStoreLicensesByTenant, params));\n}\n\nexport function findObjectsByPartner(\n partnerId,\n queryParams,\n additionalFilters,\n nextToken\n) {\n const params = {\n partnerId: partnerId,\n sortDirection: \"ASC\",\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = { ...params.filter, ...additionalFilters };\n }\n\n return API.graphql(graphqlOperation(retailStoreLicensesByPartner, params));\n}\n\n\nexport function findObjectsByLicenseRetailStore(\n licenseId,\n retailStoreId,\n queryParams,\n additionalFilters,\n nextToken\n) {\n const params = {\n licenseId: licenseId,\n retailStoreId: { eq: retailStoreId },\n sortDirection: \"ASC\",\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = { ...params.filter, ...additionalFilters };\n }\n\n return API.graphql(\n graphqlOperation(customQueries[\"lightRetailStoreLicensesByLicenseRetailStore\"], params)\n );\n}\n\n\nexport function getObjectById(id) {\n return API.graphql(graphqlOperation(customQueries[\"getRetailStoreLicense\"], { id: id }));\n}\n\nexport function createObject(obj) {\n return API.graphql(\n graphqlOperation(createRetailStoreLicense, { input: obj })\n );\n}\n\nexport function deleteObject(id) {\n return API.graphql(\n graphqlOperation(deleteRetailStoreLicense, { input: { id: id } })\n );\n}\n\nexport function createObjects(objs) {\n var creates = [];\n objs.forEach((obj) => {\n creates.push(\n new Promise((resolve, reject) => {\n return resolve(createObject(obj));\n })\n );\n });\n return Promise.all(creates);\n}\n\nexport function updateObject(obj) {\n return API.graphql(\n graphqlOperation(updateRetailStoreLicense, { input: obj })\n );\n}\n\nexport function updateObjects(objs) {\n var updates = [];\n objs.forEach((obj) => {\n updates.push(\n new Promise((resolve, reject) => {\n return resolve(updateObject(obj));\n })\n );\n });\n return Promise.all(updates);\n}\n","import * as request from \"./crud\";\nimport { orderBy } from \"lodash\";\nimport { GenerateSlice, SliceCallTypes } from \"../../../../utils/components/generic/_redux\";\n\nconst sliceActions = GenerateSlice(\"retailstorelicenses\").actions;\n\nconst clearData = () => (dispatch) => {\n dispatch(sliceActions.clearData());\n};\n\nconst searchObjects =\n (queryParams, additionalFilters, nextToken, operation = \"overwrite\", customQuery = null) =>\n (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await request.searchObjects(\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n additionalFilters,\n nextTokenInternal,\n customQuery\n );\n var data = result.data.searchRetailStoreLicenses;\n\n items = items.concat(data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n sliceActions.objectsFetched({\n totalCount: data.total,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n\n return resolve({ items: sortedItems, nextToken: nextTokenInternal, total: data.total, });\n } catch (error) {\n error.clientMessage = \"Can't find retail store licenses\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.list }));\n //return reject(error);\n }\n });\n };\n\nconst fetchObjects =\n (queryParams, additionalFilters, nextToken, operation = \"overwrite\", customQuery = null) =>\n (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await request.findObjects(\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n additionalFilters,\n nextTokenInternal,\n customQuery\n );\n var data = result.data.listRetailStoreLicenses;\n\n items = items.concat(data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n sliceActions.objectsFetched({\n totalCount: sortedItems.length,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n\n return resolve({ items: sortedItems, nextToken: nextTokenInternal });\n } catch (error) {\n error.clientMessage = \"Can't find retail store licenses\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.list }));\n //return reject(error);\n }\n });\n };\n\nconst fetchObjectsByRetailStore =\n (\n retailStoreId,\n queryParams,\n additionalFilters,\n nextToken,\n operation = \"overwrite\"\n ) =>\n (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await request.findObjectsByRetailStore(\n retailStoreId,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n additionalFilters,\n nextTokenInternal\n );\n var data = result.data.retailStoreLicensesByRetailStore;\n\n items = items.concat(data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n sliceActions.objectsFetched({\n totalCount: sortedItems.length,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n\n return resolve({ items: sortedItems, nextToken: nextTokenInternal });\n } catch (error) {\n error.clientMessage = \"Can't find retail store licenses\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.list }));\n //return reject(error);\n }\n });\n };\n\nconst fetchObjectsByTenant =\n (\n tenantId,\n queryParams,\n additionalFilters,\n nextToken,\n operation = \"overwrite\"\n ) =>\n (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await request.findObjectsByTenant(\n tenantId,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n additionalFilters,\n nextTokenInternal\n );\n var data = result.data.retailStoreLicensesByTenant;\n\n items = items.concat(data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n sliceActions.objectsFetched({\n totalCount: sortedItems.length,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n\n return resolve({ items: sortedItems, nextToken: nextTokenInternal });\n } catch (error) {\n error.clientMessage = \"Can't find retail store licenses\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.list }));\n //return reject(error);\n }\n });\n };\n\nconst fetchObjectsByPartner =\n (\n partnerId,\n queryParams,\n additionalFilters,\n nextToken,\n operation = \"overwrite\"\n ) =>\n (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await request.findObjectsByTenant(\n partnerId,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n additionalFilters,\n nextTokenInternal\n );\n var data = result.data.retailStoreLicensesByPartner;\n\n items = items.concat(data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n sliceActions.objectsFetched({\n totalCount: sortedItems.length,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n\n return resolve({ items: sortedItems, nextToken: nextTokenInternal });\n } catch (error) {\n error.clientMessage = \"Can't find retail store licenses\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.list }));\n //return reject(error);\n }\n });\n };\n\n\nconst fetchObjectsByLicenseRetailStore =\n (\n licenseId,\n retailStoreId,\n queryParams,\n additionalFilters,\n nextToken,\n operation = \"overwrite\"\n ) =>\n (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await request.findObjectsByLicenseRetailStore(\n licenseId,\n retailStoreId,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n additionalFilters,\n nextTokenInternal\n );\n var data = result.data.retailStoreLicensesByLicenseRetailStore;\n\n items = items.concat(data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n sliceActions.objectsFetched({\n totalCount: sortedItems.length,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n\n return resolve({ items: sortedItems, nextToken: nextTokenInternal });\n } catch (error) {\n error.clientMessage = \"Can't find retail store licenses\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.list }));\n //return reject(error);\n }\n });\n };\n\nconst fetchAllActiveDealerUserLicenses = (retailStoreId, licenseIds) => async (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n\n var today = new Date().toISOString().substring(0, 10);\n\n const queryParams = {\n pageSize: 1000,\n filter: {\n validTo: { gt: today },\n validFrom: { lt: today },\n and: [\n { or: licenseIds.map(el => ({ licenseId: { eq: el } })) },\n \n { or: [\n { electronicCashRegisterId: { eq: \"\" } },\n { electronicCashRegisterId: { attributeExists: false } },\n ] },\n ]\n },\n };\n\n var nextToken = null;\n var entities = [];\n\n try {\n do {\n var result = await request.findObjectsByRetailStore(\n retailStoreId,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n null,\n nextToken\n );\n var data = result.data.retailStoreLicensesByRetailStore;\n\n if (data && data.items && data.items.length > 0) {\n entities = entities.concat(data.items);\n }\n\n nextToken = data.nextToken;\n } while (nextToken !== null);\n\n const sortedItems = orderBy(\n entities,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n sliceActions.objectsFetched({\n totalCount: sortedItems.length,\n operation: \"overwrite\",\n items: sortedItems,\n nextToken: nextToken,\n prevToken: nextToken,\n })\n );\n return undefined;\n } catch (error) {\n error.clientMessage = \"Can't get retail store licenses\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n return error;\n }\n};\n\nconst fetchObject = (id) => (dispatch) => {\n if (!id) {\n return dispatch(sliceActions.objectFetched({ entity: undefined }));\n }\n\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .getObjectById(id)\n .then((response) => {\n const obj = response.data.getRetailStoreLicense;\n dispatch(sliceActions.objectFetched({ entity: obj }));\n })\n .catch((error) => {\n error.clientMessage = \"Can't find retail store license\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n });\n};\n\nconst createObject = (obj) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .createObject(obj)\n .then((response) => {\n const object = response.data.createRetailStoreLicense;\n dispatch(sliceActions.objectsCreated({ objects: [object] }));\n return object;\n })\n .catch((error) => {\n error.clientMessage = \"Can't create retail store license\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n return error;\n });\n};\n\nconst createObjects = (objs) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .createObjects(objs)\n .then((response) => {\n const objects = response.map((obj) => obj.data.createRetailStoreLicense);\n dispatch(sliceActions.objectsCreated({ objects: objects }));\n return objects;\n })\n .catch((error) => {\n error.clientMessage = \"Can't create retail store licenses\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n return error;\n });\n};\n\nconst deleteObject = (id) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .deleteObject(id)\n .then((response) => {\n dispatch(sliceActions.objectDeleted({ id }));\n })\n .catch((error) => {\n error.clientMessage = \"Can't delete retail store license\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n });\n};\n\nconst updateObject = (object) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .updateObject(object)\n .then((response) => {\n dispatch(\n sliceActions.objectsUpdated({\n objects: [response.data.updateRetailStoreLicense],\n })\n );\n })\n .catch((error) => {\n error.clientMessage = \"Can't update retail store license\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n return error;\n });\n};\n\nconst updateObjects = (objects) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .updateObjects(objects)\n .then((response) => {\n const objects = response.map((obj) => obj.data.updateRetailStoreLicense);\n dispatch(sliceActions.objectsUpdated({ objects: objects }));\n return objects;\n })\n .catch((error) => {\n error.clientMessage = \"Can't update retail store licenses\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n return error;\n });\n};\n\nconst fetchActiveLicensesByECRId = async (ecrId, licenseId = null) => {\n const today = new Date().toISOString().substring(0, 10);\n const queryParams = {\n pageSize: 1000,\n filter: {\n electronicCashRegisterId: { eq: ecrId },\n validTo: { gt: today },\n validFrom: { lt: today },\n licenseId: licenseId ? { eq: licenseId } : undefined,\n },\n };\n\n var nextToken = null;\n var entities = [];\n\n try {\n do {\n var result = await request.searchObjects(\n queryParams,\n null, \n nextToken,\n \"searchRetailStoreLicenses\"\n );\n var data = result.data.searchRetailStoreLicenses;\n\n entities = entities.concat(data.items);\n nextToken = data.nextToken;\n } while (nextToken !== null);\n } catch (error) {\n //eslint-disable-line no-empty\n }\n\n return entities;\n};\n\n\nconst fetchActiveRtUtilityLicensesByECRId = async (ecrId) => {\n return fetchActiveLicensesByECRId(ecrId, \"f4e74abd-64ff-47d0-a887-b6058e240fb0\");\n}\n\nconst fetchActiveLicensesByMoitoIotId = async (moitoIotId) => {\n const today = new Date().toISOString().substring(0, 10);\n const queryParams = {\n pageSize: 1000,\n filter: {\n moitoIotId: { eq: moitoIotId },\n validTo: { gt: today },\n validFrom: { lt: today },\n },\n };\n\n var nextToken = null;\n var entities = [];\n\n try {\n do {\n var result = await request.searchObjects(\n queryParams,\n null, \n nextToken,\n \"searchRetailStoreLicenses\"\n );\n var data = result.data.searchRetailStoreLicenses;\n\n entities = entities.concat(data.items);\n nextToken = data.nextToken;\n } while (nextToken !== null);\n } catch (error) {\n //eslint-disable-line no-empty\n }\n\n return entities;\n};\n\nconst fetchActiveLicensesByRetailStoreAndMoitoIot = (retailStoreId, moitoIotId) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n\n return new Promise(async (resolve, reject) => {\n const today = new Date().toISOString().substring(0, 10);\n const queryParams = {\n pageSize: 1000,\n retailStoreId: retailStoreId,\n filter: {\n moitoIotId: { eq: moitoIotId },\n validTo: { gt: today },\n validFrom: { lt: today },\n },\n };\n\n var nextToken = null;\n var entities = [];\n\n try {\n do {\n var result = await request.findObjectsByRetailStore(\n retailStoreId, \n queryParams,\n null, \n nextToken\n );\n var data = result.data.retailStoreLicensesByRetailStore;\n\n entities = entities.concat(data.items);\n nextToken = data.nextToken;\n } while (nextToken !== null);\n } catch (error) {\n //eslint-disable-line no-empty\n }\n\n dispatch(\n sliceActions.objectsFetched({\n totalCount: entities.length,\n operation: \"overwrite\",\n items: entities,\n nextToken: null,\n prevToken: null,\n })\n );\n\n return resolve(entities);\n });\n};\n\nconst fetchAllExpiringLicenses = (partnerId) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n\n return new Promise(async (resolve, reject) => {\n const today = new Date().toISOString().substring(0, 10);\n var todayPlus30 = new Date();\n todayPlus30.setDate(todayPlus30.getDate() + 30);\n todayPlus30 = todayPlus30.toISOString().substring(0, 10);\n\n const queryParams = {\n pageSize: 1000,\n filter: {\n and: [\n { validFrom: { lt: today } },\n { validTo: { gt: today } },\n { validTo: { lt: todayPlus30 } },\n {\n or: [\n { tenantId: { eq: partnerId } },\n { partnerId: { eq: partnerId } },\n ],\n },\n ],\n },\n };\n\n var nextToken = null;\n var entities = [];\n\n try {\n do {\n var result = await request.searchObjects(\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n null, \n nextToken,\n \"searchRetailStoreLicenses\"\n );\n var data = result.data.searchRetailStoreLicenses;\n\n entities = entities.concat(data.items);\n nextToken = data.nextToken;\n } while (nextToken !== null);\n } catch (error) {\n //eslint-disable-line no-empty\n }\n\n dispatch(sliceActions.clearData());\n dispatch(sliceActions.objectsFetched({\n totalCount: entities.length,\n operation: \"overwrite\",\n items: entities,\n nextToken: null,\n prevToken: null,\n }));\n return entities;\n });\n};\n\nconst fetchAllExpiringLicensesByRange = (startDate, endDate, partnerId) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n\n return new Promise(async (resolve, reject) => {\n const queryParams = {\n pageSize: 1000,\n filter: {\n and: [\n { validTo: { range: [ startDate, endDate ] } },\n {\n or: [\n { tenantId: { eq: partnerId } },\n { partnerId: { eq: partnerId } },\n ],\n },\n ],\n },\n };\n\n var nextToken = null;\n var entities = [];\n\n try {\n do {\n var result = await request.searchObjects(\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n null, \n nextToken, \n \"lightSearchRetailStoreLicenses\"\n );\n var data = result.data.searchRetailStoreLicenses;\n\n entities = entities.concat(data.items);\n nextToken = data.nextToken;\n } while (nextToken !== null);\n } catch (error) {\n //eslint-disable-line no-empty\n }\n\n dispatch(sliceActions.clearData());\n dispatch(sliceActions.objectsFetched({\n totalCount: entities.length,\n operation: \"overwrite\",\n items: entities,\n nextToken: null,\n prevToken: null,\n }));\n return entities;\n });\n};\n\nconst checkActiveRetailStoreLicensesExistance = async (\n retailStoreId,\n licenseId,\n ecrId\n) => {\n const today = new Date().toISOString().substring(0, 10);\n var queryParams = {\n pageSize: 1000,\n filter: {\n licenseId: { eq: licenseId },\n validTo: { gt: today },\n validFrom: { lt: today },\n },\n };\n\n if (ecrId) {\n queryParams.filter = {\n ...queryParams.filter,\n electronicCashRegisterId: { eq: ecrId },\n };\n }\n\n var nextToken = null;\n\n try {\n do {\n var result = await request.findObjectsByRetailStore(\n retailStoreId,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n null,\n nextToken\n );\n var data = result.data.retailStoreLicensesByRetailStore;\n\n if (data.items && data.items.length > 0) {\n return true;\n }\n\n nextToken = data.nextToken;\n } while (nextToken !== null);\n } catch (error) {\n return true;\n }\n\n return false;\n};\n\nconst fetchActiveLicensesByRetailStore = async (\n retailStoreId,\n) => {\n const today = new Date().toISOString().substring(0, 10);\n var queryParams = {\n pageSize: 1000,\n filter: {\n validTo: { gt: today },\n validFrom: { lt: today },\n },\n };\n\n var nextToken = null;\n var entities = [];\n\n try {\n do {\n var result = await request.findObjectsByRetailStore(\n retailStoreId,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n null,\n nextToken\n );\n var data = result.data.retailStoreLicensesByRetailStore;\n\n if (data.items && data.items.length > 0) {\n entities = entities.concat(data.items);\n }\n\n nextToken = data.nextToken;\n } while (nextToken !== null);\n } catch (error) {\n //eslint-disable-line no-empty\n }\n\n return entities;\n};\n\nconst fetchObjectsByTenantNoRedux =\n (\n tenantId,\n queryParams,\n additionalFilters,\n nextToken,\n queryName = null\n ) => {\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await request.findObjectsByTenant(\n tenantId,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n additionalFilters,\n nextTokenInternal,\n queryName\n );\n var data = result.data.retailStoreLicensesByTenant;\n\n items = items.concat(data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n\n return resolve({ items: sortedItems, nextToken: nextTokenInternal });\n } catch (error) {\n error.clientMessage = \"Can't find retail store licenses\";\n //return reject(error);\n }\n });\n };\n\n\nconst fetchActiveMoitoIotLicensesByStoreIds = (storeIds, customQuery = null) => async (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n\n const today = new Date().toISOString().substring(0, 10);\n const queryParams = {\n pageSize: 1000,\n filter: {\n and: [\n { validTo: { gt: today } },\n { validFrom: { lt: today } },\n { moitoIotCode: { ne: \"\" } },\n { autorenew: { eq: true } },\n {\n or: storeIds\n .map((el) => {\n return { retailStoreId: { eq: el } };\n }),\n },\n ],\n },\n };\n\n var nextToken = null;\n var entities = [];\n\n try {\n do {\n var result = await request.searchObjects(\n queryParams,\n null, \n nextToken,\n customQuery\n );\n var data = result.data.searchRetailStoreLicenses;\n\n entities = entities.concat(data.items);\n nextToken = data.nextToken;\n } while (nextToken !== null);\n } catch (error) {\n //eslint-disable-line no-empty\n }\n\n dispatch(\n sliceActions.objectsFetched({\n totalCount: entities.length,\n operation: \"overwrite\",\n items: entities,\n nextToken: null,\n prevToken: null,\n })\n );\n\n return entities;\n};\n\nconst refreshRecordOnEntities = (id) => (dispatch) => {\n if (!id) {\n return dispatch(sliceActions.objectFetched({ entity: undefined }));\n }\n\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .getObjectById(id)\n .then((response) => {\n const obj = response.data.getRetailStoreLicense;\n dispatch(sliceActions.refreshRecordOnEntities({ entity: obj }));\n })\n .catch((error) => {\n error.clientMessage = \"Can't find retail store license\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n });\n};\n\nexport const actions = {\n clearData,\n searchObjects, \n fetchObjects,\n fetchObjectsByRetailStore,\n fetchObjectsByPartner,\n fetchObjectsByTenant,\n fetchAllActiveDealerUserLicenses,\n fetchObject,\n createObject,\n createObjects,\n deleteObject,\n updateObjects,\n updateObject,\n fetchActiveLicensesByECRId,\n fetchActiveRtUtilityLicensesByECRId,\n fetchActiveLicensesByMoitoIotId,\n fetchActiveLicensesByRetailStoreAndMoitoIot,\n fetchAllExpiringLicenses,\n checkActiveRetailStoreLicensesExistance,\n fetchActiveLicensesByRetailStore,\n fetchObjectsByTenantNoRedux,\n fetchAllExpiringLicensesByRange,\n fetchObjectsByLicenseRetailStore,\n fetchActiveMoitoIotLicensesByStoreIds,\n refreshRecordOnEntities,\n}","export const listReceipts = /* GraphQL */ `\n query ListReceipts(\n $filter: ModelReceiptFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listReceipts(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n ecrDatetime\n moitoIotDatetime\n zMoitoIot\n zEcr\n number\n amount\n posted\n type\n description\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n extensions\n createdAt\n updatedAt\n tenantUser {\n items {\n id\n userId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n retailStore {\n id\n tenantId\n user {\n items {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n name\n extensions\n deleted\n partnerId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n extensions\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n extensions\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n retailStoreLicense {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n orderConfirmationNotified\n createdAt\n updatedAt\n }\n nextToken\n }\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n usersCount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n extensions\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n extensions\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n retailStore {\n id\n tenantId\n user {\n nextToken\n }\n name\n extensions\n deleted\n partnerId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n extensions\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n extensions\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n zipCode\n county\n municipality\n address\n country\n }\n fixedVersion {\n id\n version\n frontendZipPath\n apkPath\n notes\n isStable\n createdAt\n updatedAt\n }\n }\n department {\n id\n tenantId\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n extensions\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n extensions\n createdAt\n updatedAt\n }\n }\n }\n receiptPayments {\n items {\n id\n tenantId\n receiptId\n paymentId\n amount\n sorting\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n extensions\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n number\n amount\n posted\n type\n description\n extensions\n deleted\n createdAt\n updatedAt\n }\n payment {\n id\n tenantId\n sorting\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n lines {\n items {\n id\n tenantId\n receiptId\n departmentId\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n enabledRetailStoreIds\n loyaltyPoints\n createdAt\n updatedAt\n }\n sorting\n description\n comment\n price\n quantity\n total\n loyaltyPoints\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n extensions\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n enabledRetailStoreIds\n loyaltyPoints\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n number\n amount\n posted\n type\n description\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n nextToken\n }\n }\n`;\n\nexport const receiptsByRetailStore = /* GraphQL */ `\n query ReceiptsByRetailStore(\n $retailStoreId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelReceiptFilterInput\n $limit: Int\n $nextToken: String\n ) {\n receiptsByRetailStore(\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n ecrDatetime\n moitoIotDatetime\n zMoitoIot\n zEcr\n number\n amount\n posted\n type\n description\n changeAmount\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n companyName\n companyVat\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n }\n retailStore {\n id\n tenantId\n name\n deleted\n partnerId\n createdAt\n updatedAt\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n usersCount\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n receiptPayments {\n items {\n id\n tenantId\n receiptId\n paymentId\n amount\n sorting\n description\n createdAt\n updatedAt\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n number\n amount\n posted\n type\n description\n extensions\n deleted\n createdAt\n updatedAt\n }\n payment {\n id\n tenantId\n sorting\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n lines {\n items {\n id\n tenantId\n receiptId\n departmentId\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n enabledRetailStoreIds\n loyaltyPoints\n createdAt\n updatedAt\n }\n sorting\n description\n comment\n price\n quantity\n total\n loyaltyPoints\n createdAt\n updatedAt\n department {\n id\n tenantId\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n number\n amount\n posted\n type\n description\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n nextToken\n }\n }\n`;\n\nexport const variantsByTenantSorting = /* GraphQL */ `\n query VariantsByTenantSorting(\n $tenantId: ID\n $sorting: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelVariantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n variantsByTenantSorting(\n tenantId: $tenantId\n sorting: $sorting\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n createdAt\n updatedAt\n }\n variantVariantGroups {\n items {\n id\n tenantId\n variantId\n variantGroupId\n createdAt\n updatedAt\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n variantModifiers {\n items {\n id\n tenantId\n variantId\n modifierId\n price\n createdAt\n updatedAt\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n nextToken\n }\n }\n`;\n\nexport const receiptsByCustomer = /* GraphQL */ `\n query ReceiptsByCustomer(\n $customerId: ID\n $moitoIotDatetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelReceiptFilterInput\n $limit: Int\n $nextToken: String\n ) {\n receiptsByCustomer(\n customerId: $customerId\n moitoIotDatetime: $moitoIotDatetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n ecrNumber\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n receiptPayments {\n items {\n id\n tenantId\n receiptId\n paymentId\n amount\n sorting\n description\n createdAt\n updatedAt\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n number\n amount\n posted\n type\n description\n extensions\n deleted\n createdAt\n updatedAt\n }\n payment {\n id\n tenantId\n sorting\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n lines {\n items {\n id\n tenantId\n receiptId\n departmentId\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n enabledRetailStoreIds\n loyaltyPoints\n createdAt\n updatedAt\n }\n sorting\n description\n comment\n price\n quantity\n total\n loyaltyPoints\n createdAt\n updatedAt\n department {\n id\n tenantId\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n number\n amount\n posted\n type\n description\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n deleted\n operatorId\n closed\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\n\nexport const calendarEventByRetailStore = /* GraphQL */ `\n query CalendarEventByRetailStore(\n $retailStoreId: ID\n $startDatetimeEndDatetime: ModelCalendarEventByRetailStoreCompositeKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCalendarEventFilterInput\n $limit: Int\n $nextToken: String\n ) {\n calendarEventByRetailStore(\n retailStoreId: $retailStoreId\n startDatetimeEndDatetime: $startDatetimeEndDatetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n items {\n id\n tenantId\n retailStoreId\n itemId\n comment\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n createdAt\n updatedAt\n }\n qty\n calendarEventId\n calendarEventItemVariants {\n items {\n id\n tenantId\n retailStoreId\n price\n calendarEventId\n calendarEventItemId\n variantId\n modifierId\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n createdAt\n updatedAt\n }\n nextToken\n }\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n nextToken\n }\n }\n`;\n\nexport const itemMoitoIotLogicalPrinterByLogicalPrinter = /* GraphQL */ `\n query ItemMoitoIotLogicalPrinterByLogicalPrinter(\n $logicalPrinterId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelItemMoitoIotLogicalPrinterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemMoitoIotLogicalPrinterByLogicalPrinter(\n logicalPrinterId: $logicalPrinterId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n isMain\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n time\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n image\n createdAt\n updatedAt\n itemGroup {\n items {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n createdAt\n updatedAt\n }\n itemGroup {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n priceList {\n items {\n id\n tenantId\n itemId\n priceListId\n price\n deleted\n extensions\n createdAt\n updatedAt\n item {\n id\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n items {\n id\n tenantId\n variantGroupId\n itemId\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n createdAt\n updatedAt\n }\n nextToken\n }\n logicalPrinters {\n items {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n isMain\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const itemVariantGroupsByVariantGroup = /* GraphQL */ `\n query ItemVariantGroupsByVariantGroup(\n $variantGroupId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelItemVariantGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemVariantGroupsByVariantGroup(\n variantGroupId: $variantGroupId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n variantGroupId\n itemId\n createdAt\n updatedAt\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n time\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n image\n createdAt\n updatedAt\n itemGroup {\n items {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n createdAt\n updatedAt\n }\n itemGroup {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n priceList {\n items {\n id\n tenantId\n itemId\n priceListId\n price\n deleted\n extensions\n createdAt\n updatedAt\n item {\n id\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n items {\n id\n tenantId\n variantGroupId\n itemId\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n createdAt\n updatedAt\n }\n nextToken\n }\n logicalPrinters {\n items {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n isMain\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;","/* eslint-disable */\n// this is an auto generated file. This will be overwritten\n\nexport const getCurrency = /* GraphQL */ `\n query GetCurrency($id: ID!) {\n getCurrency(id: $id) {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n }\n`;\nexport const listCurrencys = /* GraphQL */ `\n query ListCurrencys(\n $filter: ModelCurrencyFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listCurrencys(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const getECRConfigurationFavorite = /* GraphQL */ `\n query GetECRConfigurationFavorite($id: ID!) {\n getECRConfigurationFavorite(id: $id) {\n id\n name\n partnerId\n plu\n content\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listECRConfigurationFavorites = /* GraphQL */ `\n query ListECRConfigurationFavorites(\n $filter: ModelECRConfigurationFavoriteFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listECRConfigurationFavorites(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n name\n partnerId\n plu\n content\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getPartnerNote = /* GraphQL */ `\n query GetPartnerNote($id: ID!) {\n getPartnerNote(id: $id) {\n id\n partnerId\n tenantId\n ecrNumber\n companyName\n retailStoreName\n description\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listPartnerNotes = /* GraphQL */ `\n query ListPartnerNotes(\n $filter: ModelPartnerNoteFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listPartnerNotes(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n partnerId\n tenantId\n ecrNumber\n companyName\n retailStoreName\n description\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getRtUtilityLog = /* GraphQL */ `\n query GetRtUtilityLog($id: ID!) {\n getRtUtilityLog(id: $id) {\n id\n partnerId\n userId\n tenantId\n tenantCompanyName\n tenantCompanyVat\n userAttribute\n number\n description\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const listRtUtilityLogs = /* GraphQL */ `\n query ListRtUtilityLogs(\n $filter: ModelRtUtilityLogFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listRtUtilityLogs(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n partnerId\n userId\n tenantId\n tenantCompanyName\n tenantCompanyVat\n userAttribute\n number\n description\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const configurationFavoritesByPartner = /* GraphQL */ `\n query ConfigurationFavoritesByPartner(\n $partnerId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelECRConfigurationFavoriteFilterInput\n $limit: Int\n $nextToken: String\n ) {\n configurationFavoritesByPartner(\n partnerId: $partnerId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n name\n partnerId\n plu\n content\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const partnerNotesByPartner = /* GraphQL */ `\n query PartnerNotesByPartner(\n $partnerId: ID\n $companyName: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelPartnerNoteFilterInput\n $limit: Int\n $nextToken: String\n ) {\n partnerNotesByPartner(\n partnerId: $partnerId\n companyName: $companyName\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n partnerId\n tenantId\n ecrNumber\n companyName\n retailStoreName\n description\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const rtUtilityLogsByPartner = /* GraphQL */ `\n query RtUtilityLogsByPartner(\n $partnerId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelRtUtilityLogFilterInput\n $limit: Int\n $nextToken: String\n ) {\n rtUtilityLogsByPartner(\n partnerId: $partnerId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n partnerId\n userId\n tenantId\n tenantCompanyName\n tenantCompanyVat\n userAttribute\n number\n description\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getTenant = /* GraphQL */ `\n query GetTenant($id: ID!) {\n getTenant(id: $id) {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n items {\n id\n userId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n`;\nexport const listTenants = /* GraphQL */ `\n query ListTenants(\n $filter: ModelTenantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listTenants(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const tenantsByShortCode = /* GraphQL */ `\n query TenantsByShortCode(\n $shortCode: String\n $sortDirection: ModelSortDirection\n $filter: ModelTenantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n tenantsByShortCode(\n shortCode: $shortCode\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const tenantsByCompanyVat = /* GraphQL */ `\n query TenantsByCompanyVat(\n $companyVat: String\n $sortDirection: ModelSortDirection\n $filter: ModelTenantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n tenantsByCompanyVat(\n companyVat: $companyVat\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const tenantsByDefaultPartnerCode = /* GraphQL */ `\n query TenantsByDefaultPartnerCode(\n $defaultPartnerCode: String\n $sortDirection: ModelSortDirection\n $filter: ModelTenantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n tenantsByDefaultPartnerCode(\n defaultPartnerCode: $defaultPartnerCode\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const searchTenants = /* GraphQL */ `\n query SearchTenants(\n $filter: SearchableTenantFilterInput\n $sort: SearchableTenantSortInput\n $limit: Int\n $nextToken: String\n $from: Int\n ) {\n searchTenants(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n ) {\n items {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n nextToken\n total\n }\n }\n`;\nexport const getUser = /* GraphQL */ `\n query GetUser($id: ID!) {\n getUser(id: $id) {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n items {\n id\n userId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n userPrivilege {\n items {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n userLicense {\n items {\n id\n tenantId\n userId\n licenseId\n validFrom\n validTo\n createdAt\n updatedAt\n }\n nextToken\n }\n userRetailStore {\n items {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listUsers = /* GraphQL */ `\n query ListUsers(\n $filter: ModelUserFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listUsers(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getPartnershipRequest = /* GraphQL */ `\n query GetPartnershipRequest($id: ID!) {\n getPartnershipRequest(id: $id) {\n id\n tenantId\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const listPartnershipRequests = /* GraphQL */ `\n query ListPartnershipRequests(\n $filter: ModelPartnershipRequestFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listPartnershipRequests(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getLicense = /* GraphQL */ `\n query GetLicense($id: ID!) {\n getLicense(id: $id) {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n }\n`;\nexport const listLicenses = /* GraphQL */ `\n query ListLicenses(\n $filter: ModelLicenseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listLicenses(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const getAppSettings = /* GraphQL */ `\n query GetAppSettings($id: ID!) {\n getAppSettings(id: $id) {\n id\n firstTenantUserPrivilegeGroups\n defaultCurrency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n oldEJExpDate\n lastTobaccoItemsS3Key\n lastTobaccoBarcodesS3Key\n licensesByDealerS3Key\n happyApk\n createdAt\n updatedAt\n defaultPartner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n AtorderLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n AtorderDeliveryLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EInvoiceItLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityFwDownloadLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityLogsLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserCollectorLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotAutomaticUpdateLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotMultipleUsersLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotOnlineBackupLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotCollectorLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotDealerLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotCateringLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityEJExtensionLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n CalendarLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n ForValueLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserAccountantLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJManagementLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJOneYearLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJTwoYearLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJNoLimitLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n OpticalLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotKioskLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotTobaccoLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n HappyLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n partnerPrivilegeGroup {\n id\n name\n createdAt\n updatedAt\n privileges {\n nextToken\n }\n }\n serviceManagerPrivilegeGroup {\n id\n name\n createdAt\n updatedAt\n privileges {\n nextToken\n }\n }\n lastMoitoIotStableVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n lastMoitoIotBetaVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listAppSettingss = /* GraphQL */ `\n query ListAppSettingss(\n $filter: ModelAppSettingsFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listAppSettingss(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n firstTenantUserPrivilegeGroups\n defaultCurrency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n oldEJExpDate\n lastTobaccoItemsS3Key\n lastTobaccoBarcodesS3Key\n licensesByDealerS3Key\n happyApk\n createdAt\n updatedAt\n defaultPartner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n AtorderLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n AtorderDeliveryLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EInvoiceItLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityFwDownloadLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityLogsLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserCollectorLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotAutomaticUpdateLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotMultipleUsersLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotOnlineBackupLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotCollectorLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotDealerLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotCateringLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityEJExtensionLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n CalendarLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n ForValueLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserAccountantLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJManagementLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJOneYearLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJTwoYearLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJNoLimitLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n OpticalLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotKioskLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotTobaccoLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n HappyLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n partnerPrivilegeGroup {\n id\n name\n createdAt\n updatedAt\n }\n serviceManagerPrivilegeGroup {\n id\n name\n createdAt\n updatedAt\n }\n lastMoitoIotStableVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n lastMoitoIotBetaVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getLicenseRequest = /* GraphQL */ `\n query GetLicenseRequest($id: ID!) {\n getLicenseRequest(id: $id) {\n id\n tenantId\n partnerId\n retailStoreId\n duration\n deleted\n extensions\n startFromDate\n level\n isFree\n autorenew\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n applicantUser {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listLicenseRequests = /* GraphQL */ `\n query ListLicenseRequests(\n $filter: ModelLicenseRequestFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listLicenseRequests(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n partnerId\n retailStoreId\n duration\n deleted\n extensions\n startFromDate\n level\n isFree\n autorenew\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n applicantUser {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const licenseRequestsByPartner = /* GraphQL */ `\n query LicenseRequestsByPartner(\n $partnerId: ID\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelLicenseRequestFilterInput\n $limit: Int\n $nextToken: String\n ) {\n licenseRequestsByPartner(\n partnerId: $partnerId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n partnerId\n retailStoreId\n duration\n deleted\n extensions\n startFromDate\n level\n isFree\n autorenew\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n applicantUser {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const licenseRequestsByRetailStore = /* GraphQL */ `\n query LicenseRequestsByRetailStore(\n $retailStoreId: ID\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelLicenseRequestFilterInput\n $limit: Int\n $nextToken: String\n ) {\n licenseRequestsByRetailStore(\n retailStoreId: $retailStoreId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n partnerId\n retailStoreId\n duration\n deleted\n extensions\n startFromDate\n level\n isFree\n autorenew\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n applicantUser {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getPrivilege = /* GraphQL */ `\n query GetPrivilege($id: ID!) {\n getPrivilege(id: $id) {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n privilegeGroups {\n items {\n id\n privilegeId\n privilegeGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n userPrivilege {\n items {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listPrivileges = /* GraphQL */ `\n query ListPrivileges(\n $filter: ModelPrivilegeFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listPrivileges(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n privilegeGroups {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getPrivilegePrivilegeGroup = /* GraphQL */ `\n query GetPrivilegePrivilegeGroup($id: ID!) {\n getPrivilegePrivilegeGroup(id: $id) {\n id\n privilegeId\n privilegeGroupId\n createdAt\n updatedAt\n privilege {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n privilegeGroups {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n }\n privilegeGroup {\n id\n name\n createdAt\n updatedAt\n privileges {\n nextToken\n }\n }\n }\n }\n`;\nexport const listPrivilegePrivilegeGroups = /* GraphQL */ `\n query ListPrivilegePrivilegeGroups(\n $filter: ModelPrivilegePrivilegeGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listPrivilegePrivilegeGroups(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n privilegeId\n privilegeGroupId\n createdAt\n updatedAt\n privilege {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n }\n privilegeGroup {\n id\n name\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getPrivilegeGroup = /* GraphQL */ `\n query GetPrivilegeGroup($id: ID!) {\n getPrivilegeGroup(id: $id) {\n id\n name\n createdAt\n updatedAt\n privileges {\n items {\n id\n privilegeId\n privilegeGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listPrivilegeGroups = /* GraphQL */ `\n query ListPrivilegeGroups(\n $filter: ModelPrivilegeGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listPrivilegeGroups(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n name\n createdAt\n updatedAt\n privileges {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getTenantUser = /* GraphQL */ `\n query GetTenantUser($id: ID!) {\n getTenantUser(id: $id) {\n id\n userId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const listTenantUsers = /* GraphQL */ `\n query ListTenantUsers(\n $filter: ModelTenantUserFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listTenantUsers(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n userId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const tenantUsersByTenant = /* GraphQL */ `\n query TenantUsersByTenant(\n $tenantId: ID\n $userId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelTenantUserFilterInput\n $limit: Int\n $nextToken: String\n ) {\n tenantUsersByTenant(\n tenantId: $tenantId\n userId: $userId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n userId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const tenantUsersByUser = /* GraphQL */ `\n query TenantUsersByUser(\n $userId: ID\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelTenantUserFilterInput\n $limit: Int\n $nextToken: String\n ) {\n tenantUsersByUser(\n userId: $userId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n userId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getUserPrivilege = /* GraphQL */ `\n query GetUserPrivilege($id: ID!) {\n getUserPrivilege(id: $id) {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n privilege {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n privilegeGroups {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n }\n }\n }\n`;\nexport const listUserPrivileges = /* GraphQL */ `\n query ListUserPrivileges(\n $filter: ModelUserPrivilegeFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listUserPrivileges(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n privilege {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const userPrivilegesByUser = /* GraphQL */ `\n query UserPrivilegesByUser(\n $userId: ID\n $privilegeId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelUserPrivilegeFilterInput\n $limit: Int\n $nextToken: String\n ) {\n userPrivilegesByUser(\n userId: $userId\n privilegeId: $privilegeId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n privilege {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const userPrivilegesByPrivilege = /* GraphQL */ `\n query UserPrivilegesByPrivilege(\n $privilegeId: ID\n $userId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelUserPrivilegeFilterInput\n $limit: Int\n $nextToken: String\n ) {\n userPrivilegesByPrivilege(\n privilegeId: $privilegeId\n userId: $userId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n privilege {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getUserLicense = /* GraphQL */ `\n query GetUserLicense($id: ID!) {\n getUserLicense(id: $id) {\n id\n tenantId\n userId\n licenseId\n validFrom\n validTo\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n retailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listUserLicenses = /* GraphQL */ `\n query ListUserLicenses(\n $filter: ModelUserLicenseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listUserLicenses(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n userId\n licenseId\n validFrom\n validTo\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n retailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const userLicensesByUser = /* GraphQL */ `\n query UserLicensesByUser(\n $userId: ID\n $licenseId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelUserLicenseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n userLicensesByUser(\n userId: $userId\n licenseId: $licenseId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n userId\n licenseId\n validFrom\n validTo\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n retailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const userLicensesByLicense = /* GraphQL */ `\n query UserLicensesByLicense(\n $licenseId: ID\n $userId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelUserLicenseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n userLicensesByLicense(\n licenseId: $licenseId\n userId: $userId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n userId\n licenseId\n validFrom\n validTo\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n retailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const userLicensesByTenant = /* GraphQL */ `\n query UserLicensesByTenant(\n $tenantId: ID\n $userId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelUserLicenseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n userLicensesByTenant(\n tenantId: $tenantId\n userId: $userId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n userId\n licenseId\n validFrom\n validTo\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n retailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getRetailStoreLicense = /* GraphQL */ `\n query GetRetailStoreLicense($id: ID!) {\n getRetailStoreLicense(id: $id) {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const listRetailStoreLicenses = /* GraphQL */ `\n query ListRetailStoreLicenses(\n $filter: ModelRetailStoreLicenseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listRetailStoreLicenses(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const retailStoreLicensesByRetailStore = /* GraphQL */ `\n query RetailStoreLicensesByRetailStore(\n $retailStoreId: ID\n $partnerId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRetailStoreLicenseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n retailStoreLicensesByRetailStore(\n retailStoreId: $retailStoreId\n partnerId: $partnerId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const retailStoreLicensesByPartner = /* GraphQL */ `\n query RetailStoreLicensesByPartner(\n $partnerId: ID\n $retailStoreId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRetailStoreLicenseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n retailStoreLicensesByPartner(\n partnerId: $partnerId\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const retailStoreLicensesByTenant = /* GraphQL */ `\n query RetailStoreLicensesByTenant(\n $tenantId: ID\n $retailStoreId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRetailStoreLicenseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n retailStoreLicensesByTenant(\n tenantId: $tenantId\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const retailStoreLicensesByLicense = /* GraphQL */ `\n query RetailStoreLicensesByLicense(\n $licenseId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelRetailStoreLicenseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n retailStoreLicensesByLicense(\n licenseId: $licenseId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const retailStoreLicensesByLicenseRetailStore = /* GraphQL */ `\n query RetailStoreLicensesByLicenseRetailStore(\n $licenseId: ID\n $retailStoreId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRetailStoreLicenseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n retailStoreLicensesByLicenseRetailStore(\n licenseId: $licenseId\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const searchRetailStoreLicenses = /* GraphQL */ `\n query SearchRetailStoreLicenses(\n $filter: SearchableRetailStoreLicenseFilterInput\n $sort: SearchableRetailStoreLicenseSortInput\n $limit: Int\n $nextToken: String\n $from: Int\n ) {\n searchRetailStoreLicenses(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n ) {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n total\n }\n }\n`;\nexport const getParty = /* GraphQL */ `\n query GetParty($id: ID!) {\n getParty(id: $id) {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n`;\nexport const listPartys = /* GraphQL */ `\n query ListPartys(\n $filter: ModelPartyFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listPartys(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const getCustomer = /* GraphQL */ `\n query GetCustomer($id: ID!) {\n getCustomer(id: $id) {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listCustomers = /* GraphQL */ `\n query ListCustomers(\n $filter: ModelCustomerFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listCustomers(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const customersByTenant = /* GraphQL */ `\n query CustomersByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelCustomerFilterInput\n $limit: Int\n $nextToken: String\n ) {\n customersByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const customersByCompanyVat = /* GraphQL */ `\n query CustomersByCompanyVat(\n $companyVat: String\n $sortDirection: ModelSortDirection\n $filter: ModelCustomerFilterInput\n $limit: Int\n $nextToken: String\n ) {\n customersByCompanyVat(\n companyVat: $companyVat\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const customersByFiscalCode = /* GraphQL */ `\n query CustomersByFiscalCode(\n $fiscalCode: String\n $sortDirection: ModelSortDirection\n $filter: ModelCustomerFilterInput\n $limit: Int\n $nextToken: String\n ) {\n customersByFiscalCode(\n fiscalCode: $fiscalCode\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const customersByMobile = /* GraphQL */ `\n query CustomersByMobile(\n $mobile: String\n $sortDirection: ModelSortDirection\n $filter: ModelCustomerFilterInput\n $limit: Int\n $nextToken: String\n ) {\n customersByMobile(\n mobile: $mobile\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const searchCustomers = /* GraphQL */ `\n query SearchCustomers(\n $filter: SearchableCustomerFilterInput\n $sort: SearchableCustomerSortInput\n $limit: Int\n $nextToken: String\n $from: Int\n ) {\n searchCustomers(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n ) {\n items {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n nextToken\n total\n }\n }\n`;\nexport const getSalesOrder = /* GraphQL */ `\n query GetSalesOrder($id: ID!) {\n getSalesOrder(id: $id) {\n id\n tenantId\n customerId\n retailStoreId\n notes\n extensions\n createdByModule\n deleted\n atorderSessionId\n atorderStatus\n atorderType\n atorderOldDatetime\n datetime\n lastCustomerUpdate\n customerCreationDatetime\n amount\n paymentType\n stripePaymentIntent\n stripePaymentStatus\n stripeRefund\n orderNumber\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n salesOrderLines {\n items {\n id\n tenantId\n salesOrderId\n itemId\n price\n quantity\n notes\n extensions\n sorting\n totalAmount\n vatRate\n modifiedByModule\n createdAt\n updatedAt\n }\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n retailStoreLocation {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listSalesOrders = /* GraphQL */ `\n query ListSalesOrders(\n $filter: ModelSalesOrderFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listSalesOrders(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n customerId\n retailStoreId\n notes\n extensions\n createdByModule\n deleted\n atorderSessionId\n atorderStatus\n atorderType\n atorderOldDatetime\n datetime\n lastCustomerUpdate\n customerCreationDatetime\n amount\n paymentType\n stripePaymentIntent\n stripePaymentStatus\n stripeRefund\n orderNumber\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n salesOrderLines {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreLocation {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const salesOrdersByRetailStore = /* GraphQL */ `\n query SalesOrdersByRetailStore(\n $retailStoreId: ID\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelSalesOrderFilterInput\n $limit: Int\n $nextToken: String\n ) {\n salesOrdersByRetailStore(\n retailStoreId: $retailStoreId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n customerId\n retailStoreId\n notes\n extensions\n createdByModule\n deleted\n atorderSessionId\n atorderStatus\n atorderType\n atorderOldDatetime\n datetime\n lastCustomerUpdate\n customerCreationDatetime\n amount\n paymentType\n stripePaymentIntent\n stripePaymentStatus\n stripeRefund\n orderNumber\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n salesOrderLines {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreLocation {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getSalesOrderLine = /* GraphQL */ `\n query GetSalesOrderLine($id: ID!) {\n getSalesOrderLine(id: $id) {\n id\n tenantId\n salesOrderId\n itemId\n price\n quantity\n notes\n extensions\n sorting\n totalAmount\n vatRate\n modifiedByModule\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n salesOrder {\n id\n tenantId\n customerId\n retailStoreId\n notes\n extensions\n createdByModule\n deleted\n atorderSessionId\n atorderStatus\n atorderType\n atorderOldDatetime\n datetime\n lastCustomerUpdate\n customerCreationDatetime\n amount\n paymentType\n stripePaymentIntent\n stripePaymentStatus\n stripeRefund\n orderNumber\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n salesOrderLines {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreLocation {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n }\n }\n`;\nexport const listSalesOrderLines = /* GraphQL */ `\n query ListSalesOrderLines(\n $filter: ModelSalesOrderLineFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listSalesOrderLines(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n salesOrderId\n itemId\n price\n quantity\n notes\n extensions\n sorting\n totalAmount\n vatRate\n modifiedByModule\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n salesOrder {\n id\n tenantId\n customerId\n retailStoreId\n notes\n extensions\n createdByModule\n deleted\n atorderSessionId\n atorderStatus\n atorderType\n atorderOldDatetime\n datetime\n lastCustomerUpdate\n customerCreationDatetime\n amount\n paymentType\n stripePaymentIntent\n stripePaymentStatus\n stripeRefund\n orderNumber\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const salesOrderLinesBySalesOrder = /* GraphQL */ `\n query SalesOrderLinesBySalesOrder(\n $salesOrderId: ID\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelSalesOrderLineFilterInput\n $limit: Int\n $nextToken: String\n ) {\n salesOrderLinesBySalesOrder(\n salesOrderId: $salesOrderId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n salesOrderId\n itemId\n price\n quantity\n notes\n extensions\n sorting\n totalAmount\n vatRate\n modifiedByModule\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n salesOrder {\n id\n tenantId\n customerId\n retailStoreId\n notes\n extensions\n createdByModule\n deleted\n atorderSessionId\n atorderStatus\n atorderType\n atorderOldDatetime\n datetime\n lastCustomerUpdate\n customerCreationDatetime\n amount\n paymentType\n stripePaymentIntent\n stripePaymentStatus\n stripeRefund\n orderNumber\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getItem = /* GraphQL */ `\n query GetItem($id: ID!) {\n getItem(id: $id) {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n itemGroup {\n items {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n priceList {\n items {\n id\n tenantId\n itemId\n priceListId\n price\n deleted\n extensions\n createdAt\n updatedAt\n }\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n variantGroups {\n items {\n id\n tenantId\n variantGroupId\n itemId\n createdAt\n updatedAt\n }\n nextToken\n }\n logicalPrinters {\n items {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n isMain\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listItems = /* GraphQL */ `\n query ListItems(\n $filter: ModelItemFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listItems(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const itemsByTenant = /* GraphQL */ `\n query ItemsByTenant(\n $tenantId: ID\n $sorting: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelItemFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemsByTenant(\n tenantId: $tenantId\n sorting: $sorting\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const itemsByName = /* GraphQL */ `\n query ItemsByName(\n $name: String\n $sortDirection: ModelSortDirection\n $filter: ModelItemFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemsByName(\n name: $name\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const itemsByExternalId = /* GraphQL */ `\n query ItemsByExternalId(\n $externalId: String\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelItemFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemsByExternalId(\n externalId: $externalId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const searchItems = /* GraphQL */ `\n query SearchItems(\n $filter: SearchableItemFilterInput\n $sort: SearchableItemSortInput\n $limit: Int\n $nextToken: String\n $from: Int\n ) {\n searchItems(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n ) {\n items {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n nextToken\n total\n }\n }\n`;\nexport const getItemItemGroup = /* GraphQL */ `\n query GetItemItemGroup($id: ID!) {\n getItemItemGroup(id: $id) {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n itemGroup {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n }\n }\n }\n`;\nexport const listItemItemGroups = /* GraphQL */ `\n query ListItemItemGroups(\n $filter: ModelItemItemGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listItemItemGroups(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n itemGroup {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const itemItemGroupsByItem = /* GraphQL */ `\n query ItemItemGroupsByItem(\n $itemId: ID\n $itemGroupId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelItemItemGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemItemGroupsByItem(\n itemId: $itemId\n itemGroupId: $itemGroupId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n itemGroup {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const itemItemGroupsByItemGroup = /* GraphQL */ `\n query ItemItemGroupsByItemGroup(\n $itemGroupId: ID\n $itemId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelItemItemGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemItemGroupsByItemGroup(\n itemGroupId: $itemGroupId\n itemId: $itemId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n itemGroup {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const itemItemGroupsByTenant = /* GraphQL */ `\n query ItemItemGroupsByTenant(\n $tenantId: ID\n $itemId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelItemItemGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemItemGroupsByTenant(\n tenantId: $tenantId\n itemId: $itemId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n itemGroup {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getItemGroup = /* GraphQL */ `\n query GetItemGroup($id: ID!) {\n getItemGroup(id: $id) {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n items {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listItemGroups = /* GraphQL */ `\n query ListItemGroups(\n $filter: ModelItemGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listItemGroups(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const itemGroupsByTenant = /* GraphQL */ `\n query ItemGroupsByTenant(\n $tenantId: ID\n $sorting: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelItemGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemGroupsByTenant(\n tenantId: $tenantId\n sorting: $sorting\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const itemGroupsByExternalId = /* GraphQL */ `\n query ItemGroupsByExternalId(\n $externalId: String\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelItemGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemGroupsByExternalId(\n externalId: $externalId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const itemGroupsByName = /* GraphQL */ `\n query ItemGroupsByName(\n $name: String\n $sortDirection: ModelSortDirection\n $filter: ModelItemGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemGroupsByName(\n name: $name\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const searchItemGroups = /* GraphQL */ `\n query SearchItemGroups(\n $filter: SearchableItemGroupFilterInput\n $sort: SearchableItemGroupSortInput\n $limit: Int\n $nextToken: String\n $from: Int\n ) {\n searchItemGroups(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n ) {\n items {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n }\n nextToken\n total\n }\n }\n`;\nexport const getItemPriceList = /* GraphQL */ `\n query GetItemPriceList($id: ID!) {\n getItemPriceList(id: $id) {\n id\n tenantId\n itemId\n priceListId\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n price\n deleted\n extensions\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listItemPriceLists = /* GraphQL */ `\n query ListItemPriceLists(\n $filter: ModelItemPriceListFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listItemPriceLists(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n itemId\n priceListId\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n price\n deleted\n extensions\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const itemPriceListsByItem = /* GraphQL */ `\n query ItemPriceListsByItem(\n $itemId: ID\n $priceListId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelItemPriceListFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemPriceListsByItem(\n itemId: $itemId\n priceListId: $priceListId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n itemId\n priceListId\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n price\n deleted\n extensions\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const itemPriceListsByPriceList = /* GraphQL */ `\n query ItemPriceListsByPriceList(\n $priceListId: ID\n $itemId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelItemPriceListFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemPriceListsByPriceList(\n priceListId: $priceListId\n itemId: $itemId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n itemId\n priceListId\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n price\n deleted\n extensions\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const itemPriceListsByTenant = /* GraphQL */ `\n query ItemPriceListsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelItemPriceListFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemPriceListsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n itemId\n priceListId\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n price\n deleted\n extensions\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getPriceList = /* GraphQL */ `\n query GetPriceList($id: ID!) {\n getPriceList(id: $id) {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n items {\n id\n tenantId\n itemId\n priceListId\n price\n deleted\n extensions\n createdAt\n updatedAt\n }\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const listPriceLists = /* GraphQL */ `\n query ListPriceLists(\n $filter: ModelPriceListFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listPriceLists(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const priceListsByTenant = /* GraphQL */ `\n query PriceListsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelPriceListFilterInput\n $limit: Int\n $nextToken: String\n ) {\n priceListsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const priceListsByRetailStore = /* GraphQL */ `\n query PriceListsByRetailStore(\n $retailStoreId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelPriceListFilterInput\n $limit: Int\n $nextToken: String\n ) {\n priceListsByRetailStore(\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getRetailStore = /* GraphQL */ `\n query GetRetailStore($id: ID!) {\n getRetailStore(id: $id) {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStoreLicense {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n items {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n cashRegisters {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listRetailStores = /* GraphQL */ `\n query ListRetailStores(\n $filter: ModelRetailStoreFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listRetailStores(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const retailStoresByTenant = /* GraphQL */ `\n query RetailStoresByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelRetailStoreFilterInput\n $limit: Int\n $nextToken: String\n ) {\n retailStoresByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const retailStoresByPartner = /* GraphQL */ `\n query RetailStoresByPartner(\n $partnerId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelRetailStoreFilterInput\n $limit: Int\n $nextToken: String\n ) {\n retailStoresByPartner(\n partnerId: $partnerId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getRetailStoreRoom = /* GraphQL */ `\n query GetRetailStoreRoom($id: ID!) {\n getRetailStoreRoom(id: $id) {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n coverItem {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listRetailStoreRooms = /* GraphQL */ `\n query ListRetailStoreRooms(\n $filter: ModelRetailStoreRoomFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listRetailStoreRooms(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n coverItem {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const retailStoreRoomsByRetailStore = /* GraphQL */ `\n query RetailStoreRoomsByRetailStore(\n $retailStoreId: ID\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRetailStoreRoomFilterInput\n $limit: Int\n $nextToken: String\n ) {\n retailStoreRoomsByRetailStore(\n retailStoreId: $retailStoreId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n coverItem {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getRetailStoreLocation = /* GraphQL */ `\n query GetRetailStoreLocation($id: ID!) {\n getRetailStoreLocation(id: $id) {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n coverItem {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listRetailStoreLocations = /* GraphQL */ `\n query ListRetailStoreLocations(\n $filter: ModelRetailStoreLocationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listRetailStoreLocations(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const retailStoreLocationsByRetailStoreRoom = /* GraphQL */ `\n query RetailStoreLocationsByRetailStoreRoom(\n $retailStoreRoomId: ID\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRetailStoreLocationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n retailStoreLocationsByRetailStoreRoom(\n retailStoreRoomId: $retailStoreRoomId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const retailStoreLocationsByRetailStore = /* GraphQL */ `\n query RetailStoreLocationsByRetailStore(\n $retailStoreId: ID\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRetailStoreLocationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n retailStoreLocationsByRetailStore(\n retailStoreId: $retailStoreId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const retailStoreLocationsByRetailStoreName = /* GraphQL */ `\n query RetailStoreLocationsByRetailStoreName(\n $retailStoreId: ID\n $name: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRetailStoreLocationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n retailStoreLocationsByRetailStoreName(\n retailStoreId: $retailStoreId\n name: $name\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getUserRetailStore = /* GraphQL */ `\n query GetUserRetailStore($id: ID!) {\n getUserRetailStore(id: $id) {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const listUserRetailStores = /* GraphQL */ `\n query ListUserRetailStores(\n $filter: ModelUserRetailStoreFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listUserRetailStores(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const userRetailStoresByUser = /* GraphQL */ `\n query UserRetailStoresByUser(\n $userId: ID\n $retailStoreId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelUserRetailStoreFilterInput\n $limit: Int\n $nextToken: String\n ) {\n userRetailStoresByUser(\n userId: $userId\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const userRetailStoresByRetailStore = /* GraphQL */ `\n query UserRetailStoresByRetailStore(\n $retailStoreId: ID\n $userId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelUserRetailStoreFilterInput\n $limit: Int\n $nextToken: String\n ) {\n userRetailStoresByRetailStore(\n retailStoreId: $retailStoreId\n userId: $userId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getNotification = /* GraphQL */ `\n query GetNotification($id: ID!) {\n getNotification(id: $id) {\n id\n tenantId\n userId\n type\n status\n context\n text\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n news {\n id\n title\n description\n notified\n type\n attribute\n createdAt\n updatedAt\n }\n }\n }\n`;\nexport const listNotifications = /* GraphQL */ `\n query ListNotifications(\n $filter: ModelNotificationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listNotifications(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n userId\n type\n status\n context\n text\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n news {\n id\n title\n description\n notified\n type\n attribute\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const notificationsByTenant = /* GraphQL */ `\n query NotificationsByTenant(\n $tenantId: ID\n $userId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelNotificationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n notificationsByTenant(\n tenantId: $tenantId\n userId: $userId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n userId\n type\n status\n context\n text\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n news {\n id\n title\n description\n notified\n type\n attribute\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const notificationsByUser = /* GraphQL */ `\n query NotificationsByUser(\n $userId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelNotificationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n notificationsByUser(\n userId: $userId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n userId\n type\n status\n context\n text\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n news {\n id\n title\n description\n notified\n type\n attribute\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getInvoiceSectional = /* GraphQL */ `\n query GetInvoiceSectional($id: ID!) {\n getInvoiceSectional(id: $id) {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const listInvoiceSectionals = /* GraphQL */ `\n query ListInvoiceSectionals(\n $filter: ModelInvoiceSectionalFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listInvoiceSectionals(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const invoiceSectionalsByTenant = /* GraphQL */ `\n query InvoiceSectionalsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelInvoiceSectionalFilterInput\n $limit: Int\n $nextToken: String\n ) {\n invoiceSectionalsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const invoiceSectionalsByRetailStore = /* GraphQL */ `\n query InvoiceSectionalsByRetailStore(\n $retailStoreId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelInvoiceSectionalFilterInput\n $limit: Int\n $nextToken: String\n ) {\n invoiceSectionalsByRetailStore(\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getSalesInvoice = /* GraphQL */ `\n query GetSalesInvoice($id: ID!) {\n getSalesInvoice(id: $id) {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n salesInvoiceLines {\n items {\n id\n tenantId\n salesInvoiceId\n vatRate\n vatCode\n vatCodeDescription\n lineNum\n price\n quantity\n unitPrice\n taxableAmount\n vatAmount\n discountType\n discountAmount\n extensions\n notes\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listSalesInvoices = /* GraphQL */ `\n query ListSalesInvoices(\n $filter: ModelSalesInvoiceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listSalesInvoices(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n salesInvoiceLines {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const salesInvoicesByTenant = /* GraphQL */ `\n query SalesInvoicesByTenant(\n $tenantId: ID\n $customerId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelSalesInvoiceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n salesInvoicesByTenant(\n tenantId: $tenantId\n customerId: $customerId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n salesInvoiceLines {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const salesInvoicesByTenantSortData = /* GraphQL */ `\n query SalesInvoicesByTenantSortData(\n $tenantId: ID\n $date: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelSalesInvoiceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n salesInvoicesByTenantSortData(\n tenantId: $tenantId\n date: $date\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n salesInvoiceLines {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const salesInvoicesByRetailStore = /* GraphQL */ `\n query SalesInvoicesByRetailStore(\n $retailStoreId: ID\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelSalesInvoiceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n salesInvoicesByRetailStore(\n retailStoreId: $retailStoreId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n salesInvoiceLines {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const salesInvoicesByCustomer = /* GraphQL */ `\n query SalesInvoicesByCustomer(\n $customerId: ID\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelSalesInvoiceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n salesInvoicesByCustomer(\n customerId: $customerId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n salesInvoiceLines {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getSalesInvoiceLine = /* GraphQL */ `\n query GetSalesInvoiceLine($id: ID!) {\n getSalesInvoiceLine(id: $id) {\n id\n tenantId\n salesInvoiceId\n vatRate\n vatCode\n vatCodeDescription\n lineNum\n price\n quantity\n unitPrice\n taxableAmount\n vatAmount\n discountType\n discountAmount\n extensions\n notes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n salesInvoice {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n salesInvoiceLines {\n nextToken\n }\n }\n }\n }\n`;\nexport const listSalesInvoiceLines = /* GraphQL */ `\n query ListSalesInvoiceLines(\n $filter: ModelSalesInvoiceLineFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listSalesInvoiceLines(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n salesInvoiceId\n vatRate\n vatCode\n vatCodeDescription\n lineNum\n price\n quantity\n unitPrice\n taxableAmount\n vatAmount\n discountType\n discountAmount\n extensions\n notes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n salesInvoice {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const salesInvoiceLinesBySalesInvoice = /* GraphQL */ `\n query SalesInvoiceLinesBySalesInvoice(\n $salesInvoiceId: ID\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelSalesInvoiceLineFilterInput\n $limit: Int\n $nextToken: String\n ) {\n salesInvoiceLinesBySalesInvoice(\n salesInvoiceId: $salesInvoiceId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n salesInvoiceId\n vatRate\n vatCode\n vatCodeDescription\n lineNum\n price\n quantity\n unitPrice\n taxableAmount\n vatAmount\n discountType\n discountAmount\n extensions\n notes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n salesInvoice {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getEInvoiceTransmission = /* GraphQL */ `\n query GetEInvoiceTransmission($id: ID!) {\n getEInvoiceTransmission(id: $id) {\n id\n tenantId\n salesInvoiceId\n retailStoreId\n datetime\n status\n details\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n salesInvoice {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n salesInvoiceLines {\n nextToken\n }\n }\n }\n }\n`;\nexport const listEInvoiceTransmissions = /* GraphQL */ `\n query ListEInvoiceTransmissions(\n $filter: ModelEInvoiceTransmissionFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEInvoiceTransmissions(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n salesInvoiceId\n retailStoreId\n datetime\n status\n details\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n salesInvoice {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const einvoiceTransmissionsByRetailStore = /* GraphQL */ `\n query EinvoiceTransmissionsByRetailStore(\n $retailStoreId: ID\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelEInvoiceTransmissionFilterInput\n $limit: Int\n $nextToken: String\n ) {\n einvoiceTransmissionsByRetailStore(\n retailStoreId: $retailStoreId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n salesInvoiceId\n retailStoreId\n datetime\n status\n details\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n salesInvoice {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const einvoiceTransmissionsBySalesInvoice = /* GraphQL */ `\n query EinvoiceTransmissionsBySalesInvoice(\n $salesInvoiceId: ID\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelEInvoiceTransmissionFilterInput\n $limit: Int\n $nextToken: String\n ) {\n einvoiceTransmissionsBySalesInvoice(\n salesInvoiceId: $salesInvoiceId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n salesInvoiceId\n retailStoreId\n datetime\n status\n details\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n salesInvoice {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getElectronicCashRegister = /* GraphQL */ `\n query GetElectronicCashRegister($id: ID!) {\n getElectronicCashRegister(id: $id) {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listElectronicCashRegisters = /* GraphQL */ `\n query ListElectronicCashRegisters(\n $filter: ModelElectronicCashRegisterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listElectronicCashRegisters(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const electronicCashRegistersByTenant = /* GraphQL */ `\n query ElectronicCashRegistersByTenant(\n $tenantId: ID\n $retailStoreId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelElectronicCashRegisterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n electronicCashRegistersByTenant(\n tenantId: $tenantId\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const electronicCashRegistersByRetailStore = /* GraphQL */ `\n query ElectronicCashRegistersByRetailStore(\n $retailStoreId: ID\n $tenantId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelElectronicCashRegisterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n electronicCashRegistersByRetailStore(\n retailStoreId: $retailStoreId\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const electronicCashRegistersByPartner = /* GraphQL */ `\n query ElectronicCashRegistersByPartner(\n $partnerId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelElectronicCashRegisterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n electronicCashRegistersByPartner(\n partnerId: $partnerId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const electronicCashRegistersByNumber = /* GraphQL */ `\n query ElectronicCashRegistersByNumber(\n $number: String\n $sortDirection: ModelSortDirection\n $filter: ModelElectronicCashRegisterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n electronicCashRegistersByNumber(\n number: $number\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const electronicCashRegistersByDigitalCashRegister = /* GraphQL */ `\n query ElectronicCashRegistersByDigitalCashRegister(\n $digitalCashRegisterId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelElectronicCashRegisterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n electronicCashRegistersByDigitalCashRegister(\n digitalCashRegisterId: $digitalCashRegisterId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const searchElectronicCashRegisters = /* GraphQL */ `\n query SearchElectronicCashRegisters(\n $filter: SearchableElectronicCashRegisterFilterInput\n $sort: SearchableElectronicCashRegisterSortInput\n $limit: Int\n $nextToken: String\n $from: Int\n ) {\n searchElectronicCashRegisters(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n nextToken\n total\n }\n }\n`;\nexport const getECRConfiguration = /* GraphQL */ `\n query GetECRConfiguration($id: ID!) {\n getECRConfiguration(id: $id) {\n id\n partnerId\n number\n content\n version\n plu\n status\n logs\n createdAt\n updatedAt\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listECRConfigurations = /* GraphQL */ `\n query ListECRConfigurations(\n $filter: ModelECRConfigurationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listECRConfigurations(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n partnerId\n number\n content\n version\n plu\n status\n logs\n createdAt\n updatedAt\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const ecrConfigurationsByNumber = /* GraphQL */ `\n query EcrConfigurationsByNumber(\n $number: String\n $sortDirection: ModelSortDirection\n $filter: ModelECRConfigurationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n ecrConfigurationsByNumber(\n number: $number\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n partnerId\n number\n content\n version\n plu\n status\n logs\n createdAt\n updatedAt\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getECRDailySales = /* GraphQL */ `\n query GetECRDailySales($id: ID!) {\n getECRDailySales(id: $id) {\n id\n tenantId\n electronicCashRegisterId\n number\n datetime\n content\n notified\n accountantId\n createdAt\n updatedAt\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listECRDailySaless = /* GraphQL */ `\n query ListECRDailySaless(\n $filter: ModelECRDailySalesFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listECRDailySaless(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n electronicCashRegisterId\n number\n datetime\n content\n notified\n accountantId\n createdAt\n updatedAt\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const ecrDailySalesByElectronicCashRegisterId = /* GraphQL */ `\n query EcrDailySalesByElectronicCashRegisterId(\n $electronicCashRegisterId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelECRDailySalesFilterInput\n $limit: Int\n $nextToken: String\n ) {\n ecrDailySalesByElectronicCashRegisterId(\n electronicCashRegisterId: $electronicCashRegisterId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n electronicCashRegisterId\n number\n datetime\n content\n notified\n accountantId\n createdAt\n updatedAt\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getECRDailyTech = /* GraphQL */ `\n query GetECRDailyTech($id: ID!) {\n getECRDailyTech(id: $id) {\n id\n number\n datetime\n content\n rtUtilityProcessed\n createdAt\n updatedAt\n }\n }\n`;\nexport const listECRDailyTechs = /* GraphQL */ `\n query ListECRDailyTechs(\n $filter: ModelECRDailyTechFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listECRDailyTechs(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n number\n datetime\n content\n rtUtilityProcessed\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const ecrDailyTechsByNumber = /* GraphQL */ `\n query EcrDailyTechsByNumber(\n $number: String\n $datetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelECRDailyTechFilterInput\n $limit: Int\n $nextToken: String\n ) {\n ecrDailyTechsByNumber(\n number: $number\n datetime: $datetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n number\n datetime\n content\n rtUtilityProcessed\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const getECRTechIntervention = /* GraphQL */ `\n query GetECRTechIntervention($id: ID!) {\n getECRTechIntervention(id: $id) {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const listECRTechInterventions = /* GraphQL */ `\n query ListECRTechInterventions(\n $filter: ModelECRTechInterventionFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listECRTechInterventions(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const ecrTechInterventionsByPartner = /* GraphQL */ `\n query EcrTechInterventionsByPartner(\n $partnerId: ID\n $datetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelECRTechInterventionFilterInput\n $limit: Int\n $nextToken: String\n ) {\n ecrTechInterventionsByPartner(\n partnerId: $partnerId\n datetime: $datetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const ecrTechInterventionsByNumber = /* GraphQL */ `\n query EcrTechInterventionsByNumber(\n $number: String\n $datetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelECRTechInterventionFilterInput\n $limit: Int\n $nextToken: String\n ) {\n ecrTechInterventionsByNumber(\n number: $number\n datetime: $datetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const searchECRTechInterventions = /* GraphQL */ `\n query SearchECRTechInterventions(\n $filter: SearchableECRTechInterventionFilterInput\n $sort: SearchableECRTechInterventionSortInput\n $limit: Int\n $nextToken: String\n $from: Int\n ) {\n searchECRTechInterventions(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n ) {\n items {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n total\n }\n }\n`;\nexport const getECRError = /* GraphQL */ `\n query GetECRError($id: ID!) {\n getECRError(id: $id) {\n id\n partnerId\n tenantId\n retailStoreId\n number\n code\n description\n datetime\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const listECRErrors = /* GraphQL */ `\n query ListECRErrors(\n $filter: ModelECRErrorFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listECRErrors(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n partnerId\n tenantId\n retailStoreId\n number\n code\n description\n datetime\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const ecrErrorsByPartner = /* GraphQL */ `\n query EcrErrorsByPartner(\n $partnerId: ID\n $datetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelECRErrorFilterInput\n $limit: Int\n $nextToken: String\n ) {\n ecrErrorsByPartner(\n partnerId: $partnerId\n datetime: $datetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n partnerId\n tenantId\n retailStoreId\n number\n code\n description\n datetime\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const ecrErrorsByNumber = /* GraphQL */ `\n query EcrErrorsByNumber(\n $number: String\n $datetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelECRErrorFilterInput\n $limit: Int\n $nextToken: String\n ) {\n ecrErrorsByNumber(\n number: $number\n datetime: $datetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n partnerId\n tenantId\n retailStoreId\n number\n code\n description\n datetime\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const searchECRErrors = /* GraphQL */ `\n query SearchECRErrors(\n $filter: SearchableECRErrorFilterInput\n $sort: SearchableECRErrorSortInput\n $limit: Int\n $nextToken: String\n $from: Int\n ) {\n searchECRErrors(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n ) {\n items {\n id\n partnerId\n tenantId\n retailStoreId\n number\n code\n description\n datetime\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n total\n }\n }\n`;\nexport const getFirmware = /* GraphQL */ `\n query GetFirmware($id: ID!) {\n getFirmware(id: $id) {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n }\n`;\nexport const listFirmwares = /* GraphQL */ `\n query ListFirmwares(\n $filter: ModelFirmwareFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listFirmwares(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const getFirmwareUpgradeHeader = /* GraphQL */ `\n query GetFirmwareUpgradeHeader($id: ID!) {\n getFirmwareUpgradeHeader(id: $id) {\n id\n tenantId\n firmwareId\n isServiceManagerIntervention\n fiscalCode\n datetime\n vatNumber\n cancelled\n linesCount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n firmware {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n lines {\n items {\n id\n tenantId\n number\n installed\n cancelled\n headerId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listFirmwareUpgradeHeaders = /* GraphQL */ `\n query ListFirmwareUpgradeHeaders(\n $filter: ModelFirmwareUpgradeHeaderFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listFirmwareUpgradeHeaders(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n firmwareId\n isServiceManagerIntervention\n fiscalCode\n datetime\n vatNumber\n cancelled\n linesCount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n firmware {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n lines {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const firmwareUpgradeHeadersByTenant = /* GraphQL */ `\n query FirmwareUpgradeHeadersByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelFirmwareUpgradeHeaderFilterInput\n $limit: Int\n $nextToken: String\n ) {\n firmwareUpgradeHeadersByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n firmwareId\n isServiceManagerIntervention\n fiscalCode\n datetime\n vatNumber\n cancelled\n linesCount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n firmware {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n lines {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const firmwareUpgradeHeadersByFirmware = /* GraphQL */ `\n query FirmwareUpgradeHeadersByFirmware(\n $firmwareId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelFirmwareUpgradeHeaderFilterInput\n $limit: Int\n $nextToken: String\n ) {\n firmwareUpgradeHeadersByFirmware(\n firmwareId: $firmwareId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n firmwareId\n isServiceManagerIntervention\n fiscalCode\n datetime\n vatNumber\n cancelled\n linesCount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n firmware {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n lines {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const firmwareUpgradeHeadersByTenantSortDatetime = /* GraphQL */ `\n query FirmwareUpgradeHeadersByTenantSortDatetime(\n $tenantId: ID\n $datetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelFirmwareUpgradeHeaderFilterInput\n $limit: Int\n $nextToken: String\n ) {\n firmwareUpgradeHeadersByTenantSortDatetime(\n tenantId: $tenantId\n datetime: $datetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n firmwareId\n isServiceManagerIntervention\n fiscalCode\n datetime\n vatNumber\n cancelled\n linesCount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n firmware {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n lines {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getFirmwareUpgradeLine = /* GraphQL */ `\n query GetFirmwareUpgradeLine($id: ID!) {\n getFirmwareUpgradeLine(id: $id) {\n id\n tenantId\n number\n installed\n cancelled\n headerId\n createdAt\n updatedAt\n header {\n id\n tenantId\n firmwareId\n isServiceManagerIntervention\n fiscalCode\n datetime\n vatNumber\n cancelled\n linesCount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n firmware {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n lines {\n nextToken\n }\n }\n }\n }\n`;\nexport const listFirmwareUpgradeLines = /* GraphQL */ `\n query ListFirmwareUpgradeLines(\n $filter: ModelFirmwareUpgradeLineFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listFirmwareUpgradeLines(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n number\n installed\n cancelled\n headerId\n createdAt\n updatedAt\n header {\n id\n tenantId\n firmwareId\n isServiceManagerIntervention\n fiscalCode\n datetime\n vatNumber\n cancelled\n linesCount\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const firmwareUpgradeLinesByHeader = /* GraphQL */ `\n query FirmwareUpgradeLinesByHeader(\n $headerId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelFirmwareUpgradeLineFilterInput\n $limit: Int\n $nextToken: String\n ) {\n firmwareUpgradeLinesByHeader(\n headerId: $headerId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n number\n installed\n cancelled\n headerId\n createdAt\n updatedAt\n header {\n id\n tenantId\n firmwareId\n isServiceManagerIntervention\n fiscalCode\n datetime\n vatNumber\n cancelled\n linesCount\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const firmwareUpgradeLinesByNumber = /* GraphQL */ `\n query FirmwareUpgradeLinesByNumber(\n $number: String\n $sortDirection: ModelSortDirection\n $filter: ModelFirmwareUpgradeLineFilterInput\n $limit: Int\n $nextToken: String\n ) {\n firmwareUpgradeLinesByNumber(\n number: $number\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n number\n installed\n cancelled\n headerId\n createdAt\n updatedAt\n header {\n id\n tenantId\n firmwareId\n isServiceManagerIntervention\n fiscalCode\n datetime\n vatNumber\n cancelled\n linesCount\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getCertificate = /* GraphQL */ `\n query GetCertificate($id: ID!) {\n getCertificate(id: $id) {\n id\n name\n type\n notes\n filename\n deleted\n createdAt\n updatedAt\n }\n }\n`;\nexport const listCertificates = /* GraphQL */ `\n query ListCertificates(\n $filter: ModelCertificateFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listCertificates(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n name\n type\n notes\n filename\n deleted\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const getCommunication = /* GraphQL */ `\n query GetCommunication($id: ID!) {\n getCommunication(id: $id) {\n id\n title\n description\n notified\n type\n attribute\n createdAt\n updatedAt\n }\n }\n`;\nexport const listCommunications = /* GraphQL */ `\n query ListCommunications(\n $filter: ModelCommunicationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listCommunications(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n title\n description\n notified\n type\n attribute\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const getFirmwareStat = /* GraphQL */ `\n query GetFirmwareStat($id: ID!) {\n getFirmwareStat(id: $id) {\n id\n version\n numbers\n createdAt\n updatedAt\n }\n }\n`;\nexport const listFirmwareStats = /* GraphQL */ `\n query ListFirmwareStats(\n $filter: ModelFirmwareStatFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listFirmwareStats(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n version\n numbers\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const getMoitoIot = /* GraphQL */ `\n query GetMoitoIot($id: ID!) {\n getMoitoIot(id: $id) {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listMoitoIots = /* GraphQL */ `\n query ListMoitoIots(\n $filter: ModelMoitoIotFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listMoitoIots(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const moitoIotsByTenant = /* GraphQL */ `\n query MoitoIotsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelMoitoIotFilterInput\n $limit: Int\n $nextToken: String\n ) {\n moitoIotsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const moitoIotsByRetailStore = /* GraphQL */ `\n query MoitoIotsByRetailStore(\n $retailStoreId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelMoitoIotFilterInput\n $limit: Int\n $nextToken: String\n ) {\n moitoIotsByRetailStore(\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const moitoIotsByPartner = /* GraphQL */ `\n query MoitoIotsByPartner(\n $partnerId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelMoitoIotFilterInput\n $limit: Int\n $nextToken: String\n ) {\n moitoIotsByPartner(\n partnerId: $partnerId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const moitoIotsByCode = /* GraphQL */ `\n query MoitoIotsByCode(\n $code: String\n $sortDirection: ModelSortDirection\n $filter: ModelMoitoIotFilterInput\n $limit: Int\n $nextToken: String\n ) {\n moitoIotsByCode(\n code: $code\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const searchMoitoIots = /* GraphQL */ `\n query SearchMoitoIots(\n $filter: SearchableMoitoIotFilterInput\n $sort: SearchableMoitoIotSortInput\n $limit: Int\n $nextToken: String\n $from: Int\n ) {\n searchMoitoIots(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n nextToken\n total\n }\n }\n`;\nexport const getMoitoIotAppVersion = /* GraphQL */ `\n query GetMoitoIotAppVersion($id: ID!) {\n getMoitoIotAppVersion(id: $id) {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listMoitoIotAppVersions = /* GraphQL */ `\n query ListMoitoIotAppVersions(\n $filter: ModelMoitoIotAppVersionFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listMoitoIotAppVersions(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const moitoIotAppVersionsByAdmin = /* GraphQL */ `\n query MoitoIotAppVersionsByAdmin(\n $adminId: ID\n $datetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelMoitoIotAppVersionFilterInput\n $limit: Int\n $nextToken: String\n ) {\n moitoIotAppVersionsByAdmin(\n adminId: $adminId\n datetime: $datetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getPurchInvoice = /* GraphQL */ `\n query GetPurchInvoice($id: ID!) {\n getPurchInvoice(id: $id) {\n id\n tenantId\n number\n date\n idSdi\n vendorId\n filename\n progressiveId\n type\n xmlS3Key\n pdfS3Key\n taxableAmount\n vatAmount\n paymentDueDate\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n vendor {\n id\n tenantId\n deleted\n companyName\n companyVat\n fiscalCode\n zipCode\n county\n municipality\n address\n country\n recipientCode\n email\n mobile\n extensions\n costCenterId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n costCenter {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listPurchInvoices = /* GraphQL */ `\n query ListPurchInvoices(\n $filter: ModelPurchInvoiceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listPurchInvoices(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n number\n date\n idSdi\n vendorId\n filename\n progressiveId\n type\n xmlS3Key\n pdfS3Key\n taxableAmount\n vatAmount\n paymentDueDate\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vendor {\n id\n tenantId\n deleted\n companyName\n companyVat\n fiscalCode\n zipCode\n county\n municipality\n address\n country\n recipientCode\n email\n mobile\n extensions\n costCenterId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const purchInvoicesByTenant = /* GraphQL */ `\n query PurchInvoicesByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelPurchInvoiceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n purchInvoicesByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n number\n date\n idSdi\n vendorId\n filename\n progressiveId\n type\n xmlS3Key\n pdfS3Key\n taxableAmount\n vatAmount\n paymentDueDate\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vendor {\n id\n tenantId\n deleted\n companyName\n companyVat\n fiscalCode\n zipCode\n county\n municipality\n address\n country\n recipientCode\n email\n mobile\n extensions\n costCenterId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const purchInvoicesByVendor = /* GraphQL */ `\n query PurchInvoicesByVendor(\n $vendorId: ID\n $date: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelPurchInvoiceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n purchInvoicesByVendor(\n vendorId: $vendorId\n date: $date\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n number\n date\n idSdi\n vendorId\n filename\n progressiveId\n type\n xmlS3Key\n pdfS3Key\n taxableAmount\n vatAmount\n paymentDueDate\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vendor {\n id\n tenantId\n deleted\n companyName\n companyVat\n fiscalCode\n zipCode\n county\n municipality\n address\n country\n recipientCode\n email\n mobile\n extensions\n costCenterId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getPublishedMoitoIotMessage = /* GraphQL */ `\n query GetPublishedMoitoIotMessage($id: ID!) {\n getPublishedMoitoIotMessage(id: $id) {\n id\n timestamp\n deviceId\n payload\n createdAt\n updatedAt\n }\n }\n`;\nexport const listPublishedMoitoIotMessages = /* GraphQL */ `\n query ListPublishedMoitoIotMessages(\n $filter: ModelPublishedMoitoIotMessageFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listPublishedMoitoIotMessages(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n timestamp\n deviceId\n payload\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const publishedMoitoIotMessagesByDeviceId = /* GraphQL */ `\n query PublishedMoitoIotMessagesByDeviceId(\n $deviceId: String\n $timestamp: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelPublishedMoitoIotMessageFilterInput\n $limit: Int\n $nextToken: String\n ) {\n publishedMoitoIotMessagesByDeviceId(\n deviceId: $deviceId\n timestamp: $timestamp\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n timestamp\n deviceId\n payload\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const getReceivedMoitoIotMessage = /* GraphQL */ `\n query GetReceivedMoitoIotMessage($id: ID!) {\n getReceivedMoitoIotMessage(id: $id) {\n id\n timestamp\n deviceId\n payload\n createdAt\n updatedAt\n }\n }\n`;\nexport const listReceivedMoitoIotMessages = /* GraphQL */ `\n query ListReceivedMoitoIotMessages(\n $filter: ModelReceivedMoitoIotMessageFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listReceivedMoitoIotMessages(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n timestamp\n deviceId\n payload\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const receivedMoitoIotMessageByDeviceId = /* GraphQL */ `\n query ReceivedMoitoIotMessageByDeviceId(\n $deviceId: String\n $timestamp: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelReceivedMoitoIotMessageFilterInput\n $limit: Int\n $nextToken: String\n ) {\n receivedMoitoIotMessageByDeviceId(\n deviceId: $deviceId\n timestamp: $timestamp\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n timestamp\n deviceId\n payload\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const getVatRate = /* GraphQL */ `\n query GetVatRate($id: ID!) {\n getVatRate(id: $id) {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listVatRates = /* GraphQL */ `\n query ListVatRates(\n $filter: ModelVatRateFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listVatRates(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const vatRatesByTenant = /* GraphQL */ `\n query VatRatesByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelVatRateFilterInput\n $limit: Int\n $nextToken: String\n ) {\n vatRatesByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const vatRatesByTenantSorting = /* GraphQL */ `\n query VatRatesByTenantSorting(\n $tenantId: ID\n $sorting: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelVatRateFilterInput\n $limit: Int\n $nextToken: String\n ) {\n vatRatesByTenantSorting(\n tenantId: $tenantId\n sorting: $sorting\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getDepartment = /* GraphQL */ `\n query GetDepartment($id: ID!) {\n getDepartment(id: $id) {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listDepartments = /* GraphQL */ `\n query ListDepartments(\n $filter: ModelDepartmentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listDepartments(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const departmentsByTenant = /* GraphQL */ `\n query DepartmentsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelDepartmentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n departmentsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const departmentsByTenantSorting = /* GraphQL */ `\n query DepartmentsByTenantSorting(\n $tenantId: ID\n $sorting: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelDepartmentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n departmentsByTenantSorting(\n tenantId: $tenantId\n sorting: $sorting\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getVariant = /* GraphQL */ `\n query GetVariant($id: ID!) {\n getVariant(id: $id) {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n variantVariantGroups {\n items {\n id\n tenantId\n variantId\n variantGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n variantModifiers {\n items {\n id\n tenantId\n variantId\n modifierId\n price\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listVariants = /* GraphQL */ `\n query ListVariants(\n $filter: ModelVariantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listVariants(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const variantsByTenant = /* GraphQL */ `\n query VariantsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelVariantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n variantsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const variantsByTenantSorting = /* GraphQL */ `\n query VariantsByTenantSorting(\n $tenantId: ID\n $sorting: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelVariantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n variantsByTenantSorting(\n tenantId: $tenantId\n sorting: $sorting\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getModifier = /* GraphQL */ `\n query GetModifier($id: ID!) {\n getModifier(id: $id) {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listModifiers = /* GraphQL */ `\n query ListModifiers(\n $filter: ModelModifierFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listModifiers(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const modifiersByTenant = /* GraphQL */ `\n query ModifiersByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelModifierFilterInput\n $limit: Int\n $nextToken: String\n ) {\n modifiersByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getVariantGroup = /* GraphQL */ `\n query GetVariantGroup($id: ID!) {\n getVariantGroup(id: $id) {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listVariantGroups = /* GraphQL */ `\n query ListVariantGroups(\n $filter: ModelVariantGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listVariantGroups(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const variantGroupsByTenant = /* GraphQL */ `\n query VariantGroupsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelVariantGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n variantGroupsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const variantGroupsByTenantSorting = /* GraphQL */ `\n query VariantGroupsByTenantSorting(\n $tenantId: ID\n $sorting: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelVariantGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n variantGroupsByTenantSorting(\n tenantId: $tenantId\n sorting: $sorting\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getVariantVariantGroup = /* GraphQL */ `\n query GetVariantVariantGroup($id: ID!) {\n getVariantVariantGroup(id: $id) {\n id\n tenantId\n variantId\n variantGroupId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listVariantVariantGroups = /* GraphQL */ `\n query ListVariantVariantGroups(\n $filter: ModelVariantVariantGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listVariantVariantGroups(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n variantId\n variantGroupId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const variantVariantGroupsByTenant = /* GraphQL */ `\n query VariantVariantGroupsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelVariantVariantGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n variantVariantGroupsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n variantId\n variantGroupId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const variantVariantGroupsByVariant = /* GraphQL */ `\n query VariantVariantGroupsByVariant(\n $variantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelVariantVariantGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n variantVariantGroupsByVariant(\n variantId: $variantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n variantId\n variantGroupId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getVariantModifier = /* GraphQL */ `\n query GetVariantModifier($id: ID!) {\n getVariantModifier(id: $id) {\n id\n tenantId\n variantId\n modifierId\n price\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listVariantModifiers = /* GraphQL */ `\n query ListVariantModifiers(\n $filter: ModelVariantModifierFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listVariantModifiers(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n variantId\n modifierId\n price\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const variantModifiersByTenant = /* GraphQL */ `\n query VariantModifiersByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelVariantModifierFilterInput\n $limit: Int\n $nextToken: String\n ) {\n variantModifiersByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n variantId\n modifierId\n price\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const variantModifiersByVariant = /* GraphQL */ `\n query VariantModifiersByVariant(\n $variantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelVariantModifierFilterInput\n $limit: Int\n $nextToken: String\n ) {\n variantModifiersByVariant(\n variantId: $variantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n variantId\n modifierId\n price\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getMoitoIotOperator = /* GraphQL */ `\n query GetMoitoIotOperator($id: ID!) {\n getMoitoIotOperator(id: $id) {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n coverItem {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n orderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n receiptPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n invoicePrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n preorderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n tallonPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n reportPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n kioskPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listMoitoIotOperators = /* GraphQL */ `\n query ListMoitoIotOperators(\n $filter: ModelMoitoIotOperatorFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listMoitoIotOperators(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n orderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n receiptPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n invoicePrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n preorderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n tallonPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n reportPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n kioskPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const moitoIotOperatorsByTenant = /* GraphQL */ `\n query MoitoIotOperatorsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelMoitoIotOperatorFilterInput\n $limit: Int\n $nextToken: String\n ) {\n moitoIotOperatorsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n orderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n receiptPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n invoicePrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n preorderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n tallonPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n reportPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n kioskPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const moitoIotOperatorsByRetailStore = /* GraphQL */ `\n query MoitoIotOperatorsByRetailStore(\n $retailStoreId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelMoitoIotOperatorFilterInput\n $limit: Int\n $nextToken: String\n ) {\n moitoIotOperatorsByRetailStore(\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n orderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n receiptPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n invoicePrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n preorderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n tallonPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n reportPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n kioskPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getDiscountSurcharge = /* GraphQL */ `\n query GetDiscountSurcharge($id: ID!) {\n getDiscountSurcharge(id: $id) {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listDiscountSurcharges = /* GraphQL */ `\n query ListDiscountSurcharges(\n $filter: ModelDiscountSurchargeFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listDiscountSurcharges(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const discountSurchargesByTenant = /* GraphQL */ `\n query DiscountSurchargesByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelDiscountSurchargeFilterInput\n $limit: Int\n $nextToken: String\n ) {\n discountSurchargesByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const discountSurchargesByTenantSorting = /* GraphQL */ `\n query DiscountSurchargesByTenantSorting(\n $tenantId: ID\n $sorting: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelDiscountSurchargeFilterInput\n $limit: Int\n $nextToken: String\n ) {\n discountSurchargesByTenantSorting(\n tenantId: $tenantId\n sorting: $sorting\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getPhase = /* GraphQL */ `\n query GetPhase($id: ID!) {\n getPhase(id: $id) {\n id\n tenantId\n description\n sorting\n enabled\n code\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listPhases = /* GraphQL */ `\n query ListPhases(\n $filter: ModelPhaseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listPhases(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n description\n sorting\n enabled\n code\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const phasesByTenant = /* GraphQL */ `\n query PhasesByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelPhaseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n phasesByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n description\n sorting\n enabled\n code\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const phasesByTenantSorting = /* GraphQL */ `\n query PhasesByTenantSorting(\n $tenantId: ID\n $sorting: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelPhaseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n phasesByTenantSorting(\n tenantId: $tenantId\n sorting: $sorting\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n description\n sorting\n enabled\n code\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getItemVariantGroup = /* GraphQL */ `\n query GetItemVariantGroup($id: ID!) {\n getItemVariantGroup(id: $id) {\n id\n tenantId\n variantGroupId\n itemId\n createdAt\n updatedAt\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listItemVariantGroups = /* GraphQL */ `\n query ListItemVariantGroups(\n $filter: ModelItemVariantGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listItemVariantGroups(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n variantGroupId\n itemId\n createdAt\n updatedAt\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const itemVariantGroupsByTenant = /* GraphQL */ `\n query ItemVariantGroupsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelItemVariantGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemVariantGroupsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n variantGroupId\n itemId\n createdAt\n updatedAt\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const itemVariantGroupsByItem = /* GraphQL */ `\n query ItemVariantGroupsByItem(\n $itemId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelItemVariantGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemVariantGroupsByItem(\n itemId: $itemId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n variantGroupId\n itemId\n createdAt\n updatedAt\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const itemVariantGroupsByVariantGroup = /* GraphQL */ `\n query ItemVariantGroupsByVariantGroup(\n $variantGroupId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelItemVariantGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemVariantGroupsByVariantGroup(\n variantGroupId: $variantGroupId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n variantGroupId\n itemId\n createdAt\n updatedAt\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getMoitoIotPhysicalPrinter = /* GraphQL */ `\n query GetMoitoIotPhysicalPrinter($id: ID!) {\n getMoitoIotPhysicalPrinter(id: $id) {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const listMoitoIotPhysicalPrinters = /* GraphQL */ `\n query ListMoitoIotPhysicalPrinters(\n $filter: ModelMoitoIotPhysicalPrinterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listMoitoIotPhysicalPrinters(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const moitoIotPhysicalPrintersByTenant = /* GraphQL */ `\n query MoitoIotPhysicalPrintersByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelMoitoIotPhysicalPrinterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n moitoIotPhysicalPrintersByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const moitoIotPhysicalPrintersByRetailStore = /* GraphQL */ `\n query MoitoIotPhysicalPrintersByRetailStore(\n $retailStoreId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelMoitoIotPhysicalPrinterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n moitoIotPhysicalPrintersByRetailStore(\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getMoitoIotLogicalPrinter = /* GraphQL */ `\n query GetMoitoIotLogicalPrinter($id: ID!) {\n getMoitoIotLogicalPrinter(id: $id) {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listMoitoIotLogicalPrinters = /* GraphQL */ `\n query ListMoitoIotLogicalPrinters(\n $filter: ModelMoitoIotLogicalPrinterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listMoitoIotLogicalPrinters(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const moitoIotLogicalPrintersByTenant = /* GraphQL */ `\n query MoitoIotLogicalPrintersByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelMoitoIotLogicalPrinterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n moitoIotLogicalPrintersByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const moitoIotLogicalPrintersByRetailStore = /* GraphQL */ `\n query MoitoIotLogicalPrintersByRetailStore(\n $retailStoreId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelMoitoIotLogicalPrinterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n moitoIotLogicalPrintersByRetailStore(\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getItemMoitoIotLogicalPrinter = /* GraphQL */ `\n query GetItemMoitoIotLogicalPrinter($id: ID!) {\n getItemMoitoIotLogicalPrinter(id: $id) {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n isMain\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listItemMoitoIotLogicalPrinters = /* GraphQL */ `\n query ListItemMoitoIotLogicalPrinters(\n $filter: ModelItemMoitoIotLogicalPrinterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listItemMoitoIotLogicalPrinters(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n isMain\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const itemMoitoIotLogicalPrinterByTenant = /* GraphQL */ `\n query ItemMoitoIotLogicalPrinterByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelItemMoitoIotLogicalPrinterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemMoitoIotLogicalPrinterByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n isMain\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const itemMoitoIotLogicalPrinterByRetailStore = /* GraphQL */ `\n query ItemMoitoIotLogicalPrinterByRetailStore(\n $retailStoreId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelItemMoitoIotLogicalPrinterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemMoitoIotLogicalPrinterByRetailStore(\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n isMain\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const itemMoitoIotLogicalPrinterByItem = /* GraphQL */ `\n query ItemMoitoIotLogicalPrinterByItem(\n $itemId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelItemMoitoIotLogicalPrinterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemMoitoIotLogicalPrinterByItem(\n itemId: $itemId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n isMain\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const itemMoitoIotLogicalPrinterByLogicalPrinter = /* GraphQL */ `\n query ItemMoitoIotLogicalPrinterByLogicalPrinter(\n $logicalPrinterId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelItemMoitoIotLogicalPrinterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n itemMoitoIotLogicalPrinterByLogicalPrinter(\n logicalPrinterId: $logicalPrinterId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n isMain\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getReceipt = /* GraphQL */ `\n query GetReceipt($id: ID!) {\n getReceipt(id: $id) {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n orderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n receiptPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n invoicePrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n preorderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n tallonPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n reportPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n kioskPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n receiptPayments {\n items {\n id\n tenantId\n receiptId\n paymentId\n retailStoreId\n amount\n sorting\n description\n loyaltyCardId\n loyaltyCardInitialAmount\n loyaltyCardFinalAmount\n deleted\n createdAt\n updatedAt\n }\n nextToken\n }\n lines {\n items {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n }\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n }\n }\n`;\nexport const listReceipts = /* GraphQL */ `\n query ListReceipts(\n $filter: ModelReceiptFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listReceipts(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const receiptsByTenant = /* GraphQL */ `\n query ReceiptsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelReceiptFilterInput\n $limit: Int\n $nextToken: String\n ) {\n receiptsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const receiptsByRetailStore = /* GraphQL */ `\n query ReceiptsByRetailStore(\n $retailStoreId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelReceiptFilterInput\n $limit: Int\n $nextToken: String\n ) {\n receiptsByRetailStore(\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const receiptsByMoitoIot = /* GraphQL */ `\n query ReceiptsByMoitoIot(\n $moitoIotId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelReceiptFilterInput\n $limit: Int\n $nextToken: String\n ) {\n receiptsByMoitoIot(\n moitoIotId: $moitoIotId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const receiptsByCustomer = /* GraphQL */ `\n query ReceiptsByCustomer(\n $customerId: ID\n $moitoIotDatetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelReceiptFilterInput\n $limit: Int\n $nextToken: String\n ) {\n receiptsByCustomer(\n customerId: $customerId\n moitoIotDatetime: $moitoIotDatetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getPayment = /* GraphQL */ `\n query GetPayment($id: ID!) {\n getPayment(id: $id) {\n id\n tenantId\n sorting\n type\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n willFollowInvoice\n isLoyaltyCard\n extensions\n deleted\n isBankTransfer\n isTracked\n eftAmount\n cashDrawer\n adminOnly\n satispay\n satispayMode\n paymentDtrId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listPayments = /* GraphQL */ `\n query ListPayments(\n $filter: ModelPaymentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listPayments(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n sorting\n type\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n willFollowInvoice\n isLoyaltyCard\n extensions\n deleted\n isBankTransfer\n isTracked\n eftAmount\n cashDrawer\n adminOnly\n satispay\n satispayMode\n paymentDtrId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const paymentsByTenant = /* GraphQL */ `\n query PaymentsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelPaymentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n paymentsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n sorting\n type\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n willFollowInvoice\n isLoyaltyCard\n extensions\n deleted\n isBankTransfer\n isTracked\n eftAmount\n cashDrawer\n adminOnly\n satispay\n satispayMode\n paymentDtrId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const paymentsByTenantSorting = /* GraphQL */ `\n query PaymentsByTenantSorting(\n $tenantId: ID\n $sorting: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelPaymentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n paymentsByTenantSorting(\n tenantId: $tenantId\n sorting: $sorting\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n sorting\n type\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n willFollowInvoice\n isLoyaltyCard\n extensions\n deleted\n isBankTransfer\n isTracked\n eftAmount\n cashDrawer\n adminOnly\n satispay\n satispayMode\n paymentDtrId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getReceiptPayment = /* GraphQL */ `\n query GetReceiptPayment($id: ID!) {\n getReceiptPayment(id: $id) {\n id\n tenantId\n receiptId\n paymentId\n retailStoreId\n amount\n sorting\n description\n loyaltyCardId\n loyaltyCardInitialAmount\n loyaltyCardFinalAmount\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n payment {\n id\n tenantId\n sorting\n type\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n willFollowInvoice\n isLoyaltyCard\n extensions\n deleted\n isBankTransfer\n isTracked\n eftAmount\n cashDrawer\n adminOnly\n satispay\n satispayMode\n paymentDtrId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listReceiptPayments = /* GraphQL */ `\n query ListReceiptPayments(\n $filter: ModelReceiptPaymentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listReceiptPayments(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n receiptId\n paymentId\n retailStoreId\n amount\n sorting\n description\n loyaltyCardId\n loyaltyCardInitialAmount\n loyaltyCardFinalAmount\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n payment {\n id\n tenantId\n sorting\n type\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n willFollowInvoice\n isLoyaltyCard\n extensions\n deleted\n isBankTransfer\n isTracked\n eftAmount\n cashDrawer\n adminOnly\n satispay\n satispayMode\n paymentDtrId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const receiptPaymentsByTenant = /* GraphQL */ `\n query ReceiptPaymentsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelReceiptPaymentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n receiptPaymentsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n receiptId\n paymentId\n retailStoreId\n amount\n sorting\n description\n loyaltyCardId\n loyaltyCardInitialAmount\n loyaltyCardFinalAmount\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n payment {\n id\n tenantId\n sorting\n type\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n willFollowInvoice\n isLoyaltyCard\n extensions\n deleted\n isBankTransfer\n isTracked\n eftAmount\n cashDrawer\n adminOnly\n satispay\n satispayMode\n paymentDtrId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const receiptPaymentsByReceipt = /* GraphQL */ `\n query ReceiptPaymentsByReceipt(\n $receiptId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelReceiptPaymentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n receiptPaymentsByReceipt(\n receiptId: $receiptId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n receiptId\n paymentId\n retailStoreId\n amount\n sorting\n description\n loyaltyCardId\n loyaltyCardInitialAmount\n loyaltyCardFinalAmount\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n payment {\n id\n tenantId\n sorting\n type\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n willFollowInvoice\n isLoyaltyCard\n extensions\n deleted\n isBankTransfer\n isTracked\n eftAmount\n cashDrawer\n adminOnly\n satispay\n satispayMode\n paymentDtrId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getReceiptLine = /* GraphQL */ `\n query GetReceiptLine($id: ID!) {\n getReceiptLine(id: $id) {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listReceiptLines = /* GraphQL */ `\n query ListReceiptLines(\n $filter: ModelReceiptLineFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listReceiptLines(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const receiptLinesByTenant = /* GraphQL */ `\n query ReceiptLinesByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelReceiptLineFilterInput\n $limit: Int\n $nextToken: String\n ) {\n receiptLinesByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const receiptLinesByReceipt = /* GraphQL */ `\n query ReceiptLinesByReceipt(\n $receiptId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelReceiptLineFilterInput\n $limit: Int\n $nextToken: String\n ) {\n receiptLinesByReceipt(\n receiptId: $receiptId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getReceiptVat = /* GraphQL */ `\n query GetReceiptVat($id: ID!) {\n getReceiptVat(id: $id) {\n id\n tenantId\n retailStoreId\n receiptId\n sorting\n vatCode\n vatRate\n totalAmount\n netAmount\n vatAmount\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listReceiptVats = /* GraphQL */ `\n query ListReceiptVats(\n $filter: ModelReceiptVatFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listReceiptVats(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n retailStoreId\n receiptId\n sorting\n vatCode\n vatRate\n totalAmount\n netAmount\n vatAmount\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const receiptVatsByTenant = /* GraphQL */ `\n query ReceiptVatsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelReceiptVatFilterInput\n $limit: Int\n $nextToken: String\n ) {\n receiptVatsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n receiptId\n sorting\n vatCode\n vatRate\n totalAmount\n netAmount\n vatAmount\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const receiptVatsByReceipt = /* GraphQL */ `\n query ReceiptVatsByReceipt(\n $receiptId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelReceiptVatFilterInput\n $limit: Int\n $nextToken: String\n ) {\n receiptVatsByReceipt(\n receiptId: $receiptId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n receiptId\n sorting\n vatCode\n vatRate\n totalAmount\n netAmount\n vatAmount\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getReceiptLineVariant = /* GraphQL */ `\n query GetReceiptLineVariant($id: ID!) {\n getReceiptLineVariant(id: $id) {\n id\n tenantId\n retailStoreId\n receiptId\n receiptLineId\n variantId\n modifierId\n modifierDescription\n modifierRightPosition\n modifierColor\n variantDescription\n price\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n receiptLine {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listReceiptLineVariants = /* GraphQL */ `\n query ListReceiptLineVariants(\n $filter: ModelReceiptLineVariantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listReceiptLineVariants(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n receiptId\n receiptLineId\n variantId\n modifierId\n modifierDescription\n modifierRightPosition\n modifierColor\n variantDescription\n price\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n receiptLine {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const receiptLineVariantsByTenant = /* GraphQL */ `\n query ReceiptLineVariantsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelReceiptLineVariantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n receiptLineVariantsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n receiptId\n receiptLineId\n variantId\n modifierId\n modifierDescription\n modifierRightPosition\n modifierColor\n variantDescription\n price\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n receiptLine {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const receiptLineVariantsByReceiptLine = /* GraphQL */ `\n query ReceiptLineVariantsByReceiptLine(\n $receiptLineId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelReceiptLineVariantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n receiptLineVariantsByReceiptLine(\n receiptLineId: $receiptLineId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n receiptId\n receiptLineId\n variantId\n modifierId\n modifierDescription\n modifierRightPosition\n modifierColor\n variantDescription\n price\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n receiptLine {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getMoitoIotMessageFilter = /* GraphQL */ `\n query GetMoitoIotMessageFilter($id: ID!) {\n getMoitoIotMessageFilter(id: $id) {\n id\n timestamp\n deviceId\n createdAt\n updatedAt\n }\n }\n`;\nexport const listMoitoIotMessageFilters = /* GraphQL */ `\n query ListMoitoIotMessageFilters(\n $filter: ModelMoitoIotMessageFilterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listMoitoIotMessageFilters(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n timestamp\n deviceId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const moitoIotMessageFiltersByDeviceId = /* GraphQL */ `\n query MoitoIotMessageFiltersByDeviceId(\n $deviceId: String\n $timestamp: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelMoitoIotMessageFilterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n moitoIotMessageFiltersByDeviceId(\n deviceId: $deviceId\n timestamp: $timestamp\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n timestamp\n deviceId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const getECRPendingXML = /* GraphQL */ `\n query GetECRPendingXML($id: ID!) {\n getECRPendingXML(id: $id) {\n id\n electronicCashRegisterId\n partnerId\n tenantId\n number\n filename\n datetime\n s3Key\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listECRPendingXMLs = /* GraphQL */ `\n query ListECRPendingXMLs(\n $filter: ModelECRPendingXMLFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listECRPendingXMLs(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n electronicCashRegisterId\n partnerId\n tenantId\n number\n filename\n datetime\n s3Key\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const ecrPendingXMLsByElectronicCashRegister = /* GraphQL */ `\n query EcrPendingXMLsByElectronicCashRegister(\n $electronicCashRegisterId: ID\n $datetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelECRPendingXMLFilterInput\n $limit: Int\n $nextToken: String\n ) {\n ecrPendingXMLsByElectronicCashRegister(\n electronicCashRegisterId: $electronicCashRegisterId\n datetime: $datetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n electronicCashRegisterId\n partnerId\n tenantId\n number\n filename\n datetime\n s3Key\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const ecrPendingXMLsByPartner = /* GraphQL */ `\n query EcrPendingXMLsByPartner(\n $partnerId: ID\n $datetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelECRPendingXMLFilterInput\n $limit: Int\n $nextToken: String\n ) {\n ecrPendingXMLsByPartner(\n partnerId: $partnerId\n datetime: $datetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n electronicCashRegisterId\n partnerId\n tenantId\n number\n filename\n datetime\n s3Key\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getCalendarEventType = /* GraphQL */ `\n query GetCalendarEventType($id: ID!) {\n getCalendarEventType(id: $id) {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const listCalendarEventTypes = /* GraphQL */ `\n query ListCalendarEventTypes(\n $filter: ModelCalendarEventTypeFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listCalendarEventTypes(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const calendarEventTypeByTenant = /* GraphQL */ `\n query CalendarEventTypeByTenant(\n $tenantId: ID\n $retailStoreId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCalendarEventTypeFilterInput\n $limit: Int\n $nextToken: String\n ) {\n calendarEventTypeByTenant(\n tenantId: $tenantId\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const calendarEventTypeByRetailStore = /* GraphQL */ `\n query CalendarEventTypeByRetailStore(\n $retailStoreId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelCalendarEventTypeFilterInput\n $limit: Int\n $nextToken: String\n ) {\n calendarEventTypeByRetailStore(\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getCalendarEvent = /* GraphQL */ `\n query GetCalendarEvent($id: ID!) {\n getCalendarEvent(id: $id) {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n calendarEventItems {\n items {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listCalendarEvents = /* GraphQL */ `\n query ListCalendarEvents(\n $filter: ModelCalendarEventFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listCalendarEvents(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const calendarEventByUser = /* GraphQL */ `\n query CalendarEventByUser(\n $userId: ID\n $startDatetimeEndDatetime: ModelCalendarEventByUserCompositeKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCalendarEventFilterInput\n $limit: Int\n $nextToken: String\n ) {\n calendarEventByUser(\n userId: $userId\n startDatetimeEndDatetime: $startDatetimeEndDatetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const calendarEventByRetailStore = /* GraphQL */ `\n query CalendarEventByRetailStore(\n $retailStoreId: ID\n $startDatetimeEndDatetime: ModelCalendarEventByRetailStoreCompositeKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCalendarEventFilterInput\n $limit: Int\n $nextToken: String\n ) {\n calendarEventByRetailStore(\n retailStoreId: $retailStoreId\n startDatetimeEndDatetime: $startDatetimeEndDatetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const calendarEventByCustomer = /* GraphQL */ `\n query CalendarEventByCustomer(\n $customerId: ID\n $startDatetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCalendarEventFilterInput\n $limit: Int\n $nextToken: String\n ) {\n calendarEventByCustomer(\n customerId: $customerId\n startDatetime: $startDatetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getECRAdvMessage = /* GraphQL */ `\n query GetECRAdvMessage($id: ID!) {\n getECRAdvMessage(id: $id) {\n id\n electronicCashRegisterId\n partnerId\n message\n printed\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listECRAdvMessages = /* GraphQL */ `\n query ListECRAdvMessages(\n $filter: ModelECRAdvMessageFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listECRAdvMessages(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n electronicCashRegisterId\n partnerId\n message\n printed\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const ecrAdvMessagesByElectronicCashRegister = /* GraphQL */ `\n query EcrAdvMessagesByElectronicCashRegister(\n $electronicCashRegisterId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelECRAdvMessageFilterInput\n $limit: Int\n $nextToken: String\n ) {\n ecrAdvMessagesByElectronicCashRegister(\n electronicCashRegisterId: $electronicCashRegisterId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n electronicCashRegisterId\n partnerId\n message\n printed\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const ecrAdvMessagesByPartner = /* GraphQL */ `\n query EcrAdvMessagesByPartner(\n $partnerId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelECRAdvMessageFilterInput\n $limit: Int\n $nextToken: String\n ) {\n ecrAdvMessagesByPartner(\n partnerId: $partnerId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n electronicCashRegisterId\n partnerId\n message\n printed\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getLoyaltyCard = /* GraphQL */ `\n query GetLoyaltyCard($id: ID!) {\n getLoyaltyCard(id: $id) {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const listLoyaltyCards = /* GraphQL */ `\n query ListLoyaltyCards(\n $filter: ModelLoyaltyCardFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listLoyaltyCards(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const loyaltyCardsByTenant = /* GraphQL */ `\n query LoyaltyCardsByTenant(\n $tenantId: ID\n $datetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelLoyaltyCardFilterInput\n $limit: Int\n $nextToken: String\n ) {\n loyaltyCardsByTenant(\n tenantId: $tenantId\n datetime: $datetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const loyaltyCardsByCustomer = /* GraphQL */ `\n query LoyaltyCardsByCustomer(\n $customerId: ID\n $datetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelLoyaltyCardFilterInput\n $limit: Int\n $nextToken: String\n ) {\n loyaltyCardsByCustomer(\n customerId: $customerId\n datetime: $datetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getOperator = /* GraphQL */ `\n query GetOperator($id: ID!) {\n getOperator(id: $id) {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const listOperators = /* GraphQL */ `\n query ListOperators(\n $filter: ModelOperatorFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listOperators(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const operatorsByTenant = /* GraphQL */ `\n query OperatorsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelOperatorFilterInput\n $limit: Int\n $nextToken: String\n ) {\n operatorsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const operatorsByRetailStore = /* GraphQL */ `\n query OperatorsByRetailStore(\n $retailStoreId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelOperatorFilterInput\n $limit: Int\n $nextToken: String\n ) {\n operatorsByRetailStore(\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getCalendarEventItem = /* GraphQL */ `\n query GetCalendarEventItem($id: ID!) {\n getCalendarEventItem(id: $id) {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n calendarEventItemVariants {\n items {\n id\n tenantId\n retailStoreId\n price\n calendarEventId\n calendarEventItemId\n variantId\n modifierId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const listCalendarEventItems = /* GraphQL */ `\n query ListCalendarEventItems(\n $filter: ModelCalendarEventItemFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listCalendarEventItems(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n calendarEventItemVariants {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const calendarEventItemsByItem = /* GraphQL */ `\n query CalendarEventItemsByItem(\n $itemId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelCalendarEventItemFilterInput\n $limit: Int\n $nextToken: String\n ) {\n calendarEventItemsByItem(\n itemId: $itemId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n calendarEventItemVariants {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const calendarEventItemsByCalendarEvent = /* GraphQL */ `\n query CalendarEventItemsByCalendarEvent(\n $calendarEventId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelCalendarEventItemFilterInput\n $limit: Int\n $nextToken: String\n ) {\n calendarEventItemsByCalendarEvent(\n calendarEventId: $calendarEventId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n calendarEventItemVariants {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const calendarEventItemsByTenant = /* GraphQL */ `\n query CalendarEventItemsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelCalendarEventItemFilterInput\n $limit: Int\n $nextToken: String\n ) {\n calendarEventItemsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n calendarEventItemVariants {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const calendarEventItemsByRetailStore = /* GraphQL */ `\n query CalendarEventItemsByRetailStore(\n $retailStoreId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelCalendarEventItemFilterInput\n $limit: Int\n $nextToken: String\n ) {\n calendarEventItemsByRetailStore(\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n calendarEventItemVariants {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const getCalendarEventItemVariant = /* GraphQL */ `\n query GetCalendarEventItemVariant($id: ID!) {\n getCalendarEventItemVariant(id: $id) {\n id\n tenantId\n retailStoreId\n price\n calendarEventId\n calendarEventItemId\n variantId\n modifierId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n calendarEventItem {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n calendarEventItemVariants {\n nextToken\n }\n }\n }\n }\n`;\nexport const listCalendarEventItemVariants = /* GraphQL */ `\n query ListCalendarEventItemVariants(\n $filter: ModelCalendarEventItemVariantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listCalendarEventItemVariants(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n price\n calendarEventId\n calendarEventItemId\n variantId\n modifierId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n calendarEventItem {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const calendarEventItemVariantsByCalendarEventItem = /* GraphQL */ `\n query CalendarEventItemVariantsByCalendarEventItem(\n $calendarEventItemId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelCalendarEventItemVariantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n calendarEventItemVariantsByCalendarEventItem(\n calendarEventItemId: $calendarEventItemId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n price\n calendarEventId\n calendarEventItemId\n variantId\n modifierId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n calendarEventItem {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const calendarEventItemVariantsByTenant = /* GraphQL */ `\n query CalendarEventItemVariantsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelCalendarEventItemVariantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n calendarEventItemVariantsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n price\n calendarEventId\n calendarEventItemId\n variantId\n modifierId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n calendarEventItem {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const calendarEventItemVariantsByRetailStore = /* GraphQL */ `\n query CalendarEventItemVariantsByRetailStore(\n $retailStoreId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelCalendarEventItemVariantFilterInput\n $limit: Int\n $nextToken: String\n ) {\n calendarEventItemVariantsByRetailStore(\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n price\n calendarEventId\n calendarEventItemId\n variantId\n modifierId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n calendarEventItem {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getEJProgramming = /* GraphQL */ `\n query GetEJProgramming($id: ID!) {\n getEJProgramming(id: $id) {\n id\n tenantId\n status\n type\n number\n completedDatetime\n deleted\n reason\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const listEJProgrammings = /* GraphQL */ `\n query ListEJProgrammings(\n $filter: ModelEJProgrammingFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEJProgrammings(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n status\n type\n number\n completedDatetime\n deleted\n reason\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const ejProgrammingsByNumber = /* GraphQL */ `\n query EjProgrammingsByNumber(\n $number: String\n $sortDirection: ModelSortDirection\n $filter: ModelEJProgrammingFilterInput\n $limit: Int\n $nextToken: String\n ) {\n ejProgrammingsByNumber(\n number: $number\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n status\n type\n number\n completedDatetime\n deleted\n reason\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const ejProgrammingsByTenant = /* GraphQL */ `\n query EjProgrammingsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelEJProgrammingFilterInput\n $limit: Int\n $nextToken: String\n ) {\n ejProgrammingsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n status\n type\n number\n completedDatetime\n deleted\n reason\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const searchEJProgrammings = /* GraphQL */ `\n query SearchEJProgrammings(\n $filter: SearchableEJProgrammingFilterInput\n $sort: SearchableEJProgrammingSortInput\n $limit: Int\n $nextToken: String\n $from: Int\n ) {\n searchEJProgrammings(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n ) {\n items {\n id\n tenantId\n status\n type\n number\n completedDatetime\n deleted\n reason\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n }\n nextToken\n total\n }\n }\n`;\nexport const getECRNumber = /* GraphQL */ `\n query GetECRNumber($id: ID!) {\n getECRNumber(id: $id) {\n id\n fwVersion\n ejNumber\n ejInitDay\n ejMissingDays\n ejType\n ejExtensionRequested\n ejProgrammingRequested\n forcedEjExpires\n createdAt\n updatedAt\n }\n }\n`;\nexport const listECRNumbers = /* GraphQL */ `\n query ListECRNumbers(\n $filter: ModelECRNumberFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listECRNumbers(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n fwVersion\n ejNumber\n ejInitDay\n ejMissingDays\n ejType\n ejExtensionRequested\n ejProgrammingRequested\n forcedEjExpires\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const getOpticalFile = /* GraphQL */ `\n query GetOpticalFile($id: ID!) {\n getOpticalFile(id: $id) {\n id\n tenantId\n retailStoreId\n status\n date\n xmlS3Key\n pdfS3Key\n zipS3Key\n csvS3Key\n errorReason\n protocolId\n sendOutcomeCode\n sendOutcomeDescription\n errorDescription\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const listOpticalFiles = /* GraphQL */ `\n query ListOpticalFiles(\n $filter: ModelOpticalFileFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listOpticalFiles(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n retailStoreId\n status\n date\n xmlS3Key\n pdfS3Key\n zipS3Key\n csvS3Key\n errorReason\n protocolId\n sendOutcomeCode\n sendOutcomeDescription\n errorDescription\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const opticalFilesByRetailStore = /* GraphQL */ `\n query OpticalFilesByRetailStore(\n $retailStoreId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelOpticalFileFilterInput\n $limit: Int\n $nextToken: String\n ) {\n opticalFilesByRetailStore(\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n status\n date\n xmlS3Key\n pdfS3Key\n zipS3Key\n csvS3Key\n errorReason\n protocolId\n sendOutcomeCode\n sendOutcomeDescription\n errorDescription\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const opticalFilesByTenant = /* GraphQL */ `\n query OpticalFilesByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelOpticalFileFilterInput\n $limit: Int\n $nextToken: String\n ) {\n opticalFilesByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n status\n date\n xmlS3Key\n pdfS3Key\n zipS3Key\n csvS3Key\n errorReason\n protocolId\n sendOutcomeCode\n sendOutcomeDescription\n errorDescription\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getInventoryMovement = /* GraphQL */ `\n query GetInventoryMovement($id: ID!) {\n getInventoryMovement(id: $id) {\n id\n tenantId\n retailStoreId\n datetime\n reasonCode\n itemId\n qtyDiff\n notes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const listInventoryMovements = /* GraphQL */ `\n query ListInventoryMovements(\n $filter: ModelInventoryMovementFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listInventoryMovements(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n datetime\n reasonCode\n itemId\n qtyDiff\n notes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const inventoryMovementsByRetailStore = /* GraphQL */ `\n query InventoryMovementsByRetailStore(\n $retailStoreId: ID\n $datetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelInventoryMovementFilterInput\n $limit: Int\n $nextToken: String\n ) {\n inventoryMovementsByRetailStore(\n retailStoreId: $retailStoreId\n datetime: $datetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n datetime\n reasonCode\n itemId\n qtyDiff\n notes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const inventoryMovementsByTenant = /* GraphQL */ `\n query InventoryMovementsByTenant(\n $tenantId: ID\n $datetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelInventoryMovementFilterInput\n $limit: Int\n $nextToken: String\n ) {\n inventoryMovementsByTenant(\n tenantId: $tenantId\n datetime: $datetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n datetime\n reasonCode\n itemId\n qtyDiff\n notes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const inventoryMovementsByItem = /* GraphQL */ `\n query InventoryMovementsByItem(\n $itemId: ID\n $datetime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelInventoryMovementFilterInput\n $limit: Int\n $nextToken: String\n ) {\n inventoryMovementsByItem(\n itemId: $itemId\n datetime: $datetime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n datetime\n reasonCode\n itemId\n qtyDiff\n notes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getBarcode = /* GraphQL */ `\n query GetBarcode($id: ID!) {\n getBarcode(id: $id) {\n id\n tenantId\n itemId\n barcode\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n }\n }\n`;\nexport const listBarcodes = /* GraphQL */ `\n query ListBarcodes(\n $filter: ModelBarcodeFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listBarcodes(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n itemId\n barcode\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const barcodesByTenant = /* GraphQL */ `\n query BarcodesByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelBarcodeFilterInput\n $limit: Int\n $nextToken: String\n ) {\n barcodesByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n itemId\n barcode\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const barcodesByItem = /* GraphQL */ `\n query BarcodesByItem(\n $itemId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelBarcodeFilterInput\n $limit: Int\n $nextToken: String\n ) {\n barcodesByItem(\n itemId: $itemId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n itemId\n barcode\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getMoitoIotFrontendConfigurations = /* GraphQL */ `\n query GetMoitoIotFrontendConfigurations($id: ID!) {\n getMoitoIotFrontendConfigurations(id: $id) {\n id\n tenantId\n retailStoreId\n operatorId\n keyboard\n topbar\n bottombar\n settings\n layout\n numpad\n current_list\n tab_view\n resize_bar\n zoom\n default_list\n last_load_status\n scanner_calibration\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n orderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n receiptPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n invoicePrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n preorderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n tallonPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n reportPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n kioskPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listMoitoIotFrontendConfigurationss = /* GraphQL */ `\n query ListMoitoIotFrontendConfigurationss(\n $filter: ModelMoitoIotFrontendConfigurationsFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listMoitoIotFrontendConfigurationss(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n operatorId\n keyboard\n topbar\n bottombar\n settings\n layout\n numpad\n current_list\n tab_view\n resize_bar\n zoom\n default_list\n last_load_status\n scanner_calibration\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const frontendConfigurationsByTenant = /* GraphQL */ `\n query FrontendConfigurationsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelMoitoIotFrontendConfigurationsFilterInput\n $limit: Int\n $nextToken: String\n ) {\n frontendConfigurationsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n operatorId\n keyboard\n topbar\n bottombar\n settings\n layout\n numpad\n current_list\n tab_view\n resize_bar\n zoom\n default_list\n last_load_status\n scanner_calibration\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const frontendConfigurationsByRetailStore = /* GraphQL */ `\n query FrontendConfigurationsByRetailStore(\n $retailStoreId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelMoitoIotFrontendConfigurationsFilterInput\n $limit: Int\n $nextToken: String\n ) {\n frontendConfigurationsByRetailStore(\n retailStoreId: $retailStoreId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n operatorId\n keyboard\n topbar\n bottombar\n settings\n layout\n numpad\n current_list\n tab_view\n resize_bar\n zoom\n default_list\n last_load_status\n scanner_calibration\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const frontendConfigurationsByOperator = /* GraphQL */ `\n query FrontendConfigurationsByOperator(\n $operatorId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelMoitoIotFrontendConfigurationsFilterInput\n $limit: Int\n $nextToken: String\n ) {\n frontendConfigurationsByOperator(\n operatorId: $operatorId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n operatorId\n keyboard\n topbar\n bottombar\n settings\n layout\n numpad\n current_list\n tab_view\n resize_bar\n zoom\n default_list\n last_load_status\n scanner_calibration\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getTobacco = /* GraphQL */ `\n query GetTobacco($id: ID!) {\n getTobacco(id: $id) {\n id\n tenantId\n s3Key\n otherS3Key\n internalS3Key\n type\n validFrom\n validTo\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listTobaccos = /* GraphQL */ `\n query ListTobaccos(\n $filter: ModelTobaccoFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listTobaccos(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n s3Key\n otherS3Key\n internalS3Key\n type\n validFrom\n validTo\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const tobaccosByTenantSortValidFrom = /* GraphQL */ `\n query TobaccosByTenantSortValidFrom(\n $tenantId: ID\n $validFrom: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelTobaccoFilterInput\n $limit: Int\n $nextToken: String\n ) {\n tobaccosByTenantSortValidFrom(\n tenantId: $tenantId\n validFrom: $validFrom\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n s3Key\n otherS3Key\n internalS3Key\n type\n validFrom\n validTo\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getVendor = /* GraphQL */ `\n query GetVendor($id: ID!) {\n getVendor(id: $id) {\n id\n tenantId\n deleted\n companyName\n companyVat\n fiscalCode\n zipCode\n county\n municipality\n address\n country\n recipientCode\n email\n mobile\n extensions\n costCenterId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n costCenter {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listVendors = /* GraphQL */ `\n query ListVendors(\n $filter: ModelVendorFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listVendors(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n deleted\n companyName\n companyVat\n fiscalCode\n zipCode\n county\n municipality\n address\n country\n recipientCode\n email\n mobile\n extensions\n costCenterId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n costCenter {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const vendorsByTenant = /* GraphQL */ `\n query VendorsByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelVendorFilterInput\n $limit: Int\n $nextToken: String\n ) {\n vendorsByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n deleted\n companyName\n companyVat\n fiscalCode\n zipCode\n county\n municipality\n address\n country\n recipientCode\n email\n mobile\n extensions\n costCenterId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n costCenter {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const vendorsByCompanyVat = /* GraphQL */ `\n query VendorsByCompanyVat(\n $companyVat: String\n $sortDirection: ModelSortDirection\n $filter: ModelVendorFilterInput\n $limit: Int\n $nextToken: String\n ) {\n vendorsByCompanyVat(\n companyVat: $companyVat\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n deleted\n companyName\n companyVat\n fiscalCode\n zipCode\n county\n municipality\n address\n country\n recipientCode\n email\n mobile\n extensions\n costCenterId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n costCenter {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const searchVendors = /* GraphQL */ `\n query SearchVendors(\n $filter: SearchableVendorFilterInput\n $sort: SearchableVendorSortInput\n $limit: Int\n $nextToken: String\n $from: Int\n ) {\n searchVendors(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n ) {\n items {\n id\n tenantId\n deleted\n companyName\n companyVat\n fiscalCode\n zipCode\n county\n municipality\n address\n country\n recipientCode\n email\n mobile\n extensions\n costCenterId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n costCenter {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n }\n }\n nextToken\n total\n }\n }\n`;\nexport const getCostCenter = /* GraphQL */ `\n query GetCostCenter($id: ID!) {\n getCostCenter(id: $id) {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const listCostCenters = /* GraphQL */ `\n query ListCostCenters(\n $filter: ModelCostCenterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listCostCenters(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const costCentersByTenant = /* GraphQL */ `\n query CostCentersByTenant(\n $tenantId: ID\n $sorting: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCostCenterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n costCentersByTenant(\n tenantId: $tenantId\n sorting: $sorting\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const getDigitalCashRegister = /* GraphQL */ `\n query GetDigitalCashRegister($id: ID!) {\n getDigitalCashRegister(id: $id) {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const listDigitalCashRegisters = /* GraphQL */ `\n query ListDigitalCashRegisters(\n $filter: ModelDigitalCashRegisterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listDigitalCashRegisters(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const digitalCashRegistersByTenant = /* GraphQL */ `\n query DigitalCashRegistersByTenant(\n $tenantId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelDigitalCashRegisterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n digitalCashRegistersByTenant(\n tenantId: $tenantId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const digitalCashRegistersByPartner = /* GraphQL */ `\n query DigitalCashRegistersByPartner(\n $partnerId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelDigitalCashRegisterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n digitalCashRegistersByPartner(\n partnerId: $partnerId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const digitalCashRegistersByNumber = /* GraphQL */ `\n query DigitalCashRegistersByNumber(\n $number: String\n $sortDirection: ModelSortDirection\n $filter: ModelDigitalCashRegisterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n digitalCashRegistersByNumber(\n number: $number\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\nexport const digitalCashRegistersByInvitationCode = /* GraphQL */ `\n query DigitalCashRegistersByInvitationCode(\n $invitationCode: String\n $sortDirection: ModelSortDirection\n $filter: ModelDigitalCashRegisterFilterInput\n $limit: Int\n $nextToken: String\n ) {\n digitalCashRegistersByInvitationCode(\n invitationCode: $invitationCode\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;\n","export const FileToBase64 = file => new Promise((resolve, reject) => {\n\tconst reader = new FileReader();\n\treader.readAsDataURL(file);\n\treader.onload = () => resolve(reader.result);\n\treader.onerror = error => reject(error);\n});","import React, { forwardRef, useEffect, useState } from \"react\";\nimport clsx from \"clsx\";\nimport {isFragment} from \"react-is\";\n\nexport const CardHeaderIcon = forwardRef(({ className }, ref) => (\n \n));\n\nexport const CardHeaderTitle = forwardRef(({ className, ...props }, ref) => (\n // eslint-disable-next-line jsx-a11y/heading-has-content\n

\n));\n\nexport const CardHeaderToolbar = forwardRef(\n ({ children, className, ...props }, ref) => (\n
\n {children}\n
\n )\n);\n\nexport const CardHeader = forwardRef(\n (\n {\n children,\n icon,\n title,\n toolbar,\n className,\n sticky = false,\n labelRef,\n ...props\n },\n ref\n ) => {\n const [top, setTop] = useState(0);\n const [windowHeight, setWindowHeight] = useState(0);\n\n useEffect(() => {\n handleResize();\n\n function handleResize() {\n setWindowHeight(window.innerWidth);\n }\n\n window.addEventListener(\"resize\", handleResize);\n\n return () => {\n window.removeEventListener(\"resize\", handleResize);\n };\n });\n\n useEffect(() => {\n // Skip if sticky is disabled or on initial render when we don't know about window height.\n if (!sticky || windowHeight === 0) {\n return;\n }\n\n const headerElement = document.querySelector(\".header\");\n const subheaderElement = document.querySelector(\".subheader\");\n const headerMobileElement = document.querySelector(\".header-mobile\");\n\n let nextMarginTop = 0;\n\n // mobile header\n if (window.getComputedStyle(headerElement).height === \"0px\") {\n nextMarginTop = headerMobileElement.offsetHeight;\n } else {\n // desktop header\n if (document.body.classList.contains(\"header-minimize-topbar\")) {\n // hardcoded minimized header height\n nextMarginTop = 60;\n } else {\n // normal fixed header\n if (document.body.classList.contains(\"header-fixed\")) {\n nextMarginTop += headerElement.offsetHeight;\n }\n\n if (document.body.classList.contains(\"subheader-fixed\")) {\n nextMarginTop += subheaderElement.offsetHeight;\n }\n }\n }\n\n setTop(nextMarginTop);\n }, [sticky, windowHeight]);\n\n return (\n \n {title != null && (\n
\n {icon}\n\n {/* Wrap string and fragments in CardHeaderTitle */\n typeof title === \"string\" || isFragment(title) ? (\n {title}\n ) : (\n title\n )}\n
\n )}\n\n {toolbar}\n {children}\n

\n );\n }\n);\n\nexport const CardBody = forwardRef(\n ({ fit, fluid, className, ...props }, ref) => (\n \n )\n);\n\nexport const CardFooter = forwardRef(({ className, ...props }, ref) => (\n
\n));\n\nexport const Card = forwardRef(({ fluidHeight, className, ...props }, ref) => (\n \n));\n\n// Set display names for debugging.\nif (process.env.NODE_ENV !== \"production\") {\n Card.displayName = \"Card\";\n\n CardHeader.displayName = \"CardHeader\";\n CardHeaderIcon.displayName = \"CardHeaderIcon\";\n CardHeaderTitle.displayName = \"CardHeaderTitle\";\n CardHeaderToolbar.displayName = \"CardHeaderToolbar\";\n\n CardBody.displayName = \"CardBody\";\n CardFooter.displayName = \"CardFooter\";\n}\n","import React from \"react\";\nimport { FieldFeedbackLabel } from \"./FieldFeedbackLabel\";\nimport { GetValueFromStringPath } from \"../../../../app/utils\";\n\nconst getFieldCSSClasses = (touched, errors) => {\n const classes = [\"form-control\"];\n if (touched && errors) {\n classes.push(\"is-invalid\");\n }\n\n if (touched && !errors) {\n //classes.push(\"is-valid\");\n }\n\n return classes.join(\" \");\n};\n\nexport function Input({\n field, // { name, value, onChange, onBlur }\n form: { touched, errors }, // also values, setXXXX, handleXXXX, dirty, isValid, status, etc.\n label,\n withFeedbackLabel = true,\n customFeedbackLabel,\n type = \"text\",\n required = false,\n autocomplete = \"off\",\n ...props\n}) {\n return (\n <>\n {label && }\n {required && (\n <>\n {\" \"}\n *\n \n )}\n e.target.blur()}\n {...field}\n {...props}\n />\n {withFeedbackLabel && (\n \n )}\n \n );\n}\n","import React from \"react\";\nimport {useField} from \"formik\";\nimport {FieldFeedbackLabel} from \"./FieldFeedbackLabel\";\n\nconst getFieldCSSClasses = (touched, errors) => {\n const classes = [\"form-control\", \"form-control-solid\"];\n if (touched && errors) {\n classes.push(\"is-invalid-select\");\n }\n\n if (touched && !errors) {\n classes.push(\"is-valid-select\");\n }\n\n return classes.join(\" \");\n};\n\nexport function Select({\n label,\n withFeedbackLabel = true,\n type = \"text\",\n customFeedbackLabel,\n children,\n ...props\n}) {\n const [field, meta] = useField(props);\n const { touched, error } = meta;\n return (\n <>\n {label && }\n \n {children}\n \n {withFeedbackLabel && (\n \n )}\n \n );\n}\n","import React from \"react\";\nimport {withRouter} from \"react-router-dom\";\nimport {ProgressBar} from \"react-bootstrap\";\n\n// TODO: Should be rewrited to pure function\nclass AnimateLoading extends React.Component {\n animateTimeout;\n stopAnimateTimeout;\n state = {\n width: 0,\n routeChanged: false\n };\n\n componentDidUpdate(nextProps) {\n if (this.props.location.pathname !== nextProps.location.pathname) {\n this.animate();\n this.scrollToTop();\n }\n }\n\n scrollToTop() {\n const scrollToTopBtn = document.getElementById(\"kt_scrolltop\");\n if (scrollToTopBtn) {\n scrollToTopBtn.click();\n }\n }\n\n animate() {\n this.animateTimeout = setTimeout(() => {\n if (this.state.width <= 100) {\n this.setState({ width: this.state.width + 10 });\n this.animate();\n } else {\n this.stopAnimate();\n }\n }, 30);\n }\n stopAnimate() {\n clearTimeout(this.animateInterval);\n this.stopAnimateTimeout = setTimeout(() => {\n this.setState({ width: 0 });\n }, 300);\n }\n componentWillUnmount() {\n if (this.stopAnimateTimeout) {\n clearTimeout(this.stopAnimateTimeout);\n }\n if (this.animateTimeout) {\n clearTimeout(this.animateTimeout);\n }\n }\n render() {\n return (\n \n {this.state.width > 0 && (\n \n )}\n
\n );\n }\n}\n\nexport default withRouter(AnimateLoading);\n","import React, {useEffect, useState} from \"react\";\nimport {Portal} from \"react-portal\";\n\nconst animationStartClass = \"dialog-shown\";\nconst animationEndClass = \"dialog-hidden\";\nconst initCssClasses = [\n \"dialog\",\n \"dialog-default\",\n \"dialog-loader\",\n \"dialog-top-center\"\n];\n\nexport function LoadingDialog({ isLoading, text }) {\n const [cssClasses, setCssClasses] = useState(initCssClasses);\n\n useEffect(() => {\n // for animation start should toggle 'dialog-hidden' css class\n setCssClasses(initCssClasses);\n const timeoutId = setTimeout(() => {\n const cssClassForAdding = isLoading\n ? animationStartClass\n : animationEndClass;\n setCssClasses([...initCssClasses, cssClassForAdding]);\n }, 200);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return () => {\n clearTimeout(timeoutId);\n };\n }, [isLoading]);\n\n return (\n \n
{text}
\n
\n );\n}\n","import React from \"react\";\nimport { ProgressBar } from \"react-bootstrap\";\n\nexport function ModalProgressBar({variant = \"success\"}) {\n return (\n \n );\n}\n","/* eslint-disable */\n\"use strict\";\n\nimport KTOffcanvas from \"./../../components/offcanvas.js\";\nimport KTMenu from \"./../../components/menu.js\";\nimport { KTUtil } from \"./../../components/util.js\";\n\nvar KTLayoutHeaderMenu = function() {\n // Private properties\n\tvar _menuElement;\n var _menuObject;\n var _offcanvasElement;\n var _offcanvasObject;\n\n // Private functions\n\tvar _init = function() {\n\t\t_offcanvasObject = new KTOffcanvas(_offcanvasElement, {\n\t\t\toverlay: true,\n\t\t\tbaseClass: 'header-menu-wrapper',\n\t\t\tcloseBy: 'kt_header_menu_mobile_close_btn',\n\t\t\ttoggleBy: {\n\t\t\t\ttarget: 'kt_header_mobile_toggle',\n\t\t\t\tstate: 'mobile-toggle-active'\n\t\t\t}\n\t\t});\n\t\t\n\t\t_menuObject = new KTMenu(_menuElement, {\n\t\t\tsubmenu: {\n\t\t\t\tdesktop: 'dropdown',\n\t\t\t\ttablet: 'accordion',\n\t\t\t\tmobile: 'accordion'\n\t\t\t},\n\t\t\taccordion: {\n\t\t\t\tslideSpeed: 200, // accordion toggle slide speed in milliseconds\n\t\t\t\texpandAll: false // allow having multiple expanded accordions in the menu\n\t\t\t}\n\t\t});\n\n\t\t// Close aside offcanvas panel before page reload On tablet and mobile\n _menuObject.on('linkClick', function(menu) {\n if (KTUtil.isBreakpointDown('lg')) { // Tablet and mobile mode\n _offcanvasObject.hide(); // Hide offcanvas after general link click\n }\n });\n\t}\n\n // Public methods\n\treturn {\n init: function(menuId, offcanvasId) {\n _menuElement = KTUtil.getById(menuId);\n _offcanvasElement = KTUtil.getById(offcanvasId);\n\n if (!_menuElement) {\n return;\n }\n\n // Initialize menu\n _init();\n\t\t},\n\n\t\tgetMenuElement: function() {\n\t\t\treturn _menuElement;\n\t\t},\n\n getOffcanvasElement: function() {\n\t\t\treturn _offcanvasElement;\n\t\t},\n\n getMenu: function() {\n\t\t\treturn _menuObject;\n\t\t},\n\n\t\tpauseDropdownHover: function(time) {\n\t\t\tif (_menuObject) {\n\t\t\t\t_menuObject.pauseDropdownHover(time);\n\t\t\t}\n\t\t},\n\n getOffcanvas: function() {\n\t\t\treturn _offcanvasObject;\n\t\t},\n\n\t\tcloseMobileOffcanvas: function() {\n\t\t\tif (_menuObject && KTUtil.isMobileDevice()) {\n\t\t\t\t_offcanvasObject.hide();\n\t\t\t}\n\t\t}\n\t};\n}();\n\n// Webpack support\nif (typeof module !== 'undefined') {\n\t// module.exports = KTLayoutHeaderMenu;\n}\n\nexport default KTLayoutHeaderMenu;","/* eslint-disable */\n\"use strict\";\n\nimport { KTUtil } from \"./util\";\n\n// Component Definition\nvar KTMenu = function(elementId, options) {\n // Main object\n var the = this;\n var init = false;\n\n // Get element object\n var element = KTUtil.getById(elementId);\n var body = KTUtil.getBody();\n\n if (!element) {\n return;\n }\n\n // Default options\n var defaultOptions = {\n // scrollable area with Perfect Scroll\n scroll: {\n rememberPosition: false\n },\n\n // accordion submenu mode\n accordion: {\n slideSpeed: 200, // accordion toggle slide speed in milliseconds\n autoScroll: false, // enable auto scrolling(focus) to the clicked menu item\n autoScrollSpeed: 1200,\n expandAll: true // allow having multiple expanded accordions in the menu\n },\n\n // dropdown submenu mode\n dropdown: {\n timeout: 500 // timeout in milliseconds to show and hide the hoverable submenu dropdown\n }\n };\n\n ////////////////////////////\n // ** Private Methods ** //\n ////////////////////////////\n\n var Plugin = {\n /**\n * Run plugin\n * @returns {KTMenu}\n */\n construct: function(options) {\n if (KTUtil.data(element).has('menu')) {\n the = KTUtil.data(element).get('menu');\n } else {\n // reset menu\n Plugin.init(options);\n\n // reset menu\n Plugin.reset();\n\n // build menu\n Plugin.build();\n\n KTUtil.data(element).set('menu', the);\n }\n\n return the;\n },\n\n /**\n * Handles submenu click toggle\n * @returns {KTMenu}\n */\n init: function(options) {\n the.events = [];\n\n the.eventHandlers = {};\n\n // merge default and user defined options\n the.options = KTUtil.deepExtend({}, defaultOptions, options);\n\n // pause menu\n the.pauseDropdownHoverTime = 0;\n\n the.uid = KTUtil.getUniqueID();\n },\n\n update: function(options) {\n // merge default and user defined options\n the.options = KTUtil.deepExtend({}, defaultOptions, options);\n\n // pause menu\n the.pauseDropdownHoverTime = 0;\n\n // reset menu\n Plugin.reset();\n\n the.eventHandlers = {};\n\n // build menu\n Plugin.build();\n\n KTUtil.data(element).set('menu', the);\n },\n\n reload: function() {\n // reset menu\n Plugin.reset();\n\n // build menu\n Plugin.build();\n\n // reset submenu props\n Plugin.resetSubmenuProps();\n },\n\n /**\n * Reset menu\n * @returns {KTMenu}\n */\n build: function() {\n // General accordion submenu toggle\n the.eventHandlers['event_1'] = KTUtil.on( element, '.menu-toggle', 'click', Plugin.handleSubmenuAccordion);\n\n // Dropdown mode(hoverable)\n if (Plugin.getSubmenuMode() === 'dropdown' || Plugin.isConditionalSubmenuDropdown()) {\n // dropdown submenu - hover toggle\n the.eventHandlers['event_2'] = KTUtil.on( element, '[data-menu-toggle=\"hover\"]', 'mouseover', Plugin.handleSubmenuDrodownHoverEnter);\n the.eventHandlers['event_3'] = KTUtil.on( element, '[data-menu-toggle=\"hover\"]', 'mouseout', Plugin.handleSubmenuDrodownHoverExit);\n\n // dropdown submenu - click toggle\n the.eventHandlers['event_4'] = KTUtil.on( element, '[data-menu-toggle=\"click\"] > .menu-toggle, [data-menu-toggle=\"click\"] > .menu-link .menu-toggle', 'click', Plugin.handleSubmenuDropdownClick);\n the.eventHandlers['event_5'] = KTUtil.on( element, '[data-menu-toggle=\"tab\"] > .menu-toggle, [data-menu-toggle=\"tab\"] > .menu-link .menu-toggle', 'click', Plugin.handleSubmenuDropdownTabClick);\n }\n\n // Handle general link click\n the.eventHandlers['event_6'] = KTUtil.on(element, '.menu-item > .menu-link:not(.menu-toggle):not(.menu-link-toggle-skip)', 'click', Plugin.handleLinkClick);\n\n // Init scrollable menu\n if (the.options.scroll && the.options.scroll.height) {\n Plugin.scrollInit();\n }\n },\n\n /**\n * Reset menu\n * @returns {KTMenu}\n */\n reset: function() {\n KTUtil.off( element, 'click', the.eventHandlers['event_1']);\n\n // dropdown submenu - hover toggle\n KTUtil.off( element, 'mouseover', the.eventHandlers['event_2']);\n KTUtil.off( element, 'mouseout', the.eventHandlers['event_3']);\n\n // dropdown submenu - click toggle\n KTUtil.off( element, 'click', the.eventHandlers['event_4']);\n KTUtil.off( element, 'click', the.eventHandlers['event_5']);\n\n // handle link click\n KTUtil.off(element, 'click', the.eventHandlers['event_6']);\n },\n\n /**\n * Init scroll menu\n *\n */\n scrollInit: function() {\n if ( the.options.scroll && the.options.scroll.height ) {\n KTUtil.scrollDestroy(element, true);\n KTUtil.scrollInit(element, {mobileNativeScroll: true, windowScroll: false, resetHeightOnDestroy: true, handleWindowResize: true, height: the.options.scroll.height, rememberPosition: the.options.scroll.rememberPosition});\n } else {\n KTUtil.scrollDestroy(element, true);\n }\n },\n\n /**\n * Update scroll menu\n */\n scrollUpdate: function() {\n if ( the.options.scroll && the.options.scroll.height ) {\n KTUtil.scrollUpdate(element);\n }\n },\n\n /**\n * Scroll top\n */\n scrollTop: function() {\n if ( the.options.scroll && the.options.scroll.height ) {\n KTUtil.scrollTop(element);\n }\n },\n\n /**\n * Get submenu mode for current breakpoint and menu state\n * @returns {KTMenu}\n */\n getSubmenuMode: function(el) {\n if ( KTUtil.isBreakpointUp('lg') ) {\n if (el && KTUtil.hasAttr(el, 'data-menu-toggle') && KTUtil.attr(el, 'data-menu-toggle') == 'hover') {\n return 'dropdown';\n }\n\n if ( KTUtil.isset(the.options.submenu, 'desktop.state.body') ) {\n if ( KTUtil.hasClasses(body, the.options.submenu.desktop.state.body) ) {\n return the.options.submenu.desktop.state.mode;\n } else {\n return the.options.submenu.desktop.default;\n }\n } else if ( KTUtil.isset(the.options.submenu, 'desktop') ) {\n return the.options.submenu.desktop;\n }\n } else if ( KTUtil.isBreakpointUp('md') && KTUtil.isBreakpointDown('lg') && KTUtil.isset(the.options.submenu, 'tablet') ) {\n return the.options.submenu.tablet;\n } else if ( KTUtil.isBreakpointDown('md') && KTUtil.isset(the.options.submenu, 'mobile') ) {\n return the.options.submenu.mobile;\n } else {\n return false;\n }\n },\n\n /**\n * Get submenu mode for current breakpoint and menu state\n * @returns {KTMenu}\n */\n isConditionalSubmenuDropdown: function() {\n if ( KTUtil.isBreakpointUp('lg') && KTUtil.isset(the.options.submenu, 'desktop.state.body') ) {\n return true;\n } else {\n return false;\n }\n },\n\n\n /**\n * Reset submenu attributes\n * @returns {KTMenu}\n */\n resetSubmenuProps: function(e) {\n var submenus = KTUtil.findAll(element, '.menu-submenu');\n if ( submenus ) {\n for (var i = 0, len = submenus.length; i < len; i++) {\n KTUtil.css(submenus[0], 'display', '');\n KTUtil.css(submenus[0], 'overflow', '');\n }\n }\n },\n\n /**\n * Handles submenu hover toggle\n * @returns {KTMenu}\n */\n handleSubmenuDrodownHoverEnter: function(e) {\n if ( Plugin.getSubmenuMode(this) === 'accordion' ) {\n return;\n }\n\n if ( the.resumeDropdownHover() === false ) {\n return;\n }\n\n var item = this;\n\n if ( item.getAttribute('data-hover') == '1' ) {\n item.removeAttribute('data-hover');\n clearTimeout( item.getAttribute('data-timeout') );\n item.removeAttribute('data-timeout');\n }\n\n Plugin.showSubmenuDropdown(item);\n },\n\n /**\n * Handles submenu hover toggle\n * @returns {KTMenu}\n */\n handleSubmenuDrodownHoverExit: function(e) {\n if ( the.resumeDropdownHover() === false ) {\n return;\n }\n\n if ( Plugin.getSubmenuMode(this) === 'accordion' ) {\n return;\n }\n\n var item = this;\n var time = the.options.dropdown.timeout;\n\n var timeout = setTimeout(function() {\n if ( item.getAttribute('data-hover') == '1' ) {\n Plugin.hideSubmenuDropdown(item, true);\n }\n }, time);\n\n item.setAttribute('data-hover', '1');\n item.setAttribute('data-timeout', timeout);\n },\n\n /**\n * Handles submenu click toggle\n * @returns {KTMenu}\n */\n handleSubmenuDropdownClick: function(e) {\n if ( Plugin.getSubmenuMode(this) === 'accordion' ) {\n return;\n }\n\n var item = this.closest('.menu-item');\n\n // Trigger click event handlers\n var result = Plugin.eventTrigger('submenuToggle', this, e);\n if (result === false) {\n return;\n }\n\n if ( item.getAttribute('data-menu-submenu-mode') == 'accordion' ) {\n return;\n }\n\n if ( KTUtil.hasClass(item, 'menu-item-hover') === false ) {\n KTUtil.addClass(item, 'menu-item-open-dropdown');\n Plugin.showSubmenuDropdown(item);\n } else {\n KTUtil.removeClass(item, 'menu-item-open-dropdown' );\n Plugin.hideSubmenuDropdown(item, true);\n }\n\n e.preventDefault();\n },\n\n /**\n * Handles tab click toggle\n * @returns {KTMenu}\n */\n handleSubmenuDropdownTabClick: function(e) {\n if (Plugin.getSubmenuMode(this) === 'accordion') {\n return;\n }\n var item = this.closest('.menu-item');\n\n // Trigger click event handlers\n var result = Plugin.eventTrigger('submenuToggle', this, e);\n if (result === false) {\n return;\n }\n\n if (item.getAttribute('data-menu-submenu-mode') == 'accordion') {\n return;\n }\n\n if (KTUtil.hasClass(item, 'menu-item-hover') == false) {\n KTUtil.addClass(item, 'menu-item-open-dropdown');\n Plugin.showSubmenuDropdown(item);\n }\n\n e.preventDefault();\n },\n\n /**\n * Handles link click\n * @returns {KTMenu}\n */\n handleLinkClick: function(e) {\n var submenu = this.closest('.menu-item.menu-item-submenu');\n\n // Trigger click event handlers\n var result = Plugin.eventTrigger('linkClick', this, e);\n if (result === false) {\n return;\n }\n\n if ( submenu && Plugin.getSubmenuMode(submenu) === 'dropdown' ) {\n Plugin.hideSubmenuDropdowns();\n }\n },\n\n /**\n * Handles submenu dropdown close on link click\n * @returns {KTMenu}\n */\n handleSubmenuDropdownClose: function(e, el) {\n // exit if its not submenu dropdown mode\n if (Plugin.getSubmenuMode(el) === 'accordion') {\n return;\n }\n\n var shown = element.querySelectorAll('.menu-item.menu-item-submenu.menu-item-hover:not(.menu-item-tabs)');\n\n // check if currently clicked link's parent item ha\n if (shown.length > 0 && KTUtil.hasClass(el, 'menu-toggle') === false && el.querySelectorAll('.menu-toggle').length === 0) {\n // close opened dropdown menus\n for (var i = 0, len = shown.length; i < len; i++) {\n Plugin.hideSubmenuDropdown(shown[0], true);\n }\n }\n },\n\n /**\n * helper functions\n * @returns {KTMenu}\n */\n handleSubmenuAccordion: function(e, el) {\n var query;\n var item = el ? el : this;\n\n // Trigger click event handlers\n var result = Plugin.eventTrigger('submenuToggle', this, e);\n if (result === false) {\n return;\n }\n\n if ( Plugin.getSubmenuMode(el) === 'dropdown' && (query = item.closest('.menu-item') ) ) {\n if (query.getAttribute('data-menu-submenu-mode') != 'accordion' ) {\n e.preventDefault();\n return;\n }\n }\n\n var li = item.closest('.menu-item');\n var submenu = KTUtil.child(li, '.menu-submenu, .menu-inner');\n\n if (KTUtil.hasClass(item.closest('.menu-item'), 'menu-item-open-always')) {\n return;\n }\n\n if ( li && submenu ) {\n e.preventDefault();\n var speed = the.options.accordion.slideSpeed;\n var hasClosables = false;\n\n if ( KTUtil.hasClass(li, 'menu-item-open') === false ) {\n // hide other accordions\n if ( the.options.accordion.expandAll === false ) {\n var subnav = item.closest('.menu-nav, .menu-subnav');\n var closables = KTUtil.children(subnav, '.menu-item.menu-item-open.menu-item-submenu:not(.menu-item-here):not(.menu-item-open-always)');\n\n if ( subnav && closables ) {\n for (var i = 0, len = closables.length; i < len; i++) {\n var el_ = closables[0];\n var submenu_ = KTUtil.child(el_, '.menu-submenu');\n if ( submenu_ ) {\n KTUtil.slideUp(submenu_, speed, function() {\n Plugin.scrollUpdate();\n KTUtil.removeClass(el_, 'menu-item-open');\n });\n }\n }\n }\n }\n\n KTUtil.slideDown(submenu, speed, function() {\n Plugin.scrollToItem(item);\n Plugin.scrollUpdate();\n\n Plugin.eventTrigger('submenuToggle', submenu, e);\n });\n\n KTUtil.addClass(li, 'menu-item-open');\n\n } else {\n KTUtil.slideUp(submenu, speed, function() {\n Plugin.scrollToItem(item);\n Plugin.eventTrigger('submenuToggle', submenu, e);\n });\n\n KTUtil.removeClass(li, 'menu-item-open');\n }\n }\n },\n\n /**\n * scroll to item function\n * @returns {KTMenu}\n */\n scrollToItem: function(item) {\n // handle auto scroll for accordion submenus\n if ( KTUtil.isBreakpointUp('lg') && the.options.accordion.autoScroll && element.getAttribute('data-menu-scroll') !== '1' ) {\n KTUtil.scrollTo(item, the.options.accordion.autoScrollSpeed);\n }\n },\n\n /**\n * Hide submenu dropdown\n * @returns {KTMenu}\n */\n hideSubmenuDropdown: function(item, classAlso) {\n // remove submenu activation class\n if ( classAlso ) {\n KTUtil.removeClass(item, 'menu-item-hover');\n KTUtil.removeClass(item, 'menu-item-active-tab');\n }\n\n // clear timeout\n item.removeAttribute('data-hover');\n\n if ( item.getAttribute('data-menu-toggle-class') ) {\n KTUtil.removeClass(body, item.getAttribute('data-menu-toggle-class'));\n }\n\n var timeout = item.getAttribute('data-timeout');\n item.removeAttribute('data-timeout');\n clearTimeout(timeout);\n },\n\n /**\n * Hide submenu dropdowns\n * @returns {KTMenu}\n */\n hideSubmenuDropdowns: function() {\n var items;\n if ( items = element.querySelectorAll('.menu-item-submenu.menu-item-hover:not(.menu-item-tabs):not([data-menu-toggle=\"tab\"])') ) {\n for (var j = 0, cnt = items.length; j < cnt; j++) {\n Plugin.hideSubmenuDropdown(items[j], true);\n }\n }\n },\n\n /**\n * helper functions\n * @returns {KTMenu}\n */\n showSubmenuDropdown: function(item) {\n // close active submenus\n var list = element.querySelectorAll('.menu-item-submenu.menu-item-hover, .menu-item-submenu.menu-item-active-tab');\n\n if ( list ) {\n for (var i = 0, len = list.length; i < len; i++) {\n var el = list[i];\n if ( item !== el && el.contains(item) === false && item.contains(el) === false ) {\n Plugin.hideSubmenuDropdown(el, true);\n }\n }\n }\n\n // add submenu activation class\n KTUtil.addClass(item, 'menu-item-hover');\n\n if ( item.getAttribute('data-menu-toggle-class') ) {\n KTUtil.addClass(body, item.getAttribute('data-menu-toggle-class'));\n }\n },\n\n /**\n * Handles submenu slide toggle\n * @returns {KTMenu}\n */\n createSubmenuDropdownClickDropoff: function(el) {\n var query;\n var zIndex = (query = KTUtil.child(el, '.menu-submenu') ? KTUtil.css(query, 'z-index') : 0) - 1;\n\n var dropoff = document.createElement('
');\n\n body.appendChild(dropoff);\n\n KTUtil.addEvent(dropoff, 'click', function(e) {\n e.stopPropagation();\n e.preventDefault();\n KTUtil.remove(this);\n Plugin.hideSubmenuDropdown(el, true);\n });\n },\n\n /**\n * Handles submenu hover toggle\n * @returns {KTMenu}\n */\n pauseDropdownHover: function(time) {\n var date = new Date();\n\n the.pauseDropdownHoverTime = date.getTime() + time;\n },\n\n /**\n * Handles submenu hover toggle\n * @returns {KTMenu}\n */\n resumeDropdownHover: function() {\n var date = new Date();\n\n return (date.getTime() > the.pauseDropdownHoverTime ? true : false);\n },\n\n /**\n * Reset menu's current active item\n * @returns {KTMenu}\n */\n resetActiveItem: function(item) {\n var list;\n var parents;\n\n list = element.querySelectorAll('.menu-item-active');\n\n for (var i = 0, len = list.length; i < len; i++) {\n var el = list[0];\n KTUtil.removeClass(el, 'menu-item-active');\n KTUtil.hide( KTUtil.child(el, '.menu-submenu') );\n parents = KTUtil.parents(el, '.menu-item-submenu') || [];\n\n for (var i_ = 0, len_ = parents.length; i_ < len_; i_++) {\n var el_ = parents[i];\n KTUtil.removeClass(el_, 'menu-item-open');\n KTUtil.hide( KTUtil.child(el_, '.menu-submenu') );\n }\n }\n\n // close open submenus\n if ( the.options.accordion.expandAll === false ) {\n if ( list = element.querySelectorAll('.menu-item-open') ) {\n for (var i = 0, len = list.length; i < len; i++) {\n KTUtil.removeClass(parents[0], 'menu-item-open');\n }\n }\n }\n },\n\n /**\n * Sets menu's active item\n * @returns {KTMenu}\n */\n setActiveItem: function(item) {\n // reset current active item\n Plugin.resetActiveItem();\n\n var parents = KTUtil.parents(item, '.menu-item-submenu') || [];\n for (var i = 0, len = parents.length; i < len; i++) {\n KTUtil.addClass(parents[i], 'menu-item-open');\n }\n\n KTUtil.addClass(item, 'menu-item-active');\n },\n\n /**\n * Returns page breadcrumbs for the menu's active item\n * @returns {KTMenu}\n */\n getBreadcrumbs: function(item) {\n var query;\n var breadcrumbs = [];\n var link = KTUtil.child(item, '.menu-link');\n\n breadcrumbs.push({\n text: (query = KTUtil.child(link, '.menu-text') ? query.innerHTML : ''),\n title: link.getAttribute('title'),\n href: link.getAttribute('href')\n });\n\n var parents = KTUtil.parents(item, '.menu-item-submenu');\n for (var i = 0, len = parents.length; i < len; i++) {\n var submenuLink = KTUtil.child(parents[i], '.menu-link');\n\n breadcrumbs.push({\n text: (query = KTUtil.child(submenuLink, '.menu-text') ? query.innerHTML : ''),\n title: submenuLink.getAttribute('title'),\n href: submenuLink.getAttribute('href')\n });\n }\n\n return breadcrumbs.reverse();\n },\n\n /**\n * Returns page title for the menu's active item\n * @returns {KTMenu}\n */\n getPageTitle: function(item) {\n var query;\n\n return (query = KTUtil.child(item, '.menu-text') ? query.innerHTML : '');\n },\n\n /**\n * Trigger events\n */\n eventTrigger: function(name, target, e) {\n for (var i = 0; i < the.events.length; i++ ) {\n var event = the.events[i];\n if ( event.name == name ) {\n if ( event.one == true ) {\n if ( event.fired == false ) {\n the.events[i].fired = true;\n return event.handler.call(this, target, e);\n }\n } else {\n return event.handler.call(this, target, e);\n }\n }\n }\n },\n\n addEvent: function(name, handler, one) {\n the.events.push({\n name: name,\n handler: handler,\n one: one,\n fired: false\n });\n },\n\n removeEvent: function(name) {\n if (the.events[name]) {\n delete the.events[name];\n }\n }\n };\n\n //////////////////////////\n // ** Public Methods ** //\n //////////////////////////\n\n /**\n * Set default options\n */\n\n the.setDefaults = function(options) {\n defaultOptions = options;\n };\n\n /**\n * Update scroll\n */\n the.scrollUpdate = function() {\n return Plugin.scrollUpdate();\n };\n\n /**\n * Re-init scroll\n */\n the.scrollReInit = function() {\n return Plugin.scrollInit();\n };\n\n /**\n * Scroll top\n */\n the.scrollTop = function() {\n return Plugin.scrollTop();\n };\n\n /**\n * Set active menu item\n */\n the.setActiveItem = function(item) {\n return Plugin.setActiveItem(item);\n };\n\n the.reload = function() {\n return Plugin.reload();\n };\n\n the.update = function(options) {\n return Plugin.update(options);\n };\n\n /**\n * Set breadcrumb for menu item\n */\n the.getBreadcrumbs = function(item) {\n return Plugin.getBreadcrumbs(item);\n };\n\n /**\n * Set page title for menu item\n */\n the.getPageTitle = function(item) {\n return Plugin.getPageTitle(item);\n };\n\n /**\n * Get submenu mode\n */\n the.getSubmenuMode = function(el) {\n return Plugin.getSubmenuMode(el);\n };\n\n /**\n * Hide dropdown\n * @returns {Object}\n */\n the.hideDropdown = function(item) {\n Plugin.hideSubmenuDropdown(item, true);\n };\n\n /**\n * Hide dropdowns\n * @returns {Object}\n */\n the.hideDropdowns = function() {\n Plugin.hideSubmenuDropdowns();\n };\n\n /**\n * Disable menu for given time\n * @returns {Object}\n */\n the.pauseDropdownHover = function(time) {\n Plugin.pauseDropdownHover(time);\n };\n\n /**\n * Disable menu for given time\n * @returns {Object}\n */\n the.resumeDropdownHover = function() {\n return Plugin.resumeDropdownHover();\n };\n\n /**\n * Register event\n */\n the.on = function(name, handler) {\n return Plugin.addEvent(name, handler);\n };\n\n the.off = function(name) {\n return Plugin.removeEvent(name);\n };\n\n the.one = function(name, handler) {\n return Plugin.addEvent(name, handler, true);\n };\n\n ///////////////////////////////\n // ** Plugin Construction ** //\n ///////////////////////////////\n\n // Run plugin\n Plugin.construct.apply(the, [options]);\n\n // Handle plugin on window resize\n KTUtil.addResizeHandler(function() {\n if (init) {\n the.reload();\n }\n });\n\n // Init done\n init = true;\n\n // Return plugin instance\n return the;\n};\n\n// webpack support\nif (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\n // module.exports = KTMenu;\n}\n\n// Plugin global lazy initialization\ndocument.addEventListener(\"click\", function (e) {\n var body = KTUtil.getByTagName('body')[0];\n var query;\n if ( query = body.querySelectorAll('.menu-nav .menu-item.menu-item-submenu.menu-item-hover:not(.menu-item-tabs)[data-menu-toggle=\"click\"]') ) {\n for (var i = 0, len = query.length; i < len; i++) {\n var element = query[i].closest('.menu-nav').parentNode;\n\n if ( element ) {\n var the = KTUtil.data(element).get('menu');\n\n if ( !the ) {\n break;\n }\n\n if ( !the || the.getSubmenuMode() !== 'dropdown' ) {\n break;\n }\n\n if ( e.target !== element && element.contains(e.target) === false ) {\n the.hideDropdowns();\n }\n }\n }\n }\n});\n\nexport default KTMenu;","/* eslint-disable */\n\"use strict\";\n\nimport { KTUtil } from \"./util\";\n\n// Component Definition \nvar KTToggle = function(elementId, options) {\n // Main object\n var the = this;\n var init = false;\n\n // Get element object\n var element = KTUtil.getById(elementId);\n\n if (!element) {\n return;\n }\n\n // Default options\n var defaultOptions = {\n };\n\n ////////////////////////////\n // ** Private Methods ** //\n ////////////////////////////\n\n var Plugin = {\n /**\n * Construct\n */\n\n construct: function(options) {\n if (KTUtil.data(element).has('toggle')) {\n the = KTUtil.data(element).get('toggle');\n } else {\n // reset menu\n Plugin.init(options);\n\n // build menu\n Plugin.build();\n\n KTUtil.data(element).set('toggle', the);\n }\n\n return the;\n },\n\n /**\n * Handles subtoggle click toggle\n */\n init: function(options) {\n the.element = element;\n the.events = [];\n\n // options\n the.options = options;\n\n //alert(the.options.target.tagName);\n the.target = KTUtil.getById(the.options.target);\n\n the.targetState = the.options.targetState;\n the.toggleState = the.options.toggleState;\n\n the.state = KTUtil.hasClasses(the.target, the.targetState) ? 'on' : 'off';\n },\n\n /**\n * Setup toggle\n */\n build: function() {\n KTUtil.addEvent(element, 'mouseup', Plugin.toggle);\n },\n\n /**\n * Handles offcanvas click toggle\n */\n toggle: function(e) {\n Plugin.eventTrigger('beforeToggle');\n\n if (the.state == 'off') {\n Plugin.toggleOn();\n } else {\n Plugin.toggleOff();\n }\n\n Plugin.eventTrigger('afterToggle');\n\n e.preventDefault();\n\n return the;\n },\n\n /**\n * Handles toggle click toggle\n */\n toggleOn: function() {\n Plugin.eventTrigger('beforeOn');\n\n KTUtil.addClass(the.target, the.targetState);\n\n if (the.toggleState) {\n KTUtil.addClass(element, the.toggleState);\n }\n\n the.state = 'on';\n\n Plugin.eventTrigger('afterOn');\n\n Plugin.eventTrigger('toggle');\n\n return the;\n },\n\n /**\n * Handles toggle click toggle\n */\n toggleOff: function() {\n Plugin.eventTrigger('beforeOff');\n\n KTUtil.removeClass(the.target, the.targetState);\n\n if (the.toggleState) {\n KTUtil.removeClass(element, the.toggleState);\n }\n\n the.state = 'off';\n\n Plugin.eventTrigger('afterOff');\n\n Plugin.eventTrigger('toggle');\n\n return the;\n },\n\n /**\n * Trigger events\n */\n eventTrigger: function(name) {\n for (var i = 0; i < the.events.length; i++) {\n var event = the.events[i];\n\n if (event.name == name) {\n if (event.one == true) {\n if (event.fired == false) {\n the.events[i].fired = true;\n return event.handler.call(this, the);\n }\n } else {\n return event.handler.call(this, the);\n }\n }\n }\n },\n\n addEvent: function(name, handler, one) {\n the.events.push({\n name: name,\n handler: handler,\n one: one,\n fired: false\n });\n\n return the;\n }\n };\n\n //////////////////////////\n // ** Public Methods ** //\n //////////////////////////\n\n /**\n * Set default options\n */\n\n the.setDefaults = function(options) {\n defaultOptions = options;\n };\n\n /**\n * Get toggle state\n */\n the.getState = function() {\n return the.state;\n };\n\n /**\n * Toggle\n */\n the.toggle = function() {\n return Plugin.toggle();\n };\n\n /**\n * Toggle on\n */\n the.toggleOn = function() {\n return Plugin.toggleOn();\n };\n\n /**\n * Toggle off\n */\n the.toggleOff = function() {\n return Plugin.toggleOff();\n };\n\n /**\n * Attach event\n * @returns {KTToggle}\n */\n the.on = function(name, handler) {\n return Plugin.addEvent(name, handler);\n };\n\n /**\n * Attach event that will be fired once\n * @returns {KTToggle}\n */\n the.one = function(name, handler) {\n return Plugin.addEvent(name, handler, true);\n };\n\n // Construct plugin\n Plugin.construct.apply(the, [options]);\n\n return the;\n};\n\n// webpack support\nif (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\n // module.exports = KTToggle;\n}\n\nexport default KTToggle;","/* eslint-disable */\n\"use strict\";\n\nimport { KTUtil } from \"./../../components/util.js\";\n\nvar KTLayoutBrand = function() {\n // Private properties\n var _element;\n\n // Private functions\n var _getHeight = function() {\n var height = 0;\n\n if (_element) {\n height = KTUtil.actualHeight(_element);\n }\n\n return height;\n }\n\n // Public methods\n\treturn {\n\t\tinit: function(id) {\n _element = KTUtil.getById(id);\n\n if (!_element) {\n return;\n }\n\t\t},\n\n getElement: function() {\n return _element;\n },\n\n getHeight: function() {\n return _getHeight();\n }\n\t};\n}();\n\n// Webpack support\nif (typeof module !== 'undefined') {\n\t// module.exports = KTLayoutBrand;\n}\n\nexport default KTLayoutBrand;","/* eslint-disable */\n\"use strict\";\n\nimport KTLayoutHeader from \"./header.js\";\nimport KTCard from \"./../../components/card.js\";\nimport { KTUtil } from \"./../../components/util.js\";\nimport KTLayoutSubheader from \"./subheader.js\";\n\nvar KTLayoutStickyCard = function() {\n // Private properties\n\tvar _element;\n var _object;\n\n\t// Private functions\n\tvar _init = function() {\n\t\tvar offset = 300;\n\n\t\tif (typeof KTLayoutHeader !== 'undefined') {\n\t\t\toffset = KTLayoutHeader.getHeight();\n\t\t}\n\n _object = new KTCard(_element, {\n\t\t\tsticky: {\n\t\t\t\toffset: offset,\n\t\t\t\tzIndex: 90,\n\t\t\t\tposition: {\n\t\t\t\t\ttop: function() {\n\t\t\t\t\t\tvar pos = 0;\n var body = KTUtil.getBody();\n\n\t\t\t\t\t\tif (KTUtil.isBreakpointUp('lg')) {\n\t\t\t\t\t\t\tif (typeof KTLayoutHeader !== 'undefined' && KTLayoutHeader.isFixed()) {\n\t\t\t\t\t\t\t\tpos = pos + KTLayoutHeader.getHeight();\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (typeof KTLayoutSubheader !== 'undefined' && KTLayoutSubheader.isFixed()) {\n\t\t\t\t\t\t\t\tpos = pos + KTLayoutSubheader.getHeight();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (typeof KTLayoutHeader !== 'undefined' && KTLayoutHeader.isFixedForMobile()) {\n\t\t\t\t\t\t\t\tpos = pos + KTLayoutHeader.getHeightForMobile();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tpos = pos - 1; // remove header border width\n\n\t\t\t\t\t\treturn pos;\n\t\t\t\t\t},\n\t\t\t\t\tleft: function(card) {\n\t\t\t\t\t\treturn KTUtil.offset(_element).left;\n\t\t\t\t\t},\n\t\t\t\t\tright: function(card) {\n\t\t\t\t\t\tvar body = KTUtil.getBody();\n\n\t\t\t\t\t\tvar cardWidth = parseInt(KTUtil.css(_element, 'width'));\n\t\t\t\t\t\tvar bodyWidth = parseInt(KTUtil.css(body, 'width'));\n\t\t\t\t\t\tvar cardOffsetLeft = KTUtil.offset(_element).left;\n\n\t\t\t\t\t\treturn bodyWidth - cardWidth - cardOffsetLeft;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t_object.initSticky();\n\n\t\tKTUtil.addResizeHandler(function() {\n\t\t\t_object.updateSticky();\n\t\t});\n\t}\n\n // Public methods\n\treturn {\n\t\tinit: function(id) {\n _element = KTUtil.getById(id);\n\n if (!_element) {\n return;\n }\n\n // Initialize\n\t\t\t_init();\n\t\t},\n\n\t\tupdate: function() {\n\t\t\tif (_object) {\n\t\t\t\t_object.updateSticky();\n\t\t\t}\n\t\t}\n\t};\n}();\n\n// Webpack support\nif (typeof module !== 'undefined') {\n\t// module.exports = KTLayoutStickyCard;\n}\n\nexport default KTLayoutStickyCard;","import { API, graphqlOperation } from \"aws-amplify\";\nimport {\n listNotifications,\n notificationsByUser,\n} from \"../../../../../graphql/queries\";\nimport {\n updateNotification,\n createNotification,\n} from \"../../../../../graphql/mutations\";\n\nexport function findObjects(queryParams, additionalFilters, nextToken) {\n const params = {\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n }\n\n return API.graphql(graphqlOperation(listNotifications, params));\n}\n\nexport function findObjectsByUser(\n userId,\n queryParams,\n additionalFilters,\n nextToken\n) {\n const params = {\n userId: userId,\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n\n params.filter = {\n ...params.filter,\n };\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n }\n\n return API.graphql(graphqlOperation(notificationsByUser, params));\n}\n\nexport function createObject(obj) {\n return API.graphql(graphqlOperation(createNotification, { input: obj }));\n}\n\nexport function updateObject(obj) {\n return API.graphql(graphqlOperation(updateNotification, { input: obj }));\n}\n\nexport function updateObjects(objs) {\n var updates = [];\n objs.forEach((obj) => {\n updates.push(\n new Promise((resolve, reject) => {\n return resolve(updateObject(obj));\n })\n );\n });\n return Promise.all(updates);\n}\n","import * as request from \"./crud\";\nimport { GenerateSlice, GenerateActions, GenerateFetchObjectsBy } from \"../../../../utils/components/generic/_redux\";\n\nconst sliceActions = GenerateSlice(\"notifications\").actions;\n\nexport const actions = {\n ...GenerateActions(sliceActions, request, \"Notification\"),\n fetchObjectsByUser: (qp, af, nextToken, op) => GenerateFetchObjectsBy(\n sliceActions,\n request.findObjectsByUser,\n \"notificationsByUser\",\n qp,\n af,\n nextToken,\n op\n )\n};\n","/* eslint-disable */\n\"use strict\";\n\nimport PerfectScrollbar from \"perfect-scrollbar\";\n\nimport { KTCookie } from \"./cookie.js\";\n\n/**\n * @class KTUtil base utilize class that privides helper functions\n */\n\n// Polyfills\n/**\n * Element.matches() polyfill (simple version)\n * https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill\n */\nif (!Element.prototype.matches) {\n\tElement.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\n}\n\n/**\n * Element.closest() polyfill\n * https://developer.mozilla.org/en-US/docs/Web/API/Element/closest#Polyfill\n */\nif (!Element.prototype.closest) {\n\tif (!Element.prototype.matches) {\n\t\tElement.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\n\t}\n\tElement.prototype.closest = function (s) {\n\t\tvar el = this;\n\t\tvar ancestor = this;\n\t\tif (!document.documentElement.contains(el)) return null;\n\t\tdo {\n\t\t\tif (ancestor.matches(s)) return ancestor;\n\t\t\tancestor = ancestor.parentElement;\n\t\t} while (ancestor !== null);\n\t\treturn null;\n\t};\n}\n\n/**\n * ChildNode.remove() polyfill\n * https://gomakethings.com/removing-an-element-from-the-dom-the-es6-way/\n * @author Chris Ferdinandi\n * @license MIT\n */\n(function (elem) {\n\tfor (var i = 0; i < elem.length; i++) {\n\t\tif (!window[elem[i]] || 'remove' in window[elem[i]].prototype) continue;\n\t\twindow[elem[i]].prototype.remove = function () {\n\t\t\tthis.parentNode.removeChild(this);\n\t\t};\n\t}\n})(['Element', 'CharacterData', 'DocumentType']);\n\n//\n// requestAnimationFrame polyfill by Erik Möller.\n// With fixes from Paul Irish and Tino Zijdel\n//\n// http://paulirish.com/2011/requestanimationframe-for-smart-animating/\n// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating\n//\n// MIT license\n//\n(function() {\n var lastTime = 0;\n var vendors = ['webkit', 'moz'];\n for (var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) {\n window.requestAnimationFrame = window[vendors[x] + 'RequestAnimationFrame'];\n window.cancelAnimationFrame =\n window[vendors[x] + 'CancelAnimationFrame'] || window[vendors[x] + 'CancelRequestAnimationFrame'];\n }\n\n if (!window.requestAnimationFrame)\n window.requestAnimationFrame = function(callback) {\n var currTime = new Date().getTime();\n var timeToCall = Math.max(0, 16 - (currTime - lastTime));\n var id = window.setTimeout(function() {\n callback(currTime + timeToCall);\n }, timeToCall);\n lastTime = currTime + timeToCall;\n return id;\n };\n\n if (!window.cancelAnimationFrame)\n window.cancelAnimationFrame = function(id) {\n clearTimeout(id);\n };\n}());\n\n// Source: https://github.com/jserz/js_piece/blob/master/DOM/ParentNode/prepend()/prepend().md\n(function(arr) {\n arr.forEach(function(item) {\n if (item.hasOwnProperty('prepend')) {\n return;\n }\n Object.defineProperty(item, 'prepend', {\n configurable: true,\n enumerable: true,\n writable: true,\n value: function prepend() {\n var argArr = Array.prototype.slice.call(arguments),\n docFrag = document.createDocumentFragment();\n\n argArr.forEach(function(argItem) {\n var isNode = argItem instanceof Node;\n docFrag.appendChild(isNode ? argItem : document.createTextNode(String(argItem)));\n });\n\n this.insertBefore(docFrag, this.firstChild);\n }\n });\n });\n})([Element.prototype, Document.prototype, DocumentFragment.prototype]);\n\n// Global variables\nwindow.KTUtilElementDataStore = {};\nwindow.KTUtilElementDataStoreID = 0;\nwindow.KTUtilDelegatedEventHandlers = {};\n\nexport var KTUtil = function() {\n var resizeHandlers = [];\n\n /** @type {object} breakpoints The device width breakpoints **/\n var breakpoints = {\n sm: 544, // Small screen / phone\n md: 768, // Medium screen / tablet\n lg: 992, // Large screen / desktop\n xl: 1200 // Extra large screen / wide desktop\n };\n\n /**\n * Handle window resize event with some\n * delay to attach event handlers upon resize complete\n */\n var _windowResizeHandler = function() {\n var _runResizeHandlers = function() {\n // reinitialize other subscribed elements\n for (var i = 0; i < resizeHandlers.length; i++) {\n var each = resizeHandlers[i];\n each.call();\n }\n };\n\n var timer;\n\n window.addEventListener('resize', function() {\n KTUtil.throttle(timer, function() {\n _runResizeHandlers();\n }, 200);\n });\n };\n\n return {\n /**\n * Class main initializer.\n * @param {object} settings.\n * @returns null\n */\n //main function to initiate the theme\n init: function(settings) {\n if (settings && settings.breakpoints) {\n breakpoints = settings.breakpoints;\n }\n\n _windowResizeHandler();\n },\n\n /**\n * Adds window resize event handler.\n * @param {function} callback function.\n */\n addResizeHandler: function(callback) {\n resizeHandlers.push(callback);\n },\n\n /**\n * Removes window resize event handler.\n * @param {function} callback function.\n */\n removeResizeHandler: function(callback) {\n for (var i = 0; i < resizeHandlers.length; i++) {\n if (callback === resizeHandlers[i]) {\n delete resizeHandlers[i];\n }\n }\n },\n\n /**\n * Trigger window resize handlers.\n */\n runResizeHandlers: function() {\n _runResizeHandlers();\n },\n\n resize: function() {\n if (typeof(Event) === 'function') {\n // modern browsers\n window.dispatchEvent(new Event('resize'));\n } else {\n // for IE and other old browsers\n // causes deprecation warning on modern browsers\n var evt = window.document.createEvent('UIEvents');\n evt.initUIEvent('resize', true, false, window, 0);\n window.dispatchEvent(evt);\n }\n },\n\n /**\n * Get GET parameter value from URL.\n * @param {string} paramName Parameter name.\n * @returns {string}\n */\n getURLParam: function(paramName) {\n var searchString = window.location.search.substring(1),\n i, val, params = searchString.split(\"&\");\n\n for (i = 0; i < params.length; i++) {\n val = params[i].split(\"=\");\n if (val[0] == paramName) {\n return unescape(val[1]);\n }\n }\n\n return null;\n },\n\n /**\n * Checks whether current device is mobile touch.\n * @returns {boolean}\n */\n isMobileDevice: function() {\n return (this.getViewPort().width < this.getBreakpoint('lg') ? true : false);\n },\n\n /**\n * Checks whether current device is desktop.\n * @returns {boolean}\n */\n isDesktopDevice: function() {\n return KTUtil.isMobileDevice() ? false : true;\n },\n\n /**\n * Gets browser window viewport size. Ref:\n * http://andylangton.co.uk/articles/javascript/get-viewport-size-javascript/\n * @returns {object}\n */\n getViewPort: function() {\n var e = window,\n a = 'inner';\n if (!('innerWidth' in window)) {\n a = 'client';\n e = document.documentElement || document.body;\n }\n\n return {\n width: e[a + 'Width'],\n height: e[a + 'Height']\n };\n },\n\n /**\n * Checks whether given device mode is currently activated.\n * @param {string} mode Responsive mode name(e.g: desktop,\n * desktop-and-tablet, tablet, tablet-and-mobile, mobile)\n * @returns {boolean}\n */\n isInResponsiveRange: function(mode) {\n var breakpoint = this.getViewPort().width;\n\n if (mode == 'general') {\n return true;\n } else if (mode == 'desktop' && breakpoint >= (this.getBreakpoint('lg') + 1)) {\n return true;\n } else if (mode == 'tablet' && (breakpoint >= (this.getBreakpoint('md') + 1) && breakpoint < this.getBreakpoint('lg'))) {\n return true;\n } else if (mode == 'mobile' && breakpoint <= this.getBreakpoint('md')) {\n return true;\n } else if (mode == 'desktop-and-tablet' && breakpoint >= (this.getBreakpoint('md') + 1)) {\n return true;\n } else if (mode == 'tablet-and-mobile' && breakpoint <= this.getBreakpoint('lg')) {\n return true;\n } else if (mode == 'minimal-desktop-and-below' && breakpoint <= this.getBreakpoint('xl')) {\n return true;\n }\n\n return false;\n },\n\n\t\t/**\n * Checks whether given device mode is currently activated.\n * @param {string} mode Responsive mode name(e.g: desktop,\n * desktop-and-tablet, tablet, tablet-and-mobile, mobile)\n * @returns {boolean}\n */\n isBreakpointUp: function(mode) {\n var width = this.getViewPort().width;\n\t\t\tvar breakpoint = this.getBreakpoint(mode);\n\n\t\t\treturn (width >= breakpoint);\n },\n\n\t\tisBreakpointDown: function(mode) {\n var width = this.getViewPort().width;\n\t\t\tvar breakpoint = this.getBreakpoint(mode);\n\n\t\t\treturn (width < breakpoint);\n },\n\n\n /**\n * Generates unique ID for give prefix.\n * @param {string} prefix Prefix for generated ID\n * @returns {boolean}\n */\n getUniqueID: function(prefix) {\n return prefix + Math.floor(Math.random() * (new Date()).getTime());\n },\n\n /**\n * Gets window width for give breakpoint mode.\n * @param {string} mode Responsive mode name(e.g: xl, lg, md, sm)\n * @returns {number}\n */\n getBreakpoint: function(mode) {\n return breakpoints[mode];\n },\n\n /**\n * Checks whether object has property matchs given key path.\n * @param {object} obj Object contains values paired with given key path\n * @param {string} keys Keys path seperated with dots\n * @returns {object}\n */\n isset: function(obj, keys) {\n var stone;\n\n keys = keys || '';\n\n if (keys.indexOf('[') !== -1) {\n throw new Error('Unsupported object path notation.');\n }\n\n keys = keys.split('.');\n\n do {\n if (obj === undefined) {\n return false;\n }\n\n stone = keys.shift();\n\n if (!obj.hasOwnProperty(stone)) {\n return false;\n }\n\n obj = obj[stone];\n\n } while (keys.length);\n\n return true;\n },\n\n /**\n * Gets highest z-index of the given element parents\n * @param {object} el jQuery element object\n * @returns {number}\n */\n getHighestZindex: function(el) {\n var position, value;\n\n while (el && el !== document) {\n // Ignore z-index if position is set to a value where z-index is ignored by the browser\n // This makes behavior of this function consistent across browsers\n // WebKit always returns auto if the element is positioned\n position = KTUtil.css(el, 'position');\n\n if (position === \"absolute\" || position === \"relative\" || position === \"fixed\") {\n // IE returns 0 when zIndex is not specified\n // other browsers return a string\n // we ignore the case of nested elements with an explicit value of 0\n //
\n value = parseInt(KTUtil.css(el, 'z-index'));\n\n if (!isNaN(value) && value !== 0) {\n return value;\n }\n }\n\n el = el.parentNode;\n }\n\n return null;\n },\n\n /**\n * Checks whether the element has any parent with fixed positionfreg\n * @param {object} el jQuery element object\n * @returns {boolean}\n */\n hasFixedPositionedParent: function(el) {\n var position;\n\n while (el && el !== document) {\n position = KTUtil.css(el, 'position');\n\n if (position === \"fixed\") {\n return true;\n }\n\n el = el.parentNode;\n }\n\n return false;\n },\n\n /**\n * Simulates delay\n */\n sleep: function(milliseconds) {\n var start = new Date().getTime();\n for (var i = 0; i < 1e7; i++) {\n if ((new Date().getTime() - start) > milliseconds) {\n break;\n }\n }\n },\n\n /**\n * Gets randomly generated integer value within given min and max range\n * @param {number} min Range start value\n * @param {number} max Range end value\n * @returns {number}\n */\n getRandomInt: function(min, max) {\n return Math.floor(Math.random() * (max - min + 1)) + min;\n },\n\n /**\n * Checks whether Angular library is included\n * @returns {boolean}\n */\n isAngularVersion: function() {\n return window.Zone !== undefined ? true : false;\n },\n\n // jQuery Workarounds\n\n // Deep extend: $.extend(true, {}, objA, objB);\n deepExtend: function(out) {\n out = out || {};\n\n for (var i = 1; i < arguments.length; i++) {\n var obj = arguments[i];\n\n if (!obj)\n continue;\n\n for (var key in obj) {\n if (obj.hasOwnProperty(key)) {\n if (typeof obj[key] === 'object')\n out[key] = KTUtil.deepExtend(out[key], obj[key]);\n else\n out[key] = obj[key];\n }\n }\n }\n\n return out;\n },\n\n // extend: $.extend({}, objA, objB);\n extend: function(out) {\n out = out || {};\n\n for (var i = 1; i < arguments.length; i++) {\n if (!arguments[i])\n continue;\n\n for (var key in arguments[i]) {\n if (arguments[i].hasOwnProperty(key))\n out[key] = arguments[i][key];\n }\n }\n\n return out;\n },\n\n getById: function(el) {\n if (typeof el === 'string') {\n return document.getElementById(el);\n } else {\n return el;\n }\n },\n\n getByTag: function(query) {\n return document.getElementsByTagName(query);\n },\n\n getByTagName: function(query) {\n return document.getElementsByTagName(query);\n },\n\n getByClass: function(query) {\n return document.getElementsByClassName(query);\n },\n\n getBody: function() {\n return document.getElementsByTagName('body')[0];\n },\n\n /**\n * Checks whether the element has given classes\n * @param {object} el jQuery element object\n * @param {string} Classes string\n * @returns {boolean}\n */\n hasClasses: function(el, classes) {\n if (!el) {\n return;\n }\n\n var classesArr = classes.split(\" \");\n\n for (var i = 0; i < classesArr.length; i++) {\n if (KTUtil.hasClass(el, KTUtil.trim(classesArr[i])) == false) {\n return false;\n }\n }\n\n return true;\n },\n\n hasClass: function(el, className) {\n if (!el) {\n return;\n }\n\n return el.classList ? el.classList.contains(className) : new RegExp('\\\\b' + className + '\\\\b').test(el.className);\n },\n\n addClass: function(el, className) {\n if (!el || typeof className === 'undefined') {\n return;\n }\n\n var classNames = className.split(' ');\n\n if (el.classList) {\n for (var i = 0; i < classNames.length; i++) {\n if (classNames[i] && classNames[i].length > 0) {\n el.classList.add(KTUtil.trim(classNames[i]));\n }\n }\n } else if (!KTUtil.hasClass(el, className)) {\n for (var x = 0; x < classNames.length; x++) {\n el.className += ' ' + KTUtil.trim(classNames[x]);\n }\n }\n },\n\n removeClass: function(el, className) {\n if (!el || typeof className === 'undefined') {\n return;\n }\n\n var classNames = className.split(' ');\n\n if (el.classList) {\n for (var i = 0; i < classNames.length; i++) {\n el.classList.remove(KTUtil.trim(classNames[i]));\n }\n } else if (KTUtil.hasClass(el, className)) {\n for (var x = 0; x < classNames.length; x++) {\n el.className = el.className.replace(new RegExp('\\\\b' + KTUtil.trim(classNames[x]) + '\\\\b', 'g'), '');\n }\n }\n },\n\n triggerCustomEvent: function(el, eventName, data) {\n var event;\n if (window.CustomEvent) {\n event = new CustomEvent(eventName, {\n detail: data\n });\n } else {\n event = document.createEvent('CustomEvent');\n event.initCustomEvent(eventName, true, true, data);\n }\n\n el.dispatchEvent(event);\n },\n\n triggerEvent: function(node, eventName) {\n // Make sure we use the ownerDocument from the provided node to avoid cross-window problems\n var doc;\n if (node.ownerDocument) {\n doc = node.ownerDocument;\n } else if (node.nodeType == 9) {\n // the node may be the document itself, nodeType 9 = DOCUMENT_NODE\n doc = node;\n } else {\n throw new Error(\"Invalid node passed to fireEvent: \" + node.id);\n }\n\n if (node.dispatchEvent) {\n // Gecko-style approach (now the standard) takes more work\n var eventClass = \"\";\n\n // Different events have different event classes.\n // If this switch statement can't map an eventName to an eventClass,\n // the event firing is going to fail.\n switch (eventName) {\n case \"click\": // Dispatching of 'click' appears to not work correctly in Safari. Use 'mousedown' or 'mouseup' instead.\n case \"mouseenter\":\n case \"mouseleave\":\n case \"mousedown\":\n case \"mouseup\":\n eventClass = \"MouseEvents\";\n break;\n\n case \"focus\":\n case \"change\":\n case \"blur\":\n case \"select\":\n eventClass = \"HTMLEvents\";\n break;\n\n default:\n throw \"fireEvent: Couldn't find an event class for event '\" + eventName + \"'.\";\n break;\n }\n var event = doc.createEvent(eventClass);\n\n var bubbles = eventName == \"change\" ? false : true;\n event.initEvent(eventName, bubbles, true); // All events created as bubbling and cancelable.\n\n event.synthetic = true; // allow detection of synthetic events\n // The second parameter says go ahead with the default action\n node.dispatchEvent(event, true);\n } else if (node.fireEvent) {\n // IE-old school style\n var event = doc.createEventObject();\n event.synthetic = true; // allow detection of synthetic events\n node.fireEvent(\"on\" + eventName, event);\n }\n },\n\n index: function( el ){\n var c = el.parentNode.children, i = 0;\n for(; i < c.length; i++ )\n if( c[i] == el ) return i;\n },\n\n trim: function(string) {\n return string.trim();\n },\n\n eventTriggered: function(e) {\n if (e.currentTarget.dataset.triggered) {\n return true;\n } else {\n e.currentTarget.dataset.triggered = true;\n\n return false;\n }\n },\n\n remove: function(el) {\n if (el && el.parentNode) {\n el.parentNode.removeChild(el);\n }\n },\n\n find: function(parent, query) {\n parent = KTUtil.getById(parent);\n if (parent) {\n return parent.querySelector(query);\n }\n },\n\n findAll: function(parent, query) {\n parent = KTUtil.getById(parent);\n if (parent) {\n return parent.querySelectorAll(query);\n }\n },\n\n insertAfter: function(el, referenceNode) {\n return referenceNode.parentNode.insertBefore(el, referenceNode.nextSibling);\n },\n\n parents: function(elem, selector) {\n // Element.matches() polyfill\n if (!Element.prototype.matches) {\n Element.prototype.matches =\n Element.prototype.matchesSelector ||\n Element.prototype.mozMatchesSelector ||\n Element.prototype.msMatchesSelector ||\n Element.prototype.oMatchesSelector ||\n Element.prototype.webkitMatchesSelector ||\n function(s) {\n var matches = (this.document || this.ownerDocument).querySelectorAll(s),\n i = matches.length;\n while (--i >= 0 && matches.item(i) !== this) {}\n return i > -1;\n };\n }\n\n // Set up a parent array\n var parents = [];\n\n // Push each parent element to the array\n for ( ; elem && elem !== document; elem = elem.parentNode ) {\n if (selector) {\n if (elem.matches(selector)) {\n parents.push(elem);\n }\n continue;\n }\n parents.push(elem);\n }\n\n // Return our parent array\n return parents;\n },\n\n children: function(el, selector, log) {\n if (!el || !el.childNodes) {\n return;\n }\n\n var result = [],\n i = 0,\n l = el.childNodes.length;\n\n for (var i; i < l; ++i) {\n if (el.childNodes[i].nodeType == 1 && KTUtil.matches(el.childNodes[i], selector, log)) {\n result.push(el.childNodes[i]);\n }\n }\n\n return result;\n },\n\n child: function(el, selector, log) {\n var children = KTUtil.children(el, selector, log);\n\n return children ? children[0] : null;\n },\n\n matches: function(el, selector, log) {\n var p = Element.prototype;\n var f = p.matches || p.webkitMatchesSelector || p.mozMatchesSelector || p.msMatchesSelector || function(s) {\n return [].indexOf.call(document.querySelectorAll(s), this) !== -1;\n };\n\n if (el && el.tagName) {\n return f.call(el, selector);\n } else {\n return false;\n }\n },\n\n data: function(el) {\n return {\n set: function(name, data) {\n if (!el) {\n return;\n }\n\n if (el.customDataTag === undefined) {\n window.KTUtilElementDataStoreID++;\n el.customDataTag = window.KTUtilElementDataStoreID;\n }\n\n if (window.KTUtilElementDataStore[el.customDataTag] === undefined) {\n window.KTUtilElementDataStore[el.customDataTag] = {};\n }\n\n window.KTUtilElementDataStore[el.customDataTag][name] = data;\n },\n\n get: function(name) {\n if (!el) {\n return;\n }\n\n if (el.customDataTag === undefined) {\n return null;\n }\n\n return this.has(name) ? window.KTUtilElementDataStore[el.customDataTag][name] : null;\n },\n\n has: function(name) {\n if (!el) {\n return false;\n }\n\n if (el.customDataTag === undefined) {\n return false;\n }\n\n return (window.KTUtilElementDataStore[el.customDataTag] && window.KTUtilElementDataStore[el.customDataTag][name]) ? true : false;\n },\n\n remove: function(name) {\n if (el && this.has(name)) {\n delete window.KTUtilElementDataStore[el.customDataTag][name];\n }\n }\n };\n },\n\n outerWidth: function(el, margin) {\n var width;\n\n if (margin === true) {\n width = parseFloat(el.offsetWidth);\n width += parseFloat(KTUtil.css(el, 'margin-left')) + parseFloat(KTUtil.css(el, 'margin-right'));\n\n return parseFloat(width);\n } else {\n width = parseFloat(el.offsetWidth);\n\n return width;\n }\n },\n\n offset: function(el) {\n var rect, win;\n\n if ( !el ) {\n return;\n }\n\n // Return zeros for disconnected and hidden (display: none) elements (gh-2310)\n // Support: IE <=11 only\n // Running getBoundingClientRect on a\n // disconnected node in IE throws an error\n\n if ( !el.getClientRects().length ) {\n return { top: 0, left: 0 };\n }\n\n // Get document-relative position by adding viewport scroll to viewport-relative gBCR\n rect = el.getBoundingClientRect();\n win = el.ownerDocument.defaultView;\n\n return {\n top: rect.top + win.pageYOffset,\n left: rect.left + win.pageXOffset\n };\n },\n\n height: function(el) {\n return KTUtil.css(el, 'height');\n },\n\n visible: function(el) {\n return !(el.offsetWidth === 0 && el.offsetHeight === 0);\n },\n\n attr: function(el, name, value) {\n if (el == undefined) {\n return;\n }\n\n if (value !== undefined) {\n el.setAttribute(name, value);\n } else {\n return el.getAttribute(name);\n }\n },\n\n hasAttr: function(el, name) {\n if (el == undefined) {\n return;\n }\n\n return el.getAttribute(name) ? true : false;\n },\n\n removeAttr: function(el, name) {\n if (el == undefined) {\n return;\n }\n\n el.removeAttribute(name);\n },\n\n animate: function(from, to, duration, update, easing, done) {\n /**\n * TinyAnimate.easings\n * Adapted from jQuery Easing\n */\n var easings = {};\n var easing;\n\n easings.linear = function(t, b, c, d) {\n return c * t / d + b;\n };\n\n easing = easings.linear;\n\n // Early bail out if called incorrectly\n if (typeof from !== 'number' ||\n typeof to !== 'number' ||\n typeof duration !== 'number' ||\n typeof update !== 'function') {\n return;\n }\n\n // Create mock done() function if necessary\n if (typeof done !== 'function') {\n done = function() {};\n }\n\n // Pick implementation (requestAnimationFrame | setTimeout)\n var rAF = window.requestAnimationFrame || function(callback) {\n window.setTimeout(callback, 1000 / 50);\n };\n\n // Animation loop\n var canceled = false;\n var change = to - from;\n\n function loop(timestamp) {\n var time = (timestamp || +new Date()) - start;\n\n if (time >= 0) {\n update(easing(time, from, change, duration));\n }\n if (time >= 0 && time >= duration) {\n update(to);\n done();\n } else {\n rAF(loop);\n }\n }\n\n update(from);\n\n // Start animation loop\n var start = window.performance && window.performance.now ? window.performance.now() : +new Date();\n\n rAF(loop);\n },\n\n actualCss: function(el, prop, cache) {\n var css = '';\n\n if (el instanceof HTMLElement === false) {\n return;\n }\n\n if (!el.getAttribute('kt-hidden-' + prop) || cache === false) {\n var value;\n\n // the element is hidden so:\n // making the el block so we can meassure its height but still be hidden\n css = el.style.cssText;\n el.style.cssText = 'position: absolute; visibility: hidden; display: block;';\n\n if (prop == 'width') {\n value = el.offsetWidth;\n } else if (prop == 'height') {\n value = el.offsetHeight;\n }\n\n el.style.cssText = css;\n\n // store it in cache\n el.setAttribute('kt-hidden-' + prop, value);\n\n return parseFloat(value);\n } else {\n // store it in cache\n return parseFloat(el.getAttribute('kt-hidden-' + prop));\n }\n },\n\n actualHeight: function(el, cache) {\n return KTUtil.actualCss(el, 'height', cache);\n },\n\n actualWidth: function(el, cache) {\n return KTUtil.actualCss(el, 'width', cache);\n },\n\n getScroll: function(element, method) {\n // The passed in `method` value should be 'Top' or 'Left'\n method = 'scroll' + method;\n return (element == window || element == document) ? (\n self[(method == 'scrollTop') ? 'pageYOffset' : 'pageXOffset'] ||\n (browserSupportsBoxModel && document.documentElement[method]) ||\n document.body[method]\n ) : element[method];\n },\n\n css: function(el, styleProp, value) {\n if (!el) {\n return;\n }\n\n if (value !== undefined) {\n el.style[styleProp] = value;\n } else {\n var defaultView = (el.ownerDocument || document).defaultView;\n // W3C standard way:\n if (defaultView && defaultView.getComputedStyle) {\n // sanitize property name to css notation\n // (hyphen separated words eg. font-Size)\n styleProp = styleProp.replace(/([A-Z])/g, \"-$1\").toLowerCase();\n return defaultView.getComputedStyle(el, null).getPropertyValue(styleProp);\n } else if (el.currentStyle) { // IE\n // sanitize property name to camelCase\n styleProp = styleProp.replace(/\\-(\\w)/g, function(str, letter) {\n return letter.toUpperCase();\n });\n value = el.currentStyle[styleProp];\n // convert other units to pixels on IE\n if (/^\\d+(em|pt|%|ex)?$/i.test(value)) {\n return (function(value) {\n var oldLeft = el.style.left,\n oldRsLeft = el.runtimeStyle.left;\n el.runtimeStyle.left = el.currentStyle.left;\n el.style.left = value || 0;\n value = el.style.pixelLeft + \"px\";\n el.style.left = oldLeft;\n el.runtimeStyle.left = oldRsLeft;\n return value;\n })(value);\n }\n return value;\n }\n }\n },\n\n slide: function(el, dir, speed, callback, recalcMaxHeight) {\n if (!el || (dir == 'up' && KTUtil.visible(el) === false) || (dir == 'down' && KTUtil.visible(el) === true)) {\n return;\n }\n\n speed = (speed ? speed : 600);\n var calcHeight = KTUtil.actualHeight(el);\n var calcPaddingTop = false;\n var calcPaddingBottom = false;\n\n if (KTUtil.css(el, 'padding-top') && KTUtil.data(el).has('slide-padding-top') !== true) {\n KTUtil.data(el).set('slide-padding-top', KTUtil.css(el, 'padding-top'));\n }\n\n if (KTUtil.css(el, 'padding-bottom') && KTUtil.data(el).has('slide-padding-bottom') !== true) {\n KTUtil.data(el).set('slide-padding-bottom', KTUtil.css(el, 'padding-bottom'));\n }\n\n if (KTUtil.data(el).has('slide-padding-top')) {\n calcPaddingTop = parseInt(KTUtil.data(el).get('slide-padding-top'));\n }\n\n if (KTUtil.data(el).has('slide-padding-bottom')) {\n calcPaddingBottom = parseInt(KTUtil.data(el).get('slide-padding-bottom'));\n }\n\n if (dir == 'up') { // up\n el.style.cssText = 'display: block; overflow: hidden;';\n\n if (calcPaddingTop) {\n KTUtil.animate(0, calcPaddingTop, speed, function(value) {\n el.style.paddingTop = (calcPaddingTop - value) + 'px';\n }, 'linear');\n }\n\n if (calcPaddingBottom) {\n KTUtil.animate(0, calcPaddingBottom, speed, function(value) {\n el.style.paddingBottom = (calcPaddingBottom - value) + 'px';\n }, 'linear');\n }\n\n KTUtil.animate(0, calcHeight, speed, function(value) {\n el.style.height = (calcHeight - value) + 'px';\n }, 'linear', function() {\n el.style.height = '';\n el.style.display = 'none';\n\n if (typeof callback === 'function') {\n callback();\n }\n });\n\n\n } else if (dir == 'down') { // down\n el.style.cssText = 'display: block; overflow: hidden;';\n\n if (calcPaddingTop) {\n KTUtil.animate(0, calcPaddingTop, speed, function(value) {//\n el.style.paddingTop = value + 'px';\n }, 'linear', function() {\n el.style.paddingTop = '';\n });\n }\n\n if (calcPaddingBottom) {\n KTUtil.animate(0, calcPaddingBottom, speed, function(value) {\n el.style.paddingBottom = value + 'px';\n }, 'linear', function() {\n el.style.paddingBottom = '';\n });\n }\n\n KTUtil.animate(0, calcHeight, speed, function(value) {\n el.style.height = value + 'px';\n }, 'linear', function() {\n el.style.height = '';\n el.style.display = '';\n el.style.overflow = '';\n\n if (typeof callback === 'function') {\n callback();\n }\n });\n }\n },\n\n slideUp: function(el, speed, callback) {\n KTUtil.slide(el, 'up', speed, callback);\n },\n\n slideDown: function(el, speed, callback) {\n KTUtil.slide(el, 'down', speed, callback);\n },\n\n show: function(el, display) {\n if (typeof el !== 'undefined') {\n el.style.display = (display ? display : 'block');\n }\n },\n\n hide: function(el) {\n if (typeof el !== 'undefined') {\n el.style.display = 'none';\n }\n },\n\n addEvent: function(el, type, handler, one) {\n if (typeof el !== 'undefined' && el !== null) {\n el.addEventListener(type, handler);\n }\n },\n\n removeEvent: function(el, type, handler) {\n if (el !== null) {\n el.removeEventListener(type, handler);\n }\n },\n\n on: function(element, selector, event, handler) {\n if (!selector) {\n return;\n }\n\n var eventId = KTUtil.getUniqueID('event');\n\n window.KTUtilDelegatedEventHandlers[eventId] = function(e) {\n var targets = element.querySelectorAll(selector);\n var target = e.target;\n\n while (target && target !== element) {\n for (var i = 0, j = targets.length; i < j; i++) {\n if (target === targets[i]) {\n handler.call(target, e);\n }\n }\n\n target = target.parentNode;\n }\n }\n\n KTUtil.addEvent(element, event, window.KTUtilDelegatedEventHandlers[eventId]);\n\n return eventId;\n },\n\n off: function(element, event, eventId) {\n if (!element || !window.KTUtilDelegatedEventHandlers[eventId]) {\n return;\n }\n\n KTUtil.removeEvent(element, event, window.KTUtilDelegatedEventHandlers[eventId]);\n\n delete window.KTUtilDelegatedEventHandlers[eventId];\n },\n\n one: function onetime(el, type, callback) {\n el.addEventListener(type, function callee(e) {\n // remove event\n if (e.target && e.target.removeEventListener) {\n e.target.removeEventListener(e.type, callee);\n }\n\n // need to verify from https://themeforest.net/author_dashboard#comment_23615588\n if (el && el.removeEventListener) {\n\t\t\t\t e.currentTarget.removeEventListener(e.type, callee);\n\t\t\t }\n\n // call handler\n return callback(e);\n });\n },\n\n hash: function(str) {\n var hash = 0,\n i, chr;\n\n if (str.length === 0) return hash;\n for (i = 0; i < str.length; i++) {\n chr = str.charCodeAt(i);\n hash = ((hash << 5) - hash) + chr;\n hash |= 0; // Convert to 32bit integer\n }\n\n return hash;\n },\n\n animateClass: function(el, animationName, callback) {\n var animation;\n var animations = {\n animation: 'animationend',\n OAnimation: 'oAnimationEnd',\n MozAnimation: 'mozAnimationEnd',\n WebkitAnimation: 'webkitAnimationEnd',\n msAnimation: 'msAnimationEnd',\n };\n\n for (var t in animations) {\n if (el.style[t] !== undefined) {\n animation = animations[t];\n }\n }\n\n KTUtil.addClass(el, 'animated ' + animationName);\n\n KTUtil.one(el, animation, function() {\n KTUtil.removeClass(el, 'animated ' + animationName);\n });\n\n if (callback) {\n KTUtil.one(el, animation, callback);\n }\n },\n\n transitionEnd: function(el, callback) {\n var transition;\n var transitions = {\n transition: 'transitionend',\n OTransition: 'oTransitionEnd',\n MozTransition: 'mozTransitionEnd',\n WebkitTransition: 'webkitTransitionEnd',\n msTransition: 'msTransitionEnd'\n };\n\n for (var t in transitions) {\n if (el.style[t] !== undefined) {\n transition = transitions[t];\n }\n }\n\n KTUtil.one(el, transition, callback);\n },\n\n animationEnd: function(el, callback) {\n var animation;\n var animations = {\n animation: 'animationend',\n OAnimation: 'oAnimationEnd',\n MozAnimation: 'mozAnimationEnd',\n WebkitAnimation: 'webkitAnimationEnd',\n msAnimation: 'msAnimationEnd'\n };\n\n for (var t in animations) {\n if (el.style[t] !== undefined) {\n animation = animations[t];\n }\n }\n\n KTUtil.one(el, animation, callback);\n },\n\n animateDelay: function(el, value) {\n var vendors = ['webkit-', 'moz-', 'ms-', 'o-', ''];\n for (var i = 0; i < vendors.length; i++) {\n KTUtil.css(el, vendors[i] + 'animation-delay', value);\n }\n },\n\n animateDuration: function(el, value) {\n var vendors = ['webkit-', 'moz-', 'ms-', 'o-', ''];\n for (var i = 0; i < vendors.length; i++) {\n KTUtil.css(el, vendors[i] + 'animation-duration', value);\n }\n },\n\n scrollTo: function(target, offset, duration) {\n var duration = duration ? duration : 500;\n var targetPos = target ? KTUtil.offset(target).top : 0;\n var scrollPos = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;\n var from, to;\n\n if (offset) {\n scrollPos += offset;\n }\n\n from = scrollPos;\n to = targetPos;\n\n KTUtil.animate(from, to, duration, function(value) {\n document.documentElement.scrollTop = value;\n document.body.parentNode.scrollTop = value;\n document.body.scrollTop = value;\n }); //, easing, done\n },\n\n scrollTop: function(offset, duration) {\n KTUtil.scrollTo(null, offset, duration);\n },\n\n isArray: function(obj) {\n return obj && Array.isArray(obj);\n },\n\n ready: function(callback) {\n if (document.attachEvent ? document.readyState === \"complete\" : document.readyState !== \"loading\") {\n callback();\n } else {\n document.addEventListener('DOMContentLoaded', callback);\n }\n },\n\n isEmpty: function(obj) {\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n return false;\n }\n }\n\n return true;\n },\n\n numberString: function(nStr) {\n nStr += '';\n var x = nStr.split('.');\n var x1 = x[0];\n var x2 = x.length > 1 ? '.' + x[1] : '';\n var rgx = /(\\d+)(\\d{3})/;\n while (rgx.test(x1)) {\n x1 = x1.replace(rgx, '$1' + ',' + '$2');\n }\n return x1 + x2;\n },\n\n detectIE: function() {\n var ua = window.navigator.userAgent;\n\n // Test values; Uncomment to check result …\n\n // IE 10\n // ua = 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)';\n\n // IE 11\n // ua = 'Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko';\n\n // Edge 12 (Spartan)\n // ua = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36 Edge/12.0';\n\n // Edge 13\n // ua = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586';\n\n var msie = ua.indexOf('MSIE ');\n if (msie > 0) {\n // IE 10 or older => return version number\n return parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10);\n }\n\n var trident = ua.indexOf('Trident/');\n if (trident > 0) {\n // IE 11 => return version number\n var rv = ua.indexOf('rv:');\n return parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10);\n }\n\n var edge = ua.indexOf('Edge/');\n if (edge > 0) {\n // Edge (IE 12+) => return version number\n return parseInt(ua.substring(edge + 5, ua.indexOf('.', edge)), 10);\n }\n\n // other browser\n return false;\n },\n\n isRTL: function() {\n var html = KTUtil.getByTagName('html')[0];\n\n if (html) {\n return (KTUtil.attr(html, 'direction') == 'rtl');\n }\n },\n\n // Scroller\n scrollInit: function(element, options) {\n if(!element) return;\n // Define init function\n function init() {\n var ps;\n var height;\n\n if (options.height instanceof Function) {\n height = options.height.call();\n } else {\n height = options.height;\n }\n\n if (height === false) {\n KTUtil.scrollDestroy(element, true);\n\n return;\n }\n\n height = parseInt(height);\n\n // Destroy scroll on table and mobile modes\n if ((options.mobileNativeScroll || options.disableForMobile) && KTUtil.isBreakpointDown('lg')) {\n ps = KTUtil.data(element).get('ps');\n if (ps) {\n if (options.resetHeightOnDestroy) {\n KTUtil.css(element, 'height', 'auto');\n } else {\n KTUtil.css(element, 'overflow', 'auto');\n if (height > 0) {\n KTUtil.css(element, 'height', height + 'px');\n }\n }\n\n ps.destroy();\n ps = KTUtil.data(element).remove('ps');\n } else if (height > 0){\n KTUtil.css(element, 'overflow', 'auto');\n KTUtil.css(element, 'height', height + 'px');\n }\n\n return;\n }\n\n if (height > 0) {\n KTUtil.css(element, 'height', height + 'px');\n }\n\n if (options.desktopNativeScroll) {\n KTUtil.css(element, 'overflow', 'auto');\n return;\n }\n\n // Pass options via HTML Attributes\n if (KTUtil.attr(element, 'data-window-scroll') == 'true') {\n options.windowScroll = true;\n }\n\n // Init scroll\n ps = KTUtil.data(element).get('ps');\n\n if (ps) {\n ps.update();\n } else {\n KTUtil.css(element, 'overflow', 'hidden');\n KTUtil.addClass(element, 'scroll');\n\n ps = new PerfectScrollbar(element, {\n wheelSpeed: 0.5,\n swipeEasing: true,\n wheelPropagation: (options.windowScroll === false ? false : true),\n minScrollbarLength: 40,\n maxScrollbarLength: 300,\n suppressScrollX: KTUtil.attr(element, 'data-scroll-x') != 'true' ? true : false\n });\n\n KTUtil.data(element).set('ps', ps);\n }\n\n // Remember scroll position in cookie\n var uid = KTUtil.attr(element, 'id');\n try {\n if (uid) {\n var cookie = KTCookie.getCookie(uid);\n if (options.rememberPosition === true && cookie) {\n var pos = parseInt(cookie);\n if (pos > 0) {\n element.scrollTop = pos;\n }\n element.addEventListener('ps-scroll-y', function() {\n KTCookie.setCookie(uid, element.scrollTop, {});\n });\n }\n }\n }\n catch (e) {\n console.error(e);\n }\n // Consider using Localstorage\n //if (options.rememberPosition === true && Cookies && uid) {\n // if (KTCookie.getCookie(uid)) {\n // var pos = parseInt(KTCookie.getCookie(uid));\n //\n // if (pos > 0) {\n // element.scrollTop = pos;\n // }\n // }\n //\n // element.addEventListener('ps-scroll-y', function() {\n // KTCookie.setCookie(uid, element.scrollTop);\n // });\n //}\n }\n\n // Init\n init();\n\n // Handle window resize\n if (options.handleWindowResize) {\n KTUtil.addResizeHandler(function() {\n init();\n });\n }\n },\n\n scrollUpdate: function(element) {\n var ps = KTUtil.data(element).get('ps');\n if (ps) {\n ps.update();\n }\n },\n\n scrollUpdateAll: function(parent) {\n var scrollers = KTUtil.findAll(parent, '.ps');\n for (var i = 0, len = scrollers.length; i < len; i++) {\n KTUtil.scrollUpdate(scrollers[i]);\n }\n },\n\n scrollDestroy: function(element, resetAll) {\n var ps = KTUtil.data(element).get('ps');\n\n if (ps) {\n ps.destroy();\n ps = KTUtil.data(element).remove('ps');\n }\n\n if (element && resetAll) {\n element.style.setProperty('overflow', '');\n element.style.setProperty('height', '');\n }\n },\n\n setHTML: function(el, html) {\n el.innerHTML = html;\n },\n\n getHTML: function(el) {\n if (el) {\n return el.innerHTML;\n }\n },\n\n getDocumentHeight: function() {\n var body = document.body;\n var html = document.documentElement;\n\n return Math.max( body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight );\n },\n\n getScrollTop: function() {\n return (document.scrollingElement || document.documentElement).scrollTop;\n },\n\n colorDarken: function(color, amount) {\n var subtractLight = function(color, amount){\n var cc = parseInt(color,16) - amount;\n var c = (cc < 0) ? 0 : (cc);\n c = (c.toString(16).length > 1 ) ? c.toString(16) : `0${c.toString(16)}`;\n\n return c;\n }\n\n color = (color.indexOf(\"#\")>=0) ? color.substring(1,color.length) : color;\n amount = parseInt((255*amount)/100);\n\n return color = `#${subtractLight(color.substring(0,2), amount)}${subtractLight(color.substring(2,4), amount)}${subtractLight(color.substring(4,6), amount)}`;\n },\n\n colorLighten: function(color, amount) {\n var addLight = function(color, amount){\n var cc = parseInt(color,16) + amount;\n var c = (cc > 255) ? 255 : (cc);\n c = (c.toString(16).length > 1 ) ? c.toString(16) : `0${c.toString(16)}`;\n\n return c;\n }\n\n color = (color.indexOf(\"#\")>=0) ? color.substring(1,color.length) : color;\n amount = parseInt((255*amount)/100);\n\n return color = `#${addLight(color.substring(0,2), amount)}${addLight(color.substring(2,4), amount)}${addLight(color.substring(4,6), amount)}`;\n },\n\n // Throttle function: Input as function which needs to be throttled and delay is the time interval in milliseconds\n throttle: function (timer, func, delay) {\n \t// If setTimeout is already scheduled, no need to do anything\n \tif (timer) {\n \t\treturn;\n \t}\n\n \t// Schedule a setTimeout after delay seconds\n \ttimer = setTimeout(function () {\n \t\tfunc();\n\n \t\t// Once setTimeout function execution is finished, timerId = undefined so that in
\n \t\t// the next scroll event function execution can be scheduled by the setTimeout\n \t\ttimer = undefined;\n \t}, delay);\n },\n\n // Debounce function: Input as function which needs to be debounced and delay is the debounced time in milliseconds\n debounce: function (timer, func, delay) {\n \t// Cancels the setTimeout method execution\n \tclearTimeout(timer)\n\n \t// Executes the func after delay time.\n \ttimer = setTimeout(func, delay);\n }\n }\n}();\n\n// webpack support\nif (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\n // module.exports = KTUtil;\n}\n\n// Initialize KTUtil class on document ready\nKTUtil.ready(function() {\n\tif (typeof KTAppSettings !== 'undefined') {\n\t\tKTUtil.init(KTAppSettings);\n\t} else {\n\t\tKTUtil.init();\n\t}\n});\n\n// CSS3 Transitions only after page load(.page-loading class added to body tag and remove with JS on page load)\nwindow.onload = function() {\n var result = KTUtil.getByTagName('body');\n if (result && result[0]) {\n KTUtil.removeClass(result[0], 'page-loading');\n }\n}\n","import { API, graphqlOperation } from \"aws-amplify\";\nimport {\n calendarEventTypeByTenant\n} from \"../../../../../graphql/queries\";\nimport {\n createCalendarEventType,\n updateCalendarEventType,\n} from \"../../../../../graphql/mutations\";\n\n\nexport async function create(input){\n const {data} = await API.graphql(graphqlOperation(createCalendarEventType, { input: input }));\n return data.createCalendarEventType;\n}\n\nexport async function read(params={}){\n const {data} = await API.graphql(graphqlOperation(calendarEventTypeByTenant,params));\n return {\n items:data.calendarEventTypeByTenant.items,\n nextToken:data.calendarEventTypeByTenant.nextToken ?? undefined\n };\n}\n\nexport async function update(input){\n const {data} = await API.graphql(graphqlOperation(updateCalendarEventType, { input: input }));\n return data.updateCalendarEventType;\n}\n\nexport async function softDelete(id){\n return await API.graphql(graphqlOperation(updateCalendarEventType, { input: {id:id,deleted:true} }))\n}","import React from \"react\";\nimport {\n Card as MetronicCard,\n CardBody,\n} from \"../../../../_metronic/_partials/controls\";\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\nimport ReactHtmlParser from \"react-html-parser\";\nimport { FormattedMessage } from \"react-intl\";\n\nexport function WorkflowBox({\n id,\n text,\n description,\n logo,\n selected,\n onClick,\n className,\n height,\n showTopText = false,\n hrClassName,\n disabled = false\n}) {\n const style = {\n card: {\n borderRadius: 4,\n padding: 2,\n cursor: disabled ? null : \"pointer\",\n border: selected === id ? \"3px solid var(--primary)\" : \"1px solid var(--secondary)\",\n height: height ? height : \"100%\",\n },\n };\n\n const customOnClick = (id) => {\n if (!disabled) {\n onClick(id);\n }\n };\n\n return (\n
\n customOnClick(id)} style={style.card} className={disabled ? \"bg-secondary\" : \"\"}>\n \n {showTopText && (\n \n {text}\n
\n
\n )}\n {logo ? (\n \n ) : (\n
\n {text}\n {hrClassName && (\n
\n )}\n
\n )}\n {description && (\n {ReactHtmlParser(description)}\n )}\n
\n {disabled && (\n
\n \n
\n )}\n
\n
\n );\n}\n","import { API, graphqlOperation } from \"aws-amplify\";\n/*\nimport {\n searchTenants,\n listTenants,\n tenantsByDefaultPartnerCode,\n tenantsByShortCode,\n tenantsByCompanyVat,\n getTenant,\n} from \"../../../../../graphql/queries\";\n*/\nimport {\n updateTenant,\n} from \"../../../../../graphql/mutations\";\nimport * as customQueries from \"../../graphql/private/queries\";\n\nexport function searchObjects(queryParams, additionalFilters, nextToken) {\n var params = {\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n \n if (queryParams.sortField && queryParams.sortOrder) {\n params.sort = {\n field: queryParams.sortField,\n direction: queryParams.sortOrder,\n };\n }\n\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n }\n\n params.filter = {\n ...params.filter,\n rtUtilityInactive: { ne: true },\n };\n\n return API.graphql(graphqlOperation(customQueries.searchTenants, params));\n}\n\nexport function findObjects(queryParams, additionalFilters, nextToken) {\n const params = {\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = { ...params.filter, ...additionalFilters };\n }\n\n return API.graphql(graphqlOperation(customQueries.listTenants, params));\n}\n\nexport function findObjectsByDefaultPartnerCode(\n defaultPartnerCode,\n queryParams,\n additionalFilters,\n nextToken\n) {\n const params = {\n limit: queryParams.pageSize,\n defaultPartnerCode: defaultPartnerCode,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = { ...params.filter, ...additionalFilters };\n }\n\n return API.graphql(graphqlOperation(customQueries.tenantsByDefaultPartnerCode, params));\n}\n\nexport function findObjectsShortCode(\n shortCode,\n queryParams,\n additionalFilters,\n nextToken\n) {\n const params = {\n limit: queryParams.pageSize,\n shortCode: shortCode,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = { ...params.filter, ...additionalFilters };\n }\n\n return API.graphql(graphqlOperation(customQueries.tenantsByShortCode, params));\n}\n\nexport function findObjectsByCompanyVat(\n companyVat,\n queryParams,\n additionalFilters,\n nextToken,\n customQuery = null\n) {\n const params = {\n limit: queryParams.pageSize,\n companyVat: companyVat,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = { ...params.filter, ...additionalFilters };\n }\n\n return API.graphql(graphqlOperation(customQuery ? customQueries[customQuery] : customQueries.tenantsByCompanyVat, params));\n}\n\nexport function getObjectById(id, customQuery = null) {\n return API.graphql(graphqlOperation(customQuery ? customQueries[customQuery] : customQueries.getTenant, { id: id }));\n}\n\nexport function updateObject(obj) {\n return API.graphql(graphqlOperation(updateTenant, { input: obj }));\n}\n\nexport function updateObjects(objs) {\n var updates = [];\n objs.forEach((obj) => {\n updates.push(\n new Promise((resolve, reject) => {\n return resolve(updateObject(obj));\n })\n );\n });\n return Promise.all(updates);\n}\n\nexport function decrementCashRegisterCount(tenantId) {\n return getObjectById(tenantId).then((result) => {\n const tenant = result.data.getTenant;\n const newTenant = {\n id: tenant.id,\n cashRegisterCount: tenant.cashRegisterCount\n ? tenant.cashRegisterCount - 1\n : 0,\n };\n\n return updateObject(newTenant);\n });\n}\n\nexport function decrementMoitoIotCount(tenantId) {\n return getObjectById(tenantId).then((result) => {\n const tenant = result.data.getTenant;\n const newTenant = {\n id: tenant.id,\n moitoIotCount: tenant.moitoIotCount\n ? tenant.moitoIotCount - 1\n : 0,\n };\n\n return updateObject(newTenant);\n });\n}\n","import * as request from \"./crud\";\nimport { orderBy } from \"lodash\";\nimport { GenerateSlice, SliceCallTypes } from \"../../../../utils/components/generic/_redux\";\n\nconst sliceActions = GenerateSlice(\"tenants\").actions;\n\nconst clearData = () => (dispatch) => {\n dispatch(sliceActions.clearData());\n};\n\nconst setEntity = (data) => (dispatch) => {\n dispatch(sliceActions.setEntity(data));\n};\n\nconst searchObjects =\n (queryParams, additionalFilters, nextToken, operation = \"overwrite\", saveRedux = true) =>\n (dispatch) => {\n if (saveRedux) {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n }\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await request.searchObjects(\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n additionalFilters,\n nextTokenInternal,\n );\n var data = result.data.searchTenants;\n\n items = items.concat(data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n\n if (saveRedux) {\n dispatch(\n sliceActions.objectsFetched({\n totalCount: data.total,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n }\n\n return resolve({\n data: {\n searchTenants: {\n items: sortedItems,\n nextToken: nextTokenInternal,\n total: data.total,\n },\n },\n });\n } catch (error) {\n error.clientMessage = \"Can't find tenants\";\n\n if (saveRedux) {\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.list }));\n }\n //return reject(error);\n }\n });\n };\n\nconst fetchObjects =\n (queryParams, additionalFilters, nextToken, operation = \"overwrite\") =>\n (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await request.findObjects(\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n additionalFilters,\n nextTokenInternal\n );\n var data = result.data.listTenants;\n\n items = items.concat(data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n sliceActions.objectsFetched({\n totalCount: sortedItems.length,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n\n return resolve(sortedItems);\n } catch (error) {\n error.clientMessage = \"Can't find tenants\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.list }));\n //return reject(error);\n }\n });\n };\n\nconst fetchObjectsByDefaultPartnerCode =\n (\n defaultPartnerCode,\n queryParams,\n additionalFilters,\n nextToken,\n operation = \"overwrite\"\n ) =>\n (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await request.findObjectsByDefaultPartnerCode(\n defaultPartnerCode,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n additionalFilters,\n nextTokenInternal\n );\n var data = result.data.tenantsByDefaultPartnerCode;\n\n items = items.concat(data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n sliceActions.objectsFetched({\n totalCount: sortedItems.length,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n\n return resolve(sortedItems);\n } catch (error) {\n error.clientMessage = \"Can't find tenants\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.list }));\n //return reject(error);\n }\n });\n };\n\n/*\nexport const searchObjects = (queryParams, additionalFilters, nextToken, operation = \"overwrite\") => dispatch => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n return request\n .searchObjects(queryParams, additionalFilters, nextToken)\n .then(response => {\n const items = response.data.searchTenants.items;\n const responseNextToken = response.data.searchTenants.nextToken;\n const totalCount = items.length;\n\n const sortedItems = orderBy(items, [queryParams.sortField],[queryParams.sortOrder]);\n\n dispatch(sliceActions.objectsFetched({ totalCount, operation, items: sortedItems, nextToken: responseNextToken, prevToken: nextToken }));\n })\n .catch(error => {\n error.clientMessage = \"Can't find tenants\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.list }));\n });\n};\n*/\n\nconst getByShortCode = (code) => async (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n\n const queryParams = {\n pageSize: 1000,\n filter: {\n shortCode: { eq: code },\n isPartner: { eq: true },\n },\n };\n\n var nextToken = null;\n\n try {\n do {\n var result = await request.searchObjects(\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n null,\n nextToken\n );\n var data = result.data.searchTenants;\n\n if (data && data.items && data.items.length > 0) {\n dispatch(sliceActions.objectFetched({ entity: data.items[0] }));\n return data.items[0];\n }\n\n nextToken = data.nextToken;\n } while (nextToken !== null);\n\n dispatch(sliceActions.objectFetched({ entity: undefined }));\n return undefined;\n } catch (error) {\n error.clientMessage = \"Can't get tenant by code\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n return error;\n }\n};\n\nconst getByVatNumber =\n (vatNum, checkEnabled, saveRedux = true) =>\n async (dispatch) => {\n if (saveRedux) {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n }\n\n var queryParams = {\n pageSize: 1000,\n };\n\n if (checkEnabled) {\n if (queryParams.filter) {\n queryParams.filter = {\n ...queryParams.filter,\n enabled: { eq: true },\n };\n } else {\n queryParams.filter = {\n enabled: { eq: true },\n };\n }\n }\n\n var nextToken = null;\n\n try {\n do {\n var result = await request.findObjectsByCompanyVat(\n vatNum,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n null,\n nextToken,\n \"lightTenantsByCompanyVat\"\n );\n var data = result.data.tenantsByCompanyVat;\n\n if (data.items.length > 0) {\n if (saveRedux) {\n dispatch(sliceActions.objectFetched({ entity: data.items[0] }));\n }\n return data.items[0];\n }\n\n nextToken = data.nextToken;\n } while (nextToken !== null);\n\n if (saveRedux) {\n dispatch(sliceActions.objectFetched({ entity: undefined }));\n }\n return undefined;\n } catch (error) {\n error.clientMessage = \"Can't get tenant by vat number\";\n if (saveRedux) {\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n }\n return error;\n }\n };\n\nconst updateObject = (object) => (dispatch) => {\n var newObject = { ...object };\n if (newObject && newObject.extensions) {\n newObject.extensions = JSON.stringify(newObject.extensions);\n }\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .updateObject(newObject)\n .then((response) => {\n dispatch(\n sliceActions.objectsUpdated({ objects: [response.data.updateTenant] })\n );\n })\n .catch((error) => {\n error.clientMessage = \"Can't update tenant\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n return error;\n });\n};\n\nconst updateObjects = (objects) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .updateObjects(objects)\n .then((response) => {\n const objects = response.map((obj) => obj.data.updateTenant);\n dispatch(sliceActions.objectsUpdated({ objects: objects }));\n })\n .catch((error) => {\n error.clientMessage = \"Can't update tenants\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n });\n};\n\nconst fetchObject =\n (id, saveRedux = true, customQuery = null) =>\n (dispatch) => {\n if (!id) {\n if (saveRedux) {\n return dispatch(sliceActions.objectFetched({ entity: undefined }));\n }\n }\n\n if (saveRedux) {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n }\n return request\n .getObjectById(id, customQuery)\n .then((response) => {\n const obj = response.data.getTenant;\n if (saveRedux) {\n dispatch(sliceActions.objectFetched({ entity: obj }));\n }\n return response;\n })\n .catch((error) => {\n error.clientMessage = \"Can't find tenant\";\n if (saveRedux) {\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n }\n return error;\n });\n };\n\nconst decrementCashRegisterCount = (tenantId) => (dispatch) => {\n return request.decrementCashRegisterCount(tenantId);\n};\n\nconst decrementMoitoIotCount = (tenantId) => (dispatch) => {\n return request.decrementMoitoIotCount(tenantId);\n};\n\nexport const actions = {\n clearData,\n setEntity,\n searchObjects,\n fetchObjects,\n fetchObjectsByDefaultPartnerCode,\n getByShortCode,\n getByVatNumber,\n updateObject,\n updateObjects,\n fetchObject,\n decrementCashRegisterCount,\n decrementMoitoIotCount,\n}","import { createSlice,createAsyncThunk } from '@reduxjs/toolkit'\nimport { read,update} from \"./crud\"\n\nconst initialState = { entities: [], loading: false };\n\nexport const fetchEventTypes = createAsyncThunk('eventtypes/fetch',async (args,{getState}) => {\n const {tenant, store}=getState();\n return read({\n tenantId:tenant.currentTenantId,\n retailStoreId:{ eq: store.currentStoreId},\n filter:{ \n deleted: { ne: true },\n }\n });\n});\n\nexport const updateColor = createAsyncThunk('eventtypes/updateColor',async ({color,id},{getState}) => update({color,id}));\n\nconst eventTypesSlice = createSlice({\n name: 'eventtypes',\n initialState,\n reducers: {\n objectsFetched: (state, action) => {\n state.loading = false;\n state.entities = action.payload.items;\n }\n },\n extraReducers: {\n [fetchEventTypes.pending]: (state) => {\n state.loading = true;\n },\n [fetchEventTypes.fulfilled]: (state, { payload }) => {\n state.loading = false;\n state.entities = payload.items;\n },\n [fetchEventTypes.rejected]: (state , { payload }) => {\n state.loading = false;\n },\n [updateColor.pending]: (state) => {\n state.loading = true;\n },\n [updateColor.fulfilled]: (state, { payload }) => {\n state.loading = false;\n },\n [updateColor.rejected]: (state , { payload }) => {\n state.loading = false;\n }\n },\n})\n\nexport const selectEntities = (state) => state.calendar.eventtypes.entities;\n\nexport const selectLoading = (state) => state.calendar.eventtypes.loading;\n\nexport const setEventTypes = (records) => (dispatch) => {\n dispatch(eventTypesSlice.actions.objectsFetched({ items: records }));\n}\n\nexport default eventTypesSlice.reducer","import * as request from \"./crud\";\nimport { GenerateSlice, SliceCallTypes } from \"../../../../utils/components/generic/_redux\";\nimport { orderBy } from \"lodash\";\n\nconst sliceActions = GenerateSlice(\"customers\").actions;\n\nconst clearData = () => (dispatch) => {\n dispatch(sliceActions.clearData());\n};\n\nconst searchObjects =\n (queryParams, additionalFilters, nextToken, operation = \"overwrite\") =>\n (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await request.searchObjects(\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n additionalFilters,\n nextTokenInternal,\n );\n var data = result.data.searchCustomers;\n\n items = items.concat(data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n sliceActions.objectsFetched({\n totalCount: data.total,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n\n return resolve({\n data: {\n searchCustomer: {\n items: sortedItems,\n nextToken: nextTokenInternal,\n total: data.total,\n },\n },\n });\n } catch (error) {\n error.clientMessage = \"Can't find customers\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.list }));\n //return reject(error);\n }\n });\n };\n \n\nconst fetchObjects =\n (queryParams, additionalFilters, nextToken, operation = \"overwrite\") =>\n (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await request.findObjects(\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n additionalFilters,\n nextTokenInternal\n );\n var data = result.data.listCustomers;\n\n items = items.concat(data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n sliceActions.objectsFetched({\n totalCount: sortedItems.length,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n\n return resolve(sortedItems);\n } catch (error) {\n error.clientMessage = \"Can't find customers\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.list }));\n //return reject(error);\n }\n });\n };\n\nconst fetchObjectsByTenant =\n (\n tenantId,\n queryParams,\n additionalFilters,\n nextToken,\n operation = \"overwrite\"\n ) =>\n (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await request.findObjectsByTenant(\n tenantId,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n additionalFilters,\n nextTokenInternal\n );\n var data = result.data.customersByTenant;\n\n items = items.concat(data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n sliceActions.objectsFetched({\n totalCount: sortedItems.length,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n\n return resolve(sortedItems);\n } catch (error) {\n error.clientMessage = \"Can't find customers\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.list }));\n //return reject(error);\n }\n });\n };\n\nconst getByVatNumber = (vatNum, tenantId, saveRedux = true) => async (dispatch) => {\n if (saveRedux) {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n }\n\n var queryParams = {\n pageSize: 1000,\n filter: {\n tenantId: { eq: tenantId },\n deleted: { ne: true },\n },\n };\n\n var nextToken = null;\n\n try {\n do {\n var result = await request.findObjectsByCompanyVat(\n vatNum,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n null,\n nextToken\n );\n var data = result.data.customersByCompanyVat;\n\n if (data.items.length > 0) {\n if (saveRedux) {\n dispatch(sliceActions.objectFetched({ entity: data.items[0] }));\n }\n return data.items[0];\n }\n\n nextToken = data.nextToken;\n } while (nextToken !== null);\n\n if (saveRedux) {\n dispatch(sliceActions.objectFetched({ entity: undefined }));\n }\n return undefined;\n } catch (error) {\n error.clientMessage = \"Can't get tenant by vat number\";\n if (saveRedux) {\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n }\n return error;\n }\n};\n\nconst getByFiscalCode = (fiscalCode, tenantId, saveRedux = true) => async (dispatch) => {\n if (saveRedux) {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n }\n\n var queryParams = {\n pageSize: 1000,\n filter: {\n tenantId: { eq: tenantId },\n deleted: { ne: true },\n },\n };\n\n var nextToken = null;\n\n try {\n do {\n var result = await request.findObjectsByFiscalCode(\n fiscalCode,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n null,\n nextToken\n );\n var data = result.data.customersByFiscalCode;\n\n if (data.items.length > 0) {\n if (saveRedux) {\n dispatch(sliceActions.objectFetched({ entity: data.items[0] }));\n }\n return data.items[0];\n }\n\n nextToken = data.nextToken;\n } while (nextToken !== null);\n\n if (saveRedux) {\n dispatch(sliceActions.objectFetched({ entity: undefined }));\n }\n return undefined;\n } catch (error) {\n error.clientMessage = \"Can't get tenant by fiscal code\";\n if (saveRedux) {\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n }\n return error;\n }\n};\n\nconst getByMobile = (mobile, tenantId) => async (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n\n var queryParams = {\n pageSize: 1000,\n filter: {\n tenantId: { eq: tenantId },\n deleted: { ne: true },\n },\n };\n\n var nextToken = null;\n\n try {\n do {\n var result = await request.findObjectsByMobile(\n mobile,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n null,\n nextToken\n );\n var data = result.data.customersByMobile;\n\n if (data.items.length > 0) {\n dispatch(sliceActions.objectFetched({ entity: data.items[0] }));\n return data.items[0];\n }\n\n nextToken = data.nextToken;\n } while (nextToken !== null);\n\n dispatch(sliceActions.objectFetched({ entity: undefined }));\n return undefined;\n } catch (error) {\n error.clientMessage = \"Can't get tenant by mobile\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n return error;\n }\n};\n\nconst fetchObject = (id) => (dispatch) => {\n if (!id) {\n return dispatch(sliceActions.objectFetched({ entity: undefined }));\n }\n\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .getObjectById(id)\n .then((response) => {\n const obj = response.data.getCustomer;\n dispatch(sliceActions.objectFetched({ entity: obj }));\n return obj;\n })\n .catch((error) => {\n error.clientMessage = \"Can't find customer\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n return error;\n });\n};\n\nconst deleteObject = (id) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .deleteObject(id)\n .then((response) => {\n dispatch(sliceActions.objectDeleted({ id }));\n })\n .catch((error) => {\n error.clientMessage = \"Can't delete customer\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n });\n};\n\nconst createObject = (customer) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .createObject(customer)\n .then((response) => {\n const object = response.data.createCustomer;\n dispatch(sliceActions.objectsCreated({ objects: [object] }));\n return object;\n })\n .catch((error) => {\n error.clientMessage = \"Can't create customer\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n return error;\n });\n};\n\nconst deleteObjects = (ids) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .deleteObjects(ids)\n .then(() => {\n dispatch(sliceActions.objectsDeleted({ ids }));\n })\n .catch((error) => {\n error.clientMessage = \"Can't delete customer\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n });\n};\n\nconst updateObjects = (objects) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .updateObjects(objects)\n .then((response) => {\n const objects = response.map((obj) => obj.data.updateCustomer);\n dispatch(sliceActions.objectsUpdated({ objects: objects }));\n })\n .catch((error) => {\n error.clientMessage = \"Can't update customers\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n });\n};\n\nconst updateObject = (customer) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .updateObject(customer)\n .then((response) => {\n dispatch(\n sliceActions.objectsUpdated({ objects: [response.data.updateCustomer] })\n );\n })\n .catch((error) => {\n error.clientMessage = \"Can't update customer\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n });\n};\n\nexport const actions = {\n clearData,\n searchObjects,\n fetchObjects,\n fetchObjectsByTenant,\n getByVatNumber,\n getByFiscalCode,\n getByMobile,\n fetchObject,\n deleteObject,\n createObject,\n deleteObjects,\n updateObject,\n updateObjects,\n}","/* eslint-disable */\n// this is an auto generated file. This will be overwritten\n\nexport const deleteTenant = /* GraphQL */ `\n mutation DeleteTenant(\n $input: DeleteTenantInput!\n $condition: ModelTenantConditionInput\n ) {\n deleteTenant(input: $input, condition: $condition) {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n items {\n id\n userId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n`;\nexport const createCurrency = /* GraphQL */ `\n mutation CreateCurrency(\n $input: CreateCurrencyInput!\n $condition: ModelCurrencyConditionInput\n ) {\n createCurrency(input: $input, condition: $condition) {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n }\n`;\nexport const updateCurrency = /* GraphQL */ `\n mutation UpdateCurrency(\n $input: UpdateCurrencyInput!\n $condition: ModelCurrencyConditionInput\n ) {\n updateCurrency(input: $input, condition: $condition) {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n }\n`;\nexport const deleteCurrency = /* GraphQL */ `\n mutation DeleteCurrency(\n $input: DeleteCurrencyInput!\n $condition: ModelCurrencyConditionInput\n ) {\n deleteCurrency(input: $input, condition: $condition) {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n }\n`;\nexport const deleteUser = /* GraphQL */ `\n mutation DeleteUser(\n $input: DeleteUserInput!\n $condition: ModelUserConditionInput\n ) {\n deleteUser(input: $input, condition: $condition) {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n items {\n id\n userId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n userPrivilege {\n items {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n userLicense {\n items {\n id\n tenantId\n userId\n licenseId\n validFrom\n validTo\n createdAt\n updatedAt\n }\n nextToken\n }\n userRetailStore {\n items {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const updatePartnershipRequest = /* GraphQL */ `\n mutation UpdatePartnershipRequest(\n $input: UpdatePartnershipRequestInput!\n $condition: ModelPartnershipRequestConditionInput\n ) {\n updatePartnershipRequest(input: $input, condition: $condition) {\n id\n tenantId\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const createLicense = /* GraphQL */ `\n mutation CreateLicense(\n $input: CreateLicenseInput!\n $condition: ModelLicenseConditionInput\n ) {\n createLicense(input: $input, condition: $condition) {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n }\n`;\nexport const updateLicense = /* GraphQL */ `\n mutation UpdateLicense(\n $input: UpdateLicenseInput!\n $condition: ModelLicenseConditionInput\n ) {\n updateLicense(input: $input, condition: $condition) {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n }\n`;\nexport const deleteLicense = /* GraphQL */ `\n mutation DeleteLicense(\n $input: DeleteLicenseInput!\n $condition: ModelLicenseConditionInput\n ) {\n deleteLicense(input: $input, condition: $condition) {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n }\n`;\nexport const createAppSettings = /* GraphQL */ `\n mutation CreateAppSettings(\n $input: CreateAppSettingsInput!\n $condition: ModelAppSettingsConditionInput\n ) {\n createAppSettings(input: $input, condition: $condition) {\n id\n firstTenantUserPrivilegeGroups\n defaultCurrency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n oldEJExpDate\n lastTobaccoItemsS3Key\n lastTobaccoBarcodesS3Key\n licensesByDealerS3Key\n happyApk\n createdAt\n updatedAt\n defaultPartner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n AtorderLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n AtorderDeliveryLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EInvoiceItLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityFwDownloadLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityLogsLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserCollectorLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotAutomaticUpdateLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotMultipleUsersLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotOnlineBackupLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotCollectorLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotDealerLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotCateringLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityEJExtensionLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n CalendarLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n ForValueLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserAccountantLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJManagementLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJOneYearLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJTwoYearLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJNoLimitLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n OpticalLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotKioskLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotTobaccoLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n HappyLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n partnerPrivilegeGroup {\n id\n name\n createdAt\n updatedAt\n privileges {\n nextToken\n }\n }\n serviceManagerPrivilegeGroup {\n id\n name\n createdAt\n updatedAt\n privileges {\n nextToken\n }\n }\n lastMoitoIotStableVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n lastMoitoIotBetaVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteAppSettings = /* GraphQL */ `\n mutation DeleteAppSettings(\n $input: DeleteAppSettingsInput!\n $condition: ModelAppSettingsConditionInput\n ) {\n deleteAppSettings(input: $input, condition: $condition) {\n id\n firstTenantUserPrivilegeGroups\n defaultCurrency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n oldEJExpDate\n lastTobaccoItemsS3Key\n lastTobaccoBarcodesS3Key\n licensesByDealerS3Key\n happyApk\n createdAt\n updatedAt\n defaultPartner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n AtorderLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n AtorderDeliveryLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EInvoiceItLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityFwDownloadLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityLogsLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserCollectorLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotAutomaticUpdateLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotMultipleUsersLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotOnlineBackupLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotCollectorLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotDealerLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotCateringLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityEJExtensionLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n CalendarLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n ForValueLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserAccountantLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJManagementLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJOneYearLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJTwoYearLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJNoLimitLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n OpticalLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotKioskLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotTobaccoLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n HappyLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n partnerPrivilegeGroup {\n id\n name\n createdAt\n updatedAt\n privileges {\n nextToken\n }\n }\n serviceManagerPrivilegeGroup {\n id\n name\n createdAt\n updatedAt\n privileges {\n nextToken\n }\n }\n lastMoitoIotStableVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n lastMoitoIotBetaVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateLicenseRequest = /* GraphQL */ `\n mutation UpdateLicenseRequest(\n $input: UpdateLicenseRequestInput!\n $condition: ModelLicenseRequestConditionInput\n ) {\n updateLicenseRequest(input: $input, condition: $condition) {\n id\n tenantId\n partnerId\n retailStoreId\n duration\n deleted\n extensions\n startFromDate\n level\n isFree\n autorenew\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n applicantUser {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createPrivilege = /* GraphQL */ `\n mutation CreatePrivilege(\n $input: CreatePrivilegeInput!\n $condition: ModelPrivilegeConditionInput\n ) {\n createPrivilege(input: $input, condition: $condition) {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n privilegeGroups {\n items {\n id\n privilegeId\n privilegeGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n userPrivilege {\n items {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const updatePrivilege = /* GraphQL */ `\n mutation UpdatePrivilege(\n $input: UpdatePrivilegeInput!\n $condition: ModelPrivilegeConditionInput\n ) {\n updatePrivilege(input: $input, condition: $condition) {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n privilegeGroups {\n items {\n id\n privilegeId\n privilegeGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n userPrivilege {\n items {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const deletePrivilege = /* GraphQL */ `\n mutation DeletePrivilege(\n $input: DeletePrivilegeInput!\n $condition: ModelPrivilegeConditionInput\n ) {\n deletePrivilege(input: $input, condition: $condition) {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n privilegeGroups {\n items {\n id\n privilegeId\n privilegeGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n userPrivilege {\n items {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const createPrivilegePrivilegeGroup = /* GraphQL */ `\n mutation CreatePrivilegePrivilegeGroup(\n $input: CreatePrivilegePrivilegeGroupInput!\n $condition: ModelPrivilegePrivilegeGroupConditionInput\n ) {\n createPrivilegePrivilegeGroup(input: $input, condition: $condition) {\n id\n privilegeId\n privilegeGroupId\n createdAt\n updatedAt\n privilege {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n privilegeGroups {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n }\n privilegeGroup {\n id\n name\n createdAt\n updatedAt\n privileges {\n nextToken\n }\n }\n }\n }\n`;\nexport const updatePrivilegePrivilegeGroup = /* GraphQL */ `\n mutation UpdatePrivilegePrivilegeGroup(\n $input: UpdatePrivilegePrivilegeGroupInput!\n $condition: ModelPrivilegePrivilegeGroupConditionInput\n ) {\n updatePrivilegePrivilegeGroup(input: $input, condition: $condition) {\n id\n privilegeId\n privilegeGroupId\n createdAt\n updatedAt\n privilege {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n privilegeGroups {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n }\n privilegeGroup {\n id\n name\n createdAt\n updatedAt\n privileges {\n nextToken\n }\n }\n }\n }\n`;\nexport const deletePrivilegePrivilegeGroup = /* GraphQL */ `\n mutation DeletePrivilegePrivilegeGroup(\n $input: DeletePrivilegePrivilegeGroupInput!\n $condition: ModelPrivilegePrivilegeGroupConditionInput\n ) {\n deletePrivilegePrivilegeGroup(input: $input, condition: $condition) {\n id\n privilegeId\n privilegeGroupId\n createdAt\n updatedAt\n privilege {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n privilegeGroups {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n }\n privilegeGroup {\n id\n name\n createdAt\n updatedAt\n privileges {\n nextToken\n }\n }\n }\n }\n`;\nexport const createPrivilegeGroup = /* GraphQL */ `\n mutation CreatePrivilegeGroup(\n $input: CreatePrivilegeGroupInput!\n $condition: ModelPrivilegeGroupConditionInput\n ) {\n createPrivilegeGroup(input: $input, condition: $condition) {\n id\n name\n createdAt\n updatedAt\n privileges {\n items {\n id\n privilegeId\n privilegeGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const updatePrivilegeGroup = /* GraphQL */ `\n mutation UpdatePrivilegeGroup(\n $input: UpdatePrivilegeGroupInput!\n $condition: ModelPrivilegeGroupConditionInput\n ) {\n updatePrivilegeGroup(input: $input, condition: $condition) {\n id\n name\n createdAt\n updatedAt\n privileges {\n items {\n id\n privilegeId\n privilegeGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const deletePrivilegeGroup = /* GraphQL */ `\n mutation DeletePrivilegeGroup(\n $input: DeletePrivilegeGroupInput!\n $condition: ModelPrivilegeGroupConditionInput\n ) {\n deletePrivilegeGroup(input: $input, condition: $condition) {\n id\n name\n createdAt\n updatedAt\n privileges {\n items {\n id\n privilegeId\n privilegeGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const updateTenantUser = /* GraphQL */ `\n mutation UpdateTenantUser(\n $input: UpdateTenantUserInput!\n $condition: ModelTenantUserConditionInput\n ) {\n updateTenantUser(input: $input, condition: $condition) {\n id\n userId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteTenantUser = /* GraphQL */ `\n mutation DeleteTenantUser(\n $input: DeleteTenantUserInput!\n $condition: ModelTenantUserConditionInput\n ) {\n deleteTenantUser(input: $input, condition: $condition) {\n id\n userId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateUserPrivilege = /* GraphQL */ `\n mutation UpdateUserPrivilege(\n $input: UpdateUserPrivilegeInput!\n $condition: ModelUserPrivilegeConditionInput\n ) {\n updateUserPrivilege(input: $input, condition: $condition) {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n privilege {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n privilegeGroups {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteUserPrivilege = /* GraphQL */ `\n mutation DeleteUserPrivilege(\n $input: DeleteUserPrivilegeInput!\n $condition: ModelUserPrivilegeConditionInput\n ) {\n deleteUserPrivilege(input: $input, condition: $condition) {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n privilege {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n privilegeGroups {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteRetailStoreLicense = /* GraphQL */ `\n mutation DeleteRetailStoreLicense(\n $input: DeleteRetailStoreLicenseInput!\n $condition: ModelRetailStoreLicenseConditionInput\n ) {\n deleteRetailStoreLicense(input: $input, condition: $condition) {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteParty = /* GraphQL */ `\n mutation DeleteParty(\n $input: DeletePartyInput!\n $condition: ModelPartyConditionInput\n ) {\n deleteParty(input: $input, condition: $condition) {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n`;\nexport const deleteCustomer = /* GraphQL */ `\n mutation DeleteCustomer(\n $input: DeleteCustomerInput!\n $condition: ModelCustomerConditionInput\n ) {\n deleteCustomer(input: $input, condition: $condition) {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteSalesOrder = /* GraphQL */ `\n mutation DeleteSalesOrder(\n $input: DeleteSalesOrderInput!\n $condition: ModelSalesOrderConditionInput\n ) {\n deleteSalesOrder(input: $input, condition: $condition) {\n id\n tenantId\n customerId\n retailStoreId\n notes\n extensions\n createdByModule\n deleted\n atorderSessionId\n atorderStatus\n atorderType\n atorderOldDatetime\n datetime\n lastCustomerUpdate\n customerCreationDatetime\n amount\n paymentType\n stripePaymentIntent\n stripePaymentStatus\n stripeRefund\n orderNumber\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n salesOrderLines {\n items {\n id\n tenantId\n salesOrderId\n itemId\n price\n quantity\n notes\n extensions\n sorting\n totalAmount\n vatRate\n modifiedByModule\n createdAt\n updatedAt\n }\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n retailStoreLocation {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteItem = /* GraphQL */ `\n mutation DeleteItem(\n $input: DeleteItemInput!\n $condition: ModelItemConditionInput\n ) {\n deleteItem(input: $input, condition: $condition) {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n itemGroup {\n items {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n priceList {\n items {\n id\n tenantId\n itemId\n priceListId\n price\n deleted\n extensions\n createdAt\n updatedAt\n }\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n variantGroups {\n items {\n id\n tenantId\n variantGroupId\n itemId\n createdAt\n updatedAt\n }\n nextToken\n }\n logicalPrinters {\n items {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n isMain\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const deleteItemGroup = /* GraphQL */ `\n mutation DeleteItemGroup(\n $input: DeleteItemGroupInput!\n $condition: ModelItemGroupConditionInput\n ) {\n deleteItemGroup(input: $input, condition: $condition) {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n items {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const deleteItemPriceList = /* GraphQL */ `\n mutation DeleteItemPriceList(\n $input: DeleteItemPriceListInput!\n $condition: ModelItemPriceListConditionInput\n ) {\n deleteItemPriceList(input: $input, condition: $condition) {\n id\n tenantId\n itemId\n priceListId\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n price\n deleted\n extensions\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deletePriceList = /* GraphQL */ `\n mutation DeletePriceList(\n $input: DeletePriceListInput!\n $condition: ModelPriceListConditionInput\n ) {\n deletePriceList(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n items {\n id\n tenantId\n itemId\n priceListId\n price\n deleted\n extensions\n createdAt\n updatedAt\n }\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteRetailStore = /* GraphQL */ `\n mutation DeleteRetailStore(\n $input: DeleteRetailStoreInput!\n $condition: ModelRetailStoreConditionInput\n ) {\n deleteRetailStore(input: $input, condition: $condition) {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStoreLicense {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n items {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n cashRegisters {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const deleteRetailStoreRoom = /* GraphQL */ `\n mutation DeleteRetailStoreRoom(\n $input: DeleteRetailStoreRoomInput!\n $condition: ModelRetailStoreRoomConditionInput\n ) {\n deleteRetailStoreRoom(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n coverItem {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteRetailStoreLocation = /* GraphQL */ `\n mutation DeleteRetailStoreLocation(\n $input: DeleteRetailStoreLocationInput!\n $condition: ModelRetailStoreLocationConditionInput\n ) {\n deleteRetailStoreLocation(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n coverItem {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateUserRetailStore = /* GraphQL */ `\n mutation UpdateUserRetailStore(\n $input: UpdateUserRetailStoreInput!\n $condition: ModelUserRetailStoreConditionInput\n ) {\n updateUserRetailStore(input: $input, condition: $condition) {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteUserRetailStore = /* GraphQL */ `\n mutation DeleteUserRetailStore(\n $input: DeleteUserRetailStoreInput!\n $condition: ModelUserRetailStoreConditionInput\n ) {\n deleteUserRetailStore(input: $input, condition: $condition) {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteNotification = /* GraphQL */ `\n mutation DeleteNotification(\n $input: DeleteNotificationInput!\n $condition: ModelNotificationConditionInput\n ) {\n deleteNotification(input: $input, condition: $condition) {\n id\n tenantId\n userId\n type\n status\n context\n text\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n news {\n id\n title\n description\n notified\n type\n attribute\n createdAt\n updatedAt\n }\n }\n }\n`;\nexport const deleteInvoiceSectional = /* GraphQL */ `\n mutation DeleteInvoiceSectional(\n $input: DeleteInvoiceSectionalInput!\n $condition: ModelInvoiceSectionalConditionInput\n ) {\n deleteInvoiceSectional(input: $input, condition: $condition) {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteSalesInvoice = /* GraphQL */ `\n mutation DeleteSalesInvoice(\n $input: DeleteSalesInvoiceInput!\n $condition: ModelSalesInvoiceConditionInput\n ) {\n deleteSalesInvoice(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n salesInvoiceLines {\n items {\n id\n tenantId\n salesInvoiceId\n vatRate\n vatCode\n vatCodeDescription\n lineNum\n price\n quantity\n unitPrice\n taxableAmount\n vatAmount\n discountType\n discountAmount\n extensions\n notes\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const deleteEInvoiceTransmission = /* GraphQL */ `\n mutation DeleteEInvoiceTransmission(\n $input: DeleteEInvoiceTransmissionInput!\n $condition: ModelEInvoiceTransmissionConditionInput\n ) {\n deleteEInvoiceTransmission(input: $input, condition: $condition) {\n id\n tenantId\n salesInvoiceId\n retailStoreId\n datetime\n status\n details\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n salesInvoice {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n salesInvoiceLines {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteElectronicCashRegister = /* GraphQL */ `\n mutation DeleteElectronicCashRegister(\n $input: DeleteElectronicCashRegisterInput!\n $condition: ModelElectronicCashRegisterConditionInput\n ) {\n deleteElectronicCashRegister(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteECRDailySales = /* GraphQL */ `\n mutation DeleteECRDailySales(\n $input: DeleteECRDailySalesInput!\n $condition: ModelECRDailySalesConditionInput\n ) {\n deleteECRDailySales(input: $input, condition: $condition) {\n id\n tenantId\n electronicCashRegisterId\n number\n datetime\n content\n notified\n accountantId\n createdAt\n updatedAt\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteECRDailyTech = /* GraphQL */ `\n mutation DeleteECRDailyTech(\n $input: DeleteECRDailyTechInput!\n $condition: ModelECRDailyTechConditionInput\n ) {\n deleteECRDailyTech(input: $input, condition: $condition) {\n id\n number\n datetime\n content\n rtUtilityProcessed\n createdAt\n updatedAt\n }\n }\n`;\nexport const createECRConfigurationFavorite = /* GraphQL */ `\n mutation CreateECRConfigurationFavorite(\n $input: CreateECRConfigurationFavoriteInput!\n $condition: ModelECRConfigurationFavoriteConditionInput\n ) {\n createECRConfigurationFavorite(input: $input, condition: $condition) {\n id\n name\n partnerId\n plu\n content\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateECRConfigurationFavorite = /* GraphQL */ `\n mutation UpdateECRConfigurationFavorite(\n $input: UpdateECRConfigurationFavoriteInput!\n $condition: ModelECRConfigurationFavoriteConditionInput\n ) {\n updateECRConfigurationFavorite(input: $input, condition: $condition) {\n id\n name\n partnerId\n plu\n content\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteECRConfigurationFavorite = /* GraphQL */ `\n mutation DeleteECRConfigurationFavorite(\n $input: DeleteECRConfigurationFavoriteInput!\n $condition: ModelECRConfigurationFavoriteConditionInput\n ) {\n deleteECRConfigurationFavorite(input: $input, condition: $condition) {\n id\n name\n partnerId\n plu\n content\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updatePartnerNote = /* GraphQL */ `\n mutation UpdatePartnerNote(\n $input: UpdatePartnerNoteInput!\n $condition: ModelPartnerNoteConditionInput\n ) {\n updatePartnerNote(input: $input, condition: $condition) {\n id\n partnerId\n tenantId\n ecrNumber\n companyName\n retailStoreName\n description\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deletePartnerNote = /* GraphQL */ `\n mutation DeletePartnerNote(\n $input: DeletePartnerNoteInput!\n $condition: ModelPartnerNoteConditionInput\n ) {\n deletePartnerNote(input: $input, condition: $condition) {\n id\n partnerId\n tenantId\n ecrNumber\n companyName\n retailStoreName\n description\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createFirmware = /* GraphQL */ `\n mutation CreateFirmware(\n $input: CreateFirmwareInput!\n $condition: ModelFirmwareConditionInput\n ) {\n createFirmware(input: $input, condition: $condition) {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n }\n`;\nexport const deleteFirmware = /* GraphQL */ `\n mutation DeleteFirmware(\n $input: DeleteFirmwareInput!\n $condition: ModelFirmwareConditionInput\n ) {\n deleteFirmware(input: $input, condition: $condition) {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n }\n`;\nexport const deleteFirmwareUpgradeHeader = /* GraphQL */ `\n mutation DeleteFirmwareUpgradeHeader(\n $input: DeleteFirmwareUpgradeHeaderInput!\n $condition: ModelFirmwareUpgradeHeaderConditionInput\n ) {\n deleteFirmwareUpgradeHeader(input: $input, condition: $condition) {\n id\n tenantId\n firmwareId\n isServiceManagerIntervention\n fiscalCode\n datetime\n vatNumber\n cancelled\n linesCount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n firmware {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n lines {\n items {\n id\n tenantId\n number\n installed\n cancelled\n headerId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const createCertificate = /* GraphQL */ `\n mutation CreateCertificate(\n $input: CreateCertificateInput!\n $condition: ModelCertificateConditionInput\n ) {\n createCertificate(input: $input, condition: $condition) {\n id\n name\n type\n notes\n filename\n deleted\n createdAt\n updatedAt\n }\n }\n`;\nexport const updateCertificate = /* GraphQL */ `\n mutation UpdateCertificate(\n $input: UpdateCertificateInput!\n $condition: ModelCertificateConditionInput\n ) {\n updateCertificate(input: $input, condition: $condition) {\n id\n name\n type\n notes\n filename\n deleted\n createdAt\n updatedAt\n }\n }\n`;\nexport const deleteCertificate = /* GraphQL */ `\n mutation DeleteCertificate(\n $input: DeleteCertificateInput!\n $condition: ModelCertificateConditionInput\n ) {\n deleteCertificate(input: $input, condition: $condition) {\n id\n name\n type\n notes\n filename\n deleted\n createdAt\n updatedAt\n }\n }\n`;\nexport const updateRtUtilityLog = /* GraphQL */ `\n mutation UpdateRtUtilityLog(\n $input: UpdateRtUtilityLogInput!\n $condition: ModelRtUtilityLogConditionInput\n ) {\n updateRtUtilityLog(input: $input, condition: $condition) {\n id\n partnerId\n userId\n tenantId\n tenantCompanyName\n tenantCompanyVat\n userAttribute\n number\n description\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteRtUtilityLog = /* GraphQL */ `\n mutation DeleteRtUtilityLog(\n $input: DeleteRtUtilityLogInput!\n $condition: ModelRtUtilityLogConditionInput\n ) {\n deleteRtUtilityLog(input: $input, condition: $condition) {\n id\n partnerId\n userId\n tenantId\n tenantCompanyName\n tenantCompanyVat\n userAttribute\n number\n description\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const createCommunication = /* GraphQL */ `\n mutation CreateCommunication(\n $input: CreateCommunicationInput!\n $condition: ModelCommunicationConditionInput\n ) {\n createCommunication(input: $input, condition: $condition) {\n id\n title\n description\n notified\n type\n attribute\n createdAt\n updatedAt\n }\n }\n`;\nexport const deleteCommunication = /* GraphQL */ `\n mutation DeleteCommunication(\n $input: DeleteCommunicationInput!\n $condition: ModelCommunicationConditionInput\n ) {\n deleteCommunication(input: $input, condition: $condition) {\n id\n title\n description\n notified\n type\n attribute\n createdAt\n updatedAt\n }\n }\n`;\nexport const deleteFirmwareStat = /* GraphQL */ `\n mutation DeleteFirmwareStat(\n $input: DeleteFirmwareStatInput!\n $condition: ModelFirmwareStatConditionInput\n ) {\n deleteFirmwareStat(input: $input, condition: $condition) {\n id\n version\n numbers\n createdAt\n updatedAt\n }\n }\n`;\nexport const deleteMoitoIot = /* GraphQL */ `\n mutation DeleteMoitoIot(\n $input: DeleteMoitoIotInput!\n $condition: ModelMoitoIotConditionInput\n ) {\n deleteMoitoIot(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createMoitoIotAppVersion = /* GraphQL */ `\n mutation CreateMoitoIotAppVersion(\n $input: CreateMoitoIotAppVersionInput!\n $condition: ModelMoitoIotAppVersionConditionInput\n ) {\n createMoitoIotAppVersion(input: $input, condition: $condition) {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteMoitoIotAppVersion = /* GraphQL */ `\n mutation DeleteMoitoIotAppVersion(\n $input: DeleteMoitoIotAppVersionInput!\n $condition: ModelMoitoIotAppVersionConditionInput\n ) {\n deleteMoitoIotAppVersion(input: $input, condition: $condition) {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deletePurchInvoice = /* GraphQL */ `\n mutation DeletePurchInvoice(\n $input: DeletePurchInvoiceInput!\n $condition: ModelPurchInvoiceConditionInput\n ) {\n deletePurchInvoice(input: $input, condition: $condition) {\n id\n tenantId\n number\n date\n idSdi\n vendorId\n filename\n progressiveId\n type\n xmlS3Key\n pdfS3Key\n taxableAmount\n vatAmount\n paymentDueDate\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n vendor {\n id\n tenantId\n deleted\n companyName\n companyVat\n fiscalCode\n zipCode\n county\n municipality\n address\n country\n recipientCode\n email\n mobile\n extensions\n costCenterId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n costCenter {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deletePublishedMoitoIotMessage = /* GraphQL */ `\n mutation DeletePublishedMoitoIotMessage(\n $input: DeletePublishedMoitoIotMessageInput!\n $condition: ModelPublishedMoitoIotMessageConditionInput\n ) {\n deletePublishedMoitoIotMessage(input: $input, condition: $condition) {\n id\n timestamp\n deviceId\n payload\n createdAt\n updatedAt\n }\n }\n`;\nexport const deleteReceivedMoitoIotMessage = /* GraphQL */ `\n mutation DeleteReceivedMoitoIotMessage(\n $input: DeleteReceivedMoitoIotMessageInput!\n $condition: ModelReceivedMoitoIotMessageConditionInput\n ) {\n deleteReceivedMoitoIotMessage(input: $input, condition: $condition) {\n id\n timestamp\n deviceId\n payload\n createdAt\n updatedAt\n }\n }\n`;\nexport const deleteVatRate = /* GraphQL */ `\n mutation DeleteVatRate(\n $input: DeleteVatRateInput!\n $condition: ModelVatRateConditionInput\n ) {\n deleteVatRate(input: $input, condition: $condition) {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteDepartment = /* GraphQL */ `\n mutation DeleteDepartment(\n $input: DeleteDepartmentInput!\n $condition: ModelDepartmentConditionInput\n ) {\n deleteDepartment(input: $input, condition: $condition) {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteVariant = /* GraphQL */ `\n mutation DeleteVariant(\n $input: DeleteVariantInput!\n $condition: ModelVariantConditionInput\n ) {\n deleteVariant(input: $input, condition: $condition) {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n variantVariantGroups {\n items {\n id\n tenantId\n variantId\n variantGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n variantModifiers {\n items {\n id\n tenantId\n variantId\n modifierId\n price\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const deleteModifier = /* GraphQL */ `\n mutation DeleteModifier(\n $input: DeleteModifierInput!\n $condition: ModelModifierConditionInput\n ) {\n deleteModifier(input: $input, condition: $condition) {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteVariantGroup = /* GraphQL */ `\n mutation DeleteVariantGroup(\n $input: DeleteVariantGroupInput!\n $condition: ModelVariantGroupConditionInput\n ) {\n deleteVariantGroup(input: $input, condition: $condition) {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteMoitoIotOperator = /* GraphQL */ `\n mutation DeleteMoitoIotOperator(\n $input: DeleteMoitoIotOperatorInput!\n $condition: ModelMoitoIotOperatorConditionInput\n ) {\n deleteMoitoIotOperator(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n coverItem {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n orderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n receiptPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n invoicePrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n preorderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n tallonPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n reportPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n kioskPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteDiscountSurcharge = /* GraphQL */ `\n mutation DeleteDiscountSurcharge(\n $input: DeleteDiscountSurchargeInput!\n $condition: ModelDiscountSurchargeConditionInput\n ) {\n deleteDiscountSurcharge(input: $input, condition: $condition) {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deletePhase = /* GraphQL */ `\n mutation DeletePhase(\n $input: DeletePhaseInput!\n $condition: ModelPhaseConditionInput\n ) {\n deletePhase(input: $input, condition: $condition) {\n id\n tenantId\n description\n sorting\n enabled\n code\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteMoitoIotPhysicalPrinter = /* GraphQL */ `\n mutation DeleteMoitoIotPhysicalPrinter(\n $input: DeleteMoitoIotPhysicalPrinterInput!\n $condition: ModelMoitoIotPhysicalPrinterConditionInput\n ) {\n deleteMoitoIotPhysicalPrinter(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteMoitoIotLogicalPrinter = /* GraphQL */ `\n mutation DeleteMoitoIotLogicalPrinter(\n $input: DeleteMoitoIotLogicalPrinterInput!\n $condition: ModelMoitoIotLogicalPrinterConditionInput\n ) {\n deleteMoitoIotLogicalPrinter(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteReceipt = /* GraphQL */ `\n mutation DeleteReceipt(\n $input: DeleteReceiptInput!\n $condition: ModelReceiptConditionInput\n ) {\n deleteReceipt(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n orderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n receiptPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n invoicePrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n preorderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n tallonPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n reportPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n kioskPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n receiptPayments {\n items {\n id\n tenantId\n receiptId\n paymentId\n retailStoreId\n amount\n sorting\n description\n loyaltyCardId\n loyaltyCardInitialAmount\n loyaltyCardFinalAmount\n deleted\n createdAt\n updatedAt\n }\n nextToken\n }\n lines {\n items {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n }\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n }\n }\n`;\nexport const deletePayment = /* GraphQL */ `\n mutation DeletePayment(\n $input: DeletePaymentInput!\n $condition: ModelPaymentConditionInput\n ) {\n deletePayment(input: $input, condition: $condition) {\n id\n tenantId\n sorting\n type\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n willFollowInvoice\n isLoyaltyCard\n extensions\n deleted\n isBankTransfer\n isTracked\n eftAmount\n cashDrawer\n adminOnly\n satispay\n satispayMode\n paymentDtrId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteReceiptPayment = /* GraphQL */ `\n mutation DeleteReceiptPayment(\n $input: DeleteReceiptPaymentInput!\n $condition: ModelReceiptPaymentConditionInput\n ) {\n deleteReceiptPayment(input: $input, condition: $condition) {\n id\n tenantId\n receiptId\n paymentId\n retailStoreId\n amount\n sorting\n description\n loyaltyCardId\n loyaltyCardInitialAmount\n loyaltyCardFinalAmount\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n payment {\n id\n tenantId\n sorting\n type\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n willFollowInvoice\n isLoyaltyCard\n extensions\n deleted\n isBankTransfer\n isTracked\n eftAmount\n cashDrawer\n adminOnly\n satispay\n satispayMode\n paymentDtrId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteReceiptLine = /* GraphQL */ `\n mutation DeleteReceiptLine(\n $input: DeleteReceiptLineInput!\n $condition: ModelReceiptLineConditionInput\n ) {\n deleteReceiptLine(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteReceiptVat = /* GraphQL */ `\n mutation DeleteReceiptVat(\n $input: DeleteReceiptVatInput!\n $condition: ModelReceiptVatConditionInput\n ) {\n deleteReceiptVat(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n receiptId\n sorting\n vatCode\n vatRate\n totalAmount\n netAmount\n vatAmount\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteReceiptLineVariant = /* GraphQL */ `\n mutation DeleteReceiptLineVariant(\n $input: DeleteReceiptLineVariantInput!\n $condition: ModelReceiptLineVariantConditionInput\n ) {\n deleteReceiptLineVariant(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n receiptId\n receiptLineId\n variantId\n modifierId\n modifierDescription\n modifierRightPosition\n modifierColor\n variantDescription\n price\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n receiptLine {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteECRPendingXML = /* GraphQL */ `\n mutation DeleteECRPendingXML(\n $input: DeleteECRPendingXMLInput!\n $condition: ModelECRPendingXMLConditionInput\n ) {\n deleteECRPendingXML(input: $input, condition: $condition) {\n id\n electronicCashRegisterId\n partnerId\n tenantId\n number\n filename\n datetime\n s3Key\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteECRAdvMessage = /* GraphQL */ `\n mutation DeleteECRAdvMessage(\n $input: DeleteECRAdvMessageInput!\n $condition: ModelECRAdvMessageConditionInput\n ) {\n deleteECRAdvMessage(input: $input, condition: $condition) {\n id\n electronicCashRegisterId\n partnerId\n message\n printed\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteLoyaltyCard = /* GraphQL */ `\n mutation DeleteLoyaltyCard(\n $input: DeleteLoyaltyCardInput!\n $condition: ModelLoyaltyCardConditionInput\n ) {\n deleteLoyaltyCard(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteOperator = /* GraphQL */ `\n mutation DeleteOperator(\n $input: DeleteOperatorInput!\n $condition: ModelOperatorConditionInput\n ) {\n deleteOperator(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteVendor = /* GraphQL */ `\n mutation DeleteVendor(\n $input: DeleteVendorInput!\n $condition: ModelVendorConditionInput\n ) {\n deleteVendor(input: $input, condition: $condition) {\n id\n tenantId\n deleted\n companyName\n companyVat\n fiscalCode\n zipCode\n county\n municipality\n address\n country\n recipientCode\n email\n mobile\n extensions\n costCenterId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n costCenter {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteCostCenter = /* GraphQL */ `\n mutation DeleteCostCenter(\n $input: DeleteCostCenterInput!\n $condition: ModelCostCenterConditionInput\n ) {\n deleteCostCenter(input: $input, condition: $condition) {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteDigitalCashRegister = /* GraphQL */ `\n mutation DeleteDigitalCashRegister(\n $input: DeleteDigitalCashRegisterInput!\n $condition: ModelDigitalCashRegisterConditionInput\n ) {\n deleteDigitalCashRegister(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const createTenant = /* GraphQL */ `\n mutation CreateTenant(\n $input: CreateTenantInput!\n $condition: ModelTenantConditionInput\n ) {\n createTenant(input: $input, condition: $condition) {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n items {\n id\n userId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n`;\nexport const updateTenant = /* GraphQL */ `\n mutation UpdateTenant(\n $input: UpdateTenantInput!\n $condition: ModelTenantConditionInput\n ) {\n updateTenant(input: $input, condition: $condition) {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n items {\n id\n userId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n`;\nexport const createUser = /* GraphQL */ `\n mutation CreateUser(\n $input: CreateUserInput!\n $condition: ModelUserConditionInput\n ) {\n createUser(input: $input, condition: $condition) {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n items {\n id\n userId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n userPrivilege {\n items {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n userLicense {\n items {\n id\n tenantId\n userId\n licenseId\n validFrom\n validTo\n createdAt\n updatedAt\n }\n nextToken\n }\n userRetailStore {\n items {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const updateUser = /* GraphQL */ `\n mutation UpdateUser(\n $input: UpdateUserInput!\n $condition: ModelUserConditionInput\n ) {\n updateUser(input: $input, condition: $condition) {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n items {\n id\n userId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n userPrivilege {\n items {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n userLicense {\n items {\n id\n tenantId\n userId\n licenseId\n validFrom\n validTo\n createdAt\n updatedAt\n }\n nextToken\n }\n userRetailStore {\n items {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const createPartnershipRequest = /* GraphQL */ `\n mutation CreatePartnershipRequest(\n $input: CreatePartnershipRequestInput!\n $condition: ModelPartnershipRequestConditionInput\n ) {\n createPartnershipRequest(input: $input, condition: $condition) {\n id\n tenantId\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const deletePartnershipRequest = /* GraphQL */ `\n mutation DeletePartnershipRequest(\n $input: DeletePartnershipRequestInput!\n $condition: ModelPartnershipRequestConditionInput\n ) {\n deletePartnershipRequest(input: $input, condition: $condition) {\n id\n tenantId\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateAppSettings = /* GraphQL */ `\n mutation UpdateAppSettings(\n $input: UpdateAppSettingsInput!\n $condition: ModelAppSettingsConditionInput\n ) {\n updateAppSettings(input: $input, condition: $condition) {\n id\n firstTenantUserPrivilegeGroups\n defaultCurrency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n oldEJExpDate\n lastTobaccoItemsS3Key\n lastTobaccoBarcodesS3Key\n licensesByDealerS3Key\n happyApk\n createdAt\n updatedAt\n defaultPartner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n AtorderLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n AtorderDeliveryLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EInvoiceItLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityFwDownloadLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityLogsLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserCollectorLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotAutomaticUpdateLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotMultipleUsersLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotOnlineBackupLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotCollectorLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotDealerLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotCateringLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUtilityEJExtensionLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n CalendarLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n ForValueLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n RTUserAccountantLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJManagementLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJOneYearLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJTwoYearLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n EJNoLimitLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n OpticalLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotKioskLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n MoitoIotTobaccoLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n HappyLicense {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n partnerPrivilegeGroup {\n id\n name\n createdAt\n updatedAt\n privileges {\n nextToken\n }\n }\n serviceManagerPrivilegeGroup {\n id\n name\n createdAt\n updatedAt\n privileges {\n nextToken\n }\n }\n lastMoitoIotStableVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n lastMoitoIotBetaVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createLicenseRequest = /* GraphQL */ `\n mutation CreateLicenseRequest(\n $input: CreateLicenseRequestInput!\n $condition: ModelLicenseRequestConditionInput\n ) {\n createLicenseRequest(input: $input, condition: $condition) {\n id\n tenantId\n partnerId\n retailStoreId\n duration\n deleted\n extensions\n startFromDate\n level\n isFree\n autorenew\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n applicantUser {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteLicenseRequest = /* GraphQL */ `\n mutation DeleteLicenseRequest(\n $input: DeleteLicenseRequestInput!\n $condition: ModelLicenseRequestConditionInput\n ) {\n deleteLicenseRequest(input: $input, condition: $condition) {\n id\n tenantId\n partnerId\n retailStoreId\n duration\n deleted\n extensions\n startFromDate\n level\n isFree\n autorenew\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n applicantUser {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createTenantUser = /* GraphQL */ `\n mutation CreateTenantUser(\n $input: CreateTenantUserInput!\n $condition: ModelTenantUserConditionInput\n ) {\n createTenantUser(input: $input, condition: $condition) {\n id\n userId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const createUserPrivilege = /* GraphQL */ `\n mutation CreateUserPrivilege(\n $input: CreateUserPrivilegeInput!\n $condition: ModelUserPrivilegeConditionInput\n ) {\n createUserPrivilege(input: $input, condition: $condition) {\n id\n userId\n privilegeId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n privilege {\n id\n name\n description\n ability\n entity\n createdAt\n updatedAt\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n privilegeGroups {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n }\n }\n }\n`;\nexport const createUserLicense = /* GraphQL */ `\n mutation CreateUserLicense(\n $input: CreateUserLicenseInput!\n $condition: ModelUserLicenseConditionInput\n ) {\n createUserLicense(input: $input, condition: $condition) {\n id\n tenantId\n userId\n licenseId\n validFrom\n validTo\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n retailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateUserLicense = /* GraphQL */ `\n mutation UpdateUserLicense(\n $input: UpdateUserLicenseInput!\n $condition: ModelUserLicenseConditionInput\n ) {\n updateUserLicense(input: $input, condition: $condition) {\n id\n tenantId\n userId\n licenseId\n validFrom\n validTo\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n retailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteUserLicense = /* GraphQL */ `\n mutation DeleteUserLicense(\n $input: DeleteUserLicenseInput!\n $condition: ModelUserLicenseConditionInput\n ) {\n deleteUserLicense(input: $input, condition: $condition) {\n id\n tenantId\n userId\n licenseId\n validFrom\n validTo\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n retailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createRetailStoreLicense = /* GraphQL */ `\n mutation CreateRetailStoreLicense(\n $input: CreateRetailStoreLicenseInput!\n $condition: ModelRetailStoreLicenseConditionInput\n ) {\n createRetailStoreLicense(input: $input, condition: $condition) {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateRetailStoreLicense = /* GraphQL */ `\n mutation UpdateRetailStoreLicense(\n $input: UpdateRetailStoreLicenseInput!\n $condition: ModelRetailStoreLicenseConditionInput\n ) {\n updateRetailStoreLicense(input: $input, condition: $condition) {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n approvedBy {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n license {\n id\n name\n commercialName\n baseName\n erpItemId\n createdAt\n updatedAt\n }\n originalRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n renewedRetailStoreLicense {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const createParty = /* GraphQL */ `\n mutation CreateParty(\n $input: CreatePartyInput!\n $condition: ModelPartyConditionInput\n ) {\n createParty(input: $input, condition: $condition) {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n`;\nexport const updateParty = /* GraphQL */ `\n mutation UpdateParty(\n $input: UpdatePartyInput!\n $condition: ModelPartyConditionInput\n ) {\n updateParty(input: $input, condition: $condition) {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n`;\nexport const createCustomer = /* GraphQL */ `\n mutation CreateCustomer(\n $input: CreateCustomerInput!\n $condition: ModelCustomerConditionInput\n ) {\n createCustomer(input: $input, condition: $condition) {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateCustomer = /* GraphQL */ `\n mutation UpdateCustomer(\n $input: UpdateCustomerInput!\n $condition: ModelCustomerConditionInput\n ) {\n updateCustomer(input: $input, condition: $condition) {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createSalesOrder = /* GraphQL */ `\n mutation CreateSalesOrder(\n $input: CreateSalesOrderInput!\n $condition: ModelSalesOrderConditionInput\n ) {\n createSalesOrder(input: $input, condition: $condition) {\n id\n tenantId\n customerId\n retailStoreId\n notes\n extensions\n createdByModule\n deleted\n atorderSessionId\n atorderStatus\n atorderType\n atorderOldDatetime\n datetime\n lastCustomerUpdate\n customerCreationDatetime\n amount\n paymentType\n stripePaymentIntent\n stripePaymentStatus\n stripeRefund\n orderNumber\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n salesOrderLines {\n items {\n id\n tenantId\n salesOrderId\n itemId\n price\n quantity\n notes\n extensions\n sorting\n totalAmount\n vatRate\n modifiedByModule\n createdAt\n updatedAt\n }\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n retailStoreLocation {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateSalesOrder = /* GraphQL */ `\n mutation UpdateSalesOrder(\n $input: UpdateSalesOrderInput!\n $condition: ModelSalesOrderConditionInput\n ) {\n updateSalesOrder(input: $input, condition: $condition) {\n id\n tenantId\n customerId\n retailStoreId\n notes\n extensions\n createdByModule\n deleted\n atorderSessionId\n atorderStatus\n atorderType\n atorderOldDatetime\n datetime\n lastCustomerUpdate\n customerCreationDatetime\n amount\n paymentType\n stripePaymentIntent\n stripePaymentStatus\n stripeRefund\n orderNumber\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n salesOrderLines {\n items {\n id\n tenantId\n salesOrderId\n itemId\n price\n quantity\n notes\n extensions\n sorting\n totalAmount\n vatRate\n modifiedByModule\n createdAt\n updatedAt\n }\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n retailStoreLocation {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createSalesOrderLine = /* GraphQL */ `\n mutation CreateSalesOrderLine(\n $input: CreateSalesOrderLineInput!\n $condition: ModelSalesOrderLineConditionInput\n ) {\n createSalesOrderLine(input: $input, condition: $condition) {\n id\n tenantId\n salesOrderId\n itemId\n price\n quantity\n notes\n extensions\n sorting\n totalAmount\n vatRate\n modifiedByModule\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n salesOrder {\n id\n tenantId\n customerId\n retailStoreId\n notes\n extensions\n createdByModule\n deleted\n atorderSessionId\n atorderStatus\n atorderType\n atorderOldDatetime\n datetime\n lastCustomerUpdate\n customerCreationDatetime\n amount\n paymentType\n stripePaymentIntent\n stripePaymentStatus\n stripeRefund\n orderNumber\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n salesOrderLines {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreLocation {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateSalesOrderLine = /* GraphQL */ `\n mutation UpdateSalesOrderLine(\n $input: UpdateSalesOrderLineInput!\n $condition: ModelSalesOrderLineConditionInput\n ) {\n updateSalesOrderLine(input: $input, condition: $condition) {\n id\n tenantId\n salesOrderId\n itemId\n price\n quantity\n notes\n extensions\n sorting\n totalAmount\n vatRate\n modifiedByModule\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n salesOrder {\n id\n tenantId\n customerId\n retailStoreId\n notes\n extensions\n createdByModule\n deleted\n atorderSessionId\n atorderStatus\n atorderType\n atorderOldDatetime\n datetime\n lastCustomerUpdate\n customerCreationDatetime\n amount\n paymentType\n stripePaymentIntent\n stripePaymentStatus\n stripeRefund\n orderNumber\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n salesOrderLines {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreLocation {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteSalesOrderLine = /* GraphQL */ `\n mutation DeleteSalesOrderLine(\n $input: DeleteSalesOrderLineInput!\n $condition: ModelSalesOrderLineConditionInput\n ) {\n deleteSalesOrderLine(input: $input, condition: $condition) {\n id\n tenantId\n salesOrderId\n itemId\n price\n quantity\n notes\n extensions\n sorting\n totalAmount\n vatRate\n modifiedByModule\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n salesOrder {\n id\n tenantId\n customerId\n retailStoreId\n notes\n extensions\n createdByModule\n deleted\n atorderSessionId\n atorderStatus\n atorderType\n atorderOldDatetime\n datetime\n lastCustomerUpdate\n customerCreationDatetime\n amount\n paymentType\n stripePaymentIntent\n stripePaymentStatus\n stripeRefund\n orderNumber\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n salesOrderLines {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreLocation {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n }\n }\n`;\nexport const createItem = /* GraphQL */ `\n mutation CreateItem(\n $input: CreateItemInput!\n $condition: ModelItemConditionInput\n ) {\n createItem(input: $input, condition: $condition) {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n itemGroup {\n items {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n priceList {\n items {\n id\n tenantId\n itemId\n priceListId\n price\n deleted\n extensions\n createdAt\n updatedAt\n }\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n variantGroups {\n items {\n id\n tenantId\n variantGroupId\n itemId\n createdAt\n updatedAt\n }\n nextToken\n }\n logicalPrinters {\n items {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n isMain\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const updateItem = /* GraphQL */ `\n mutation UpdateItem(\n $input: UpdateItemInput!\n $condition: ModelItemConditionInput\n ) {\n updateItem(input: $input, condition: $condition) {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n itemGroup {\n items {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n priceList {\n items {\n id\n tenantId\n itemId\n priceListId\n price\n deleted\n extensions\n createdAt\n updatedAt\n }\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n variantGroups {\n items {\n id\n tenantId\n variantGroupId\n itemId\n createdAt\n updatedAt\n }\n nextToken\n }\n logicalPrinters {\n items {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n isMain\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const createItemItemGroup = /* GraphQL */ `\n mutation CreateItemItemGroup(\n $input: CreateItemItemGroupInput!\n $condition: ModelItemItemGroupConditionInput\n ) {\n createItemItemGroup(input: $input, condition: $condition) {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n itemGroup {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateItemItemGroup = /* GraphQL */ `\n mutation UpdateItemItemGroup(\n $input: UpdateItemItemGroupInput!\n $condition: ModelItemItemGroupConditionInput\n ) {\n updateItemItemGroup(input: $input, condition: $condition) {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n itemGroup {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteItemItemGroup = /* GraphQL */ `\n mutation DeleteItemItemGroup(\n $input: DeleteItemItemGroupInput!\n $condition: ModelItemItemGroupConditionInput\n ) {\n deleteItemItemGroup(input: $input, condition: $condition) {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n itemGroup {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n }\n }\n }\n`;\nexport const createItemGroup = /* GraphQL */ `\n mutation CreateItemGroup(\n $input: CreateItemGroupInput!\n $condition: ModelItemGroupConditionInput\n ) {\n createItemGroup(input: $input, condition: $condition) {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n items {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const updateItemGroup = /* GraphQL */ `\n mutation UpdateItemGroup(\n $input: UpdateItemGroupInput!\n $condition: ModelItemGroupConditionInput\n ) {\n updateItemGroup(input: $input, condition: $condition) {\n id\n tenantId\n name\n description\n sorting\n extensions\n createdByModule\n atorderType\n deleted\n enabledRetailStoreIds\n color\n isCover\n type\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n items {\n id\n tenantId\n itemId\n itemGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const createItemPriceList = /* GraphQL */ `\n mutation CreateItemPriceList(\n $input: CreateItemPriceListInput!\n $condition: ModelItemPriceListConditionInput\n ) {\n createItemPriceList(input: $input, condition: $condition) {\n id\n tenantId\n itemId\n priceListId\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n price\n deleted\n extensions\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateItemPriceList = /* GraphQL */ `\n mutation UpdateItemPriceList(\n $input: UpdateItemPriceListInput!\n $condition: ModelItemPriceListConditionInput\n ) {\n updateItemPriceList(input: $input, condition: $condition) {\n id\n tenantId\n itemId\n priceListId\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n price\n deleted\n extensions\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createPriceList = /* GraphQL */ `\n mutation CreatePriceList(\n $input: CreatePriceListInput!\n $condition: ModelPriceListConditionInput\n ) {\n createPriceList(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n items {\n id\n tenantId\n itemId\n priceListId\n price\n deleted\n extensions\n createdAt\n updatedAt\n }\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const updatePriceList = /* GraphQL */ `\n mutation UpdatePriceList(\n $input: UpdatePriceListInput!\n $condition: ModelPriceListConditionInput\n ) {\n updatePriceList(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n items {\n id\n tenantId\n itemId\n priceListId\n price\n deleted\n extensions\n createdAt\n updatedAt\n }\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const createRetailStore = /* GraphQL */ `\n mutation CreateRetailStore(\n $input: CreateRetailStoreInput!\n $condition: ModelRetailStoreConditionInput\n ) {\n createRetailStore(input: $input, condition: $condition) {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStoreLicense {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n items {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n cashRegisters {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const updateRetailStore = /* GraphQL */ `\n mutation UpdateRetailStore(\n $input: UpdateRetailStoreInput!\n $condition: ModelRetailStoreConditionInput\n ) {\n updateRetailStore(input: $input, condition: $condition) {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStoreLicense {\n items {\n id\n retailStoreId\n licenseId\n partnerId\n tenantId\n validFrom\n validTo\n assignedToUser\n activatedAt\n number\n electronicCashRegisterId\n moitoIotCode\n moitoIotId\n level\n isFree\n autorenew\n orderConfirmationNotified\n firmware\n ecrCompanyName\n ecrCompanyVat\n ecrRetailStoreName\n adminNotified\n createdAt\n updatedAt\n }\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n items {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n }\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n cashRegisters {\n items {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const createRetailStoreRoom = /* GraphQL */ `\n mutation CreateRetailStoreRoom(\n $input: CreateRetailStoreRoomInput!\n $condition: ModelRetailStoreRoomConditionInput\n ) {\n createRetailStoreRoom(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n coverItem {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateRetailStoreRoom = /* GraphQL */ `\n mutation UpdateRetailStoreRoom(\n $input: UpdateRetailStoreRoomInput!\n $condition: ModelRetailStoreRoomConditionInput\n ) {\n updateRetailStoreRoom(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n coverItem {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createRetailStoreLocation = /* GraphQL */ `\n mutation CreateRetailStoreLocation(\n $input: CreateRetailStoreLocationInput!\n $condition: ModelRetailStoreLocationConditionInput\n ) {\n createRetailStoreLocation(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n coverItem {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateRetailStoreLocation = /* GraphQL */ `\n mutation UpdateRetailStoreLocation(\n $input: UpdateRetailStoreLocationInput!\n $condition: ModelRetailStoreLocationConditionInput\n ) {\n updateRetailStoreLocation(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreRoomId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n coverItem {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createUserRetailStore = /* GraphQL */ `\n mutation CreateUserRetailStore(\n $input: CreateUserRetailStoreInput!\n $condition: ModelUserRetailStoreConditionInput\n ) {\n createUserRetailStore(input: $input, condition: $condition) {\n id\n userId\n retailStoreId\n tenantId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const createNotification = /* GraphQL */ `\n mutation CreateNotification(\n $input: CreateNotificationInput!\n $condition: ModelNotificationConditionInput\n ) {\n createNotification(input: $input, condition: $condition) {\n id\n tenantId\n userId\n type\n status\n context\n text\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n news {\n id\n title\n description\n notified\n type\n attribute\n createdAt\n updatedAt\n }\n }\n }\n`;\nexport const updateNotification = /* GraphQL */ `\n mutation UpdateNotification(\n $input: UpdateNotificationInput!\n $condition: ModelNotificationConditionInput\n ) {\n updateNotification(input: $input, condition: $condition) {\n id\n tenantId\n userId\n type\n status\n context\n text\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n news {\n id\n title\n description\n notified\n type\n attribute\n createdAt\n updatedAt\n }\n }\n }\n`;\nexport const createInvoiceSectional = /* GraphQL */ `\n mutation CreateInvoiceSectional(\n $input: CreateInvoiceSectionalInput!\n $condition: ModelInvoiceSectionalConditionInput\n ) {\n createInvoiceSectional(input: $input, condition: $condition) {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateInvoiceSectional = /* GraphQL */ `\n mutation UpdateInvoiceSectional(\n $input: UpdateInvoiceSectionalInput!\n $condition: ModelInvoiceSectionalConditionInput\n ) {\n updateInvoiceSectional(input: $input, condition: $condition) {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const createSalesInvoice = /* GraphQL */ `\n mutation CreateSalesInvoice(\n $input: CreateSalesInvoiceInput!\n $condition: ModelSalesInvoiceConditionInput\n ) {\n createSalesInvoice(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n salesInvoiceLines {\n items {\n id\n tenantId\n salesInvoiceId\n vatRate\n vatCode\n vatCodeDescription\n lineNum\n price\n quantity\n unitPrice\n taxableAmount\n vatAmount\n discountType\n discountAmount\n extensions\n notes\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const updateSalesInvoice = /* GraphQL */ `\n mutation UpdateSalesInvoice(\n $input: UpdateSalesInvoiceInput!\n $condition: ModelSalesInvoiceConditionInput\n ) {\n updateSalesInvoice(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n salesInvoiceLines {\n items {\n id\n tenantId\n salesInvoiceId\n vatRate\n vatCode\n vatCodeDescription\n lineNum\n price\n quantity\n unitPrice\n taxableAmount\n vatAmount\n discountType\n discountAmount\n extensions\n notes\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const createSalesInvoiceLine = /* GraphQL */ `\n mutation CreateSalesInvoiceLine(\n $input: CreateSalesInvoiceLineInput!\n $condition: ModelSalesInvoiceLineConditionInput\n ) {\n createSalesInvoiceLine(input: $input, condition: $condition) {\n id\n tenantId\n salesInvoiceId\n vatRate\n vatCode\n vatCodeDescription\n lineNum\n price\n quantity\n unitPrice\n taxableAmount\n vatAmount\n discountType\n discountAmount\n extensions\n notes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n salesInvoice {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n salesInvoiceLines {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateSalesInvoiceLine = /* GraphQL */ `\n mutation UpdateSalesInvoiceLine(\n $input: UpdateSalesInvoiceLineInput!\n $condition: ModelSalesInvoiceLineConditionInput\n ) {\n updateSalesInvoiceLine(input: $input, condition: $condition) {\n id\n tenantId\n salesInvoiceId\n vatRate\n vatCode\n vatCodeDescription\n lineNum\n price\n quantity\n unitPrice\n taxableAmount\n vatAmount\n discountType\n discountAmount\n extensions\n notes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n salesInvoice {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n salesInvoiceLines {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteSalesInvoiceLine = /* GraphQL */ `\n mutation DeleteSalesInvoiceLine(\n $input: DeleteSalesInvoiceLineInput!\n $condition: ModelSalesInvoiceLineConditionInput\n ) {\n deleteSalesInvoiceLine(input: $input, condition: $condition) {\n id\n tenantId\n salesInvoiceId\n vatRate\n vatCode\n vatCodeDescription\n lineNum\n price\n quantity\n unitPrice\n taxableAmount\n vatAmount\n discountType\n discountAmount\n extensions\n notes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n salesInvoice {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n salesInvoiceLines {\n nextToken\n }\n }\n }\n }\n`;\nexport const createEInvoiceTransmission = /* GraphQL */ `\n mutation CreateEInvoiceTransmission(\n $input: CreateEInvoiceTransmissionInput!\n $condition: ModelEInvoiceTransmissionConditionInput\n ) {\n createEInvoiceTransmission(input: $input, condition: $condition) {\n id\n tenantId\n salesInvoiceId\n retailStoreId\n datetime\n status\n details\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n salesInvoice {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n salesInvoiceLines {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateEInvoiceTransmission = /* GraphQL */ `\n mutation UpdateEInvoiceTransmission(\n $input: UpdateEInvoiceTransmissionInput!\n $condition: ModelEInvoiceTransmissionConditionInput\n ) {\n updateEInvoiceTransmission(input: $input, condition: $condition) {\n id\n tenantId\n salesInvoiceId\n retailStoreId\n datetime\n status\n details\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n salesInvoice {\n id\n tenantId\n retailStoreId\n customerId\n number\n invoiceId\n date\n type\n taxRegime\n paymentCode\n paymentMode\n paymentAmount\n iban\n notes\n customerFiscalCode\n customerCompanyVat\n customerCompanyName\n customerZipCode\n customerCounty\n customerMunicipality\n customerAddress\n customerCountry\n customerRecipientCode\n customerEmail\n extensions\n isPAInvoice\n sentToArchismall\n pricesWithoutVat\n createdByModule\n xmlS3Key\n pdfS3Key\n archismallProgressiveId\n status\n idSdi\n idArchismall\n errorDescription\n emailNotificationSent\n accountantEmailSent\n writeOffInvoiceId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n sectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n salesInvoiceLines {\n nextToken\n }\n }\n }\n }\n`;\nexport const createElectronicCashRegister = /* GraphQL */ `\n mutation CreateElectronicCashRegister(\n $input: CreateElectronicCashRegisterInput!\n $condition: ModelElectronicCashRegisterConditionInput\n ) {\n createElectronicCashRegister(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateElectronicCashRegister = /* GraphQL */ `\n mutation UpdateElectronicCashRegister(\n $input: UpdateElectronicCashRegisterInput!\n $condition: ModelElectronicCashRegisterConditionInput\n ) {\n updateElectronicCashRegister(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createECRConfiguration = /* GraphQL */ `\n mutation CreateECRConfiguration(\n $input: CreateECRConfigurationInput!\n $condition: ModelECRConfigurationConditionInput\n ) {\n createECRConfiguration(input: $input, condition: $condition) {\n id\n partnerId\n number\n content\n version\n plu\n status\n logs\n createdAt\n updatedAt\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateECRConfiguration = /* GraphQL */ `\n mutation UpdateECRConfiguration(\n $input: UpdateECRConfigurationInput!\n $condition: ModelECRConfigurationConditionInput\n ) {\n updateECRConfiguration(input: $input, condition: $condition) {\n id\n partnerId\n number\n content\n version\n plu\n status\n logs\n createdAt\n updatedAt\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteECRConfiguration = /* GraphQL */ `\n mutation DeleteECRConfiguration(\n $input: DeleteECRConfigurationInput!\n $condition: ModelECRConfigurationConditionInput\n ) {\n deleteECRConfiguration(input: $input, condition: $condition) {\n id\n partnerId\n number\n content\n version\n plu\n status\n logs\n createdAt\n updatedAt\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createECRDailySales = /* GraphQL */ `\n mutation CreateECRDailySales(\n $input: CreateECRDailySalesInput!\n $condition: ModelECRDailySalesConditionInput\n ) {\n createECRDailySales(input: $input, condition: $condition) {\n id\n tenantId\n electronicCashRegisterId\n number\n datetime\n content\n notified\n accountantId\n createdAt\n updatedAt\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateECRDailySales = /* GraphQL */ `\n mutation UpdateECRDailySales(\n $input: UpdateECRDailySalesInput!\n $condition: ModelECRDailySalesConditionInput\n ) {\n updateECRDailySales(input: $input, condition: $condition) {\n id\n tenantId\n electronicCashRegisterId\n number\n datetime\n content\n notified\n accountantId\n createdAt\n updatedAt\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createECRDailyTech = /* GraphQL */ `\n mutation CreateECRDailyTech(\n $input: CreateECRDailyTechInput!\n $condition: ModelECRDailyTechConditionInput\n ) {\n createECRDailyTech(input: $input, condition: $condition) {\n id\n number\n datetime\n content\n rtUtilityProcessed\n createdAt\n updatedAt\n }\n }\n`;\nexport const updateECRDailyTech = /* GraphQL */ `\n mutation UpdateECRDailyTech(\n $input: UpdateECRDailyTechInput!\n $condition: ModelECRDailyTechConditionInput\n ) {\n updateECRDailyTech(input: $input, condition: $condition) {\n id\n number\n datetime\n content\n rtUtilityProcessed\n createdAt\n updatedAt\n }\n }\n`;\nexport const createECRTechIntervention = /* GraphQL */ `\n mutation CreateECRTechIntervention(\n $input: CreateECRTechInterventionInput!\n $condition: ModelECRTechInterventionConditionInput\n ) {\n createECRTechIntervention(input: $input, condition: $condition) {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateECRTechIntervention = /* GraphQL */ `\n mutation UpdateECRTechIntervention(\n $input: UpdateECRTechInterventionInput!\n $condition: ModelECRTechInterventionConditionInput\n ) {\n updateECRTechIntervention(input: $input, condition: $condition) {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteECRTechIntervention = /* GraphQL */ `\n mutation DeleteECRTechIntervention(\n $input: DeleteECRTechInterventionInput!\n $condition: ModelECRTechInterventionConditionInput\n ) {\n deleteECRTechIntervention(input: $input, condition: $condition) {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const createECRError = /* GraphQL */ `\n mutation CreateECRError(\n $input: CreateECRErrorInput!\n $condition: ModelECRErrorConditionInput\n ) {\n createECRError(input: $input, condition: $condition) {\n id\n partnerId\n tenantId\n retailStoreId\n number\n code\n description\n datetime\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateECRError = /* GraphQL */ `\n mutation UpdateECRError(\n $input: UpdateECRErrorInput!\n $condition: ModelECRErrorConditionInput\n ) {\n updateECRError(input: $input, condition: $condition) {\n id\n partnerId\n tenantId\n retailStoreId\n number\n code\n description\n datetime\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteECRError = /* GraphQL */ `\n mutation DeleteECRError(\n $input: DeleteECRErrorInput!\n $condition: ModelECRErrorConditionInput\n ) {\n deleteECRError(input: $input, condition: $condition) {\n id\n partnerId\n tenantId\n retailStoreId\n number\n code\n description\n datetime\n ecrDatetime\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const createPartnerNote = /* GraphQL */ `\n mutation CreatePartnerNote(\n $input: CreatePartnerNoteInput!\n $condition: ModelPartnerNoteConditionInput\n ) {\n createPartnerNote(input: $input, condition: $condition) {\n id\n partnerId\n tenantId\n ecrNumber\n companyName\n retailStoreName\n description\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateFirmware = /* GraphQL */ `\n mutation UpdateFirmware(\n $input: UpdateFirmwareInput!\n $condition: ModelFirmwareConditionInput\n ) {\n updateFirmware(input: $input, condition: $condition) {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n }\n`;\nexport const createFirmwareUpgradeHeader = /* GraphQL */ `\n mutation CreateFirmwareUpgradeHeader(\n $input: CreateFirmwareUpgradeHeaderInput!\n $condition: ModelFirmwareUpgradeHeaderConditionInput\n ) {\n createFirmwareUpgradeHeader(input: $input, condition: $condition) {\n id\n tenantId\n firmwareId\n isServiceManagerIntervention\n fiscalCode\n datetime\n vatNumber\n cancelled\n linesCount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n firmware {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n lines {\n items {\n id\n tenantId\n number\n installed\n cancelled\n headerId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const updateFirmwareUpgradeHeader = /* GraphQL */ `\n mutation UpdateFirmwareUpgradeHeader(\n $input: UpdateFirmwareUpgradeHeaderInput!\n $condition: ModelFirmwareUpgradeHeaderConditionInput\n ) {\n updateFirmwareUpgradeHeader(input: $input, condition: $condition) {\n id\n tenantId\n firmwareId\n isServiceManagerIntervention\n fiscalCode\n datetime\n vatNumber\n cancelled\n linesCount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n firmware {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n lines {\n items {\n id\n tenantId\n number\n installed\n cancelled\n headerId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const createFirmwareUpgradeLine = /* GraphQL */ `\n mutation CreateFirmwareUpgradeLine(\n $input: CreateFirmwareUpgradeLineInput!\n $condition: ModelFirmwareUpgradeLineConditionInput\n ) {\n createFirmwareUpgradeLine(input: $input, condition: $condition) {\n id\n tenantId\n number\n installed\n cancelled\n headerId\n createdAt\n updatedAt\n header {\n id\n tenantId\n firmwareId\n isServiceManagerIntervention\n fiscalCode\n datetime\n vatNumber\n cancelled\n linesCount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n firmware {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n lines {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateFirmwareUpgradeLine = /* GraphQL */ `\n mutation UpdateFirmwareUpgradeLine(\n $input: UpdateFirmwareUpgradeLineInput!\n $condition: ModelFirmwareUpgradeLineConditionInput\n ) {\n updateFirmwareUpgradeLine(input: $input, condition: $condition) {\n id\n tenantId\n number\n installed\n cancelled\n headerId\n createdAt\n updatedAt\n header {\n id\n tenantId\n firmwareId\n isServiceManagerIntervention\n fiscalCode\n datetime\n vatNumber\n cancelled\n linesCount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n firmware {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n lines {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteFirmwareUpgradeLine = /* GraphQL */ `\n mutation DeleteFirmwareUpgradeLine(\n $input: DeleteFirmwareUpgradeLineInput!\n $condition: ModelFirmwareUpgradeLineConditionInput\n ) {\n deleteFirmwareUpgradeLine(input: $input, condition: $condition) {\n id\n tenantId\n number\n installed\n cancelled\n headerId\n createdAt\n updatedAt\n header {\n id\n tenantId\n firmwareId\n isServiceManagerIntervention\n fiscalCode\n datetime\n vatNumber\n cancelled\n linesCount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n firmware {\n id\n version\n notes\n DCashFilename\n DCashPlusFilename\n DPalmFilename\n DFlexFilename\n BlancaFilename\n DFrontFilename\n DTouch10Filename\n downloadable\n billable\n deleted\n createdAt\n updatedAt\n }\n lines {\n nextToken\n }\n }\n }\n }\n`;\nexport const createRtUtilityLog = /* GraphQL */ `\n mutation CreateRtUtilityLog(\n $input: CreateRtUtilityLogInput!\n $condition: ModelRtUtilityLogConditionInput\n ) {\n createRtUtilityLog(input: $input, condition: $condition) {\n id\n partnerId\n userId\n tenantId\n tenantCompanyName\n tenantCompanyVat\n userAttribute\n number\n description\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateCommunication = /* GraphQL */ `\n mutation UpdateCommunication(\n $input: UpdateCommunicationInput!\n $condition: ModelCommunicationConditionInput\n ) {\n updateCommunication(input: $input, condition: $condition) {\n id\n title\n description\n notified\n type\n attribute\n createdAt\n updatedAt\n }\n }\n`;\nexport const createFirmwareStat = /* GraphQL */ `\n mutation CreateFirmwareStat(\n $input: CreateFirmwareStatInput!\n $condition: ModelFirmwareStatConditionInput\n ) {\n createFirmwareStat(input: $input, condition: $condition) {\n id\n version\n numbers\n createdAt\n updatedAt\n }\n }\n`;\nexport const updateFirmwareStat = /* GraphQL */ `\n mutation UpdateFirmwareStat(\n $input: UpdateFirmwareStatInput!\n $condition: ModelFirmwareStatConditionInput\n ) {\n updateFirmwareStat(input: $input, condition: $condition) {\n id\n version\n numbers\n createdAt\n updatedAt\n }\n }\n`;\nexport const createMoitoIot = /* GraphQL */ `\n mutation CreateMoitoIot(\n $input: CreateMoitoIotInput!\n $condition: ModelMoitoIotConditionInput\n ) {\n createMoitoIot(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateMoitoIot = /* GraphQL */ `\n mutation UpdateMoitoIot(\n $input: UpdateMoitoIotInput!\n $condition: ModelMoitoIotConditionInput\n ) {\n updateMoitoIot(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateMoitoIotAppVersion = /* GraphQL */ `\n mutation UpdateMoitoIotAppVersion(\n $input: UpdateMoitoIotAppVersionInput!\n $condition: ModelMoitoIotAppVersionConditionInput\n ) {\n updateMoitoIotAppVersion(input: $input, condition: $condition) {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n fromVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n toVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createPurchInvoice = /* GraphQL */ `\n mutation CreatePurchInvoice(\n $input: CreatePurchInvoiceInput!\n $condition: ModelPurchInvoiceConditionInput\n ) {\n createPurchInvoice(input: $input, condition: $condition) {\n id\n tenantId\n number\n date\n idSdi\n vendorId\n filename\n progressiveId\n type\n xmlS3Key\n pdfS3Key\n taxableAmount\n vatAmount\n paymentDueDate\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n vendor {\n id\n tenantId\n deleted\n companyName\n companyVat\n fiscalCode\n zipCode\n county\n municipality\n address\n country\n recipientCode\n email\n mobile\n extensions\n costCenterId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n costCenter {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updatePurchInvoice = /* GraphQL */ `\n mutation UpdatePurchInvoice(\n $input: UpdatePurchInvoiceInput!\n $condition: ModelPurchInvoiceConditionInput\n ) {\n updatePurchInvoice(input: $input, condition: $condition) {\n id\n tenantId\n number\n date\n idSdi\n vendorId\n filename\n progressiveId\n type\n xmlS3Key\n pdfS3Key\n taxableAmount\n vatAmount\n paymentDueDate\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n vendor {\n id\n tenantId\n deleted\n companyName\n companyVat\n fiscalCode\n zipCode\n county\n municipality\n address\n country\n recipientCode\n email\n mobile\n extensions\n costCenterId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n costCenter {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createPublishedMoitoIotMessage = /* GraphQL */ `\n mutation CreatePublishedMoitoIotMessage(\n $input: CreatePublishedMoitoIotMessageInput!\n $condition: ModelPublishedMoitoIotMessageConditionInput\n ) {\n createPublishedMoitoIotMessage(input: $input, condition: $condition) {\n id\n timestamp\n deviceId\n payload\n createdAt\n updatedAt\n }\n }\n`;\nexport const updatePublishedMoitoIotMessage = /* GraphQL */ `\n mutation UpdatePublishedMoitoIotMessage(\n $input: UpdatePublishedMoitoIotMessageInput!\n $condition: ModelPublishedMoitoIotMessageConditionInput\n ) {\n updatePublishedMoitoIotMessage(input: $input, condition: $condition) {\n id\n timestamp\n deviceId\n payload\n createdAt\n updatedAt\n }\n }\n`;\nexport const createReceivedMoitoIotMessage = /* GraphQL */ `\n mutation CreateReceivedMoitoIotMessage(\n $input: CreateReceivedMoitoIotMessageInput!\n $condition: ModelReceivedMoitoIotMessageConditionInput\n ) {\n createReceivedMoitoIotMessage(input: $input, condition: $condition) {\n id\n timestamp\n deviceId\n payload\n createdAt\n updatedAt\n }\n }\n`;\nexport const updateReceivedMoitoIotMessage = /* GraphQL */ `\n mutation UpdateReceivedMoitoIotMessage(\n $input: UpdateReceivedMoitoIotMessageInput!\n $condition: ModelReceivedMoitoIotMessageConditionInput\n ) {\n updateReceivedMoitoIotMessage(input: $input, condition: $condition) {\n id\n timestamp\n deviceId\n payload\n createdAt\n updatedAt\n }\n }\n`;\nexport const createVatRate = /* GraphQL */ `\n mutation CreateVatRate(\n $input: CreateVatRateInput!\n $condition: ModelVatRateConditionInput\n ) {\n createVatRate(input: $input, condition: $condition) {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateVatRate = /* GraphQL */ `\n mutation UpdateVatRate(\n $input: UpdateVatRateInput!\n $condition: ModelVatRateConditionInput\n ) {\n updateVatRate(input: $input, condition: $condition) {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createDepartment = /* GraphQL */ `\n mutation CreateDepartment(\n $input: CreateDepartmentInput!\n $condition: ModelDepartmentConditionInput\n ) {\n createDepartment(input: $input, condition: $condition) {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateDepartment = /* GraphQL */ `\n mutation UpdateDepartment(\n $input: UpdateDepartmentInput!\n $condition: ModelDepartmentConditionInput\n ) {\n updateDepartment(input: $input, condition: $condition) {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createVariant = /* GraphQL */ `\n mutation CreateVariant(\n $input: CreateVariantInput!\n $condition: ModelVariantConditionInput\n ) {\n createVariant(input: $input, condition: $condition) {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n variantVariantGroups {\n items {\n id\n tenantId\n variantId\n variantGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n variantModifiers {\n items {\n id\n tenantId\n variantId\n modifierId\n price\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const updateVariant = /* GraphQL */ `\n mutation UpdateVariant(\n $input: UpdateVariantInput!\n $condition: ModelVariantConditionInput\n ) {\n updateVariant(input: $input, condition: $condition) {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n variantVariantGroups {\n items {\n id\n tenantId\n variantId\n variantGroupId\n createdAt\n updatedAt\n }\n nextToken\n }\n variantModifiers {\n items {\n id\n tenantId\n variantId\n modifierId\n price\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const createModifier = /* GraphQL */ `\n mutation CreateModifier(\n $input: CreateModifierInput!\n $condition: ModelModifierConditionInput\n ) {\n createModifier(input: $input, condition: $condition) {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateModifier = /* GraphQL */ `\n mutation UpdateModifier(\n $input: UpdateModifierInput!\n $condition: ModelModifierConditionInput\n ) {\n updateModifier(input: $input, condition: $condition) {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createVariantGroup = /* GraphQL */ `\n mutation CreateVariantGroup(\n $input: CreateVariantGroupInput!\n $condition: ModelVariantGroupConditionInput\n ) {\n createVariantGroup(input: $input, condition: $condition) {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateVariantGroup = /* GraphQL */ `\n mutation UpdateVariantGroup(\n $input: UpdateVariantGroupInput!\n $condition: ModelVariantGroupConditionInput\n ) {\n updateVariantGroup(input: $input, condition: $condition) {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createVariantVariantGroup = /* GraphQL */ `\n mutation CreateVariantVariantGroup(\n $input: CreateVariantVariantGroupInput!\n $condition: ModelVariantVariantGroupConditionInput\n ) {\n createVariantVariantGroup(input: $input, condition: $condition) {\n id\n tenantId\n variantId\n variantGroupId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateVariantVariantGroup = /* GraphQL */ `\n mutation UpdateVariantVariantGroup(\n $input: UpdateVariantVariantGroupInput!\n $condition: ModelVariantVariantGroupConditionInput\n ) {\n updateVariantVariantGroup(input: $input, condition: $condition) {\n id\n tenantId\n variantId\n variantGroupId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteVariantVariantGroup = /* GraphQL */ `\n mutation DeleteVariantVariantGroup(\n $input: DeleteVariantVariantGroupInput!\n $condition: ModelVariantVariantGroupConditionInput\n ) {\n deleteVariantVariantGroup(input: $input, condition: $condition) {\n id\n tenantId\n variantId\n variantGroupId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createVariantModifier = /* GraphQL */ `\n mutation CreateVariantModifier(\n $input: CreateVariantModifierInput!\n $condition: ModelVariantModifierConditionInput\n ) {\n createVariantModifier(input: $input, condition: $condition) {\n id\n tenantId\n variantId\n modifierId\n price\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateVariantModifier = /* GraphQL */ `\n mutation UpdateVariantModifier(\n $input: UpdateVariantModifierInput!\n $condition: ModelVariantModifierConditionInput\n ) {\n updateVariantModifier(input: $input, condition: $condition) {\n id\n tenantId\n variantId\n modifierId\n price\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteVariantModifier = /* GraphQL */ `\n mutation DeleteVariantModifier(\n $input: DeleteVariantModifierInput!\n $condition: ModelVariantModifierConditionInput\n ) {\n deleteVariantModifier(input: $input, condition: $condition) {\n id\n tenantId\n variantId\n modifierId\n price\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createMoitoIotOperator = /* GraphQL */ `\n mutation CreateMoitoIotOperator(\n $input: CreateMoitoIotOperatorInput!\n $condition: ModelMoitoIotOperatorConditionInput\n ) {\n createMoitoIotOperator(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n coverItem {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n orderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n receiptPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n invoicePrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n preorderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n tallonPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n reportPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n kioskPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateMoitoIotOperator = /* GraphQL */ `\n mutation UpdateMoitoIotOperator(\n $input: UpdateMoitoIotOperatorInput!\n $condition: ModelMoitoIotOperatorConditionInput\n ) {\n updateMoitoIotOperator(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n nextToken\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n coverItem {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n orderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n receiptPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n invoicePrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n preorderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n tallonPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n reportPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n kioskPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createDiscountSurcharge = /* GraphQL */ `\n mutation CreateDiscountSurcharge(\n $input: CreateDiscountSurchargeInput!\n $condition: ModelDiscountSurchargeConditionInput\n ) {\n createDiscountSurcharge(input: $input, condition: $condition) {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateDiscountSurcharge = /* GraphQL */ `\n mutation UpdateDiscountSurcharge(\n $input: UpdateDiscountSurchargeInput!\n $condition: ModelDiscountSurchargeConditionInput\n ) {\n updateDiscountSurcharge(input: $input, condition: $condition) {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createPhase = /* GraphQL */ `\n mutation CreatePhase(\n $input: CreatePhaseInput!\n $condition: ModelPhaseConditionInput\n ) {\n createPhase(input: $input, condition: $condition) {\n id\n tenantId\n description\n sorting\n enabled\n code\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updatePhase = /* GraphQL */ `\n mutation UpdatePhase(\n $input: UpdatePhaseInput!\n $condition: ModelPhaseConditionInput\n ) {\n updatePhase(input: $input, condition: $condition) {\n id\n tenantId\n description\n sorting\n enabled\n code\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createItemVariantGroup = /* GraphQL */ `\n mutation CreateItemVariantGroup(\n $input: CreateItemVariantGroupInput!\n $condition: ModelItemVariantGroupConditionInput\n ) {\n createItemVariantGroup(input: $input, condition: $condition) {\n id\n tenantId\n variantGroupId\n itemId\n createdAt\n updatedAt\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateItemVariantGroup = /* GraphQL */ `\n mutation UpdateItemVariantGroup(\n $input: UpdateItemVariantGroupInput!\n $condition: ModelItemVariantGroupConditionInput\n ) {\n updateItemVariantGroup(input: $input, condition: $condition) {\n id\n tenantId\n variantGroupId\n itemId\n createdAt\n updatedAt\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteItemVariantGroup = /* GraphQL */ `\n mutation DeleteItemVariantGroup(\n $input: DeleteItemVariantGroupInput!\n $condition: ModelItemVariantGroupConditionInput\n ) {\n deleteItemVariantGroup(input: $input, condition: $condition) {\n id\n tenantId\n variantGroupId\n itemId\n createdAt\n updatedAt\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n variantGroup {\n id\n tenantId\n description\n sorting\n enabled\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createMoitoIotPhysicalPrinter = /* GraphQL */ `\n mutation CreateMoitoIotPhysicalPrinter(\n $input: CreateMoitoIotPhysicalPrinterInput!\n $condition: ModelMoitoIotPhysicalPrinterConditionInput\n ) {\n createMoitoIotPhysicalPrinter(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateMoitoIotPhysicalPrinter = /* GraphQL */ `\n mutation UpdateMoitoIotPhysicalPrinter(\n $input: UpdateMoitoIotPhysicalPrinterInput!\n $condition: ModelMoitoIotPhysicalPrinterConditionInput\n ) {\n updateMoitoIotPhysicalPrinter(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const createMoitoIotLogicalPrinter = /* GraphQL */ `\n mutation CreateMoitoIotLogicalPrinter(\n $input: CreateMoitoIotLogicalPrinterInput!\n $condition: ModelMoitoIotLogicalPrinterConditionInput\n ) {\n createMoitoIotLogicalPrinter(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateMoitoIotLogicalPrinter = /* GraphQL */ `\n mutation UpdateMoitoIotLogicalPrinter(\n $input: UpdateMoitoIotLogicalPrinterInput!\n $condition: ModelMoitoIotLogicalPrinterConditionInput\n ) {\n updateMoitoIotLogicalPrinter(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createItemMoitoIotLogicalPrinter = /* GraphQL */ `\n mutation CreateItemMoitoIotLogicalPrinter(\n $input: CreateItemMoitoIotLogicalPrinterInput!\n $condition: ModelItemMoitoIotLogicalPrinterConditionInput\n ) {\n createItemMoitoIotLogicalPrinter(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n isMain\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateItemMoitoIotLogicalPrinter = /* GraphQL */ `\n mutation UpdateItemMoitoIotLogicalPrinter(\n $input: UpdateItemMoitoIotLogicalPrinterInput!\n $condition: ModelItemMoitoIotLogicalPrinterConditionInput\n ) {\n updateItemMoitoIotLogicalPrinter(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n isMain\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteItemMoitoIotLogicalPrinter = /* GraphQL */ `\n mutation DeleteItemMoitoIotLogicalPrinter(\n $input: DeleteItemMoitoIotLogicalPrinterInput!\n $condition: ModelItemMoitoIotLogicalPrinterConditionInput\n ) {\n deleteItemMoitoIotLogicalPrinter(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n itemId\n logicalPrinterId\n isMain\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n logicalPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n physicalPrinter {\n id\n tenantId\n retailStoreId\n type\n driver\n name\n description\n model\n version\n number\n com\n baud\n ip\n port\n rowLength\n isTest\n screenSize\n cashBalance\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createReceipt = /* GraphQL */ `\n mutation CreateReceipt(\n $input: CreateReceiptInput!\n $condition: ModelReceiptConditionInput\n ) {\n createReceipt(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n orderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n receiptPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n invoicePrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n preorderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n tallonPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n reportPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n kioskPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n receiptPayments {\n items {\n id\n tenantId\n receiptId\n paymentId\n retailStoreId\n amount\n sorting\n description\n loyaltyCardId\n loyaltyCardInitialAmount\n loyaltyCardFinalAmount\n deleted\n createdAt\n updatedAt\n }\n nextToken\n }\n lines {\n items {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n }\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateReceipt = /* GraphQL */ `\n mutation UpdateReceipt(\n $input: UpdateReceiptInput!\n $condition: ModelReceiptConditionInput\n ) {\n updateReceipt(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n fixedVersion {\n id\n adminId\n version\n frontendZipPath\n apkPath\n apk21Path\n datetime\n notes\n isStable\n deleted\n recordType\n createdAt\n updatedAt\n }\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n orderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n receiptPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n invoicePrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n preorderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n tallonPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n reportPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n kioskPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n receiptPayments {\n items {\n id\n tenantId\n receiptId\n paymentId\n retailStoreId\n amount\n sorting\n description\n loyaltyCardId\n loyaltyCardInitialAmount\n loyaltyCardFinalAmount\n deleted\n createdAt\n updatedAt\n }\n nextToken\n }\n lines {\n items {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n }\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n }\n }\n`;\nexport const createPayment = /* GraphQL */ `\n mutation CreatePayment(\n $input: CreatePaymentInput!\n $condition: ModelPaymentConditionInput\n ) {\n createPayment(input: $input, condition: $condition) {\n id\n tenantId\n sorting\n type\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n willFollowInvoice\n isLoyaltyCard\n extensions\n deleted\n isBankTransfer\n isTracked\n eftAmount\n cashDrawer\n adminOnly\n satispay\n satispayMode\n paymentDtrId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updatePayment = /* GraphQL */ `\n mutation UpdatePayment(\n $input: UpdatePaymentInput!\n $condition: ModelPaymentConditionInput\n ) {\n updatePayment(input: $input, condition: $condition) {\n id\n tenantId\n sorting\n type\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n willFollowInvoice\n isLoyaltyCard\n extensions\n deleted\n isBankTransfer\n isTracked\n eftAmount\n cashDrawer\n adminOnly\n satispay\n satispayMode\n paymentDtrId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createReceiptPayment = /* GraphQL */ `\n mutation CreateReceiptPayment(\n $input: CreateReceiptPaymentInput!\n $condition: ModelReceiptPaymentConditionInput\n ) {\n createReceiptPayment(input: $input, condition: $condition) {\n id\n tenantId\n receiptId\n paymentId\n retailStoreId\n amount\n sorting\n description\n loyaltyCardId\n loyaltyCardInitialAmount\n loyaltyCardFinalAmount\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n payment {\n id\n tenantId\n sorting\n type\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n willFollowInvoice\n isLoyaltyCard\n extensions\n deleted\n isBankTransfer\n isTracked\n eftAmount\n cashDrawer\n adminOnly\n satispay\n satispayMode\n paymentDtrId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateReceiptPayment = /* GraphQL */ `\n mutation UpdateReceiptPayment(\n $input: UpdateReceiptPaymentInput!\n $condition: ModelReceiptPaymentConditionInput\n ) {\n updateReceiptPayment(input: $input, condition: $condition) {\n id\n tenantId\n receiptId\n paymentId\n retailStoreId\n amount\n sorting\n description\n loyaltyCardId\n loyaltyCardInitialAmount\n loyaltyCardFinalAmount\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n payment {\n id\n tenantId\n sorting\n type\n name\n color\n enabled\n presetAmount\n automaticDiscount\n allowLeftovers\n allowIncoming\n allowWithdrawals\n allowComment\n allowZero\n automaticOpening\n willFollowInvoice\n isLoyaltyCard\n extensions\n deleted\n isBankTransfer\n isTracked\n eftAmount\n cashDrawer\n adminOnly\n satispay\n satispayMode\n paymentDtrId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createReceiptLine = /* GraphQL */ `\n mutation CreateReceiptLine(\n $input: CreateReceiptLineInput!\n $condition: ModelReceiptLineConditionInput\n ) {\n createReceiptLine(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateReceiptLine = /* GraphQL */ `\n mutation UpdateReceiptLine(\n $input: UpdateReceiptLineInput!\n $condition: ModelReceiptLineConditionInput\n ) {\n updateReceiptLine(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createReceiptVat = /* GraphQL */ `\n mutation CreateReceiptVat(\n $input: CreateReceiptVatInput!\n $condition: ModelReceiptVatConditionInput\n ) {\n createReceiptVat(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n receiptId\n sorting\n vatCode\n vatRate\n totalAmount\n netAmount\n vatAmount\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateReceiptVat = /* GraphQL */ `\n mutation UpdateReceiptVat(\n $input: UpdateReceiptVatInput!\n $condition: ModelReceiptVatConditionInput\n ) {\n updateReceiptVat(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n receiptId\n sorting\n vatCode\n vatRate\n totalAmount\n netAmount\n vatAmount\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createReceiptLineVariant = /* GraphQL */ `\n mutation CreateReceiptLineVariant(\n $input: CreateReceiptLineVariantInput!\n $condition: ModelReceiptLineVariantConditionInput\n ) {\n createReceiptLineVariant(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n receiptId\n receiptLineId\n variantId\n modifierId\n modifierDescription\n modifierRightPosition\n modifierColor\n variantDescription\n price\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n receiptLine {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateReceiptLineVariant = /* GraphQL */ `\n mutation UpdateReceiptLineVariant(\n $input: UpdateReceiptLineVariantInput!\n $condition: ModelReceiptLineVariantConditionInput\n ) {\n updateReceiptLineVariant(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n receiptId\n receiptLineId\n variantId\n modifierId\n modifierDescription\n modifierRightPosition\n modifierColor\n variantDescription\n price\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n moitoIot {\n id\n tenantId\n retailStoreId\n partnerId\n name\n code\n version\n androidApiLevel\n isBetaInstallation\n lastSyncDatetime\n lastBackupS3Key\n lastBackupDatetime\n usersCount\n kiosksCount\n deleted\n moitoIotInactive\n tags\n firstSyncDone\n extensions\n isFree\n lastAssistanceUpload\n ecrNumber\n isSyncDisabled\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n }\n receiptPayments {\n nextToken\n }\n lines {\n nextToken\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n }\n receiptLine {\n id\n tenantId\n retailStoreId\n receiptId\n departmentId\n sorting\n description\n percDiscount\n valDiscount\n discountDescription\n comment\n price\n quantity\n total\n loyaltyPoints\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n receipt {\n id\n tenantId\n retailStoreId\n moitoIotId\n moitoIotNumber\n ecrNumber\n moitoIotDatetime\n zMoitoIot\n zEcr\n ecrDatetime\n number\n amount\n percDiscount\n valDiscount\n discountDescription\n customerId\n posted\n type\n description\n extensions\n deleted\n netAmount\n taxAmount\n payedAmount\n changeAmount\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createMoitoIotMessageFilter = /* GraphQL */ `\n mutation CreateMoitoIotMessageFilter(\n $input: CreateMoitoIotMessageFilterInput!\n $condition: ModelMoitoIotMessageFilterConditionInput\n ) {\n createMoitoIotMessageFilter(input: $input, condition: $condition) {\n id\n timestamp\n deviceId\n createdAt\n updatedAt\n }\n }\n`;\nexport const updateMoitoIotMessageFilter = /* GraphQL */ `\n mutation UpdateMoitoIotMessageFilter(\n $input: UpdateMoitoIotMessageFilterInput!\n $condition: ModelMoitoIotMessageFilterConditionInput\n ) {\n updateMoitoIotMessageFilter(input: $input, condition: $condition) {\n id\n timestamp\n deviceId\n createdAt\n updatedAt\n }\n }\n`;\nexport const deleteMoitoIotMessageFilter = /* GraphQL */ `\n mutation DeleteMoitoIotMessageFilter(\n $input: DeleteMoitoIotMessageFilterInput!\n $condition: ModelMoitoIotMessageFilterConditionInput\n ) {\n deleteMoitoIotMessageFilter(input: $input, condition: $condition) {\n id\n timestamp\n deviceId\n createdAt\n updatedAt\n }\n }\n`;\nexport const createECRPendingXML = /* GraphQL */ `\n mutation CreateECRPendingXML(\n $input: CreateECRPendingXMLInput!\n $condition: ModelECRPendingXMLConditionInput\n ) {\n createECRPendingXML(input: $input, condition: $condition) {\n id\n electronicCashRegisterId\n partnerId\n tenantId\n number\n filename\n datetime\n s3Key\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateECRPendingXML = /* GraphQL */ `\n mutation UpdateECRPendingXML(\n $input: UpdateECRPendingXMLInput!\n $condition: ModelECRPendingXMLConditionInput\n ) {\n updateECRPendingXML(input: $input, condition: $condition) {\n id\n electronicCashRegisterId\n partnerId\n tenantId\n number\n filename\n datetime\n s3Key\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createCalendarEventType = /* GraphQL */ `\n mutation CreateCalendarEventType(\n $input: CreateCalendarEventTypeInput!\n $condition: ModelCalendarEventTypeConditionInput\n ) {\n createCalendarEventType(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateCalendarEventType = /* GraphQL */ `\n mutation UpdateCalendarEventType(\n $input: UpdateCalendarEventTypeInput!\n $condition: ModelCalendarEventTypeConditionInput\n ) {\n updateCalendarEventType(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteCalendarEventType = /* GraphQL */ `\n mutation DeleteCalendarEventType(\n $input: DeleteCalendarEventTypeInput!\n $condition: ModelCalendarEventTypeConditionInput\n ) {\n deleteCalendarEventType(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const createCalendarEvent = /* GraphQL */ `\n mutation CreateCalendarEvent(\n $input: CreateCalendarEventInput!\n $condition: ModelCalendarEventConditionInput\n ) {\n createCalendarEvent(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n calendarEventItems {\n items {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const updateCalendarEvent = /* GraphQL */ `\n mutation UpdateCalendarEvent(\n $input: UpdateCalendarEventInput!\n $condition: ModelCalendarEventConditionInput\n ) {\n updateCalendarEvent(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n calendarEventItems {\n items {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const deleteCalendarEvent = /* GraphQL */ `\n mutation DeleteCalendarEvent(\n $input: DeleteCalendarEventInput!\n $condition: ModelCalendarEventConditionInput\n ) {\n deleteCalendarEvent(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n }\n calendarEventItems {\n items {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const createECRAdvMessage = /* GraphQL */ `\n mutation CreateECRAdvMessage(\n $input: CreateECRAdvMessageInput!\n $condition: ModelECRAdvMessageConditionInput\n ) {\n createECRAdvMessage(input: $input, condition: $condition) {\n id\n electronicCashRegisterId\n partnerId\n message\n printed\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateECRAdvMessage = /* GraphQL */ `\n mutation UpdateECRAdvMessage(\n $input: UpdateECRAdvMessageInput!\n $condition: ModelECRAdvMessageConditionInput\n ) {\n updateECRAdvMessage(input: $input, condition: $condition) {\n id\n electronicCashRegisterId\n partnerId\n message\n printed\n deleted\n createdAt\n updatedAt\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n ejType\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n digitalCashRegisterId\n certExpiration\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n lastPVIntervention {\n id\n partnerId\n tenantId\n retailStoreId\n number\n fiscalCode\n vatNumber\n datetime\n code\n note\n ecrDatetime\n createdAt\n updatedAt\n }\n digitalCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createLoyaltyCard = /* GraphQL */ `\n mutation CreateLoyaltyCard(\n $input: CreateLoyaltyCardInput!\n $condition: ModelLoyaltyCardConditionInput\n ) {\n createLoyaltyCard(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateLoyaltyCard = /* GraphQL */ `\n mutation UpdateLoyaltyCard(\n $input: UpdateLoyaltyCardInput!\n $condition: ModelLoyaltyCardConditionInput\n ) {\n updateLoyaltyCard(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n vatRate {\n id\n tenantId\n code\n description\n sorting\n rate\n extensions\n isAdded\n createdByModule\n deleted\n createdAt\n updatedAt\n }\n autoDiscount {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n prepaidCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n pointsCard {\n id\n tenantId\n retailStoreId\n customerId\n s3Key\n initialAmount\n remainingAmount\n email\n type\n percDiscount\n datetime\n dueDate\n revoked\n description\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const createOperator = /* GraphQL */ `\n mutation CreateOperator(\n $input: CreateOperatorInput!\n $condition: ModelOperatorConditionInput\n ) {\n createOperator(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateOperator = /* GraphQL */ `\n mutation UpdateOperator(\n $input: UpdateOperatorInput!\n $condition: ModelOperatorConditionInput\n ) {\n updateOperator(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const createCalendarEventItem = /* GraphQL */ `\n mutation CreateCalendarEventItem(\n $input: CreateCalendarEventItemInput!\n $condition: ModelCalendarEventItemConditionInput\n ) {\n createCalendarEventItem(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n calendarEventItemVariants {\n items {\n id\n tenantId\n retailStoreId\n price\n calendarEventId\n calendarEventItemId\n variantId\n modifierId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const updateCalendarEventItem = /* GraphQL */ `\n mutation UpdateCalendarEventItem(\n $input: UpdateCalendarEventItemInput!\n $condition: ModelCalendarEventItemConditionInput\n ) {\n updateCalendarEventItem(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n calendarEventItemVariants {\n items {\n id\n tenantId\n retailStoreId\n price\n calendarEventId\n calendarEventItemId\n variantId\n modifierId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const deleteCalendarEventItem = /* GraphQL */ `\n mutation DeleteCalendarEventItem(\n $input: DeleteCalendarEventItemInput!\n $condition: ModelCalendarEventItemConditionInput\n ) {\n deleteCalendarEventItem(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n calendarEventItemVariants {\n items {\n id\n tenantId\n retailStoreId\n price\n calendarEventId\n calendarEventItemId\n variantId\n modifierId\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n }\n`;\nexport const createCalendarEventItemVariant = /* GraphQL */ `\n mutation CreateCalendarEventItemVariant(\n $input: CreateCalendarEventItemVariantInput!\n $condition: ModelCalendarEventItemVariantConditionInput\n ) {\n createCalendarEventItemVariant(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n price\n calendarEventId\n calendarEventItemId\n variantId\n modifierId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n calendarEventItem {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n calendarEventItemVariants {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateCalendarEventItemVariant = /* GraphQL */ `\n mutation UpdateCalendarEventItemVariant(\n $input: UpdateCalendarEventItemVariantInput!\n $condition: ModelCalendarEventItemVariantConditionInput\n ) {\n updateCalendarEventItemVariant(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n price\n calendarEventId\n calendarEventItemId\n variantId\n modifierId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n calendarEventItem {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n calendarEventItemVariants {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteCalendarEventItemVariant = /* GraphQL */ `\n mutation DeleteCalendarEventItemVariant(\n $input: DeleteCalendarEventItemVariantInput!\n $condition: ModelCalendarEventItemVariantConditionInput\n ) {\n deleteCalendarEventItemVariant(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n price\n calendarEventId\n calendarEventItemId\n variantId\n modifierId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n variant {\n id\n tenantId\n description\n sorting\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n variantVariantGroups {\n nextToken\n }\n variantModifiers {\n nextToken\n }\n }\n modifier {\n id\n tenantId\n description\n color\n extensions\n createdByModule\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n }\n customer {\n id\n tenantId\n description\n createdByModule\n deleted\n companyName\n companyVat\n firstName\n lastName\n mobile\n visible\n fiscalCode\n email\n zipCode\n county\n municipality\n address\n country\n recipientCode\n extensions\n latitude\n longitude\n addressPlaceId\n loyaltyPoints\n addressNotes\n notes\n automaticDiscount\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEventType {\n id\n tenantId\n retailStoreId\n name\n color\n notificationEnabled\n notificationAnticipationMinutes\n title\n extensions\n deleted\n createdAt\n updatedAt\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n name\n deleted\n sorting\n createdAt\n updatedAt\n }\n calendarEventItems {\n nextToken\n }\n }\n calendarEventItem {\n id\n tenantId\n retailStoreId\n itemId\n qty\n comment\n calendarEventId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n calendarEvent {\n id\n tenantId\n retailStoreId\n userId\n calendarEventTypeId\n customerId\n notificationEnabled\n notificationDatetime\n notificationSent\n title\n description\n startDatetime\n endDatetime\n tags\n isAllDayEvent\n extensions\n mobile\n email\n deleted\n operatorId\n closed\n isPending\n address\n source\n printed\n createdAt\n updatedAt\n }\n calendarEventItemVariants {\n nextToken\n }\n }\n }\n }\n`;\nexport const createEJProgramming = /* GraphQL */ `\n mutation CreateEJProgramming(\n $input: CreateEJProgrammingInput!\n $condition: ModelEJProgrammingConditionInput\n ) {\n createEJProgramming(input: $input, condition: $condition) {\n id\n tenantId\n status\n type\n number\n completedDatetime\n deleted\n reason\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateEJProgramming = /* GraphQL */ `\n mutation UpdateEJProgramming(\n $input: UpdateEJProgrammingInput!\n $condition: ModelEJProgrammingConditionInput\n ) {\n updateEJProgramming(input: $input, condition: $condition) {\n id\n tenantId\n status\n type\n number\n completedDatetime\n deleted\n reason\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteEJProgramming = /* GraphQL */ `\n mutation DeleteEJProgramming(\n $input: DeleteEJProgrammingInput!\n $condition: ModelEJProgrammingConditionInput\n ) {\n deleteEJProgramming(input: $input, condition: $condition) {\n id\n tenantId\n status\n type\n number\n completedDatetime\n deleted\n reason\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n user {\n id\n partyId\n enabled\n tenantDefault\n retailStoreDefault\n showTutorial\n email\n mobile\n pushNotificationTokens {\n service\n deviceToken\n }\n deleted\n firstName\n lastName\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n userPrivilege {\n nextToken\n }\n userLicense {\n nextToken\n }\n userRetailStore {\n nextToken\n }\n }\n }\n }\n`;\nexport const createECRNumber = /* GraphQL */ `\n mutation CreateECRNumber(\n $input: CreateECRNumberInput!\n $condition: ModelECRNumberConditionInput\n ) {\n createECRNumber(input: $input, condition: $condition) {\n id\n fwVersion\n ejNumber\n ejInitDay\n ejMissingDays\n ejType\n ejExtensionRequested\n ejProgrammingRequested\n forcedEjExpires\n createdAt\n updatedAt\n }\n }\n`;\nexport const updateECRNumber = /* GraphQL */ `\n mutation UpdateECRNumber(\n $input: UpdateECRNumberInput!\n $condition: ModelECRNumberConditionInput\n ) {\n updateECRNumber(input: $input, condition: $condition) {\n id\n fwVersion\n ejNumber\n ejInitDay\n ejMissingDays\n ejType\n ejExtensionRequested\n ejProgrammingRequested\n forcedEjExpires\n createdAt\n updatedAt\n }\n }\n`;\nexport const deleteECRNumber = /* GraphQL */ `\n mutation DeleteECRNumber(\n $input: DeleteECRNumberInput!\n $condition: ModelECRNumberConditionInput\n ) {\n deleteECRNumber(input: $input, condition: $condition) {\n id\n fwVersion\n ejNumber\n ejInitDay\n ejMissingDays\n ejType\n ejExtensionRequested\n ejProgrammingRequested\n forcedEjExpires\n createdAt\n updatedAt\n }\n }\n`;\nexport const createOpticalFile = /* GraphQL */ `\n mutation CreateOpticalFile(\n $input: CreateOpticalFileInput!\n $condition: ModelOpticalFileConditionInput\n ) {\n createOpticalFile(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n status\n date\n xmlS3Key\n pdfS3Key\n zipS3Key\n csvS3Key\n errorReason\n protocolId\n sendOutcomeCode\n sendOutcomeDescription\n errorDescription\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateOpticalFile = /* GraphQL */ `\n mutation UpdateOpticalFile(\n $input: UpdateOpticalFileInput!\n $condition: ModelOpticalFileConditionInput\n ) {\n updateOpticalFile(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n status\n date\n xmlS3Key\n pdfS3Key\n zipS3Key\n csvS3Key\n errorReason\n protocolId\n sendOutcomeCode\n sendOutcomeDescription\n errorDescription\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteOpticalFile = /* GraphQL */ `\n mutation DeleteOpticalFile(\n $input: DeleteOpticalFileInput!\n $condition: ModelOpticalFileConditionInput\n ) {\n deleteOpticalFile(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n status\n date\n xmlS3Key\n pdfS3Key\n zipS3Key\n csvS3Key\n errorReason\n protocolId\n sendOutcomeCode\n sendOutcomeDescription\n errorDescription\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const createInventoryMovement = /* GraphQL */ `\n mutation CreateInventoryMovement(\n $input: CreateInventoryMovementInput!\n $condition: ModelInventoryMovementConditionInput\n ) {\n createInventoryMovement(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n datetime\n reasonCode\n itemId\n qtyDiff\n notes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateInventoryMovement = /* GraphQL */ `\n mutation UpdateInventoryMovement(\n $input: UpdateInventoryMovementInput!\n $condition: ModelInventoryMovementConditionInput\n ) {\n updateInventoryMovement(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n datetime\n reasonCode\n itemId\n qtyDiff\n notes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteInventoryMovement = /* GraphQL */ `\n mutation DeleteInventoryMovement(\n $input: DeleteInventoryMovementInput!\n $condition: ModelInventoryMovementConditionInput\n ) {\n deleteInventoryMovement(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n datetime\n reasonCode\n itemId\n qtyDiff\n notes\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const createBarcode = /* GraphQL */ `\n mutation CreateBarcode(\n $input: CreateBarcodeInput!\n $condition: ModelBarcodeConditionInput\n ) {\n createBarcode(input: $input, condition: $condition) {\n id\n tenantId\n itemId\n barcode\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateBarcode = /* GraphQL */ `\n mutation UpdateBarcode(\n $input: UpdateBarcodeInput!\n $condition: ModelBarcodeConditionInput\n ) {\n updateBarcode(input: $input, condition: $condition) {\n id\n tenantId\n itemId\n barcode\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n }\n }\n`;\nexport const deleteBarcode = /* GraphQL */ `\n mutation DeleteBarcode(\n $input: DeleteBarcodeInput!\n $condition: ModelBarcodeConditionInput\n ) {\n deleteBarcode(input: $input, condition: $condition) {\n id\n tenantId\n itemId\n barcode\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n item {\n id\n tenantId\n name\n description\n images\n atorderType\n sorting\n vatRate\n vatCode\n extensions\n createdByModule\n deleted\n qtyOnHand\n qtyOnHandByStoreId\n enabledRetailStoreIds\n loyaltyPoints\n time\n image\n externalId\n atorderHide\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n itemGroup {\n nextToken\n }\n priceList {\n nextToken\n }\n department {\n id\n tenantId\n color\n description\n forFree\n sorting\n enabled\n activityCode\n extensions\n createdByModule\n deleted\n rtDepartment\n expenseType\n createdAt\n updatedAt\n }\n discountSurcharge {\n id\n tenantId\n description\n value\n percValue\n discountSurcharge\n itemSubTotal\n enabled\n sorting\n deleted\n createdAt\n updatedAt\n }\n variantGroups {\n nextToken\n }\n logicalPrinters {\n nextToken\n }\n }\n }\n }\n`;\nexport const createMoitoIotFrontendConfigurations = /* GraphQL */ `\n mutation CreateMoitoIotFrontendConfigurations(\n $input: CreateMoitoIotFrontendConfigurationsInput!\n $condition: ModelMoitoIotFrontendConfigurationsConditionInput\n ) {\n createMoitoIotFrontendConfigurations(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n operatorId\n keyboard\n topbar\n bottombar\n settings\n layout\n numpad\n current_list\n tab_view\n resize_bar\n zoom\n default_list\n last_load_status\n scanner_calibration\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n orderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n receiptPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n invoicePrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n preorderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n tallonPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n reportPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n kioskPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateMoitoIotFrontendConfigurations = /* GraphQL */ `\n mutation UpdateMoitoIotFrontendConfigurations(\n $input: UpdateMoitoIotFrontendConfigurationsInput!\n $condition: ModelMoitoIotFrontendConfigurationsConditionInput\n ) {\n updateMoitoIotFrontendConfigurations(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n operatorId\n keyboard\n topbar\n bottombar\n settings\n layout\n numpad\n current_list\n tab_view\n resize_bar\n zoom\n default_list\n last_load_status\n scanner_calibration\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n orderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n receiptPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n invoicePrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n preorderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n tallonPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n reportPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n kioskPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteMoitoIotFrontendConfigurations = /* GraphQL */ `\n mutation DeleteMoitoIotFrontendConfigurations(\n $input: DeleteMoitoIotFrontendConfigurationsInput!\n $condition: ModelMoitoIotFrontendConfigurationsConditionInput\n ) {\n deleteMoitoIotFrontendConfigurations(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n operatorId\n keyboard\n topbar\n bottombar\n settings\n layout\n numpad\n current_list\n tab_view\n resize_bar\n zoom\n default_list\n last_load_status\n scanner_calibration\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n operator {\n id\n tenantId\n retailStoreId\n description\n username\n password\n deleted\n sorting\n icon\n color\n enabled\n isAdmin\n blockPayments\n printWorkshift\n openDrawer\n incoming\n withdrawals\n adjustments\n insertPrice\n voids\n refunds\n discounts\n cancellation\n changeVat\n vatImmune\n preAccounts\n zreport\n updateWarehouse\n insertItems\n takeDesk\n forceTakeDesk\n journal\n finalPreAccounts\n testMode\n frontendConfigurations\n type\n showSettings\n showEditingMode\n showDtrs\n showInvoiceOutcome\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n priceList {\n id\n tenantId\n retailStoreId\n name\n extensions\n createdByModule\n sorting\n deleted\n visible\n enabled\n enowebId\n createdAt\n updatedAt\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n }\n retailStoreRoom {\n id\n tenantId\n retailStoreId\n name\n extensions\n deleted\n createdAt\n updatedAt\n }\n orderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n receiptPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n invoicePrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n preorderPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n tallonPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n reportPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n kioskPrinter {\n id\n tenantId\n retailStoreId\n physicalPrinterId\n name\n description\n printLogoOrder\n beepAfterOrder\n deleted\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createTobacco = /* GraphQL */ `\n mutation CreateTobacco(\n $input: CreateTobaccoInput!\n $condition: ModelTobaccoConditionInput\n ) {\n createTobacco(input: $input, condition: $condition) {\n id\n tenantId\n s3Key\n otherS3Key\n internalS3Key\n type\n validFrom\n validTo\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateTobacco = /* GraphQL */ `\n mutation UpdateTobacco(\n $input: UpdateTobaccoInput!\n $condition: ModelTobaccoConditionInput\n ) {\n updateTobacco(input: $input, condition: $condition) {\n id\n tenantId\n s3Key\n otherS3Key\n internalS3Key\n type\n validFrom\n validTo\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const deleteTobacco = /* GraphQL */ `\n mutation DeleteTobacco(\n $input: DeleteTobaccoInput!\n $condition: ModelTobaccoConditionInput\n ) {\n deleteTobacco(input: $input, condition: $condition) {\n id\n tenantId\n s3Key\n otherS3Key\n internalS3Key\n type\n validFrom\n validTo\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createVendor = /* GraphQL */ `\n mutation CreateVendor(\n $input: CreateVendorInput!\n $condition: ModelVendorConditionInput\n ) {\n createVendor(input: $input, condition: $condition) {\n id\n tenantId\n deleted\n companyName\n companyVat\n fiscalCode\n zipCode\n county\n municipality\n address\n country\n recipientCode\n email\n mobile\n extensions\n costCenterId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n costCenter {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateVendor = /* GraphQL */ `\n mutation UpdateVendor(\n $input: UpdateVendorInput!\n $condition: ModelVendorConditionInput\n ) {\n updateVendor(input: $input, condition: $condition) {\n id\n tenantId\n deleted\n companyName\n companyVat\n fiscalCode\n zipCode\n county\n municipality\n address\n country\n recipientCode\n email\n mobile\n extensions\n costCenterId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n costCenter {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createCostCenter = /* GraphQL */ `\n mutation CreateCostCenter(\n $input: CreateCostCenterInput!\n $condition: ModelCostCenterConditionInput\n ) {\n createCostCenter(input: $input, condition: $condition) {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const updateCostCenter = /* GraphQL */ `\n mutation UpdateCostCenter(\n $input: UpdateCostCenterInput!\n $condition: ModelCostCenterConditionInput\n ) {\n updateCostCenter(input: $input, condition: $condition) {\n id\n tenantId\n name\n description\n sorting\n deleted\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n }\n }\n`;\nexport const createDigitalCashRegister = /* GraphQL */ `\n mutation CreateDigitalCashRegister(\n $input: CreateDigitalCashRegisterInput!\n $condition: ModelDigitalCashRegisterConditionInput\n ) {\n createDigitalCashRegister(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\nexport const updateDigitalCashRegister = /* GraphQL */ `\n mutation UpdateDigitalCashRegister(\n $input: UpdateDigitalCashRegisterInput!\n $condition: ModelDigitalCashRegisterConditionInput\n ) {\n updateDigitalCashRegister(input: $input, condition: $condition) {\n id\n tenantId\n retailStoreId\n partnerId\n number\n lastSyncDatetime\n happyInactive\n appVersion\n invitationCode\n invitationDatetime\n invitationEmail\n acceptedDatetime\n lastAssistanceUpload\n extensions\n installSource\n androidApiLevel\n webViewVersion\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n partner {\n id\n enabled\n logo\n currency {\n id\n name\n symbol\n code\n createdAt\n updatedAt\n }\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n tenantUser {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n }\n retailStore {\n id\n tenantId\n name\n extensions\n deleted\n partnerId\n zipCode\n county\n municipality\n address\n country\n latitude\n longitude\n accountantId\n isSharedTenant\n iban\n enowebMemId\n satispayKeyId\n createdAt\n updatedAt\n tenant {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n partner {\n id\n enabled\n logo\n shortCode\n isPartner\n partnershipStartDate\n isServiceManager\n nextItemSorting\n nextItemGroupSorting\n defaultPartnerCode\n companyName\n companyVat\n firstUserId\n firstRetailStoreId\n userCount\n moitoIotCount\n retailStoreCount\n cashRegisterCount\n rtUtilityInactive\n currentRtUtilityCategory\n partnerText\n partnerTosAccepted\n partnerTosAcceptedVersion\n privacyPolicyAcceptedDate\n archismallUsername\n archismallPassword\n archismallActiveInvoicesLastDatetime\n archismallPassiveInvoicesLastDatetime\n isBetaTester\n partnerCashRegisterCounter\n partnerMoitoIotCounter\n extensions\n mobile\n email\n zipCode\n county\n municipality\n address\n country\n isAccountant\n accountantId\n stripeAccountId\n stripeRegistrationCompleted\n blockLevel\n dailyReportMode\n happyLogin\n createdAt\n updatedAt\n }\n retailStoreLicense {\n nextToken\n }\n party {\n id\n firstName\n lastName\n companyName\n companyVat\n fiscalCode\n email\n logo\n mobile\n zipCode\n county\n municipality\n address\n country\n role\n recipientCode\n latitude\n longitude\n createdAt\n updatedAt\n }\n user {\n nextToken\n }\n invoiceSectional {\n id\n tenantId\n partnerId\n code\n description\n deleted\n nextNumber\n retailStoreId\n createdAt\n updatedAt\n }\n cashRegisters {\n nextToken\n }\n }\n }\n }\n`;\n","import { toAbsoluteUrl } from \"../_helpers\";\n\nexport const languages = [\n {\n lang: \"it\",\n name: \"Italiano\",\n flag: toAbsoluteUrl(\"/media/svg/flags/013-italy.svg\"),\n },\n {\n lang: \"en\",\n name: \"English\",\n flag: toAbsoluteUrl(\"/media/svg/flags/012-uk.svg\"),\n },\n {\n lang: \"fr\",\n name: \"French\",\n flag: toAbsoluteUrl(\"/media/svg/flags/195-france.svg\"),\n },\n {\n lang: \"de\",\n name: \"German\",\n flag: toAbsoluteUrl(\"/media/svg/flags/162-germany.svg\"),\n },\n {\n lang: \"es\",\n name: \"Spanish\",\n flag: toAbsoluteUrl(\"/media/svg/flags/128-spain.svg\"),\n },\n {\n lang: \"zh\",\n name: \"Mandarin\",\n flag: toAbsoluteUrl(\"/media/svg/flags/015-china.svg\"),\n },\n {\n lang: \"ar\",\n name: \"Arabic\",\n flag: toAbsoluteUrl(\"/media/svg/flags/008-saudi-arabia.svg\"),\n },\n {\n lang: \"ru\",\n name: \"Russian\",\n flag: toAbsoluteUrl(\"/media/svg/flags/013-russia.svg\"),\n },\n];","export default [\n {\n code: \"DW\",\n name: \"DTouch10\",\n maxPlu: 3 * 1000,\n start: \"4CIDW\",\n },\n {\n code: \"DU\",\n name: \"DFront\",\n maxPlu: 3 * 1000,\n start: \"4CIDU\",\n },\n {\n code: \"DL\",\n name: \"DPalm\",\n maxPlu: 3 * 1000,\n start: \"4CEDL\",\n },\n {\n code: \"DH\",\n name: \"DCash\",\n maxPlu: 3 * 1000,\n start: \"4CIDH\",\n },\n {\n code: \"DT\",\n name: \"Blanca\",\n maxPlu: 3 * 1000,\n start: \"4CEDT\",\n },\n {\n code: \"DM\",\n name: \"DCash+\",\n maxPlu: 3 * 1000,\n start: \"4CEDM\",\n },\n {\n code: \"DR\",\n name: \"DFlex\",\n maxPlu: 30 * 1000,\n start: \"4CIDR\",\n },\n];\n","import { API, graphqlOperation } from \"aws-amplify\";\nimport {\n listUserLicenses,\n userLicensesByUser,\n getUserLicense,\n userLicensesByTenant,\n} from \"../../../../../graphql/queries\";\nimport {\n createUserLicense,\n deleteUserLicense,\n} from \"../../../../../graphql/mutations\";\n\nexport function findObjects(queryParams, additionalFilters, nextToken) {\n const params = {\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = { ...params.filter, ...additionalFilters };\n }\n\n return API.graphql(graphqlOperation(listUserLicenses, params));\n}\n\nexport function findObjectsByUser(\n userId,\n queryParams,\n additionalFilters,\n nextToken\n) {\n const params = {\n userId: userId,\n sortDirection: \"ASC\",\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = { ...params.filter, ...additionalFilters };\n }\n\n return API.graphql(graphqlOperation(userLicensesByUser, params));\n}\n\nexport function findObjectsByTenant(\n tenantId,\n queryParams,\n additionalFilters,\n nextToken\n) {\n var params = {\n tenantId: tenantId,\n sortDirection: \"ASC\",\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.userId) {\n params.userId = queryParams.userId;\n }\n\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = { ...params.filter, ...additionalFilters };\n }\n\n return API.graphql(graphqlOperation(userLicensesByTenant, params));\n}\n\nexport function getObjectById(id) {\n return API.graphql(graphqlOperation(getUserLicense, { id: id }));\n}\n\nexport function createObject(obj) {\n return API.graphql(graphqlOperation(createUserLicense, { input: obj }));\n}\n\nexport function deleteObject(id) {\n return API.graphql(\n graphqlOperation(deleteUserLicense, { input: { id: id } })\n );\n}\n\nexport function createObjects(objs) {\n var creates = [];\n objs.forEach((obj) => {\n creates.push(\n new Promise((resolve, reject) => {\n return resolve(createObject(obj));\n })\n );\n });\n return Promise.all(creates);\n}\n","import * as request from \"./crud\";\nimport { orderBy } from \"lodash\";\nimport { GenerateSlice, SliceCallTypes } from \"../../../../utils/components/generic/_redux\";\n\nconst sliceActions = GenerateSlice(\"userlicenses\").actions;\n\nconst cleanState = () => (dispatch) => {\n dispatch(sliceActions.cleanState());\n};\n\nconst fetchObjects =\n (queryParams, additionalFilters, nextToken, operation = \"overwrite\") =>\n (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await request.findObjects(\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n additionalFilters,\n nextTokenInternal\n );\n var data = result.data.listUserLicenses;\n\n items = items.concat(data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n sliceActions.objectsFetched({\n totalCount: sortedItems.length,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n\n return resolve({\n data: {\n listUserLicenses: {\n items: sortedItems,\n nextToken: nextTokenInternal,\n },\n },\n });\n } catch (error) {\n error.clientMessage = \"Can't find user licenses\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.list }));\n //return reject(error);\n }\n });\n };\n\nconst fetchObjectsByUser =\n (\n userId,\n queryParams,\n additionalFilters,\n nextToken,\n operation = \"overwrite\"\n ) =>\n (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.list }));\n\n var nextTokenInternal = nextToken;\n var items = [];\n\n return new Promise(async (resolve, reject) => {\n try {\n do {\n var result = await request.findObjectsByUser(\n userId,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n additionalFilters,\n nextTokenInternal\n );\n var data = result.data.userLicensesByUser;\n\n items = items.concat(data.items);\n nextTokenInternal = data.nextToken;\n if (items.length >= queryParams.pageSize) {\n break;\n }\n } while (nextTokenInternal !== null);\n\n const sortedItems = orderBy(\n items,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n sliceActions.objectsFetched({\n totalCount: sortedItems.length,\n operation: operation,\n items: sortedItems,\n nextToken: nextTokenInternal,\n prevToken: nextToken,\n })\n );\n\n return resolve({\n data: {\n userLicensesByUser: {\n items: sortedItems,\n nextToken: nextTokenInternal,\n },\n },\n });\n } catch (error) {\n error.clientMessage = \"Can't find user licenses\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.list }));\n //return reject(error);\n }\n });\n };\n\n\nconst fetchAllActiveDealerUserLicenses = (tenantId, userId, licenseIds) => async (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n\n var today = new Date().toISOString().substring(0, 10);\n\n const queryParams = {\n pageSize: 1000,\n userId: { eq: userId },\n filter: {\n validTo: { gt: today },\n validFrom: { lt: today },\n or: licenseIds.map(el => ({ licenseId: { eq: el } })),\n },\n };\n\n var nextToken = null;\n var entities = [];\n\n try {\n do {\n var result = await request.findObjectsByTenant(\n tenantId,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n null,\n nextToken\n );\n var data = result.data.userLicensesByTenant;\n\n if (data && data.items && data.items.length > 0) {\n entities = entities.concat(data.items);\n }\n\n nextToken = data.nextToken;\n } while (nextToken !== null);\n\n const sortedItems = orderBy(\n entities,\n [queryParams.sortField],\n [queryParams.sortOrder]\n );\n dispatch(\n sliceActions.objectsFetched({\n totalCount: sortedItems.length,\n operation: \"overwrite\",\n items: sortedItems,\n nextToken: nextToken,\n prevToken: nextToken,\n })\n );\n return undefined;\n } catch (error) {\n error.clientMessage = \"Can't get user licenses\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n return error;\n }\n};\n\nconst fetchObject = (id) => (dispatch) => {\n if (!id) {\n return dispatch(sliceActions.objectFetched({ entity: undefined }));\n }\n\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .getObjectById(id)\n .then((response) => {\n const obj = response.data.getUserLicense;\n dispatch(sliceActions.objectFetched({ entity: obj }));\n })\n .catch((error) => {\n error.clientMessage = \"Can't find user license\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n });\n};\n\nconst createObject = (obj) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .createObject(obj)\n .then((response) => {\n const object = response.data.createUserLicense;\n dispatch(sliceActions.objectsCreated({ objects: [object] }));\n })\n .catch((error) => {\n error.clientMessage = \"Can't create user license\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n });\n};\n\nconst createObjects = (objs) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .createObjects(objs)\n .then((response) => {\n const objects = response.map((obj) => obj.data.createUserLicense);\n dispatch(sliceActions.objectsCreated({ objects: objects }));\n })\n .catch((error) => {\n error.clientMessage = \"Can't create user licenses\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n });\n};\n\nconst deleteObject = (id) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n return request\n .deleteObject(id)\n .then((response) => {\n dispatch(sliceActions.objectDeleted({ id }));\n })\n .catch((error) => {\n error.clientMessage = \"Can't delete user license\";\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n });\n};\n\nexport const actions = {\n cleanState,\n fetchObjects,\n fetchObjectsByUser,\n fetchAllActiveDealerUserLicenses,\n fetchObject,\n createObject,\n createObjects,\n deleteObject,\n}","import { Auth, API } from \"aws-amplify\";\n\nfunction call(endpoint, params) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/\" + endpoint;\n let myInit = {\n body: { ...params },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function addNotification(type, text, tenantId, userId, context) {\n if (text && tenantId) {\n const params = {\n type: type ? type : 0,\n text: text,\n tenantId: tenantId,\n userId: userId,\n context: context,\n };\n return call(\"add_notification\", params);\n }\n return new Promise((resolve, reject) => {\n return resolve(true);\n });\n}\n\nexport function readAllNotifications(tenantId, userId) {\n const params = {\n tenantId: tenantId,\n userId: userId,\n };\n return call(\"read_notifications\", params);\n}\n\nexport function notifyPartnershipRequest(tenantId, userId, companyName) {\n const text = \"Nuova richiesta di partnership da \" + companyName;\n return addNotification(0, text, tenantId, userId, 3);\n}\n\nexport function notifyPartnershipApprovement(tenantId, userId) {\n const text = \"La tua richiesta di partnership è stata accettata\";\n return addNotification(0, text, tenantId, userId, 4);\n}\n\nexport function notifyLicenseRequest(partnerId, userId, commercialName) {\n const text = \"Nuova richiesta di \" + commercialName;\n return addNotification(0, text, partnerId, userId, 1);\n}\n\nexport function notifyLicenseApprovement(tenantId, userId, commercialName) {\n const text = \"La tua richiesta di \" + commercialName + \" è stata accettata\";\n return addNotification(0, text, tenantId, userId, 2);\n}\n\nexport function notifyLicenseAssignment(tenantId, userId, commercialName) {\n const text = \"Ti è stata assegnata una licenza di \" + commercialName;\n return addNotification(0, text, tenantId, userId, 2);\n}\n\nexport function notifyLicenseRevoking(tenantId, userId, commercialName) {\n const text = \"Ti è stata revocata una licenza di \" + commercialName;\n return addNotification(0, text, tenantId, userId, 2);\n}\n","export const accountantEcrDailySalesByElectronicCashRegisterId = /* GraphQL */ `\n query EcrDailySalesByElectronicCashRegisterId(\n $electronicCashRegisterId: ID\n $sortDirection: ModelSortDirection\n $filter: ModelECRDailySalesFilterInput\n $limit: Int\n $nextToken: String\n ) {\n ecrDailySalesByElectronicCashRegisterId(\n electronicCashRegisterId: $electronicCashRegisterId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n tenantId\n electronicCashRegisterId\n number\n datetime\n content\n notified\n accountantId\n createdAt\n updatedAt\n electronicCashRegister {\n id\n tenantId\n retailStoreId\n partnerId\n name\n number\n tenant {\n id\n companyName\n companyVat\n }\n description\n ejNumber\n ejInitDay\n ejMissingDays\n ejDueDate\n lastZNumber\n fwVersion\n enabled\n deleted\n extensions\n rtUtilityInactive\n lastSyncDatetime\n type\n ecrModel\n version\n tags\n advMessage\n lastZErrorIds\n imageS3Key\n pendingEJExtension\n exportPendingXML\n accountantId\n createdAt\n updatedAt\n }\n }\n nextToken\n }\n }\n`;","import { API, graphqlOperation } from \"aws-amplify\";\nimport {\n listECRDailySaless,\n ecrDailySalesByElectronicCashRegisterId,\n getECRDailySales,\n} from \"../../../../../graphql/queries\";\nimport * as customQueries from \"../../graphql/private/queries\";\n\nexport function findObjects(queryParams, additionalFilters, nextToken) {\n const params = {\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n }\n\n return API.graphql(graphqlOperation(listECRDailySaless, params));\n}\n\nexport function findObjectsByElectronicCashRegisterId(\n ecrId,\n queryParams,\n additionalFilters,\n nextToken,\n customQuery\n) {\n const params = {\n limit: queryParams.pageSize,\n electronicCashRegisterId: ecrId,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n }\n\n const query = !customQuery || customQuery === \"ecrDailySalesByElectronicCashRegisterId\" ? ecrDailySalesByElectronicCashRegisterId : customQueries[customQuery];\n return API.graphql(graphqlOperation(query, params));\n}\n\nexport function getObjectById(id) {\n return API.graphql(graphqlOperation(getECRDailySales, { id: id }));\n}\n","import * as request from \"./crud\";\nimport { slice, callTypes } from \"./slice\";\nimport { GenerateActions, GenerateSlowFetchObjects, GenerateFetchObjectsBy } from \"../../../../utils/components/generic/_redux\";\n\nconst sliceActions = slice.actions;\n\nexport const actions = {\n ...GenerateActions(sliceActions, request, \"ECRDailySales\"),\n fetchObjects: (qp, af, nextToken, op) => GenerateSlowFetchObjects(\n sliceActions,\n request.findObjects,\n \"listECRDailySaless\",\n qp,\n af,\n nextToken,\n op\n ),\n fetchObjectsByElectronicCashRegisterId: (ecrId, qp, af, nextToken, op, cc) => GenerateFetchObjectsBy(\n sliceActions,\n request.findObjectsByElectronicCashRegisterId,\n \"ecrDailySalesByElectronicCashRegisterId\",\n ecrId,\n qp,\n af,\n nextToken,\n op,\n cc\n ),\n fetchAllObjectsByMultipleElectronicCashRegisterId: (ecrIds, queryParams) => (dispatch) => {\n dispatch(sliceActions.startCall({ callType: callTypes.action }));\n\n return new Promise(async (resolve, reject) => {\n var entities = [];\n\n try {\n for (const ecrId of ecrIds) {\n var nextToken = null;\n\n do {\n var result = await request.findObjectsByElectronicCashRegisterId(\n ecrId,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n null, \n nextToken\n );\n var data = result.data.ecrDailySalesByElectronicCashRegisterId;\n\n entities = entities.concat(data.items);\n nextToken = data.nextToken;\n } while (nextToken !== null);\n }\n } catch (error) {\n //eslint-disable-line no-empty\n }\n\n dispatch(sliceActions.clearData());\n dispatch(sliceActions.objectsFetched({\n totalCount: entities.length,\n operation: \"overwrite\",\n items: entities,\n nextToken: null,\n prevToken: null,\n }));\n return resolve(entities);\n });\n },\n};\n","import { Auth, API } from \"aws-amplify\";\nimport { RandomStringGenerator } from \"../../../utils\";\n\nexport function createCognitoUser(email, groups) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"AdminQueries\";\n let path = \"/createUser\";\n let myInit = {\n body: {\n email: email,\n temporaryPassword: RandomStringGenerator(),\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit).then((cognitoUser) => {\n if (groups.length > 0) {\n const addUserToGroups = groups.map((el) => {\n return new Promise((resolve) => {\n return resolve(addUserToGroup(cognitoUser.Username, el));\n });\n });\n\n Promise.all(addUserToGroups);\n }\n\n return Promise.resolve(cognitoUser);\n });\n });\n}\n\nexport function addUserToGroup(username, groupname) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"AdminQueries\";\n let path = \"/addUserToGroup\";\n let myInit = {\n body: {\n username: username,\n groupname: groupname,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function getUser(username) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"AdminQueries\";\n let path = \"/getUser\";\n let myInit = {\n body: {\n username: username,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function getUserByEmailOrPhone(attribute) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"AdminQueries\";\n let path = \"/getUserByEmailOrPhone\";\n let myInit = {\n body: {\n attribute: attribute,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n","import React from \"react\";\nimport { ISODateDDMMYYYY } from \"../../../functions/date/ISODateDDMMYYYY\";\nimport { ProgressBar } from \"react-bootstrap\";\nimport { DateDiffDays } from \"../../../functions/date/DateDiffDays\";\n\nexport function DurationColumnFormatter(cellContent, row, rowIndex) {\n\tconst validFrom = new Date(row.validFrom);\n\tvalidFrom.setDate(validFrom.getDate() + 1);\n\n\tconst validTo = new Date(row.validTo);\n\tconst today = new Date();\n\n\tconst durationDiff = DateDiffDays(validFrom, validTo);\n\tconst todayDiff = DateDiffDays(validFrom, today);\n\n\tconst timeSpentPerc = (todayDiff * 100) / durationDiff;\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t{ISODateDDMMYYYY(validFrom, \"/\") +\n\t\t\t\t\t\" - \" +\n\t\t\t\t\tISODateDDMMYYYY(validTo, \"/\")}\n\t\t\t\n\t\t\t\n\t\t\n\t);\n}","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst initialState = {\n sessionId: undefined,\n customerName: \"\",\n ordinationsPassword: \"\",\n initialData: {},\n};\nexport const slice = createSlice({\n name: \"ordinations\",\n initialState: initialState,\n reducers: {\n setSessionId: (state, action) => {\n state.sessionId = action.payload;\n },\n setCustomerName: (state, action) => {\n state.customerName = action.payload;\n },\n setOrdinationsPassword: (state, action) => {\n state.ordinationsPassword = action.payload;\n },\n initialDataFetched: (state, action) => {\n state.initialData = action.payload;\n },\n },\n});\n","import { createSlice,createAsyncThunk } from '@reduxjs/toolkit'\nimport { read } from \"./crud\"\n\nconst initialState = { entities: [], prevTokens : [], currentToken:null, nextToken:null, loading: false};\n\nasync function readWithFilter({nextToken,limit,retailStoreId,filter}){\n\n let results=[];\n let token=nextToken;\n\n do {\n const {items,nextToken} = await read({nextToken:token,limit,retailStoreId,filter,sortDirection: \"DESC\"});\n results = results.concat(items);\n token = nextToken;\n if (results.length >= limit) break;\n }while (token !== undefined);\n \n return {\n items:results,\n nextToken:token\n };\n}\n\nexport const fetchOnEffectEvents = createAsyncThunk('events/fetchOnEffect',async ({nextToken,limit,retailStoreId,filter}, thunkAPI) => {\n return filter ? readWithFilter({nextToken,limit,retailStoreId,filter}) : read({nextToken,limit,retailStoreId,sortDirection: \"DESC\"});\n});\n\nexport const fetchPrevEvents = createAsyncThunk('events/fetchPrev',async ({nextToken,limit,retailStoreId,filter}, thunkAPI) => {\n return filter ? readWithFilter({nextToken,limit,retailStoreId,filter}) : read({nextToken,limit,retailStoreId,sortDirection: \"DESC\"});\n});\n\nexport const fetchCurrentEvents = createAsyncThunk('events/fetchCurrent',async ({nextToken,limit,retailStoreId,filter}, thunkAPI) => {\n return filter ? readWithFilter({nextToken,limit,retailStoreId,filter}) : read({nextToken,limit,retailStoreId,sortDirection: \"DESC\"});\n});\n\nexport const fetchNextEvents = createAsyncThunk('events/fetchNext',async ({nextToken,limit,retailStoreId,filter}, thunkAPI) => {\n return filter ? readWithFilter({nextToken,limit,retailStoreId,filter}) : read({nextToken,limit,retailStoreId,sortDirection: \"DESC\"});\n});\n\nconst eventsSlice = createSlice({\n name: 'events',\n initialState,\n reducers: {/** to do if needed **/},\n extraReducers: {\n [fetchNextEvents.pending]: (state) => {\n state.loading = true;\n },\n [fetchNextEvents.fulfilled]: (state, { payload }) => {\n state.prevTokens.push(state.currentToken);\n state.currentToken = state.nextToken;\n state.nextToken = payload.nextToken;\n state.entities = payload.items;\n state.loading = false;\n },\n [fetchNextEvents.rejected]: (state , { payload }) => {\n state.loading = false;\n },\n [fetchCurrentEvents.pending]: (state) => {\n state.loading = true;\n },\n [fetchCurrentEvents.fulfilled]: (state, { payload }) => {\n state.nextToken = payload.nextToken;\n state.entities = payload.items;\n state.loading = false;\n },\n [fetchCurrentEvents.rejected]: (state , { payload }) => {\n state.loading = false;\n },\n [fetchPrevEvents.pending]: (state) => {\n state.loading = true;\n },\n [fetchPrevEvents.fulfilled]: (state, { payload }) => {\n state.nextToken = state.currentToken;\n state.currentToken=state.prevTokens.pop();\n state.entities = payload.items;\n state.loading = false;\n },\n [fetchPrevEvents.rejected]: (state , { payload }) => {\n state.loading = false;\n },\n [fetchOnEffectEvents.pending]: (state) => {\n state.loading = true;\n },\n [fetchOnEffectEvents.fulfilled]: (state, { payload }) => {\n state.currentToken=null;\n state.prevTokens=[];\n state.nextToken = payload.nextToken;\n state.entities = payload.items;\n state.loading = false;\n },\n [\n fetchOnEffectEvents.rejected]: (state , { payload }) => {\n state.loading = false;\n },\n },\n})\n\nexport const selectEntities = (state) => state.calendar.events.entities;\n\nexport const selectLoading = (state) => state.calendar.events.loading;\n\nexport const selectNextToken = (state) => state.calendar.events.nextToken;\n\nexport const selectCurrentToken= (state) => state.calendar.events.currentToken;\n\nexport const selectPrevToken = (state) =>state.calendar.events.prevTokens[state.calendar.events.prevTokens.length-1];\n\nexport default eventsSlice.reducer","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst initialState = {\n customerId: undefined,\n password: undefined,\n};\n\nexport const slice = createSlice({\n name: \"calendar_public\",\n initialState: initialState,\n reducers: {\n setCustomerId: (state, action) => {\n state.customerId = action.payload;\n },\n setPassword: (state, action) => {\n state.password = action.payload;\n },\n },\n});\n","export default [\n \"rt_utility\",\n \"rt_utility_logs\",\n \"rt_utility_fw_download\",\n \"rt_utility_ej_extension\",\n \"moitoiot_dealer\",\n \"moitoiot_automatic_update\",\n \"moitoiot_multiple_users\",\n \"moitoiot_online_backup\",\n \"moitoiot_catering\",\n \"moitoiot_variant_management\",\n \"moitoiot_tables_and_orders_management\",\n \"moitoiot_advanced_payments_management\",\n \"atorder_delivery\",\n \"rt_user_accountant\",\n \"ej_management\",\n \"ej_1_year\",\n \"ej_2_years\",\n \"ej_nolimit\",\n \"moitoiot_kiosk\",\n \"moitoiot_tobacco\",\n \"happy\",\n];\n","import { API, graphqlOperation } from \"aws-amplify\";\nimport {\n getVendor,\n listVendors,\n vendorsByTenant,\n vendorsByCompanyVat,\n searchVendors,\n} from \"../../../../../graphql/queries\";\nimport {\n updateVendor,\n createVendor,\n deleteVendor,\n} from \"../../../../../graphql/mutations\";\n\nexport function searchObjects(queryParams, additionalFilters, nextToken, customQuery) {\n var params = {\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n \n if (queryParams.sortField && queryParams.sortOrder) {\n params.sort = {\n field: queryParams.sortField,\n direction: queryParams.sortOrder,\n };\n }\n\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n }\n\n params.filter = {\n ...params.filter,\n deleted: { ne: true },\n };\n\n return API.graphql(graphqlOperation(searchVendors, params));\n}\n\nexport function findObjects(queryParams, additionalFilters, nextToken) {\n const params = {\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n if (Object.keys(params.filter).includes(\"or\")) {\n params.filter.or = params.filter.or.concat([\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ]);\n } else {\n params.filter.or = [\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ];\n }\n }\n\n params.filter = {\n ...params.filter,\n deleted: { ne: true },\n };\n\n return API.graphql(graphqlOperation(listVendors, params));\n}\n\nexport function findObjectsByTenant(\n tenantId,\n queryParams,\n additionalFilters,\n nextToken\n) {\n const params = {\n tenantId: tenantId,\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n if (Object.keys(params.filter).includes(\"or\")) {\n params.filter.or = params.filter.or.concat([\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ]);\n } else {\n params.filter.or = [\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ];\n }\n }\n\n params.filter = {\n ...params.filter,\n deleted: { ne: true },\n };\n\n return API.graphql(graphqlOperation(vendorsByTenant, params));\n}\n\n\nexport function findObjectsByCompanyVat(\n companyVat,\n queryParams,\n additionalFilters,\n nextToken\n) {\n const params = {\n companyVat: companyVat,\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n if (Object.keys(params.filter).includes(\"or\")) {\n params.filter.or = params.filter.or.concat([\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ]);\n } else {\n params.filter.or = [\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ];\n }\n }\n\n params.filter = {\n ...params.filter,\n deleted: { ne: true },\n };\n\n return API.graphql(graphqlOperation(vendorsByCompanyVat, params));\n}\n\nexport function getObjectById(id) {\n return API.graphql(graphqlOperation(getVendor, { id: id }));\n}\n\nexport function deleteObject(id) {\n return API.graphql(graphqlOperation(deleteVendor, { input: { id: id } }));\n}\n\nexport function createObject(obj) {\n return API.graphql(graphqlOperation(createVendor, { input: obj }));\n}\n\nexport function updateObject(obj) {\n return API.graphql(graphqlOperation(updateVendor, { input: obj }));\n}\n","import * as request from \"./crud\";\nimport { GenerateSlice, GenerateActions, GenerateSlowFetchObjects, GenerateFetchObjectsBy, SliceCallTypes } from \"../../../../utils/components/generic/_redux\";\n\nconst sliceActions = GenerateSlice(\"vendors\").actions;\n\nexport const actions = {\n ...GenerateActions(sliceActions, request, \"Vendor\"),\n searchObjects: (qp, af, nextToken, op, cc) => GenerateSlowFetchObjects(\n sliceActions,\n request.searchObjects,\n \"searchVendors\",\n qp,\n af,\n nextToken,\n op,\n cc\n ),\n fetchObjectsByTenant: (tenantId, qp, af, nextToken, op) => GenerateFetchObjectsBy(\n sliceActions,\n request.findObjectsByTenant,\n \"vendorsByTenant\",\n tenantId,\n qp,\n af,\n nextToken,\n op\n ),\n fetchObjectsByCompanyVat: (companyVat, qp, af, nextToken, op) => GenerateFetchObjectsBy(\n sliceActions,\n request.findObjectsByCompanyVat,\n \"vendorsByCompanyVat\",\n companyVat,\n qp,\n af,\n nextToken,\n op\n ),\n getByVatNumber: (vatNum, tenantId, saveRedux = true) => async (dispatch) => {\n if (saveRedux) {\n dispatch(sliceActions.startCall({ callType: SliceCallTypes.action }));\n }\n\n var queryParams = {\n pageSize: 1000,\n filter: {\n tenantId: { eq: tenantId },\n deleted: { ne: true },\n },\n };\n\n var nextToken = null;\n\n try {\n do {\n var result = await request.findObjectsByCompanyVat(\n vatNum,\n {\n ...queryParams,\n pageSize: queryParams.pageSize > 100 ? 100 : queryParams.pageSize,\n },\n null,\n nextToken\n );\n var data = result.data.vendorsByCompanyVat;\n\n if (data.items.length > 0) {\n if (saveRedux) {\n dispatch(sliceActions.objectFetched({ entity: data.items[0] }));\n }\n return data.items[0];\n }\n\n nextToken = data.nextToken;\n } while (nextToken !== null);\n\n if (saveRedux) {\n dispatch(sliceActions.objectFetched({ entity: undefined }));\n }\n return undefined;\n } catch (error) {\n error.clientMessage = \"Can't get vendor by vat number\";\n if (saveRedux) {\n dispatch(sliceActions.catchError({ error, callType: SliceCallTypes.action }));\n }\n return error;\n }\n },\n};\n","import { Auth, API } from \"aws-amplify\";\nimport * as congnitoRest from \"../cognito/crud\"\n\nexport function bulkTenantCreation(partnerId, storeId, userId, data) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/bulk_tenant_creation\";\n let myInit = {\n body: {\n partnerId: partnerId,\n storeId: storeId,\n userId: userId,\n data: data,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function approveLicenseRequest(tenantId, id, userId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/approve_licenserequest\";\n let myInit = {\n body: {\n tenantId: tenantId,\n id: id,\n userId: userId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function approvePartnershipRequest(id) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/approve_partnershiprequest\";\n let myInit = {\n body: {\n id: id,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function completeRegistration(params) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/complete_registration\";\n let myInit = {\n body: { ...params },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function upgradePlan(partnerId, storeId, userId, newPlanValue) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/upgrade_plan\";\n let myInit = {\n body: {\n partnerId: partnerId,\n storeId: storeId,\n userId: userId,\n newPlanValue: newPlanValue,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function importPrices(tenantId, fromPriceList, toPriceLists) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/import_prices\";\n let myInit = {\n body: {\n tenantId: tenantId,\n fromPriceList: fromPriceList,\n toPriceLists: toPriceLists,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function requestMoitoIotLicense(data) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/request_moitoiot_license\";\n let myInit = {\n body: {\n ...data,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function requestMoitoIotUpdateSublicenses(tenantId, moitoIotId, data) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/update_moitoiot_sublicenses\";\n let myInit = {\n body: {\n tenantId: tenantId,\n moitoIotId: moitoIotId,\n data: data,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function migrateData(tenantId, type, moitoIotId, newCode, oldCode = null) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/migrate_data\";\n let myInit = {\n body: {\n tenantId: tenantId,\n service: type,\n id: moitoIotId,\n newCode: newCode,\n oldCode: oldCode, //only for logs purposes\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function deleteUser(tenantId, userId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/delete_user\";\n let myInit = {\n body: {\n tenantId: tenantId,\n userId: userId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function deleteData(userId, retailStoreId, tenantId, tables) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/delete_data\";\n let myInit = {\n body: {\n userId: userId,\n retailStoreId: retailStoreId,\n tenantId: tenantId,\n tables: tables,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function requestAccountDeactivation(userId, tenantId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/request_account_deactivation\";\n let myInit = {\n body: {\n userId: userId,\n tenantId: tenantId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function checkEcrNumber(number) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/check_ecr_number\";\n let myInit = {\n body: {\n number: number,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function checkMoitoIotCode(code) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/check_moitoiot_code\";\n let myInit = {\n body: {\n code: code,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function requestRTUtilityLicense(partnerId, storeId, userId, number) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/request_rtutility_license\";\n let myInit = {\n body: {\n partnerId: partnerId,\n retailStoreId: storeId,\n userId: userId,\n number: number,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function checkShortCode(shortCode) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/check_shortcode\";\n let myInit = {\n body: {\n shortCode: shortCode,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function checkLicenseExistance(licenseId, code) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/check_license_existance\";\n let myInit = {\n body: {\n licenseId: licenseId,\n code: code,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function generatePreSignedURL(tenantId, key, func) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/generate_presigned_url\";\n let myInit = {\n body: {\n tenantId: tenantId,\n s3Key: key,\n function: func,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function isLicenseRequestable(tenantId, retailStoreId, licenseId, otherParams = {}) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/is_license_requestable\";\n let myInit = {\n body: {\n tenantId: tenantId,\n retailStoreId: retailStoreId,\n licenseId: licenseId,\n ...otherParams,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function checkVatNumber(tenantId, companyVat) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/check_vatnumber\";\n let myInit = {\n body: {\n id: tenantId,\n companyVat: companyVat,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function getAppSettings() {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/get_appsettings\";\n let myInit = {\n body: {},\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function autocompleteRegistration(companyVat, number, code) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/autocomplete_registration\";\n let myInit = {\n body: {\n companyVat: companyVat,\n number: number,\n code: code,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function translateAll(tenantId, entity, recordId = null, fields = []) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/translate_all\";\n let myInit = {\n body: {\n tenantId: tenantId,\n entity: entity,\n recordId: recordId,\n fields: fields,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function translate(tenantId, text) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/translate\";\n let myInit = {\n body: {\n tenantId: tenantId,\n text: text,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function getUser(userId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/get_user\";\n let myInit = {\n body: {\n userId: userId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function createFidelityCard(params) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/create_loyalty_card\";\n let myInit = {\n body: {\n ...params\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function listS3Objects(prefix, tenantId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/list_s3_objects\";\n let myInit = {\n body: {\n prefix: prefix,\n tenantId: tenantId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function createAccountant(params) {\n return congnitoRest.createCognitoUser(params.email, [\"Users\", \"Accountants\"])\n .then((cognitoUser) => {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/create_accountant\";\n let myInit = {\n body: {\n ...params,\n cognitoUsername: cognitoUser.Username,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n });\n}\n\nexport function manageAccountantTenants(params) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/manage_accountant_tenants\";\n let myInit = {\n body: {\n ...params\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function sendEventNotification(tenantId, eventId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/send_event_notification\";\n let myInit = {\n body: {\n tenantId: tenantId,\n eventId: eventId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function toggleAutorenew(id) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/toggle_autorenew\";\n let myInit = {\n body: {\n id: id,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function createEjProgramming(number, type, tenantId, userId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/create_ej_programming\";\n let myInit = {\n body: {\n tenantId,\n userId,\n number,\n type\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function setOldEjExpDate(datetime) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/set_old_ej_exp_date\";\n let myInit = {\n body: {\n datetime,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function canCreateEjProgramming(number, tenantId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/can_create_ej_programming\";\n let myInit = {\n body: {\n tenantId,\n number,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function createOpticalFromXml(params) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/create_optical_from_xml\";\n let myInit = {\n body: {\n ...params\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function createOpticalFile(tenantId, retailStoreId, data) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/create_optical_file\";\n let myInit = {\n body: {\n tenantId,\n retailStoreId,\n data\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function sendOpticalFile(recordId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/send_optical_file\";\n let myInit = {\n body: {\n id: recordId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function checkUserExistance(email) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/check_user_existance\";\n let myInit = {\n body: {\n email: email,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function deleteS3Object(tenantId, s3Key) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/delete_s3_object\";\n let myInit = {\n body: {\n tenantId: tenantId,\n s3Key: s3Key,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function generateLicensesByDealer() {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/generate_licenses_by_dealer\";\n let myInit = {\n body: {},\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function setFilePublic(tenantId, s3Key) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/set_file_public\";\n let myInit = {\n body: {\n tenantId,\n s3Key,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function downloadEnowebItems(tenantId, retailStoreId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/download_enoweb_items\";\n let myInit = {\n body: {\n tenantId,\n retailStoreId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function downloadOpticalFiles(tenantId, id) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/download_optical_files\";\n let myInit = {\n body: {\n tenantId,\n id,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function deleteEnowebItems(tenantId, retailStoreId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/delete_enoweb_items\";\n let myInit = {\n body: {\n tenantId,\n retailStoreId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\n\nexport function saveTobaccoFile(record) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/save-tobacco-file\";\n let myInit = {\n body: {\n ...record,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function deleteTobacco(id) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/delete-tobacco\";\n let myInit = {\n body: {\n id: id,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function sendPendingEventNotification(id, operation) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/send-pending-event-notification\";\n let myInit = {\n body: {\n id: id,\n operation: operation,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function copyItemAssociations(tenantId, sourceItemId, destinationItemId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/copy-item-associations\";\n let myInit = {\n body: {\n tenantId: tenantId,\n sourceItemId: sourceItemId,\n destinationItemId: destinationItemId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\n\nexport function currentLocationSorting(retailStoreId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/current-location-sorting\";\n let myInit = {\n body: {\n retailStoreId: retailStoreId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\n\nexport function rearrangeRecords(tableName, retailStoreId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/rearrange-records\";\n let myInit = {\n body: {\n tableName: tableName,\n retailStoreId: retailStoreId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function triggerMoitoIotMessages(tenantId, tableName, recordId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/trigger-moitoiot-messages\";\n let myInit = {\n body: {\n tenantId: tenantId,\n tableName: tableName,\n recordId: recordId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function getCashRegisterTags(partnerId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/get-cash-register-tags\";\n let myInit = {\n body: {\n partnerId: partnerId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function sendMoitoIotReportEmail(tenantId, s3Key, email, fromDatetime, toDatetime) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/send-moitoiot-report-email\";\n let myInit = {\n body: {\n tenantId,\n s3Key,\n email,\n fromDatetime,\n toDatetime,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function deletePriceList(tenantId, id) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/delete-pricelist\";\n let myInit = {\n body: {\n tenantId,\n id,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\n\nexport function bulkUpdateRecords(payload) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/bulk-update-records\";\n let myInit = {\n body: {\n ...payload\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function complexFilterRecords(payload) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/complex-filter-records\";\n let myInit = {\n body: {\n ...payload,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function removeAllAutorenew(tenantId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/remove-all-autorenew\";\n let myInit = {\n body: {\n tenantId: tenantId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function notifyDailySales(tenantId, dailySalesId) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/notify-daily-sales\";\n let myInit = {\n body: {\n tenantId: tenantId,\n dailySalesId: dailySalesId,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n\nexport function sendHappyInvitation(partnerId, electronicCashRegisterId, digitalCashRegisterId, email) {\n return Auth.currentSession().then((currentSession) => {\n let apiName = \"DTRServiceApi\";\n let path = \"/dtrservice/send-happy-inviation\";\n let myInit = {\n body: {\n partnerId: partnerId,\n electronicCashRegisterId: electronicCashRegisterId,\n digitalCashRegisterId: digitalCashRegisterId,\n email: email,\n },\n headers: {\n \"Content-Type\": \"application/json\",\n Authorization: `${currentSession.getAccessToken().getJwtToken()}`,\n },\n };\n\n return API.post(apiName, path, myInit);\n });\n}\n","export function translateError(error) {\n if (error && error.code) {\n var message = error.message;\n\n switch (error.code) {\n case \"UserNotFoundException\":\n message = \"L'utente non esiste\";\n break;\n case \"InternalErrorException\":\n message = \"Errore interno. Riprova più tardi\";\n break;\n case \"InvalidParameterException\":\n message = \"Parametri non validi\";\n break;\n case \"NotAuthorizedException\":\n message = \"Email/Telefono e password non validi\";\n break;\n case \"PasswordResetRequiredException\":\n message = \"E' obbligatorio resettare la password\";\n break;\n case \"TooManyRequestsException\":\n message = \"Troppe richieste. Riprova più tardi\";\n break;\n case \"InvalidPasswordException\":\n message = \"Password non valida\";\n break;\n case \"LimitExceededException\":\n message =\n \"Il limite di richieste alla risorsa è stato raggiunto. Riprova più tardi\";\n break;\n case \"CodeMismatchException\":\n message = \"Codice non valido\";\n break;\n case \"ExpiredCodeException\":\n message = \"Il codice è scaduto\";\n break;\n case \"TooManyFailedAttemptsException\":\n message =\n \"Troppe richieste hanno avuto esito negativo. Riprova più tardi\";\n break;\n case \"UsernameExistsException\":\n message = \"Un account con questa email o questo numero esiste già\";\n break;\n\n case \"Service_NotAuthorizedStore\":\n message = \"L'utente non è autorizzato ad accedere a nessun negozio.\";\n break;\n default:\n break;\n }\n\n return message;\n }\n\n return error.message;\n}\n","import { Auth, API, graphqlOperation } from \"aws-amplify\";\nimport * as mutations from \"../../../../graphql/mutations\";\n\nimport { actions as tenantActions } from \"../../Multitenancy/_redux/tenantActions\";\nimport { actions as storeActions } from \"../../Multistore/_redux/actions\";\nimport { actions as cashRegisterActions } from \"../../Multicashregister/_redux/actions\";\n\nimport { translateError } from \"../utils/translateError\";\n\nimport * as restApi from \"../../Admin/rest/api\";\n\nimport {\n AUTH_USER,\n AUTH_MFA,\n AUTH_NEW_PASSWORD_REQUIRED,\n UNAUTH_USER,\n REGISTER_USER,\n REGISTER_USER_CONFIRM,\n REGISTER_MFA,\n REGISTER_USER_ERROR,\n FORGOT_PASSWORD,\n FORGOT_PASSWORD_CONFIRM,\n AUTH_ERROR,\n //COMPLETE_REGISTRATION,\n //UPDATE_USER_PARTY,\n UPDATE_TENANT_PARTY,\n UPDATE_TENANT,\n UPDATE_USER,\n REFRESH_CURRENT_USER,\n INCREMENT_ITEM_SORTING,\n INCREMENT_ITEMGROUP_SORTING,\n CHANGE_LOGIN_TYPE,\n CANCEL_FORGOT_PASSWORD,\n CANCEL_REGISTRATION,\n FORCE_REFRESH_TOKEN,\n SET_USER_TYPE,\n PENDING_SOCIAL_SIGN_IN,\n} from \"./types\";\n\nconst BLOCKED_LOGIN_ERROR = {\n code: \"Service_NotAuthorizedTenant\",\n message: \"ACCESSO NON AUTORIZZATO. Contattare amministrazione@dtr-italy.com per maggiori informazioni.\",\n};\n\nexport function authError(error) {\n return {\n type: AUTH_ERROR,\n payload: translateError(error),\n };\n}\n\nconst getAllUserData = async (id, throwError = true) => {\n var user = null;\n\n try {\n const getUserResponse = await restApi.getUser(id);\n user = getUserResponse.data;\n } catch(e) {\n /* tslint:disable:no-empty */\n }\n\n if (!user && throwError) {\n throw Error(\"User not found\");\n }\n\n //Appsync-like result for compatibility\n return {\n data: {\n getUser: user,\n },\n };\n};\n\nexport const setUserType = (userType) => (dispatch) => {\n dispatch({ type: SET_USER_TYPE, payload: { userType: userType } });\n};\n\nexport const forceRefreshToken = () => (dispatch) => {\n console.log(\"on forceRefreshToken\");\n\n return Auth.currentAuthenticatedUser()\n .then((cognitoUser) => {\n return Auth.currentSession()\n .then((currentSession) => {\n cognitoUser.refreshSession(currentSession.refreshToken, (err, session) => {\n dispatch({ type: FORCE_REFRESH_TOKEN, payload: cognitoUser });\n });\n\n })\n .catch((err) => {\n console.log(\"on forceRefreshToken, internal authError\", err);\n\n dispatch(authError(err));\n });\n })\n .catch((err) => {\n console.log(\"on forceRefreshToken, authError\", err);\n\n dispatch(authError(err));\n });\n};\n\nexport const login =\n (username, password, loginType = 0) =>\n (dispatch) => {\n return Auth.signIn(username, password)\n .then((data) => {\n if (data.challengeName === \"NEW_PASSWORD_REQUIRED\") {\n dispatch({ type: AUTH_NEW_PASSWORD_REQUIRED, payload: data });\n } else if (\n data.challengeName === \"MFA_REQUIRED\" ||\n data.challengeName === \"SMS_MFA\"\n ) {\n dispatch({ type: AUTH_MFA, payload: data });\n } else {\n return getAllUserData(data.username, false).then((u) => {\n let payl = {\n cognitoUser: data,\n user: u.data.getUser,\n };\n\n if (!payl.user) {\n dispatch({\n type: AUTH_USER,\n payload: { ...payl, loginType: loginType },\n });\n } else {\n const defaultTenantUserData = payl?.user?.tenantUser?.items?.find(el => el?.tenant?.id === payl?.user?.tenantDefault);\n if (defaultTenantUserData?.tenant?.blockLevel === 2) {\n dispatch(logout());\n dispatch(authError(BLOCKED_LOGIN_ERROR));\n }\n else {\n if (payl.user.retailStoreDefault) {\n if (payl.user) {\n dispatch(\n storeActions.setCurrentStoreAsync(\n payl.user.retailStoreDefault\n )\n );\n dispatch(\n tenantActions.setCurrentTenantAsync(payl.user.tenantDefault)\n );\n dispatch(cashRegisterActions.setCurrentCashRegisterAsync(\"\"));\n }\n\n dispatch({\n type: AUTH_USER,\n payload: { ...payl, loginType: loginType },\n });\n } else {\n dispatch(\n authError({\n code: \"Service_NotAuthorizedStore\",\n message: \"You are not authorized to access any store.\",\n })\n );\n }\n }\n }\n });\n }\n })\n .catch((err) => {\n console.log(\"on login, authError\", err);\n\n dispatch(authError(err));\n });\n };\n\n// Cognito - Auth.currentAuthenticatedUser()\n// Cognito - Auth.userSession()\n// This is a pass-through function to indicate that user has already authenticated\n// and has a valid Amplify session.\nexport function validateUserSession() {\n console.log(\"on validateUserSession\");\n\n return function (dispatch) {\n Auth.currentAuthenticatedUser()\n .then((currentAuthUser) => {\n // grab the user session\n Auth.userSession(currentAuthUser)\n .then((session) => {\n // finally invoke isValid() method on session to check if auth tokens are valid\n // if tokens have expired, lets call \"logout\"\n // otherwise, dispatch AUTH_USER success action and by-pass login screen\n if (session.isValid()) {\n // fire user is authenticated\n dispatch({ type: AUTH_USER, payload: session });\n //history.push('/');\n } else {\n console.log(\"on validateUserSession, session is not valid\");\n\n // fire user is unauthenticated\n dispatch({ type: UNAUTH_USER, payload: { source: \"validateUserSession_sessionNotValid\" } });\n //history.push('/');\n }\n })\n .catch((err) => {\n console.log(\"on validateUserSession, internal UNAUTH_USER\", err);\n\n // error occured during session validation, fire user is unauthenticated\n dispatch({ type: UNAUTH_USER, payload: { source: \"validateUserSession_internalCatch\" } });\n //history.push('/');\n });\n })\n .catch((err) => {\n console.log(\"on validateUserSession, UNAUTH_USER\", err);\n\n // error occured while retrieving current auth user, fire user is unauthenticated\n dispatch({ type: UNAUTH_USER, payload: { source: \"validateUserSession_externalCatch\" } });\n //history.push('/');\n });\n };\n}\n\nexport const setNewPassword = (cognitoUser, newPassword) => (dispatch) => {\n return Auth.completeNewPassword(cognitoUser, newPassword)\n .then((data) => {\n if (data.challengeName === \"SMS_MFA\") {\n dispatch({ type: AUTH_MFA, payload: data });\n } else {\n Auth.currentAuthenticatedUser().then((newCognitoUser) => {\n dispatch(login(newCognitoUser.username, newPassword));\n });\n }\n })\n .catch((err) => {\n dispatch(authError(err));\n });\n};\n\nexport const logout = () => (dispatch) => {\n console.log(\"on logout\");\n\n console.log(\"on logout UNAUTH_USER\");\n\n dispatch({ type: UNAUTH_USER, payload: { source: \"logout\" } });\n return Auth.signOut()\n .then((data) => {\n console.log(\"signOut result\", data);\n })\n .catch((err) => {\n console.log(\"on logout, authError\", err);\n\n dispatch(authError(err));\n });\n};\n\n// Cognito - Auth.confirmSignIn()\nexport function confirmLogin({ cognitoUser, code }, history) {\n return function (dispatch) {\n // confirmSignIn (cognito)\n Auth.confirmSignIn(cognitoUser, code)\n .then((data) => {\n // dispatch AUTH_USER\n dispatch({ type: AUTH_USER });\n\n // we have authenticated, lets navigate to /main route\n history.push(\"/\");\n })\n .catch((err) => {\n // error -- invoke authError which dispatches AUTH_ERROR\n dispatch(authError(err));\n });\n };\n}\n\nexport const register = (email, password, history) => (dispatch) => {\n return Auth.signUp(email, password)\n .then((data) => {\n if (\n typeof data.userConfirmed != \"undefined\" &&\n data.userConfirmed === false\n ) {\n dispatch({ type: REGISTER_MFA, payload: data });\n } else {\n dispatch({ type: REGISTER_USER });\n history.push(\"/\");\n }\n })\n .catch((err) => {\n dispatch(authError(err));\n });\n};\n\nexport const initializeSocialSignIn = (providerName) => (dispatch) => {\n dispatch({ type: PENDING_SOCIAL_SIGN_IN, payload: { provider: providerName } });\n\n return Auth.federatedSignIn({ provider: providerName })\n .then((r) => {\n doSocialSignIn();\n })\n .catch((err) => {\n dispatch(authError(err));\n });\n};\n\nconst timer = ms => new Promise(res => setTimeout(res, ms));\n\nconst waitForCurrentAuthenticatedUser = async () => {\n var userData;\n do {\n try {\n userData = await Auth.currentAuthenticatedUser();\n } catch(e) {\n //Nothing to do here\n }\n\n await timer(250);\n } while(!userData);\n\n return userData;\n}\n\nexport const doSocialSignIn = () => async (dispatch) => {\n const userData = await waitForCurrentAuthenticatedUser();\n\n return getAllUserData(userData.username, false).then((u) => {\n let payl = {\n cognitoUser: userData,\n user: u.data.getUser,\n loginType: 0,\n };\n\n if (!payl.user) {\n dispatch({\n type: AUTH_USER,\n payload: { ...payl },\n });\n } else {\n if (payl.user.retailStoreDefault) {\n if (payl.user) {\n dispatch(\n storeActions.setCurrentStoreAsync(\n payl.user.retailStoreDefault\n )\n );\n dispatch(\n tenantActions.setCurrentTenantAsync(payl.user.tenantDefault)\n );\n dispatch(cashRegisterActions.setCurrentCashRegisterAsync(\"\"));\n }\n\n dispatch({\n type: AUTH_USER,\n payload: { ...payl },\n });\n } else {\n dispatch(\n authError({\n code: \"Service_NotAuthorizedStore\",\n message: \"You are not authorized to access any store.\",\n })\n );\n }\n }\n });\n};\n\nexport const cancelRegistration = () => (dispatch) => {\n dispatch({ type: CANCEL_REGISTRATION });\n};\n\nexport const confirmRegistration =\n (cognitoUser, code, userType, registrationMethod, history) =>\n (dispatch) => {\n const { username } = cognitoUser.user;\n\n return Auth.confirmSignUp(username, code)\n .then((data) => {\n dispatch({\n type: REGISTER_USER_CONFIRM,\n payload: {\n registrationMethod: registrationMethod,\n userType: userType,\n },\n });\n history.push(\"/auth/login\");\n })\n .catch((err) => {\n dispatch({\n type: REGISTER_USER_ERROR,\n payload: err.message,\n cognitoUser,\n });\n dispatch(authError(err));\n\n return Promise.reject(err);\n });\n };\n\nexport const resendConfirmationCode = (cognitoUser) => (dispatch) => {\n const { username } = cognitoUser.user;\n return Auth.resendSignUp(username)\n .then((data) => {\n dispatch({ type: REGISTER_MFA, payload: cognitoUser });\n })\n .catch((err) => {\n dispatch(authError(err));\n });\n};\n\nexport const forgotPassword = (username) => (dispatch) => {\n return Auth.forgotPassword(username)\n .then((data) => {\n dispatch({ type: FORGOT_PASSWORD });\n })\n .catch((err) => {\n dispatch(authError(err));\n });\n};\n\nexport const cancelForgotPassword = () => (dispatch) => {\n dispatch({ type: CANCEL_FORGOT_PASSWORD });\n};\n\nexport const confirmForgotPassword =\n (username, code, newPassword) => (dispatch) => {\n return Auth.forgotPasswordSubmit(username, code, newPassword)\n .then((data) => {\n dispatch({ type: FORGOT_PASSWORD_CONFIRM });\n })\n .catch((err) => {\n dispatch(cancelForgotPassword());\n dispatch(authError(err));\n });\n };\n\nexport const updateLoggedUserParty = (user) => (dispatch) => {\n return API.graphql(\n graphqlOperation(mutations.updateUser, { input: user })\n ).then((result) => {\n dispatch(refreshCurrentUser(user.id));\n });\n};\n\nexport const changePassword = (oldPassword, newPassword) => (dispatch) => {\n return Auth.currentAuthenticatedUser().then((cognitoUser) => {\n return Auth.changePassword(cognitoUser, oldPassword, newPassword);\n });\n};\n\nexport const updateTenantParty = (tenant) => (dispatch) => {\n tenant.extensions = JSON.stringify(tenant.extensions);\n return API.graphql(\n graphqlOperation(mutations.updateTenant, { input: tenant })\n ).then((result) => {\n const newTenant = {\n ...result.data.updateTenant,\n extensions: JSON.parse(result.data.updateTenant.extensions),\n };\n\n dispatch({\n type: UPDATE_TENANT_PARTY,\n payload: { tenant: newTenant },\n });\n });\n};\n\nexport const updateTenant = (tenantId, tenant) => (dispatch) => {\n if (tenant && tenant.extensions) {\n tenant.extensions = JSON.stringify(tenant.extensions);\n }\n return API.graphql(\n graphqlOperation(mutations.updateTenant, { input: tenant })\n ).then((result) => {\n const newTenant = result.data.updateTenant;\n dispatch({\n type: UPDATE_TENANT,\n payload: { tenantId: tenantId, tenant: newTenant },\n });\n });\n};\n\nexport const updateUser = (user) => (dispatch) => {\n return API.graphql(\n graphqlOperation(mutations.updateUser, { input: user })\n ).then((result) => {\n const newUser = result.data.updateUser;\n dispatch({ type: UPDATE_USER, payload: { user: newUser } });\n });\n};\n\nexport const refreshCurrentUser = (userId, storeId = undefined) => (dispatch) => {\n return getAllUserData(userId)\n .then((response) => {\n const user = response.data.getUser;\n\n const defaultTenantUserData = user?.tenantUser?.items?.find(el => el?.tenant?.id === user?.tenantDefault);\n if (defaultTenantUserData?.tenant?.blockLevel === 2) {\n dispatch(logout());\n dispatch(authError(BLOCKED_LOGIN_ERROR));\n }\n else {\n dispatch({ type: REFRESH_CURRENT_USER, payload: { user: user } });\n\n if (!storeId && user?.retailStoreDefault) {\n dispatch(\n storeActions.setCurrentStoreAsync(\n user?.retailStoreDefault\n )\n );\n }\n }\n\n return user;\n })\n .catch((e) => {\n /*\n return Auth.signOut()\n .then((data) => {\n dispatch({ type: UNAUTH_USER });\n })\n .catch((err) => {\n dispatch(authError(err));\n });\n */\n });\n};\n\nexport const incrementItemSorting = (tenant) => (dispatch) => {\n const newTenant = {\n id: tenant.id,\n nextItemSorting: tenant.nextItemSorting ? tenant.nextItemSorting + 5 : 5,\n };\n return API.graphql(\n graphqlOperation(mutations.updateTenant, { input: newTenant })\n ).then((response) => {\n dispatch({\n type: INCREMENT_ITEM_SORTING,\n payload: {\n tenantId: tenant.id,\n nextItemSorting: newTenant.nextItemSorting,\n },\n });\n });\n};\n\nexport const incrementItemGroupSorting = (tenant) => (dispatch) => {\n const newTenant = {\n id: tenant.id,\n nextItemGroupSorting: tenant.nextItemGroupSorting\n ? tenant.nextItemGroupSorting + 5\n : 5,\n };\n return API.graphql(\n graphqlOperation(mutations.updateTenant, { input: newTenant })\n ).then((response) => {\n dispatch({\n type: INCREMENT_ITEMGROUP_SORTING,\n payload: {\n tenantId: tenant.id,\n nextItemGroupSorting: newTenant.nextItemGroupSorting,\n },\n });\n });\n};\n\nexport const changeLoginType = (newLoginType) => (dispatch) => {\n return new Promise((resolve, reject) => {\n dispatch({ type: CHANGE_LOGIN_TYPE, payload: { loginType: newLoginType } });\n return resolve(true);\n });\n};\n","import { FileToBase64 } from \"./FileToBase64\";\nimport axios from \"axios\";\nimport * as restApi from \"../../modules/Admin/rest/api\";\n\nexport async function UploadProtectedFile(file, tenantId, s3Key, sendToastNotification, intl, callback) {\n return restApi.generatePreSignedURL(tenantId, s3Key, \"putObject\")\n .then(result => {\n //https://github.com/aws/aws-sdk-js/issues/2482\n FileToBase64(file)\n .then(r => {\n const buffer = Buffer.from(r.replace(/^data:image\\/\\w+;base64,/, \"\"), 'base64');\n \n axios.put(result.data, file.type.includes(\"image\") ? buffer : file, {\n headers: { \n 'Content-Type': file.type,\n \"Content-Encoding\": \"base64\",\n }\n })\n .then((axiosResponse) => {\n callback();\n })\n .catch(() => {\n sendToastNotification(\"error\", intl.formatMessage({ id: \"SERVICE.ERROR_UPLOADING_FILE\" }));\n });\n })\n })\n .catch((e) => {\n sendToastNotification(\"error\", intl.formatMessage({ id: \"SERVICE.ERROR_UPLOADING_FILE\" }));\n });\n}\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst initialState = {\n tenant: {},\n stores: [],\n lastError: null,\n};\n\nexport const slice = createSlice({\n name: \"ecr_registration\",\n initialState: initialState,\n reducers: {\n setTenantData: (state, action) => {\n state.tenant = action.payload.data ? action.payload.data : {};\n },\n setStoreData: (state, action) => {\n state.stores = action.payload.data ? action.payload.data : [];\n },\n addStoreData: (state, action) => {\n state.stores = [...state.stores, action.payload.data];\n },\n updateStoreData: (state, action) => {\n state.stores = state.stores.map((el) =>\n el.id === action.payload.data.id ? action.payload.data : el\n );\n },\n clearData: (state, action) => {\n state.tenant = {};\n state.stores = [];\n state.lastError = null;\n },\n },\n});\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst initialState = {\n tenant: {},\n stores: [],\n lastError: null,\n};\n\nexport const slice = createSlice({\n name: \"moitoiot_registration\",\n initialState: initialState,\n reducers: {\n setTenantData: (state, action) => {\n state.tenant = action.payload.data ? action.payload.data : {};\n },\n setStoreData: (state, action) => {\n state.stores = action.payload.data ? action.payload.data : [];\n },\n addStoreData: (state, action) => {\n state.stores = [...state.stores, action.payload.data];\n },\n updateStoreData: (state, action) => {\n state.stores = state.stores.map((el) =>\n el.id === action.payload.data.id ? action.payload.data : el\n );\n },\n clearData: (state, action) => {\n state.tenant = {};\n state.stores = [];\n state.lastError = null;\n },\n },\n});\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst initialState = {\n\tcustomerId: undefined,\n\tinitialData: {},\n};\nexport const slice = createSlice({\n\tname: \"booking\",\n\tinitialState: initialState,\n\treducers: {\n\t\tsetCustomerId: (state, action) => {\n\t\t\tstate.customerId = action.payload;\n\t\t},\n\t\tinitialDataFetched: (state, action) => {\n\t\t\tstate.initialData = action.payload;\n\t\t},\n\t},\n});","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst initialState = {\n storeData: {},\n deskData: {},\n sessionId: undefined,\n customerName: \"\",\n ordinationsPassword: \"\",\n cart: null, //(id, lines[id, itemId, qty, unitPrice, notes])\n};\n\nexport const slice = createSlice({\n name: \"atorder_public\",\n initialState: initialState,\n reducers: {\n storeDataFetched: (state, action) => {\n state.storeData = action.payload;\n },\n deskDataFetched: (state, action) => {\n state.deskData = action.payload;\n },\n setSessionId: (state, action) => {\n state.sessionId = action.payload;\n },\n setCustomerName: (state, action) => {\n state.customerName = action.payload;\n },\n setOrdinationsPassword: (state, action) => {\n state.ordinationsPassword = action.payload;\n },\n addOnCart: (state, action) => {\n state.cart = {\n id: state.cart?.id || null, \n lines: [\n ...(state.cart?.lines?.filter(el => el?.itemId !== action.payload.itemId) || []),\n {\n id: null,\n qty: action.payload.qty,\n notes: action.payload.notes,\n itemId: action.payload.itemId,\n unitPrice: action.payload.unitPrice,\n }\n ]\n };\n },\n removeItemFromCart: (state, action) => {\n state.cart = {\n ...state.cart,\n lines: state.cart.lines?.filter(el => el.itemId !== action.payload.itemId) || [],\n };\n },\n cleanCart: (state, action) => {\n state.cart = null;\n },\n setCart: (state, action) => {\n state.cart = action.payload;\n },\n\n setCartOrderType: (state, action) => {\n state.cart = {\n ...(state.cart || {}),\n orderType: action.payload,\n };\n },\n setCartTime: (state, action) => {\n state.cart = {\n ...(state.cart || {}),\n time: action.payload,\n };\n },\n setPaymentType: (state, action) => {\n state.cart = {\n ...(state.cart || {}),\n paymentType: action.payload,\n };\n },\n setPhoneNumber: (state, action) => {\n state.cart = {\n ...(state.cart || {}),\n phoneNumber: action.payload,\n };\n },\n setCartCustomerName: (state, action) => {\n state.cart = {\n ...(state.cart || {}),\n customerName: action.payload,\n };\n },\n setCustomerSurname: (state, action) => {\n state.cart = {\n ...(state.cart || {}),\n customerSurname: action.payload,\n };\n },\n setCustomerAddress: (state, action) => {\n state.cart = {\n ...(state.cart || {}),\n customerAddress: action.payload?.address,\n customerCountry: action.payload?.county,\n customerCounty: action.payload?.country,\n customerMunicipality: action.payload?.municipality,\n customerZipCode: action.payload?.zipCode,\n customerAddressPlaceId: action.payload?.placeId,\n };\n },\n setAddressNote: (state, action) => {\n state.cart = {\n ...(state.cart || {}),\n customerAddressNotes: action.payload,\n };\n },\n \n },\n});\n","import entities from \"../../../common/cashregisters/configuration_entities\";\n\nfunction splitVersion(v) {\n return v.split(\".\").map((el) => parseInt(el));\n}\n\nfunction composeVersion(array) {\n var result = \"\";\n array.forEach((el) => {\n result += el + \".\";\n });\n return result.slice(0, -1);\n}\n\nexport function increaseAllVersions(version) {\n var result = \"\";\n\n const splitted = splitVersion(version);\n splitted.forEach((single) => {\n result += single + 1 + \".\";\n });\n\n return result.slice(0, -1);\n}\n\nexport function defaultVersion() {\n var result = \"\";\n\n entities.forEach((el) => {\n result += \"0.\";\n });\n return result.slice(0, -1);\n}\n\nexport function diff(v1, v2) {\n const splitted1 = splitVersion(v1);\n const splitted2 = splitVersion(v2);\n\n const baseArray =\n splitted1.length >= splitted2.length ? splitted1 : splitted2;\n const otherArray =\n splitted1.length < splitted2.length ? splitted1 : splitted2;\n\n var result = [];\n baseArray.forEach((el, idx) => {\n if (el !== otherArray[idx]) {\n result.push(idx);\n }\n });\n\n return result;\n}\n\nexport function fromPositionsToEntities(positions) {\n var result = [];\n\n positions.forEach((el) => {\n if (entities[el]) {\n result.push(entities[el]);\n }\n });\n\n return result;\n}\n\nexport function incrementVersionByCodes(baseVersion, codes) {\n var splitted = splitVersion(baseVersion);\n\n codes.forEach((code) => {\n const foundIdx = entities.findIndex((el) => el.code === code);\n if (foundIdx >= 0) {\n splitted[foundIdx] = splitted[foundIdx] + 1;\n }\n });\n\n return composeVersion(splitted);\n}\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst initialState = {\n tenantId: undefined,\n retailStoreId: undefined,\n cashRegisterId: undefined,\n cashRegisterNumber: \"\",\n cashRegister: {},\n};\n\nexport const slice = createSlice({\n name: \"filters\",\n initialState: initialState,\n reducers: {\n setTenant: (state, action) => {\n state.tenantId = action.payload.tenantId;\n },\n setRetailStore: (state, action) => {\n state.retailStoreId = action.payload.retailStoreId;\n },\n setCashRegisterId: (state, action) => {\n state.cashRegisterId = action.payload.cashRegisterId;\n },\n setCashRegisterNumber: (state, action) => {\n state.cashRegisterNumber = action.payload.cashRegisterNumber;\n },\n setCashRegister: (state, action) => {\n state.cashRegister = action.payload.cashRegister;\n },\n },\n});\n","/* eslint-disable */\n\"use strict\";\n\nimport KTToggle from \"./../../components/toggle.js\";\nimport { KTUtil } from \"./../../components/util.js\";\nimport KTLayoutStickyCard from \"./sticky-card.js\";\nimport KTLayoutHeaderMenu from \"./header-menu.js\";\nimport KTLayoutAsideMenu from \"./aside-menu.js\";\nimport { KTCookie } from \"./../../components/cookie.js\";\n\nvar KTLayoutAsideToggle = function() {\n // Private properties\n var _body;\n var _element;\n var _toggleObject;\n\n\t// Initialize\n\tvar _init = function() {\n\t\t_toggleObject = new KTToggle(_element, {\n\t\t\ttarget: _body,\n\t\t\ttargetState: 'aside-minimize',\n\t\t\ttoggleState: 'active'\n\t\t});\n\n\t\t_toggleObject.on('toggle', function(toggle) {\n\t\t\tKTUtil.addClass(_body, 'aside-minimizing');\n KTUtil.transitionEnd(_body, function() {\n KTUtil.removeClass(_body, 'aside-minimizing');\n\t\t\t});\n\n // Update sticky card\n KTLayoutStickyCard.update();\n\n // Pause header menu dropdowns\n KTLayoutHeaderMenu.pauseDropdownHover(800);\n\n // Pause aside menu dropdowns\n\t\t\tKTLayoutAsideMenu.pauseDropdownHover(800);\n\n // Remember state in cookie\n\t\t\tKTCookie.setCookie('kt_aside_toggle_state', toggle.getState());\n\t\t\t// to set default minimized left aside use this cookie value in your\n\t\t\t// server side code and add \"kt-primary--minimize aside-minimize\" classes to\n\t\t\t// the body tag in order to initialize the minimized left aside mode during page loading.\n\t\t});\n\n\t\t_toggleObject.on('beforeToggle', function(toggle) {\n\t\t\tif (KTUtil.hasClass(_body, 'aside-minimize') === false && KTUtil.hasClass(_body, 'aside-minimize-hover')) {\n\t\t\t\tKTUtil.removeClass(_body, 'aside-minimize-hover');\n\t\t\t}\n\t\t});\n\t}\n\n // Public methods\n\treturn {\n\t\tinit: function(id) {\n _element = KTUtil.getById(id);\n _body = KTUtil.getBody();\n\n if (!_element) {\n return;\n }\n\n // Initialize\n _init();\n\t\t},\n\n getElement: function() {\n return _element;\n },\n\n getToggle: function() {\n\t\t\treturn _toggleObject;\n\t\t},\n\n\t\tonToggle: function(handler) {\n\t\t\tif (typeof _toggleObject.element !== 'undefined') {\n\t\t\t\t_toggleObject.on('toggle', handler);\n\t\t\t}\n\t\t}\n\t};\n}();\n\n// Webpack support\nif (typeof module !== 'undefined') {\n\t// module.exports = KTLayoutAsideToggle;\n}\n\nexport default KTLayoutAsideToggle;","import React from \"react\";\nimport { Aside } from \"../../../AuthCognito/components/Aside\";\nimport { DTRServiceLogo } from \"../dashboard/components/DTRServiceLogo\";\nimport { FormattedMessage } from \"react-intl\";\nimport { useHistory } from \"react-router-dom\";\nimport { useIntl } from \"react-intl\";\n\nexport function TenantTermsOfService({\n showAside = true,\n showBackButton = true,\n}) {\n const intl = useIntl();\n const history = useHistory();\n\n //Warning: This is the PRODUCTION S3 BUCKET\n const documentUrl =\n \"https://coristechda3c2209cf6940b7976e4d383712a5ea142526-prod.s3.eu-central-1.amazonaws.com/public/tos/Tenant_TOS_Gennaio_2025.pdf\";\n\n const privacyPolicyUrl = \"https://www.dtr-service.it/privacy-policy\";\n\n return (\n
\n \n {showAside &&
\n \n );\n}\n","import React from \"react\";\nimport { Aside } from \"../../../AuthCognito/components/Aside\";\nimport { DTRServiceLogo } from \"../dashboard/components/DTRServiceLogo\";\nimport { FormattedMessage } from \"react-intl\";\nimport { useHistory } from \"react-router-dom\";\nimport { useIntl } from \"react-intl\";\n\nexport function PartnerTermsOfService({\n showAside = true,\n showBackButton = true,\n}) {\n const intl = useIntl();\n const history = useHistory();\n\n //Warning: This is the PRODUCTION S3 BUCKET\n const documentUrl =\n \"https://coristechda3c2209cf6940b7976e4d383712a5ea142526-prod.s3.eu-central-1.amazonaws.com/public/tos/Dealer_TOS_Gennaio_2025.pdf\";\n\n const privacyPolicyUrl = \"https://www.dtr-service.it/privacy-policy\";\n\n return (\n
\n \n {showAside &&
\n \n );\n}\n","export default {\n plu: [],\n departments: [\n {\n no: 1,\n name: \"reparto 1\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 2,\n name: \"reparto 2\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 3,\n name: \"reparto 3\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 4,\n name: \"reparto 4\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 5,\n name: \"reparto 5\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 6,\n name: \"reparto 6\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 7,\n name: \"reparto 7\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 8,\n name: \"reparto 8\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 9,\n name: \"reparto 9\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 10,\n name: \"reparto 10\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 11,\n name: \"reparto 11\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 12,\n name: \"reparto 12\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 13,\n name: \"reparto 13\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 14,\n name: \"reparto 14\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 15,\n name: \"reparto 15\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 16,\n name: \"reparto 16\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 17,\n name: \"reparto 17\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 18,\n name: \"reparto 18\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 19,\n name: \"reparto 19\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 20,\n name: \"reparto 20\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 21,\n name: \"reparto 21\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 22,\n name: \"reparto 22\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 23,\n name: \"reparto 23\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 24,\n name: \"reparto 24\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 25,\n name: \"reparto 25\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 26,\n name: \"reparto 26\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 27,\n name: \"reparto 27\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 28,\n name: \"reparto 28\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 29,\n name: \"reparto 29\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 30,\n name: \"reparto 30\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 31,\n name: \"reparto 31\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 32,\n name: \"reparto 32\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 33,\n name: \"reparto 33\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 34,\n name: \"reparto 34\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 35,\n name: \"reparto 35\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 36,\n name: \"reparto 36\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 37,\n name: \"reparto 37\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 38,\n name: \"reparto 38\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 39,\n name: \"reparto 39\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 40,\n name: \"reparto 40\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 41,\n name: \"reparto 41\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 42,\n name: \"reparto 42\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 43,\n name: \"reparto 43\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 44,\n name: \"reparto 44\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 45,\n name: \"reparto 45\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 46,\n name: \"reparto 46\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 47,\n name: \"reparto 47\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 48,\n name: \"reparto 48\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 49,\n name: \"reparto 49\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 50,\n name: \"reparto 50\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 51,\n name: \"reparto 51\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 52,\n name: \"reparto 52\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 53,\n name: \"reparto 53\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 54,\n name: \"reparto 54\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 55,\n name: \"reparto 55\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 56,\n name: \"reparto 56\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 57,\n name: \"reparto 57\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 58,\n name: \"reparto 58\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 59,\n name: \"reparto 59\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 60,\n name: \"reparto 60\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 61,\n name: \"reparto 61\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 62,\n name: \"reparto 62\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 63,\n name: \"reparto 63\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 64,\n name: \"reparto 64\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 65,\n name: \"reparto 65\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 66,\n name: \"reparto 66\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 67,\n name: \"reparto 67\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 68,\n name: \"reparto 68\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 69,\n name: \"reparto 69\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 70,\n name: \"reparto 70\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 71,\n name: \"reparto 71\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 72,\n name: \"reparto 72\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 73,\n name: \"reparto 73\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 74,\n name: \"reparto 74\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 75,\n name: \"reparto 75\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 76,\n name: \"reparto 76\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 77,\n name: \"reparto 77\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 78,\n name: \"reparto 78\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 79,\n name: \"reparto 79\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 80,\n name: \"reparto 80\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 81,\n name: \"reparto 81\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 82,\n name: \"reparto 82\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 83,\n name: \"reparto 83\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 84,\n name: \"reparto 84\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 85,\n name: \"reparto 85\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 86,\n name: \"reparto 86\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 87,\n name: \"reparto 87\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 88,\n name: \"reparto 88\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 89,\n name: \"reparto 89\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 90,\n name: \"reparto 90\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 91,\n name: \"reparto 91\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 92,\n name: \"reparto 92\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 93,\n name: \"reparto 93\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 94,\n name: \"reparto 94\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 95,\n name: \"reparto 95\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 96,\n name: \"reparto 96\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 97,\n name: \"reparto 97\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 98,\n name: \"reparto 98\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n {\n no: 99,\n name: \"reparto 99\",\n price: 0,\n limit: 0,\n discType: \"-\",\n percentFlag: true,\n discount: 0,\n pluidx: 0,\n group: 0,\n freePrice: true,\n inputQty: true,\n autoClose: false,\n acCodeIdx: 1,\n TaxIdx: 1,\n },\n ],\n groups: [],\n systemFlag: {\n \"Stampa Sbt\": false,\n \"St Valori=0?\": false,\n \"Imp. Pagam.\": false,\n \"Stampa Logo\": false,\n \"Prest. Logo\": false,\n \"Autospegnim.\": false,\n \"Q.obblig\": false,\n \"Autodis. Op.\": false,\n Beep: false,\n \"St. N.Pezzi\": false,\n \"DECIMALI AUTOMATICI\": false,\n \"Sensore Quasi Fine\": false,\n \"NO AUTO CUT?\": false,\n \"Stampa Barcode Cli.\": false,\n \"STAMPA INT.\": false,\n \"Clienti IVA importo\": false,\n \"Stampa IVA lista\": false,\n\n \"APRI CASSETTO A Z\": false,\n \"DEFAULT STAN 0\": false,\n \"Decimali con\": false,\n \"PROLUNGA ATTIVITA\": false,\n \"Pagamenti lotteria\": false,\n \"STAMPA QTY UNITARIA\": false,\n \"Stampa Footer Logo\": false,\n \"Disable EftPos\": true,\n },\n discountinfo: {\n discount: {\n name: \"ART\",\n discType: \"+\",\n percentFlag: false,\n value: 0,\n subflag: false,\n },\n subdiscount: {\n name: \"SBT\",\n discType: \"-\",\n percentFlag: false,\n value: 0,\n subflag: false,\n },\n discount1: {\n name: \"-+1\",\n discType: \"+\",\n percentFlag: false,\n value: 0,\n subflag: false,\n },\n discount2: {\n name: \"-+2\",\n discType: \"-\",\n percentFlag: false,\n value: 0,\n subflag: false,\n },\n discount3: {\n name: \"-+3\",\n discType: \"+\",\n percentFlag: false,\n value: 0,\n subflag: false,\n },\n discount4: {\n name: \"-+4\",\n discType: \"+\",\n percentFlag: false,\n value: 0,\n subflag: false,\n },\n },\n HeadrInfo: {\n Lunghezza: 32,\n lines: [\n { line: 1, msg: \"\", doubleHigh: false },\n { line: 2, msg: \"\", doubleHigh: false },\n { line: 3, msg: \"\", doubleHigh: false },\n { line: 4, msg: \"\", doubleHigh: false },\n { line: 5, msg: \"\", doubleHigh: false },\n { line: 6, msg: \"\", doubleHigh: false },\n { line: 7, msg: \"\", doubleHigh: false },\n { line: 8, msg: \"\", doubleHigh: false },\n { line: 9, msg: \"\", doubleHigh: false },\n ],\n },\n TAX: [\n {\n taxid: 1,\n code: \"A\",\n rate: 4,\n },\n {\n taxid: 2,\n code: \"B\",\n rate: 10,\n },\n {\n taxid: 3,\n code: \"C\",\n rate: 22,\n },\n {\n taxid:4,\n code:\"D\",\n rate:5\n },\n {\n taxid:5,\n code:\"E\",\n rate:0\n },\n {\n taxid:6,\n code:\"F\",\n rate:0\n },\n {\n taxid:7,\n code:\"VI\"\n },\n {\n taxid:8,\n code:\"EE\"\n },\n {\n taxid:9,\n code:\"NS\"\n },\n {\n taxid:10,\n code:\"NI\"\n },\n {\n taxid:11,\n code:\"ES\"\n },\n {\n taxid:12,\n code:\"RM\"\n },\n {\n taxid:13,\n code:\"AL\"\n }\n ],\n tail: {\n lines: [\n {\n line: 1,\n msg: \"\",\n prtFlag: 0,\n },\n {\n line: 2,\n msg: \"\",\n prtFlag: 0,\n },\n ],\n tailSpaceLine: 1,\n },\n PrnDensity: 5,\n advertMsg: {\n msg: \"\",\n display: true,\n },\n clerk: [],\n macro: [],\n currency: [],\n Ateco: [],\n omaggio: [],\n PayKey: [\n {\n key: \"ASSEGNI Key\",\n description: \"PAGAME. DEFAULT\",\n },\n {\n key: \"TICKET Key\",\n description: \"TUTTI I PAGAME.\",\n },\n {\n key: \"CREDITO Key\",\n description: \"NON PAGATO CREDITO\",\n },\n ],\n varie: {\n SetPsw: 0,\n printReportFlag: {\n Finanziario: false,\n \"Operatore Per.\": false,\n \"Repati Giorno\": false,\n \"IVA Giorno\": false,\n \"Vendite Orarie Per\": false,\n },\n barcodeType: 0,\n fpflag: false,\n display: false,\n fptype: \"Rs232\",\n BaudRate: 9600,\n },\n programkey: {\n programkey0: [],\n programkey1: [],\n },\n logo: {},\n urlData: {\n z_report_url:\n \"https://apid-ivaservizi.agenziaentrate.gov.it/v1/dispositivi/\",\n lottery_file_url:\n \"https://apid-ivaservizi.agenziaentrate.gov.it/v1/dispositivi/lotteria/corrispettivi/\",\n ssl_crt_filepath: \"\",\n xml_crt_filepath: \"\",\n lotteryStartDate: \"16-10-2023\",\n },\n serverServices: \"https://api.dtr-service.it/\",\n footerlogo: {},\n};\n","import { createSlice } from \"@reduxjs/toolkit\";\nimport * as versions from \"../../utils/versions\";\nimport DefaultConfiguration from \"../../../../common/cashregisters/default_configuration\";\n\nconst initialState = {\n listLoading: false,\n actionsLoading: false,\n content: DefaultConfiguration,\n plu: [],\n lastContent: DefaultConfiguration,\n cashRegister: null,\n version: versions.defaultVersion(),\n entities: [],\n checked: [],\n lastError: null,\n};\n\nexport const callTypes = {\n list: \"list\",\n action: \"action\",\n};\n\nexport const slice = createSlice({\n name: \"configuration\",\n initialState: initialState,\n reducers: {\n catchError: (state, action) => {\n state.error = `${action.type}: ${JSON.stringify(action.payload.error)}`;\n if (action.payload.callType === callTypes.list) {\n state.listLoading = false;\n } else {\n state.actionsLoading = false;\n }\n },\n startCall: (state, action) => {\n state.error = null;\n if (action.payload.callType === callTypes.list) {\n state.listLoading = true;\n } else {\n state.actionsLoading = true;\n }\n },\n setLastConfiguration: (state, action) => {\n if (!action.payload.content) {\n state.lastContent = DefaultConfiguration;\n } else {\n state.lastContent = action.payload.content;\n }\n },\n setCurrentConfiguration: (state, action) => {\n if (!action.payload.content) {\n state.content = DefaultConfiguration;\n } else {\n state.content = action.payload.content;\n }\n },\n setPlu: (state, action) => {\n if (!action.payload.content) {\n state.plu = [];\n } else {\n state.plu = action.payload.content;\n }\n },\n setVersion: (state, action) => {\n state.version = action.payload.version;\n },\n setChecked: (state, action) => {\n state.checked = action.payload.checked;\n },\n toggleEntity: (state, action) => {\n const { entity } = action.payload;\n if (state.entities.includes(entity)) {\n state.entities = state.entities.filter((el) => el !== entity);\n } else {\n state.entities = [...state.entities, entity];\n }\n },\n setCurrentCashRegister: (state, action) => {\n if (!action.payload.cashRegister) {\n state.cashRegister = null;\n } else {\n state.cashRegister = {\n ...action.payload.cashRegister,\n extensions: JSON.parse(action.payload.cashRegister.extensions),\n };\n }\n },\n updatePlu: (state, action) => {\n if (action.payload.idx >= 0 && action.payload.idx < state.plu.length) {\n state.plu[action.payload.idx] = action.payload.newValues;\n }\n\n if (action.payload.idx >= state.plu.length) {\n if (state.plu.length <= 0) {\n state.plu = [action.payload.newValues];\n } else {\n state.plu = [...state.plu, [action.payload.newValues]];\n }\n }\n },\n updateConfiguration: (state, action) => {\n const { entity, fieldName, value } = action.payload;\n\n if (fieldName) {\n if (state.content && state.content[entity]) {\n state.content = {\n ...state.content,\n [entity]: {\n ...state.content[entity],\n [fieldName]: value,\n },\n };\n } else {\n state.content = {\n ...state.content,\n [entity]: {\n [fieldName]: value,\n },\n };\n }\n } else {\n if (typeof value === \"object\") {\n if (value instanceof Array) {\n state.content = {\n ...state.content,\n [entity]: [...value],\n };\n } else {\n state.content = {\n ...state.content,\n [entity]: {\n ...value,\n },\n };\n }\n } else {\n state.content = {\n ...state.content,\n [entity]: value,\n };\n }\n }\n },\n },\n});\n","import { API, graphqlOperation } from \"aws-amplify\";\nimport {\n listReceipts,\n receiptsByTenant,\n receiptsByRetailStore,\n receiptsByCustomer,\n receiptsByMoitoIot,\n getReceipt,\n} from \"../../../../../graphql/queries\";\nimport * as moitoIotQueries from \"../../graphql/private/queries\";\n\nexport function findObjects(\n queryParams,\n additionalFilters,\n nextToken,\n customQuery = null\n) {\n const params = {\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n if (Object.keys(params.filter).includes(\"or\")) {\n params.filter.or = params.filter.or.concat([\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ]);\n } else {\n params.filter.or = [\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ];\n }\n }\n\n params.filter = {\n ...params.filter,\n deleted: { ne: true },\n };\n\n return API.graphql(\n graphqlOperation(\n customQuery ? moitoIotQueries[customQuery] : listReceipts,\n params\n )\n );\n}\n\nexport function findObjectsByTenant(\n tenantId,\n queryParams,\n additionalFilters,\n nextToken\n) {\n const params = {\n tenantId: tenantId,\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n if (Object.keys(params.filter).includes(\"or\")) {\n params.filter.or = params.filter.or.concat([\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ]);\n } else {\n params.filter.or = [\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ];\n }\n }\n\n params.filter = {\n ...params.filter,\n deleted: { ne: true },\n };\n\n return API.graphql(graphqlOperation(receiptsByTenant, params));\n}\n\nexport function findObjectsByRetailStore(\n retailStoreId,\n queryParams,\n additionalFilters,\n nextToken,\n customQuery\n) {\n const params = {\n retailStoreId: retailStoreId,\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n if (Object.keys(params.filter).includes(\"or\")) {\n params.filter.or = params.filter.or.concat([\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ]);\n } else {\n params.filter.or = [\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ];\n }\n }\n\n params.filter = {\n ...params.filter,\n deleted: { ne: true },\n };\n\n return API.graphql(graphqlOperation(\n customQuery ? moitoIotQueries[customQuery] : receiptsByRetailStore,\n params\n ));\n}\n\nexport function findObjectsByMoitoIot(\n moitoIotId,\n queryParams,\n additionalFilters,\n nextToken\n) {\n const params = {\n moitoIotId: moitoIotId,\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n if (Object.keys(params.filter).includes(\"or\")) {\n params.filter.or = params.filter.or.concat([\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ]);\n } else {\n params.filter.or = [\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ];\n }\n }\n\n params.filter = {\n ...params.filter,\n deleted: { ne: true },\n };\n \n return API.graphql(graphqlOperation(receiptsByMoitoIot, params));\n}\n\nexport function findObjectsByCustomer(\n customerId,\n queryParams,\n additionalFilters,\n nextToken,\n customQuery\n) {\n const params = {\n customerId: customerId,\n sortDirection: \"DESC\",\n limit: queryParams.pageSize,\n nextToken: nextToken,\n };\n if (queryParams.filter && Object.keys(queryParams.filter).length > 0) {\n params.filter = queryParams.filter;\n }\n if (additionalFilters) {\n params.filter = {\n ...params.filter,\n ...additionalFilters,\n };\n if (Object.keys(params.filter).includes(\"or\")) {\n params.filter.or = params.filter.or.concat([\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ]);\n } else {\n params.filter.or = [\n { deleted: { eq: false } },\n { deleted: { attributeExists: false } },\n ];\n }\n }\n\n params.filter = {\n ...params.filter,\n deleted: { ne: true },\n };\n\n return API.graphql(graphqlOperation(\n customQuery ? moitoIotQueries[customQuery] : receiptsByCustomer,\n params\n ));\n}\n\nexport function getObjectById(id) {\n return API.graphql(graphqlOperation(getReceipt, { id: id }));\n}\n","import * as request from \"./crud\";\nimport { GenerateSlice, GenerateActions, GenerateFetchObjectsBy, GenerateSlowFetchObjects } from \"../../../../utils/components/generic/_redux\";\n\nconst sliceActions = GenerateSlice(\"receipts\").actions;\n\nexport const actions = {\n ...GenerateActions(sliceActions, request, \"Receipt\"),\n fetchObjects: (qp, af, nextToken, op, cc) => GenerateSlowFetchObjects(\n sliceActions,\n request.findObjects,\n \"listReceipts\",\n qp,\n af,\n nextToken,\n op,\n cc\n ),\n fetchObjectsByTenant: (tenantId, qp, af, nextToken, op) => GenerateFetchObjectsBy(\n sliceActions,\n request.findObjectsByTenant,\n \"receiptsByTenant\",\n tenantId,\n qp,\n af,\n nextToken,\n op\n ),\n fetchObjectsByRetailStore: (retailStoreId, qp, af, nextToken, op, cc) => GenerateFetchObjectsBy(\n sliceActions,\n request.findObjectsByRetailStore,\n \"receiptsByRetailStore\",\n retailStoreId,\n qp,\n af,\n nextToken,\n op,\n cc\n ),\n fetchObjectsByMoitoIot: (moitoIotId, qp, af, nextToken, op) => GenerateFetchObjectsBy(\n sliceActions,\n request.findObjectsByMoitoIot,\n \"receiptsByMoitoIot\",\n moitoIotId,\n qp,\n af,\n nextToken,\n op\n ),\n fetchObjectsByCustomer: (customerId, qp, af, nextToken, op, cc) => GenerateFetchObjectsBy(\n sliceActions,\n request.findObjectsByCustomer,\n \"receiptsByCustomer\",\n customerId,\n qp,\n af,\n nextToken,\n op,\n cc\n ),\n};\n","/* eslint-disable */\n\"use strict\";\n\nimport { KTUtil } from \"./util\";\n\n// Component Definition\nvar KTCard = function(elementId, options) {\n // Main object\n var the = this;\n var init = false;\n\n // Get element object\n var element = KTUtil.getById(elementId);\n var body = KTUtil.getBody();\n\n if (!element) {\n return;\n }\n\n // Default options\n var defaultOptions = {\n toggleSpeed: 400,\n sticky: {\n releseOnReverse: false,\n offset: 300,\n zIndex: 101\n }\n };\n\n ////////////////////////////\n // ** Private Methods ** //\n ////////////////////////////\n\n var Plugin = {\n /**\n * Construct\n */\n\n construct: function(options) {\n if (KTUtil.data(element).has('card')) {\n the = KTUtil.data(element).get('card');\n } else {\n // reset menu\n Plugin.init(options);\n\n // build menu\n Plugin.build();\n\n KTUtil.data(element).set('card', the);\n }\n\n return the;\n },\n\n /**\n * Init card\n */\n init: function(options) {\n the.element = element;\n the.events = [];\n\n // merge default and user defined options\n the.options = KTUtil.deepExtend({}, defaultOptions, options);\n the.header = KTUtil.child(element, '.card-header');\n the.footer = KTUtil.child(element, '.card-footer');\n\n if (KTUtil.child(element, '.card-body')) {\n the.body = KTUtil.child(element, '.card-body');\n } else if (KTUtil.child(element, '.form')) {\n the.body = KTUtil.child(element, '.form');\n }\n },\n\n /**\n * Build Form Wizard\n */\n build: function() {\n // Remove\n var remove = KTUtil.find(the.header, '[data-card-tool=remove]');\n if (remove) {\n KTUtil.addEvent(remove, 'click', function(e) {\n e.preventDefault();\n Plugin.remove();\n });\n }\n\n // Reload\n var reload = KTUtil.find(the.header, '[data-card-tool=reload]');\n if (reload) {\n KTUtil.addEvent(reload, 'click', function(e) {\n e.preventDefault();\n Plugin.reload();\n });\n }\n\n // Toggle\n var toggle = KTUtil.find(the.header, '[data-card-tool=toggle]');\n if (toggle) {\n KTUtil.addEvent(toggle, 'click', function(e) {\n e.preventDefault();\n Plugin.toggle();\n });\n }\n },\n\n /**\n * Enable stickt mode\n */\n initSticky: function() {\n var lastScrollTop = 0;\n var offset = the.options.sticky.offset;\n\n if (!the.header) {\n return;\n }\n\n\t window.addEventListener('scroll', Plugin.onScrollSticky);\n },\n\n\t /**\n\t * Window scroll handle event for sticky card\n\t */\n\t onScrollSticky: function(e) {\n\t\t var offset = the.options.sticky.offset;\n\n\t\t if(isNaN(offset)) return;\n\n\t\t var st = KTUtil.getScrollTop();\n\n\t\t if (st >= offset && KTUtil.hasClass(body, 'card-sticky-on') === false) {\n\t\t\t Plugin.eventTrigger('stickyOn');\n\n\t\t\t KTUtil.addClass(body, 'card-sticky-on');\n\n\t\t\t Plugin.updateSticky();\n\n\t\t } else if ((st*1.5) <= offset && KTUtil.hasClass(body, 'card-sticky-on')) {\n\t\t\t // Back scroll mode\n\t\t\t Plugin.eventTrigger('stickyOff');\n\n\t\t\t KTUtil.removeClass(body, 'card-sticky-on');\n\n\t\t\t Plugin.resetSticky();\n\t\t }\n\t },\n\n updateSticky: function() {\n if (!the.header) {\n return;\n }\n\n var top;\n\n if (KTUtil.hasClass(body, 'card-sticky-on')) {\n if (the.options.sticky.position.top instanceof Function) {\n top = parseInt(the.options.sticky.position.top.call(this, the));\n } else {\n top = parseInt(the.options.sticky.position.top);\n }\n\n var left;\n if (the.options.sticky.position.left instanceof Function) {\n left = parseInt(the.options.sticky.position.left.call(this, the));\n } else {\n left = parseInt(the.options.sticky.position.left);\n }\n\n var right;\n if (the.options.sticky.position.right instanceof Function) {\n right = parseInt(the.options.sticky.position.right.call(this, the));\n } else {\n right = parseInt(the.options.sticky.position.right);\n }\n\n KTUtil.css(the.header, 'z-index', the.options.sticky.zIndex);\n KTUtil.css(the.header, 'top', top + 'px');\n KTUtil.css(the.header, 'left', left + 'px');\n KTUtil.css(the.header, 'right', right + 'px');\n }\n },\n\n resetSticky: function() {\n if (!the.header) {\n return;\n }\n\n if (KTUtil.hasClass(body, 'card-sticky-on') === false) {\n KTUtil.css(the.header, 'z-index', '');\n KTUtil.css(the.header, 'top', '');\n KTUtil.css(the.header, 'left', '');\n KTUtil.css(the.header, 'right', '');\n }\n },\n\n /**\n * Remove card\n */\n remove: function() {\n if (Plugin.eventTrigger('beforeRemove') === false) {\n return;\n }\n\n KTUtil.remove(element);\n\n Plugin.eventTrigger('afterRemove');\n },\n\n /**\n * Set content\n */\n setContent: function(html) {\n if (html) {\n the.body.innerHTML = html;\n }\n },\n\n /**\n * Get body\n */\n getBody: function() {\n return the.body;\n },\n\n /**\n * Get self\n */\n getSelf: function() {\n return element;\n },\n\n /**\n * Reload\n */\n reload: function() {\n Plugin.eventTrigger('reload');\n },\n\n /**\n * Toggle\n */\n toggle: function() {\n if (KTUtil.hasClass(element, 'card-collapse') || KTUtil.hasClass(element, 'card-collapsed')) {\n Plugin.expand();\n } else {\n Plugin.collapse();\n }\n },\n\n /**\n * Collapse\n */\n collapse: function() {\n if (Plugin.eventTrigger('beforeCollapse') === false) {\n return;\n }\n\n KTUtil.slideUp(the.body, the.options.toggleSpeed, function() {\n Plugin.eventTrigger('afterCollapse');\n });\n\n KTUtil.addClass(element, 'card-collapse');\n },\n\n /**\n * Expand\n */\n expand: function() {\n if (Plugin.eventTrigger('beforeExpand') === false) {\n return;\n }\n\n KTUtil.slideDown(the.body, the.options.toggleSpeed, function() {\n Plugin.eventTrigger('afterExpand');\n });\n\n KTUtil.removeClass(element, 'card-collapse');\n KTUtil.removeClass(element, 'card-collapsed');\n },\n\n /**\n * Trigger events\n */\n eventTrigger: function(name) {\n //KTUtil.triggerCustomEvent(name);\n for (var i = 0; i < the.events.length; i++) {\n var event = the.events[i];\n if (event.name == name) {\n if (event.one == true) {\n if (event.fired == false) {\n the.events[i].fired = true;\n return event.handler.call(this, the);\n }\n } else {\n return event.handler.call(this, the);\n }\n }\n }\n },\n\n addEvent: function(name, handler, one) {\n the.events.push({\n name: name,\n handler: handler,\n one: one,\n fired: false\n });\n\n return the;\n }\n };\n\n //////////////////////////\n // ** Public Methods ** //\n //////////////////////////\n\n /**\n * Set default options\n */\n\n the.setDefaults = function(options) {\n defaultOptions = options;\n };\n\n /**\n * Remove card\n */\n the.remove = function() {\n return Plugin.remove(html);\n };\n\n /**\n * Init sticky card\n */\n the.initSticky = function() {\n return Plugin.initSticky();\n };\n\n /**\n * Rerender sticky layout\n */\n the.updateSticky = function() {\n return Plugin.updateSticky();\n };\n\n /**\n * Reset the sticky\n */\n the.resetSticky = function() {\n return Plugin.resetSticky();\n };\n\n\t/**\n\t * Destroy sticky card\n\t */\n\tthe.destroySticky = function() {\n\t\tPlugin.resetSticky();\n\t\twindow.removeEventListener('scroll', Plugin.onScrollSticky);\n\t};\n\n /**\n * Reload card\n */\n the.reload = function() {\n return Plugin.reload();\n };\n\n /**\n * Set card content\n */\n the.setContent = function(html) {\n return Plugin.setContent(html);\n };\n\n /**\n * Toggle card\n */\n the.toggle = function() {\n return Plugin.toggle();\n };\n\n /**\n * Collapse card\n */\n the.collapse = function() {\n return Plugin.collapse();\n };\n\n /**\n * Expand card\n */\n the.expand = function() {\n return Plugin.expand();\n };\n\n /**\n * Get cardbody\n * @returns {jQuery}\n */\n the.getBody = function() {\n return Plugin.getBody();\n };\n\n /**\n * Get cardbody\n * @returns {jQuery}\n */\n the.getSelf = function() {\n return Plugin.getSelf();\n };\n\n /**\n * Attach event\n */\n the.on = function(name, handler) {\n return Plugin.addEvent(name, handler);\n };\n\n /**\n * Attach event that will be fired once\n */\n the.one = function(name, handler) {\n return Plugin.addEvent(name, handler, true);\n };\n\n // Construct plugin\n Plugin.construct.apply(the, [options]);\n\n return the;\n};\n\n// webpack support\nif (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\n // module.exports = KTCard;\n}\n\nexport default KTCard;","/* eslint-disable */\n\"use strict\";\n\nimport { KTUtil } from \"./util\";\n\n// Component Definition\nvar KTScrolltop = function(elementId, options) {\n // Main object\n var the = this;\n var init = false;\n\n // Get element object\n var element = KTUtil.getById(elementId);\n var body = KTUtil.getBody();\n\n if (!element) {\n return;\n }\n\n // Default options\n var defaultOptions = {\n offset: 300,\n speed: 6000\n };\n\n ////////////////////////////\n // ** Private Methods ** //\n ////////////////////////////\n\n var Plugin = {\n /**\n * Run plugin\n * @returns {mscrolltop}\n */\n construct: function(options) {\n if (KTUtil.data(element).has('scrolltop')) {\n the = KTUtil.data(element).get('scrolltop');\n } else {\n // reset scrolltop\n Plugin.init(options);\n\n // build scrolltop\n Plugin.build();\n\n KTUtil.data(element).set('scrolltop', the);\n }\n\n return the;\n },\n\n /**\n * Handles subscrolltop click toggle\n * @returns {mscrolltop}\n */\n init: function(options) {\n the.events = [];\n\n // merge default and user defined options\n the.options = KTUtil.deepExtend({}, defaultOptions, options);\n },\n\n build: function() {\n var timer;\n\n window.addEventListener('scroll', function() {\n KTUtil.throttle(timer, function() {\n Plugin.handle();\n }, 200);\n });\n\n // handle button click\n KTUtil.addEvent(element, 'click', Plugin.scroll);\n },\n\n /**\n * Handles scrolltop click scrollTop\n */\n handle: function() {\n var pos = KTUtil.getScrollTop(); // current vertical position\n\n if (pos > the.options.offset) {\n if (body.hasAttribute('data-scrolltop') === false) {\n body.setAttribute('data-scrolltop', 'on');\n }\n } else {\n if (body.hasAttribute('data-scrolltop') === true) {\n body.removeAttribute('data-scrolltop');\n }\n }\n },\n\n /**\n * Handles scrolltop click scrollTop\n */\n scroll: function(e) {\n e.preventDefault();\n\n KTUtil.scrollTop(0, the.options.speed);\n },\n\n\n /**\n * Trigger events\n */\n eventTrigger: function(name, args) {\n for (var i = 0; i < the.events.length; i++) {\n var event = the.events[i];\n if (event.name == name) {\n if (event.one == true) {\n if (event.fired == false) {\n the.events[i].fired = true;\n return event.handler.call(this, the, args);\n }\n } else {\n return event.handler.call(this, the, args);\n }\n }\n }\n },\n\n addEvent: function(name, handler, one) {\n the.events.push({\n name: name,\n handler: handler,\n one: one,\n fired: false\n });\n }\n };\n\n //////////////////////////\n // ** Public Methods ** //\n //////////////////////////\n\n /**\n * Set default options\n */\n\n the.setDefaults = function(options) {\n defaultOptions = options;\n };\n\n /**\n * Get subscrolltop mode\n */\n the.on = function(name, handler) {\n return Plugin.addEvent(name, handler);\n };\n\n /**\n * Set scrolltop content\n * @returns {mscrolltop}\n */\n the.one = function(name, handler) {\n return Plugin.addEvent(name, handler, true);\n };\n\n ///////////////////////////////\n // ** Plugin Construction ** //\n ///////////////////////////////\n\n // Run plugin\n Plugin.construct.apply(the, [options]);\n\n // Init done\n init = true;\n\n // Return plugin instance\n return the;\n};\n\n// webpack support\nif (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\n // module.exports = KTScrolltop;\n}\n\nexport default KTScrolltop;"],"sourceRoot":""}