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AAA,EAAwB,IAC9Dw8N,EAAS5+L,KAAKic,IAAGnrD,MAARkvC,MAAIrmD,EAAAA,EAAAA,GAAQglP,EAAc90O,KAAI,SAAAiuB,GAAQ,OAAR5/B,EAAAA,EAAAA,GAAA4/B,EAAA,GAAQ,GAAaluB,MAAM,MACxE,OAAO+0O,EACJ90O,KAAI,SAAAsK,GAAA,IAAAiE,GAAAlgB,EAAAA,EAAAA,GAAAic,EAAA,GAAEysE,EAAMxoE,EAAA,GAAE0iE,EAAI1iE,EAAA,UAAMwoE,EAAO0jC,SAASs6H,IAAW9jK,EAAO,IAAMA,EAAO,GAAG,IAC1E/vE,KAAK,KACV,gGCzDA,IAAM8zO,EAAgB,gCAEtB,SAASC,EAAgB5/L,GACvB,OAAO6/L,EAAgB7/L,EAAIK,WAAW,GACxC,CAEA,IAAMw/L,EAAkB,CACtB,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,MACA,MACA,MACA,UACA,MACA,MACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,GACA,GACA,MACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,OACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,U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AAA,GAAAA,KAACowQ,IAAK1qQ,EAAAA,EAAAA,GAAA,GAAK47C,KACK,KAGnBthD,EAAAA,GAAAA,KAAC4zL,EAAAA,GAAK,CACLjuL,KAAK,IACLioE,OAAQ,SAAAtsB,GAAK,OACZthD,EAAAA,GAAAA,KAAC2iD,EAAAA,SAAc,CAAC21H,UAAUt4K,EAAAA,GAAAA,KAAA6uD,GAAAA,SAAA,IAAM7O,UAC/BhgD,EAAAA,GAAAA,KAACqwQ,IAAQ3qQ,EAAAA,EAAAA,GAAA,GAAK47C,KACE,WAKrBthD,EAAAA,GAAAA,KAACkuQ,GAAW,CACXtlN,IAAK,SAAAA,GACAA,IACHpxD,EAAAA,EAAM64C,MAAQuY,EAEhB,cASR,KAwBA0nN,CAAA,CAvIuB,CAAS3tN,EAAAA,8CCfjC9R,OAAOr5C,MAAQA,EAAAA,EAEfq5C,OAAOxqD,OAASA,GAGhBuqE,KAAS,CACRwC,OAAQviB,OAAO0B,aAAaw+N,MAC5B1/M,SAAU75D,EAAAA,EAAM66C,gBAAgB2+N,UAKjCC,EAAAA,QAAgBjxQ,EAAAA,GAAAA,KAACswQ,GAAG,IAAK1jN,SAASC,eAAe","sources":["Constants.tsx","Hooks/useAsync.ts","Models/CRUDOptions.tsx","Models/Security/Acl/VisitorsBusinessEntityEntity.tsx","Models/Security/Acl/UserBusinessEntityEntity.tsx","Models/Entities/BusinessEntity.tsx","Models/Entities/CustomerAuditEntity.tsx","Models/Security/Acl/UserIndustryCodesEntity.tsx","Models/Security/Acl/VisitorsIndustryCodesEntity.tsx","Models/Entities/IndustryCodesEntity.tsx","Models/Security/Acl/UserOrganisationEntity.tsx","Models/Security/Acl/VisitorsOrganisationEntity.tsx","Models/Entities/OrganisationEntity.tsx","Models/Entities/ReferralRegistrationData.tsx","Models/Entities/RegistrationData.tsx","Models/Security/Acl/UserAtbFileEntity.tsx","Models/Security/Acl/VisitorsAtbFileEntity.tsx","Models/Entities/AtbFileEntity.tsx","Models/Security/Acl/UserAtbRecordEntity.tsx","Models/Security/Acl/VisitorsAtbRecordEntity.tsx","Models/Entities/AtbRecordEntity.tsx","Models/Security/Acl/VisitorsAtoDebt.tsx","Models/Security/Acl/UserAtoDebt.tsx","Models/Entities/AtoDebtEntity.tsx","Models/Security/Acl/VisitorsAtoFile.tsx","Models/Security/Acl/UserAtoFile.tsx","Models/Entities/AtoFileEntity.tsx","Models/Security/Acl/VisitorsAtoRecord.tsx","Models/Security/Acl/UserAtoRecord.tsx","Models/Entities/AtoRecordEntity.tsx","Models/Security/Acl/UserActiveCustomerPricingTierEntity.tsx","Models/Security/Acl/VisitorsActiveCustomerPricingTierEntity.tsx","Models/Entities/ActiveCustomerPricingTierEntity.tsx","Models/Security/Acl/UserActiveUserPricingTierEntity.tsx","Models/Security/Acl/VisitorsActiveUserPricingTierEntity.tsx","Models/Entities/ActiveUserPricingTierEntity.tsx","Models/Security/Acl/VisitorsAddressEntity.tsx","Models/Security/Acl/UserAddressEntity.tsx","Models/Entities/AddressEntity.tsx","Models/Security/Acl/UserAlaresCategoryRankingEntity.tsx","Models/Security/Acl/VisitorsAlaresCategoryRankingEntity.tsx","Models/Entities/AlaresCategoryRankingEntity.tsx","Models/Security/Acl/UserAlaresEntity.tsx","Models/Security/Acl/VisitorsAlaresEntity.tsx","Models/Entities/AlaresEntity.tsx","Models/Security/Acl/UserAlaresReport.tsx","Models/Security/Acl/VisitorsAlaresReport.tsx","Models/Entities/AlaresReportEntity.tsx","Models/Security/Acl/UserAlaresWatchlistNotification.tsx","Models/Security/Acl/VisitorsAlaresWatchlistNotification.tsx","Models/Security/Acl/UserAlaresWebhookAlert.tsx","Models/Security/Acl/VisitorsAlaresWebhookAlert.tsx","Models/Entities/AlaresWatchlistNotificationEntity.tsx","Models/Entities/AlaresWebhookAlertEntity.tsx","Models/Security/Acl/UserApplicationEntity.tsx","Models/Security/Acl/VisitorsApplicationEntity.tsx","Models/Entities/ApplicationEntity.tsx","Models/Security/Acl/UserBoard.tsx","Models/Security/Acl/VisitorsBoard.tsx","Models/Entities/BoardEntity.tsx","Models/Security/Acl/UserBusinessEntityCreditReportSettings.tsx","Models/Security/Acl/VisitorsBusinessEntityCreditReportSettings.tsx","Models/Entities/BusinessEntityCreditReportSettingsEntity.tsx","Models/Security/Acl/UserCreditBureauEntity.tsx","Models/Security/Acl/VisitorsCreditBureauEntity.tsx","Models/Entities/CreditBureauEntity.tsx","Models/Security/Acl/UserCreditReport.tsx","Models/Security/Acl/VisitorsCreditReport.tsx","Models/Entities/CreditReportEntity.tsx","Models/Security/Acl/VisitorsCustomerEntity.tsx","Models/Security/Acl/UserCustomerEntity.tsx","Models/Entities/CustomerEntity.tsx","Models/Security/Acl/UserDirector.tsx","Models/Security/Acl/VisitorsDirector.tsx","Models/Entities/DirectorEntity.tsx","Models/Security/Acl/UserDirectorboards.tsx","Models/Security/Acl/VisitorsDirectorboards.tsx","Models/Entities/DirectorboardsEntity.tsx","Models/Security/Acl/UserDiscountEntity.tsx","Models/Security/Acl/VisitorsDiscountEntity.tsx","Models/Entities/DiscountEntity.tsx","Models/Security/Acl/UserDocumentEntity.tsx","Models/Security/Acl/VisitorsDocumentEntity.tsx","Models/Entities/DocumentEntity.tsx","Models/Security/Acl/VisitorsEsignceremonysignee.tsx","Models/Security/Acl/UserEsignceremonysignee.tsx","Models/Entities/EsignceremonysigneeEntity.tsx","Models/Security/Acl/VisitorsEsignceremonywitness.tsx","Models/Security/Acl/UserEsignceremonywitness.tsx","Models/Entities/EsignceremonywitnessEntity.tsx","Models/Security/Acl/VisitorsEsigntemplate.tsx","Models/Security/Acl/UserEsigntemplate.tsx","Models/Entities/EsigntemplateEntity.tsx","Models/Security/Acl/VisitorsEsigntemplatecontent.tsx","Models/Security/Acl/UserEsigntemplatecontent.tsx","Models/Entities/EsigntemplatecontentEntity.tsx","Models/Security/Acl/VisitorsEsignuser.tsx","Models/Security/Acl/UserEsignuser.tsx","Models/Entities/EsignuserEntity.tsx","Models/Security/Acl/VisitorsEsingworkflow.tsx","Models/Security/Acl/UserEsingworkflow.tsx","Models/Entities/EsignworkflowEntity.tsx","Models/Security/Acl/UserGroupEntity.tsx","Models/Security/Acl/VisitorsGroupEntity.tsx","Models/Entities/GroupEntity.tsx","Models/Security/Acl/UserInvoiceEntity.tsx","Models/Security/Acl/VisitorsInvoiceEntity.tsx","Models/Entities/InvoiceEntity.tsx","Models/Security/Acl/VisitorsLogo.tsx","Models/Security/Acl/UserLogo.tsx","Models/Entities/LogoEntity.tsx","Models/Security/Acl/UserMonitored.tsx","Models/Entities/MonitoredEntity.tsx","Models/Entities/MonitoredentityauditEntity.tsx","Models/Security/Acl/UserMonitoringProvider.tsx","Models/Security/Acl/VisitorsMonitoringProvider.tsx","Models/Entities/MonitoringProviderEntity.tsx","Models/Security/Acl/VisitorsMonthlyExposurePricingTierEntity.tsx","Models/Security/Acl/UserMonthlyExposurePricingTierEntity.tsx","Models/Entities/MonthlyExposurePricingTierEntity.tsx","Models/Security/Acl/UserOptionHowDidYouHearEntity.tsx","Models/Security/Acl/VisitorsOptionHowDidYouHearEntity.tsx","Models/Entities/OptionHowDidYouHearEntity.tsx","Models/Security/Acl/UserOptionReferrerCharityEntity.tsx","Models/Security/Acl/VisitorsOptionReferrerCharityEntity.tsx","Models/Entities/OptionReferrerCharityEntity.tsx","Models/Security/Acl/UserOrganisationCategory.tsx","Models/Security/Acl/VisitorsOrganisationCategory.tsx","Models/Entities/OrganisationCategoryEntity.tsx","Models/Security/Acl/UserPaymentMethod.tsx","Models/Security/Acl/VisitorsPaymentMethod.tsx","Models/Entities/PaymentMethodEntity.tsx","Models/Security/Acl/UserPaymentStatus.tsx","Models/Security/Acl/VisitorsPaymentStatus.tsx","Models/Entities/PaymentStatusEntity.tsx","Models/Security/Acl/UserPricingConfiguration.tsx","Models/Security/Acl/VisitorsPricingConfiguration.tsx","Models/Entities/PricingConfigurationEntity.tsx","Models/Security/Acl/UserProvider.tsx","Models/Security/Acl/VisitorsProvider.tsx","Models/Entities/ProviderEntity.tsx","Models/Security/Acl/VisitorsProviderProduct.tsx","Models/Security/Acl/UserProviderProduct.tsx","Models/Entities/ProviderProductEntity.tsx","Models/Security/Acl/UserProviderProductOrganisation.tsx","Models/Security/Acl/VisitorsProviderProductOrganisation.tsx","Models/Entities/ProviderProductOrganisationEntity.tsx","Models/Security/Acl/UserProviderType.tsx","Models/Security/Acl/VisitorsProviderType.tsx","Models/Entities/ProviderTypeEntity.tsx","Models/Security/Acl/VisitorsReferralPartnerGroupEntity.tsx","Models/Security/Acl/UserReferralPartnerGroupEntity.tsx","Models/Entities/ReferralPartnerGroupEntity.tsx","Models/Security/Acl/VisitorsRegistrationEntity.tsx","Models/Security/Acl/UserRegistrationEntity.tsx","Models/Entities/RegistrationEntity.tsx","Models/Security/Acl/VisitorsRegistrationFileEntity.tsx","Models/Security/Acl/UserRegistrationFileEntity.tsx","Models/Entities/RegistrationFileEntity.tsx","Models/Security/Acl/UserReportRequest.tsx","Models/Security/Acl/VisitorsReportRequest.tsx","Models/Entities/ReportRequestEntity.tsx","Models/Security/Acl/VisitorsSmsToken.tsx","Models/Security/Acl/UserSmsToken.tsx","Models/Entities/SmsTokenEntity.tsx","Models/Security/Acl/UserSpgEntity.tsx","Models/Security/Acl/VisitorsSpgEntity.tsx","Models/Entities/SpgEntity.tsx","Models/Security/Acl/VisitorsTrustEntityCodesEntity.tsx","Models/Security/Acl/UserTrustEntityCodesEntity.tsx","Models/Entities/TrustEntityCodesEntity.tsx","Models/Security/Acl/VisitorsUserEntity.tsx","Models/Security/Acl/UserUserEntity.tsx","Models/Entities/UserEntity.tsx","Models/Security/Acl/UserAuthorisedCreditBureauReferenceManyToMany.tsx","Models/Security/Acl/VisitorsAuthorisedCreditBureauReferenceManyToMany.tsx","Models/Entities/OrganisationAuthorisedCreditBureau.tsx","Models/Security/Acl/VisitorsCustomersReferenceManyToMany.tsx","Models/Security/Acl/UserCustomersReferenceManyToMany.tsx","Models/Entities/GroupsCustomers.tsx","Models/Security/Acl/UserMonitoredcustomersmanytomany.tsx","Models/Security/Acl/VisitorsMonitoredcustomersmanytomany.tsx","Models/Entities/MonitoredsCustomers.tsx","Models/Security/Acl/VisitorsOrganisationmonitoringprovidersmanytomany.tsx","Models/Security/Acl/UserOrganisationmonitoringprovidersmanytomany.tsx","Models/Entities/MonitoringProviderOrganisation.tsx","Models/Security/Acl/UserBusinessentitypaymentmethodmanytomany.tsx","Models/Security/Acl/VisitorsBusinessentitypaymentmethodmanytomany.tsx","Models/Entities/BusinessEntityPaymentMethod.tsx","Models/Security/Acl/UserOrganisationprovider.tsx","Models/Security/Acl/VisitorsOrganisationprovider.tsx","Models/Entities/OrganisationProvider.tsx","Models/Security/Acl/UserUserReferenceManyToMany.tsx","Models/Security/Acl/VisitorsUserReferenceManyToMany.tsx","Models/Entities/BusinessEntityUser.tsx","Models/Enums.tsx","../node_modules/uuid/dist/esm-browser/parse.js","../node_modules/uuid/dist/esm-browser/sha1.js","../node_modules/uuid/dist/esm-browser/v5.js","../node_modules/uuid/dist/esm-browser/v35.js","Util/TypeGuards.tsx","Models/Model.tsx","Models/Security/Acl/SuperAdministratorScheme.tsx","Models/Security/Acl/UserCustomerAudit.tsx","Models/Security/Acl/UserMonitoredEntityAudit.tsx","Models/Security/Acl/VisitorsMonitoredEntityAudit.tsx","Models/Store.tsx","Models/UserPermissions.tsx","Services/Api/AuthorizationService.ts","Services/TwoFactor/Common.tsx","Symbols.tsx","Util/AttributeUtils.tsx","Util/EntityUtils.tsx","Util/FetchUtils.tsx","Util/GraphQLUtils.tsx","Util/StringUtils.tsx","Util/ToastifyUtils.tsx","Validators/Functions/Custom.tsx","Validators/Functions/Email.tsx","Validators/Util.tsx","Validators/Functions/Integer.tsx","Validators/Functions/Length.tsx","Validators/Functions/Numeric.tsx","Validators/Functions/Required.tsx","Validators/Functions/Unique.tsx","Views/Components/Button/Button.tsx","Views/Components/Button/ButtonGroup.tsx","Views/Components/CRUD/Attributes/AttributeFile.tsx","Views/Components/Checkbox/Checkbox.tsx","Views/Components/FileUpload/FileUpload.tsx","Views/Components/FileUpload/UploadPreview.tsx","Views/Components/Helpers/Common.tsx","Views/Components/Helpers/InputsHelper.tsx","Views/Components/If/If.tsx","Views/Components/Inputs/InputWrapper.tsx","Views/Components/Modal/Modal.tsx","Views/Components/Models/Enums.tsx","Views/Components/Spinner/Spinner.tsx","Views/Components/TextBox/TextBox.tsx","Views/Components/Tooltip/Tooltip.tsx","config/quickRegister.ts","../node_modules/@intercom/messenger-js-sdk/dist/constants.js","../node_modules/@intercom/messenger-js-sdk/dist/index.js","../node_modules/@intercom/messenger-js-sdk/dist/instance-manager.js","../node_modules/axios/index.js","../node_modules/axios/lib/adapters/xhr.js","../node_modules/axios/lib/axios.js","../node_modules/axios/lib/cancel/Cancel.js","../node_modules/axios/lib/cancel/CancelToken.js","../node_modules/axios/lib/cancel/isCancel.js","../node_modules/axios/lib/core/Axios.js","../node_modules/axios/lib/core/InterceptorManager.js","../node_modules/axios/lib/core/buildFullPath.js","../node_modules/axios/lib/core/createError.js","../node_modules/axios/lib/core/dispatchRequest.js","../node_modules/axios/lib/core/enhanceError.js","../node_modules/axios/lib/core/mergeConfig.js","../node_modules/axios/lib/core/settle.js","../node_modules/axios/lib/core/transformData.js","../node_modules/axios/lib/defaults.js","../node_modules/axios/lib/helpers/bind.js","../node_modules/axios/lib/helpers/buildURL.js","../node_modules/axios/lib/helpers/combineURLs.js","../node_modules/axios/lib/helpers/cookies.js","../node_modules/axios/lib/helpers/isAbsoluteURL.js","../node_modules/axios/lib/helpers/isAxiosError.js","../node_modules/axios/lib/helpers/isURLSameOrigin.js","../node_modules/axios/lib/helpers/normalizeHeaderName.js","../node_modules/axios/lib/helpers/parseHeaders.js","../node_modules/axios/lib/helpers/spread.js","../node_modules/axios/lib/helpers/validator.js","../node_modules/axios/lib/utils.js","../node_modules/classnames/index.js","../node_modules/clsx/dist/clsx.m.js","../node_modules/exenv/index.js","../node_modules/graphql-tag/src/index.ts","../node_modules/resolve-pathname/esm/resolve-pathname.js","../node_modules/value-equal/esm/value-equal.js","../node_modules/history/esm/history.js","../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","../node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js","../node_modules/hoist-non-react-statics/node_modules/react-is/index.js","../node_modules/lodash/lodash.js","../node_modules/mobx-react-lite/es/assertEnvironment.js","../node_modules/mobx-react-lite/es/utils.js","../node_modules/mobx-react-lite/es/observerBatching.js","../node_modules/mobx-react-lite/es/staticRendering.js","../node_modules/mobx-react-lite/es/printDebugValue.js","../node_modules/mobx-react-lite/es/reactionCleanupTracking.js","../node_modules/mobx-react-lite/es/useQueuedForceUpdate.js","../node_modules/mobx-react-lite/es/useObserver.js","../node_modules/mobx-react-lite/es/observer.js","../node_modules/mobx-react-lite/es/ObserverComponent.js","../node_modules/mobx-react-lite/es/useAsObservableSource.js","../node_modules/mobx-react-lite/es/useLocalStore.js","../node_modules/mobx-react-lite/es/index.js","../node_modules/mobx/lib/mobx.module.js","../node_modules/moment/moment.js","../node_modules/object-assign/index.js","../node_modules/path-to-regexp/index.js","../node_modules/path-to-regexp/node_modules/isarray/index.js","../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/index.js","../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/qr.js/lib/8BitByte.js","../node_modules/qr.js/lib/BitBuffer.js","../node_modules/qr.js/lib/ErrorCorrectLevel.js","../node_modules/qr.js/lib/Polynomial.js","../node_modules/qr.js/lib/QRCode.js","../node_modules/qr.js/lib/RSBlock.js","../node_modules/qr.js/lib/math.js","../node_modules/qr.js/lib/mode.js","../node_modules/qr.js/lib/util.js","../node_modules/qrcode.react/lib/index.js","../node_modules/querystring/decode.js","../node_modules/querystring/encode.js","../node_modules/querystring/index.js","../node_modules/react-dom/cjs/react-dom.production.min.js","../node_modules/react-dom/index.js","../node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js","../node_modules/react-modal/lib/components/Modal.js","../node_modules/react-modal/lib/components/ModalPortal.js","../node_modules/react-modal/lib/helpers/ariaAppHider.js","../node_modules/react-modal/lib/helpers/bodyTrap.js","../node_modules/react-modal/lib/helpers/classList.js","../node_modules/react-modal/lib/helpers/focusManager.js","../node_modules/react-modal/lib/helpers/portalOpenInstances.js","../node_modules/react-modal/lib/helpers/safeHTMLElement.js","../node_modules/react-modal/lib/helpers/scopeTab.js","../node_modules/react-modal/lib/helpers/tabbable.js","../node_modules/react-modal/lib/index.js","../node_modules/react-router/modules/miniCreateReactContext.js","../node_modules/react-router/modules/createContext.js","../node_modules/react-router/modules/createNamedContext.js","../node_modules/react-router/modules/HistoryContext.js","../node_modules/react-router/modules/RouterContext.js","../node_modules/react-router/modules/Router.js","../node_modules/react-router/modules/MemoryRouter.js","../node_modules/react-router/modules/Lifecycle.js","../node_modules/react-router/modules/generatePath.js","../node_modules/react-router/modules/Redirect.js","../node_modules/react-router/modules/matchPath.js","../node_modules/react-router/modules/Route.js","../node_modules/react-router/modules/StaticRouter.js","../node_modules/react-router/modules/Switch.js","../node_modules/react-router/modules/hooks.js","../node_modules/react-router/node_modules/react-is/cjs/react-is.production.min.js","../node_modules/react-router/node_modules/react-is/index.js","../node_modules/react-toastify/src/utils/propValidator.ts","../node_modules/react-toastify/src/utils/constant.ts","../node_modules/react-toastify/src/utils/cssTransition.tsx","../node_modules/react-toastify/src/utils/collapseToast.ts","../node_modules/react-toastify/src/core/eventManager.ts","../node_modules/react-toastify/src/hooks/useKeeper.ts","../node_modules/react-toastify/src/hooks/toastContainerReducer.ts","../node_modules/react-toastify/src/hooks/useToastContainer.ts","../node_modules/react-toastify/src/hooks/useToast.ts","../node_modules/react-toastify/src/components/CloseButton.tsx","../node_modules/react-toastify/src/components/ProgressBar.tsx","../node_modules/react-toastify/src/components/Toast.tsx","../node_modules/react-toastify/src/components/Transitions.tsx","../node_modules/react-toastify/src/components/ToastContainer.tsx","../node_modules/react-toastify/src/core/toast.tsx","../node_modules/react-tooltip/node_modules/uuid/dist/esm-browser/rng.js","../node_modules/react-tooltip/node_modules/uuid/dist/esm-browser/bytesToUuid.js","../node_modules/react-tooltip/node_modules/uuid/dist/esm-browser/v4.js","../node_modules/react-tooltip/node_modules/core-js/internals/global.js","../node_modules/react-tooltip/node_modules/core-js/internals/fails.js","../node_modules/react-tooltip/node_modules/core-js/internals/descriptors.js","../node_modules/react-tooltip/node_modules/core-js/internals/function-bind-native.js","../node_modules/react-tooltip/node_modules/core-js/internals/function-call.js","../node_modules/react-tooltip/node_modules/core-js/internals/object-property-is-enumerable.js","../node_modules/react-tooltip/node_modules/core-js/internals/create-property-descriptor.js","../node_modules/react-tooltip/node_modules/core-js/internals/engine-v8-version.js","../node_modules/react-tooltip/node_modules/core-js/internals/function-uncurry-this-raw.js","../node_modules/react-tooltip/node_modules/core-js/internals/classof-raw.js","../node_modules/react-tooltip/node_modules/core-js/internals/function-uncurry-this.js","../node_modules/react-tooltip/node_modules/core-js/internals/indexed-object.js","../node_modules/react-tooltip/node_modules/core-js/internals/is-null-or-undefined.js","../node_modules/react-tooltip/node_modules/core-js/internals/require-object-coercible.js","../node_modules/react-tooltip/node_modules/core-js/internals/to-indexed-object.js","../node_modules/react-tooltip/node_modules/core-js/internals/document-all.js","../node_modules/react-tooltip/node_modules/core-js/internals/is-callable.js","../node_modules/react-tooltip/node_modules/core-js/internals/is-object.js","../node_modules/react-tooltip/node_modules/core-js/internals/get-built-in.js","../node_modules/react-tooltip/node_modules/core-js/internals/object-is-prototype-of.js","../node_modules/react-tooltip/node_modules/core-js/internals/engine-user-agent.js","../node_modules/react-tooltip/node_modules/core-js/internals/symbol-constructor-detection.js","../node_modules/react-tooltip/node_modules/core-js/internals/use-symbol-as-uid.js","../node_modules/react-tooltip/node_modules/core-js/internals/is-symbol.js","../node_modules/react-tooltip/node_modules/core-js/internals/try-to-string.js","../node_modules/react-tooltip/node_modules/core-js/internals/a-callable.js","../node_modules/react-tooltip/node_modules/core-js/internals/get-method.js","../node_modules/react-tooltip/node_modules/core-js/internals/ordinary-to-primitive.js","../node_modules/react-tooltip/node_modules/core-js/internals/define-global-property.js","../node_modules/react-tooltip/node_modules/core-js/internals/shared-store.js","../node_modules/react-tooltip/node_modules/core-js/internals/shared.js","../node_modules/react-tooltip/node_modules/core-js/internals/to-object.js","../node_modules/react-tooltip/node_modules/core-js/internals/has-own-property.js","../node_modules/react-tooltip/node_modules/core-js/internals/uid.js","../node_modules/react-tooltip/node_modules/core-js/internals/well-known-symbol.js","../node_modules/react-tooltip/node_modules/core-js/internals/to-primitive.js","../node_modules/react-tooltip/node_modules/core-js/internals/to-property-key.js","../node_modules/react-tooltip/node_modules/core-js/internals/document-create-element.js","../node_modules/react-tooltip/node_modules/core-js/internals/ie8-dom-define.js","../node_modules/react-tooltip/node_modules/core-js/internals/object-get-own-property-descriptor.js","../node_modules/react-tooltip/node_modules/core-js/internals/v8-prototype-define-bug.js","../node_modules/react-tooltip/node_modules/core-js/internals/an-object.js","../node_modules/react-tooltip/node_modules/core-js/internals/object-define-property.js","../node_modules/react-tooltip/node_modules/core-js/internals/create-non-enumerable-property.js","../node_modules/react-tooltip/node_modules/core-js/internals/function-name.js","../node_modules/react-tooltip/node_modules/core-js/internals/inspect-source.js","../node_modules/react-tooltip/node_modules/core-js/internals/internal-state.js","../node_modules/react-tooltip/node_modules/core-js/internals/weak-map-basic-detection.js","../node_modules/react-tooltip/node_modules/core-js/internals/shared-key.js","../node_modules/react-tooltip/node_modules/core-js/internals/hidden-keys.js","../node_modules/react-tooltip/node_modules/core-js/internals/make-built-in.js","../node_modules/react-tooltip/node_modules/core-js/internals/define-built-in.js","../node_modules/react-tooltip/node_modules/core-js/internals/math-trunc.js","../node_modules/react-tooltip/node_modules/core-js/internals/to-integer-or-infinity.js","../node_modules/react-tooltip/node_modules/core-js/internals/to-absolute-index.js","../node_modules/react-tooltip/node_modules/core-js/internals/to-length.js","../node_modules/react-tooltip/node_modules/core-js/internals/length-of-array-like.js","../node_modules/react-tooltip/node_modules/core-js/internals/array-includes.js","../node_modules/react-tooltip/node_modules/core-js/internals/object-keys-internal.js","../node_modules/react-tooltip/node_modules/core-js/internals/enum-bug-keys.js","../node_modules/react-tooltip/node_modules/core-js/internals/object-get-own-property-names.js","../node_modules/react-tooltip/node_modules/core-js/internals/object-get-own-property-symbols.js","../node_modules/react-tooltip/node_modules/core-js/internals/own-keys.js","../node_modules/react-tooltip/node_modules/core-js/internals/copy-constructor-properties.js","../node_modules/react-tooltip/node_modules/core-js/internals/is-forced.js","../node_modules/react-tooltip/node_modules/core-js/internals/export.js","../node_modules/react-tooltip/node_modules/core-js/internals/function-bind-context.js","../node_modules/react-tooltip/node_modules/core-js/internals/is-array.js","../node_modules/react-tooltip/node_modules/core-js/internals/to-string-tag-support.js","../node_modules/react-tooltip/node_modules/core-js/internals/classof.js","../node_modules/react-tooltip/node_modules/core-js/internals/is-constructor.js","../node_modules/react-tooltip/node_modules/core-js/internals/array-species-constructor.js","../node_modules/react-tooltip/node_modules/core-js/internals/array-species-create.js","../node_modules/react-tooltip/node_modules/core-js/internals/array-iteration.js","../node_modules/react-tooltip/node_modules/core-js/internals/object-keys.js","../node_modules/react-tooltip/node_modules/core-js/internals/object-define-properties.js","../node_modules/react-tooltip/node_modules/core-js/internals/html.js","../node_modules/react-tooltip/node_modules/core-js/internals/object-create.js","../node_modules/react-tooltip/node_modules/core-js/internals/add-to-unscopables.js","../node_modules/react-tooltip/node_modules/core-js/modules/es.array.find.js","../node_modules/react-tooltip/src/constant.js","../node_modules/react-tooltip/src/decorators/staticMethods.js","../node_modules/react-tooltip/src/decorators/customEvent.js","../node_modules/react-tooltip/src/decorators/bodyMode.js","../node_modules/react-tooltip/src/utils/getPosition.js","../node_modules/react-tooltip/src/utils/getTipContent.js","../node_modules/react-tooltip/src/utils/aria.js","../node_modules/react-tooltip/src/utils/nodeListToArray.js","../node_modules/react-tooltip/src/decorators/defaultStyles.js","../node_modules/react-tooltip/src/decorators/styler.js","../node_modules/react-tooltip/src/index.js","../node_modules/react-tooltip/src/decorators/trackRemoval.js","../node_modules/react-tooltip/src/decorators/windowListener.js","../node_modules/react-tooltip/src/decorators/isCapture.js","../node_modules/react-tooltip/src/decorators/getEffect.js","../node_modules/react-tooltip/src/utils/uuid.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/cjs/react.production.min.js","../node_modules/react/index.js","../node_modules/react/jsx-runtime.js","../node_modules/scheduler/cjs/scheduler.production.min.js","../node_modules/scheduler/index.js","../node_modules/uuid/dist/esm-browser/stringify.js","../node_modules/uuid/dist/esm-browser/rng.js","../node_modules/uuid/dist/esm-browser/v4.js","../node_modules/uuid/dist/esm-browser/regex.js","../node_modules/uuid/dist/esm-browser/validate.js","../node_modules/warning/warning.js","../node_modules/@babel/runtime/helpers/regeneratorRuntime.js","../node_modules/@babel/runtime/helpers/typeof.js","../node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js","../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","../node_modules/@babel/runtime/helpers/esm/classCallCheck.js","../node_modules/@babel/runtime/helpers/esm/createClass.js","../node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","../node_modules/@babel/runtime/helpers/esm/createSuper.js","../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../node_modules/@babel/runtime/helpers/esm/extends.js","../node_modules/@babel/runtime/helpers/esm/get.js","../node_modules/@babel/runtime/helpers/esm/superPropBase.js","../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","../node_modules/@babel/runtime/helpers/esm/inherits.js","../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","../node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js","../node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","../node_modules/@babel/runtime/helpers/esm/objectSpread2.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js","../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../node_modules/@babel/runtime/helpers/esm/slicedToArray.js","../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","../node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js","../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","../node_modules/@babel/runtime/helpers/esm/construct.js","../node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js","../node_modules/@babel/runtime/helpers/esm/isNativeFunction.js","../node_modules/@apollo/src/core/networkStatus.ts","../node_modules/@apollo/src/errors/index.ts","../node_modules/@apollo/src/react/context/ApolloContext.ts","../node_modules/@apollo/src/utilities/common/arrays.ts","../node_modules/@apollo/src/utilities/common/canUse.ts","../node_modules/@apollo/src/utilities/common/compact.ts","../node_modules/@apollo/src/utilities/common/makeUniqueId.ts","../node_modules/@apollo/src/utilities/common/maybeDeepFreeze.ts","../node_modules/@apollo/src/utilities/common/mergeOptions.ts","../node_modules/@apollo/src/utilities/common/objects.ts","../node_modules/@apollo/src/utilities/common/stringifyForDisplay.ts","../node_modules/ts-invariant/src/invariant.ts","../node_modules/@apollo/src/utilities/globals/maybe.ts","../node_modules/@apollo/src/utilities/globals/global.ts","../node_modules/@apollo/src/utilities/globals/invariantWrappers.ts","../node_modules/@apollo/src/utilities/globals/index.ts","../node_modules/@apollo/src/version.ts","../node_modules/@wry/equality/src/index.ts","../node_modules/graphql/error/GraphQLError.mjs","../node_modules/graphql/error/syntaxError.mjs","../node_modules/graphql/jsutils/devAssert.mjs","../node_modules/graphql/jsutils/inspect.mjs","../node_modules/graphql/jsutils/instanceOf.mjs","../node_modules/graphql/jsutils/invariant.mjs","../node_modules/graphql/jsutils/isObjectLike.mjs","../node_modules/graphql/language/ast.mjs","../node_modules/graphql/language/blockString.mjs","../node_modules/graphql/language/characterClasses.mjs","../node_modules/graphql/language/directiveLocation.mjs","../node_modules/graphql/language/kinds.mjs","../node_modules/graphql/language/lexer.mjs","../node_modules/graphql/language/location.mjs","../node_modules/graphql/language/parser.mjs","../node_modules/graphql/language/predicates.mjs","../node_modules/graphql/language/printLocation.mjs","../node_modules/graphql/language/printString.mjs","../node_modules/graphql/language/printer.mjs","../node_modules/graphql/language/source.mjs","../node_modules/graphql/language/tokenKind.mjs","../node_modules/graphql/language/visitor.mjs","../node_modules/js-cookie/dist/js.cookie.mjs","../node_modules/tiny-invariant/dist/esm/tiny-invariant.js","../node_modules/tslib/tslib.es6.mjs","../webpack/bootstrap","../webpack/runtime/amd options","../webpack/runtime/compat get default export","../webpack/runtime/create fake namespace object","../webpack/runtime/define property getters","../webpack/runtime/ensure chunk","../webpack/runtime/get javascript chunk filename","../webpack/runtime/get mini-css chunk filename","../webpack/runtime/global","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/load script","../webpack/runtime/make namespace object","../webpack/runtime/node module decorator","../webpack/runtime/publicPath","../webpack/runtime/css loading","../webpack/runtime/jsonp chunk loading","../node_modules/zen-observable-ts/module.js","../node_modules/@apollo/src/utilities/graphql/fragments.ts","../node_modules/@apollo/src/utilities/graphql/storeUtils.ts","../node_modules/@apollo/src/utilities/graphql/getFromAST.ts","../node_modules/@apollo/src/link/core/ApolloLink.ts","../node_modules/@apollo/src/link/utils/createOperation.ts","../node_modules/@apollo/src/link/utils/transformOperation.ts","../node_modules/@apollo/src/link/utils/validateOperation.ts","../node_modules/@apollo/src/link/core/execute.ts","../node_modules/@apollo/src/utilities/graphql/directives.ts","../node_modules/@apollo/src/link/http/serializeFetchParameter.ts","../node_modules/@apollo/src/link/http/iterators/nodeStream.ts","../node_modules/@apollo/src/link/http/iterators/reader.ts","../node_modules/@apollo/src/link/http/responseIterator.ts","../node_modules/@apollo/src/link/http/iterators/async.ts","../node_modules/@apollo/src/link/http/iterators/promise.ts","../node_modules/@apollo/src/link/utils/throwServerError.ts","../node_modules/@apollo/src/utilities/common/mergeDeep.ts","../node_modules/@apollo/src/utilities/common/incrementalResult.ts","../node_modules/@apollo/src/link/http/parseAndCheckHttpResponse.ts","../node_modules/@apollo/src/link/http/checkFetcher.ts","../node_modules/@apollo/src/utilities/graphql/print.ts","../node_modules/@apollo/src/link/http/selectHttpOptionsAndBody.ts","../node_modules/@apollo/src/link/utils/fromError.ts","../node_modules/@apollo/src/utilities/graphql/transform.ts","../node_modules/@apollo/src/link/http/createHttpLink.ts","../node_modules/@apollo/src/link/http/selectURI.ts","../node_modules/@apollo/src/link/utils/filterOperationVariables.ts","../node_modules/@apollo/src/link/http/rewriteURIForGET.ts","../node_modules/@apollo/src/link/http/HttpLink.ts","../node_modules/@wry/trie/src/index.ts","../node_modules/@apollo/src/cache/inmemory/object-canon.ts","../node_modules/@apollo/src/utilities/graphql/DocumentTransform.ts","../node_modules/@apollo/src/utilities/observables/asyncMap.ts","../node_modules/@apollo/src/utilities/common/errorHandling.ts","../node_modules/@apollo/src/utilities/observables/iteration.ts","../node_modules/@apollo/src/utilities/observables/subclassing.ts","../node_modules/@apollo/src/utilities/observables/Concast.ts","../node_modules/@apollo/src/utilities/common/cloneDeep.ts","../node_modules/@apollo/src/core/equalByQuery.ts","../node_modules/@apollo/src/core/ObservableQuery.ts","../node_modules/optimism/src/cache.ts","../node_modules/@wry/context/src/slot.ts","../node_modules/@wry/context/src/index.ts","../node_modules/optimism/src/context.ts","../node_modules/optimism/src/helpers.ts","../node_modules/optimism/src/entry.ts","../node_modules/optimism/src/dep.ts","../node_modules/optimism/src/index.ts","../node_modules/@apollo/src/cache/inmemory/reactiveVars.ts","../node_modules/@apollo/src/core/LocalState.ts","../node_modules/@apollo/src/core/QueryInfo.ts","../node_modules/@apollo/src/core/QueryManager.ts","../node_modules/@apollo/src/core/ApolloClient.ts","../node_modules/@apollo/src/link/core/from.ts","../node_modules/@apollo/src/cache/core/cache.ts","../node_modules/@apollo/src/cache/core/types/common.ts","../node_modules/@apollo/src/cache/inmemory/helpers.ts","../node_modules/@apollo/src/cache/inmemory/entityStore.ts","../node_modules/@apollo/src/cache/inmemory/readFromStore.ts","../node_modules/@apollo/src/cache/inmemory/key-extractor.ts","../node_modules/@apollo/src/cache/inmemory/policies.ts","../node_modules/@apollo/src/cache/inmemory/writeToStore.ts","../node_modules/@apollo/src/cache/inmemory/inMemoryCache.ts","../node_modules/@apollo/src/react/context/ApolloProvider.tsx","Views/Components/Modal/GlobalModal.tsx","Util/NavigationUtils.tsx","Services/TwoFactor/Authenticator.tsx","Services/TwoFactor/Email.tsx","../node_modules/@apollo/src/link/error/index.ts","../node_modules/@apollo/src/link/core/concat.ts","App.tsx","index.tsx"],"sourcesContent":["/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\n// % protected region % [Add any extra imports here] off begin\n// % protected region % [Add any extra imports here] end\n\n// % protected region % [Override contents here] off begin\nexport const SERVER_URL = '';\n// % protected region % [Override contents here] end\n\n// % protected region % [Override application name here] off begin\nexport const APPLICATION_NAME = 'access';\n// % protected region % [Override application name here] end\n\n// % protected region % [Add any extra constants here] on begin\n/**\n * Constants to track session keys for various pages.\n *\n * Semantics\n * - ____\n * - hyphen separater for spaced words\n */\nexport const SessionKeys = {\n\t/**\n\t * Tracks the user's selected filters and sorts on the customer list page\n\t */\n\tcustomerListPageConfig: `${APPLICATION_NAME}__customer-list-page__config`,\n};\n// % protected region % [Add any extra constants here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { useState, useEffect } from 'react';\n// eslint-disable-next-line camelcase\nimport { unstable_batchedUpdates } from 'react-dom';\n// % protected region % [Add any extra imports here] off begin\n// % protected region % [Add any extra imports here] end\n\n// % protected region % [Customise useAsyncLoading here] off begin\ntype useAsyncLoading = {\n\ttype: 'loading',\n\terror: undefined,\n\tdata: undefined,\n\trefresh: () => void,\n}\n// % protected region % [Customise useAsyncLoading here] end\n\n// % protected region % [Customise useAsyncError here] off begin\ntype useAsyncError = {\n\ttype: 'error',\n\terror: E,\n\tdata: undefined,\n\trefresh: () => void,\n}\n// % protected region % [Customise useAsyncError here] end\n\n// % protected region % [Customise useAsyncData here] off begin\ntype useAsyncData = {\n\ttype: 'data',\n\terror: undefined,\n\tdata: T,\n\trefresh: () => void,\n}\n// % protected region % [Customise useAsyncData here] end\n\n// % protected region % [Customise useAsyncResponse here] off begin\nexport type useAsyncResponse = useAsyncLoading | useAsyncError | useAsyncData;\n// % protected region % [Customise useAsyncResponse here] end\n\n// % protected region % [Customise useAsyncOptions here] off begin\nexport interface useAsyncOptions {\n\t/** Should the hook transition to the loading state after the first load. */\n\tsuppressSubsequentLoadingState?: boolean\n}\n// % protected region % [Customise useAsyncOptions here] end\n\n// % protected region % [Customise useAsyncFn here] off begin\nexport type useAsyncFn = (() => Promise) | ((abortSignal: AbortSignal) => Promise);\n// % protected region % [Customise useAsyncFn here] end\n\n// % protected region % [Customise useAsync here] off begin\nexport default function useAsync(\n\tfn: useAsyncFn,\n\tdeps?: readonly any[],\n\toptions?: useAsyncOptions,\n): useAsyncResponse {\n\tconst {\n\t\tsuppressSubsequentLoadingState = false,\n\t} = options ?? {};\n\n\tconst [data, setData] = useState();\n\tconst [error, setError] = useState();\n\tconst [type, setType] = useState<'loading' | 'error' | 'data'>('loading');\n\tconst [refresh, setRefresh] = useState(false);\n\n\tuseEffect(() => {\n\t\tconst abortController = new AbortController();\n\n\t\tif (!suppressSubsequentLoadingState && !abortController.signal.aborted) {\n\t\t\tsetType('loading');\n\t\t}\n\n\t\tfn(abortController.signal)\n\t\t\t.then(x => {\n\t\t\t\tif (abortController.signal.aborted) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tunstable_batchedUpdates(() => {\n\t\t\t\t\tsetError(undefined);\n\t\t\t\t\tsetData(x);\n\t\t\t\t\tsetType('data');\n\t\t\t\t});\n\t\t\t})\n\t\t\t.catch(x => {\n\t\t\t\tif (abortController.signal.aborted) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tunstable_batchedUpdates(() => {\n\t\t\t\t\tsetError(x);\n\t\t\t\t\tsetData(undefined);\n\t\t\t\t\tsetType('error');\n\t\t\t\t});\n\t\t\t});\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, deps === undefined ? undefined : [refresh, ...deps]);\n\n\t// Cast to any since we know better than the compiler in this case. Since the function has an explicit return type\n\t// the function will be externally consistent.\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treturn {\n\t\terror,\n\t\tdata,\n\t\ttype,\n\t\trefresh: () => setRefresh(current => !current),\n\t} as any;\n}\n// % protected region % [Customise useAsync here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport { crudOptions } from 'Symbols';\nimport { Model, IModelType } from './Model';\nimport { Comparators } from 'Views/Components/ModelCollection/ModelQuery';\nimport { transformFunction } from 'Util/AttributeUtils';\n\nexport type displayType =\n\t'hidden' |\n\t'textfield' |\n\t'textarea' |\n\t'password' |\n\t'checkbox' |\n\t'form-data'|\n\t'workflow-data'|\n\t'datepicker' |\n\t'timepicker' |\n\t'datetimepicker' |\n\t'displayfield' |\n\t'enum-combobox'|\n\t'reference-combobox' |\n\t'reference-multicombobox' |\n\t'form-tile' |\n\t'file'\n\t// % protected region % [Add more display types here] off begin\n\t// % protected region % [Add more display types here] end\n\t// eslint-disable-next-line semi-style\n\t;\n\nexport interface ICRUDOptions {\n\tname: string;\n\t/** Classname to render out to the DOM */\n\tclassName?: string;\n\t/** How to display the field on the crud form */\n\tdisplayType: displayType;\n\t/** Whether this is a header to be displayed in the crud list */\n\theaderColumn?: boolean;\n\t/** Is the column searchable */\n\tsearchable?: boolean;\n\t/** What graphql search function is used for the search */\n\tsearchFunction?: Comparators;\n\t/**\n\t * A function that takes the query and transforms it to a valid state for the search.\n\t * An example of this would be transforming dates into a format the server can understand.\n\t * If this function returns null then the search is not performed on this attribute.\n\t */\n\tsearchTransform?: transformFunction;\n\t/** Anonymous props for the attribute that is being used */\n\tinputProps?: {[key: string]: any};\n\t/** A function that can change the display of the element on the crud list */\n\tdisplayFunction?: (attribute: any, that: Model) => React.ReactNode;\n\tonAfterChange?: (model: Model) => void;\n\n\tfileAttribute?: string;\n\n\t// Reference Dropdown specific\n\treferenceTypeFunc?: () => IModelType;\n\treferenceResolveFunction?: (\n\t\tsearch: string | string[],\n\t\toptions: {model: Model}\n\t) => Promise>;\n\tenumResolveFunction?: Array<{display: string, value: string}>;\n\toptionEqualFunc?: (modelProperty: Model, option: string) => boolean;\n\t/**\n\t * Whether the reference to assign to the attribute is on a join field or is the entity\n\t */\n\tisJoinEntity?: boolean;\n\t/** Can default options be removed from the combobox */\n\tdisableDefaultOptionRemoval?: boolean;\n\n\treadFieldType?: displayType;\n\tcreateFieldType?: displayType;\n\tupdateFieldType?: displayType;\n\n\t/** The id of the attribute group which this attribute belongs to */\n\tgroupId?: number;\n\t/** The order of the attribute with the group which this attribute belongs to */\n\torder?: number;\n\t/** Whether this field is readonly in created and modified modes */\n\tisReadonly?: boolean;\n\t// % protected region % [Add more CRUD Option interface props here] off begin\n\t// % protected region % [Add more CRUD Option interface props here] end\n}\n\nexport class AttributeCRUDOptions implements ICRUDOptions {\n\tpublic name: string;\n\n\tpublic className?: string;\n\n\tpublic attributeName: string;\n\n\tpublic displayType: displayType;\n\n\tpublic headerColumn: boolean;\n\n\tpublic searchable: boolean;\n\n\tpublic searchFunction: Comparators;\n\n\tpublic searchTransform: transformFunction = (attr: string) => ({ query: attr });\n\n\tpublic inputProps?: { [key: string]: any };\n\n\tpublic referenceResolveFunction?: (\n\t\tsearch: string | string[],\n\t\toptions: {model: Model}\n\t) => Promise>;\n\n\tpublic enumResolveFunction?: Array<{display: string, value: string}>;\n\n\tpublic optionEqualFunc?: (modelProperty: any, option: any) => boolean;\n\n\tpublic isJoinEntity?: boolean = false;\n\n\tpublic displayFunction?: (attribute: any, that: Model) => React.ReactNode;\n\n\tpublic onAfterChange?: (model: Model) => void;\n\n\tpublic fileAttribute?: string;\n\n\tpublic readFieldType?: displayType;\n\n\tpublic createFieldType?: displayType;\n\n\tpublic updateFieldType?: displayType;\n\n\tpublic disableDefaultOptionRemoval?: boolean;\n\n\t// Reference Dropdown specific\n\tpublic referenceTypeFunc?: () => IModelType;\n\n\tpublic isReadonly?: boolean = false;\n\n\t/** The id of the attribute group which this attribute belongs to */\n\tpublic groupId?: number;\n\n\t/** The order of the attribute with the group which this attribute belongs to */\n\tpublic order?: number;\n\t// % protected region % [Add more Attribute CRUD Option properties here] off begin\n\t// % protected region % [Add more Attribute CRUD Option properties here] end\n\n\tconstructor(attributeName: string, options: ICRUDOptions) {\n\t\tthis.attributeName = attributeName;\n\t\tthis.name = options.name;\n\t\tthis.className = options.className;\n\t\tthis.displayType = options.displayType;\n\t\tthis.headerColumn = !!options.headerColumn;\n\t\tthis.searchable = !!options.searchable;\n\t\tthis.referenceTypeFunc = options.referenceTypeFunc;\n\t\tthis.searchFunction = options.searchFunction || 'contains';\n\t\tthis.referenceResolveFunction = options.referenceResolveFunction;\n\t\tthis.enumResolveFunction = options.enumResolveFunction;\n\t\tthis.optionEqualFunc = options.optionEqualFunc;\n\t\tthis.isJoinEntity = options.isJoinEntity;\n\t\tthis.inputProps = options.inputProps;\n\t\tthis.displayFunction = options.displayFunction;\n\t\tthis.onAfterChange = options.onAfterChange;\n\t\tthis.disableDefaultOptionRemoval = options.disableDefaultOptionRemoval;\n\t\tif (options.searchTransform) {\n\t\t\tthis.searchTransform = options.searchTransform;\n\t\t}\n\n\t\tthis.readFieldType = options.readFieldType || options.displayType;\n\t\tthis.createFieldType = options.createFieldType || options.displayType;\n\t\tthis.updateFieldType = options.updateFieldType || options.displayType;\n\t\tthis.groupId = options.groupId;\n\t\tthis.order = options.order;\n\t\tthis.fileAttribute = options.fileAttribute;\n\t\tthis.isReadonly = options.isReadonly;\n\t\t// % protected region % [Add more Attribute CRUD Option constructor operations here] off begin\n\t\t// % protected region % [Add more Attribute CRUD Option constructor operations here] end\n\t}\n\n\tpublic get displayName() {\n\t\treturn this.name;\n\t}\n\n\t// % protected region % [Add more CRUD Option member functions here] on begin\n\tpublic hasGroupId(): boolean {\n\t\treturn this.groupId !== undefined;\n\t}\n\n\tpublic isReference(): boolean {\n\t\treturn this.referenceTypeFunc !== undefined;\n\t}\n\n\tpublic isReadonlyCrud(): boolean {\n\t\tconst isReferenceWithNoGroup = (\n\t\t\tthis.isReference() && !this.hasGroupId()\n\t\t);\n\t\treturn this.isReadonly !== undefined\n\t\t\t? this.isReadonly\n\t\t\t: isReferenceWithNoGroup;\n\t}\n\t// % protected region % [Add more CRUD Option member functions here] end\n}\n\nexport function CRUD(options: ICRUDOptions) {\n\t// Need https://github.com/microsoft/TypeScript/pull/44512 which shall be in typescript 4.4\n\t// eslint-disable-next-line @typescript-eslint/ban-types\n\treturn (target: {}, key: string) => {\n\t\tif (!target[crudOptions]) {\n\t\t\ttarget[crudOptions] = {};\n\t\t}\n\t\ttarget[crudOptions][key] = options;\n\t};\n}\n\n// % protected region % [Add more CRUD Option related functions here] off begin\n// % protected region % [Add more CRUD Option related functions here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsBusinessEntityEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserBusinessEntityEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchManyToManyFunc,\n\tmakeJoinEqualsFunc,\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsBusinessEntityEntity from 'Models/Security/Acl/VisitorsBusinessEntityEntity';\nimport UserBusinessEntityEntity from 'Models/Security/Acl/UserBusinessEntityEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport { isPhone } from 'Validators/Functions/Custom';\nimport { isEmail } from 'Validators/Functions/Email';\nimport { runInAction } from 'mobx';\nimport { AddressEntity, TrustEntityCodesEntity } from 'Models/Entities';\nimport { verifyAbn, verifyAcn } from 'Util/StringUtils';\nimport { store } from '../Store';\nimport { quickRegister } from 'config/quickRegister';\n// % protected region % [Add any further imports here] end\n\nexport interface IBusinessEntityAttributes extends IModelAttributes {\n\tenabledForMonitor: boolean;\n\tentityName: string;\n\ttrusteeName: string;\n\ttrusteeACN: string;\n\tacnEntityName: string;\n\tisActive: boolean;\n\tfinance: boolean;\n\tenabledForApprove: boolean;\n\tcreditorID: string;\n\ttrusteeACNLastUpdated: Date;\n\ttrusteeACNEntityTypeCode: string;\n\tphone: string;\n\tenabledForPPSR: boolean;\n\ttrusteeACNEntityName: string;\n\tentityStatus: string;\n\tsupplyGnE: boolean;\n\temail: string;\n\tlegacyID: number;\n\tentityTypeCode: string;\n\thire: boolean;\n\tacnEntityTypeCode: string;\n\tdateOfBirth: Date;\n\tabn: string;\n\tuseOrganisationEmail: boolean;\n\tname: string;\n\tabrLastUpdated: Date;\n\tacn: string;\n\tacnStatus: string;\n\tacnLastUpdated: Date;\n\tenableEmailNotifications: boolean;\n\tentityTypeDescription: string;\n\tmonitorNotificationsEmail: string;\n\tsummary: string;\n\ttrusteeACNStatus: string;\n\tenableDrinksLicence: boolean;\n\tcanUpdatePaymentMethod: boolean;\n\n\tatbFiles: Array<\n\t\t| Models.AtbFileEntity\n\t\t| Models.IAtbFileEntityAttributes\n\t>;\n\taddress?: Models.AddressEntity |\n\t\tModels.IAddressEntityAttributes;\n\tapplicationss: Array<\n\t\t| Models.ApplicationEntity\n\t\t| Models.IApplicationEntityAttributes\n\t>;\n\tbusinessEntityCreditReportSettingss: Array<\n\t\t| Models.BusinessEntityCreditReportSettingsEntity\n\t\t| Models.IBusinessEntityCreditReportSettingsEntityAttributes\n\t>;\n\torganisationId?: string;\n\torganisation?: Models.OrganisationEntity | Models.IOrganisationEntityAttributes;\n\tcustomerss: Array<\n\t\t| Models.CustomerEntity\n\t\t| Models.ICustomerEntityAttributes\n\t>;\n\tesigntemplatess: Array<\n\t\t| Models.EsigntemplateEntity\n\t\t| Models.IEsigntemplateEntityAttributes\n\t>;\n\tlogoss: Array<\n\t\t| Models.LogoEntity\n\t\t| Models.ILogoEntityAttributes\n\t>;\n\tpaymentMethods: Array<\n\t\t| Models.BusinessEntityPaymentMethod\n\t\t| Models.IBusinessEntityPaymentMethodAttributes\n\t>;\n\tprimaryOrganisation?: Models.OrganisationEntity |\n\t\tModels.IOrganisationEntityAttributes;\n\tspgss: Array<\n\t\t| Models.SpgEntity\n\t\t| Models.ISpgEntityAttributes\n\t>;\n\tusers: Array<\n\t\t| Models.BusinessEntityUser\n\t\t| Models.IBusinessEntityUserAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] on begin\n\tintegrationXeroTenantId?: string;\n\tintegrationXeroTenantName?: string;\n\tautomatedAtbProcessingDayOfMonth?: number;\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('BusinessEntity', 'Business Entity')\n// % protected region % [Customise your entity metadata here] end\nexport default class BusinessEntity extends Model\n\timplements IBusinessEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsBusinessEntityEntity(),\n\t\tnew UserBusinessEntityEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Enabled For Monitor'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Enabled For Monitor',\n\t\tdisplayType: 'checkbox',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic enabledForMonitor: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Enabled For Monitor'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Name'] off begin\n\t/**\n\t * Entity Name retrieve from ABN lookup\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Entity Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic entityName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic trusteeName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee ACN',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic trusteeACN: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Entity Name'] off begin\n\t/**\n\t * The entity name sent back in the ACN response\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Entity Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acnEntityName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Entity Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] off begin\n\t/**\n\t * Is Active\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Is Active',\n\t\tdisplayType: 'checkbox',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic isActive: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Finance'] off begin\n\t/**\n\t * Is the business of type Finance\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Finance',\n\t\tdisplayType: 'checkbox',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic finance: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Finance'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Enabled for Approve'] off begin\n\t/**\n\t * Enabled for Approve\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Enabled for Approve',\n\t\tdisplayType: 'checkbox',\n\t\torder: 80,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic enabledForApprove: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Enabled for Approve'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Creditor ID'] off begin\n\t/**\n\t * The Creditor ID is used in the ATB reports\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Creditor ID',\n\t\tdisplayType: 'textfield',\n\t\torder: 90,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic creditorID: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Creditor ID'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Last Updated'] off begin\n\t/**\n\t * Trustee ACN Last Updated\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee ACN Last Updated',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 100,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic trusteeACNLastUpdated: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Last Updated'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Entity Type Code'] off begin\n\t/**\n\t * The entity type code for the trustee ACN reponse\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee ACN Entity Type Code',\n\t\tdisplayType: 'textfield',\n\t\torder: 110,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic trusteeACNEntityTypeCode: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Entity Type Code'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Phone'] off begin\n\t/**\n\t * Phone\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Phone',\n\t\tdisplayType: 'textfield',\n\t\torder: 120,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic phone: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Phone'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Enabled for PPSR'] off begin\n\t/**\n\t * Enabled for PPSR\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Enabled for PPSR',\n\t\tdisplayType: 'checkbox',\n\t\torder: 130,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic enabledForPPSR: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Enabled for PPSR'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Entity Name'] off begin\n\t/**\n\t * The entity name sent back by the trustee ACN response\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee ACN Entity Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 140,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic trusteeACNEntityName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Entity Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Status'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Entity Status',\n\t\tdisplayType: 'textfield',\n\t\torder: 150,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic entityStatus: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Supply GnE'] off begin\n\t/**\n\t * Is the business of type Supply Goods and Equipment\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Supply GnE',\n\t\tdisplayType: 'checkbox',\n\t\torder: 160,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic supplyGnE: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Supply GnE'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Email'] off begin\n\t/**\n\t * Email\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Email',\n\t\tdisplayType: 'textfield',\n\t\torder: 170,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic email: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Email'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Legacy ID'] off begin\n\t/**\n\t * Legacy ID\n\t */\n\t@Validators.Integer()\n\t@Validators.Unique()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Legacy ID',\n\t\tdisplayType: 'textfield',\n\t\torder: 180,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic legacyID: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Legacy ID'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Type Code'] off begin\n\t/**\n\t * Entity Type Code retrieve from ABN lookup\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Entity Type Code',\n\t\tdisplayType: 'textfield',\n\t\torder: 190,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic entityTypeCode: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Type Code'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Hire'] off begin\n\t/**\n\t * Is the business of a Hire business type\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Hire',\n\t\tdisplayType: 'checkbox',\n\t\torder: 200,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic hire: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Hire'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Entity Type Code'] off begin\n\t/**\n\t * The entity type code sent back in the ACN response\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Entity Type Code',\n\t\tdisplayType: 'textfield',\n\t\torder: 210,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acnEntityTypeCode: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Entity Type Code'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Date of Birth'] off begin\n\t/**\n\t * DoB field uses for sole traders\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Date of Birth',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 220,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic dateOfBirth: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Date of Birth'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN'] off begin\n\t/**\n\t * ABN\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABN',\n\t\tdisplayType: 'textfield',\n\t\torder: 230,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic abn: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Use Organisation Email'] off begin\n\t/**\n\t * Boolean for determining to use the organisation email instead of the saved one.\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Use Organisation Email',\n\t\tdisplayType: 'checkbox',\n\t\torder: 240,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic useOrganisationEmail: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Use Organisation Email'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] off begin\n\t/**\n\t * Name\n\t */\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 250,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic name: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABR Last Updated'] off begin\n\t/**\n\t * ABR Last Updated\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABR Last Updated',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 260,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic abrLastUpdated: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABR Last Updated'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN'] off begin\n\t/**\n\t * ACN\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN',\n\t\tdisplayType: 'textfield',\n\t\torder: 270,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acn: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Status'] off begin\n\t/**\n\t * Status of the ACN\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Status',\n\t\tdisplayType: 'textfield',\n\t\torder: 280,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acnStatus: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Last Updated'] off begin\n\t/**\n\t * ACN Last Updated\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Last Updated',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 290,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic acnLastUpdated: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Last Updated'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Enable Email Notifications'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Enable Email Notifications',\n\t\tdisplayType: 'checkbox',\n\t\torder: 300,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic enableEmailNotifications: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Enable Email Notifications'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Type Description'] off begin\n\t/**\n\t * Entity Type Description retrieve from ABN lookup\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Entity Type Description',\n\t\tdisplayType: 'textfield',\n\t\torder: 310,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic entityTypeDescription: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Type Description'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Monitor Notifications Email'] off begin\n\t@Validators.Email()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Monitor Notifications Email',\n\t\tdisplayType: 'textfield',\n\t\torder: 320,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic monitorNotificationsEmail: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Monitor Notifications Email'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Summary'] off begin\n\t/**\n\t * Brief summary of the business\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Summary',\n\t\tdisplayType: 'textarea',\n\t\torder: 330,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic summary: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Summary'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Status'] off begin\n\t/**\n\t * Trustee ACN Status\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee ACN Status',\n\t\tdisplayType: 'textfield',\n\t\torder: 340,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic trusteeACNStatus: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Enable Drinks Licence'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Enable Drinks Licence',\n\t\tdisplayType: 'checkbox',\n\t\torder: 350,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic enableDrinksLicence: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Enable Drinks Licence'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Can Update Payment Method'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Can Update Payment Method',\n\t\tdisplayType: 'checkbox',\n\t\torder: 360,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic canUpdatePaymentMethod: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Can Update Payment Method'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATB File'] off begin\n\t\tname: 'ATB Files',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 370,\n\t\treferenceTypeFunc: () => Models.AtbFileEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'atbFiles',\n\t\t\toppositeEntity: () => Models.AtbFileEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATB File'] end\n\t})\n\tpublic atbFiles: Models.AtbFileEntity[] = [];\n\n\t/**\n\t * Address\n\t */\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Address'] off begin\n\t\tname: 'Address',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 380,\n\t\treferenceTypeFunc: () => Models.AddressEntity,\n\t\toptionEqualFunc: (model, option) => model.id === option,\n\t\tinputProps: {\n\t\t\tfetchReferenceEntity: true,\n\t\t},\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'addresss',\n\t\t\toppositeEntity: () => Models.AddressEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Address'] end\n\t})\n\tpublic address?: Models.AddressEntity;\n\n\t/**\n\t * Approve Applications\n\t */\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Applications'] off begin\n\t\tname: 'Applicationss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 390,\n\t\treferenceTypeFunc: () => Models.ApplicationEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'applicationss',\n\t\t\toppositeEntity: () => Models.ApplicationEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Applications'] end\n\t})\n\tpublic applicationss: Models.ApplicationEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity Credit Report Settings'] off begin\n\t\tname: 'Business Entity Credit Report Settingss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 400,\n\t\treferenceTypeFunc: () => Models.BusinessEntityCreditReportSettingsEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'businessEntityCreditReportSettingss',\n\t\t\toppositeEntity: () => Models.BusinessEntityCreditReportSettingsEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity Credit Report Settings'] end\n\t})\n\tpublic businessEntityCreditReportSettingss: Models.BusinessEntityCreditReportSettingsEntity[] = [];\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] off begin\n\t\tname: 'Organisation',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 410,\n\t\treferenceTypeFunc: () => Models.OrganisationEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] end\n\t})\n\tpublic organisationId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic organisation: Models.OrganisationEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customers'] off begin\n\t\tname: 'Customerss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 420,\n\t\treferenceTypeFunc: () => Models.CustomerEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'customerss',\n\t\t\toppositeEntity: () => Models.CustomerEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customers'] end\n\t})\n\tpublic customerss: Models.CustomerEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignTemplates'] off begin\n\t\tname: 'ESignTemplatess',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 430,\n\t\treferenceTypeFunc: () => Models.EsigntemplateEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'esigntemplatess',\n\t\t\toppositeEntity: () => Models.EsigntemplateEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignTemplates'] end\n\t})\n\tpublic esigntemplatess: Models.EsigntemplateEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Logos'] off begin\n\t\tname: 'Logoss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 440,\n\t\treferenceTypeFunc: () => Models.LogoEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'logoss',\n\t\t\toppositeEntity: () => Models.LogoEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Logos'] end\n\t})\n\tpublic logoss: Models.LogoEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Payment Method'] off begin\n\t\tname: 'Payment Method',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 450,\n\t\tisJoinEntity: true,\n\t\treferenceTypeFunc: () => Models.BusinessEntityPaymentMethod,\n\t\toptionEqualFunc: makeJoinEqualsFunc('paymentMethodId'),\n\t\treferenceResolveFunction: makeFetchManyToManyFunc({\n\t\t\tentityName: 'businessEntity',\n\t\t\toppositeEntityName: 'paymentMethodEntity',\n\t\t\trelationName: 'businessEntity',\n\t\t\trelationOppositeName: 'paymentMethod',\n\t\t\tentity: () => Models.BusinessEntity,\n\t\t\tjoinEntity: () => Models.BusinessEntityPaymentMethod,\n\t\t\toppositeEntity: () => Models.PaymentMethodEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Payment Method'] end\n\t})\n\tpublic paymentMethods: Models.BusinessEntityPaymentMethod[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Primary Organisation'] off begin\n\t\tname: 'Primary Organisation',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 460,\n\t\treferenceTypeFunc: () => Models.OrganisationEntity,\n\t\toptionEqualFunc: (model, option) => model.id === option,\n\t\tinputProps: {\n\t\t\tfetchReferenceEntity: true,\n\t\t},\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'primaryOrganisations',\n\t\t\toppositeEntity: () => Models.OrganisationEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Primary Organisation'] end\n\t})\n\tpublic primaryOrganisation?: Models.OrganisationEntity;\n\n\t/**\n\t * PPSR SPGs\n\t */\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'SPGs'] off begin\n\t\tname: 'SPGss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 470,\n\t\treferenceTypeFunc: () => Models.SpgEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'spgss',\n\t\t\toppositeEntity: () => Models.SpgEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'SPGs'] end\n\t})\n\tpublic spgss: Models.SpgEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'User'] off begin\n\t\tname: 'User',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 480,\n\t\tisJoinEntity: true,\n\t\treferenceTypeFunc: () => Models.BusinessEntityUser,\n\t\toptionEqualFunc: makeJoinEqualsFunc('userId'),\n\t\treferenceResolveFunction: makeFetchManyToManyFunc({\n\t\t\tentityName: 'businessEntity',\n\t\t\toppositeEntityName: 'userEntity',\n\t\t\trelationName: 'businessEntity',\n\t\t\trelationOppositeName: 'user',\n\t\t\tentity: () => Models.BusinessEntity,\n\t\t\tjoinEntity: () => Models.BusinessEntityUser,\n\t\t\toppositeEntity: () => Models.UserEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'User'] end\n\t})\n\tpublic users: Models.BusinessEntityUser[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] on begin\n\t// WHEN ADDING EXTRA ATTRIBUTES remember to add them to the clear fields function\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Integration Xero Tenant Id',\n\t\tdisplayType: 'textfield',\n\t\torder: 430,\n\t\tsearchable: false,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic integrationXeroTenantId?: string;\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Integration Xero Tenant Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 440,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic integrationXeroTenantName?: string;\n\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Integration Schedule Day Of Month',\n\t\tdisplayType: 'textfield',\n\t\torder: 450,\n\t\theaderColumn: true,\n\t\tsearchable: false,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic automatedAtbProcessingDayOfMonth?: number;\n\n\t// Is true when the ABN validation process has finished\n\t@observable public abnFinishedValidating: boolean = false;\n\t@observable public trusteeAcnFinishedValidating: boolean = false;\n\t@observable public acnFinishedValidating: boolean = false;\n\n\t// If empty string radio button is empty, if No trusteeName needs to be filled, if Yes trusteeAcn needs to be filled\n\t@observable public useCorporateTrusteeACN: ('' | 'Yes' | 'No') = '';\n\n\t// Will validate a field, then update the errors object\n\t@action public validateField = async (field: string) => {\n\t\tswitch (field) {\n\t\t\tcase 'name': {\n\t\t\t\tthis.setFieldError('name', !this.name, 'Organisation Name cannot be empty');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'phone': {\n\t\t\t\tthis.setFieldError('phone', !!this.phone && !isPhone(this.phone), 'Phone Number must be valid');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'abn': {\n\t\t\t\tthis.abnFinishedValidating = false;\n\n\t\t\t\tif (!this.abn) {\n\t\t\t\t\tthis.setFieldError('abn', true, 'ABN cannot be empty');\n\t\t\t\t\tthis.clearAbnFields();\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tif (this.abn.replace(/\\D/g, '').length < 11) {\n\t\t\t\t\tthis.setFieldError('abn', true, 'The ABN must contain 11 digits');\n\t\t\t\t\tthis.clearAbnFields();\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tconst [response, trusteeCodes] = await Promise.all(\n\t\t\t\t\t[verifyAbn(this.abn), TrustEntityCodesEntity.trusteeCodes()],\n\t\t\t\t);\n\n\t\t\t\trunInAction(() => {\n\t\t\t\t\tthis.abnFinishedValidating = true;\n\n\t\t\t\t\tif (response.exception !== null) {\n\t\t\t\t\t\tthis.setFieldError('abn', true, response.exception.exceptionDescription);\n\t\t\t\t\t\tthis.clearAbnFields();\n\t\t\t\t\t\tif (response.exception.exceptionDescription.includes('No records found')) {\n\t\t\t\t\t\t\tthis.entityStatus = 'NO RECORD';\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis.entityStatus = response.exception.exceptionDescription;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.entityTypeCode = response.businessEntity.entityType.entityTypeCode;\n\t\t\t\t\t\tthis.entityTypeDescription = response.businessEntity.entityType.entityDescription;\n\t\t\t\t\t\tthis.entityStatus = response.businessEntity.entityStatus.entityStatusCode;\n\t\t\t\t\t\tif (this.entityTypeCode === 'IND') {\n\t\t\t\t\t\t\tconst { givenName, otherGivenName, familyName } = response.businessEntity.legalName;\n\t\t\t\t\t\t\tthis.entityName = [givenName, otherGivenName, familyName].join(' ');\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis.entityName = response.businessEntity.mainName.organisationName;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.abrLastUpdated = moment().utc().toDate();\n\t\t\t\t\t\tthis.setFieldError('abn', false, '');\n\t\t\t\t\t\tif (this.entityStatus !== 'Active') {\n\t\t\t\t\t\t\tthis.setFieldError('abn', true, 'The ABN must be currently active');\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!!response.businessEntity.asicNumber && !this.acn) {\n\t\t\t\t\t\t\tthis.acn = response.businessEntity.asicNumber;\n\t\t\t\t\t\t\tthis.validateField('acn');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// Depending on the entity type code, we may have to unset other fields and errors\n\t\t\t\t\t\tif (this.entityTypeCode === 'IND') {\n\t\t\t\t\t\t\tthis.trusteeACN = '';\n\t\t\t\t\t\t\tthis.setFieldError('trusteeACN', false, '');\n\t\t\t\t\t\t\tthis.trusteeName = '';\n\t\t\t\t\t\t\tthis.setFieldError('trusteeName', false, '');\n\t\t\t\t\t\t} else if (trusteeCodes.includes(this.entityTypeCode)) {\n\t\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\t\tthis.dateOfBirth = undefined;\n\t\t\t\t\t\t\tthis.setFieldError('dob', false, '');\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Not a trust or an individual, so none of these fields are useful\n\t\t\t\t\t\t\tthis.trusteeACN = '';\n\t\t\t\t\t\t\tthis.setFieldError('trusteeACN', false, '');\n\t\t\t\t\t\t\tthis.trusteeName = '';\n\t\t\t\t\t\t\tthis.setFieldError('trusteeName', false, '');\n\t\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\t\tthis.dateOfBirth = undefined;\n\t\t\t\t\t\t\tthis.setFieldError('dob', false, '');\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'summary': {\n\t\t\t\t// Business description only need validation when using quick register\n\t\t\t\tif (!quickRegister) {\n\t\t\t\t\tthis.setFieldError('summary', false, '');\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tconst description = this.summary.trim();\n\n\t\t\t\tif (!description) {\n\t\t\t\t\tthis.setFieldError('summary', true, 'Business description cannot be empty.');\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tif (description.length < 5) {\n\t\t\t\t\tthis.setFieldError('summary', true, 'Business description must be at least 5 characters long.');\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tif (description.length > 500) {\n\t\t\t\t\tthis.setFieldError('summary', true, 'Business description cannot exceed 500 characters.');\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tif (description === description.toUpperCase()) {\n\t\t\t\t\tthis.setFieldError('summary', true, 'Business description should not be in all caps.');\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tconst invalidCharPattern = /[<>%\\\\{}[\\]()~^|*]/g;\n\t\t\t\tconst invalidChars = description.match(invalidCharPattern);\n\n\t\t\t\tif (invalidChars && invalidChars.length > 0) {\n\t\t\t\t\tconst uniqueInvalidChars = [...new Set(invalidChars)];\n\t\t\t\t\tconst charList = uniqueInvalidChars.join(', ');\n\t\t\t\t\tthis.setFieldError(\n\t\t\t\t\t\t'summary',\n\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t`Business description contains invalid characters: ${charList}.`\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t// Auto-format description (ensure the first letter is capitalised)\n\t\t\t\tthis.summary = description.charAt(0).toUpperCase() + description.slice(1);\n\n\t\t\t\tthis.setFieldError('summary', false, '');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'acn': {\n\t\t\t\tthis.acnFinishedValidating = false;\n\t\t\t\tif (!!this.acn) {\n\t\t\t\t\tif (this.acn.replace(/\\D/g, '').length < 9) {\n\t\t\t\t\t\trunInAction(() => {\n\t\t\t\t\t\t\tthis.setFieldError('acn', true, 'The ACN must contain 9 digits');\n\t\t\t\t\t\t\tthis.clearAcnFields();\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst response = await verifyAcn(this.acn);\n\t\t\t\t\trunInAction(() => {\n\t\t\t\t\t\tthis.acnFinishedValidating = true;\n\n\t\t\t\t\t\tif (!!response && !!response.exception) {\n\t\t\t\t\t\t\tthis.setFieldError('acn', true, response.exception.exceptionDescription);\n\t\t\t\t\t\t\tthis.clearAcnFields();\n\t\t\t\t\t\t\tthis.acnStatus = response.exception.exceptionDescription;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis.acnLastUpdated = moment().utc().toDate();\n\t\t\t\t\t\t\tif (response.result.records.length === 0) {\n\t\t\t\t\t\t\t\tthis.clearAcnFields();\n\t\t\t\t\t\t\t\tthis.acnStatus = 'NO RECORD';\n\t\t\t\t\t\t\t\tthis.setFieldError('acn', true, 'No results found');\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconst { records } = response.result;\n\t\t\t\t\t\t\t\t// valid records are ones with the status set to REGD\n\t\t\t\t\t\t\t\tconst validRecords = records.filter((x: { Status: string }) => x.Status === 'REGD');\n\t\t\t\t\t\t\t\t// ACN is valid if there is at least one REGD status ACN\n\t\t\t\t\t\t\t\tif (validRecords.length === 0) {\n\t\t\t\t\t\t\t\t\t// we grab the first non REGD status and set to ACN status\n\t\t\t\t\t\t\t\t\tthis.clearAcnFields();\n\t\t\t\t\t\t\t\t\tthis.acnStatus = records\n\t\t\t\t\t\t\t\t\t\t.filter((x: { Status: string }) => x.Status !== 'REGD')[0]\n\t\t\t\t\t\t\t\t\t\t.Status;\n\t\t\t\t\t\t\t\t\tthis.setFieldError('acn', true, 'The ACN must be currently active');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tthis.acnStatus = 'REGD';\n\t\t\t\t\t\t\t\t\tthis.acnEntityTypeCode = records[0].Type;\n\t\t\t\t\t\t\t\t\tthis.acnEntityName = records\n\t\t\t\t\t\t\t\t\t\t.filter((x: { 'Current Name Indicator': string }) => x['Current Name Indicator']\n\t\t\t\t\t\t\t\t\t\t\t=== 'Y')[0]['Company Name'];\n\t\t\t\t\t\t\t\t\tthis.setFieldError('acn', false, '');\n\t\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\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tthis.setFieldError('acn', false, '');\n\t\t\t\tthis.clearAcnFields();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'trusteeACN': {\n\t\t\t\tif (this.useCorporateTrusteeACN !== 'Yes') {\n\t\t\t\t\tthis.setFieldError('trusteeACN', false, '');\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tthis.trusteeAcnFinishedValidating = false;\n\n\t\t\t\t// acn field is only relevant for trusts and if the trust name is also empty\n\t\t\t\tconst trusteeCodes = await TrustEntityCodesEntity.trusteeCodes();\n\t\t\t\tif (this.entityTypeCode && trusteeCodes.includes(this.entityTypeCode) && !this.trusteeName) {\n\t\t\t\t\tif (!this.trusteeACN) {\n\t\t\t\t\t\trunInAction(() => {\n\t\t\t\t\t\t\tthis.clearTrusteeAcnFields();\n\t\t\t\t\t\t\tthis.setFieldError('trusteeACN', true, 'Trustee ACN cannot be empty');\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (this.trusteeACN.replace(/\\D/g, '').length < 9) {\n\t\t\t\t\t\trunInAction(() => {\n\t\t\t\t\t\t\tthis.clearTrusteeAcnFields();\n\t\t\t\t\t\t\tthis.setFieldError('trusteeACN', true, 'The ACN must contain 9 digits');\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst response = await verifyAcn(this.trusteeACN);\n\t\t\t\t\trunInAction(() => {\n\t\t\t\t\t\tthis.trusteeAcnFinishedValidating = true;\n\n\t\t\t\t\t\tif (!!response && !!response.exception) {\n\t\t\t\t\t\t\tthis.setFieldError('trusteeACN', true, response.exception.exceptionDescription);\n\t\t\t\t\t\t\tthis.clearTrusteeAcnFields();\n\t\t\t\t\t\t\tthis.trusteeACNStatus = response.exception.exceptionDescription;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis.trusteeACNLastUpdated = moment().utc().toDate();\n\t\t\t\t\t\t\tif (response.result.records.length === 0) {\n\t\t\t\t\t\t\t\tthis.clearTrusteeAcnFields();\n\t\t\t\t\t\t\t\tthis.trusteeACNStatus = 'NO RECORD';\n\t\t\t\t\t\t\t\tthis.setFieldError('trusteeACN', true, 'No records found');\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconst { records } = response.result;\n\t\t\t\t\t\t\t\t// valid records are ones with the status set to REGD\n\t\t\t\t\t\t\t\tconst validRecords = records.filter((x: { Status: string }) => x.Status === 'REGD');\n\t\t\t\t\t\t\t\t// ACN is valid if there is at least one REGD status ACN\n\t\t\t\t\t\t\t\tif (validRecords.length === 0) {\n\t\t\t\t\t\t\t\t\t// we grab the first non REGD status and set to ACN status\n\t\t\t\t\t\t\t\t\tthis.clearTrusteeAcnFields();\n\t\t\t\t\t\t\t\t\tthis.trusteeACNStatus = records\n\t\t\t\t\t\t\t\t\t\t.filter((x: { Status: string }) => x.Status !== 'REGD')[0]\n\t\t\t\t\t\t\t\t\t\t.Status;\n\t\t\t\t\t\t\t\t\tthis.setFieldError('trusteeACN', true, 'The ACN must be currently active');\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tthis.trusteeACNStatus = 'REGD';\n\t\t\t\t\t\t\t\t\tthis.trusteeACNEntityTypeCode = records[0].Type;\n\t\t\t\t\t\t\t\t\tthis.trusteeACNEntityName = records\n\t\t\t\t\t\t\t\t\t\t.filter((x: { 'Current Name Indicator': string }) => x['Current Name Indicator']\n\t\t\t\t\t\t\t\t\t\t\t=== 'Y')[0]['Company Name'];\n\t\t\t\t\t\t\t\t\tthis.setFieldError('trusteeACN', false, '');\n\t\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\t\t\t\t} else {\n\t\t\t\t\tthis.setFieldError('trusteeACN', false, '');\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'trusteeName': {\n\t\t\t\tif (this.useCorporateTrusteeACN !== 'No') {\n\t\t\t\t\tthis.setFieldError('trusteeName', false, '');\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t// trusteeName field is only releveant for trusts and if the trusteeACN is also empty\n\t\t\t\tconst trusteeCodes = await TrustEntityCodesEntity.trusteeCodes();\n\t\t\t\trunInAction(() => {\n\t\t\t\t\tif (this.entityTypeCode\n\t\t\t\t\t\t&& trusteeCodes.includes(this.entityTypeCode)\n\t\t\t\t\t\t&& !this.trusteeACN\n\t\t\t\t\t) {\n\t\t\t\t\t\tif (!this.trusteeName) {\n\t\t\t\t\t\t\tthis.setFieldError('trusteeName', true, 'Trustee name cannot be empty');\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tthis.setFieldError('trusteeName', false, '');\n\t\t\t\t});\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'dob': {\n\t\t\t\t// DOB field is only relevant for individuals/sole traders\n\t\t\t\tif (this.entityTypeCode && this.entityTypeCode === 'IND') {\n\t\t\t\t\tif (!this.dateOfBirth) {\n\t\t\t\t\t\tthis.setFieldError('dob', true, 'Date of birth cannot be empty');\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tif (moment(this.dateOfBirth).isAfter()) {\n\t\t\t\t\t\tthis.setFieldError('dob', true, 'Invalid Date of birth');\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tthis.setFieldError('dob', false, '');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'email': {\n\t\t\t\tif (quickRegister && !this.email){\n\t\t\t\t\tthis.setFieldError('email', false, '');\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tif (!this.useOrganisationEmail && !isEmail(this.email)) {\n\t\t\t\t\tthis.setFieldError('email', true, 'Email Address must be valid');\n\t\t\t\t} else {\n\t\t\t\t\tthis.setFieldError('email', false, '');\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'ppsrEmail': {\n\t\t\t\tif (this.enabledForPPSR) {\n\t\t\t\t\tif (!this.spgss[0].email) {\n\t\t\t\t\t\tthis.setFieldError('ppsrEmail', true, 'Email Address cannot be empty');\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tif (!isEmail(this.spgss[0].email)) {\n\t\t\t\t\t\tthis.setFieldError('ppsrEmail', true, 'Email Address must be valid');\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tthis.setFieldError('ppsrEmail', false, '');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'approveEmail': {\n\t\t\t\tif (this.enabledForApprove) {\n\t\t\t\t\tif (!this.applicationss[0].email) {\n\t\t\t\t\t\tthis.setFieldError('approveEmail', true, 'Email Address cannot be empty');\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tif (!isEmail(this.applicationss[0].email)) {\n\t\t\t\t\t\tthis.setFieldError('approveEmail', true, 'Email Address must be valid');\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tthis.setFieldError('approveEmail', false, '');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'monitorNotificationsEmail': {\n\t\t\t\tif (!this.enabledForMonitor) {\n\t\t\t\t\t// Never validate this field\n\t\t\t\t\tthis.setFieldError('monitorNotificationsEmail', false, '');\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tif (this.enableEmailNotifications && !this.monitorNotificationsEmail) {\n\t\t\t\t\tthis.setFieldError('monitorNotificationsEmail', true, 'Email Address cannot be empty');\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (this.monitorNotificationsEmail && !isEmail(this.monitorNotificationsEmail)) {\n\t\t\t\t\tthis.setFieldError('monitorNotificationsEmail', true, 'Email Address must be valid');\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tthis.setFieldError('monitorNotificationsEmail', false, '');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'applicationName': {\n\t\t\t\tthis.setFieldError(\n\t\t\t\t\t'applicationName',\n\t\t\t\t\tthis.enabledForApprove && !this.applicationss[0].applicationName,\n\t\t\t\t\t'Application Name cannot be empty',\n\t\t\t\t);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'summary': {\n\t\t\t\tif (this.enabledForPPSR) {\n\t\t\t\t\tthis.setFieldError('summary', !this.summary, 'Summary cannot be empty');\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'address.postcode': {\n\t\t\t\t// Borrow errors from the address entity\n\t\t\t\tawait this.address?.validateField('postcode');\n\t\t\t\tthis.setFieldError(\n\t\t\t\t\t'address.postcode',\n\t\t\t\t\t!!this.address?.errors.postcode,\n\t\t\t\t\tthis.address?.errors?.postcode ?? '',\n\t\t\t\t);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t};\n\n\t@action public validateReferralPartnerField = async (field: string) => {\n\t\tswitch (field) {\n\t\t\tcase 'abn': {\n\t\t\t\tif (!!this.abn) {\n\t\t\t\t\tawait this.validateField(field);\n\t\t\t\t} else {\n\t\t\t\t\tthis.clearAbnFields();\n\t\t\t\t\tthis.abnFinishedValidating = false;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\tawait this.validateField(field);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t};\n\n\tpublic validateDetailsFields = async (additionalFields: string[] = []) => {\n\t\tconst fieldList = [\n\t\t\t'name', 'phone', 'abn', 'acn', 'trusteeACN', 'trusteeName', 'dob', 'email', 'address.postcode',\n\t\t\t...additionalFields,\n\t\t];\n\t\tconst validationPromises = fieldList.map(field => this.validateField(field));\n\t\tawait Promise.all(validationPromises);\n\t};\n\n\tpublic validateReferralPartnerFields = async () => {\n\t\tconst fieldList = [\n\t\t\t'name', 'phone', 'abn', 'email',\n\t\t];\n\t\tconst validationPromises = fieldList.map(field => this.validateReferralPartnerField(field));\n\t\tawait Promise.all(validationPromises);\n\t};\n\n\tpublic validatePpsrFields = async () => {\n\t\tconst fieldList = ['summary', 'ppsrEmail'];\n\t\tconst validationPromises = fieldList.map(field => this.validateField(field));\n\t\tawait Promise.all(validationPromises);\n\t};\n\n\tpublic validateMonitorFields = async () => {\n\t\tconst fieldList = ['monitorNotificationsEmail'];\n\t\tconst validationPromises = fieldList.map(field => this.validateField(field));\n\t\tawait Promise.all(validationPromises);\n\t};\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] on begin\n\t\tthis.summary = attributes?.summary ?? ''; // Initialise the summary to an empty string if not provided\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.enabledForMonitor !== undefined) {\n\t\t\t\tthis.enabledForMonitor = attributes.enabledForMonitor;\n\t\t\t}\n\t\t\tif (attributes.entityName !== undefined) {\n\t\t\t\tthis.entityName = attributes.entityName;\n\t\t\t}\n\t\t\tif (attributes.trusteeName !== undefined) {\n\t\t\t\tthis.trusteeName = attributes.trusteeName;\n\t\t\t}\n\t\t\tif (attributes.trusteeACN !== undefined) {\n\t\t\t\tthis.trusteeACN = attributes.trusteeACN;\n\t\t\t}\n\t\t\tif (attributes.acnEntityName !== undefined) {\n\t\t\t\tthis.acnEntityName = attributes.acnEntityName;\n\t\t\t}\n\t\t\tif (attributes.isActive !== undefined) {\n\t\t\t\tthis.isActive = attributes.isActive;\n\t\t\t}\n\t\t\tif (attributes.finance !== undefined) {\n\t\t\t\tthis.finance = attributes.finance;\n\t\t\t}\n\t\t\tif (attributes.enabledForApprove !== undefined) {\n\t\t\t\tthis.enabledForApprove = attributes.enabledForApprove;\n\t\t\t}\n\t\t\tif (attributes.creditorID !== undefined) {\n\t\t\t\tthis.creditorID = attributes.creditorID;\n\t\t\t}\n\t\t\tif (attributes.trusteeACNLastUpdated !== undefined) {\n\t\t\t\tif (attributes.trusteeACNLastUpdated === null) {\n\t\t\t\t\tthis.trusteeACNLastUpdated = attributes.trusteeACNLastUpdated;\n\t\t\t\t} else {\n\t\t\t\t\tthis.trusteeACNLastUpdated = moment(attributes.trusteeACNLastUpdated).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.trusteeACNEntityTypeCode !== undefined) {\n\t\t\t\tthis.trusteeACNEntityTypeCode = attributes.trusteeACNEntityTypeCode;\n\t\t\t}\n\t\t\tif (attributes.phone !== undefined) {\n\t\t\t\tthis.phone = attributes.phone;\n\t\t\t}\n\t\t\tif (attributes.enabledForPPSR !== undefined) {\n\t\t\t\tthis.enabledForPPSR = attributes.enabledForPPSR;\n\t\t\t}\n\t\t\tif (attributes.trusteeACNEntityName !== undefined) {\n\t\t\t\tthis.trusteeACNEntityName = attributes.trusteeACNEntityName;\n\t\t\t}\n\t\t\tif (attributes.entityStatus !== undefined) {\n\t\t\t\tthis.entityStatus = attributes.entityStatus;\n\t\t\t}\n\t\t\tif (attributes.supplyGnE !== undefined) {\n\t\t\t\tthis.supplyGnE = attributes.supplyGnE;\n\t\t\t}\n\t\t\tif (attributes.email !== undefined) {\n\t\t\t\tthis.email = attributes.email;\n\t\t\t}\n\t\t\tif (attributes.legacyID !== undefined) {\n\t\t\t\tthis.legacyID = attributes.legacyID;\n\t\t\t}\n\t\t\tif (attributes.entityTypeCode !== undefined) {\n\t\t\t\tthis.entityTypeCode = attributes.entityTypeCode;\n\t\t\t}\n\t\t\tif (attributes.hire !== undefined) {\n\t\t\t\tthis.hire = attributes.hire;\n\t\t\t}\n\t\t\tif (attributes.acnEntityTypeCode !== undefined) {\n\t\t\t\tthis.acnEntityTypeCode = attributes.acnEntityTypeCode;\n\t\t\t}\n\t\t\tif (attributes.dateOfBirth !== undefined) {\n\t\t\t\tif (attributes.dateOfBirth === null) {\n\t\t\t\t\tthis.dateOfBirth = attributes.dateOfBirth;\n\t\t\t\t} else {\n\t\t\t\t\tthis.dateOfBirth = moment(attributes.dateOfBirth).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.abn !== undefined) {\n\t\t\t\tthis.abn = attributes.abn;\n\t\t\t}\n\t\t\tif (attributes.useOrganisationEmail !== undefined) {\n\t\t\t\tthis.useOrganisationEmail = attributes.useOrganisationEmail;\n\t\t\t}\n\t\t\tif (attributes.name !== undefined) {\n\t\t\t\tthis.name = attributes.name;\n\t\t\t}\n\t\t\tif (attributes.abrLastUpdated !== undefined) {\n\t\t\t\tif (attributes.abrLastUpdated === null) {\n\t\t\t\t\tthis.abrLastUpdated = attributes.abrLastUpdated;\n\t\t\t\t} else {\n\t\t\t\t\tthis.abrLastUpdated = moment(attributes.abrLastUpdated).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.acn !== undefined) {\n\t\t\t\tthis.acn = attributes.acn;\n\t\t\t}\n\t\t\tif (attributes.acnStatus !== undefined) {\n\t\t\t\tthis.acnStatus = attributes.acnStatus;\n\t\t\t}\n\t\t\tif (attributes.acnLastUpdated !== undefined) {\n\t\t\t\tif (attributes.acnLastUpdated === null) {\n\t\t\t\t\tthis.acnLastUpdated = attributes.acnLastUpdated;\n\t\t\t\t} else {\n\t\t\t\t\tthis.acnLastUpdated = moment(attributes.acnLastUpdated).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.enableEmailNotifications !== undefined) {\n\t\t\t\tthis.enableEmailNotifications = attributes.enableEmailNotifications;\n\t\t\t}\n\t\t\tif (attributes.entityTypeDescription !== undefined) {\n\t\t\t\tthis.entityTypeDescription = attributes.entityTypeDescription;\n\t\t\t}\n\t\t\tif (attributes.monitorNotificationsEmail !== undefined) {\n\t\t\t\tthis.monitorNotificationsEmail = attributes.monitorNotificationsEmail;\n\t\t\t}\n\t\t\tif (attributes.summary !== undefined) {\n\t\t\t\tthis.summary = attributes.summary;\n\t\t\t}\n\t\t\tif (attributes.trusteeACNStatus !== undefined) {\n\t\t\t\tthis.trusteeACNStatus = attributes.trusteeACNStatus;\n\t\t\t}\n\t\t\tif (attributes.enableDrinksLicence !== undefined) {\n\t\t\t\tthis.enableDrinksLicence = attributes.enableDrinksLicence;\n\t\t\t}\n\t\t\tif (attributes.canUpdatePaymentMethod !== undefined) {\n\t\t\t\tthis.canUpdatePaymentMethod = attributes.canUpdatePaymentMethod;\n\t\t\t}\n\t\t\tif (attributes.atbFiles !== undefined && Array.isArray(attributes.atbFiles)) {\n\t\t\t\tfor (const model of attributes.atbFiles) {\n\t\t\t\t\tif (model instanceof Models.AtbFileEntity) {\n\t\t\t\t\t\tthis.atbFiles.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.atbFiles.push(new Models.AtbFileEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.address !== undefined) {\n\t\t\t\tif (attributes.address === null) {\n\t\t\t\t\tthis.address = attributes.address;\n\t\t\t\t} else if (attributes.address instanceof Models.AddressEntity) {\n\t\t\t\t\tthis.address = attributes.address;\n\t\t\t\t} else {\n\t\t\t\t\tthis.address = new Models.AddressEntity(attributes.address);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.applicationss !== undefined && Array.isArray(attributes.applicationss)) {\n\t\t\t\tfor (const model of attributes.applicationss) {\n\t\t\t\t\tif (model instanceof Models.ApplicationEntity) {\n\t\t\t\t\t\tthis.applicationss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.applicationss.push(new Models.ApplicationEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.businessEntityCreditReportSettingss !== undefined && Array.isArray(attributes.businessEntityCreditReportSettingss)) {\n\t\t\t\tfor (const model of attributes.businessEntityCreditReportSettingss) {\n\t\t\t\t\tif (model instanceof Models.BusinessEntityCreditReportSettingsEntity) {\n\t\t\t\t\t\tthis.businessEntityCreditReportSettingss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.businessEntityCreditReportSettingss.push(new Models.BusinessEntityCreditReportSettingsEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.organisationId !== undefined) {\n\t\t\t\tthis.organisationId = attributes.organisationId;\n\t\t\t}\n\t\t\tif (attributes.organisation !== undefined) {\n\t\t\t\tif (attributes.organisation === null) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t} else if (attributes.organisation instanceof Models.OrganisationEntity) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t\tthis.organisationId = attributes.organisation.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.organisation = new Models.OrganisationEntity(attributes.organisation);\n\t\t\t\t\tthis.organisationId = this.organisation.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.customerss !== undefined && Array.isArray(attributes.customerss)) {\n\t\t\t\tfor (const model of attributes.customerss) {\n\t\t\t\t\tif (model instanceof Models.CustomerEntity) {\n\t\t\t\t\t\tthis.customerss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.customerss.push(new Models.CustomerEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.esigntemplatess !== undefined && Array.isArray(attributes.esigntemplatess)) {\n\t\t\t\tfor (const model of attributes.esigntemplatess) {\n\t\t\t\t\tif (model instanceof Models.EsigntemplateEntity) {\n\t\t\t\t\t\tthis.esigntemplatess.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.esigntemplatess.push(new Models.EsigntemplateEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.logoss !== undefined && Array.isArray(attributes.logoss)) {\n\t\t\t\tfor (const model of attributes.logoss) {\n\t\t\t\t\tif (model instanceof Models.LogoEntity) {\n\t\t\t\t\t\tthis.logoss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.logoss.push(new Models.LogoEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.paymentMethods !== undefined && Array.isArray(attributes.paymentMethods)) {\n\t\t\t\tfor (const model of attributes.paymentMethods) {\n\t\t\t\t\tif (model instanceof Models.BusinessEntityPaymentMethod) {\n\t\t\t\t\t\tthis.paymentMethods.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.paymentMethods.push(new Models.BusinessEntityPaymentMethod(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.primaryOrganisation !== undefined) {\n\t\t\t\tif (attributes.primaryOrganisation === null) {\n\t\t\t\t\tthis.primaryOrganisation = attributes.primaryOrganisation;\n\t\t\t\t} else if (attributes.primaryOrganisation instanceof Models.OrganisationEntity) {\n\t\t\t\t\tthis.primaryOrganisation = attributes.primaryOrganisation;\n\t\t\t\t} else {\n\t\t\t\t\tthis.primaryOrganisation = new Models.OrganisationEntity(attributes.primaryOrganisation);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.spgss !== undefined && Array.isArray(attributes.spgss)) {\n\t\t\t\tfor (const model of attributes.spgss) {\n\t\t\t\t\tif (model instanceof Models.SpgEntity) {\n\t\t\t\t\t\tthis.spgss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.spgss.push(new Models.SpgEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.users !== undefined && Array.isArray(attributes.users)) {\n\t\t\t\tfor (const model of attributes.users) {\n\t\t\t\t\tif (model instanceof Models.BusinessEntityUser) {\n\t\t\t\t\t\tthis.users.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.users.push(new Models.BusinessEntityUser(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] on begin\n\t\t\tif (attributes.integrationXeroTenantId !== undefined) {\n\t\t\t\tthis.integrationXeroTenantId = attributes.integrationXeroTenantId;\n\t\t\t}\n\t\t\tif (attributes.integrationXeroTenantName !== undefined) {\n\t\t\t\tthis.integrationXeroTenantName = attributes.integrationXeroTenantName;\n\t\t\t}\n\t\t\tif (attributes.automatedAtbProcessingDayOfMonth !== undefined) {\n\t\t\t\tthis.automatedAtbProcessingDayOfMonth = attributes.automatedAtbProcessingDayOfMonth;\n\t\t\t}\n\n\t\t\t// ensure the observable is set correctly.\n\t\t\tif (!attributes.trusteeACN && !attributes.trusteeName) {\n\t\t\t\tthis.useCorporateTrusteeACN = '';\n\t\t\t} else if (attributes.trusteeACN) {\n\t\t\t\tthis.useCorporateTrusteeACN = 'Yes';\n\t\t\t} else if (attributes.trusteeName) {\n\t\t\t\tthis.useCorporateTrusteeACN = 'No';\n\t\t\t}\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tpaymentMethods {\n\t\t\t${Models.BusinessEntityPaymentMethod.getAttributes().join('\\n')}\n\t\t\tpaymentMethod {\n\t\t\t\t${Models.PaymentMethodEntity.getAttributes().join('\\n')}\n\t\t\t}\n\t\t}\n\t\tusers {\n\t\t\t${Models.BusinessEntityUser.getAttributes().join('\\n')}\n\t\t\tuser {\n\t\t\t\t${Models.UserEntity.getAttributes().join('\\n')}\n\t\t\t}\n\t\t}\n\t\tatbFiles {\n\t\t\t${Models.AtbFileEntity.getAttributes().join('\\n')}\n\t\t}\n\t\taddress {\n\t\t\t${Models.AddressEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tapplicationss {\n\t\t\t${Models.ApplicationEntity.getAttributes().join('\\n')}\n\t\t\t${Models.ApplicationEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t}\n\t\tbusinessEntityCreditReportSettingss {\n\t\t\t${Models.BusinessEntityCreditReportSettingsEntity.getAttributes().join('\\n')}\n\t\t}\n\t\torganisation {\n\t\t\t${Models.OrganisationEntity.getAttributes().join('\\n')}\n\t\t\t${Models.OrganisationEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t}\n\t\tcustomerss {\n\t\t\t${Models.CustomerEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tesigntemplatess {\n\t\t\t${Models.EsigntemplateEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tlogoss {\n\t\t\t${Models.LogoEntity.getAttributes().join('\\n')}\n\t\t\t${Models.LogoEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t}\n\t\tprimaryOrganisation {\n\t\t\t${Models.OrganisationEntity.getAttributes().join('\\n')}\n\t\t\t${Models.OrganisationEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t}\n\t\tspgss {\n\t\t\t${Models.SpgEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tpaymentMethods: {},\n\t\t\tusers: {},\n\t\t\tatbFiles: {},\n\t\t\taddress: {},\n\t\t\tapplicationss: {},\n\t\t\tbusinessEntityCreditReportSettingss: {},\n\t\t\tcustomerss: {},\n\t\t\tesigntemplatess: {},\n\t\t\tlogoss: {},\n\t\t\tprimaryOrganisation: {},\n\t\t\tspgss: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'address',\n\t\t\t\t\t\t\t'applicationss',\n\t\t\t\t\t\t\t'esigntemplatess',\n\t\t\t\t\t\t\t'logoss',\n\t\t\t\t\t\t\t'paymentMethods',\n\t\t\t\t\t\t\t'primaryOrganisation',\n\t\t\t\t\t\t\t'spgss',\n\t\t\t\t\t\t\t'users',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] on begin\n\t\treturn this.name;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] on begin\n\tpublic static IsLinkedToUser(businessEntity: BusinessEntity): boolean {\n\t\tconst { commonViewBusinessEntities } = store.userPermissions;\n\n\t\tif (commonViewBusinessEntities === 'NONE') {\n\t\t\treturn false;\n\t\t}\n\t\tif (commonViewBusinessEntities === 'ALL' || commonViewBusinessEntities === 'WITHIN_ORGANISATION') {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn store.getUser?.businessEntityIds?.includes(businessEntity.id) ?? false;\n\t}\n\n\tpublic updateMontiorStatus() {\n\t\t// eslint-disable-next-line max-len\n\t\tthis.enabledForMonitor = true;\n\t}\n\n\t// Use ts-ignore because the C#Bot model doesn't type these as nullable, despite the fact that they don't have a\n\t// required attribute.\n\t@action public async removePpsrProduct() {\n\t\t// @ts-ignore\n\t\tthis.hire = null;\n\t\t// @ts-ignore\n\t\tthis.supplyGnE = null;\n\t\t// @ts-ignore\n\t\tthis.finance = null;\n\t\t// @ts-ignore\n\t\tthis.summary = null;\n\t\tthis.enabledForPPSR = false;\n\t\tconst promises = [];\n\t\tfor (const reference of this.spgss) {\n\t\t\treference.isActive = false;\n\t\t\tpromises.push(reference.save());\n\t\t}\n\t\tawait Promise.all(promises);\n\t}\n\n\t@action public async removeMonitorProduct() {\n\t\tthis.enabledForMonitor = false;\n\t\tawait this.save();\n\t}\n\n\t@action public async enableMonitorProduct() {\n\t\tthis.enabledForMonitor = true;\n\t}\n\n\t@action public clearAbnFields() {\n\t\tthis.entityName = '';\n\t\tthis.entityTypeDescription = '';\n\t\tthis.entityStatus = '';\n\t\tthis.entityTypeCode = '';\n\t}\n\n\t@action public clearAcnFields() {\n\t\tthis.acnEntityTypeCode = '';\n\t\tthis.acnEntityName = '';\n\t\tthis.acnStatus = '';\n\t}\n\n\t@action public clearTrusteeAcnFields() {\n\t\tthis.trusteeACNEntityName = '';\n\t\tthis.trusteeACNEntityTypeCode = '';\n\t\tthis.trusteeACNStatus = '';\n\t}\n\n\t@action public async removeApproveProduct() {\n\t\tthis.enabledForApprove = false;\n\t\tconst promises = [];\n\t\tfor (const reference of this.applicationss) {\n\t\t\treference.isActive = false;\n\t\t\tpromises.push(reference.save());\n\t\t}\n\t\tawait Promise.all(promises);\n\t}\n\n\t// function to clear all the fields of a business entity. Including the extra observable fields\n\t@action public async clearFields() {\n\t\tconst attributes = Models.BusinessEntity.getAttributes();\n\t\tattributes.forEach(attr => {\n\t\t\tthis[attr] = undefined;\n\t\t});\n\t\tthis.address = new AddressEntity();\n\t\tthis.errors = {};\n\t\tthis.integrationXeroTenantId = undefined;\n\t\tthis.integrationXeroTenantName = undefined;\n\t\tthis.automatedAtbProcessingDayOfMonth = undefined;\n\t\tthis.abnFinishedValidating = false;\n\t\tthis.trusteeAcnFinishedValidating = false;\n\t\tthis.acnFinishedValidating = false;\n\t}\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(BusinessEntity.prototype, 'created');\nCRUD(modifiedAttr)(BusinessEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserCustomerAudit from 'Models/Security/Acl/UserCustomerAudit';\nimport UserMonitoredEntityAudit from 'Models/Security/Acl/UserMonitoredEntityAudit';\nimport VisitorsMonitoredEntityAudit from 'Models/Security/Acl/VisitorsMonitoredEntityAudit';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface ICustomerAuditEntityAttributes extends IModelAttributes {\n\tdescription: string;\n\tcategory: Enums.customerAuditCategory;\n\n\tcustomerId: string;\n\tcustomer: Models.CustomerEntity | Models.ICustomerEntityAttributes;\n\tuserId?: string;\n\tuser?: Models.UserEntity | Models.IUserEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('CustomerAuditEntity', 'Customer Audit')\n// % protected region % [Customise your entity metadata here] end\nexport default class CustomerAuditEntity extends Model\n\timplements ICustomerAuditEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserCustomerAudit(),\n\t\tnew UserMonitoredEntityAudit(),\n\t\tnew VisitorsMonitoredEntityAudit(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Description'] off begin\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Description',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic description: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Description'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Category'] off begin\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Category',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.customerAuditCategoryOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.customerAuditCategoryOptions),\n\t\tdisplayFunction: (attr: Enums.customerAuditCategory) => Enums.customerAuditCategoryOptions[attr],\n\t})\n\tpublic category: Enums.customerAuditCategory;\n\t// % protected region % [Modify props to the crud options here for attribute 'Category'] end\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer'] off begin\n\t\tname: 'Customer',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 30,\n\t\treferenceTypeFunc: () => Models.CustomerEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer'] end\n\t})\n\tpublic customerId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic customer: Models.CustomerEntity;\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'User'] off begin\n\t\tname: 'User',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 40,\n\t\treferenceTypeFunc: () => Models.UserEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'User'] end\n\t})\n\tpublic userId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic user: Models.UserEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.description !== undefined) {\n\t\t\t\tthis.description = attributes.description;\n\t\t\t}\n\t\t\tif (attributes.category !== undefined) {\n\t\t\t\tthis.category = attributes.category;\n\t\t\t}\n\t\t\tif (attributes.customerId !== undefined) {\n\t\t\t\tthis.customerId = attributes.customerId;\n\t\t\t}\n\t\t\tif (attributes.customer !== undefined) {\n\t\t\t\tif (attributes.customer === null) {\n\t\t\t\t\tthis.customer = attributes.customer;\n\t\t\t\t} else if (attributes.customer instanceof Models.CustomerEntity) {\n\t\t\t\t\tthis.customer = attributes.customer;\n\t\t\t\t\tthis.customerId = attributes.customer.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.customer = new Models.CustomerEntity(attributes.customer);\n\t\t\t\t\tthis.customerId = this.customer.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.userId !== undefined) {\n\t\t\t\tthis.userId = attributes.userId;\n\t\t\t}\n\t\t\tif (attributes.user !== undefined) {\n\t\t\t\tif (attributes.user === null) {\n\t\t\t\t\tthis.user = attributes.user;\n\t\t\t\t} else if (attributes.user instanceof Models.UserEntity) {\n\t\t\t\t\tthis.user = attributes.user;\n\t\t\t\t\tthis.userId = attributes.user.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.user = new Models.UserEntity(attributes.user);\n\t\t\t\t\tthis.userId = this.user.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tcustomer {\n\t\t\t${Models.CustomerEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tuser {\n\t\t\t${Models.UserEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(CustomerAuditEntity.prototype, 'created');\nCRUD(modifiedAttr)(CustomerAuditEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserIndustryCodesEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsIndustryCodesEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserIndustryCodesEntity from 'Models/Security/Acl/UserIndustryCodesEntity';\nimport VisitorsIndustryCodesEntity from 'Models/Security/Acl/VisitorsIndustryCodesEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport { gql } from '@apollo/client';\nimport { store } from 'Models/Store';\nimport { computed, runInAction } from 'mobx';\n// % protected region % [Add any further imports here] end\n\nexport interface IIndustryCodesEntityAttributes extends IModelAttributes {\n\tcode: string;\n\tdescription: string;\n\n\torganisationss: Array<\n\t\t| Models.OrganisationEntity\n\t\t| Models.IOrganisationEntityAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('IndustryCodesEntity', 'Industry Codes')\n// % protected region % [Customise your entity metadata here] end\nexport default class IndustryCodesEntity extends Model\n\timplements IIndustryCodesEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserIndustryCodesEntity(),\n\t\tnew VisitorsIndustryCodesEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Code'] off begin\n\t/**\n\t * Code\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Code',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic code: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Code'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Description'] off begin\n\t/**\n\t * Description\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Description',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic description: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Description'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisations'] off begin\n\t\tname: 'Organisationss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 30,\n\t\treferenceTypeFunc: () => Models.OrganisationEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'organisationss',\n\t\t\toppositeEntity: () => Models.OrganisationEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisations'] end\n\t})\n\tpublic organisationss: Models.OrganisationEntity[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.code !== undefined) {\n\t\t\t\tthis.code = attributes.code;\n\t\t\t}\n\t\t\tif (attributes.description !== undefined) {\n\t\t\t\tthis.description = attributes.description;\n\t\t\t}\n\t\t\tif (attributes.organisationss !== undefined && Array.isArray(attributes.organisationss)) {\n\t\t\t\tfor (const model of attributes.organisationss) {\n\t\t\t\t\tif (model instanceof Models.OrganisationEntity) {\n\t\t\t\t\t\tthis.organisationss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.organisationss.push(new Models.OrganisationEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\torganisationss {\n\t\t\t${Models.OrganisationEntity.getAttributes().join('\\n')}\n\t\t\t${Models.OrganisationEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\torganisationss: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'organisationss',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] on begin\n\t\treturn `${this.code} - ${this.description}`;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] on begin\n\t// We need Industry codes in a lot of places throughout the app, and it's unlikely to change between requests,\n\t// so we use a static variable here to cache the value to prevent fetching it more than once\n\t@observable private static _industryCodes = [] as IndustryCodesEntity[];\n\t@observable private static _promise = null as Promise|null;\n\tpublic static industryCodes(): Promise {\n\t\tif (IndustryCodesEntity._promise) {\n\t\t\treturn IndustryCodesEntity._promise;\n\t\t}\n\n\t\tIndustryCodesEntity._promise = new Promise(resolve => {\n\t\t\tstore.apolloClient.query({\n\t\t\t\tquery: gql`\n\t\t\t\t\tquery fetchIndustryCodes {\n\t\t\t\t\t\tindustryCodesEntitys(\n\t\t\t\t\t\t\torderBy: [{path: \"code\", descending: false}],\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\tcode\n\t\t\t\t\t\t\tdescription\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t`,\n\t\t\t\tfetchPolicy: 'no-cache',\n\t\t\t}).then(({ data }) => {\n\t\t\t\trunInAction(() => {\n\t\t\t\t\tIndustryCodesEntity._industryCodes = data.industryCodesEntitys\n\t\t\t\t\t\t.map((attributes: IIndustryCodesEntityAttributes) => new IndustryCodesEntity(attributes))\n\t\t\t\t\t\t.sort((one: IndustryCodesEntity, two: IndustryCodesEntity) => {\n\t\t\t\t\t\t\t// Manually sort so that we can put the 'Unknown/Other' value on top\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t!one.code\n\t\t\t\t\t\t\t\t|| (\n\t\t\t\t\t\t\t\t\t!!two.code\n\t\t\t\t\t\t\t\t\t&& one.code.toLowerCase() < two.code.toLowerCase()\n\t\t\t\t\t\t\t\t)) {\n\t\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t});\n\n\t\t\t\t\tresolve(IndustryCodesEntity._industryCodes);\n\t\t\t\t});\n\t\t\t});\n\t\t});\n\n\t\treturn IndustryCodesEntity._promise;\n\t}\n\n\t// If we want to get the codes, but can't wait, then this will return the current value\n\t// It will still fetch the codes, but you won't see the results until a future call\n\t// If called from within an observer, though, it'll still rerender because this is a computed field\n\t@computed\n\tpublic static get industryCodesSync() {\n\t\tIndustryCodesEntity.industryCodes();\n\t\treturn IndustryCodesEntity._industryCodes;\n\t}\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(IndustryCodesEntity.prototype, 'created');\nCRUD(modifiedAttr)(IndustryCodesEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserOrganisationEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsOrganisationEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport { SERVER_URL } from 'Constants';\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchManyToManyFunc,\n\tmakeJoinEqualsFunc,\n\tmakeFetchOneToManyFunc,\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserOrganisationEntity from 'Models/Security/Acl/UserOrganisationEntity';\nimport VisitorsOrganisationEntity from 'Models/Security/Acl/VisitorsOrganisationEntity';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport { store } from 'Models/Store';\nimport { gql } from '@apollo/client';\nimport { IWhereCondition } from 'Views/Components/ModelCollection/ModelQuery';\nimport { noSpaces } from 'Util/StringUtils';\nimport { IAttributeGroup } from 'Models/Model';\nimport { makeDropdownFetchOneToManyFunc } from 'Util/EntityUtils';\n/* eslint-disable indent */\n// % protected region % [Add any further imports here] end\n\nexport interface IOrganisationEntityAttributes extends IModelAttributes {\n\treferrerBenefitType: Enums.referrerBenefitType;\n\treferralPartnerEmail: string;\n\tisClient: boolean;\n\tlegacyID: number;\n\tisReferralPartner: boolean;\n\tmonthlyExposure: number;\n\treferralPartnerBlurb: string;\n\treferrerBusinessOther: string;\n\treferrerBankAccountName: string;\n\treferralPartnerLogoId: string;\n\treferralPartnerLogo: Blob;\n\tmaxActiveUserCount: number;\n\tcustomerCount: number;\n\treferrerCharityName: string;\n\tapproveEnabled: boolean;\n\treferrerBusinessType: Enums.referrerBusinessType;\n\tppsrEnabled: boolean;\n\treferrerCommissionPercent: number;\n\tisActive: boolean;\n\treferrerBSB: string;\n\treferrerCommissionFrequency: Enums.referrerCommissionFrequency;\n\thowDidYouHearAboutUs: string;\n\tintelEnabled: boolean;\n\tcriskcoApplicantID: string;\n\tcustomerColumnSettings: string;\n\tacceptedterms: Date;\n\treferrerAcceptedTerms: boolean;\n\treferrerBankAccountNumber: string;\n\tenforceOnlinePayments: boolean;\n\taccountType: Enums.accountType;\n\tisOnFreeTrial: boolean;\n\tfreeTrialExpiryDate: Date;\n\torganisationCategory: Enums.organisationCategory;\n\n\tauthorisedCreditBureaus: Array<\n\t\t| Models.OrganisationAuthorisedCreditBureau\n\t\t| Models.IOrganisationAuthorisedCreditBureauAttributes\n\t>;\n\tbusinessEntitys: Array<\n\t\t| Models.BusinessEntity\n\t\t| Models.IBusinessEntityAttributes\n\t>;\n\tcustomerss: Array<\n\t\t| Models.CustomerEntity\n\t\t| Models.ICustomerEntityAttributes\n\t>;\n\tdiscountss: Array<\n\t\t| Models.DiscountEntity\n\t\t| Models.IDiscountEntityAttributes\n\t>;\n\tgroupss: Array<\n\t\t| Models.GroupEntity\n\t\t| Models.IGroupEntityAttributes\n\t>;\n\tinvoices: Array<\n\t\t| Models.InvoiceEntity\n\t\t| Models.IInvoiceEntityAttributes\n\t>;\n\tmonitoringProviders: Array<\n\t\t| Models.MonitoringProviderOrganisation\n\t\t| Models.IMonitoringProviderOrganisationAttributes\n\t>;\n\tindustryCodesId?: string;\n\tindustryCodes?: Models.IndustryCodesEntity | Models.IIndustryCodesEntityAttributes;\n\treferralPartnerGroupId?: string;\n\treferralPartnerGroup?: Models.ReferralPartnerGroupEntity | Models.IReferralPartnerGroupEntityAttributes;\n\tprimaryBusinessEntityId?: string;\n\tprimaryBusinessEntity?: Models.BusinessEntity | Models.IBusinessEntityAttributes;\n\tproviderProductOrganisations: Array<\n\t\t| Models.ProviderProductOrganisationEntity\n\t\t| Models.IProviderProductOrganisationEntityAttributes\n\t>;\n\tproviders: Array<\n\t\t| Models.OrganisationProvider\n\t\t| Models.IOrganisationProviderAttributes\n\t>;\n\treferredRegistrationss: Array<\n\t\t| Models.RegistrationEntity\n\t\t| Models.IRegistrationEntityAttributes\n\t>;\n\tregistration?: Models.RegistrationEntity |\n\t\tModels.IRegistrationEntityAttributes;\n\tusers: Array<\n\t\t| Models.UserEntity\n\t\t| Models.IUserEntityAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] on begin\n\tisValidated: boolean;\n\tintegrationXeroEnabled: boolean;\n\tintegrationXeroTokenExpiry?: Date|null;\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] on begin\nexport const AttributeGroupPrimary: number = 1;\nexport const AttributeGroupIntegrations: number = 2;\nexport const AttributeGroupReferralPartner: number = 3;\nexport const AttributeGroupOther: number = 99;\n\n@entity('OrganisationEntity', 'Organisation')\n// % protected region % [Customise your entity metadata here] end\nexport default class OrganisationEntity extends Model\n\timplements IOrganisationEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserOrganisationEntity(),\n\t\tnew VisitorsOrganisationEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Benefit Type'] on begin\n\t/**\n\t * The mode which they would like to receive commission\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referrer Benefit Type',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 90,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.referrerBenefitTypeOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.referrerBenefitTypeOptions),\n\t\tdisplayFunction: (attr: Enums.referrerBenefitType) => Enums.referrerBenefitTypeOptions[attr],\n\t\tgroupId: AttributeGroupReferralPartner,\n\t})\n\tpublic referrerBenefitType: Enums.referrerBenefitType;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Benefit Type'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referral Partner Email'] on begin\n\t@Validators.Email()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referral Partner Email',\n\t\tdisplayType: 'textfield',\n\t\torder: 260,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t\tgroupId: AttributeGroupReferralPartner,\n\t})\n\tpublic referralPartnerEmail: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referral Partner Email'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Client'] on begin\n\t/**\n\t * Is the organisation a client\n\t */\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Is Client',\n\t\tdisplayType: 'checkbox',\n\t\torder: 100,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t\tgroupId: AttributeGroupPrimary,\n\t})\n\tpublic isClient: boolean = false;\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Client'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Legacy ID'] on begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Legacy ID',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t\tgroupId: AttributeGroupPrimary,\n\t\tisReadonly: true,\n\t})\n\tpublic legacyID: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Legacy ID'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Referral Partner'] on begin\n\t/**\n\t * Is the organisation a referral partner\n\t */\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Is Referral Partner',\n\t\tdisplayType: 'checkbox',\n\t\torder: 110,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t\tgroupId: AttributeGroupPrimary,\n\t})\n\tpublic isReferralPartner: boolean = false;\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Referral Partner'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Monthly Exposure'] on begin\n\t/**\n\t * This is the current monthly exposure of the organisation\n\t */\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Monthly Exposure',\n\t\tdisplayType: 'textfield',\n\t\torder: 230,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t\tgroupId: AttributeGroupPrimary,\n\t})\n\tpublic monthlyExposure: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Monthly Exposure'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referral Partner Blurb'] on begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referral Partner Blurb',\n\t\tdisplayType: 'textarea',\n\t\torder: 250,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t\tgroupId: AttributeGroupReferralPartner,\n\t})\n\tpublic referralPartnerBlurb: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referral Partner Blurb'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Business Other'] on begin\n\t/**\n\t * Other Business Type Description\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referrer Business Other',\n\t\tdisplayType: 'textfield',\n\t\torder: 140,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t\tgroupId: AttributeGroupReferralPartner,\n\t})\n\tpublic referrerBusinessOther: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Business Other'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Bank Account Name'] on begin\n\t/**\n\t * Bank Account Name for the referral partner\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referrer Bank Account Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 180,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t\tgroupId: AttributeGroupReferralPartner,\n\t})\n\tpublic referrerBankAccountName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Bank Account Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referral Partner Logo'] on begin\n\t@observable\n\t@attribute({ file: 'referralPartnerLogo' })\n\t@CRUD({\n\t\tname: 'Referral Partner Logo',\n\t\tdisplayType: 'file',\n\t\torder: 270,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseUuid,\n\t\tinputProps: {\n\t\t\timageOnly: true,\n\t\t},\n\t\tfileAttribute: 'referralPartnerLogo',\n\t\tdisplayFunction: attr => attr\n\t\t\t? \"A\n\t\t\t: 'No File Attached',\n\t\tgroupId: AttributeGroupReferralPartner,\n\t})\n\tpublic referralPartnerLogoId: string;\n\n\t@observable\n\tpublic referralPartnerLogo: Blob;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referral Partner Logo'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Max Active User Count'] on begin\n\t/**\n\t * The maximum Count of Active Users used for billing calculation\n\t */\n\t@Validators.Required()\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Max Active User Count',\n\t\tdisplayType: 'textfield',\n\t\torder: 240,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t\tgroupId: AttributeGroupPrimary,\n\t})\n\tpublic maxActiveUserCount: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Max Active User Count'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Customer Count'] on begin\n\t/**\n\t * This customer count is used for pricing if the organisation has not added any customers yet in the Monitor platform\n\t */\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Customer Count',\n\t\tdisplayType: 'textfield',\n\t\torder: 220,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t\tgroupId: AttributeGroupPrimary,\n\t})\n\tpublic customerCount: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Customer Count'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Charity Name'] on begin\n\t/**\n\t * The name of the charity they would like to receive their commission\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referrer Charity Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 150,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t\tgroupId: AttributeGroupReferralPartner,\n\t})\n\tpublic referrerCharityName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Charity Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Approve Enabled'] on begin\n\t/**\n\t * Approve Enabled\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Approve Enabled',\n\t\tdisplayType: 'checkbox',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t\tgroupId: AttributeGroupPrimary,\n\t})\n\tpublic approveEnabled: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Approve Enabled'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Business Type'] on begin\n\t/**\n\t * What does your business do\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referrer Business Type',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 130,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.referrerBusinessTypeOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.referrerBusinessTypeOptions),\n\t\tdisplayFunction: (attr: Enums.referrerBusinessType) => Enums.referrerBusinessTypeOptions[attr],\n\t\tgroupId: AttributeGroupReferralPartner,\n\t})\n\tpublic referrerBusinessType: Enums.referrerBusinessType;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Business Type'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'PPSR Enabled'] on begin\n\t/**\n\t * PPSR Enabled\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'PPSR Enabled',\n\t\tdisplayType: 'checkbox',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t\tgroupId: AttributeGroupPrimary,\n\t})\n\tpublic ppsrEnabled: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'PPSR Enabled'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Commission Percent'] on begin\n\t/**\n\t * The discount applied to referred clients from this organisation\n\t */\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referrer Commission Percent',\n\t\tdisplayType: 'textfield',\n\t\torder: 160,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t\tgroupId: AttributeGroupReferralPartner,\n\t})\n\tpublic referrerCommissionPercent: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Commission Percent'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] on begin\n\t/**\n\t * Is Active\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Is Active',\n\t\tdisplayType: 'checkbox',\n\t\torder: 80,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t\tgroupId: AttributeGroupPrimary,\n\t})\n\tpublic isActive: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer BSB'] on begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referrer BSB',\n\t\tdisplayType: 'textfield',\n\t\torder: 190,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t\tgroupId: AttributeGroupReferralPartner,\n\t})\n\tpublic referrerBSB: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer BSB'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Commission Frequency'] on begin\n\t/**\n\t * How often does the organisaion receive the commission\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referrer Commission Frequency',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 170,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.referrerCommissionFrequencyOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.referrerCommissionFrequencyOptions),\n\t\tdisplayFunction: (attr: Enums.referrerCommissionFrequency) => Enums.referrerCommissionFrequencyOptions[attr],\n\t\tgroupId: AttributeGroupReferralPartner,\n\t})\n\tpublic referrerCommissionFrequency: Enums.referrerCommissionFrequency;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Commission Frequency'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'How Did You Hear About Us'] on begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'How Did You Hear About Us',\n\t\tdisplayType: 'textfield',\n\t\torder: 120,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t\tgroupId: AttributeGroupPrimary,\n\t})\n\tpublic howDidYouHearAboutUs: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'How Did You Hear About Us'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Intel Enabled'] on begin\n\t/**\n\t * Intel Enabled\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Intel Enabled',\n\t\tdisplayType: 'checkbox',\n\t\torder: 50,\n\t\theaderColumn: false,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t\tgroupId: AttributeGroupPrimary,\n\t})\n\tpublic intelEnabled: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Intel Enabled'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'CRiskCo Applicant ID'] on begin\n\t/**\n\t * CRiskCo Applicant ID\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'CRiskCo Applicant ID',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: false,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic criskcoApplicantID: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'CRiskCo Applicant ID'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Customer Column Settings'] on begin\n\t/**\n\t * Customer Column Settings\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Customer Column Settings',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: false,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t\tisReadonly: true,\n\t})\n\tpublic customerColumnSettings: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Customer Column Settings'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'AcceptedTerms'] on begin\n\t/**\n\t * Date the user last accepted terms. If this is prior to the last time the terms were updated, the user may need to accept them again.\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'AcceptedTerms',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 40,\n\t\theaderColumn: false,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic acceptedterms: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'AcceptedTerms'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Accepted Terms'] on begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referrer Accepted Terms',\n\t\tdisplayType: 'checkbox',\n\t\torder: 210,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t\tgroupId: AttributeGroupReferralPartner,\n\t})\n\tpublic referrerAcceptedTerms: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Accepted Terms'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Bank Account Number'] on begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referrer Bank Account Number',\n\t\tdisplayType: 'textfield',\n\t\torder: 200,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t\tgroupId: AttributeGroupReferralPartner,\n\t})\n\tpublic referrerBankAccountNumber: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referrer Bank Account Number'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Enforce Online Payments'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Enforce Online Payments',\n\t\tdisplayType: 'checkbox',\n\t\torder: 280,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic enforceOnlinePayments: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Enforce Online Payments'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Account Type'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Account Type',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 290,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.accountTypeOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.accountTypeOptions),\n\t\tdisplayFunction: (attr: Enums.accountType) => Enums.accountTypeOptions[attr],\n\t})\n\tpublic accountType: Enums.accountType;\n\t// % protected region % [Modify props to the crud options here for attribute 'Account Type'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Is On Free Trial'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Is On Free Trial',\n\t\tdisplayType: 'checkbox',\n\t\torder: 300,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic isOnFreeTrial: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Is On Free Trial'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Free Trial Expiry Date'] off begin\n\t@observable\n\t@attribute({ serialise: (e, a) => AttrUtils.serialiseDate(a) })\n\t@CRUD({\n\t\tname: 'Free Trial Expiry Date',\n\t\tdisplayType: 'datepicker',\n\t\torder: 310,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: attr => AttrUtils.standardiseDate(attr, { serialiseAs: 'date' }),\n\t})\n\tpublic freeTrialExpiryDate: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Free Trial Expiry Date'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Organisation Category'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Organisation Category',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 320,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.organisationCategoryOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.organisationCategoryOptions),\n\t\tdisplayFunction: (attr: Enums.organisationCategory) => Enums.organisationCategoryOptions[attr],\n\t})\n\tpublic organisationCategory: Enums.organisationCategory;\n\t// % protected region % [Modify props to the crud options here for attribute 'Organisation Category'] end\n\n\t/**\n\t * Credit bureaus the organisation has agreed to share data with\n\t */\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Authorised Credit Bureau'] on begin\n\t\tname: 'Authorised Credit Bureau',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 330,\n\t\tisJoinEntity: true,\n\t\treferenceTypeFunc: () => Models.OrganisationAuthorisedCreditBureau,\n\t\toptionEqualFunc: makeJoinEqualsFunc('authorisedCreditBureauId'),\n\t\treferenceResolveFunction: makeFetchManyToManyFunc({\n\t\t\tentityName: 'organisationEntity',\n\t\t\toppositeEntityName: 'creditBureauEntity',\n\t\t\trelationName: 'organisation',\n\t\t\trelationOppositeName: 'authorisedCreditBureau',\n\t\t\tentity: () => Models.OrganisationEntity,\n\t\t\tjoinEntity: () => Models.OrganisationAuthorisedCreditBureau,\n\t\t\toppositeEntity: () => Models.CreditBureauEntity,\n\t\t}),\n\t\tgroupId: AttributeGroupPrimary,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Authorised Credit Bureau'] end\n\t})\n\tpublic authorisedCreditBureaus: Models.OrganisationAuthorisedCreditBureau[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] off begin\n\t\tname: 'Business Entitys',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 340,\n\t\treferenceTypeFunc: () => Models.BusinessEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'businessEntitys',\n\t\t\toppositeEntity: () => Models.BusinessEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] end\n\t})\n\tpublic businessEntitys: Models.BusinessEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customers'] off begin\n\t\tname: 'Customerss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 350,\n\t\treferenceTypeFunc: () => Models.CustomerEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'customerss',\n\t\t\toppositeEntity: () => Models.CustomerEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customers'] end\n\t})\n\tpublic customerss: Models.CustomerEntity[] = [];\n\n\t/**\n\t * An organisation can have discounts\n\t */\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Discounts'] off begin\n\t\tname: 'Discountss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 360,\n\t\treferenceTypeFunc: () => Models.DiscountEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'discountss',\n\t\t\toppositeEntity: () => Models.DiscountEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Discounts'] end\n\t})\n\tpublic discountss: Models.DiscountEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Groups'] off begin\n\t\tname: 'Groupss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 370,\n\t\treferenceTypeFunc: () => Models.GroupEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'groupss',\n\t\t\toppositeEntity: () => Models.GroupEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Groups'] end\n\t})\n\tpublic groupss: Models.GroupEntity[] = [];\n\n\t/**\n\t * Invoice\n\t */\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Invoice'] on begin\n\t\tname: 'Invoices',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 270,\n\t\treferenceTypeFunc: () => Models.InvoiceEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeDropdownFetchOneToManyFunc({\n\t\t\trelationName: 'invoices',\n\t\t\toppositeEntity: () => Models.InvoiceEntity,\n\t\t}),\n\t\tisReadonly: true,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Invoice'] end\n\t})\n\tpublic invoices: Models.InvoiceEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitoring Provider'] off begin\n\t\tname: 'Monitoring Provider',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 390,\n\t\tisJoinEntity: true,\n\t\treferenceTypeFunc: () => Models.MonitoringProviderOrganisation,\n\t\toptionEqualFunc: makeJoinEqualsFunc('monitoringProviderId'),\n\t\treferenceResolveFunction: makeFetchManyToManyFunc({\n\t\t\tentityName: 'organisationEntity',\n\t\t\toppositeEntityName: 'monitoringProviderEntity',\n\t\t\trelationName: 'organisation',\n\t\t\trelationOppositeName: 'monitoringProvider',\n\t\t\tentity: () => Models.OrganisationEntity,\n\t\t\tjoinEntity: () => Models.MonitoringProviderOrganisation,\n\t\t\toppositeEntity: () => Models.MonitoringProviderEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitoring Provider'] end\n\t})\n\tpublic monitoringProviders: Models.MonitoringProviderOrganisation[] = [];\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Industry Codes'] on begin\n\t\tname: 'Industry Codes',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 280,\n\t\treferenceTypeFunc: () => Models.IndustryCodesEntity,\n\t\tgroupId: AttributeGroupPrimary,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Industry Codes'] end\n\t})\n\tpublic industryCodesId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic industryCodes: Models.IndustryCodesEntity;\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Referral Partner Group'] on begin\n\t\tname: 'Referral Partner Group',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 340,\n\t\treferenceTypeFunc: () => Models.ReferralPartnerGroupEntity,\n\t\tgroupId: AttributeGroupReferralPartner,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Referral Partner Group'] end\n\t})\n\tpublic referralPartnerGroupId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic referralPartnerGroup: Models.ReferralPartnerGroupEntity;\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Primary Business Entity'] on begin\n\t\tname: 'Primary Business Entity',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 310,\n\t\treferenceTypeFunc: () => Models.BusinessEntity,\n\t\treferenceResolveFunction: makeDropdownFetchOneToManyFunc({\n\t\t\trelationName: 'primaryBusinessEntitys',\n\t\t\toppositeEntity: () => Models.BusinessEntity,\n\t\t}),\n\t\tgroupId: AttributeGroupPrimary,\n\t\tisReadonly: true,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Primary Business Entity'] end\n\t})\n\tpublic primaryBusinessEntityId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic primaryBusinessEntity: Models.BusinessEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider Product Organisation'] off begin\n\t\tname: 'Provider Product Organisations',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 430,\n\t\treferenceTypeFunc: () => Models.ProviderProductOrganisationEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'providerProductOrganisations',\n\t\t\toppositeEntity: () => Models.ProviderProductOrganisationEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider Product Organisation'] end\n\t})\n\tpublic providerProductOrganisations: Models.ProviderProductOrganisationEntity[] = [];\n\n\t/**\n\t * Providers the organisation has access to\n\t */\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider'] off begin\n\t\tname: 'Provider',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 440,\n\t\tisJoinEntity: true,\n\t\treferenceTypeFunc: () => Models.OrganisationProvider,\n\t\toptionEqualFunc: makeJoinEqualsFunc('providerId'),\n\t\treferenceResolveFunction: makeFetchManyToManyFunc({\n\t\t\tentityName: 'organisationEntity',\n\t\t\toppositeEntityName: 'providerEntity',\n\t\t\trelationName: 'organisation',\n\t\t\trelationOppositeName: 'provider',\n\t\t\tentity: () => Models.OrganisationEntity,\n\t\t\tjoinEntity: () => Models.OrganisationProvider,\n\t\t\toppositeEntity: () => Models.ProviderEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider'] end\n\t})\n\tpublic providers: Models.OrganisationProvider[] = [];\n\n\t/**\n\t * Keep track of organisation which made the referral\n\t */\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Referred Registrations'] on begin\n\t\tname: 'Referred Registrationss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 290,\n\t\treferenceTypeFunc: () => Models.RegistrationEntity,\n\t\treferenceResolveFunction: makeDropdownFetchOneToManyFunc({\n\t\t\trelationName: 'referredRegistrationss',\n\t\t\toppositeEntity: () => Models.RegistrationEntity,\n\t\t}),\n\t\tgroupId: AttributeGroupReferralPartner,\n\t\tisReadonly: true,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Referred Registrations'] end\n\t})\n\tpublic referredRegistrationss: Models.RegistrationEntity[] = [];\n\n\t/**\n\t * Registration which created this organisation\n\t */\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Registration'] on begin\n\t\tname: 'Registration',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 320,\n\t\treferenceTypeFunc: () => Models.RegistrationEntity,\n\t\toptionEqualFunc: (model, option) => model.id === option,\n\t\tinputProps: {\n\t\t\tfetchReferenceEntity: true,\n\t\t},\n\t\treferenceResolveFunction: makeDropdownFetchOneToManyFunc({\n\t\t\trelationName: 'registrations',\n\t\t\toppositeEntity: () => Models.RegistrationEntity,\n\t\t}),\n\t\tisReadonly: true,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Registration'] end\n\t})\n\tpublic registration?: Models.RegistrationEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'User'] off begin\n\t\tname: 'Users',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 470,\n\t\treferenceTypeFunc: () => Models.UserEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'users',\n\t\t\toppositeEntity: () => Models.UserEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'User'] end\n\t})\n\tpublic users: Models.UserEntity[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] on begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Is Validated',\n\t\tdisplayType: 'checkbox',\n\t\torder: 430,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t\tgroupId: AttributeGroupPrimary,\n\t})\n\tpublic isValidated: boolean;\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Integration Xero Enabled',\n\t\tdisplayType: 'checkbox',\n\t\torder: 340,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t\tgroupId: AttributeGroupIntegrations,\n\t})\n\tpublic integrationXeroEnabled: boolean;\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Integration Xero Token Expiry',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 350,\n\t\tsearchable: false,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t\tgroupId: AttributeGroupIntegrations,\n\t\tisReadonly: true,\n\t})\n\tpublic integrationXeroTokenExpiry?: Date|null;\n\n\tpublic attributeGroups = [\n\t\t{\n\t\t\tid: AttributeGroupPrimary,\n\t\t\torder: AttributeGroupPrimary,\n\t\t\tname: 'Primary',\n\t\t\tshowName: true,\n\t\t},\n\t\t{\n\t\t\tid: AttributeGroupIntegrations,\n\t\t\torder: AttributeGroupIntegrations,\n\t\t\tname: 'Integrations',\n\t\t\tshowName: true,\n\t\t},\n\t\t{\n\t\t\tid: AttributeGroupReferralPartner,\n\t\t\torder: AttributeGroupReferralPartner,\n\t\t\tname: 'Referral Partner',\n\t\t\tshowName: true,\n\t\t},\n\t\t{\n\t\t\tid: AttributeGroupOther,\n\t\t\torder: AttributeGroupOther,\n\t\t\tname: 'Other',\n\t\t\tshowName: true,\n\t\t},\n\t] as IAttributeGroup[];\n\n\t@action public validateField = async (field: string) => {\n\t\tswitch (field) {\n\t\t\tcase 'businessType': {\n\t\t\t\tthis.setFieldError('businessType', !this.referrerBusinessType, 'A business type must be selected');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'businessTypeOther': {\n\t\t\t\tthis.setFieldError(\n\t\t\t\t\t'businessTypeOther',\n\t\t\t\t\tthis.referrerBusinessType === 'OTHER' && !this.referrerBusinessOther,\n\n\t\t\t\t\t'A summary must be provided',\n\t\t\t\t);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'benefitType': {\n\t\t\t\tthis.setFieldError('benefitType', !this.referrerBenefitType, 'A benefit type must be selected');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'commissionFrequency': {\n\t\t\t\tthis.setFieldError('commissionFrequency', this.referrerBenefitType === 'COMMISSION'\n\t\t\t\t\t&& !this.referrerCommissionFrequency, 'A commission frequency must be selected');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'accountName': {\n\t\t\t\tthis.setFieldError('accountName', this.referrerBenefitType === 'COMMISSION'\n\t\t\t\t\t&& !this.referrerBankAccountName, 'A bank account name must be entered');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'bsb': {\n\t\t\t\tthis.setFieldError('bsb', this.referrerBenefitType === 'COMMISSION' && (!this.referrerBSB\n\t\t\t\t\t|| !OrganisationEntity.validBSB(this.referrerBSB)), 'A valid BSB must be entered');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'accountNumber': {\n\t\t\t\tthis.setFieldError('accountNumber', this.referrerBenefitType === 'COMMISSION'\n\t\t\t\t\t&& (!this.referrerBankAccountNumber || !OrganisationEntity.validAccountNumber(\n\t\t\t\t\t\tthis.referrerBankAccountNumber,\n\t\t\t\t\t)), 'A valid bank account number must be entered');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'charity': {\n\t\t\t\tthis.setFieldError(\n\t\t\t\t\t'charity',\n\t\t\t\t\tthis.referrerBenefitType === 'CHARITY' && !this.referrerCharityName,\n\t\t\t\t\t'A charity must be selected',\n\t\t\t\t);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t};\n\n\tpublic validateBenefitFields = async () => {\n\t\tconst fieldList = [\n\t\t\t'businessType', 'charity', 'accountNumber', 'bsb', 'accountName', 'commissionFrequency', 'benefitType',\n\t\t\t'businessTypeOther',\n\t\t];\n\t\tconst validationPromises = fieldList.map(field => this.validateField(field));\n\t\tawait Promise.all(validationPromises);\n\t};\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.referrerBenefitType !== undefined) {\n\t\t\t\tthis.referrerBenefitType = attributes.referrerBenefitType;\n\t\t\t}\n\t\t\tif (attributes.referralPartnerEmail !== undefined) {\n\t\t\t\tthis.referralPartnerEmail = attributes.referralPartnerEmail;\n\t\t\t}\n\t\t\tif (attributes.isClient !== undefined) {\n\t\t\t\tthis.isClient = attributes.isClient;\n\t\t\t}\n\t\t\tif (attributes.legacyID !== undefined) {\n\t\t\t\tthis.legacyID = attributes.legacyID;\n\t\t\t}\n\t\t\tif (attributes.isReferralPartner !== undefined) {\n\t\t\t\tthis.isReferralPartner = attributes.isReferralPartner;\n\t\t\t}\n\t\t\tif (attributes.monthlyExposure !== undefined) {\n\t\t\t\tthis.monthlyExposure = attributes.monthlyExposure;\n\t\t\t}\n\t\t\tif (attributes.referralPartnerBlurb !== undefined) {\n\t\t\t\tthis.referralPartnerBlurb = attributes.referralPartnerBlurb;\n\t\t\t}\n\t\t\tif (attributes.referrerBusinessOther !== undefined) {\n\t\t\t\tthis.referrerBusinessOther = attributes.referrerBusinessOther;\n\t\t\t}\n\t\t\tif (attributes.referrerBankAccountName !== undefined) {\n\t\t\t\tthis.referrerBankAccountName = attributes.referrerBankAccountName;\n\t\t\t}\n\t\t\tif (attributes.referralPartnerLogo !== undefined) {\n\t\t\t\tthis.referralPartnerLogo = attributes.referralPartnerLogo;\n\t\t\t}\n\t\t\tif (attributes.referralPartnerLogoId !== undefined) {\n\t\t\t\tthis.referralPartnerLogoId = attributes.referralPartnerLogoId;\n\t\t\t}\n\t\t\tif (attributes.maxActiveUserCount !== undefined) {\n\t\t\t\tthis.maxActiveUserCount = attributes.maxActiveUserCount;\n\t\t\t}\n\t\t\tif (attributes.customerCount !== undefined) {\n\t\t\t\tthis.customerCount = attributes.customerCount;\n\t\t\t}\n\t\t\tif (attributes.referrerCharityName !== undefined) {\n\t\t\t\tthis.referrerCharityName = attributes.referrerCharityName;\n\t\t\t}\n\t\t\tif (attributes.approveEnabled !== undefined) {\n\t\t\t\tthis.approveEnabled = attributes.approveEnabled;\n\t\t\t}\n\t\t\tif (attributes.referrerBusinessType !== undefined) {\n\t\t\t\tthis.referrerBusinessType = attributes.referrerBusinessType;\n\t\t\t}\n\t\t\tif (attributes.ppsrEnabled !== undefined) {\n\t\t\t\tthis.ppsrEnabled = attributes.ppsrEnabled;\n\t\t\t}\n\t\t\tif (attributes.referrerCommissionPercent !== undefined) {\n\t\t\t\tthis.referrerCommissionPercent = attributes.referrerCommissionPercent;\n\t\t\t}\n\t\t\tif (attributes.isActive !== undefined) {\n\t\t\t\tthis.isActive = attributes.isActive;\n\t\t\t}\n\t\t\tif (attributes.referrerBSB !== undefined) {\n\t\t\t\tthis.referrerBSB = attributes.referrerBSB;\n\t\t\t}\n\t\t\tif (attributes.referrerCommissionFrequency !== undefined) {\n\t\t\t\tthis.referrerCommissionFrequency = attributes.referrerCommissionFrequency;\n\t\t\t}\n\t\t\tif (attributes.howDidYouHearAboutUs !== undefined) {\n\t\t\t\tthis.howDidYouHearAboutUs = attributes.howDidYouHearAboutUs;\n\t\t\t}\n\t\t\tif (attributes.intelEnabled !== undefined) {\n\t\t\t\tthis.intelEnabled = attributes.intelEnabled;\n\t\t\t}\n\t\t\tif (attributes.criskcoApplicantID !== undefined) {\n\t\t\t\tthis.criskcoApplicantID = attributes.criskcoApplicantID;\n\t\t\t}\n\t\t\tif (attributes.customerColumnSettings !== undefined) {\n\t\t\t\tthis.customerColumnSettings = attributes.customerColumnSettings;\n\t\t\t}\n\t\t\tif (attributes.acceptedterms !== undefined) {\n\t\t\t\tif (attributes.acceptedterms === null) {\n\t\t\t\t\tthis.acceptedterms = attributes.acceptedterms;\n\t\t\t\t} else {\n\t\t\t\t\tthis.acceptedterms = moment(attributes.acceptedterms).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.referrerAcceptedTerms !== undefined) {\n\t\t\t\tthis.referrerAcceptedTerms = attributes.referrerAcceptedTerms;\n\t\t\t}\n\t\t\tif (attributes.referrerBankAccountNumber !== undefined) {\n\t\t\t\tthis.referrerBankAccountNumber = attributes.referrerBankAccountNumber;\n\t\t\t}\n\t\t\tif (attributes.enforceOnlinePayments !== undefined) {\n\t\t\t\tthis.enforceOnlinePayments = attributes.enforceOnlinePayments;\n\t\t\t}\n\t\t\tif (attributes.accountType !== undefined) {\n\t\t\t\tthis.accountType = attributes.accountType;\n\t\t\t}\n\t\t\tif (attributes.isOnFreeTrial !== undefined) {\n\t\t\t\tthis.isOnFreeTrial = attributes.isOnFreeTrial;\n\t\t\t}\n\t\t\tif (attributes.freeTrialExpiryDate !== undefined) {\n\t\t\t\tif (attributes.freeTrialExpiryDate === null) {\n\t\t\t\t\tthis.freeTrialExpiryDate = attributes.freeTrialExpiryDate;\n\t\t\t\t} else {\n\t\t\t\t\tthis.freeTrialExpiryDate = moment(attributes.freeTrialExpiryDate).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.organisationCategory !== undefined) {\n\t\t\t\tthis.organisationCategory = attributes.organisationCategory;\n\t\t\t}\n\t\t\tif (attributes.authorisedCreditBureaus !== undefined && Array.isArray(attributes.authorisedCreditBureaus)) {\n\t\t\t\tfor (const model of attributes.authorisedCreditBureaus) {\n\t\t\t\t\tif (model instanceof Models.OrganisationAuthorisedCreditBureau) {\n\t\t\t\t\t\tthis.authorisedCreditBureaus.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.authorisedCreditBureaus.push(new Models.OrganisationAuthorisedCreditBureau(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.businessEntitys !== undefined && Array.isArray(attributes.businessEntitys)) {\n\t\t\t\tfor (const model of attributes.businessEntitys) {\n\t\t\t\t\tif (model instanceof Models.BusinessEntity) {\n\t\t\t\t\t\tthis.businessEntitys.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.businessEntitys.push(new Models.BusinessEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.customerss !== undefined && Array.isArray(attributes.customerss)) {\n\t\t\t\tfor (const model of attributes.customerss) {\n\t\t\t\t\tif (model instanceof Models.CustomerEntity) {\n\t\t\t\t\t\tthis.customerss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.customerss.push(new Models.CustomerEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.discountss !== undefined && Array.isArray(attributes.discountss)) {\n\t\t\t\tfor (const model of attributes.discountss) {\n\t\t\t\t\tif (model instanceof Models.DiscountEntity) {\n\t\t\t\t\t\tthis.discountss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.discountss.push(new Models.DiscountEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.groupss !== undefined && Array.isArray(attributes.groupss)) {\n\t\t\t\tfor (const model of attributes.groupss) {\n\t\t\t\t\tif (model instanceof Models.GroupEntity) {\n\t\t\t\t\t\tthis.groupss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.groupss.push(new Models.GroupEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.invoices !== undefined && Array.isArray(attributes.invoices)) {\n\t\t\t\tfor (const model of attributes.invoices) {\n\t\t\t\t\tif (model instanceof Models.InvoiceEntity) {\n\t\t\t\t\t\tthis.invoices.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.invoices.push(new Models.InvoiceEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.monitoringProviders !== undefined && Array.isArray(attributes.monitoringProviders)) {\n\t\t\t\tfor (const model of attributes.monitoringProviders) {\n\t\t\t\t\tif (model instanceof Models.MonitoringProviderOrganisation) {\n\t\t\t\t\t\tthis.monitoringProviders.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.monitoringProviders.push(new Models.MonitoringProviderOrganisation(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.industryCodesId !== undefined) {\n\t\t\t\tthis.industryCodesId = attributes.industryCodesId;\n\t\t\t}\n\t\t\tif (attributes.industryCodes !== undefined) {\n\t\t\t\tif (attributes.industryCodes === null) {\n\t\t\t\t\tthis.industryCodes = attributes.industryCodes;\n\t\t\t\t} else if (attributes.industryCodes instanceof Models.IndustryCodesEntity) {\n\t\t\t\t\tthis.industryCodes = attributes.industryCodes;\n\t\t\t\t\tthis.industryCodesId = attributes.industryCodes.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.industryCodes = new Models.IndustryCodesEntity(attributes.industryCodes);\n\t\t\t\t\tthis.industryCodesId = this.industryCodes.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.referralPartnerGroupId !== undefined) {\n\t\t\t\tthis.referralPartnerGroupId = attributes.referralPartnerGroupId;\n\t\t\t}\n\t\t\tif (attributes.referralPartnerGroup !== undefined) {\n\t\t\t\tif (attributes.referralPartnerGroup === null) {\n\t\t\t\t\tthis.referralPartnerGroup = attributes.referralPartnerGroup;\n\t\t\t\t} else if (attributes.referralPartnerGroup instanceof Models.ReferralPartnerGroupEntity) {\n\t\t\t\t\tthis.referralPartnerGroup = attributes.referralPartnerGroup;\n\t\t\t\t\tthis.referralPartnerGroupId = attributes.referralPartnerGroup.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.referralPartnerGroup = new Models.ReferralPartnerGroupEntity(attributes.referralPartnerGroup);\n\t\t\t\t\tthis.referralPartnerGroupId = this.referralPartnerGroup.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.primaryBusinessEntityId !== undefined) {\n\t\t\t\tthis.primaryBusinessEntityId = attributes.primaryBusinessEntityId;\n\t\t\t}\n\t\t\tif (attributes.primaryBusinessEntity !== undefined) {\n\t\t\t\tif (attributes.primaryBusinessEntity === null) {\n\t\t\t\t\tthis.primaryBusinessEntity = attributes.primaryBusinessEntity;\n\t\t\t\t} else if (attributes.primaryBusinessEntity instanceof Models.BusinessEntity) {\n\t\t\t\t\tthis.primaryBusinessEntity = attributes.primaryBusinessEntity;\n\t\t\t\t\tthis.primaryBusinessEntityId = attributes.primaryBusinessEntity.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.primaryBusinessEntity = new Models.BusinessEntity(attributes.primaryBusinessEntity);\n\t\t\t\t\tthis.primaryBusinessEntityId = this.primaryBusinessEntity.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.providerProductOrganisations !== undefined && Array.isArray(attributes.providerProductOrganisations)) {\n\t\t\t\tfor (const model of attributes.providerProductOrganisations) {\n\t\t\t\t\tif (model instanceof Models.ProviderProductOrganisationEntity) {\n\t\t\t\t\t\tthis.providerProductOrganisations.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.providerProductOrganisations.push(new Models.ProviderProductOrganisationEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.providers !== undefined && Array.isArray(attributes.providers)) {\n\t\t\t\tfor (const model of attributes.providers) {\n\t\t\t\t\tif (model instanceof Models.OrganisationProvider) {\n\t\t\t\t\t\tthis.providers.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.providers.push(new Models.OrganisationProvider(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.referredRegistrationss !== undefined && Array.isArray(attributes.referredRegistrationss)) {\n\t\t\t\tfor (const model of attributes.referredRegistrationss) {\n\t\t\t\t\tif (model instanceof Models.RegistrationEntity) {\n\t\t\t\t\t\tthis.referredRegistrationss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.referredRegistrationss.push(new Models.RegistrationEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.registration !== undefined) {\n\t\t\t\tif (attributes.registration === null) {\n\t\t\t\t\tthis.registration = attributes.registration;\n\t\t\t\t} else if (attributes.registration instanceof Models.RegistrationEntity) {\n\t\t\t\t\tthis.registration = attributes.registration;\n\t\t\t\t} else {\n\t\t\t\t\tthis.registration = new Models.RegistrationEntity(attributes.registration);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.users !== undefined && Array.isArray(attributes.users)) {\n\t\t\t\tfor (const model of attributes.users) {\n\t\t\t\t\tif (model instanceof Models.UserEntity) {\n\t\t\t\t\t\tthis.users.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.users.push(new Models.UserEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] on begin\n\t\t\tif (attributes.isValidated !== undefined) {\n\t\t\t\tthis.isValidated = attributes.isValidated;\n\t\t\t}\n\n\t\t\tif (attributes.integrationXeroTokenExpiry !== undefined) {\n\t\t\t\tif (attributes.integrationXeroTokenExpiry === null) {\n\t\t\t\t\tthis.integrationXeroTokenExpiry = attributes.integrationXeroTokenExpiry;\n\t\t\t\t} else {\n\t\t\t\t\tthis.integrationXeroTokenExpiry = moment(attributes.integrationXeroTokenExpiry).toDate();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (attributes.integrationXeroEnabled !== undefined) {\n\t\t\t\tthis.integrationXeroEnabled = attributes.integrationXeroEnabled;\n\t\t\t}\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] on begin\n\tpublic listExpands = `\n\t\tprimaryBusinessEntity {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t`;\n\n\tpublic defaultExpands = `\n\t\tauthorisedCreditBureaus {\n\t\t\t${Models.OrganisationAuthorisedCreditBureau.getAttributes().join('\\n')}\n\t\t\tauthorisedCreditBureau {\n\t\t\t\t${Models.CreditBureauEntity.getAttributes().join('\\n')}\n\t\t\t}\n\t\t}\n\t\tbusinessEntitys {\n\t\t\t${Models.BusinessEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tcustomerss {\n\t\t\t${Models.CustomerEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tdiscountss {\n\t\t\t${Models.DiscountEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tinvoices {\n\t\t\t${Models.InvoiceEntity.getAttributes().join('\\n')}\n\t\t\torganisation {\n\t\t\t\tid\n\t\t\t\tprimaryBusinessEntity {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tindustryCodes {\n\t\t\t${Models.IndustryCodesEntity.getAttributes().join('\\n')}\n\t\t}\n\t\treferredRegistrationss {\n\t\t\t${Models.RegistrationEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tusers {\n\t\t\t${Models.UserEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tprimaryBusinessEntity {\n\t\t\t${Models.BusinessEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tregistration {\n\t\t\t${Models.RegistrationEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] on begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = this.getAttributeCRUDOptions()\n\t\t\t.filter(crudOptions => crudOptions.isReference() && !crudOptions.isReadonlyCrud())\n\t\t\t.reduce(\n\t\t\t\t(previousValue, crudOptions) => {\n\t\t\t\t\tpreviousValue[crudOptions.attributeName] = {};\n\t\t\t\t\treturn previousValue;\n\t\t\t\t},\n\t\t\t\t{},\n\t\t\t);\n\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: Object.keys(relationPath),\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tcontentType: 'multipart/form-data',\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] on begin\n\t\treturn this.primaryBusinessEntity?.name ?? this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] on begin\n\tpublic static async fetchOrganisationList(search: string|undefined, skip?: number, take?: number) {\n\t\tconst conditions: { case: string, comparison: string, path: string, value: string[]}[] = [];\n\t\tif (!!search && search !== '') {\n\t\t\t// We are only searching on organisation\n\t\t\tconditions.push({\n\t\t\t\tpath: 'primaryBusinessEntity.name',\n\t\t\t\tcomparison: 'like',\n\t\t\t\tvalue: [`%${search}%`],\n\t\t\t\tcase: 'INVARIANT_CULTURE_IGNORE_CASE',\n\t\t\t});\n\t\t}\n\n\t\ttry {\n\t\t\tconst results = await store.apolloClient.query({\n\t\t\t\tquery: gql`\n\t\t\t\t\tquery fetchOrganisations($conditions: [[WhereExpressionGraph]], $skip: Int, $take: Int) {\n\t\t\t\t\t\torganisationEntitys(conditions: $conditions, skip: $skip, take: $take,\n\t\t\t\t\t\t\torderBy: [{path: \"primaryBusinessEntity.name\"}]) {\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\tprimaryBusinessEntity {\n\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}`,\n\t\t\t\tvariables: {\n\t\t\t\t\tconditions: conditions.length ? [conditions] : null,\n\t\t\t\t\tskip: skip,\n\t\t\t\t\ttake: take,\n\t\t\t\t},\n\t\t\t\tfetchPolicy: 'no-cache',\n\t\t\t});\n\n\t\t\treturn results.data.organisationEntitys\n\t\t\t\t.map((x: Partial) => new this(x)) as OrganisationEntity[];\n\t\t} catch {\n\t\t\treturn undefined;\n\t\t}\n\t}\n\n\t/**\n\t * Function to remove intel product and the associated many to many references with the\n\t * disclosed bureaus. This function deletes the references but doesn't save the organisation\n\t * entity\n\t */\n\t@action public async removeIntelProduct() {\n\t\tthis.intelEnabled = false;\n\t\tconst promises = [];\n\t\tfor (const reference of this.authorisedCreditBureaus) {\n\t\t\tpromises.push(reference.delete());\n\t\t}\n\n\t\tfor (const be of this.businessEntitys) {\n\t\t\tbe.removeMonitorProduct();\n\t\t}\n\t\tawait Promise.all(promises);\n\t}\n\n\t/**\n\t * This function removes the ppsr product from the organisation\n\t * and all business entities. However, does not save the entities,\n\t * this must be handled externally\n\t */\n\t@action public removePpsrProduct() {\n\t\tthis.ppsrEnabled = false;\n\t\tfor (const be of this.businessEntitys) {\n\t\t\tbe.removePpsrProduct();\n\t\t}\n\t}\n\n\t/**\n\t * This function removes the approve product from the organisation\n\t * and all business entities. However, does not save the entities,\n\t * this must be handled externally\n\t */\n\t@action public removeApproveProduct() {\n\t\tthis.approveEnabled = false;\n\t\tfor (const be of this.businessEntitys) {\n\t\t\tbe.removeApproveProduct();\n\t\t}\n\t}\n\n\tpublic getSearchConditions(searchTerm?: string): Array>> | undefined {\n\t\tconst conditions = super.getSearchConditions(searchTerm);\n\n\t\tif (searchTerm && searchTerm.trim() !== '' && conditions?.length) {\n\t\t\tconst valid = AttrUtils.standardiseString(searchTerm.trim());\n\t\t\tconditions[0].push({\n\t\t\t\tpath: 'primaryBusinessEntity.name',\n\t\t\t\tcomparison: 'like',\n\t\t\t\tvalue: valid?.query,\n\t\t\t\t...valid?.extraOptions,\n\t\t\t});\n\t\t}\n\n\t\treturn conditions;\n\t}\n\n\tpublic static validBSB = (bsb: string) : boolean => {\n\t\treturn (bsb.match(/[^0-9- ]/) === null)\n\t\t\t&& (bsb.replace(/[^0-9]/g, '').length === 6);\n\t};\n\n\tpublic static validAccountNumber = (accountNumber: string) : boolean => {\n\t\treturn noSpaces(accountNumber).match(/^[0-9]{8,}$/) !== null;\n\t};\n\n\t@action\n\tpublic clearBenefitTypeFields = () => {\n\t\tthis.setFieldError('commissionFrequency', false, '');\n\t\tthis.setFieldError('accountName', false, '');\n\t\tthis.setFieldError('bsb', false, '');\n\t\tthis.setFieldError('accountNumber', false, '');\n\t\tthis.setFieldError('charity', false, '');\n\t\t// @ts-ignore\n\t\tthis.referrerCommissionFrequency = undefined;\n\t\t// @ts-ignore\n\t\tthis.referrerBankAccountName = undefined;\n\t\t// @ts-ignore\n\t\tthis.referrerBSB = undefined;\n\t\t// @ts-ignore\n\t\tthis.referrerBankAccountNumber = undefined;\n\t\t// @ts-ignore\n\t\tthis.referrerCharityName = undefined;\n\t};\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(OrganisationEntity.prototype, 'created');\nCRUD(modifiedAttr)(OrganisationEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","import { observable } from 'mobx';\nimport { UserEntity } from 'Models/Entities/index';\nimport OrganisationEntity from 'Models/Entities/OrganisationEntity';\nimport _ from 'lodash';\nimport { jsonReplacerFn, Model, ReferencePath } from 'Models/Model';\nimport { serialiseDateTime } from '../../Util/AttributeUtils';\n\n// The type for User Permissions\nexport default class ReferralRegistrationData {\n\t@observable public user?: UserEntity;\n\t@observable public organisation?: OrganisationEntity;\n\t@observable public page?: number;\n\t@observable public termsAccepted?: boolean;\n\t@observable public continueEmailSent: boolean = false;\n\n\tconstructor(attributes?: Partial) {\n\t\tif (attributes) {\n\t\t\tif (attributes.user !== undefined) {\n\t\t\t\tthis.user = new UserEntity(attributes.user);\n\t\t\t}\n\t\t\tif (attributes.organisation !== undefined) {\n\t\t\t\tthis.organisation = new OrganisationEntity(attributes.organisation);\n\t\t\t}\n\t\t\tif (attributes.page !== undefined) {\n\t\t\t\tthis.page = attributes.page;\n\t\t\t}\n\t\t\tif (attributes.termsAccepted !== undefined) {\n\t\t\t\tthis.termsAccepted = attributes.termsAccepted;\n\t\t\t}\n\t\t\tif (attributes.continueEmailSent !== undefined) {\n\t\t\t\tthis.continueEmailSent = attributes.continueEmailSent;\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic toJSON(\n\t\tpath: ReferencePath = {},\n\t\treplacer: jsonReplacerFn | undefined = undefined,\n\t) {\n\t\tconst json = {};\n\t\tconst pathKeys = Object.keys(path);\n\n\t\tconst allKeys = _.uniq(Object.keys(this).concat(pathKeys));\n\t\tfor (const key of allKeys) {\n\t\t\tif (this[key] === null) {\n\t\t\t\tjson[key] = null;\n\t\t\t\t// eslint-disable-next-line no-continue\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tswitch (typeof (this[key])) {\n\t\t\t\tcase 'function':\n\t\t\t\t\t// We never want functions\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'object':\n\t\t\t\t\t// Format dates as strings\n\t\t\t\t\tif (this[key] instanceof Date) {\n\t\t\t\t\t\tjson[key] = serialiseDateTime(this[key]);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\t// We only want objects if they are defined in the provided path\n\t\t\t\t\tif (pathKeys.indexOf(key) >= 0) {\n\t\t\t\t\t\tif (Array.isArray(this[key])) {\n\t\t\t\t\t\t\tjson[key] = this[key].map((model: Model | { [key: string]: unknown }) => {\n\t\t\t\t\t\t\t\tif (typeof model.toJSON === 'function') {\n\t\t\t\t\t\t\t\t\treturn model.toJSON(path[key]);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn JSON.parse(JSON.stringify(model));\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} else if (this[key] === null) {\n\t\t\t\t\t\t\tjson[key] = null;\n\t\t\t\t\t\t} else if (typeof this[key].toJSON === 'function') {\n\t\t\t\t\t\t\tjson[key] = this[key].toJSON(path[key]);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjson[key] = JSON.parse(JSON.stringify(this[key]));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'undefined':\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif (!key.startsWith('_')) {\n\t\t\t\t\t\tjson[key] = this[key];\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (replacer) {\n\t\t\treturn replacer(json);\n\t\t}\n\t\treturn json;\n\t}\n}\n","import { observable } from 'mobx';\nimport { UserEntity } from 'Models/Entities/index';\nimport OrganisationEntity from 'Models/Entities/OrganisationEntity';\nimport BusinessEntity from 'Models/Entities/BusinessEntity';\nimport IndustryCodesEntity from 'Models/Entities/IndustryCodesEntity';\nimport _ from 'lodash';\nimport { jsonReplacerFn, Model, ReferencePath } from 'Models/Model';\nimport { serialiseDateTime } from '../../Util/AttributeUtils';\n\n// The type for User Permissions\nexport default class RegistrationData {\n\t@observable public user?: UserEntity;\n\t@observable public organisation?: OrganisationEntity;\n\t@observable public businessEntitys?: BusinessEntity[];\n\t@observable public page?: number;\n\t@observable public requestTermsReview?: boolean;\n\t@observable public monthlyExposure?: number;\n\t@observable public activeCustomers?: number;\n\t@observable public industryCode?: IndustryCodesEntity;\n\t@observable public termsAccepted?: boolean;\n\t@observable public continueEmailSent: boolean = false;\n\n\tconstructor(attributes?: Partial) {\n\t\tif (attributes) {\n\t\t\tif (attributes.user !== undefined) {\n\t\t\t\tthis.user = new UserEntity(attributes.user);\n\t\t\t}\n\t\t\tif (attributes.organisation !== undefined) {\n\t\t\t\tthis.organisation = new OrganisationEntity(attributes.organisation);\n\t\t\t}\n\t\t\tif (!!attributes.businessEntitys) {\n\t\t\t\tthis.businessEntitys = attributes.businessEntitys\n\t\t\t\t\t.map(businessEntity => new BusinessEntity(businessEntity));\n\t\t\t}\n\t\t\tif (attributes.page !== undefined) {\n\t\t\t\tthis.page = attributes.page;\n\t\t\t}\n\t\t\tif (attributes.requestTermsReview !== undefined) {\n\t\t\t\tthis.requestTermsReview = attributes.requestTermsReview;\n\t\t\t}\n\t\t\tif (attributes.monthlyExposure !== undefined) {\n\t\t\t\tthis.monthlyExposure = attributes.monthlyExposure;\n\t\t\t}\n\t\t\tif (attributes.activeCustomers !== undefined) {\n\t\t\t\tthis.activeCustomers = attributes.activeCustomers;\n\t\t\t}\n\t\t\tif (attributes.industryCode !== undefined) {\n\t\t\t\tthis.industryCode = new IndustryCodesEntity(attributes.industryCode);\n\t\t\t}\n\t\t\tif (attributes.termsAccepted !== undefined) {\n\t\t\t\tthis.termsAccepted = attributes.termsAccepted;\n\t\t\t}\n\t\t\tif (attributes.continueEmailSent !== undefined) {\n\t\t\t\tthis.continueEmailSent = attributes.continueEmailSent;\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic toJSON(\n\t\tpath: ReferencePath = {},\n\t\treplacer: jsonReplacerFn | undefined = undefined,\n\t) {\n\t\tconst json = {};\n\t\tconst pathKeys = Object.keys(path);\n\n\t\tconst allKeys = _.uniq(Object.keys(this).concat(pathKeys));\n\t\tfor (const key of allKeys) {\n\t\t\tif (this[key] === null) {\n\t\t\t\tjson[key] = null;\n\t\t\t\t// eslint-disable-next-line no-continue\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tswitch (typeof (this[key])) {\n\t\t\t\tcase 'function':\n\t\t\t\t\t// We never want functions\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'object':\n\t\t\t\t\t// Format dates as strings\n\t\t\t\t\tif (this[key] instanceof Date) {\n\t\t\t\t\t\tjson[key] = serialiseDateTime(this[key]);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\t// We only want objects if they are defined in the provided path\n\t\t\t\t\tif (pathKeys.indexOf(key) >= 0) {\n\t\t\t\t\t\tif (Array.isArray(this[key])) {\n\t\t\t\t\t\t\tjson[key] = this[key].map((model: Model | { [key: string]: unknown }) => {\n\t\t\t\t\t\t\t\tif (typeof model.toJSON === 'function') {\n\t\t\t\t\t\t\t\t\treturn model.toJSON(path[key]);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn JSON.parse(JSON.stringify(model));\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} else if (this[key] === null) {\n\t\t\t\t\t\t\tjson[key] = null;\n\t\t\t\t\t\t} else if (typeof this[key].toJSON === 'function') {\n\t\t\t\t\t\t\tjson[key] = this[key].toJSON(path[key]);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjson[key] = JSON.parse(JSON.stringify(this[key]));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'undefined':\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif (!key.startsWith('_')) {\n\t\t\t\t\t\tjson[key] = this[key];\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (replacer) {\n\t\t\treturn replacer(json);\n\t\t}\n\t\treturn json;\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserAtbFileEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsAtbFileEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserAtbFileEntity from 'Models/Security/Acl/UserAtbFileEntity';\nimport VisitorsAtbFileEntity from 'Models/Security/Acl/VisitorsAtbFileEntity';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IAtbFileEntityAttributes extends IModelAttributes {\n\tatbFileType: Enums.atbFileType;\n\tatbProcessingStatus: Enums.atbProcessingStatus;\n\ttargetMonth: Date;\n\tfileName: string;\n\taddNewCustomers: boolean;\n\tatbJobStatus: Enums.atbJobStatus;\n\n\tbusinessEntityId: string;\n\tbusinessEntity: Models.BusinessEntity | Models.IBusinessEntityAttributes;\n\tuserId: string;\n\tuser: Models.UserEntity | Models.IUserEntityAttributes;\n\tatbRecords: Array<\n\t\t| Models.AtbRecordEntity\n\t\t| Models.IAtbRecordEntityAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('AtbFileEntity', 'ATB File')\n// % protected region % [Customise your entity metadata here] end\nexport default class AtbFileEntity extends Model\n\timplements IAtbFileEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserAtbFileEntity(),\n\t\tnew VisitorsAtbFileEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ATB File Type'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ATB File Type',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.atbFileTypeOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.atbFileTypeOptions),\n\t\tdisplayFunction: (attr: Enums.atbFileType) => Enums.atbFileTypeOptions[attr],\n\t})\n\tpublic atbFileType: Enums.atbFileType;\n\t// % protected region % [Modify props to the crud options here for attribute 'ATB File Type'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ATB Processing Status'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ATB Processing Status',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.atbProcessingStatusOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.atbProcessingStatusOptions),\n\t\tdisplayFunction: (attr: Enums.atbProcessingStatus) => Enums.atbProcessingStatusOptions[attr],\n\t})\n\tpublic atbProcessingStatus: Enums.atbProcessingStatus;\n\t// % protected region % [Modify props to the crud options here for attribute 'ATB Processing Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Target Month'] off begin\n\t/**\n\t * Target Year and Month for the data. Day should always be 0.\n\t */\n\t@observable\n\t@attribute({ serialise: (e, a) => AttrUtils.serialiseDate(a) })\n\t@CRUD({\n\t\tname: 'Target Month',\n\t\tdisplayType: 'datepicker',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: attr => AttrUtils.standardiseDate(attr, { serialiseAs: 'date' }),\n\t})\n\tpublic targetMonth: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Target Month'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'File name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'File name',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic fileName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'File name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Add New Customers'] off begin\n\t/**\n\t * Whether or not new customers should be added by default\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Add New Customers',\n\t\tdisplayType: 'checkbox',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic addNewCustomers: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Add New Customers'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ATB Job Status'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ATB Job Status',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.atbJobStatusOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.atbJobStatusOptions),\n\t\tdisplayFunction: (attr: Enums.atbJobStatus) => Enums.atbJobStatusOptions[attr],\n\t})\n\tpublic atbJobStatus: Enums.atbJobStatus;\n\t// % protected region % [Modify props to the crud options here for attribute 'ATB Job Status'] end\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] off begin\n\t\tname: 'Business Entity',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 70,\n\t\treferenceTypeFunc: () => Models.BusinessEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] end\n\t})\n\tpublic businessEntityId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic businessEntity: Models.BusinessEntity;\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'User'] off begin\n\t\tname: 'User',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 80,\n\t\treferenceTypeFunc: () => Models.UserEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'User'] end\n\t})\n\tpublic userId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic user: Models.UserEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATB Record'] off begin\n\t\tname: 'ATB Records',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 90,\n\t\treferenceTypeFunc: () => Models.AtbRecordEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'atbRecords',\n\t\t\toppositeEntity: () => Models.AtbRecordEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATB Record'] end\n\t})\n\tpublic atbRecords: Models.AtbRecordEntity[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] on begin\n\t@observable\n\tpublic countAtbRecordErrors: number;\n\n\t@observable\n\tpublic countAtbRecordWarnings: number;\n\n\t@observable\n\tpublic processedAtbRecords: number = 0;\n\n\t@observable\n\tpublic totalAtbRecords: number = 0;\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.atbFileType !== undefined) {\n\t\t\t\tthis.atbFileType = attributes.atbFileType;\n\t\t\t}\n\t\t\tif (attributes.atbProcessingStatus !== undefined) {\n\t\t\t\tthis.atbProcessingStatus = attributes.atbProcessingStatus;\n\t\t\t}\n\t\t\tif (attributes.targetMonth !== undefined) {\n\t\t\t\tif (attributes.targetMonth === null) {\n\t\t\t\t\tthis.targetMonth = attributes.targetMonth;\n\t\t\t\t} else {\n\t\t\t\t\tthis.targetMonth = moment(attributes.targetMonth).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.fileName !== undefined) {\n\t\t\t\tthis.fileName = attributes.fileName;\n\t\t\t}\n\t\t\tif (attributes.addNewCustomers !== undefined) {\n\t\t\t\tthis.addNewCustomers = attributes.addNewCustomers;\n\t\t\t}\n\t\t\tif (attributes.atbJobStatus !== undefined) {\n\t\t\t\tthis.atbJobStatus = attributes.atbJobStatus;\n\t\t\t}\n\t\t\tif (attributes.businessEntityId !== undefined) {\n\t\t\t\tthis.businessEntityId = attributes.businessEntityId;\n\t\t\t}\n\t\t\tif (attributes.businessEntity !== undefined) {\n\t\t\t\tif (attributes.businessEntity === null) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t} else if (attributes.businessEntity instanceof Models.BusinessEntity) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t\tthis.businessEntityId = attributes.businessEntity.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.businessEntity = new Models.BusinessEntity(attributes.businessEntity);\n\t\t\t\t\tthis.businessEntityId = this.businessEntity.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.userId !== undefined) {\n\t\t\t\tthis.userId = attributes.userId;\n\t\t\t}\n\t\t\tif (attributes.user !== undefined) {\n\t\t\t\tif (attributes.user === null) {\n\t\t\t\t\tthis.user = attributes.user;\n\t\t\t\t} else if (attributes.user instanceof Models.UserEntity) {\n\t\t\t\t\tthis.user = attributes.user;\n\t\t\t\t\tthis.userId = attributes.user.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.user = new Models.UserEntity(attributes.user);\n\t\t\t\t\tthis.userId = this.user.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.atbRecords !== undefined && Array.isArray(attributes.atbRecords)) {\n\t\t\t\tfor (const model of attributes.atbRecords) {\n\t\t\t\t\tif (model instanceof Models.AtbRecordEntity) {\n\t\t\t\t\t\tthis.atbRecords.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.atbRecords.push(new Models.AtbRecordEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tbusinessEntity {\n\t\t\t${Models.BusinessEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tuser {\n\t\t\t${Models.UserEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tatbRecords {\n\t\t\t${Models.AtbRecordEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tatbRecords: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(AtbFileEntity.prototype, 'created');\nCRUD(modifiedAttr)(AtbFileEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserAtbRecordEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsAtbRecordEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserAtbRecordEntity from 'Models/Security/Acl/UserAtbRecordEntity';\nimport VisitorsAtbRecordEntity from 'Models/Security/Acl/VisitorsAtbRecordEntity';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IAtbRecordEntityAttributes extends IModelAttributes {\n\toriginalData: string;\n\tentityName: string;\n\tphone: string;\n\tterms: string;\n\tacn: string;\n\tprocessingWarnings: string;\n\tpaymentRiskRating: Enums.riskScore;\n\tprocessingErrors: string;\n\tdp91to120: number;\n\ttotalDebt: number;\n\ttrusteeACN: string;\n\tdp31to60: number;\n\tdp61to90: number;\n\tdebtorID: string;\n\tdp1to30: number;\n\tdp120plus: number;\n\tdpcurrent: number;\n\tsicCode: string;\n\tabn: string;\n\terrorsProcessed: boolean;\n\tcustomerName: string;\n\n\tatbFileId: string;\n\tatbFile: Models.AtbFileEntity | Models.IAtbFileEntityAttributes;\n\tcustomerId?: string;\n\tcustomer?: Models.CustomerEntity | Models.ICustomerEntityAttributes;\n\taddress?: Models.AddressEntity |\n\t\tModels.IAddressEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] on begin\n\ttotalOverdue: number;\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('AtbRecordEntity', 'ATB Record')\n// % protected region % [Customise your entity metadata here] end\nexport default class AtbRecordEntity extends Model\n\timplements IAtbRecordEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserAtbRecordEntity(),\n\t\tnew VisitorsAtbRecordEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] on begin\n\t\t'totalOverdue',\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] on begin\n\t\t'totalOverdue',\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Original Data'] off begin\n\t/**\n\t * Json object of original data\n\t */\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Original Data',\n\t\tdisplayType: 'textarea',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic originalData: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Original Data'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Entity Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic entityName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Phone'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Phone',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic phone: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Phone'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Terms'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Terms',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic terms: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Terms'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acn: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Processing Warnings'] off begin\n\t/**\n\t * Json Object with Warnings from processing\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Processing Warnings',\n\t\tdisplayType: 'textarea',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic processingWarnings: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Processing Warnings'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Payment Risk Rating'] off begin\n\t/**\n\t * The payment risk rating for the customer given this set of ATB data\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Payment Risk Rating',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.riskScoreOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.riskScoreOptions),\n\t\tdisplayFunction: (attr: Enums.riskScore) => Enums.riskScoreOptions[attr],\n\t})\n\tpublic paymentRiskRating: Enums.riskScore;\n\t// % protected region % [Modify props to the crud options here for attribute 'Payment Risk Rating'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Processing Errors'] off begin\n\t/**\n\t * Json Object with Errors from processing\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Processing Errors',\n\t\tdisplayType: 'textarea',\n\t\torder: 80,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic processingErrors: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Processing Errors'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'DP91to120'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'DP91to120',\n\t\tdisplayType: 'textfield',\n\t\torder: 90,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic dp91to120: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'DP91to120'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Total Debt'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Total Debt',\n\t\tdisplayType: 'textfield',\n\t\torder: 100,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic totalDebt: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Total Debt'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee ACN',\n\t\tdisplayType: 'textfield',\n\t\torder: 110,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic trusteeACN: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'DP31to60'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'DP31to60',\n\t\tdisplayType: 'textfield',\n\t\torder: 120,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic dp31to60: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'DP31to60'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'DP61to90'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'DP61to90',\n\t\tdisplayType: 'textfield',\n\t\torder: 130,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic dp61to90: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'DP61to90'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Debtor ID'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Debtor ID',\n\t\tdisplayType: 'textfield',\n\t\torder: 140,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic debtorID: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Debtor ID'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'DP1to30'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'DP1to30',\n\t\tdisplayType: 'textfield',\n\t\torder: 150,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic dp1to30: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'DP1to30'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'DP120plus'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'DP120plus',\n\t\tdisplayType: 'textfield',\n\t\torder: 160,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic dp120plus: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'DP120plus'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'DPCurrent'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'DPCurrent',\n\t\tdisplayType: 'textfield',\n\t\torder: 170,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic dpcurrent: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'DPCurrent'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'SIC Code'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'SIC Code',\n\t\tdisplayType: 'textfield',\n\t\torder: 180,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic sicCode: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'SIC Code'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABN',\n\t\tdisplayType: 'textfield',\n\t\torder: 190,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic abn: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Errors Processed'] off begin\n\t/**\n\t * Whether or not the ATB Record has been processed\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Errors Processed',\n\t\tdisplayType: 'checkbox',\n\t\torder: 200,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic errorsProcessed: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Errors Processed'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Customer Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Customer Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 210,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic customerName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Customer Name'] end\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATB File'] off begin\n\t\tname: 'ATB File',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 220,\n\t\treferenceTypeFunc: () => Models.AtbFileEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATB File'] end\n\t})\n\tpublic atbFileId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic atbFile: Models.AtbFileEntity;\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer'] off begin\n\t\tname: 'Customer',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 230,\n\t\treferenceTypeFunc: () => Models.CustomerEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer'] end\n\t})\n\tpublic customerId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic customer: Models.CustomerEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Address'] off begin\n\t\tname: 'Address',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 240,\n\t\treferenceTypeFunc: () => Models.AddressEntity,\n\t\toptionEqualFunc: (model, option) => model.id === option,\n\t\tinputProps: {\n\t\t\tfetchReferenceEntity: true,\n\t\t},\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'addresss',\n\t\t\toppositeEntity: () => Models.AddressEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Address'] end\n\t})\n\tpublic address?: Models.AddressEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] on begin\n\t@observable\n\tpublic totalOverdue: number;\n\n\t@observable\n\tpublic originalDataConverted: any;\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.originalData !== undefined) {\n\t\t\t\tthis.originalData = attributes.originalData;\n\t\t\t}\n\t\t\tif (attributes.entityName !== undefined) {\n\t\t\t\tthis.entityName = attributes.entityName;\n\t\t\t}\n\t\t\tif (attributes.phone !== undefined) {\n\t\t\t\tthis.phone = attributes.phone;\n\t\t\t}\n\t\t\tif (attributes.terms !== undefined) {\n\t\t\t\tthis.terms = attributes.terms;\n\t\t\t}\n\t\t\tif (attributes.acn !== undefined) {\n\t\t\t\tthis.acn = attributes.acn;\n\t\t\t}\n\t\t\tif (attributes.processingWarnings !== undefined) {\n\t\t\t\tthis.processingWarnings = attributes.processingWarnings;\n\t\t\t}\n\t\t\tif (attributes.paymentRiskRating !== undefined) {\n\t\t\t\tthis.paymentRiskRating = attributes.paymentRiskRating;\n\t\t\t}\n\t\t\tif (attributes.processingErrors !== undefined) {\n\t\t\t\tthis.processingErrors = attributes.processingErrors;\n\t\t\t}\n\t\t\tif (attributes.dp91to120 !== undefined) {\n\t\t\t\tthis.dp91to120 = attributes.dp91to120;\n\t\t\t}\n\t\t\tif (attributes.totalDebt !== undefined) {\n\t\t\t\tthis.totalDebt = attributes.totalDebt;\n\t\t\t}\n\t\t\tif (attributes.trusteeACN !== undefined) {\n\t\t\t\tthis.trusteeACN = attributes.trusteeACN;\n\t\t\t}\n\t\t\tif (attributes.dp31to60 !== undefined) {\n\t\t\t\tthis.dp31to60 = attributes.dp31to60;\n\t\t\t}\n\t\t\tif (attributes.dp61to90 !== undefined) {\n\t\t\t\tthis.dp61to90 = attributes.dp61to90;\n\t\t\t}\n\t\t\tif (attributes.debtorID !== undefined) {\n\t\t\t\tthis.debtorID = attributes.debtorID;\n\t\t\t}\n\t\t\tif (attributes.dp1to30 !== undefined) {\n\t\t\t\tthis.dp1to30 = attributes.dp1to30;\n\t\t\t}\n\t\t\tif (attributes.dp120plus !== undefined) {\n\t\t\t\tthis.dp120plus = attributes.dp120plus;\n\t\t\t}\n\t\t\tif (attributes.dpcurrent !== undefined) {\n\t\t\t\tthis.dpcurrent = attributes.dpcurrent;\n\t\t\t}\n\t\t\tif (attributes.sicCode !== undefined) {\n\t\t\t\tthis.sicCode = attributes.sicCode;\n\t\t\t}\n\t\t\tif (attributes.abn !== undefined) {\n\t\t\t\tthis.abn = attributes.abn;\n\t\t\t}\n\t\t\tif (attributes.errorsProcessed !== undefined) {\n\t\t\t\tthis.errorsProcessed = attributes.errorsProcessed;\n\t\t\t}\n\t\t\tif (attributes.customerName !== undefined) {\n\t\t\t\tthis.customerName = attributes.customerName;\n\t\t\t}\n\t\t\tif (attributes.atbFileId !== undefined) {\n\t\t\t\tthis.atbFileId = attributes.atbFileId;\n\t\t\t}\n\t\t\tif (attributes.atbFile !== undefined) {\n\t\t\t\tif (attributes.atbFile === null) {\n\t\t\t\t\tthis.atbFile = attributes.atbFile;\n\t\t\t\t} else if (attributes.atbFile instanceof Models.AtbFileEntity) {\n\t\t\t\t\tthis.atbFile = attributes.atbFile;\n\t\t\t\t\tthis.atbFileId = attributes.atbFile.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.atbFile = new Models.AtbFileEntity(attributes.atbFile);\n\t\t\t\t\tthis.atbFileId = this.atbFile.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.customerId !== undefined) {\n\t\t\t\tthis.customerId = attributes.customerId;\n\t\t\t}\n\t\t\tif (attributes.customer !== undefined) {\n\t\t\t\tif (attributes.customer === null) {\n\t\t\t\t\tthis.customer = attributes.customer;\n\t\t\t\t} else if (attributes.customer instanceof Models.CustomerEntity) {\n\t\t\t\t\tthis.customer = attributes.customer;\n\t\t\t\t\tthis.customerId = attributes.customer.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.customer = new Models.CustomerEntity(attributes.customer);\n\t\t\t\t\tthis.customerId = this.customer.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.address !== undefined) {\n\t\t\t\tif (attributes.address === null) {\n\t\t\t\t\tthis.address = attributes.address;\n\t\t\t\t} else if (attributes.address instanceof Models.AddressEntity) {\n\t\t\t\t\tthis.address = attributes.address;\n\t\t\t\t} else {\n\t\t\t\t\tthis.address = new Models.AddressEntity(attributes.address);\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] on begin\n\t\t\tif (attributes.totalOverdue !== undefined) {\n\t\t\t\tthis.totalOverdue = attributes.totalOverdue;\n\t\t\t}\n\t\t\tif (attributes.originalData !== undefined) {\n\t\t\t\ttry {\n\t\t\t\t\tthis.originalDataConverted = JSON.parse(attributes.originalData);\n\t\t\t\t} catch (e) {\n\t\t\t\t\t// most likely because non json information was saved\n\t\t\t\t\tconsole.error(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tatbFile {\n\t\t\t${Models.AtbFileEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tcustomer {\n\t\t\t${Models.CustomerEntity.getAttributes().join('\\n')}\n\t\t}\n\t\taddress {\n\t\t\t${Models.AddressEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\taddress: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'address',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(AtbRecordEntity.prototype, 'created');\nCRUD(modifiedAttr)(AtbRecordEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsAtoDebt implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserAtoDebt implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsAtoDebt from 'Models/Security/Acl/VisitorsAtoDebt';\nimport UserAtoDebt from 'Models/Security/Acl/UserAtoDebt';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IAtoDebtEntityAttributes extends IModelAttributes {\n\tamount: number;\n\trecordAdded: Date;\n\trecordUpdated: Date;\n\n\tmonitoredId: string;\n\tmonitored: Models.MonitoredEntity | Models.IMonitoredEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('AtoDebtEntity', 'ATO Debt')\n// % protected region % [Customise your entity metadata here] end\nexport default class AtoDebtEntity extends Model\n\timplements IAtoDebtEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsAtoDebt(),\n\t\tnew UserAtoDebt(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Amount'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Amount',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic amount: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Amount'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Record Added'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Record Added',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic recordAdded: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Record Added'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Record Updated'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Record Updated',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic recordUpdated: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Record Updated'] end\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitored'] off begin\n\t\tname: 'Monitored',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 40,\n\t\treferenceTypeFunc: () => Models.MonitoredEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'monitoreds',\n\t\t\toppositeEntity: () => Models.MonitoredEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitored'] end\n\t})\n\tpublic monitoredId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic monitored: Models.MonitoredEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.amount !== undefined) {\n\t\t\t\tthis.amount = attributes.amount;\n\t\t\t}\n\t\t\tif (attributes.recordAdded !== undefined) {\n\t\t\t\tif (attributes.recordAdded === null) {\n\t\t\t\t\tthis.recordAdded = attributes.recordAdded;\n\t\t\t\t} else {\n\t\t\t\t\tthis.recordAdded = moment(attributes.recordAdded).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.recordUpdated !== undefined) {\n\t\t\t\tif (attributes.recordUpdated === null) {\n\t\t\t\t\tthis.recordUpdated = attributes.recordUpdated;\n\t\t\t\t} else {\n\t\t\t\t\tthis.recordUpdated = moment(attributes.recordUpdated).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.monitoredId !== undefined) {\n\t\t\t\tthis.monitoredId = attributes.monitoredId;\n\t\t\t}\n\t\t\tif (attributes.monitored !== undefined) {\n\t\t\t\tif (attributes.monitored === null) {\n\t\t\t\t\tthis.monitored = attributes.monitored;\n\t\t\t\t} else if (attributes.monitored instanceof Models.MonitoredEntity) {\n\t\t\t\t\tthis.monitored = attributes.monitored;\n\t\t\t\t\tthis.monitoredId = attributes.monitored.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.monitored = new Models.MonitoredEntity(attributes.monitored);\n\t\t\t\t\tthis.monitoredId = this.monitored.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tmonitored {\n\t\t\t${Models.MonitoredEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'monitored',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(AtoDebtEntity.prototype, 'created');\nCRUD(modifiedAttr)(AtoDebtEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsAtoFile implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserAtoFile implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsAtoFile from 'Models/Security/Acl/VisitorsAtoFile';\nimport UserAtoFile from 'Models/Security/Acl/UserAtoFile';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IAtoFileEntityAttributes extends IModelAttributes {\n\tatoProcessingStatus: Enums.processingStatus;\n\tfileDate: Date;\n\tfileName: string;\n\tfileKey: string;\n\n\tatoFileRecordss: Array<\n\t\t| Models.AtoRecordEntity\n\t\t| Models.IAtoRecordEntityAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('AtoFileEntity', 'ATO File')\n// % protected region % [Customise your entity metadata here] end\nexport default class AtoFileEntity extends Model\n\timplements IAtoFileEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsAtoFile(),\n\t\tnew UserAtoFile(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ATO Processing Status'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ATO Processing Status',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.processingStatusOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.processingStatusOptions),\n\t\tdisplayFunction: (attr: Enums.processingStatus) => Enums.processingStatusOptions[attr],\n\t})\n\tpublic atoProcessingStatus: Enums.processingStatus;\n\t// % protected region % [Modify props to the crud options here for attribute 'ATO Processing Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'File Date'] off begin\n\t/**\n\t * Target Year and Month for the data. Day should always be 0.\n\t */\n\t@observable\n\t@attribute({ serialise: (e, a) => AttrUtils.serialiseDate(a) })\n\t@CRUD({\n\t\tname: 'File Date',\n\t\tdisplayType: 'datepicker',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: attr => AttrUtils.standardiseDate(attr, { serialiseAs: 'date' }),\n\t})\n\tpublic fileDate: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'File Date'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'File Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'File Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic fileName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'File Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'File Key'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'File Key',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic fileKey: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'File Key'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATO File Records'] off begin\n\t\tname: 'ATO File Recordss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 50,\n\t\treferenceTypeFunc: () => Models.AtoRecordEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'atoFileRecordss',\n\t\t\toppositeEntity: () => Models.AtoRecordEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATO File Records'] end\n\t})\n\tpublic atoFileRecordss: Models.AtoRecordEntity[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.atoProcessingStatus !== undefined) {\n\t\t\t\tthis.atoProcessingStatus = attributes.atoProcessingStatus;\n\t\t\t}\n\t\t\tif (attributes.fileDate !== undefined) {\n\t\t\t\tif (attributes.fileDate === null) {\n\t\t\t\t\tthis.fileDate = attributes.fileDate;\n\t\t\t\t} else {\n\t\t\t\t\tthis.fileDate = moment(attributes.fileDate).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.fileName !== undefined) {\n\t\t\t\tthis.fileName = attributes.fileName;\n\t\t\t}\n\t\t\tif (attributes.fileKey !== undefined) {\n\t\t\t\tthis.fileKey = attributes.fileKey;\n\t\t\t}\n\t\t\tif (attributes.atoFileRecordss !== undefined && Array.isArray(attributes.atoFileRecordss)) {\n\t\t\t\tfor (const model of attributes.atoFileRecordss) {\n\t\t\t\t\tif (model instanceof Models.AtoRecordEntity) {\n\t\t\t\t\t\tthis.atoFileRecordss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.atoFileRecordss.push(new Models.AtoRecordEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tatoFileRecordss {\n\t\t\t${Models.AtoRecordEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tatoFileRecordss: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(AtoFileEntity.prototype, 'created');\nCRUD(modifiedAttr)(AtoFileEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsAtoRecord implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserAtoRecord implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsAtoRecord from 'Models/Security/Acl/VisitorsAtoRecord';\nimport UserAtoRecord from 'Models/Security/Acl/UserAtoRecord';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IAtoRecordEntityAttributes extends IModelAttributes {\n\tabn: string;\n\tacn: string;\n\tlegalName: string;\n\tbusinessName: string;\n\tdebtAmount: number;\n\trecordStatus: Enums.atoRecordStatus;\n\trecordInfoText: string;\n\tentityType: Enums.atoEntityType;\n\trecordAdded: Date;\n\trecordUpdated: Date;\n\tatorecorderrors: string;\n\n\tatoFileId: string;\n\tatoFile: Models.AtoFileEntity | Models.IAtoFileEntityAttributes;\n\tmonitoredId: string;\n\tmonitored: Models.MonitoredEntity | Models.IMonitoredEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('AtoRecordEntity', 'ATO Record')\n// % protected region % [Customise your entity metadata here] end\nexport default class AtoRecordEntity extends Model\n\timplements IAtoRecordEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsAtoRecord(),\n\t\tnew UserAtoRecord(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABN',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic abn: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acn: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Legal Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Legal Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic legalName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Legal Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Business Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Business Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic businessName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Business Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Debt Amount'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Debt Amount',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic debtAmount: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Debt Amount'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Record Status'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Record Status',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.atoRecordStatusOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.atoRecordStatusOptions),\n\t\tdisplayFunction: (attr: Enums.atoRecordStatus) => Enums.atoRecordStatusOptions[attr],\n\t})\n\tpublic recordStatus: Enums.atoRecordStatus;\n\t// % protected region % [Modify props to the crud options here for attribute 'Record Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Record Info Text'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Record Info Text',\n\t\tdisplayType: 'textfield',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic recordInfoText: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Record Info Text'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Type'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Entity Type',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 80,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.atoEntityTypeOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.atoEntityTypeOptions),\n\t\tdisplayFunction: (attr: Enums.atoEntityType) => Enums.atoEntityTypeOptions[attr],\n\t})\n\tpublic entityType: Enums.atoEntityType;\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Type'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Record Added'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Record Added',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 90,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic recordAdded: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Record Added'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Record Updated'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Record Updated',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 100,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic recordUpdated: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Record Updated'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ATORecordErrors'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ATORecordErrors',\n\t\tdisplayType: 'textarea',\n\t\torder: 110,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic atorecorderrors: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ATORecordErrors'] end\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATO File'] off begin\n\t\tname: 'ATO File',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 120,\n\t\treferenceTypeFunc: () => Models.AtoFileEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATO File'] end\n\t})\n\tpublic atoFileId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic atoFile: Models.AtoFileEntity;\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitored'] off begin\n\t\tname: 'Monitored',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 130,\n\t\treferenceTypeFunc: () => Models.MonitoredEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitored'] end\n\t})\n\tpublic monitoredId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic monitored: Models.MonitoredEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.abn !== undefined) {\n\t\t\t\tthis.abn = attributes.abn;\n\t\t\t}\n\t\t\tif (attributes.acn !== undefined) {\n\t\t\t\tthis.acn = attributes.acn;\n\t\t\t}\n\t\t\tif (attributes.legalName !== undefined) {\n\t\t\t\tthis.legalName = attributes.legalName;\n\t\t\t}\n\t\t\tif (attributes.businessName !== undefined) {\n\t\t\t\tthis.businessName = attributes.businessName;\n\t\t\t}\n\t\t\tif (attributes.debtAmount !== undefined) {\n\t\t\t\tthis.debtAmount = attributes.debtAmount;\n\t\t\t}\n\t\t\tif (attributes.recordStatus !== undefined) {\n\t\t\t\tthis.recordStatus = attributes.recordStatus;\n\t\t\t}\n\t\t\tif (attributes.recordInfoText !== undefined) {\n\t\t\t\tthis.recordInfoText = attributes.recordInfoText;\n\t\t\t}\n\t\t\tif (attributes.entityType !== undefined) {\n\t\t\t\tthis.entityType = attributes.entityType;\n\t\t\t}\n\t\t\tif (attributes.recordAdded !== undefined) {\n\t\t\t\tif (attributes.recordAdded === null) {\n\t\t\t\t\tthis.recordAdded = attributes.recordAdded;\n\t\t\t\t} else {\n\t\t\t\t\tthis.recordAdded = moment(attributes.recordAdded).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.recordUpdated !== undefined) {\n\t\t\t\tif (attributes.recordUpdated === null) {\n\t\t\t\t\tthis.recordUpdated = attributes.recordUpdated;\n\t\t\t\t} else {\n\t\t\t\t\tthis.recordUpdated = moment(attributes.recordUpdated).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.atorecorderrors !== undefined) {\n\t\t\t\tthis.atorecorderrors = attributes.atorecorderrors;\n\t\t\t}\n\t\t\tif (attributes.atoFileId !== undefined) {\n\t\t\t\tthis.atoFileId = attributes.atoFileId;\n\t\t\t}\n\t\t\tif (attributes.atoFile !== undefined) {\n\t\t\t\tif (attributes.atoFile === null) {\n\t\t\t\t\tthis.atoFile = attributes.atoFile;\n\t\t\t\t} else if (attributes.atoFile instanceof Models.AtoFileEntity) {\n\t\t\t\t\tthis.atoFile = attributes.atoFile;\n\t\t\t\t\tthis.atoFileId = attributes.atoFile.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.atoFile = new Models.AtoFileEntity(attributes.atoFile);\n\t\t\t\t\tthis.atoFileId = this.atoFile.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.monitoredId !== undefined) {\n\t\t\t\tthis.monitoredId = attributes.monitoredId;\n\t\t\t}\n\t\t\tif (attributes.monitored !== undefined) {\n\t\t\t\tif (attributes.monitored === null) {\n\t\t\t\t\tthis.monitored = attributes.monitored;\n\t\t\t\t} else if (attributes.monitored instanceof Models.MonitoredEntity) {\n\t\t\t\t\tthis.monitored = attributes.monitored;\n\t\t\t\t\tthis.monitoredId = attributes.monitored.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.monitored = new Models.MonitoredEntity(attributes.monitored);\n\t\t\t\t\tthis.monitoredId = this.monitored.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tatoFile {\n\t\t\t${Models.AtoFileEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tmonitored {\n\t\t\t${Models.MonitoredEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(AtoRecordEntity.prototype, 'created');\nCRUD(modifiedAttr)(AtoRecordEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserActiveCustomerPricingTierEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsActiveCustomerPricingTierEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserActiveCustomerPricingTierEntity from 'Models/Security/Acl/UserActiveCustomerPricingTierEntity';\nimport VisitorsActiveCustomerPricingTierEntity from 'Models/Security/Acl/VisitorsActiveCustomerPricingTierEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport { store } from 'Models/Store';\nimport { gql } from '@apollo/client';\nimport { computed, runInAction } from 'mobx';\n// % protected region % [Add any further imports here] end\n\nexport interface IActiveCustomerPricingTierEntityAttributes extends IModelAttributes {\n\tmaximumCustomers: number;\n\tapprovePrice: number;\n\tintelPrice: number;\n\tppsrPrice: number;\n\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('ActiveCustomerPricingTierEntity', 'Active Customer Pricing Tier')\n// % protected region % [Customise your entity metadata here] end\nexport default class ActiveCustomerPricingTierEntity extends Model\n\timplements IActiveCustomerPricingTierEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserActiveCustomerPricingTierEntity(),\n\t\tnew VisitorsActiveCustomerPricingTierEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Maximum Customers'] off begin\n\t/**\n\t * Maximum Customers\n\t */\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Maximum Customers',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic maximumCustomers: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Maximum Customers'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Approve Price'] off begin\n\t/**\n\t * Approve Price\n\t */\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Approve Price',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic approvePrice: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Approve Price'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Intel Price'] off begin\n\t/**\n\t * Intel Price\n\t */\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Intel Price',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic intelPrice: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Intel Price'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'PPSR Price'] off begin\n\t/**\n\t * PPSR Price\n\t */\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'PPSR Price',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic ppsrPrice: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'PPSR Price'] end\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.maximumCustomers !== undefined) {\n\t\t\t\tthis.maximumCustomers = attributes.maximumCustomers;\n\t\t\t}\n\t\t\tif (attributes.approvePrice !== undefined) {\n\t\t\t\tthis.approvePrice = attributes.approvePrice;\n\t\t\t}\n\t\t\tif (attributes.intelPrice !== undefined) {\n\t\t\t\tthis.intelPrice = attributes.intelPrice;\n\t\t\t}\n\t\t\tif (attributes.ppsrPrice !== undefined) {\n\t\t\t\tthis.ppsrPrice = attributes.ppsrPrice;\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(ActiveCustomerPricingTierEntity.prototype, 'created');\nCRUD(modifiedAttr)(ActiveCustomerPricingTierEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserActiveUserPricingTierEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsActiveUserPricingTierEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserActiveUserPricingTierEntity from 'Models/Security/Acl/UserActiveUserPricingTierEntity';\nimport VisitorsActiveUserPricingTierEntity from 'Models/Security/Acl/VisitorsActiveUserPricingTierEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport { store } from 'Models/Store';\nimport { gql } from '@apollo/client';\nimport { computed, runInAction } from 'mobx';\n// % protected region % [Add any further imports here] end\n\nexport interface IActiveUserPricingTierEntityAttributes extends IModelAttributes {\n\tmaximumUsers: number;\n\tprice: number;\n\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('ActiveUserPricingTierEntity', 'Active User Pricing Tier')\n// % protected region % [Customise your entity metadata here] end\nexport default class ActiveUserPricingTierEntity extends Model\n\timplements IActiveUserPricingTierEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserActiveUserPricingTierEntity(),\n\t\tnew VisitorsActiveUserPricingTierEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Maximum Users'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Maximum Users',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic maximumUsers: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Maximum Users'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Price'] off begin\n\t/**\n\t * Price\n\t */\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Price',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic price: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Price'] end\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.maximumUsers !== undefined) {\n\t\t\t\tthis.maximumUsers = attributes.maximumUsers;\n\t\t\t}\n\t\t\tif (attributes.price !== undefined) {\n\t\t\t\tthis.price = attributes.price;\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(ActiveUserPricingTierEntity.prototype, 'created');\nCRUD(modifiedAttr)(ActiveUserPricingTierEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsAddressEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserAddressEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsAddressEntity from 'Models/Security/Acl/VisitorsAddressEntity';\nimport UserAddressEntity from 'Models/Security/Acl/UserAddressEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\n/* eslint-disable max-len */\n// % protected region % [Add any further imports here] end\n\nexport interface IAddressEntityAttributes extends IModelAttributes {\n\tline1: string;\n\tcity: string;\n\tstate: string;\n\tline2: string;\n\tsuburb: string;\n\tpostcode: string;\n\tcountry: string;\n\n\tatbRecordId?: string;\n\tatbRecord?: Models.AtbRecordEntity | Models.IAtbRecordEntityAttributes;\n\tbusinessEntityId?: string;\n\tbusinessEntity?: Models.BusinessEntity | Models.IBusinessEntityAttributes;\n\tcustomerWithPhysicalAddressId?: string;\n\tcustomerWithPhysicalAddress?: Models.CustomerEntity | Models.ICustomerEntityAttributes;\n\tcustomerWithPostalAddressId?: string;\n\tcustomerWithPostalAddress?: Models.CustomerEntity | Models.ICustomerEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('AddressEntity', 'Address')\n// % protected region % [Customise your entity metadata here] end\nexport default class AddressEntity extends Model\n\timplements IAddressEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsAddressEntity(),\n\t\tnew UserAddressEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Line 1'] off begin\n\t/**\n\t * Line 1\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Line 1',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic line1: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Line 1'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'City'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'City',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic city: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'City'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'State'] off begin\n\t/**\n\t * State\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'State',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic state: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'State'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Line 2'] off begin\n\t/**\n\t * Line 2\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Line 2',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic line2: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Line 2'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Suburb'] off begin\n\t/**\n\t * Suburb\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Suburb',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic suburb: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Suburb'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Postcode'] off begin\n\t/**\n\t * Postcode\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Postcode',\n\t\tdisplayType: 'textfield',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic postcode: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Postcode'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Country'] off begin\n\t/**\n\t * Country\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Country',\n\t\tdisplayType: 'textfield',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic country: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Country'] end\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATB Record'] off begin\n\t\tname: 'ATB Record',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 80,\n\t\treferenceTypeFunc: () => Models.AtbRecordEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'atbRecords',\n\t\t\toppositeEntity: () => Models.AtbRecordEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATB Record'] end\n\t})\n\tpublic atbRecordId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic atbRecord: Models.AtbRecordEntity;\n\n\t/**\n\t * Address\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] off begin\n\t\tname: 'Business Entity',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 90,\n\t\treferenceTypeFunc: () => Models.BusinessEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'businessEntitys',\n\t\t\toppositeEntity: () => Models.BusinessEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] end\n\t})\n\tpublic businessEntityId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic businessEntity: Models.BusinessEntity;\n\n\t/**\n\t * Physical Address\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer with Physical Address'] off begin\n\t\tname: 'Customer with Physical Address',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 100,\n\t\treferenceTypeFunc: () => Models.CustomerEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'customerWithPhysicalAddresss',\n\t\t\toppositeEntity: () => Models.CustomerEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer with Physical Address'] end\n\t})\n\tpublic customerWithPhysicalAddressId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic customerWithPhysicalAddress: Models.CustomerEntity;\n\n\t/**\n\t * Postal Address\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer with Postal Address'] off begin\n\t\tname: 'Customer with Postal Address',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 110,\n\t\treferenceTypeFunc: () => Models.CustomerEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'customerWithPostalAddresss',\n\t\t\toppositeEntity: () => Models.CustomerEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer with Postal Address'] end\n\t})\n\tpublic customerWithPostalAddressId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic customerWithPostalAddress: Models.CustomerEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] on begin\n\t@action public validateField = async (field: string) => {\n\t\tswitch (field) {\n\t\t\tcase 'postcode': {\n\t\t\t\tthis.setFieldError(\n\t\t\t\t\t'postcode',\n\t\t\t\t\t!!this.postcode && !this.postcode.match(/^[0-9]{4}$/),\n\t\t\t\t\t'Postcode must comprise of four numbers',\n\t\t\t\t);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t};\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.line1 !== undefined) {\n\t\t\t\tthis.line1 = attributes.line1;\n\t\t\t}\n\t\t\tif (attributes.city !== undefined) {\n\t\t\t\tthis.city = attributes.city;\n\t\t\t}\n\t\t\tif (attributes.state !== undefined) {\n\t\t\t\tthis.state = attributes.state;\n\t\t\t}\n\t\t\tif (attributes.line2 !== undefined) {\n\t\t\t\tthis.line2 = attributes.line2;\n\t\t\t}\n\t\t\tif (attributes.suburb !== undefined) {\n\t\t\t\tthis.suburb = attributes.suburb;\n\t\t\t}\n\t\t\tif (attributes.postcode !== undefined) {\n\t\t\t\tthis.postcode = attributes.postcode;\n\t\t\t}\n\t\t\tif (attributes.country !== undefined) {\n\t\t\t\tthis.country = attributes.country;\n\t\t\t}\n\t\t\tif (attributes.atbRecordId !== undefined) {\n\t\t\t\tthis.atbRecordId = attributes.atbRecordId;\n\t\t\t}\n\t\t\tif (attributes.atbRecord !== undefined) {\n\t\t\t\tif (attributes.atbRecord === null) {\n\t\t\t\t\tthis.atbRecord = attributes.atbRecord;\n\t\t\t\t} else if (attributes.atbRecord instanceof Models.AtbRecordEntity) {\n\t\t\t\t\tthis.atbRecord = attributes.atbRecord;\n\t\t\t\t\tthis.atbRecordId = attributes.atbRecord.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.atbRecord = new Models.AtbRecordEntity(attributes.atbRecord);\n\t\t\t\t\tthis.atbRecordId = this.atbRecord.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.businessEntityId !== undefined) {\n\t\t\t\tthis.businessEntityId = attributes.businessEntityId;\n\t\t\t}\n\t\t\tif (attributes.businessEntity !== undefined) {\n\t\t\t\tif (attributes.businessEntity === null) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t} else if (attributes.businessEntity instanceof Models.BusinessEntity) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t\tthis.businessEntityId = attributes.businessEntity.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.businessEntity = new Models.BusinessEntity(attributes.businessEntity);\n\t\t\t\t\tthis.businessEntityId = this.businessEntity.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.customerWithPhysicalAddressId !== undefined) {\n\t\t\t\tthis.customerWithPhysicalAddressId = attributes.customerWithPhysicalAddressId;\n\t\t\t}\n\t\t\tif (attributes.customerWithPhysicalAddress !== undefined) {\n\t\t\t\tif (attributes.customerWithPhysicalAddress === null) {\n\t\t\t\t\tthis.customerWithPhysicalAddress = attributes.customerWithPhysicalAddress;\n\t\t\t\t} else if (attributes.customerWithPhysicalAddress instanceof Models.CustomerEntity) {\n\t\t\t\t\tthis.customerWithPhysicalAddress = attributes.customerWithPhysicalAddress;\n\t\t\t\t\tthis.customerWithPhysicalAddressId = attributes.customerWithPhysicalAddress.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.customerWithPhysicalAddress = new Models.CustomerEntity(attributes.customerWithPhysicalAddress);\n\t\t\t\t\tthis.customerWithPhysicalAddressId = this.customerWithPhysicalAddress.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.customerWithPostalAddressId !== undefined) {\n\t\t\t\tthis.customerWithPostalAddressId = attributes.customerWithPostalAddressId;\n\t\t\t}\n\t\t\tif (attributes.customerWithPostalAddress !== undefined) {\n\t\t\t\tif (attributes.customerWithPostalAddress === null) {\n\t\t\t\t\tthis.customerWithPostalAddress = attributes.customerWithPostalAddress;\n\t\t\t\t} else if (attributes.customerWithPostalAddress instanceof Models.CustomerEntity) {\n\t\t\t\t\tthis.customerWithPostalAddress = attributes.customerWithPostalAddress;\n\t\t\t\t\tthis.customerWithPostalAddressId = attributes.customerWithPostalAddress.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.customerWithPostalAddress = new Models.CustomerEntity(attributes.customerWithPostalAddress);\n\t\t\t\t\tthis.customerWithPostalAddressId = this.customerWithPostalAddress.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tatbRecord {\n\t\t\t${Models.AtbRecordEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tbusinessEntity {\n\t\t\t${Models.BusinessEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tcustomerWithPhysicalAddress {\n\t\t\t${Models.CustomerEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tcustomerWithPostalAddress {\n\t\t\t${Models.CustomerEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'atbRecord',\n\t\t\t\t\t\t\t'businessEntity',\n\t\t\t\t\t\t\t'customerWithPhysicalAddress',\n\t\t\t\t\t\t\t'customerWithPostalAddress',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] on begin\n\t\tconst localAddress = (this.line1 ? this.line1 : '')\n\t\t\t+ (this.line2 ? ` ${this.line2}` : '');\n\n\t\treturn (localAddress ? `${localAddress},` : '')\n\t\t\t+ (this.suburb ? ` ${this.suburb}` : '')\n\t\t\t+ (this.state ? ` ${this.state}` : '')\n\t\t\t+ (this.postcode ? ` ${this.postcode}` : '');\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(AddressEntity.prototype, 'created');\nCRUD(modifiedAttr)(AddressEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserAlaresCategoryRankingEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsAlaresCategoryRankingEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport { IOrderByCondition } from 'Views/Components/ModelCollection/ModelQuery';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserAlaresCategoryRankingEntity from 'Models/Security/Acl/UserAlaresCategoryRankingEntity';\nimport VisitorsAlaresCategoryRankingEntity from 'Models/Security/Acl/VisitorsAlaresCategoryRankingEntity';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IAlaresCategoryRankingEntityAttributes extends IModelAttributes {\n\tranking: number;\n\tcategory: Enums.alaresCategory;\n\tenabled: boolean;\n\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('AlaresCategoryRankingEntity', 'Alares Category Ranking')\n// % protected region % [Customise your entity metadata here] end\nexport default class AlaresCategoryRankingEntity extends Model\n\timplements IAlaresCategoryRankingEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserAlaresCategoryRankingEntity(),\n\t\tnew VisitorsAlaresCategoryRankingEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t/**\n\t * The default order by field when the collection is loaded .\n\t */\n\tpublic get orderByField(): IOrderByCondition | undefined {\n\t\t// % protected region % [Modify the order by field here] off begin\n\t\treturn {\n\t\t\tpath: 'ranking',\n\t\t\tdescending: false,\n\t\t};\n\t\t// % protected region % [Modify the order by field here] end\n\t}\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Ranking'] off begin\n\t/**\n\t * Determines the order of which the Alares Categories will be displayed\n\t */\n\t@Validators.Required()\n\t@Validators.Integer()\n\t@Validators.Unique()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Ranking',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic ranking: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Ranking'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Category'] off begin\n\t@Validators.Required()\n\t@Validators.Unique()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Category',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.alaresCategoryOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.alaresCategoryOptions),\n\t\tdisplayFunction: (attr: Enums.alaresCategory) => Enums.alaresCategoryOptions[attr],\n\t})\n\tpublic category: Enums.alaresCategory;\n\t// % protected region % [Modify props to the crud options here for attribute 'Category'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Enabled'] off begin\n\t/**\n\t * When enabled, users will be notified on this Alares Category\n\t */\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Enabled',\n\t\tdisplayType: 'checkbox',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic enabled: boolean = false;\n\t// % protected region % [Modify props to the crud options here for attribute 'Enabled'] end\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.ranking !== undefined) {\n\t\t\t\tthis.ranking = attributes.ranking;\n\t\t\t}\n\t\t\tif (attributes.category !== undefined) {\n\t\t\t\tthis.category = attributes.category;\n\t\t\t}\n\t\t\tif (attributes.enabled !== undefined) {\n\t\t\t\tthis.enabled = attributes.enabled;\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(AlaresCategoryRankingEntity.prototype, 'created');\nCRUD(modifiedAttr)(AlaresCategoryRankingEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserAlaresEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsAlaresEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserAlaresEntity from 'Models/Security/Acl/UserAlaresEntity';\nimport VisitorsAlaresEntity from 'Models/Security/Acl/VisitorsAlaresEntity';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport type { AlaresReport } from 'Models/Interfaces/AlaresReport';\n// % protected region % [Add any further imports here] end\n\nexport interface IAlaresEntityAttributes extends IModelAttributes {\n\tinsolvencyRiskRatingValue: number;\n\tlastUpdated: Date;\n\tadverseAlerts: number;\n\tinsolvencyRiskRating: Enums.riskScore;\n\tbusinessNumber: string;\n\tprocessed: boolean;\n\tjsonreport: string;\n\treportID: number;\n\n\tcustomerId: string;\n\tcustomer: Models.CustomerEntity | Models.ICustomerEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('AlaresEntity', 'Alares')\n// % protected region % [Customise your entity metadata here] end\nexport default class AlaresEntity extends Model\n\timplements IAlaresEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserAlaresEntity(),\n\t\tnew VisitorsAlaresEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Insolvency Risk Rating Value'] off begin\n\t/**\n\t * The raw decimal value of the insolvency risk rating\n\t */\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Insolvency Risk Rating Value',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic insolvencyRiskRatingValue: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Insolvency Risk Rating Value'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Last Updated'] off begin\n\t@observable\n\t@attribute({ serialise: (e, a) => AttrUtils.serialiseDate(a) })\n\t@CRUD({\n\t\tname: 'Last Updated',\n\t\tdisplayType: 'datepicker',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: attr => AttrUtils.standardiseDate(attr, { serialiseAs: 'date' }),\n\t})\n\tpublic lastUpdated: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Last Updated'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Adverse Alerts'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Adverse Alerts',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic adverseAlerts: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Adverse Alerts'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Insolvency Risk Rating'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Insolvency Risk Rating',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.riskScoreOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.riskScoreOptions),\n\t\tdisplayFunction: (attr: Enums.riskScore) => Enums.riskScoreOptions[attr],\n\t})\n\tpublic insolvencyRiskRating: Enums.riskScore;\n\t// % protected region % [Modify props to the crud options here for attribute 'Insolvency Risk Rating'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Business Number'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Business Number',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic businessNumber: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Business Number'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Processed'] off begin\n\t/**\n\t * Whether or not the status has been processed\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Processed',\n\t\tdisplayType: 'checkbox',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic processed: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Processed'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'JsonReport'] off begin\n\t/**\n\t * Alares report in json\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'JsonReport',\n\t\tdisplayType: 'textarea',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic jsonreport: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'JsonReport'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Report ID'] off begin\n\t@Validators.Integer()\n\t@Validators.Unique()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Report ID',\n\t\tdisplayType: 'textfield',\n\t\torder: 80,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic reportID: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Report ID'] end\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer'] off begin\n\t\tname: 'Customer',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 90,\n\t\treferenceTypeFunc: () => Models.CustomerEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer'] end\n\t})\n\tpublic customerId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic customer: Models.CustomerEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] on begin\n\t@observable\n\tpublic report: AlaresReport;\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.insolvencyRiskRatingValue !== undefined) {\n\t\t\t\tthis.insolvencyRiskRatingValue = attributes.insolvencyRiskRatingValue;\n\t\t\t}\n\t\t\tif (attributes.lastUpdated !== undefined) {\n\t\t\t\tif (attributes.lastUpdated === null) {\n\t\t\t\t\tthis.lastUpdated = attributes.lastUpdated;\n\t\t\t\t} else {\n\t\t\t\t\tthis.lastUpdated = moment(attributes.lastUpdated).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.adverseAlerts !== undefined) {\n\t\t\t\tthis.adverseAlerts = attributes.adverseAlerts;\n\t\t\t}\n\t\t\tif (attributes.insolvencyRiskRating !== undefined) {\n\t\t\t\tthis.insolvencyRiskRating = attributes.insolvencyRiskRating;\n\t\t\t}\n\t\t\tif (attributes.businessNumber !== undefined) {\n\t\t\t\tthis.businessNumber = attributes.businessNumber;\n\t\t\t}\n\t\t\tif (attributes.processed !== undefined) {\n\t\t\t\tthis.processed = attributes.processed;\n\t\t\t}\n\t\t\tif (attributes.jsonreport !== undefined) {\n\t\t\t\tthis.jsonreport = attributes.jsonreport;\n\t\t\t}\n\t\t\tif (attributes.reportID !== undefined) {\n\t\t\t\tthis.reportID = attributes.reportID;\n\t\t\t}\n\t\t\tif (attributes.customerId !== undefined) {\n\t\t\t\tthis.customerId = attributes.customerId;\n\t\t\t}\n\t\t\tif (attributes.customer !== undefined) {\n\t\t\t\tif (attributes.customer === null) {\n\t\t\t\t\tthis.customer = attributes.customer;\n\t\t\t\t} else if (attributes.customer instanceof Models.CustomerEntity) {\n\t\t\t\t\tthis.customer = attributes.customer;\n\t\t\t\t\tthis.customerId = attributes.customer.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.customer = new Models.CustomerEntity(attributes.customer);\n\t\t\t\t\tthis.customerId = this.customer.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] on begin\n\t\t\tif (attributes.jsonreport !== undefined) {\n\t\t\t\ttry {\n\t\t\t\t\tthis.report = JSON.parse(attributes.jsonreport) as AlaresReport;\n\t\t\t\t} catch (e) {\n\t\t\t\t\t// most likely because non json information was saved\n\t\t\t\t\tconsole.error(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tcustomer {\n\t\t\t${Models.CustomerEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(AlaresEntity.prototype, 'created');\nCRUD(modifiedAttr)(AlaresEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserAlaresReport implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsAlaresReport implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserAlaresReport from 'Models/Security/Acl/UserAlaresReport';\nimport VisitorsAlaresReport from 'Models/Security/Acl/VisitorsAlaresReport';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IAlaresReportEntityAttributes extends IModelAttributes {\n\tinsolvencyRiskRatingValue: number;\n\tlastUpdated: Date;\n\tadverseAlerts: number;\n\tinsolvencyRiskRating: Enums.riskScore;\n\tbusinessNumber: string;\n\tprocessed: boolean;\n\tjsonreport: string;\n\treportID: number;\n\n\tmonitoredId: string;\n\tmonitored: Models.MonitoredEntity | Models.IMonitoredEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('AlaresReportEntity', 'Alares Report')\n// % protected region % [Customise your entity metadata here] end\nexport default class AlaresReportEntity extends Model\n\timplements IAlaresReportEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserAlaresReport(),\n\t\tnew VisitorsAlaresReport(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Insolvency Risk Rating Value'] off begin\n\t/**\n\t * The raw decimal value of the insolvency risk rating\n\t */\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Insolvency Risk Rating Value',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic insolvencyRiskRatingValue: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Insolvency Risk Rating Value'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Last Updated'] off begin\n\t@observable\n\t@attribute({ serialise: (e, a) => AttrUtils.serialiseDate(a) })\n\t@CRUD({\n\t\tname: 'Last Updated',\n\t\tdisplayType: 'datepicker',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: attr => AttrUtils.standardiseDate(attr, { serialiseAs: 'date' }),\n\t})\n\tpublic lastUpdated: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Last Updated'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Adverse Alerts'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Adverse Alerts',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic adverseAlerts: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Adverse Alerts'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Insolvency Risk Rating'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Insolvency Risk Rating',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.riskScoreOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.riskScoreOptions),\n\t\tdisplayFunction: (attr: Enums.riskScore) => Enums.riskScoreOptions[attr],\n\t})\n\tpublic insolvencyRiskRating: Enums.riskScore;\n\t// % protected region % [Modify props to the crud options here for attribute 'Insolvency Risk Rating'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Business Number'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Business Number',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic businessNumber: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Business Number'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Processed'] off begin\n\t/**\n\t * Whether or not the status has been processed\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Processed',\n\t\tdisplayType: 'checkbox',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic processed: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Processed'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'JsonReport'] off begin\n\t/**\n\t * Alares report in json\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'JsonReport',\n\t\tdisplayType: 'textarea',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic jsonreport: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'JsonReport'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Report ID'] off begin\n\t@Validators.Integer()\n\t@Validators.Unique()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Report ID',\n\t\tdisplayType: 'textfield',\n\t\torder: 80,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic reportID: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Report ID'] end\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitored'] off begin\n\t\tname: 'Monitored',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 90,\n\t\treferenceTypeFunc: () => Models.MonitoredEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'monitoreds',\n\t\t\toppositeEntity: () => Models.MonitoredEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitored'] end\n\t})\n\tpublic monitoredId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic monitored: Models.MonitoredEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.insolvencyRiskRatingValue !== undefined) {\n\t\t\t\tthis.insolvencyRiskRatingValue = attributes.insolvencyRiskRatingValue;\n\t\t\t}\n\t\t\tif (attributes.lastUpdated !== undefined) {\n\t\t\t\tif (attributes.lastUpdated === null) {\n\t\t\t\t\tthis.lastUpdated = attributes.lastUpdated;\n\t\t\t\t} else {\n\t\t\t\t\tthis.lastUpdated = moment(attributes.lastUpdated).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.adverseAlerts !== undefined) {\n\t\t\t\tthis.adverseAlerts = attributes.adverseAlerts;\n\t\t\t}\n\t\t\tif (attributes.insolvencyRiskRating !== undefined) {\n\t\t\t\tthis.insolvencyRiskRating = attributes.insolvencyRiskRating;\n\t\t\t}\n\t\t\tif (attributes.businessNumber !== undefined) {\n\t\t\t\tthis.businessNumber = attributes.businessNumber;\n\t\t\t}\n\t\t\tif (attributes.processed !== undefined) {\n\t\t\t\tthis.processed = attributes.processed;\n\t\t\t}\n\t\t\tif (attributes.jsonreport !== undefined) {\n\t\t\t\tthis.jsonreport = attributes.jsonreport;\n\t\t\t}\n\t\t\tif (attributes.reportID !== undefined) {\n\t\t\t\tthis.reportID = attributes.reportID;\n\t\t\t}\n\t\t\tif (attributes.monitoredId !== undefined) {\n\t\t\t\tthis.monitoredId = attributes.monitoredId;\n\t\t\t}\n\t\t\tif (attributes.monitored !== undefined) {\n\t\t\t\tif (attributes.monitored === null) {\n\t\t\t\t\tthis.monitored = attributes.monitored;\n\t\t\t\t} else if (attributes.monitored instanceof Models.MonitoredEntity) {\n\t\t\t\t\tthis.monitored = attributes.monitored;\n\t\t\t\t\tthis.monitoredId = attributes.monitored.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.monitored = new Models.MonitoredEntity(attributes.monitored);\n\t\t\t\t\tthis.monitoredId = this.monitored.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tmonitored {\n\t\t\t${Models.MonitoredEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'monitored',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(AlaresReportEntity.prototype, 'created');\nCRUD(modifiedAttr)(AlaresReportEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserAlaresWatchlistNotification implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsAlaresWatchlistNotification implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserAlaresWebhookAlert implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsAlaresWebhookAlert implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserAlaresWatchlistNotification from 'Models/Security/Acl/UserAlaresWatchlistNotification';\nimport VisitorsAlaresWatchlistNotification from 'Models/Security/Acl/VisitorsAlaresWatchlistNotification';\nimport UserAlaresWebhookAlert from 'Models/Security/Acl/UserAlaresWebhookAlert';\nimport VisitorsAlaresWebhookAlert from 'Models/Security/Acl/VisitorsAlaresWebhookAlert';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IAlaresWatchlistNotificationEntityAttributes extends IModelAttributes {\n\twatchlistEntityId: string;\n\treferenceId: string;\n\tnotificationType: string;\n\tstatus: Enums.processingStatus;\n\tcontent: string;\n\ttotalNotifications: number;\n\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('AlaresWatchlistNotificationEntity', 'Alares Watchlist Notification')\n// % protected region % [Customise your entity metadata here] end\nexport default class AlaresWatchlistNotificationEntity extends Model\n\timplements IAlaresWatchlistNotificationEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserAlaresWatchlistNotification(),\n\t\tnew VisitorsAlaresWatchlistNotification(),\n\t\tnew UserAlaresWebhookAlert(),\n\t\tnew VisitorsAlaresWebhookAlert(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Watchlist Entity Id'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Watchlist Entity Id',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic watchlistEntityId: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Watchlist Entity Id'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Reference Id'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Reference Id',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic referenceId: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Reference Id'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Notification Type'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Notification Type',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic notificationType: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Notification Type'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Status'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Status',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.processingStatusOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.processingStatusOptions),\n\t\tdisplayFunction: (attr: Enums.processingStatus) => Enums.processingStatusOptions[attr],\n\t})\n\tpublic status: Enums.processingStatus;\n\t// % protected region % [Modify props to the crud options here for attribute 'Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Content'] off begin\n\t/**\n\t * Alares report in json\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Content',\n\t\tdisplayType: 'textarea',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic content: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Content'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Total Notifications'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Total Notifications',\n\t\tdisplayType: 'textfield',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic totalNotifications: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Total Notifications'] end\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.watchlistEntityId !== undefined) {\n\t\t\t\tthis.watchlistEntityId = attributes.watchlistEntityId;\n\t\t\t}\n\t\t\tif (attributes.referenceId !== undefined) {\n\t\t\t\tthis.referenceId = attributes.referenceId;\n\t\t\t}\n\t\t\tif (attributes.notificationType !== undefined) {\n\t\t\t\tthis.notificationType = attributes.notificationType;\n\t\t\t}\n\t\t\tif (attributes.status !== undefined) {\n\t\t\t\tthis.status = attributes.status;\n\t\t\t}\n\t\t\tif (attributes.content !== undefined) {\n\t\t\t\tthis.content = attributes.content;\n\t\t\t}\n\t\t\tif (attributes.totalNotifications !== undefined) {\n\t\t\t\tthis.totalNotifications = attributes.totalNotifications;\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(AlaresWatchlistNotificationEntity.prototype, 'created');\nCRUD(modifiedAttr)(AlaresWatchlistNotificationEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserAlaresWatchlistNotification from 'Models/Security/Acl/UserAlaresWatchlistNotification';\nimport VisitorsAlaresWatchlistNotification from 'Models/Security/Acl/VisitorsAlaresWatchlistNotification';\nimport UserAlaresWebhookAlert from 'Models/Security/Acl/UserAlaresWebhookAlert';\nimport VisitorsAlaresWebhookAlert from 'Models/Security/Acl/VisitorsAlaresWebhookAlert';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IAlaresWebhookAlertEntityAttributes extends IModelAttributes {\n\twatchlistEntityId: string;\n\treferenceId: string;\n\tstatus: Enums.processingStatus;\n\tcontent: string;\n\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('AlaresWebhookAlertEntity', 'Alares Webhook Alert')\n// % protected region % [Customise your entity metadata here] end\nexport default class AlaresWebhookAlertEntity extends Model\n\timplements IAlaresWebhookAlertEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserAlaresWatchlistNotification(),\n\t\tnew VisitorsAlaresWatchlistNotification(),\n\t\tnew UserAlaresWebhookAlert(),\n\t\tnew VisitorsAlaresWebhookAlert(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Watchlist Entity Id'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Watchlist Entity Id',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic watchlistEntityId: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Watchlist Entity Id'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Reference Id'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Reference Id',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic referenceId: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Reference Id'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Status'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Status',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.processingStatusOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.processingStatusOptions),\n\t\tdisplayFunction: (attr: Enums.processingStatus) => Enums.processingStatusOptions[attr],\n\t})\n\tpublic status: Enums.processingStatus;\n\t// % protected region % [Modify props to the crud options here for attribute 'Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Content'] off begin\n\t/**\n\t * Alares report in json\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Content',\n\t\tdisplayType: 'textarea',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic content: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Content'] end\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.watchlistEntityId !== undefined) {\n\t\t\t\tthis.watchlistEntityId = attributes.watchlistEntityId;\n\t\t\t}\n\t\t\tif (attributes.referenceId !== undefined) {\n\t\t\t\tthis.referenceId = attributes.referenceId;\n\t\t\t}\n\t\t\tif (attributes.status !== undefined) {\n\t\t\t\tthis.status = attributes.status;\n\t\t\t}\n\t\t\tif (attributes.content !== undefined) {\n\t\t\t\tthis.content = attributes.content;\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(AlaresWebhookAlertEntity.prototype, 'created');\nCRUD(modifiedAttr)(AlaresWebhookAlertEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserApplicationEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsApplicationEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserApplicationEntity from 'Models/Security/Acl/UserApplicationEntity';\nimport VisitorsApplicationEntity from 'Models/Security/Acl/VisitorsApplicationEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport { FileListPreview } from 'Views/Components/CRUD/Attributes/AttributeFile';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport type { Errors } from '../../Util/CustomTypes';\nimport { isPhone } from '../../Validators/Functions/Custom';\nimport { isEmail } from '../../Validators/Functions/Email';\n// % protected region % [Add any further imports here] end\n\nexport interface IApplicationEntityAttributes extends IModelAttributes {\n\tprivacyPolicyId: string;\n\tprivacyPolicy: Blob;\n\tcontactName: string;\n\tisActive: boolean;\n\temail: string;\n\tphone: string;\n\tapplicationName: string;\n\tlogoId: string;\n\tlogo: Blob;\n\ttermsAndConditionsId: string;\n\ttermsAndConditions: Blob;\n\tlegacyID: string;\n\tapplicationDate: Date;\n\n\tbusinessEntityId?: string;\n\tbusinessEntity?: Models.BusinessEntity | Models.IBusinessEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('ApplicationEntity', 'Application')\n// % protected region % [Customise your entity metadata here] end\nexport default class ApplicationEntity extends Model\n\timplements IApplicationEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserApplicationEntity(),\n\t\tnew VisitorsApplicationEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Privacy Policy'] off begin\n\t/**\n\t * Approve Privacy Policy\n\t */\n\t@observable\n\t@attribute({ file: 'privacyPolicy' })\n\t@CRUD({\n\t\tname: 'Privacy Policy',\n\t\tdisplayType: 'file',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseUuid,\n\t\tfileAttribute: 'privacyPolicy',\n\t\tdisplayFunction: attr => attr\n\t\t\t? \n\t\t\t: 'No File Attached',\n\t})\n\tpublic privacyPolicyId: string;\n\n\t@observable\n\tpublic privacyPolicy: Blob;\n\t// % protected region % [Modify props to the crud options here for attribute 'Privacy Policy'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Contact Name'] off begin\n\t/**\n\t * Contact Name\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Contact Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic contactName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Contact Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] off begin\n\t/**\n\t * Is the application active\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Is Active',\n\t\tdisplayType: 'checkbox',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic isActive: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Email'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Email',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic email: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Email'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Phone'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Phone',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic phone: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Phone'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Application Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Application Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic applicationName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Application Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Logo'] off begin\n\t/**\n\t * Business Logo\n\t */\n\t@observable\n\t@attribute({ file: 'logo' })\n\t@CRUD({\n\t\tname: 'Logo',\n\t\tdisplayType: 'file',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseUuid,\n\t\tfileAttribute: 'logo',\n\t\tdisplayFunction: attr => attr\n\t\t\t? \n\t\t\t: 'No File Attached',\n\t})\n\tpublic logoId: string;\n\n\t@observable\n\tpublic logo: Blob;\n\t// % protected region % [Modify props to the crud options here for attribute 'Logo'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Terms and Conditions'] off begin\n\t/**\n\t * Application Terms and Conditions\n\t */\n\t@observable\n\t@attribute({ file: 'termsAndConditions' })\n\t@CRUD({\n\t\tname: 'Terms and Conditions',\n\t\tdisplayType: 'file',\n\t\torder: 80,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseUuid,\n\t\tfileAttribute: 'termsAndConditions',\n\t\tdisplayFunction: attr => attr\n\t\t\t? \n\t\t\t: 'No File Attached',\n\t})\n\tpublic termsAndConditionsId: string;\n\n\t@observable\n\tpublic termsAndConditions: Blob;\n\t// % protected region % [Modify props to the crud options here for attribute 'Terms and Conditions'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Legacy ID'] off begin\n\t@Validators.Unique()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Legacy ID',\n\t\tdisplayType: 'textfield',\n\t\torder: 90,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic legacyID: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Legacy ID'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Application Date'] off begin\n\t/**\n\t * Application Date\n\t */\n\t@observable\n\t@attribute({ serialise: (e, a) => AttrUtils.serialiseDate(a) })\n\t@CRUD({\n\t\tname: 'Application Date',\n\t\tdisplayType: 'datepicker',\n\t\torder: 100,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: attr => AttrUtils.standardiseDate(attr, { serialiseAs: 'date' }),\n\t})\n\tpublic applicationDate: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Application Date'] end\n\n\t/**\n\t * Approve Applications\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] off begin\n\t\tname: 'Business Entity',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 110,\n\t\treferenceTypeFunc: () => Models.BusinessEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] end\n\t})\n\tpublic businessEntityId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic businessEntity: Models.BusinessEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] on begin\n\t@action public validateField = async (field: string) => {\n\t\tswitch (field) {\n\t\t\tcase 'phone': {\n\t\t\t\tif (!this.phone) {\n\t\t\t\t\tthis.setFieldError('phone', true, 'Phone number cannot be empty');\n\t\t\t\t} else if (!isPhone(this.phone)) {\n\t\t\t\t\tthis.setFieldError('phone', true, 'Phone number must be valid');\n\t\t\t\t} else {\n\t\t\t\t\tthis.setFieldError('phone', false, '');\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'email': {\n\t\t\t\tif (!this.email) {\n\t\t\t\t\tthis.setFieldError('email', true, 'Email address cannot be empty');\n\t\t\t\t} else if (!isEmail(this.email)) {\n\t\t\t\t\tthis.setFieldError('email', true, 'Email address must be valid');\n\t\t\t\t} else {\n\t\t\t\t\tthis.setFieldError('email', false, '');\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'applicationName':\n\t\t\t\tif (!this.applicationName) {\n\t\t\t\t\tthis.setFieldError('applicationName', true, 'Application name cannot be empty');\n\t\t\t\t} else {\n\t\t\t\t\tthis.setFieldError('applicationName', false, '');\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}\n\t}\n\n\tpublic validateAllFields = async () => {\n\t\tconst fieldList = ['phone', 'email', 'applicationName'];\n\t\tconst validationPromises = fieldList.map(field => this.validateField(field));\n\t\tawait Promise.all(validationPromises);\n\t}\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.privacyPolicy !== undefined) {\n\t\t\t\tthis.privacyPolicy = attributes.privacyPolicy;\n\t\t\t}\n\t\t\tif (attributes.privacyPolicyId !== undefined) {\n\t\t\t\tthis.privacyPolicyId = attributes.privacyPolicyId;\n\t\t\t}\n\t\t\tif (attributes.contactName !== undefined) {\n\t\t\t\tthis.contactName = attributes.contactName;\n\t\t\t}\n\t\t\tif (attributes.isActive !== undefined) {\n\t\t\t\tthis.isActive = attributes.isActive;\n\t\t\t}\n\t\t\tif (attributes.email !== undefined) {\n\t\t\t\tthis.email = attributes.email;\n\t\t\t}\n\t\t\tif (attributes.phone !== undefined) {\n\t\t\t\tthis.phone = attributes.phone;\n\t\t\t}\n\t\t\tif (attributes.applicationName !== undefined) {\n\t\t\t\tthis.applicationName = attributes.applicationName;\n\t\t\t}\n\t\t\tif (attributes.logo !== undefined) {\n\t\t\t\tthis.logo = attributes.logo;\n\t\t\t}\n\t\t\tif (attributes.logoId !== undefined) {\n\t\t\t\tthis.logoId = attributes.logoId;\n\t\t\t}\n\t\t\tif (attributes.termsAndConditions !== undefined) {\n\t\t\t\tthis.termsAndConditions = attributes.termsAndConditions;\n\t\t\t}\n\t\t\tif (attributes.termsAndConditionsId !== undefined) {\n\t\t\t\tthis.termsAndConditionsId = attributes.termsAndConditionsId;\n\t\t\t}\n\t\t\tif (attributes.legacyID !== undefined) {\n\t\t\t\tthis.legacyID = attributes.legacyID;\n\t\t\t}\n\t\t\tif (attributes.applicationDate !== undefined) {\n\t\t\t\tif (attributes.applicationDate === null) {\n\t\t\t\t\tthis.applicationDate = attributes.applicationDate;\n\t\t\t\t} else {\n\t\t\t\t\tthis.applicationDate = moment(attributes.applicationDate).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.businessEntityId !== undefined) {\n\t\t\t\tthis.businessEntityId = attributes.businessEntityId;\n\t\t\t}\n\t\t\tif (attributes.businessEntity !== undefined) {\n\t\t\t\tif (attributes.businessEntity === null) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t} else if (attributes.businessEntity instanceof Models.BusinessEntity) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t\tthis.businessEntityId = attributes.businessEntity.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.businessEntity = new Models.BusinessEntity(attributes.businessEntity);\n\t\t\t\t\tthis.businessEntityId = this.businessEntity.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tbusinessEntity {\n\t\t\t${Models.BusinessEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tcontentType: 'multipart/form-data',\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(ApplicationEntity.prototype, 'created');\nCRUD(modifiedAttr)(ApplicationEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserBoard implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsBoard implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserBoard from 'Models/Security/Acl/UserBoard';\nimport VisitorsBoard from 'Models/Security/Acl/VisitorsBoard';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IBoardEntityAttributes extends IModelAttributes {\n\torganisationname: string;\n\tduns: string;\n\tcompanynumber: string;\n\tabn: string;\n\tnzbn: string;\n\tcompanystatus: string;\n\tderegisteredyear: number;\n\tderegisteredmonth: number;\n\tderegisteredday: number;\n\treasonderegistered: string;\n\thasdeclarationofsolvency: string;\n\tderegistrationformcodes: string;\n\n\tdirectorss: Array<\n\t\t| Models.DirectorboardsEntity\n\t\t| Models.IDirectorboardsEntityAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('BoardEntity', 'Board')\n// % protected region % [Customise your entity metadata here] end\nexport default class BoardEntity extends Model\n\timplements IBoardEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserBoard(),\n\t\tnew VisitorsBoard(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'OrganisationName'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'OrganisationName',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic organisationname: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'OrganisationName'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'DUNS'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'DUNS',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic duns: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'DUNS'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'CompanyNumber'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'CompanyNumber',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic companynumber: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'CompanyNumber'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABN',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic abn: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'NZBN'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'NZBN',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic nzbn: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'NZBN'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'CompanyStatus'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'CompanyStatus',\n\t\tdisplayType: 'textfield',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic companystatus: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'CompanyStatus'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'DeregisteredYear'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'DeregisteredYear',\n\t\tdisplayType: 'textfield',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic deregisteredyear: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'DeregisteredYear'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'DeregisteredMonth'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'DeregisteredMonth',\n\t\tdisplayType: 'textfield',\n\t\torder: 80,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic deregisteredmonth: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'DeregisteredMonth'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'DeregisteredDay'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'DeregisteredDay',\n\t\tdisplayType: 'textfield',\n\t\torder: 90,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic deregisteredday: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'DeregisteredDay'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ReasonDeregistered'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ReasonDeregistered',\n\t\tdisplayType: 'textfield',\n\t\torder: 100,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic reasonderegistered: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ReasonDeregistered'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'HasDeclarationOfSolvency'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'HasDeclarationOfSolvency',\n\t\tdisplayType: 'textfield',\n\t\torder: 110,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic hasdeclarationofsolvency: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'HasDeclarationOfSolvency'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'DeregistrationFormCodes'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'DeregistrationFormCodes',\n\t\tdisplayType: 'textfield',\n\t\torder: 120,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic deregistrationformcodes: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'DeregistrationFormCodes'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Directors'] off begin\n\t\tname: 'Directorss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 130,\n\t\treferenceTypeFunc: () => Models.DirectorboardsEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'directorss',\n\t\t\toppositeEntity: () => Models.DirectorboardsEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Directors'] end\n\t})\n\tpublic directorss: Models.DirectorboardsEntity[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.organisationname !== undefined) {\n\t\t\t\tthis.organisationname = attributes.organisationname;\n\t\t\t}\n\t\t\tif (attributes.duns !== undefined) {\n\t\t\t\tthis.duns = attributes.duns;\n\t\t\t}\n\t\t\tif (attributes.companynumber !== undefined) {\n\t\t\t\tthis.companynumber = attributes.companynumber;\n\t\t\t}\n\t\t\tif (attributes.abn !== undefined) {\n\t\t\t\tthis.abn = attributes.abn;\n\t\t\t}\n\t\t\tif (attributes.nzbn !== undefined) {\n\t\t\t\tthis.nzbn = attributes.nzbn;\n\t\t\t}\n\t\t\tif (attributes.companystatus !== undefined) {\n\t\t\t\tthis.companystatus = attributes.companystatus;\n\t\t\t}\n\t\t\tif (attributes.deregisteredyear !== undefined) {\n\t\t\t\tthis.deregisteredyear = attributes.deregisteredyear;\n\t\t\t}\n\t\t\tif (attributes.deregisteredmonth !== undefined) {\n\t\t\t\tthis.deregisteredmonth = attributes.deregisteredmonth;\n\t\t\t}\n\t\t\tif (attributes.deregisteredday !== undefined) {\n\t\t\t\tthis.deregisteredday = attributes.deregisteredday;\n\t\t\t}\n\t\t\tif (attributes.reasonderegistered !== undefined) {\n\t\t\t\tthis.reasonderegistered = attributes.reasonderegistered;\n\t\t\t}\n\t\t\tif (attributes.hasdeclarationofsolvency !== undefined) {\n\t\t\t\tthis.hasdeclarationofsolvency = attributes.hasdeclarationofsolvency;\n\t\t\t}\n\t\t\tif (attributes.deregistrationformcodes !== undefined) {\n\t\t\t\tthis.deregistrationformcodes = attributes.deregistrationformcodes;\n\t\t\t}\n\t\t\tif (attributes.directorss !== undefined && Array.isArray(attributes.directorss)) {\n\t\t\t\tfor (const model of attributes.directorss) {\n\t\t\t\t\tif (model instanceof Models.DirectorboardsEntity) {\n\t\t\t\t\t\tthis.directorss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.directorss.push(new Models.DirectorboardsEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tdirectorss {\n\t\t\t${Models.DirectorboardsEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tdirectorss: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(BoardEntity.prototype, 'created');\nCRUD(modifiedAttr)(BoardEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserBusinessEntityCreditReportSettings implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsBusinessEntityCreditReportSettings implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserBusinessEntityCreditReportSettings from 'Models/Security/Acl/UserBusinessEntityCreditReportSettings';\nimport VisitorsBusinessEntityCreditReportSettings from 'Models/Security/Acl/VisitorsBusinessEntityCreditReportSettings';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IBusinessEntityCreditReportSettingsEntityAttributes extends IModelAttributes {\n\tisEnabled: boolean;\n\n\tbusinessEntityId: string;\n\tbusinessEntity: Models.BusinessEntity | Models.IBusinessEntityAttributes;\n\tproviderProductOrganisationId: string;\n\tproviderProductOrganisation: Models.ProviderProductOrganisationEntity | Models.IProviderProductOrganisationEntityAttributes;\n\tproviderProductId: string;\n\tproviderProduct: Models.ProviderProductEntity | Models.IProviderProductEntityAttributes;\n\treportRequests: Array<\n\t\t| Models.ReportRequestEntity\n\t\t| Models.IReportRequestEntityAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('BusinessEntityCreditReportSettingsEntity', 'Business Entity Credit Report Settings')\n// % protected region % [Customise your entity metadata here] end\nexport default class BusinessEntityCreditReportSettingsEntity extends Model\n\timplements IBusinessEntityCreditReportSettingsEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserBusinessEntityCreditReportSettings(),\n\t\tnew VisitorsBusinessEntityCreditReportSettings(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Enabled'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Is Enabled',\n\t\tdisplayType: 'checkbox',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic isEnabled: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Enabled'] end\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] off begin\n\t\tname: 'Business Entity',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 20,\n\t\treferenceTypeFunc: () => Models.BusinessEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] end\n\t})\n\tpublic businessEntityId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic businessEntity: Models.BusinessEntity;\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider Product Organisation'] off begin\n\t\tname: 'Provider Product Organisation',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 30,\n\t\treferenceTypeFunc: () => Models.ProviderProductOrganisationEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider Product Organisation'] end\n\t})\n\tpublic providerProductOrganisationId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic providerProductOrganisation: Models.ProviderProductOrganisationEntity;\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider Product'] off begin\n\t\tname: 'Provider Product',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 40,\n\t\treferenceTypeFunc: () => Models.ProviderProductEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider Product'] end\n\t})\n\tpublic providerProductId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic providerProduct: Models.ProviderProductEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Report Request'] off begin\n\t\tname: 'Report Requests',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 50,\n\t\treferenceTypeFunc: () => Models.ReportRequestEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'reportRequests',\n\t\t\toppositeEntity: () => Models.ReportRequestEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Report Request'] end\n\t})\n\tpublic reportRequests: Models.ReportRequestEntity[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.isEnabled !== undefined) {\n\t\t\t\tthis.isEnabled = attributes.isEnabled;\n\t\t\t}\n\t\t\tif (attributes.businessEntityId !== undefined) {\n\t\t\t\tthis.businessEntityId = attributes.businessEntityId;\n\t\t\t}\n\t\t\tif (attributes.businessEntity !== undefined) {\n\t\t\t\tif (attributes.businessEntity === null) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t} else if (attributes.businessEntity instanceof Models.BusinessEntity) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t\tthis.businessEntityId = attributes.businessEntity.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.businessEntity = new Models.BusinessEntity(attributes.businessEntity);\n\t\t\t\t\tthis.businessEntityId = this.businessEntity.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.providerProductOrganisationId !== undefined) {\n\t\t\t\tthis.providerProductOrganisationId = attributes.providerProductOrganisationId;\n\t\t\t}\n\t\t\tif (attributes.providerProductOrganisation !== undefined) {\n\t\t\t\tif (attributes.providerProductOrganisation === null) {\n\t\t\t\t\tthis.providerProductOrganisation = attributes.providerProductOrganisation;\n\t\t\t\t} else if (attributes.providerProductOrganisation instanceof Models.ProviderProductOrganisationEntity) {\n\t\t\t\t\tthis.providerProductOrganisation = attributes.providerProductOrganisation;\n\t\t\t\t\tthis.providerProductOrganisationId = attributes.providerProductOrganisation.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.providerProductOrganisation = new Models.ProviderProductOrganisationEntity(attributes.providerProductOrganisation);\n\t\t\t\t\tthis.providerProductOrganisationId = this.providerProductOrganisation.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.providerProductId !== undefined) {\n\t\t\t\tthis.providerProductId = attributes.providerProductId;\n\t\t\t}\n\t\t\tif (attributes.providerProduct !== undefined) {\n\t\t\t\tif (attributes.providerProduct === null) {\n\t\t\t\t\tthis.providerProduct = attributes.providerProduct;\n\t\t\t\t} else if (attributes.providerProduct instanceof Models.ProviderProductEntity) {\n\t\t\t\t\tthis.providerProduct = attributes.providerProduct;\n\t\t\t\t\tthis.providerProductId = attributes.providerProduct.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.providerProduct = new Models.ProviderProductEntity(attributes.providerProduct);\n\t\t\t\t\tthis.providerProductId = this.providerProduct.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.reportRequests !== undefined && Array.isArray(attributes.reportRequests)) {\n\t\t\t\tfor (const model of attributes.reportRequests) {\n\t\t\t\t\tif (model instanceof Models.ReportRequestEntity) {\n\t\t\t\t\t\tthis.reportRequests.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.reportRequests.push(new Models.ReportRequestEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tbusinessEntity {\n\t\t\t${Models.BusinessEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tproviderProductOrganisation {\n\t\t\t${Models.ProviderProductOrganisationEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tproviderProduct {\n\t\t\t${Models.ProviderProductEntity.getAttributes().join('\\n')}\n\t\t}\n\t\treportRequests {\n\t\t\t${Models.ReportRequestEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\treportRequests: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(BusinessEntityCreditReportSettingsEntity.prototype, 'created');\nCRUD(modifiedAttr)(BusinessEntityCreditReportSettingsEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserCreditBureauEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsCreditBureauEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchManyToManyFunc,\n\tmakeJoinEqualsFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserCreditBureauEntity from 'Models/Security/Acl/UserCreditBureauEntity';\nimport VisitorsCreditBureauEntity from 'Models/Security/Acl/VisitorsCreditBureauEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport { gql } from '@apollo/client';\nimport { store } from 'Models/Store';\nimport { computed, runInAction } from 'mobx';\n// % protected region % [Add any further imports here] end\n\nexport interface ICreditBureauEntityAttributes extends IModelAttributes {\n\tname: string;\n\thumanReadableName: string;\n\n\torganisations: Array<\n\t\t| Models.OrganisationAuthorisedCreditBureau\n\t\t| Models.IOrganisationAuthorisedCreditBureauAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('CreditBureauEntity', 'Credit Bureau')\n// % protected region % [Customise your entity metadata here] end\nexport default class CreditBureauEntity extends Model\n\timplements ICreditBureauEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserCreditBureauEntity(),\n\t\tnew VisitorsCreditBureauEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] off begin\n\t/**\n\t * Name\n\t */\n\t@Validators.Required()\n\t@Validators.Unique()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic name: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Human Readable Name'] off begin\n\t/**\n\t * Human Readable version of name\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Human Readable Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic humanReadableName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Human Readable Name'] end\n\n\t/**\n\t * Credit bureaus the organisation has agreed to share data with\n\t */\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] off begin\n\t\tname: 'Organisation',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 30,\n\t\tisJoinEntity: true,\n\t\treferenceTypeFunc: () => Models.OrganisationAuthorisedCreditBureau,\n\t\toptionEqualFunc: makeJoinEqualsFunc('organisationId'),\n\t\treferenceResolveFunction: makeFetchManyToManyFunc({\n\t\t\tentityName: 'creditBureauEntity',\n\t\t\toppositeEntityName: 'organisationEntity',\n\t\t\trelationName: 'authorisedCreditBureau',\n\t\t\trelationOppositeName: 'organisation',\n\t\t\tentity: () => Models.CreditBureauEntity,\n\t\t\tjoinEntity: () => Models.OrganisationAuthorisedCreditBureau,\n\t\t\toppositeEntity: () => Models.OrganisationEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] end\n\t})\n\tpublic organisations: Models.OrganisationAuthorisedCreditBureau[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.name !== undefined) {\n\t\t\t\tthis.name = attributes.name;\n\t\t\t}\n\t\t\tif (attributes.humanReadableName !== undefined) {\n\t\t\t\tthis.humanReadableName = attributes.humanReadableName;\n\t\t\t}\n\t\t\tif (attributes.organisations !== undefined && Array.isArray(attributes.organisations)) {\n\t\t\t\tfor (const model of attributes.organisations) {\n\t\t\t\t\tif (model instanceof Models.OrganisationAuthorisedCreditBureau) {\n\t\t\t\t\t\tthis.organisations.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.organisations.push(new Models.OrganisationAuthorisedCreditBureau(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\torganisations {\n\t\t\t${Models.OrganisationAuthorisedCreditBureau.getAttributes().join('\\n')}\n\t\t\torganisation {\n\t\t\t\t${Models.OrganisationEntity.getAttributes().join('\\n')}\n\t\t\t\t${Models.OrganisationEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t\t}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\torganisations: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'organisations',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] on begin\n\t\treturn this.name;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] on begin\n\t// We need credit bureaus in a lot of places throughout the app, and it's unlikely to change between requests,\n\t// so we use the store to cache the value to prevent fetching it more than once\n\t@observable private static _creditBureaus = [] as CreditBureauEntity[];\n\t@observable private static _promise = null as Promise|null;\n\tpublic static creditBureaus = async (): Promise => {\n\t\tif (CreditBureauEntity._promise) {\n\t\t\treturn CreditBureauEntity._promise;\n\t\t}\n\n\t\tCreditBureauEntity._promise = new Promise(resolve => {\n\t\t\tstore.apolloClient.query({\n\t\t\t\tquery: gql`\n\t\t\t\t\tquery {\n\t\t\t\t\t\tcreditBureauEntitys (orderBy: [{path: \"name\"}]) {\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t`,\n\t\t\t\tfetchPolicy: 'no-cache',\n\t\t\t}).then(({ data }) => {\n\t\t\t\trunInAction(() => {\n\t\t\t\t\tCreditBureauEntity._creditBureaus = data.creditBureauEntitys\n\t\t\t\t\t\t.map((bureau: ICreditBureauEntityAttributes) => new CreditBureauEntity(bureau));\n\n\t\t\t\t\tresolve(CreditBureauEntity._creditBureaus);\n\t\t\t\t});\n\t\t\t});\n\t\t});\n\n\t\treturn CreditBureauEntity._promise;\n\t}\n\n\t// If we want to get the credit bureaus, but can't wait, then this will return the current value\n\t// It will still fetch the credit bureaus, but you won't see the results until a future call\n\t// If called from within an observer, though, it'll still rerender because this is a computed field\n\t@computed\n\tpublic static get creditBureausSync() {\n\t\tCreditBureauEntity.creditBureaus();\n\t\treturn CreditBureauEntity._creditBureaus;\n\t}\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(CreditBureauEntity.prototype, 'created');\nCRUD(modifiedAttr)(CreditBureauEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserCreditReport implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsCreditReport implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserCreditReport from 'Models/Security/Acl/UserCreditReport';\nimport VisitorsCreditReport from 'Models/Security/Acl/VisitorsCreditReport';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface ICreditReportEntityAttributes extends IModelAttributes {\n\treportcontent: string;\n\tstatus: Enums.creditReportStatus;\n\tfilepath: string;\n\tretrivalDate: Date;\n\n\tmonitoredId?: string;\n\tmonitored?: Models.MonitoredEntity | Models.IMonitoredEntityAttributes;\n\treportRequests: Array<\n\t\t| Models.ReportRequestEntity\n\t\t| Models.IReportRequestEntityAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('CreditReportEntity', 'Credit Report')\n// % protected region % [Customise your entity metadata here] end\nexport default class CreditReportEntity extends Model\n\timplements ICreditReportEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserCreditReport(),\n\t\tnew VisitorsCreditReport(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ReportContent'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ReportContent',\n\t\tdisplayType: 'textarea',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic reportcontent: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ReportContent'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Status'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Status',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.creditReportStatusOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.creditReportStatusOptions),\n\t\tdisplayFunction: (attr: Enums.creditReportStatus) => Enums.creditReportStatusOptions[attr],\n\t})\n\tpublic status: Enums.creditReportStatus;\n\t// % protected region % [Modify props to the crud options here for attribute 'Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'FilePath'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'FilePath',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic filepath: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'FilePath'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Retrival Date'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Retrival Date',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic retrivalDate: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Retrival Date'] end\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitored'] off begin\n\t\tname: 'Monitored',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 50,\n\t\treferenceTypeFunc: () => Models.MonitoredEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitored'] end\n\t})\n\tpublic monitoredId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic monitored: Models.MonitoredEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Report Request'] off begin\n\t\tname: 'Report Requests',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 60,\n\t\treferenceTypeFunc: () => Models.ReportRequestEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'reportRequests',\n\t\t\toppositeEntity: () => Models.ReportRequestEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Report Request'] end\n\t})\n\tpublic reportRequests: Models.ReportRequestEntity[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.reportcontent !== undefined) {\n\t\t\t\tthis.reportcontent = attributes.reportcontent;\n\t\t\t}\n\t\t\tif (attributes.status !== undefined) {\n\t\t\t\tthis.status = attributes.status;\n\t\t\t}\n\t\t\tif (attributes.filepath !== undefined) {\n\t\t\t\tthis.filepath = attributes.filepath;\n\t\t\t}\n\t\t\tif (attributes.retrivalDate !== undefined) {\n\t\t\t\tif (attributes.retrivalDate === null) {\n\t\t\t\t\tthis.retrivalDate = attributes.retrivalDate;\n\t\t\t\t} else {\n\t\t\t\t\tthis.retrivalDate = moment(attributes.retrivalDate).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.monitoredId !== undefined) {\n\t\t\t\tthis.monitoredId = attributes.monitoredId;\n\t\t\t}\n\t\t\tif (attributes.monitored !== undefined) {\n\t\t\t\tif (attributes.monitored === null) {\n\t\t\t\t\tthis.monitored = attributes.monitored;\n\t\t\t\t} else if (attributes.monitored instanceof Models.MonitoredEntity) {\n\t\t\t\t\tthis.monitored = attributes.monitored;\n\t\t\t\t\tthis.monitoredId = attributes.monitored.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.monitored = new Models.MonitoredEntity(attributes.monitored);\n\t\t\t\t\tthis.monitoredId = this.monitored.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.reportRequests !== undefined && Array.isArray(attributes.reportRequests)) {\n\t\t\t\tfor (const model of attributes.reportRequests) {\n\t\t\t\t\tif (model instanceof Models.ReportRequestEntity) {\n\t\t\t\t\t\tthis.reportRequests.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.reportRequests.push(new Models.ReportRequestEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tmonitored {\n\t\t\t${Models.MonitoredEntity.getAttributes().join('\\n')}\n\t\t}\n\t\treportRequests {\n\t\t\t${Models.ReportRequestEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\treportRequests: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'reportRequests',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(CreditReportEntity.prototype, 'created');\nCRUD(modifiedAttr)(CreditReportEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsCustomerEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserCustomerEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchManyToManyFunc,\n\tmakeJoinEqualsFunc,\n\tmakeFetchOneToManyFunc,\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsCustomerEntity from 'Models/Security/Acl/VisitorsCustomerEntity';\nimport UserCustomerEntity from 'Models/Security/Acl/UserCustomerEntity';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport { runInAction } from 'mobx';\nimport { isPhone } from 'Validators/Functions/Custom';\nimport { isEmail } from 'Validators/Functions/Email';\n// eslint-disable-next-line object-curly-newline, max-len\nimport { isTypeOfState, validateLiquorLicenceNumber, verifyAbn, verifyAcn } from 'Util/StringUtils';\nimport axios from 'axios';\nimport { SERVER_URL } from 'Constants';\nimport type { LiquorLicenceDetails } from 'Types/liquorLicenceValidationResponse';\n// % protected region % [Add any further imports here] end\n\nexport interface ICustomerEntityAttributes extends IModelAttributes {\n\tdrinksLicence: string;\n\tentityTypeDescription: string;\n\temail: string;\n\taddedToWatchlist: boolean;\n\tacnEntityName: string;\n\tacnClass: string;\n\ttrusteeACNStatus: string;\n\tacnLastUpdated: Date;\n\ttrusteeACNClass: string;\n\ttradingTerms: string;\n\tpurchasingOfficerEmail: string;\n\tacnEntityTypeCode: string;\n\ttaxInvoicesEmail: string;\n\ttrusteeACN: string;\n\tstatementsEmail: string;\n\tacn: string;\n\tabnActive: boolean;\n\ttrusteeACNEntityTypeCode: string;\n\taccountsPhoneNumber: string;\n\tcreditLimit: string;\n\tactiveSince: Date;\n\tacnSubClass: string;\n\tabn: string;\n\trecordUpdated: Date;\n\tbusinessName: string;\n\ttrusteeACNSubClass: string;\n\tentityTypeCode: string;\n\tdebtorID: string;\n\tlocality: string;\n\tentityStatus: string;\n\tdateOfBirth: Date;\n\ttrusteeACNLastUpdated: Date;\n\ttrusteeACNRegistrationDate: string;\n\tfirstName: string;\n\tregisteredForGSTFrom: string;\n\tnameForInvoice: string;\n\tacnRegistrationDate: string;\n\tentityName: string;\n\tphone: string;\n\ttaxInvoicesContact: string;\n\tdrinksLicenceLastUpdated: Date;\n\tpaymentRiskRating: Enums.riskScore;\n\tacnStatus: string;\n\tpurchasingOfficer: string;\n\tstatementsContact: string;\n\tsicCode: string;\n\tdrinksLicenceInfo: string;\n\ttrusteeACNEntityName: string;\n\ttrusteeName: string;\n\tdrinksLicenceState: Enums.state;\n\tlastName: string;\n\tabrLastUpdated: Date;\n\tmonitoredStatus: Enums.customerMonitoredStatus;\n\tdrinksLicenceStatus: string;\n\taccountsContact: string;\n\n\tatbRecords: Array<\n\t\t| Models.AtbRecordEntity\n\t\t| Models.IAtbRecordEntityAttributes\n\t>;\n\talaress: Array<\n\t\t| Models.AlaresEntity\n\t\t| Models.IAlaresEntityAttributes\n\t>;\n\tcustomerAuditss: Array<\n\t\t| Models.CustomerAuditEntity\n\t\t| Models.ICustomerAuditEntityAttributes\n\t>;\n\tbusinessEntityId: string;\n\tbusinessEntity: Models.BusinessEntity | Models.IBusinessEntityAttributes;\n\tgroupss: Array<\n\t\t| Models.GroupsCustomers\n\t\t| Models.IGroupsCustomersAttributes\n\t>;\n\tmonitoredss: Array<\n\t\t| Models.MonitoredsCustomers\n\t\t| Models.IMonitoredsCustomersAttributes\n\t>;\n\torganisationId?: string;\n\torganisation?: Models.OrganisationEntity | Models.IOrganisationEntityAttributes;\n\tphysicalAddress?: Models.AddressEntity |\n\t\tModels.IAddressEntityAttributes;\n\tpostalAddress?: Models.AddressEntity |\n\t\tModels.IAddressEntityAttributes;\n\treportRequests: Array<\n\t\t| Models.ReportRequestEntity\n\t\t| Models.IReportRequestEntityAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] on begin\n\tnewestAtbRecord: Models.AtbRecordEntity;\n\tnewestAlares: Models.AlaresEntity;\n\tabnFinishedValidating: boolean;\n\tacnFinishedValidating: boolean;\n\ttrusteeACNFinishedValidating: boolean;\n\tbusinessEntityStatus: boolean;\n\tliquorLicenceFinishedValidating: boolean;\n\t// eslint-disable-next-line max-len\n\tliquorLicenceResponseDetails?: { data: Record; responseCode: number; responseMessage: string };\n\tselectedLiquorLicenceDetails?: LiquorLicenceDetails;\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('CustomerEntity', 'Customer')\n// % protected region % [Customise your entity metadata here] end\nexport default class CustomerEntity extends Model\n\timplements ICustomerEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsCustomerEntity(),\n\t\tnew UserCustomerEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] on begin\n\t\t'newestAtbRecord',\n\t\t'newestAlares',\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] on begin\n\t\t'newestAtbRecord',\n\t\t'newestAlares',\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Drinks Licence'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Drinks Licence',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic drinksLicence: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Drinks Licence'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Type Description'] off begin\n\t/**\n\t * Entity Type Description\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Entity Type Description',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic entityTypeDescription: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Type Description'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Email'] off begin\n\t/**\n\t * Email\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Email',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic email: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Email'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Added To Watchlist'] off begin\n\t/**\n\t * Alares Watchlist has been created for Customer\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Added To Watchlist',\n\t\tdisplayType: 'checkbox',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic addedToWatchlist: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Added To Watchlist'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Entity Name'] off begin\n\t/**\n\t * The entity name sent back in the ACN response\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Entity Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acnEntityName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Entity Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Class'] off begin\n\t/**\n\t * ACN Class from external endpoint\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Class',\n\t\tdisplayType: 'textfield',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acnClass: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Class'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Status'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee ACN Status',\n\t\tdisplayType: 'textfield',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic trusteeACNStatus: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Last Updated'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Last Updated',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 80,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic acnLastUpdated: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Last Updated'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Class'] off begin\n\t/**\n\t * ACN Class from external endpoint\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee ACN Class',\n\t\tdisplayType: 'textfield',\n\t\torder: 90,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic trusteeACNClass: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Class'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trading terms'] off begin\n\t/**\n\t * Trading terms\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trading terms',\n\t\tdisplayType: 'textfield',\n\t\torder: 100,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic tradingTerms: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trading terms'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Purchasing Officer Email'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Purchasing Officer Email',\n\t\tdisplayType: 'textfield',\n\t\torder: 110,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic purchasingOfficerEmail: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Purchasing Officer Email'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Entity Type Code'] off begin\n\t/**\n\t * The entity type code sent back in the ACN response\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Entity Type Code',\n\t\tdisplayType: 'textfield',\n\t\torder: 120,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acnEntityTypeCode: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Entity Type Code'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Tax Invoices Email'] off begin\n\t/**\n\t * Tax Invoices Email\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Tax Invoices Email',\n\t\tdisplayType: 'textfield',\n\t\torder: 130,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic taxInvoicesEmail: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Tax Invoices Email'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee ACN',\n\t\tdisplayType: 'textfield',\n\t\torder: 140,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic trusteeACN: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Statements Email'] off begin\n\t/**\n\t * Statements Email\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Statements Email',\n\t\tdisplayType: 'textfield',\n\t\torder: 150,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic statementsEmail: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Statements Email'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN'] off begin\n\t/**\n\t * ACN\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN',\n\t\tdisplayType: 'textfield',\n\t\torder: 160,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acn: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Active'] off begin\n\t/**\n\t * ABN is current indicator\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABN Active',\n\t\tdisplayType: 'checkbox',\n\t\torder: 170,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic abnActive: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Active'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Entity Type Code'] off begin\n\t/**\n\t * The entity type code for the trustee ACN reponse\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee ACN Entity Type Code',\n\t\tdisplayType: 'textfield',\n\t\torder: 180,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic trusteeACNEntityTypeCode: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Entity Type Code'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Accounts Phone Number'] off begin\n\t/**\n\t * Accounts Phone Number\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Accounts Phone Number',\n\t\tdisplayType: 'textfield',\n\t\torder: 190,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic accountsPhoneNumber: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Accounts Phone Number'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Credit Limit'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Credit Limit',\n\t\tdisplayType: 'textfield',\n\t\torder: 200,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic creditLimit: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Credit Limit'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Active Since'] off begin\n\t/**\n\t * Active Since\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Active Since',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 210,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic activeSince: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Active Since'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Sub Class'] off begin\n\t/**\n\t * ACN Sub Class from external endpoint\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Sub Class',\n\t\tdisplayType: 'textfield',\n\t\torder: 220,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acnSubClass: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Sub Class'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN'] off begin\n\t/**\n\t * ABN\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABN',\n\t\tdisplayType: 'textfield',\n\t\torder: 230,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic abn: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Record Updated'] off begin\n\t/**\n\t * Record Updated\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Record Updated',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 240,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic recordUpdated: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Record Updated'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Business Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Business Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 250,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic businessName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Business Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Sub Class'] off begin\n\t/**\n\t * Trustee ACN Sub Class from external endpoint\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee ACN Sub Class',\n\t\tdisplayType: 'textfield',\n\t\torder: 260,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic trusteeACNSubClass: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Sub Class'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Type Code'] off begin\n\t/**\n\t * Entity Type Code\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Entity Type Code',\n\t\tdisplayType: 'textfield',\n\t\torder: 270,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic entityTypeCode: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Type Code'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Debtor ID'] off begin\n\t/**\n\t * A customer's debtor ID represents the unique identifier used by business entities to represent their customers\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Debtor ID',\n\t\tdisplayType: 'textfield',\n\t\torder: 280,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic debtorID: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Debtor ID'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Locality'] off begin\n\t/**\n\t * Locality\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Locality',\n\t\tdisplayType: 'textfield',\n\t\torder: 290,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic locality: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Locality'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Status'] off begin\n\t/**\n\t * Entity Status\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Entity Status',\n\t\tdisplayType: 'textfield',\n\t\torder: 300,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic entityStatus: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Date of Birth'] off begin\n\t/**\n\t * Date of Birth\n\t */\n\t@observable\n\t@attribute({ serialise: (e, a) => AttrUtils.serialiseDate(a) })\n\t@CRUD({\n\t\tname: 'Date of Birth',\n\t\tdisplayType: 'datepicker',\n\t\torder: 310,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: attr => AttrUtils.standardiseDate(attr, { serialiseAs: 'date' }),\n\t})\n\tpublic dateOfBirth: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Date of Birth'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Last Updated'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee ACN Last Updated',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 320,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic trusteeACNLastUpdated: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Last Updated'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Registration Date'] off begin\n\t/**\n\t * Trustee ACN Registration Date from external endpoint\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee ACN Registration Date',\n\t\tdisplayType: 'textfield',\n\t\torder: 330,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic trusteeACNRegistrationDate: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Registration Date'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'First Name'] off begin\n\t/**\n\t * First Name\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'First Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 340,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic firstName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'First Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Registered for GST From'] off begin\n\t/**\n\t * Registered for GST From\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Registered for GST From',\n\t\tdisplayType: 'textfield',\n\t\torder: 350,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic registeredForGSTFrom: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Registered for GST From'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Name for Invoice'] off begin\n\t/**\n\t * Name for Invoice\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Name for Invoice',\n\t\tdisplayType: 'textfield',\n\t\torder: 360,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic nameForInvoice: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Name for Invoice'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Registration Date'] off begin\n\t/**\n\t * ACN Registration Date from external endpoint\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Registration Date',\n\t\tdisplayType: 'textfield',\n\t\torder: 370,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acnRegistrationDate: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Registration Date'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Name'] off begin\n\t/**\n\t * Entity Name\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Entity Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 380,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic entityName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Phone'] off begin\n\t/**\n\t * Phone\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Phone',\n\t\tdisplayType: 'textfield',\n\t\torder: 390,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic phone: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Phone'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Tax Invoices Contact'] off begin\n\t/**\n\t * Tax Invoices Contact\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Tax Invoices Contact',\n\t\tdisplayType: 'textfield',\n\t\torder: 400,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic taxInvoicesContact: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Tax Invoices Contact'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Drinks Licence Last Updated'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Drinks Licence Last Updated',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 410,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic drinksLicenceLastUpdated: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Drinks Licence Last Updated'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Payment Risk Rating'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Payment Risk Rating',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 420,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.riskScoreOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.riskScoreOptions),\n\t\tdisplayFunction: (attr: Enums.riskScore) => Enums.riskScoreOptions[attr],\n\t})\n\tpublic paymentRiskRating: Enums.riskScore;\n\t// % protected region % [Modify props to the crud options here for attribute 'Payment Risk Rating'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Status'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Status',\n\t\tdisplayType: 'textfield',\n\t\torder: 430,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acnStatus: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Purchasing Officer'] off begin\n\t/**\n\t * Purchasing Officer\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Purchasing Officer',\n\t\tdisplayType: 'textfield',\n\t\torder: 440,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic purchasingOfficer: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Purchasing Officer'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Statements Contact'] off begin\n\t/**\n\t * Statements Contact\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Statements Contact',\n\t\tdisplayType: 'textfield',\n\t\torder: 450,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic statementsContact: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Statements Contact'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Sic Code'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Sic Code',\n\t\tdisplayType: 'textfield',\n\t\torder: 460,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic sicCode: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Sic Code'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Drinks Licence Info'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Drinks Licence Info',\n\t\tdisplayType: 'textfield',\n\t\torder: 470,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic drinksLicenceInfo: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Drinks Licence Info'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Entity Name'] off begin\n\t/**\n\t * The entity name sent back by the trustee ACN response\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee ACN Entity Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 480,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic trusteeACNEntityName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee ACN Entity Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Trustee Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 490,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic trusteeName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Trustee Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Drinks Licence State'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Drinks Licence State',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 500,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.stateOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.stateOptions),\n\t\tdisplayFunction: (attr: Enums.state) => Enums.stateOptions[attr],\n\t})\n\tpublic drinksLicenceState: Enums.state;\n\t// % protected region % [Modify props to the crud options here for attribute 'Drinks Licence State'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Last Name'] off begin\n\t/**\n\t * Last Name\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Last Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 510,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic lastName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Last Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABR Last Updated'] off begin\n\t/**\n\t * ABR Last Updated\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABR Last Updated',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 520,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic abrLastUpdated: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABR Last Updated'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Monitored Status'] off begin\n\t/**\n\t * If the customer is being actively monitored, in a dormant state, or insolvent\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Monitored Status',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 530,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.customerMonitoredStatusOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.customerMonitoredStatusOptions),\n\t\tdisplayFunction: (attr: Enums.customerMonitoredStatus) => Enums.customerMonitoredStatusOptions[attr],\n\t})\n\tpublic monitoredStatus: Enums.customerMonitoredStatus;\n\t// % protected region % [Modify props to the crud options here for attribute 'Monitored Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Drinks Licence Status'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Drinks Licence Status',\n\t\tdisplayType: 'textfield',\n\t\torder: 540,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic drinksLicenceStatus: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Drinks Licence Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Accounts Contact'] off begin\n\t/**\n\t * Accounts Contact\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Accounts Contact',\n\t\tdisplayType: 'textfield',\n\t\torder: 550,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic accountsContact: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Accounts Contact'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATB Record'] off begin\n\t\tname: 'ATB Records',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 560,\n\t\treferenceTypeFunc: () => Models.AtbRecordEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'atbRecords',\n\t\t\toppositeEntity: () => Models.AtbRecordEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATB Record'] end\n\t})\n\tpublic atbRecords: Models.AtbRecordEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Alares'] off begin\n\t\tname: 'Alaress',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 570,\n\t\treferenceTypeFunc: () => Models.AlaresEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'alaress',\n\t\t\toppositeEntity: () => Models.AlaresEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Alares'] end\n\t})\n\tpublic alaress: Models.AlaresEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer Audits'] off begin\n\t\tname: 'Customer Auditss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 580,\n\t\treferenceTypeFunc: () => Models.CustomerAuditEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'customerAuditss',\n\t\t\toppositeEntity: () => Models.CustomerAuditEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer Audits'] end\n\t})\n\tpublic customerAuditss: Models.CustomerAuditEntity[] = [];\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] off begin\n\t\tname: 'Business Entity',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 590,\n\t\treferenceTypeFunc: () => Models.BusinessEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] end\n\t})\n\tpublic businessEntityId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic businessEntity: Models.BusinessEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Groups'] off begin\n\t\tname: 'Groups',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 600,\n\t\tisJoinEntity: true,\n\t\treferenceTypeFunc: () => Models.GroupsCustomers,\n\t\toptionEqualFunc: makeJoinEqualsFunc('groupsId'),\n\t\treferenceResolveFunction: makeFetchManyToManyFunc({\n\t\t\tentityName: 'customerEntity',\n\t\t\toppositeEntityName: 'groupEntity',\n\t\t\trelationName: 'customers',\n\t\t\trelationOppositeName: 'groups',\n\t\t\tentity: () => Models.CustomerEntity,\n\t\t\tjoinEntity: () => Models.GroupsCustomers,\n\t\t\toppositeEntity: () => Models.GroupEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Groups'] end\n\t})\n\tpublic groupss: Models.GroupsCustomers[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitoreds'] off begin\n\t\tname: 'Monitoreds',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 610,\n\t\tisJoinEntity: true,\n\t\treferenceTypeFunc: () => Models.MonitoredsCustomers,\n\t\toptionEqualFunc: makeJoinEqualsFunc('monitoredsId'),\n\t\treferenceResolveFunction: makeFetchManyToManyFunc({\n\t\t\tentityName: 'customerEntity',\n\t\t\toppositeEntityName: 'monitoredEntity',\n\t\t\trelationName: 'customers',\n\t\t\trelationOppositeName: 'monitoreds',\n\t\t\tentity: () => Models.CustomerEntity,\n\t\t\tjoinEntity: () => Models.MonitoredsCustomers,\n\t\t\toppositeEntity: () => Models.MonitoredEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitoreds'] end\n\t})\n\tpublic monitoredss: Models.MonitoredsCustomers[] = [];\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] off begin\n\t\tname: 'Organisation',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 620,\n\t\treferenceTypeFunc: () => Models.OrganisationEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] end\n\t})\n\tpublic organisationId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic organisation: Models.OrganisationEntity;\n\n\t/**\n\t * Physical Address\n\t */\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Physical Address'] off begin\n\t\tname: 'Physical Address',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 630,\n\t\treferenceTypeFunc: () => Models.AddressEntity,\n\t\toptionEqualFunc: (model, option) => model.id === option,\n\t\tinputProps: {\n\t\t\tfetchReferenceEntity: true,\n\t\t},\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'physicalAddresss',\n\t\t\toppositeEntity: () => Models.AddressEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Physical Address'] end\n\t})\n\tpublic physicalAddress?: Models.AddressEntity;\n\n\t/**\n\t * Postal Address\n\t */\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Postal Address'] off begin\n\t\tname: 'Postal Address',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 640,\n\t\treferenceTypeFunc: () => Models.AddressEntity,\n\t\toptionEqualFunc: (model, option) => model.id === option,\n\t\tinputProps: {\n\t\t\tfetchReferenceEntity: true,\n\t\t},\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'postalAddresss',\n\t\t\toppositeEntity: () => Models.AddressEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Postal Address'] end\n\t})\n\tpublic postalAddress?: Models.AddressEntity;\n\n\t@Validators.Length(1)\n\t@Validators.Required()\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Report Request'] off begin\n\t\tname: 'Report Requests',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 650,\n\t\treferenceTypeFunc: () => Models.ReportRequestEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'reportRequests',\n\t\t\toppositeEntity: () => Models.ReportRequestEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Report Request'] end\n\t})\n\tpublic reportRequests: Models.ReportRequestEntity[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] on begin\n\t@observable public abnFinishedValidating: boolean = false;\n\t@observable public acnFinishedValidating: boolean = false;\n\t@observable public trusteeACNFinishedValidating: boolean = false;\n\t@observable public businessEntityStatus: boolean;\n\t@observable public liquorLicenceFinishedValidating: boolean = false;\n\t// eslint-disable-next-line max-len\n\t@observable public liquorLicenceResponseDetails?: {data: Record; responseCode: number; responseMessage: string };\n\t@observable public selectedLiquorLicenceDetails?: LiquorLicenceDetails;\n\t/**\n\t * The payment risk rating for the customer given this set of ATB data\n\t */\n\t@observable public newestAtbRecord: Models.AtbRecordEntity;\n\t@observable public newestAlares: Models.AlaresEntity;\n\n\t@action public validateField = async (field: string) => {\n\t\tswitch (field) {\n\t\t\tcase 'accountsPhoneNumber': {\n\t\t\t\tthis.setFieldError('accountsPhoneNumber', !!this.accountsPhoneNumber\n\t\t\t\t\t&& !isPhone(this.accountsPhoneNumber), 'Accounts contact number must be a valid phone number');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'taxInvoicesEmail': {\n\t\t\t\tthis.setFieldError('taxInvoicesEmail', !!this.taxInvoicesEmail\n\t\t\t\t\t&& !isEmail(this.taxInvoicesEmail), 'Tax invoice email must be a valid email address');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'statementsEmail': {\n\t\t\t\tthis.setFieldError(\n\t\t\t\t\t'statementsEmail',\n\t\t\t\t\t!!this.statementsEmail && !isEmail(this.statementsEmail),\n\t\t\t\t\t'Statements email must be a valid email address',\n\t\t\t\t);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'purchasingOfficerEmail': {\n\t\t\t\tthis.setFieldError('purchasingOfficerEmail', !!this.purchasingOfficerEmail\n\t\t\t\t\t&& !isEmail(this.purchasingOfficerEmail), 'Purchasing officer email must be a valid email address');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'physicalAddress.postcode': {\n\t\t\t\t// Borrow errors from the address entity\n\t\t\t\tthis.physicalAddress?.validateField('postcode');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'postalAddress.postcode': {\n\t\t\t\t// Borrow errors from the address entity\n\t\t\t\tthis.postalAddress?.validateField('postcode');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'abn': {\n\t\t\t\tawait this.runAbnValidation();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'acn': {\n\t\t\t\tawait this.runAcnValidation();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'trusteeACN': {\n\t\t\t\tawait this.runTrusteeACNValidation();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'businessName': {\n\t\t\t\tthis.setFieldError('businessName', !this.businessName, 'Business name must be set');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'businessEntity': {\n\t\t\t\tthis.setFieldError('businessEntity', !this.businessEntityId, 'Business Entity must be selected');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'drinksLicence': {\n\t\t\t\tawait this.runLiquorLicenceValidation();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'debtorID': {\n\t\t\t\tif (!!this.debtorID) {\n\t\t\t\t\tif (!this.businessEntityId) {\n\t\t\t\t\t\tthis.setFieldError('businessEntity', true, 'Business Entity must be selected');\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tconst { data } = await axios.get(`${SERVER_URL}/api/entity/CustomerEntity/validate-debtor-id/\n\t\t\t\t\t\t${this.businessEntityId}/${this.debtorID}`);\n\t\t\t\t\tthis.setFieldError('debtorID', data !== true, 'Debtor ID must be unique per customer');\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\tpublic validateAccountInformationFields = async () => {\n\t\tconst fieldList = [\n\t\t\t'accountsPhoneNumber', 'taxInvoicesEmail', 'statementsEmail', 'physicalAddress.postcode',\n\t\t\t'postalAddress.postcode',\n\t\t];\n\t\tconst validationPromises = fieldList.map(field => this.validateField(field));\n\t\tawait Promise.all(validationPromises);\n\t};\n\n\tpublic validateAddCustomerFields = async () => {\n\t\tconst fieldList = [\n\t\t\t'abn', 'acn', 'businessName', 'businessEntity', 'debtorID',\n\t\t];\n\t\tconst validationPromises = fieldList.map(field => this.validateField(field));\n\t\tawait Promise.all(validationPromises);\n\t};\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.drinksLicence !== undefined) {\n\t\t\t\tthis.drinksLicence = attributes.drinksLicence;\n\t\t\t}\n\t\t\tif (attributes.entityTypeDescription !== undefined) {\n\t\t\t\tthis.entityTypeDescription = attributes.entityTypeDescription;\n\t\t\t}\n\t\t\tif (attributes.email !== undefined) {\n\t\t\t\tthis.email = attributes.email;\n\t\t\t}\n\t\t\tif (attributes.addedToWatchlist !== undefined) {\n\t\t\t\tthis.addedToWatchlist = attributes.addedToWatchlist;\n\t\t\t}\n\t\t\tif (attributes.acnEntityName !== undefined) {\n\t\t\t\tthis.acnEntityName = attributes.acnEntityName;\n\t\t\t}\n\t\t\tif (attributes.acnClass !== undefined) {\n\t\t\t\tthis.acnClass = attributes.acnClass;\n\t\t\t}\n\t\t\tif (attributes.trusteeACNStatus !== undefined) {\n\t\t\t\tthis.trusteeACNStatus = attributes.trusteeACNStatus;\n\t\t\t}\n\t\t\tif (attributes.acnLastUpdated !== undefined) {\n\t\t\t\tif (attributes.acnLastUpdated === null) {\n\t\t\t\t\tthis.acnLastUpdated = attributes.acnLastUpdated;\n\t\t\t\t} else {\n\t\t\t\t\tthis.acnLastUpdated = moment(attributes.acnLastUpdated).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.trusteeACNClass !== undefined) {\n\t\t\t\tthis.trusteeACNClass = attributes.trusteeACNClass;\n\t\t\t}\n\t\t\tif (attributes.tradingTerms !== undefined) {\n\t\t\t\tthis.tradingTerms = attributes.tradingTerms;\n\t\t\t}\n\t\t\tif (attributes.purchasingOfficerEmail !== undefined) {\n\t\t\t\tthis.purchasingOfficerEmail = attributes.purchasingOfficerEmail;\n\t\t\t}\n\t\t\tif (attributes.acnEntityTypeCode !== undefined) {\n\t\t\t\tthis.acnEntityTypeCode = attributes.acnEntityTypeCode;\n\t\t\t}\n\t\t\tif (attributes.taxInvoicesEmail !== undefined) {\n\t\t\t\tthis.taxInvoicesEmail = attributes.taxInvoicesEmail;\n\t\t\t}\n\t\t\tif (attributes.trusteeACN !== undefined) {\n\t\t\t\tthis.trusteeACN = attributes.trusteeACN;\n\t\t\t}\n\t\t\tif (attributes.statementsEmail !== undefined) {\n\t\t\t\tthis.statementsEmail = attributes.statementsEmail;\n\t\t\t}\n\t\t\tif (attributes.acn !== undefined) {\n\t\t\t\tthis.acn = attributes.acn;\n\t\t\t}\n\t\t\tif (attributes.abnActive !== undefined) {\n\t\t\t\tthis.abnActive = attributes.abnActive;\n\t\t\t}\n\t\t\tif (attributes.trusteeACNEntityTypeCode !== undefined) {\n\t\t\t\tthis.trusteeACNEntityTypeCode = attributes.trusteeACNEntityTypeCode;\n\t\t\t}\n\t\t\tif (attributes.accountsPhoneNumber !== undefined) {\n\t\t\t\tthis.accountsPhoneNumber = attributes.accountsPhoneNumber;\n\t\t\t}\n\t\t\tif (attributes.creditLimit !== undefined) {\n\t\t\t\tthis.creditLimit = attributes.creditLimit;\n\t\t\t}\n\t\t\tif (attributes.activeSince !== undefined) {\n\t\t\t\tif (attributes.activeSince === null) {\n\t\t\t\t\tthis.activeSince = attributes.activeSince;\n\t\t\t\t} else {\n\t\t\t\t\tthis.activeSince = moment(attributes.activeSince).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.acnSubClass !== undefined) {\n\t\t\t\tthis.acnSubClass = attributes.acnSubClass;\n\t\t\t}\n\t\t\tif (attributes.abn !== undefined) {\n\t\t\t\tthis.abn = attributes.abn;\n\t\t\t}\n\t\t\tif (attributes.recordUpdated !== undefined) {\n\t\t\t\tif (attributes.recordUpdated === null) {\n\t\t\t\t\tthis.recordUpdated = attributes.recordUpdated;\n\t\t\t\t} else {\n\t\t\t\t\tthis.recordUpdated = moment(attributes.recordUpdated).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.businessName !== undefined) {\n\t\t\t\tthis.businessName = attributes.businessName;\n\t\t\t}\n\t\t\tif (attributes.trusteeACNSubClass !== undefined) {\n\t\t\t\tthis.trusteeACNSubClass = attributes.trusteeACNSubClass;\n\t\t\t}\n\t\t\tif (attributes.entityTypeCode !== undefined) {\n\t\t\t\tthis.entityTypeCode = attributes.entityTypeCode;\n\t\t\t}\n\t\t\tif (attributes.debtorID !== undefined) {\n\t\t\t\tthis.debtorID = attributes.debtorID;\n\t\t\t}\n\t\t\tif (attributes.locality !== undefined) {\n\t\t\t\tthis.locality = attributes.locality;\n\t\t\t}\n\t\t\tif (attributes.entityStatus !== undefined) {\n\t\t\t\tthis.entityStatus = attributes.entityStatus;\n\t\t\t}\n\t\t\tif (attributes.dateOfBirth !== undefined) {\n\t\t\t\tif (attributes.dateOfBirth === null) {\n\t\t\t\t\tthis.dateOfBirth = attributes.dateOfBirth;\n\t\t\t\t} else {\n\t\t\t\t\tthis.dateOfBirth = moment(attributes.dateOfBirth).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.trusteeACNLastUpdated !== undefined) {\n\t\t\t\tif (attributes.trusteeACNLastUpdated === null) {\n\t\t\t\t\tthis.trusteeACNLastUpdated = attributes.trusteeACNLastUpdated;\n\t\t\t\t} else {\n\t\t\t\t\tthis.trusteeACNLastUpdated = moment(attributes.trusteeACNLastUpdated).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.trusteeACNRegistrationDate !== undefined) {\n\t\t\t\tthis.trusteeACNRegistrationDate = attributes.trusteeACNRegistrationDate;\n\t\t\t}\n\t\t\tif (attributes.firstName !== undefined) {\n\t\t\t\tthis.firstName = attributes.firstName;\n\t\t\t}\n\t\t\tif (attributes.registeredForGSTFrom !== undefined) {\n\t\t\t\tthis.registeredForGSTFrom = attributes.registeredForGSTFrom;\n\t\t\t}\n\t\t\tif (attributes.nameForInvoice !== undefined) {\n\t\t\t\tthis.nameForInvoice = attributes.nameForInvoice;\n\t\t\t}\n\t\t\tif (attributes.acnRegistrationDate !== undefined) {\n\t\t\t\tthis.acnRegistrationDate = attributes.acnRegistrationDate;\n\t\t\t}\n\t\t\tif (attributes.entityName !== undefined) {\n\t\t\t\tthis.entityName = attributes.entityName;\n\t\t\t}\n\t\t\tif (attributes.phone !== undefined) {\n\t\t\t\tthis.phone = attributes.phone;\n\t\t\t}\n\t\t\tif (attributes.taxInvoicesContact !== undefined) {\n\t\t\t\tthis.taxInvoicesContact = attributes.taxInvoicesContact;\n\t\t\t}\n\t\t\tif (attributes.drinksLicenceLastUpdated !== undefined) {\n\t\t\t\tif (attributes.drinksLicenceLastUpdated === null) {\n\t\t\t\t\tthis.drinksLicenceLastUpdated = attributes.drinksLicenceLastUpdated;\n\t\t\t\t} else {\n\t\t\t\t\tthis.drinksLicenceLastUpdated = moment(attributes.drinksLicenceLastUpdated).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.paymentRiskRating !== undefined) {\n\t\t\t\tthis.paymentRiskRating = attributes.paymentRiskRating;\n\t\t\t}\n\t\t\tif (attributes.acnStatus !== undefined) {\n\t\t\t\tthis.acnStatus = attributes.acnStatus;\n\t\t\t}\n\t\t\tif (attributes.purchasingOfficer !== undefined) {\n\t\t\t\tthis.purchasingOfficer = attributes.purchasingOfficer;\n\t\t\t}\n\t\t\tif (attributes.statementsContact !== undefined) {\n\t\t\t\tthis.statementsContact = attributes.statementsContact;\n\t\t\t}\n\t\t\tif (attributes.sicCode !== undefined) {\n\t\t\t\tthis.sicCode = attributes.sicCode;\n\t\t\t}\n\t\t\tif (attributes.drinksLicenceInfo !== undefined) {\n\t\t\t\tthis.drinksLicenceInfo = attributes.drinksLicenceInfo;\n\t\t\t}\n\t\t\tif (attributes.trusteeACNEntityName !== undefined) {\n\t\t\t\tthis.trusteeACNEntityName = attributes.trusteeACNEntityName;\n\t\t\t}\n\t\t\tif (attributes.trusteeName !== undefined) {\n\t\t\t\tthis.trusteeName = attributes.trusteeName;\n\t\t\t}\n\t\t\tif (attributes.drinksLicenceState !== undefined) {\n\t\t\t\tthis.drinksLicenceState = attributes.drinksLicenceState;\n\t\t\t}\n\t\t\tif (attributes.lastName !== undefined) {\n\t\t\t\tthis.lastName = attributes.lastName;\n\t\t\t}\n\t\t\tif (attributes.abrLastUpdated !== undefined) {\n\t\t\t\tif (attributes.abrLastUpdated === null) {\n\t\t\t\t\tthis.abrLastUpdated = attributes.abrLastUpdated;\n\t\t\t\t} else {\n\t\t\t\t\tthis.abrLastUpdated = moment(attributes.abrLastUpdated).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.monitoredStatus !== undefined) {\n\t\t\t\tthis.monitoredStatus = attributes.monitoredStatus;\n\t\t\t}\n\t\t\tif (attributes.drinksLicenceStatus !== undefined) {\n\t\t\t\tthis.drinksLicenceStatus = attributes.drinksLicenceStatus;\n\t\t\t}\n\t\t\tif (attributes.accountsContact !== undefined) {\n\t\t\t\tthis.accountsContact = attributes.accountsContact;\n\t\t\t}\n\t\t\tif (attributes.atbRecords !== undefined && Array.isArray(attributes.atbRecords)) {\n\t\t\t\tfor (const model of attributes.atbRecords) {\n\t\t\t\t\tif (model instanceof Models.AtbRecordEntity) {\n\t\t\t\t\t\tthis.atbRecords.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.atbRecords.push(new Models.AtbRecordEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.alaress !== undefined && Array.isArray(attributes.alaress)) {\n\t\t\t\tfor (const model of attributes.alaress) {\n\t\t\t\t\tif (model instanceof Models.AlaresEntity) {\n\t\t\t\t\t\tthis.alaress.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.alaress.push(new Models.AlaresEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.customerAuditss !== undefined && Array.isArray(attributes.customerAuditss)) {\n\t\t\t\tfor (const model of attributes.customerAuditss) {\n\t\t\t\t\tif (model instanceof Models.CustomerAuditEntity) {\n\t\t\t\t\t\tthis.customerAuditss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.customerAuditss.push(new Models.CustomerAuditEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.businessEntityId !== undefined) {\n\t\t\t\tthis.businessEntityId = attributes.businessEntityId;\n\t\t\t}\n\t\t\tif (attributes.businessEntity !== undefined) {\n\t\t\t\tif (attributes.businessEntity === null) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t} else if (attributes.businessEntity instanceof Models.BusinessEntity) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t\tthis.businessEntityId = attributes.businessEntity.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.businessEntity = new Models.BusinessEntity(attributes.businessEntity);\n\t\t\t\t\tthis.businessEntityId = this.businessEntity.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.groupss !== undefined && Array.isArray(attributes.groupss)) {\n\t\t\t\tfor (const model of attributes.groupss) {\n\t\t\t\t\tif (model instanceof Models.GroupsCustomers) {\n\t\t\t\t\t\tthis.groupss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.groupss.push(new Models.GroupsCustomers(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.monitoredss !== undefined && Array.isArray(attributes.monitoredss)) {\n\t\t\t\tfor (const model of attributes.monitoredss) {\n\t\t\t\t\tif (model instanceof Models.MonitoredsCustomers) {\n\t\t\t\t\t\tthis.monitoredss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.monitoredss.push(new Models.MonitoredsCustomers(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.organisationId !== undefined) {\n\t\t\t\tthis.organisationId = attributes.organisationId;\n\t\t\t}\n\t\t\tif (attributes.organisation !== undefined) {\n\t\t\t\tif (attributes.organisation === null) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t} else if (attributes.organisation instanceof Models.OrganisationEntity) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t\tthis.organisationId = attributes.organisation.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.organisation = new Models.OrganisationEntity(attributes.organisation);\n\t\t\t\t\tthis.organisationId = this.organisation.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.physicalAddress !== undefined) {\n\t\t\t\tif (attributes.physicalAddress === null) {\n\t\t\t\t\tthis.physicalAddress = attributes.physicalAddress;\n\t\t\t\t} else if (attributes.physicalAddress instanceof Models.AddressEntity) {\n\t\t\t\t\tthis.physicalAddress = attributes.physicalAddress;\n\t\t\t\t} else {\n\t\t\t\t\tthis.physicalAddress = new Models.AddressEntity(attributes.physicalAddress);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.postalAddress !== undefined) {\n\t\t\t\tif (attributes.postalAddress === null) {\n\t\t\t\t\tthis.postalAddress = attributes.postalAddress;\n\t\t\t\t} else if (attributes.postalAddress instanceof Models.AddressEntity) {\n\t\t\t\t\tthis.postalAddress = attributes.postalAddress;\n\t\t\t\t} else {\n\t\t\t\t\tthis.postalAddress = new Models.AddressEntity(attributes.postalAddress);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.reportRequests !== undefined && Array.isArray(attributes.reportRequests)) {\n\t\t\t\tfor (const model of attributes.reportRequests) {\n\t\t\t\t\tif (model instanceof Models.ReportRequestEntity) {\n\t\t\t\t\t\tthis.reportRequests.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.reportRequests.push(new Models.ReportRequestEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] on begin\n\t\t\tif (attributes?.newestAtbRecord !== undefined) {\n\t\t\t\tif (attributes.newestAtbRecord === null) {\n\t\t\t\t\tthis.newestAtbRecord = attributes.newestAtbRecord;\n\t\t\t\t} else if (attributes.newestAtbRecord instanceof Models.AtbRecordEntity) {\n\t\t\t\t\tthis.newestAtbRecord = attributes.newestAtbRecord;\n\t\t\t\t} else {\n\t\t\t\t\tthis.newestAtbRecord = new Models.AtbRecordEntity(attributes.newestAtbRecord);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.newestAlares !== undefined) {\n\t\t\t\tif (attributes.newestAlares === null) {\n\t\t\t\t\tthis.newestAlares = attributes.newestAlares;\n\t\t\t\t} else if (attributes.newestAlares instanceof Models.AlaresEntity) {\n\t\t\t\t\tthis.newestAlares = attributes.newestAlares;\n\t\t\t\t} else {\n\t\t\t\t\tthis.newestAlares = new Models.AlaresEntity(attributes.newestAlares);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes?.abnFinishedValidating !== undefined) {\n\t\t\t\tthis.abnFinishedValidating = attributes.abnFinishedValidating;\n\t\t\t}\n\t\t\tif (attributes?.acnFinishedValidating !== undefined) {\n\t\t\t\tthis.acnFinishedValidating = attributes.acnFinishedValidating;\n\t\t\t}\n\t\t\tif (attributes?.trusteeACNFinishedValidating !== undefined) {\n\t\t\t\tthis.trusteeACNFinishedValidating = attributes.trusteeACNFinishedValidating;\n\t\t\t}\n\t\t\tif (attributes?.businessEntityStatus !== undefined) {\n\t\t\t\tthis.businessEntityStatus = attributes.businessEntityStatus;\n\t\t\t}\n\t\t\tif (attributes?.liquorLicenceFinishedValidating !== undefined) {\n\t\t\t\tthis.liquorLicenceFinishedValidating = attributes.liquorLicenceFinishedValidating;\n\t\t\t}\n\n\t\t\tif (attributes?.liquorLicenceResponseDetails !== undefined) {\n\t\t\t\tthis.liquorLicenceResponseDetails = attributes.liquorLicenceResponseDetails;\n\t\t\t}\n\n\t\t\tif (attributes?.selectedLiquorLicenceDetails !== undefined) {\n\t\t\t\tthis.selectedLiquorLicenceDetails = attributes.selectedLiquorLicenceDetails;\n\t\t\t}\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tgroupss {\n\t\t\t${Models.GroupsCustomers.getAttributes().join('\\n')}\n\t\t\tgroups {\n\t\t\t\t${Models.GroupEntity.getAttributes().join('\\n')}\n\t\t\t}\n\t\t}\n\t\tmonitoredss {\n\t\t\t${Models.MonitoredsCustomers.getAttributes().join('\\n')}\n\t\t\tmonitoreds {\n\t\t\t\t${Models.MonitoredEntity.getAttributes().join('\\n')}\n\t\t\t}\n\t\t}\n\t\tatbRecords {\n\t\t\t${Models.AtbRecordEntity.getAttributes().join('\\n')}\n\t\t}\n\t\talaress {\n\t\t\t${Models.AlaresEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tcustomerAuditss {\n\t\t\t${Models.CustomerAuditEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tbusinessEntity {\n\t\t\t${Models.BusinessEntity.getAttributes().join('\\n')}\n\t\t}\n\t\torganisation {\n\t\t\t${Models.OrganisationEntity.getAttributes().join('\\n')}\n\t\t\t${Models.OrganisationEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t}\n\t\tphysicalAddress {\n\t\t\t${Models.AddressEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tpostalAddress {\n\t\t\t${Models.AddressEntity.getAttributes().join('\\n')}\n\t\t}\n\t\treportRequests {\n\t\t\t${Models.ReportRequestEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tgroupss: {},\n\t\t\tmonitoredss: {},\n\t\t\tatbRecords: {},\n\t\t\talaress: {},\n\t\t\tcustomerAuditss: {},\n\t\t\tphysicalAddress: {},\n\t\t\tpostalAddress: {},\n\t\t\treportRequests: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'atbRecords',\n\t\t\t\t\t\t\t'groupss',\n\t\t\t\t\t\t\t'monitoredss',\n\t\t\t\t\t\t\t'physicalAddress',\n\t\t\t\t\t\t\t'postalAddress',\n\t\t\t\t\t\t\t'reportRequests',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] on begin\n\t\treturn this.businessName ?? this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] on begin\n\t// function for clearing the abr fields on this customer entity\n\t@action\n\tclearAbrFields() {\n\t\tthis.entityTypeCode = '';\n\t\tthis.entityTypeDescription = '';\n\t\tthis.entityName = '';\n\t\tthis.registeredForGSTFrom = '';\n\t\tthis.locality = '';\n\t\t// @ts-ignore\n\t\tthis.activeSince = undefined;\n\t\t// @ts-ignore\n\t\tthis.recordUpdated = undefined;\n\t\t// @ts-ignore\n\t\tthis.abnActive = undefined;\n\t\tthis.entityStatus = '';\n\t\tthis.abrLastUpdated = moment().utc().toDate();\n\t}\n\n\t// function for clearing the acn fields on this customer entity\n\t@action\n\tclearAcnFields() {\n\t\tthis.acnClass = '';\n\t\tthis.acnSubClass = '';\n\t\tthis.acnRegistrationDate = '';\n\t\tthis.acnEntityName = '';\n\t\tthis.acnLastUpdated = moment().utc().toDate();\n\t\tthis.acnEntityTypeCode = '';\n\t\tthis.acnStatus = '';\n\t}\n\n\t// function for clearing the acn fields on this customer entity\n\t@action\n\tclearTrusteeAcnFields() {\n\t\tthis.trusteeACNClass = '';\n\t\tthis.trusteeACNSubClass = '';\n\t\tthis.trusteeACNRegistrationDate = '';\n\t\tthis.trusteeACNEntityName = '';\n\t\tthis.trusteeACNLastUpdated = moment().utc().toDate();\n\t\tthis.trusteeACNEntityTypeCode = '';\n\t\tthis.trusteeACNStatus = '';\n\t}\n\n\t@action\n\tclearLiquorLicenceFields() {\n\t\tthis.drinksLicenceLastUpdated = new Date(1001, 0, 1);\n\t\tthis.drinksLicenceStatus = '';\n\t\tthis.drinksLicenceInfo = '';\n\t\tthis.liquorLicenceResponseDetails = undefined;\n\t\tthis.selectedLiquorLicenceDetails = undefined;\n\t}\n\n\t@action\n\tupdateLiquorLicenceFields(uniqueId: string) {\n\t\tconst responseCode = this.liquorLicenceResponseDetails?.responseCode;\n\t\tconst responseMessage = this.liquorLicenceResponseDetails?.responseMessage;\n\n\t\tconst availableLiquorLicenceDetails = this.liquorLicenceResponseDetails?.data;\n\t\tif (availableLiquorLicenceDetails !== undefined) {\n\t\t\tconst liquorLicenceDetailsArray = Object.values(availableLiquorLicenceDetails);\n\t\t\tconst selectedLiquorLicenceDetails: LiquorLicenceDetails | undefined = liquorLicenceDetailsArray.find(\n\t\t\t\tliquorLicenceDetails => liquorLicenceDetails.uniqueId === uniqueId,\n\t\t\t);\n\t\t\tif (selectedLiquorLicenceDetails !== undefined) {\n\t\t\t\tthis.selectedLiquorLicenceDetails = selectedLiquorLicenceDetails;\n\t\t\t\tthis.drinksLicence = selectedLiquorLicenceDetails.licenceNumber;\n\t\t\t\tthis.drinksLicenceStatus = selectedLiquorLicenceDetails.status;\n\t\t\t\t// eslint-disable-next-line max-len\n\t\t\t\tthis.drinksLicenceLastUpdated = new Date(selectedLiquorLicenceDetails.dateModified ?? new Date(1001, 0, 1));\n\t\t\t\t// eslint-disable-next-line max-len\n\t\t\t\tconst state = Enums.stateOptions[selectedLiquorLicenceDetails.serialState ?? this.drinksLicenceState] as Enums.state;\n\t\t\t\tthis.drinksLicenceState = state;\n\t\t\t}\n\n\t\t\tconst updatedLicenceDetails: Record = {};\n\t\t\tfor (const liquorLicenceDetails of liquorLicenceDetailsArray) {\n\t\t\t\tconst isSelected = liquorLicenceDetails.uniqueId === uniqueId;\n\t\t\t\t// eslint-disable-next-line max-len\n\t\t\t\tupdatedLicenceDetails[`${liquorLicenceDetails.uniqueId.toUpperCase()}::${isSelected ? 'TRUE' : 'FALSE'}`] = liquorLicenceDetails;\n\t\t\t}\n\t\t\tthis.drinksLicenceInfo = JSON.stringify(updatedLicenceDetails);\n\t\t\tthis.liquorLicenceResponseDetails = {\n\t\t\t\tdata: updatedLicenceDetails,\n\t\t\t\tresponseCode: responseCode ?? 0,\n\t\t\t\tresponseMessage: responseMessage ?? '',\n\t\t\t};\n\n\t\t\tthis.setFieldError('drinksLicence', false, '');\n\t\t\tthis.setFieldError('drinksLicenceState', false, '');\n\t\t}\n\t}\n\n\t@action\n\tasync runLiquorLicenceValidation() {\n\t\tthis.liquorLicenceFinishedValidating = true;\n\t\tthis.drinksLicence = this.drinksLicence ? this.drinksLicence.replace(/\\W/g, '') : this.drinksLicence;\n\n\t\tif (this.drinksLicenceState === 'NONE') {\n\t\t\tthis.liquorLicenceFinishedValidating = false;\n\t\t\tthis.setFieldError('drinksLicenceState', false, '');\n\t\t\tif (this.drinksLicence) {\n\t\t\t\tthis.setFieldError('drinksLicence', true, 'Licence state must be selected');\n\t\t\t} else {\n\t\t\t\tthis.setFieldError('drinksLicence', false, '');\n\t\t\t}\n\t\t\tthis.clearLiquorLicenceFields();\n\t\t\treturn true;\n\t\t}\n\n\t\tif (!this.drinksLicence) {\n\t\t\tthis.liquorLicenceFinishedValidating = false;\n\t\t\tthis.setFieldError('drinksLicence', true, 'Licence number cannot be empty');\n\t\t\tthis.clearLiquorLicenceFields();\n\t\t\treturn false;\n\t\t}\n\n\t\tif (this.drinksLicence.length < 5) {\n\t\t\tthis.liquorLicenceFinishedValidating = false;\n\t\t\tthis.setFieldError('drinksLicence', true, 'Licence number must be at least 5 characters');\n\t\t\tthis.clearLiquorLicenceFields();\n\t\t\treturn false;\n\t\t}\n\n\t\tif (!isTypeOfState(this.drinksLicenceState)) {\n\t\t\tthis.setFieldError('drinksLicence', false, '');\n\t\t\tthis.setFieldError('drinksLicenceState', true, 'Licence issued state must be a valid state');\n\t\t\tthis.clearLiquorLicenceFields();\n\t\t\treturn false;\n\t\t}\n\n\t\tconst response = await validateLiquorLicenceNumber(this.drinksLicence, this.drinksLicenceState, this.id);\n\n\t\tif (!response) {\n\t\t\trunInAction(() => {\n\t\t\t\tthis.liquorLicenceFinishedValidating = true;\n\t\t\t\tthis.clearLiquorLicenceFields();\n\t\t\t\tthis.setFieldError('drinksLicence', true, 'Licence number not found');\n\t\t\t\tthis.setFieldError('drinksLicenceState', true, 'Licence state not matched with the licence number.');\n\t\t\t});\n\t\t\treturn false;\n\t\t}\n\n\t\tif (response.exception && !response.data) {\n\t\t\trunInAction(() => {\n\t\t\t\tthis.liquorLicenceFinishedValidating = true;\n\t\t\t\tthis.clearLiquorLicenceFields();\n\t\t\t\tthis.setFieldError('drinksLicence', true, response.exception.exceptionDescription);\n\t\t\t\tthis.setFieldError('drinksLicenceState', true, 'Licence state not matched with the licence number.');\n\t\t\t});\n\t\t\treturn false;\n\t\t}\n\n\t\t// Record keys format is uniqueId::isSelected\n\t\tconst parsedLicenceDetails = JSON.parse(response.data.licenceDetails) as Record;\n\n\t\tif (!parsedLicenceDetails || Object.keys(parsedLicenceDetails).length < 1) {\n\t\t\trunInAction(() => {\n\t\t\t\tthis.liquorLicenceFinishedValidating = true;\n\t\t\t\tthis.clearLiquorLicenceFields();\n\t\t\t\tthis.liquorLicenceResponseDetails = undefined;\n\t\t\t\tthis.setFieldError('drinksLicence', true, 'Licence number not found');\n\t\t\t\tthis.setFieldError('drinksLicenceState', true, 'Licence state not matched with the licence number.');\n\t\t\t});\n\n\t\t\treturn false;\n\t\t}\n\n\t\tlet selectedLiquorLicenceDetails: LiquorLicenceDetails | undefined;\n\n\t\tfor (const [key, value] of Object.entries(parsedLicenceDetails)) {\n\t\t\tconst isSelected = key.toUpperCase().split('::')[1] === 'TRUE';\n\t\t\tconst uniqueId = key.toUpperCase().split('::')[0];\n\n\t\t\tif (isSelected && uniqueId === value.uniqueId) {\n\t\t\t\tselectedLiquorLicenceDetails = value;\n\t\t\t}\n\t\t}\n\n\t\t// if there is only one licence detail found, we can just set the liquor\n\t\tif (selectedLiquorLicenceDetails !== undefined && Object.keys(parsedLicenceDetails).length > 0) {\n\t\t\trunInAction(() => {\n\t\t\t\tthis.liquorLicenceFinishedValidating = true;\n\t\t\t\tthis.drinksLicence = selectedLiquorLicenceDetails?.licenceNumber ?? '-';\n\t\t\t\t// eslint-disable-next-line max-len\n\t\t\t\tthis.drinksLicenceLastUpdated = new Date(selectedLiquorLicenceDetails?.dateModified ?? new Date(1001, 0, 1));\n\t\t\t\tthis.drinksLicenceStatus = selectedLiquorLicenceDetails?.status ?? '-';\n\t\t\t\tthis.drinksLicenceInfo = response.data.licenceDetails;\n\t\t\t\tthis.liquorLicenceResponseDetails = {\n\t\t\t\t\tdata: parsedLicenceDetails,\n\t\t\t\t\tresponseCode: response.data.responseCode,\n\t\t\t\t\tresponseMessage: response.data.responseMessage,\n\t\t\t\t};\n\t\t\t\tthis.selectedLiquorLicenceDetails = selectedLiquorLicenceDetails;\n\t\t\t\tthis.setFieldError('drinksLicence', false, '');\n\t\t\t\tthis.setFieldError('drinksLicenceState', false, '');\n\t\t\t});\n\n\t\t\treturn true;\n\t\t}\n\n\t\t// if there are multiple licence details found, we need to show the user a modal\n\t\trunInAction(() => {\n\t\t\tthis.liquorLicenceFinishedValidating = true;\n\t\t\tthis.clearLiquorLicenceFields();\n\t\t\tthis.liquorLicenceResponseDetails = {\n\t\t\t\tdata: parsedLicenceDetails,\n\t\t\t\tresponseCode: response.data.responseCode,\n\t\t\t\tresponseMessage: response.data.responseMessage,\n\t\t\t};\n\t\t\tthis.setFieldError('drinksLicence', true, 'Multiple Licence Details Found Choose one');\n\t\t\tthis.setFieldError('drinksLicenceState', false, '');\n\t\t});\n\n\t\treturn false;\n\t}\n\n\t// function for running abn validation for this customer entity, and set values\n\t// for each of the fields that are returned from ABR\n\t@action\n\tasync runAbnValidation() : Promise {\n\t\tthis.abnFinishedValidating = false;\n\t\tif (!this.abn) {\n\t\t\tthis.setFieldError('abn', true, 'ABN cannot be empty');\n\t\t\tthis.clearAbrFields();\n\t\t\treturn false;\n\t\t}\n\n\t\tif (this.abn.replace(/\\D/g, '').length < 11) {\n\t\t\tthis.setFieldError('abn', true, 'The ABN must contain 11 digits');\n\t\t\tthis.clearAbrFields();\n\t\t\treturn false;\n\t\t}\n\n\t\tconst response = await verifyAbn(this.abn);\n\t\t// since there was an await, we now runInAction from here on\n\t\tif (response.exception !== null) {\n\t\t\trunInAction(() => {\n\t\t\t\tthis.abnFinishedValidating = true;\n\t\t\t\tthis.clearAbrFields();\n\t\t\t\tif (response.exception.exceptionDescription.includes('No records found')) {\n\t\t\t\t\tthis.entityStatus = 'NO RECORD';\n\t\t\t\t} else {\n\t\t\t\t\tthis.entityStatus = response.exception.exceptionDescription;\n\t\t\t\t}\n\t\t\t\tthis.setFieldError('abn', true, response.exception.exceptionDescription);\n\t\t\t});\n\t\t\treturn false;\n\t\t}\n\n\t\trunInAction(() => {\n\t\t\tthis.abnFinishedValidating = true;\n\t\t\tthis.setFieldError('abn', false, '');\n\t\t\t// we now set the fields based off what was returned from ABR\n\t\t\tthis.entityTypeCode = response.businessEntity.entityType.entityTypeCode;\n\t\t\tthis.entityTypeDescription = response.businessEntity.entityType.entityDescription;\n\t\t\tif (this.entityTypeCode === 'IND') {\n\t\t\t\tconst { givenName, otherGivenName, familyName } = response.businessEntity.legalName;\n\t\t\t\tthis.entityName = [givenName, otherGivenName, familyName].join(' ');\n\t\t\t} else {\n\t\t\t\tthis.entityName = response.businessEntity.mainName.organisationName;\n\t\t\t}\n\t\t\tthis.registeredForGSTFrom = response.businessEntity.goodAndServicesTax?.effectiveFrom;\n\t\t\tthis.locality = `${response.businessEntity.mainBusinessPhysicalAddress.postCode}, `\n\t\t\t\t+ `${response.businessEntity.mainBusinessPhysicalAddress.stateCode}`;\n\t\t\tthis.activeSince = new Date(response.businessEntity.entityStatus.effectiveFrom);\n\t\t\tthis.recordUpdated = new Date(response.businessEntity.recordLastUpdatedDate);\n\t\t\tthis.abnActive = response.businessEntity.abn.isCurrentIndicator === 'Y';\n\t\t\tthis.entityStatus = response.businessEntity.entityStatus.entityStatusCode;\n\t\t\tif (!!response.businessEntity.asicNumber && !this.acn) {\n\t\t\t\tthis.acn = response.businessEntity.asicNumber;\n\t\t\t\tthis.runAcnValidation();\n\t\t\t}\n\t\t\tif (this.entityStatus !== 'Active') {\n\t\t\t\tthis.setFieldError('abn', true, 'The ABN must be currently active');\n\t\t\t}\n\t\t\tthis.abrLastUpdated = moment().utc().toDate();\n\t\t});\n\n\t\treturn true;\n\t}\n\n\t@action\n\tasync runAcnValidation() : Promise {\n\t\tthis.acnFinishedValidating = false;\n\t\tif (!this.acn) {\n\t\t\tthis.setFieldError('acn', false, '');\n\t\t\tthis.clearAcnFields();\n\t\t\treturn true;\n\t\t}\n\t\tconst parsedACN = this.acn.replace(/\\D/g, '');\n\n\t\tif (parsedACN.length < 9) {\n\t\t\tthis.clearAcnFields();\n\t\t\tthis.setFieldError('acn', true, 'The ACN must contain 9 digits');\n\t\t\tthis.acnStatus = 'invalid';\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tconst response = await verifyAcn(this.acn);\n\n\t\tif (!!response && !!response.exception) {\n\t\t\trunInAction(() => {\n\t\t\t\tthis.acnFinishedValidating = true;\n\t\t\t\tthis.clearAcnFields();\n\t\t\t\tthis.acnStatus = response.exception.exceptionDescription;\n\t\t\t\tthis.setFieldError('acn', true, response.exception.exceptionDescription);\n\t\t\t});\n\t\t\treturn false;\n\t\t}\n\n\t\tif (response.result.records.length === 0) {\n\t\t\trunInAction(() => {\n\t\t\t\tthis.acnFinishedValidating = true;\n\t\t\t\tthis.clearAcnFields();\n\t\t\t\tthis.acnStatus = 'NO RECORD';\n\t\t\t\tthis.setFieldError('acn', true, 'No records found');\n\t\t\t});\n\t\t\treturn true;\n\t\t}\n\t\tconst { records } = response.result;\n\t\t// valid records are ones with status REGD\n\t\tconst validRecords = records.filter((x: { Status: string }) => x.Status === 'REGD');\n\t\t// ACN is valid if at least one record has REGD status\n\t\tif (validRecords.length === 0) {\n\t\t\trunInAction(() => {\n\t\t\t\tthis.acnLastUpdated = moment().utc().toDate();\n\t\t\t\tthis.acnFinishedValidating = true;\n\t\t\t\t// grab the first non REGD status\n\t\t\t\tconst record = records.find((x: { Status: string }) => x.Status !== 'REGD');\n\t\t\t\tthis.acnEntityTypeCode = record.Type;\n\t\t\t\tthis.acnStatus = record.Status;\n\t\t\t\tthis.acnEntityName = record['Company Name'];\n\t\t\t\tthis.acnClass = record.Class;\n\t\t\t\tthis.acnSubClass = record['Sub Class'];\n\t\t\t\tthis.acnRegistrationDate = record['Date of Registration'];\n\t\t\t\tthis.setFieldError('acn', true, 'The ACN must be currently active');\n\t\t\t});\n\t\t\treturn true;\n\t\t}\n\n\t\trunInAction(() => {\n\t\t\tthis.acnLastUpdated = moment().utc().toDate();\n\t\t\tthis.acnFinishedValidating = true;\n\t\t\tthis.acnStatus = 'REGD';\n\t\t\tconst validRecord = records.find((x: { 'Current Name Indicator': string }) => x['Current Name Indicator']\n\t\t\t\t\t=== 'Y');\n\t\t\tthis.acnEntityTypeCode = validRecord.Type;\n\t\t\tthis.acnEntityName = validRecord['Company Name'];\n\t\t\tthis.acnClass = validRecord.Class;\n\t\t\tthis.acnSubClass = validRecord['Sub Class'];\n\t\t\tthis.acnRegistrationDate = validRecord['Date of Registration'];\n\t\t\tthis.setFieldError('acn', false, '');\n\t\t});\n\t\treturn true;\n\t}\n\t\n\t@action\n\tcheckAcnAndTrusteeAcnValue(key: \"acn\" | \"trusteeACN\") {\n\t\tconst parsedKey = key === \"trusteeACN\" ? \"Trustee ACN\": \"ACN\";\n\t\tconst comparedKey = key === \"acn\" ? \"Trustee ACN\" : \"ACN\";\n\n\t\t// check if value are empty string or null;\n\t\tif (this.trusteeACN.length <= 0 || this.acn.length <= 0)\n\t\t{\n\t\t\tthis.setFieldError(key, false, '');\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tconst parsedACN = this.acn.replace(/\\D/g, '');\n\t\tconst parsedTrusteeACN = this.trusteeACN.replace(/\\D/g, '');\n\t\t\n\t\tif (parsedTrusteeACN === parsedACN) {\n\t\t\tthis.setFieldError(key, true, `The ${parsedKey} cannot be the same as ${comparedKey}`);\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}\n\n\t@action\n\tasync runTrusteeACNValidation() : Promise {\n\t\tthis.trusteeACNFinishedValidating = false;\n\t\tif (!this.trusteeACN) {\n\t\t\tthis.clearTrusteeAcnFields();\n\t\t\tthis.setFieldError('trusteeACN', false, '');\n\t\t\treturn true;\n\t\t}\n\n\t\tconst parsedTrusteeACN = this.trusteeACN.replace(/\\D/g, '');\n\t\tif (parsedTrusteeACN.length < 9) {\n\t\t\tthis.clearTrusteeAcnFields();\n\t\t\tthis.setFieldError('trusteeACN', true, 'The Trustee ACN must contain 9 digits');\n\t\t\tthis.trusteeACNStatus = 'invalid';\n\t\t\treturn false;\n\t\t}\n\n\t\tconst response = await verifyAcn(this.trusteeACN);\n\n\t\tif (!!response && !!response.exception) {\n\t\t\trunInAction(() => {\n\t\t\t\tthis.trusteeACNFinishedValidating = true;\n\t\t\t\tthis.clearTrusteeAcnFields();\n\t\t\t\tthis.trusteeACNStatus = response.exception.exceptionDescription;\n\t\t\t\tthis.setFieldError('trusteeACN', true, response.exception.exceptionDescription);\n\t\t\t});\n\t\t\treturn false;\n\t\t}\n\n\t\tif (response.result.records.length === 0) {\n\t\t\trunInAction(() => {\n\t\t\t\tthis.trusteeACNFinishedValidating = true;\n\t\t\t\tthis.clearTrusteeAcnFields();\n\t\t\t\tthis.trusteeACNStatus = 'NO RECORD';\n\t\t\t\tthis.setFieldError('trusteeACN', true, 'No records found');\n\t\t\t});\n\t\t\treturn true;\n\t\t}\n\t\tconst { records } = response.result;\n\t\t// valid records are ones with status\n\t\tconst validRecords = records.filter((x: { Status: string }) => x.Status === 'REGD');\n\t\t// ACN is valid if at least one record has REGD status\n\t\tif (validRecords.length === 0) {\n\t\t\trunInAction(() => {\n\t\t\t\tthis.trusteeACNLastUpdated = moment().utc().toDate();\n\t\t\t\tthis.trusteeACNFinishedValidating = true;\n\t\t\t\t// grab the first non REGD\n\t\t\t\tconst record = records.find((x: { Status: string }) => x.Status !== 'REGD');\n\t\t\t\tthis.trusteeACNEntityTypeCode = record.Type;\n\t\t\t\tthis.trusteeACNStatus = record.Status;\n\t\t\t\tthis.trusteeACNEntityName = record['Company Name'];\n\t\t\t\tthis.trusteeACNClass = record.Class;\n\t\t\t\tthis.trusteeACNSubClass = record['Sub Class'];\n\t\t\t\tthis.trusteeACNRegistrationDate = record['Date of Registration'];\n\t\t\t\tthis.setFieldError('trusteeACN', true, 'The ACN must be currently active');\n\t\t\t});\n\t\t\treturn true;\n\t\t}\n\n\t\trunInAction(() => {\n\t\t\tthis.trusteeACNLastUpdated = moment().utc().toDate();\n\t\t\tthis.trusteeACNFinishedValidating = true;\n\t\t\tthis.trusteeACNStatus = 'REGD';\n\t\t\tconst validRecord = records.find((x: { 'Current Name Indicator': string }) => x['Current Name Indicator']\n\t\t\t\t=== 'Y');\n\t\t\tthis.trusteeACNEntityTypeCode = validRecord.Type;\n\t\t\tthis.trusteeACNEntityName = validRecord['Company Name'];\n\t\t\tthis.trusteeACNClass = validRecord.Class;\n\t\t\tthis.trusteeACNSubClass = validRecord['Sub Class'];\n\t\t\tthis.trusteeACNRegistrationDate = validRecord['Date of Registration'];\n\t\t\tthis.setFieldError('trusteeACN', false, '');\n\t\t});\n\t\treturn true;\n\t}\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(CustomerEntity.prototype, 'created');\nCRUD(modifiedAttr)(CustomerEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserDirector implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsDirector implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserDirector from 'Models/Security/Acl/UserDirector';\nimport VisitorsDirector from 'Models/Security/Acl/VisitorsDirector';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IDirectorEntityAttributes extends IModelAttributes {\n\tfirstname: string;\n\tothername: string;\n\tsurname: string;\n\tdobyear: number;\n\tdobmonth: number;\n\tdobday: number;\n\tbirthlocation: string;\n\tbirthstate: string;\n\tcompanyname: string;\n\tcompanyacn: string;\n\tprincipaltitle: string;\n\tappointedyear: number;\n\tappointedmonth: number;\n\tappointedday: number;\n\tceasedyear: number;\n\tceasedmonth: number;\n\tceasedday: number;\n\taddresscareof: string;\n\taddressstreet: string;\n\taddresssuburb: string;\n\taddresscity: string;\n\taddressstate: string;\n\taddresspostcode: string;\n\taddresscountry: string;\n\tdin: string;\n\n\tboardss: Array<\n\t\t| Models.DirectorboardsEntity\n\t\t| Models.IDirectorboardsEntityAttributes\n\t>;\n\tmonitoredId: string;\n\tmonitored: Models.MonitoredEntity | Models.IMonitoredEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('DirectorEntity', 'Director')\n// % protected region % [Customise your entity metadata here] end\nexport default class DirectorEntity extends Model\n\timplements IDirectorEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserDirector(),\n\t\tnew VisitorsDirector(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'FirstName'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'FirstName',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic firstname: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'FirstName'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'OtherName'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'OtherName',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic othername: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'OtherName'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Surname'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Surname',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic surname: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Surname'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'DobYear'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'DobYear',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic dobyear: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'DobYear'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'DobMonth'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'DobMonth',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic dobmonth: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'DobMonth'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'DobDay'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'DobDay',\n\t\tdisplayType: 'textfield',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic dobday: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'DobDay'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'BirthLocation'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'BirthLocation',\n\t\tdisplayType: 'textfield',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic birthlocation: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'BirthLocation'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'BirthState'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'BirthState',\n\t\tdisplayType: 'textfield',\n\t\torder: 80,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic birthstate: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'BirthState'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'CompanyName'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'CompanyName',\n\t\tdisplayType: 'textfield',\n\t\torder: 90,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic companyname: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'CompanyName'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'CompanyAcn'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'CompanyAcn',\n\t\tdisplayType: 'textfield',\n\t\torder: 100,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic companyacn: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'CompanyAcn'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'PrincipalTitle'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'PrincipalTitle',\n\t\tdisplayType: 'textfield',\n\t\torder: 110,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic principaltitle: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'PrincipalTitle'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'AppointedYear'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'AppointedYear',\n\t\tdisplayType: 'textfield',\n\t\torder: 120,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic appointedyear: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'AppointedYear'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'AppointedMonth'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'AppointedMonth',\n\t\tdisplayType: 'textfield',\n\t\torder: 130,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic appointedmonth: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'AppointedMonth'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'AppointedDay'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'AppointedDay',\n\t\tdisplayType: 'textfield',\n\t\torder: 140,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic appointedday: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'AppointedDay'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'CeasedYear'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'CeasedYear',\n\t\tdisplayType: 'textfield',\n\t\torder: 150,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic ceasedyear: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'CeasedYear'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'CeasedMonth'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'CeasedMonth',\n\t\tdisplayType: 'textfield',\n\t\torder: 160,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic ceasedmonth: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'CeasedMonth'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'CeasedDay'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'CeasedDay',\n\t\tdisplayType: 'textfield',\n\t\torder: 170,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic ceasedday: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'CeasedDay'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'AddressCareOf'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'AddressCareOf',\n\t\tdisplayType: 'textfield',\n\t\torder: 180,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic addresscareof: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'AddressCareOf'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'AddressStreet'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'AddressStreet',\n\t\tdisplayType: 'textfield',\n\t\torder: 190,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic addressstreet: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'AddressStreet'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'AddressSuburb'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'AddressSuburb',\n\t\tdisplayType: 'textfield',\n\t\torder: 200,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic addresssuburb: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'AddressSuburb'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'AddressCity'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'AddressCity',\n\t\tdisplayType: 'textfield',\n\t\torder: 210,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic addresscity: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'AddressCity'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'AddressState'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'AddressState',\n\t\tdisplayType: 'textfield',\n\t\torder: 220,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic addressstate: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'AddressState'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'AddressPostcode'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'AddressPostcode',\n\t\tdisplayType: 'textfield',\n\t\torder: 230,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic addresspostcode: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'AddressPostcode'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'AddressCountry'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'AddressCountry',\n\t\tdisplayType: 'textfield',\n\t\torder: 240,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic addresscountry: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'AddressCountry'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'DIN'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'DIN',\n\t\tdisplayType: 'textfield',\n\t\torder: 250,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic din: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'DIN'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Boards'] off begin\n\t\tname: 'Boardss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 260,\n\t\treferenceTypeFunc: () => Models.DirectorboardsEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'boardss',\n\t\t\toppositeEntity: () => Models.DirectorboardsEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Boards'] end\n\t})\n\tpublic boardss: Models.DirectorboardsEntity[] = [];\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitored'] off begin\n\t\tname: 'Monitored',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 270,\n\t\treferenceTypeFunc: () => Models.MonitoredEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitored'] end\n\t})\n\tpublic monitoredId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic monitored: Models.MonitoredEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.firstname !== undefined) {\n\t\t\t\tthis.firstname = attributes.firstname;\n\t\t\t}\n\t\t\tif (attributes.othername !== undefined) {\n\t\t\t\tthis.othername = attributes.othername;\n\t\t\t}\n\t\t\tif (attributes.surname !== undefined) {\n\t\t\t\tthis.surname = attributes.surname;\n\t\t\t}\n\t\t\tif (attributes.dobyear !== undefined) {\n\t\t\t\tthis.dobyear = attributes.dobyear;\n\t\t\t}\n\t\t\tif (attributes.dobmonth !== undefined) {\n\t\t\t\tthis.dobmonth = attributes.dobmonth;\n\t\t\t}\n\t\t\tif (attributes.dobday !== undefined) {\n\t\t\t\tthis.dobday = attributes.dobday;\n\t\t\t}\n\t\t\tif (attributes.birthlocation !== undefined) {\n\t\t\t\tthis.birthlocation = attributes.birthlocation;\n\t\t\t}\n\t\t\tif (attributes.birthstate !== undefined) {\n\t\t\t\tthis.birthstate = attributes.birthstate;\n\t\t\t}\n\t\t\tif (attributes.companyname !== undefined) {\n\t\t\t\tthis.companyname = attributes.companyname;\n\t\t\t}\n\t\t\tif (attributes.companyacn !== undefined) {\n\t\t\t\tthis.companyacn = attributes.companyacn;\n\t\t\t}\n\t\t\tif (attributes.principaltitle !== undefined) {\n\t\t\t\tthis.principaltitle = attributes.principaltitle;\n\t\t\t}\n\t\t\tif (attributes.appointedyear !== undefined) {\n\t\t\t\tthis.appointedyear = attributes.appointedyear;\n\t\t\t}\n\t\t\tif (attributes.appointedmonth !== undefined) {\n\t\t\t\tthis.appointedmonth = attributes.appointedmonth;\n\t\t\t}\n\t\t\tif (attributes.appointedday !== undefined) {\n\t\t\t\tthis.appointedday = attributes.appointedday;\n\t\t\t}\n\t\t\tif (attributes.ceasedyear !== undefined) {\n\t\t\t\tthis.ceasedyear = attributes.ceasedyear;\n\t\t\t}\n\t\t\tif (attributes.ceasedmonth !== undefined) {\n\t\t\t\tthis.ceasedmonth = attributes.ceasedmonth;\n\t\t\t}\n\t\t\tif (attributes.ceasedday !== undefined) {\n\t\t\t\tthis.ceasedday = attributes.ceasedday;\n\t\t\t}\n\t\t\tif (attributes.addresscareof !== undefined) {\n\t\t\t\tthis.addresscareof = attributes.addresscareof;\n\t\t\t}\n\t\t\tif (attributes.addressstreet !== undefined) {\n\t\t\t\tthis.addressstreet = attributes.addressstreet;\n\t\t\t}\n\t\t\tif (attributes.addresssuburb !== undefined) {\n\t\t\t\tthis.addresssuburb = attributes.addresssuburb;\n\t\t\t}\n\t\t\tif (attributes.addresscity !== undefined) {\n\t\t\t\tthis.addresscity = attributes.addresscity;\n\t\t\t}\n\t\t\tif (attributes.addressstate !== undefined) {\n\t\t\t\tthis.addressstate = attributes.addressstate;\n\t\t\t}\n\t\t\tif (attributes.addresspostcode !== undefined) {\n\t\t\t\tthis.addresspostcode = attributes.addresspostcode;\n\t\t\t}\n\t\t\tif (attributes.addresscountry !== undefined) {\n\t\t\t\tthis.addresscountry = attributes.addresscountry;\n\t\t\t}\n\t\t\tif (attributes.din !== undefined) {\n\t\t\t\tthis.din = attributes.din;\n\t\t\t}\n\t\t\tif (attributes.boardss !== undefined && Array.isArray(attributes.boardss)) {\n\t\t\t\tfor (const model of attributes.boardss) {\n\t\t\t\t\tif (model instanceof Models.DirectorboardsEntity) {\n\t\t\t\t\t\tthis.boardss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.boardss.push(new Models.DirectorboardsEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.monitoredId !== undefined) {\n\t\t\t\tthis.monitoredId = attributes.monitoredId;\n\t\t\t}\n\t\t\tif (attributes.monitored !== undefined) {\n\t\t\t\tif (attributes.monitored === null) {\n\t\t\t\t\tthis.monitored = attributes.monitored;\n\t\t\t\t} else if (attributes.monitored instanceof Models.MonitoredEntity) {\n\t\t\t\t\tthis.monitored = attributes.monitored;\n\t\t\t\t\tthis.monitoredId = attributes.monitored.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.monitored = new Models.MonitoredEntity(attributes.monitored);\n\t\t\t\t\tthis.monitoredId = this.monitored.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tboardss {\n\t\t\t${Models.DirectorboardsEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tmonitored {\n\t\t\t${Models.MonitoredEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tboardss: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(DirectorEntity.prototype, 'created');\nCRUD(modifiedAttr)(DirectorEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserDirectorboards implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsDirectorboards implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserDirectorboards from 'Models/Security/Acl/UserDirectorboards';\nimport VisitorsDirectorboards from 'Models/Security/Acl/VisitorsDirectorboards';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IDirectorboardsEntityAttributes extends IModelAttributes {\n\tiscurrent: boolean;\n\n\tdirectorId: string;\n\tdirector: Models.DirectorEntity | Models.IDirectorEntityAttributes;\n\tboardId: string;\n\tboard: Models.BoardEntity | Models.IBoardEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('DirectorboardsEntity', 'DirectorBoards')\n// % protected region % [Customise your entity metadata here] end\nexport default class DirectorboardsEntity extends Model\n\timplements IDirectorboardsEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserDirectorboards(),\n\t\tnew VisitorsDirectorboards(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'IsCurrent'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'IsCurrent',\n\t\tdisplayType: 'checkbox',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic iscurrent: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'IsCurrent'] end\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Director'] off begin\n\t\tname: 'Director',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 20,\n\t\treferenceTypeFunc: () => Models.DirectorEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Director'] end\n\t})\n\tpublic directorId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic director: Models.DirectorEntity;\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Board'] off begin\n\t\tname: 'Board',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 30,\n\t\treferenceTypeFunc: () => Models.BoardEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Board'] end\n\t})\n\tpublic boardId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic board: Models.BoardEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.iscurrent !== undefined) {\n\t\t\t\tthis.iscurrent = attributes.iscurrent;\n\t\t\t}\n\t\t\tif (attributes.directorId !== undefined) {\n\t\t\t\tthis.directorId = attributes.directorId;\n\t\t\t}\n\t\t\tif (attributes.director !== undefined) {\n\t\t\t\tif (attributes.director === null) {\n\t\t\t\t\tthis.director = attributes.director;\n\t\t\t\t} else if (attributes.director instanceof Models.DirectorEntity) {\n\t\t\t\t\tthis.director = attributes.director;\n\t\t\t\t\tthis.directorId = attributes.director.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.director = new Models.DirectorEntity(attributes.director);\n\t\t\t\t\tthis.directorId = this.director.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.boardId !== undefined) {\n\t\t\t\tthis.boardId = attributes.boardId;\n\t\t\t}\n\t\t\tif (attributes.board !== undefined) {\n\t\t\t\tif (attributes.board === null) {\n\t\t\t\t\tthis.board = attributes.board;\n\t\t\t\t} else if (attributes.board instanceof Models.BoardEntity) {\n\t\t\t\t\tthis.board = attributes.board;\n\t\t\t\t\tthis.boardId = attributes.board.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.board = new Models.BoardEntity(attributes.board);\n\t\t\t\t\tthis.boardId = this.board.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tdirector {\n\t\t\t${Models.DirectorEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tboard {\n\t\t\t${Models.BoardEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(DirectorboardsEntity.prototype, 'created');\nCRUD(modifiedAttr)(DirectorboardsEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserDiscountEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsDiscountEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserDiscountEntity from 'Models/Security/Acl/UserDiscountEntity';\nimport VisitorsDiscountEntity from 'Models/Security/Acl/VisitorsDiscountEntity';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport OrganisationEntity from './OrganisationEntity';\nimport { store } from 'Models/Store';\nimport gql from 'graphql-tag';\nimport { buildSearchConditions } from 'Util/GraphQLUtils';\nimport { IWhereCondition } from 'Views/Components/ModelCollection/ModelQuery';\n// % protected region % [Add any further imports here] end\n\nexport interface IDiscountEntityAttributes extends IModelAttributes {\n\tsource: Enums.discountSource;\n\texpirationDate: Date;\n\tdiscountPercent: number;\n\n\torganisationId?: string;\n\torganisation?: Models.OrganisationEntity | Models.IOrganisationEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('DiscountEntity', 'Discount')\n// % protected region % [Customise your entity metadata here] end\nexport default class DiscountEntity extends Model\n\timplements IDiscountEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserDiscountEntity(),\n\t\tnew VisitorsDiscountEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Source'] off begin\n\t/**\n\t * The source of the discount\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Source',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.discountSourceOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.discountSourceOptions),\n\t\tdisplayFunction: (attr: Enums.discountSource) => Enums.discountSourceOptions[attr],\n\t})\n\tpublic source: Enums.discountSource;\n\t// % protected region % [Modify props to the crud options here for attribute 'Source'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Expiration Date'] off begin\n\t/**\n\t * Discount apply from the moment they are created until their expiration date\n\t */\n\t@observable\n\t@attribute({ serialise: (e, a) => AttrUtils.serialiseDate(a) })\n\t@CRUD({\n\t\tname: 'Expiration Date',\n\t\tdisplayType: 'datepicker',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: attr => AttrUtils.standardiseDate(attr, { serialiseAs: 'date' }),\n\t})\n\tpublic expirationDate: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Expiration Date'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Discount Percent'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Discount Percent',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic discountPercent: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Discount Percent'] end\n\n\t/**\n\t * An organisation can have discounts\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] on begin\n\t\tname: 'Organisation',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: attr => {\n\t\t\treturn {\n\t\t\t\tquery: `%${attr}%`,\n\t\t\t\textraOptions: {\n\t\t\t\t\tcase: 'INVARIANT_CULTURE_IGNORE_CASE',\n\t\t\t\t\tpath: 'organisation.primaryBusinessEntity.name',\n\t\t\t\t},\n\t\t\t};\n\t\t},\n\t\treferenceTypeFunc: () => Models.OrganisationEntity,\n\t\treferenceResolveFunction: async (search, options) => {\n\t\t\tconst searchConditions: IWhereCondition[][] = [];\n\t\t\tif (!!search && typeof search === 'string') {\n\t\t\t\tsearchConditions.push(\n\t\t\t\t\tbuildSearchConditions(['primaryBusinessEntity.name'], search, 'INVARIANT_CULTURE_IGNORE_CASE'),\n\t\t\t\t);\n\t\t\t}\n\t\t\tconst orderBy = [{ path: 'primaryBusinessEntity.name', descending: false }];\n\t\t\tconst { data } = await store.apolloClient.query({\n\t\t\t\tquery: gql`\n\t\t\t\tquery organisationEntitys(\n\t\t\t\t\t$orderBy: [OrderByGraph],\n\t\t\t\t\t$conditions: [[WhereExpressionGraph]]\n\t\t\t\t) {\n\t\t\t\t\torganisationEntitys(conditions: $conditions, orderBy: $orderBy) {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tprimaryBusinessEntity {\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t`,\n\t\t\t\tvariables: {\n\t\t\t\t\torderBy: orderBy,\n\t\t\t\t\tconditions: searchConditions,\n\t\t\t\t},\n\t\t\t\tfetchPolicy: 'network-only',\n\t\t\t});\n\n\t\t\treturn data.organisationEntitys\n\t\t\t\t.map((org: any) => new OrganisationEntity(org))\n\t\t\t\t.map((org: OrganisationEntity) => ({ display: org.primaryBusinessEntity?.name, value: org }));\n\t\t},\n\t\toptionEqualFunc: (modelProperty, option) => {\n\t\t\treturn modelProperty.id === option;\n\t\t},\n\t\t// @ts-ignore\n\t\tdisplayFunction: (attr, that) => that.organisation?.primaryBusinessEntity?.name,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] end\n\t})\n\tpublic organisationId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic organisation: Models.OrganisationEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.source !== undefined) {\n\t\t\t\tthis.source = attributes.source;\n\t\t\t}\n\t\t\tif (attributes.expirationDate !== undefined) {\n\t\t\t\tif (attributes.expirationDate === null) {\n\t\t\t\t\tthis.expirationDate = attributes.expirationDate;\n\t\t\t\t} else {\n\t\t\t\t\tthis.expirationDate = moment(attributes.expirationDate).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.discountPercent !== undefined) {\n\t\t\t\tthis.discountPercent = attributes.discountPercent;\n\t\t\t}\n\t\t\tif (attributes.organisationId !== undefined) {\n\t\t\t\tthis.organisationId = attributes.organisationId;\n\t\t\t}\n\t\t\tif (attributes.organisation !== undefined) {\n\t\t\t\tif (attributes.organisation === null) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t} else if (attributes.organisation instanceof Models.OrganisationEntity) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t\tthis.organisationId = attributes.organisation.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.organisation = new Models.OrganisationEntity(attributes.organisation);\n\t\t\t\t\tthis.organisationId = this.organisation.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\torganisation {\n\t\t\t${Models.OrganisationEntity.getAttributes().join('\\n')}\n\t\t\t${Models.OrganisationEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] on begin\n\t\treturn `${this.discountPercent}% (${this.source})`;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] on begin\n\tpublic listExpands = `\n\t\torganisation {\n\t\t\tid\n\t\t\tprimaryBusinessEntity {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t}\n\t\t}\n\t`;\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(DiscountEntity.prototype, 'created');\nCRUD(modifiedAttr)(DiscountEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserDocumentEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsDocumentEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserDocumentEntity from 'Models/Security/Acl/UserDocumentEntity';\nimport VisitorsDocumentEntity from 'Models/Security/Acl/VisitorsDocumentEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport { FileListPreview } from 'Views/Components/CRUD/Attributes/AttributeFile';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport { store } from 'Models/Store';\nimport { gql } from '@apollo/client';\n// % protected region % [Add any further imports here] end\n\nexport interface IDocumentEntityAttributes extends IModelAttributes {\n\tfileId: string;\n\tfile: Blob;\n\tname: string;\n\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('DocumentEntity', 'Document')\n// % protected region % [Customise your entity metadata here] end\nexport default class DocumentEntity extends Model\n\timplements IDocumentEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserDocumentEntity(),\n\t\tnew VisitorsDocumentEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'File'] off begin\n\t@observable\n\t@attribute({ file: 'file' })\n\t@CRUD({\n\t\tname: 'File',\n\t\tdisplayType: 'file',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseUuid,\n\t\tfileAttribute: 'file',\n\t\tdisplayFunction: attr => attr\n\t\t\t? \n\t\t\t: 'No File Attached',\n\t})\n\tpublic fileId: string;\n\n\t@observable\n\tpublic file: Blob;\n\t// % protected region % [Modify props to the crud options here for attribute 'File'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] off begin\n\t/**\n\t * Name\n\t */\n\t@Validators.Required()\n\t@Validators.Unique()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic name: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] end\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.file !== undefined) {\n\t\t\t\tthis.file = attributes.file;\n\t\t\t}\n\t\t\tif (attributes.fileId !== undefined) {\n\t\t\t\tthis.fileId = attributes.fileId;\n\t\t\t}\n\t\t\tif (attributes.name !== undefined) {\n\t\t\t\tthis.name = attributes.name;\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tcontentType: 'multipart/form-data',\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] on begin\n\tpublic static getDocument = async (documentName: string) => {\n\t\ttry {\n\t\t\tconst { data } = await store.apolloClient.query({\n\t\t\t\tquery: gql`\n\t\t\t\t\tquery fetchDocument($documentName: String) {\n\t\t\t\t\t\tdocumentEntitys(\n\t\t\t\t\t\t\twhere: [{path: \"name\", comparison: equal, value: [$documentName]}],\n\t\t\t\t\t\t\ttake: 1\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\tfileId\n\t\t\t\t\t\t\tmodified\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t`,\n\t\t\t\tvariables: {\n\t\t\t\t\tdocumentName,\n\t\t\t\t},\n\t\t\t\tfetchPolicy: 'no-cache',\n\t\t\t});\n\t\t\tif (!data.documentEntitys[0]) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\treturn new DocumentEntity(data.documentEntitys[0]);\n\t\t} catch (e) {\n\t\t\treturn null;\n\t\t}\n\t}\n\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(DocumentEntity.prototype, 'created');\nCRUD(modifiedAttr)(DocumentEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsEsignceremonysignee implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserEsignceremonysignee implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsEsignceremonysignee from 'Models/Security/Acl/VisitorsEsignceremonysignee';\nimport UserEsignceremonysignee from 'Models/Security/Acl/UserEsignceremonysignee';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IEsignceremonysigneeEntityAttributes extends IModelAttributes {\n\tsigneestatus: Enums.esignceremonystatus;\n\tsignaturetimestamp: Date;\n\tsigneeip: string;\n\tsigneelocation: string;\n\ttemplatecontent: string;\n\n\tsmsTokenId: string;\n\tsmsToken: Models.SmsTokenEntity | Models.ISmsTokenEntityAttributes;\n\tesignuserId: string;\n\tesignuser: Models.EsignuserEntity | Models.IEsignuserEntityAttributes;\n\tesignworkflowId: string;\n\tesignworkflow: Models.EsignworkflowEntity | Models.IEsignworkflowEntityAttributes;\n\tesignceremonywitness?: Models.EsignceremonywitnessEntity |\n\t\tModels.IEsignceremonywitnessEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('EsignceremonysigneeEntity', 'ESignCeremonySignee')\n// % protected region % [Customise your entity metadata here] end\nexport default class EsignceremonysigneeEntity extends Model\n\timplements IEsignceremonysigneeEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsEsignceremonysignee(),\n\t\tnew UserEsignceremonysignee(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'SigneeStatus'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'SigneeStatus',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.esignceremonystatusOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.esignceremonystatusOptions),\n\t\tdisplayFunction: (attr: Enums.esignceremonystatus) => Enums.esignceremonystatusOptions[attr],\n\t})\n\tpublic signeestatus: Enums.esignceremonystatus;\n\t// % protected region % [Modify props to the crud options here for attribute 'SigneeStatus'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'SignatureTimeStamp'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'SignatureTimeStamp',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic signaturetimestamp: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'SignatureTimeStamp'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'SigneeIP'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'SigneeIP',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic signeeip: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'SigneeIP'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'SigneeLocation'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'SigneeLocation',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic signeelocation: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'SigneeLocation'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'TemplateContent'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'TemplateContent',\n\t\tdisplayType: 'textarea',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic templatecontent: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'TemplateContent'] end\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'SMS Token'] off begin\n\t\tname: 'SMS Token',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 60,\n\t\treferenceTypeFunc: () => Models.SmsTokenEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'smsTokens',\n\t\t\toppositeEntity: () => Models.SmsTokenEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'SMS Token'] end\n\t})\n\tpublic smsTokenId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic smsToken: Models.SmsTokenEntity;\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignUser'] off begin\n\t\tname: 'ESignUser',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 70,\n\t\treferenceTypeFunc: () => Models.EsignuserEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignUser'] end\n\t})\n\tpublic esignuserId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic esignuser: Models.EsignuserEntity;\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignWorkflow'] off begin\n\t\tname: 'ESignWorkflow',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 80,\n\t\treferenceTypeFunc: () => Models.EsignworkflowEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignWorkflow'] end\n\t})\n\tpublic esignworkflowId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic esignworkflow: Models.EsignworkflowEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignCeremonyWitness'] off begin\n\t\tname: 'ESignCeremonyWitness',\n\t\tdisplayType: 'displayfield',\n\t\torder: 90,\n\t\tinputProps: {\n\t\t\tdisplayFunction: (model?: Models.EsignceremonywitnessEntity) => model ? model.getDisplayName() : null,\n\t\t},\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignCeremonyWitness'] end\n\t})\n\tpublic esignceremonywitness?: Models.EsignceremonywitnessEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.signeestatus !== undefined) {\n\t\t\t\tthis.signeestatus = attributes.signeestatus;\n\t\t\t}\n\t\t\tif (attributes.signaturetimestamp !== undefined) {\n\t\t\t\tif (attributes.signaturetimestamp === null) {\n\t\t\t\t\tthis.signaturetimestamp = attributes.signaturetimestamp;\n\t\t\t\t} else {\n\t\t\t\t\tthis.signaturetimestamp = moment(attributes.signaturetimestamp).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.signeeip !== undefined) {\n\t\t\t\tthis.signeeip = attributes.signeeip;\n\t\t\t}\n\t\t\tif (attributes.signeelocation !== undefined) {\n\t\t\t\tthis.signeelocation = attributes.signeelocation;\n\t\t\t}\n\t\t\tif (attributes.templatecontent !== undefined) {\n\t\t\t\tthis.templatecontent = attributes.templatecontent;\n\t\t\t}\n\t\t\tif (attributes.smsTokenId !== undefined) {\n\t\t\t\tthis.smsTokenId = attributes.smsTokenId;\n\t\t\t}\n\t\t\tif (attributes.smsToken !== undefined) {\n\t\t\t\tif (attributes.smsToken === null) {\n\t\t\t\t\tthis.smsToken = attributes.smsToken;\n\t\t\t\t} else if (attributes.smsToken instanceof Models.SmsTokenEntity) {\n\t\t\t\t\tthis.smsToken = attributes.smsToken;\n\t\t\t\t\tthis.smsTokenId = attributes.smsToken.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.smsToken = new Models.SmsTokenEntity(attributes.smsToken);\n\t\t\t\t\tthis.smsTokenId = this.smsToken.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.esignuserId !== undefined) {\n\t\t\t\tthis.esignuserId = attributes.esignuserId;\n\t\t\t}\n\t\t\tif (attributes.esignuser !== undefined) {\n\t\t\t\tif (attributes.esignuser === null) {\n\t\t\t\t\tthis.esignuser = attributes.esignuser;\n\t\t\t\t} else if (attributes.esignuser instanceof Models.EsignuserEntity) {\n\t\t\t\t\tthis.esignuser = attributes.esignuser;\n\t\t\t\t\tthis.esignuserId = attributes.esignuser.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.esignuser = new Models.EsignuserEntity(attributes.esignuser);\n\t\t\t\t\tthis.esignuserId = this.esignuser.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.esignworkflowId !== undefined) {\n\t\t\t\tthis.esignworkflowId = attributes.esignworkflowId;\n\t\t\t}\n\t\t\tif (attributes.esignworkflow !== undefined) {\n\t\t\t\tif (attributes.esignworkflow === null) {\n\t\t\t\t\tthis.esignworkflow = attributes.esignworkflow;\n\t\t\t\t} else if (attributes.esignworkflow instanceof Models.EsignworkflowEntity) {\n\t\t\t\t\tthis.esignworkflow = attributes.esignworkflow;\n\t\t\t\t\tthis.esignworkflowId = attributes.esignworkflow.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.esignworkflow = new Models.EsignworkflowEntity(attributes.esignworkflow);\n\t\t\t\t\tthis.esignworkflowId = this.esignworkflow.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.esignceremonywitness !== undefined) {\n\t\t\t\tif (attributes.esignceremonywitness === null) {\n\t\t\t\t\tthis.esignceremonywitness = attributes.esignceremonywitness;\n\t\t\t\t} else if (attributes.esignceremonywitness instanceof Models.EsignceremonywitnessEntity) {\n\t\t\t\t\tthis.esignceremonywitness = attributes.esignceremonywitness;\n\t\t\t\t} else {\n\t\t\t\t\tthis.esignceremonywitness = new Models.EsignceremonywitnessEntity(attributes.esignceremonywitness);\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tsmsToken {\n\t\t\t${Models.SmsTokenEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tesignuser {\n\t\t\t${Models.EsignuserEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tesignworkflow {\n\t\t\t${Models.EsignworkflowEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tesignceremonywitness {\n\t\t\t${Models.EsignceremonywitnessEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'smsToken',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(EsignceremonysigneeEntity.prototype, 'created');\nCRUD(modifiedAttr)(EsignceremonysigneeEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsEsignceremonywitness implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserEsignceremonywitness implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsEsignceremonywitness from 'Models/Security/Acl/VisitorsEsignceremonywitness';\nimport UserEsignceremonywitness from 'Models/Security/Acl/UserEsignceremonywitness';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IEsignceremonywitnessEntityAttributes extends IModelAttributes {\n\twitnessstatus: Enums.esignwitnessstatus;\n\tsignaturetimestamp: Date;\n\twitnessip: string;\n\twitnesslocation: string;\n\n\tesignceremonysigneeId: string;\n\tesignceremonysignee: Models.EsignceremonysigneeEntity | Models.IEsignceremonysigneeEntityAttributes;\n\tsmsTokenId: string;\n\tsmsToken: Models.SmsTokenEntity | Models.ISmsTokenEntityAttributes;\n\tesignuserId: string;\n\tesignuser: Models.EsignuserEntity | Models.IEsignuserEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('EsignceremonywitnessEntity', 'ESignCeremonyWitness')\n// % protected region % [Customise your entity metadata here] end\nexport default class EsignceremonywitnessEntity extends Model\n\timplements IEsignceremonywitnessEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsEsignceremonywitness(),\n\t\tnew UserEsignceremonywitness(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'WitnessStatus'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'WitnessStatus',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.esignwitnessstatusOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.esignwitnessstatusOptions),\n\t\tdisplayFunction: (attr: Enums.esignwitnessstatus) => Enums.esignwitnessstatusOptions[attr],\n\t})\n\tpublic witnessstatus: Enums.esignwitnessstatus;\n\t// % protected region % [Modify props to the crud options here for attribute 'WitnessStatus'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'SignatureTimeStamp'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'SignatureTimeStamp',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic signaturetimestamp: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'SignatureTimeStamp'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'WitnessIP'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'WitnessIP',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic witnessip: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'WitnessIP'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'WitnessLocation'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'WitnessLocation',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic witnesslocation: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'WitnessLocation'] end\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignCeremonySignee'] off begin\n\t\tname: 'ESignCeremonySignee',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 50,\n\t\treferenceTypeFunc: () => Models.EsignceremonysigneeEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'esignceremonysignees',\n\t\t\toppositeEntity: () => Models.EsignceremonysigneeEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignCeremonySignee'] end\n\t})\n\tpublic esignceremonysigneeId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic esignceremonysignee: Models.EsignceremonysigneeEntity;\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'SMS Token'] off begin\n\t\tname: 'SMS Token',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 60,\n\t\treferenceTypeFunc: () => Models.SmsTokenEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'smsTokens',\n\t\t\toppositeEntity: () => Models.SmsTokenEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'SMS Token'] end\n\t})\n\tpublic smsTokenId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic smsToken: Models.SmsTokenEntity;\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignUser'] off begin\n\t\tname: 'ESignUser',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 70,\n\t\treferenceTypeFunc: () => Models.EsignuserEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignUser'] end\n\t})\n\tpublic esignuserId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic esignuser: Models.EsignuserEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.witnessstatus !== undefined) {\n\t\t\t\tthis.witnessstatus = attributes.witnessstatus;\n\t\t\t}\n\t\t\tif (attributes.signaturetimestamp !== undefined) {\n\t\t\t\tif (attributes.signaturetimestamp === null) {\n\t\t\t\t\tthis.signaturetimestamp = attributes.signaturetimestamp;\n\t\t\t\t} else {\n\t\t\t\t\tthis.signaturetimestamp = moment(attributes.signaturetimestamp).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.witnessip !== undefined) {\n\t\t\t\tthis.witnessip = attributes.witnessip;\n\t\t\t}\n\t\t\tif (attributes.witnesslocation !== undefined) {\n\t\t\t\tthis.witnesslocation = attributes.witnesslocation;\n\t\t\t}\n\t\t\tif (attributes.esignceremonysigneeId !== undefined) {\n\t\t\t\tthis.esignceremonysigneeId = attributes.esignceremonysigneeId;\n\t\t\t}\n\t\t\tif (attributes.esignceremonysignee !== undefined) {\n\t\t\t\tif (attributes.esignceremonysignee === null) {\n\t\t\t\t\tthis.esignceremonysignee = attributes.esignceremonysignee;\n\t\t\t\t} else if (attributes.esignceremonysignee instanceof Models.EsignceremonysigneeEntity) {\n\t\t\t\t\tthis.esignceremonysignee = attributes.esignceremonysignee;\n\t\t\t\t\tthis.esignceremonysigneeId = attributes.esignceremonysignee.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.esignceremonysignee = new Models.EsignceremonysigneeEntity(attributes.esignceremonysignee);\n\t\t\t\t\tthis.esignceremonysigneeId = this.esignceremonysignee.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.smsTokenId !== undefined) {\n\t\t\t\tthis.smsTokenId = attributes.smsTokenId;\n\t\t\t}\n\t\t\tif (attributes.smsToken !== undefined) {\n\t\t\t\tif (attributes.smsToken === null) {\n\t\t\t\t\tthis.smsToken = attributes.smsToken;\n\t\t\t\t} else if (attributes.smsToken instanceof Models.SmsTokenEntity) {\n\t\t\t\t\tthis.smsToken = attributes.smsToken;\n\t\t\t\t\tthis.smsTokenId = attributes.smsToken.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.smsToken = new Models.SmsTokenEntity(attributes.smsToken);\n\t\t\t\t\tthis.smsTokenId = this.smsToken.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.esignuserId !== undefined) {\n\t\t\t\tthis.esignuserId = attributes.esignuserId;\n\t\t\t}\n\t\t\tif (attributes.esignuser !== undefined) {\n\t\t\t\tif (attributes.esignuser === null) {\n\t\t\t\t\tthis.esignuser = attributes.esignuser;\n\t\t\t\t} else if (attributes.esignuser instanceof Models.EsignuserEntity) {\n\t\t\t\t\tthis.esignuser = attributes.esignuser;\n\t\t\t\t\tthis.esignuserId = attributes.esignuser.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.esignuser = new Models.EsignuserEntity(attributes.esignuser);\n\t\t\t\t\tthis.esignuserId = this.esignuser.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tesignceremonysignee {\n\t\t\t${Models.EsignceremonysigneeEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tsmsToken {\n\t\t\t${Models.SmsTokenEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tesignuser {\n\t\t\t${Models.EsignuserEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'esignceremonysignee',\n\t\t\t\t\t\t\t'smsToken',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(EsignceremonywitnessEntity.prototype, 'created');\nCRUD(modifiedAttr)(EsignceremonywitnessEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsEsigntemplate implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserEsigntemplate implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsEsigntemplate from 'Models/Security/Acl/VisitorsEsigntemplate';\nimport UserEsigntemplate from 'Models/Security/Acl/UserEsigntemplate';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IEsigntemplateEntityAttributes extends IModelAttributes {\n\tname: string;\n\tlifespanindays: number;\n\treminderfrequencyindays: number;\n\tminimumnumberofsignees: number;\n\n\tesigntemplatecontents: Array<\n\t\t| Models.EsigntemplatecontentEntity\n\t\t| Models.IEsigntemplatecontentEntityAttributes\n\t>;\n\tbusinessEntityId?: string;\n\tbusinessEntity?: Models.BusinessEntity | Models.IBusinessEntityAttributes;\n\tlogoId?: string;\n\tlogo?: Models.LogoEntity | Models.ILogoEntityAttributes;\n\tesignworkflowss: Array<\n\t\t| Models.EsignworkflowEntity\n\t\t| Models.IEsignworkflowEntityAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('EsigntemplateEntity', 'ESignTemplate')\n// % protected region % [Customise your entity metadata here] end\nexport default class EsigntemplateEntity extends Model\n\timplements IEsigntemplateEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsEsigntemplate(),\n\t\tnew UserEsigntemplate(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic name: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'LifeSpanInDays'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'LifeSpanInDays',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic lifespanindays: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'LifeSpanInDays'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ReminderFrequencyInDays'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ReminderFrequencyInDays',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic reminderfrequencyindays: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'ReminderFrequencyInDays'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'MinimumNumberOfSignees'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'MinimumNumberOfSignees',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic minimumnumberofsignees: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'MinimumNumberOfSignees'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignTemplateContent'] off begin\n\t\tname: 'ESignTemplateContents',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 50,\n\t\treferenceTypeFunc: () => Models.EsigntemplatecontentEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'esigntemplatecontents',\n\t\t\toppositeEntity: () => Models.EsigntemplatecontentEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignTemplateContent'] end\n\t})\n\tpublic esigntemplatecontents: Models.EsigntemplatecontentEntity[] = [];\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] off begin\n\t\tname: 'Business Entity',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 60,\n\t\treferenceTypeFunc: () => Models.BusinessEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] end\n\t})\n\tpublic businessEntityId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic businessEntity: Models.BusinessEntity;\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Logo'] off begin\n\t\tname: 'Logo',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 70,\n\t\treferenceTypeFunc: () => Models.LogoEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Logo'] end\n\t})\n\tpublic logoId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic logo: Models.LogoEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignWorkflows'] off begin\n\t\tname: 'ESignWorkflowss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 80,\n\t\treferenceTypeFunc: () => Models.EsignworkflowEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'esignworkflowss',\n\t\t\toppositeEntity: () => Models.EsignworkflowEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignWorkflows'] end\n\t})\n\tpublic esignworkflowss: Models.EsignworkflowEntity[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] on begin\n\t@action public validateField = async (field: string) => {\n\t\tswitch (field) {\n\t\t\tcase 'name': {\n\t\t\t\tthis.setFieldError('name', !this.name, 'Template Name cannot be empty');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'lifespanindays': {\n\t\t\t\tthis.setFieldError('lifespanindays', !this.lifespanindays, 'Life span cannot be empty');\n\t\t\t\tif (this.lifespanindays <= 0) {\n\t\t\t\t\tthis.setFieldError('lifespanindays', true, 'Life span cannot be less than 1');\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (this.lifespanindays > 10) {\n\t\t\t\t\tthis.setFieldError('lifespanindays', true, 'Life span cannot exceed 10 days');\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tif (this.lifespanindays % 1 !== 0) {\n\t\t\t\t\tthis.setFieldError('lifespanindays', true, 'Life span must be a whole number');\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tthis.validateField('reminderfrequencyindays');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'reminderfrequencyindays': {\n\t\t\t\tif (this.reminderfrequencyindays < 0) {\n\t\t\t\t\tthis.setFieldError('reminderfrequencyindays', true, 'Reminder Frequency cannot be empty');\n\t\t\t\t}\n\n\t\t\t\tif (this.lifespanindays <= this.reminderfrequencyindays) {\n\t\t\t\t\tthis.setFieldError(\n\t\t\t\t\t\t'reminderfrequencyindays',\n\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t'Reminder Frequency must be less than Life span',\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tif (this.reminderfrequencyindays < this.lifespanindays) {\n\t\t\t\t\tthis.setFieldError('reminderfrequencyindays', false, '');\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'minimumnumberofsignees': {\n\t\t\t\tthis.setFieldError(\n\t\t\t\t\t'minimumnumberofsignees',\n\t\t\t\t\t!this.minimumnumberofsignees,\n\t\t\t\t\t'Minimum number of signee cannot be empty',\n\t\t\t\t);\n\n\t\t\t\tif (this.minimumnumberofsignees <= 0) {\n\t\t\t\t\tthis.setFieldError(\n\t\t\t\t\t\t'minimumnumberofsignees',\n\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t'Minimum number of signee cannot be less than 1',\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tif (this.minimumnumberofsignees % 1 !== 0) {\n\t\t\t\t\tthis.setFieldError(\n\t\t\t\t\t\t'minimumnumberofsignees',\n\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t'Minimum number of signee must be a whole number',\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t};\n\n\tpublic validateTemplateDetailsFields = async () => {\n\t\tconst fieldList = [\n\t\t\t'name', 'lifespanindays', 'reminderfrequencyindays', 'minimumnumberofsignees',\n\t\t];\n\t\tconst validationPromises = fieldList.map(field => this.validateField(field));\n\t\tawait Promise.all(validationPromises);\n\t};\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.name !== undefined) {\n\t\t\t\tthis.name = attributes.name;\n\t\t\t}\n\t\t\tif (attributes.lifespanindays !== undefined) {\n\t\t\t\tthis.lifespanindays = attributes.lifespanindays;\n\t\t\t}\n\t\t\tif (attributes.reminderfrequencyindays !== undefined) {\n\t\t\t\tthis.reminderfrequencyindays = attributes.reminderfrequencyindays;\n\t\t\t}\n\t\t\tif (attributes.minimumnumberofsignees !== undefined) {\n\t\t\t\tthis.minimumnumberofsignees = attributes.minimumnumberofsignees;\n\t\t\t}\n\t\t\tif (attributes.esigntemplatecontents !== undefined && Array.isArray(attributes.esigntemplatecontents)) {\n\t\t\t\tfor (const model of attributes.esigntemplatecontents) {\n\t\t\t\t\tif (model instanceof Models.EsigntemplatecontentEntity) {\n\t\t\t\t\t\tthis.esigntemplatecontents.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.esigntemplatecontents.push(new Models.EsigntemplatecontentEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.businessEntityId !== undefined) {\n\t\t\t\tthis.businessEntityId = attributes.businessEntityId;\n\t\t\t}\n\t\t\tif (attributes.businessEntity !== undefined) {\n\t\t\t\tif (attributes.businessEntity === null) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t} else if (attributes.businessEntity instanceof Models.BusinessEntity) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t\tthis.businessEntityId = attributes.businessEntity.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.businessEntity = new Models.BusinessEntity(attributes.businessEntity);\n\t\t\t\t\tthis.businessEntityId = this.businessEntity.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.logoId !== undefined) {\n\t\t\t\tthis.logoId = attributes.logoId;\n\t\t\t}\n\t\t\tif (attributes.logo !== undefined) {\n\t\t\t\tif (attributes.logo === null) {\n\t\t\t\t\tthis.logo = attributes.logo;\n\t\t\t\t} else if (attributes.logo instanceof Models.LogoEntity) {\n\t\t\t\t\tthis.logo = attributes.logo;\n\t\t\t\t\tthis.logoId = attributes.logo.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.logo = new Models.LogoEntity(attributes.logo);\n\t\t\t\t\tthis.logoId = this.logo.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.esignworkflowss !== undefined && Array.isArray(attributes.esignworkflowss)) {\n\t\t\t\tfor (const model of attributes.esignworkflowss) {\n\t\t\t\t\tif (model instanceof Models.EsignworkflowEntity) {\n\t\t\t\t\t\tthis.esignworkflowss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.esignworkflowss.push(new Models.EsignworkflowEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tesigntemplatecontents {\n\t\t\t${Models.EsigntemplatecontentEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tbusinessEntity {\n\t\t\t${Models.BusinessEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tlogo {\n\t\t\t${Models.LogoEntity.getAttributes().join('\\n')}\n\t\t\t${Models.LogoEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t}\n\t\tesignworkflowss {\n\t\t\t${Models.EsignworkflowEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tesigntemplatecontents: {},\n\t\t\tesignworkflowss: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(EsigntemplateEntity.prototype, 'created');\nCRUD(modifiedAttr)(EsigntemplateEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsEsigntemplatecontent implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserEsigntemplatecontent implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsEsigntemplatecontent from 'Models/Security/Acl/VisitorsEsigntemplatecontent';\nimport UserEsigntemplatecontent from 'Models/Security/Acl/UserEsigntemplatecontent';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IEsigntemplatecontentEntityAttributes extends IModelAttributes {\n\tversion: number;\n\tcontent: string;\n\trequireswitness: boolean;\n\tusesmsauth: boolean;\n\n\tesigntemplateId: string;\n\tesigntemplate: Models.EsigntemplateEntity | Models.IEsigntemplateEntityAttributes;\n\tesignworkflows: Array<\n\t\t| Models.EsignworkflowEntity\n\t\t| Models.IEsignworkflowEntityAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('EsigntemplatecontentEntity', 'ESignTemplateContent')\n// % protected region % [Customise your entity metadata here] end\nexport default class EsigntemplatecontentEntity extends Model\n\timplements IEsigntemplatecontentEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsEsigntemplatecontent(),\n\t\tnew UserEsigntemplatecontent(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Version'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Version',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic version: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Version'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Content'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Content',\n\t\tdisplayType: 'textarea',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic content: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Content'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'RequiresWitness'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'RequiresWitness',\n\t\tdisplayType: 'checkbox',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic requireswitness: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'RequiresWitness'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'UseSMSAuth'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'UseSMSAuth',\n\t\tdisplayType: 'checkbox',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic usesmsauth: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'UseSMSAuth'] end\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignTemplate'] off begin\n\t\tname: 'ESignTemplate',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 50,\n\t\treferenceTypeFunc: () => Models.EsigntemplateEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignTemplate'] end\n\t})\n\tpublic esigntemplateId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic esigntemplate: Models.EsigntemplateEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignWorkflow'] off begin\n\t\tname: 'ESignWorkflows',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 60,\n\t\treferenceTypeFunc: () => Models.EsignworkflowEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'esignworkflows',\n\t\t\toppositeEntity: () => Models.EsignworkflowEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignWorkflow'] end\n\t})\n\tpublic esignworkflows: Models.EsignworkflowEntity[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.version !== undefined) {\n\t\t\t\tthis.version = attributes.version;\n\t\t\t}\n\t\t\tif (attributes.content !== undefined) {\n\t\t\t\tthis.content = attributes.content;\n\t\t\t}\n\t\t\tif (attributes.requireswitness !== undefined) {\n\t\t\t\tthis.requireswitness = attributes.requireswitness;\n\t\t\t}\n\t\t\tif (attributes.usesmsauth !== undefined) {\n\t\t\t\tthis.usesmsauth = attributes.usesmsauth;\n\t\t\t}\n\t\t\tif (attributes.esigntemplateId !== undefined) {\n\t\t\t\tthis.esigntemplateId = attributes.esigntemplateId;\n\t\t\t}\n\t\t\tif (attributes.esigntemplate !== undefined) {\n\t\t\t\tif (attributes.esigntemplate === null) {\n\t\t\t\t\tthis.esigntemplate = attributes.esigntemplate;\n\t\t\t\t} else if (attributes.esigntemplate instanceof Models.EsigntemplateEntity) {\n\t\t\t\t\tthis.esigntemplate = attributes.esigntemplate;\n\t\t\t\t\tthis.esigntemplateId = attributes.esigntemplate.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.esigntemplate = new Models.EsigntemplateEntity(attributes.esigntemplate);\n\t\t\t\t\tthis.esigntemplateId = this.esigntemplate.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.esignworkflows !== undefined && Array.isArray(attributes.esignworkflows)) {\n\t\t\t\tfor (const model of attributes.esignworkflows) {\n\t\t\t\t\tif (model instanceof Models.EsignworkflowEntity) {\n\t\t\t\t\t\tthis.esignworkflows.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.esignworkflows.push(new Models.EsignworkflowEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tesigntemplate {\n\t\t\t${Models.EsigntemplateEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tesignworkflows {\n\t\t\t${Models.EsignworkflowEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tesignworkflows: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(EsigntemplatecontentEntity.prototype, 'created');\nCRUD(modifiedAttr)(EsigntemplatecontentEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsEsignuser implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserEsignuser implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsEsignuser from 'Models/Security/Acl/VisitorsEsignuser';\nimport UserEsignuser from 'Models/Security/Acl/UserEsignuser';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IEsignuserEntityAttributes extends IModelAttributes {\n\tname: string;\n\tphone: string;\n\temail: string;\n\tsignature: string;\n\tstatus: Enums.esignuserstatus;\n\n\tesignceremonysigneess: Array<\n\t\t| Models.EsignceremonysigneeEntity\n\t\t| Models.IEsignceremonysigneeEntityAttributes\n\t>;\n\tesignceremonywitnessss: Array<\n\t\t| Models.EsignceremonywitnessEntity\n\t\t| Models.IEsignceremonywitnessEntityAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('EsignuserEntity', 'ESignUser')\n// % protected region % [Customise your entity metadata here] end\nexport default class EsignuserEntity extends Model\n\timplements IEsignuserEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsEsignuser(),\n\t\tnew UserEsignuser(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic name: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Phone'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Phone',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic phone: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Phone'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Email'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Email',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic email: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Email'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Signature'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Signature',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic signature: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Signature'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Status'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Status',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.esignuserstatusOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.esignuserstatusOptions),\n\t\tdisplayFunction: (attr: Enums.esignuserstatus) => Enums.esignuserstatusOptions[attr],\n\t})\n\tpublic status: Enums.esignuserstatus;\n\t// % protected region % [Modify props to the crud options here for attribute 'Status'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignCeremonySignees'] off begin\n\t\tname: 'ESignCeremonySigneess',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 60,\n\t\treferenceTypeFunc: () => Models.EsignceremonysigneeEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'esignceremonysigneess',\n\t\t\toppositeEntity: () => Models.EsignceremonysigneeEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignCeremonySignees'] end\n\t})\n\tpublic esignceremonysigneess: Models.EsignceremonysigneeEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignCeremonyWitnesss'] off begin\n\t\tname: 'ESignCeremonyWitnessss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 70,\n\t\treferenceTypeFunc: () => Models.EsignceremonywitnessEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'esignceremonywitnessss',\n\t\t\toppositeEntity: () => Models.EsignceremonywitnessEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignCeremonyWitnesss'] end\n\t})\n\tpublic esignceremonywitnessss: Models.EsignceremonywitnessEntity[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.name !== undefined) {\n\t\t\t\tthis.name = attributes.name;\n\t\t\t}\n\t\t\tif (attributes.phone !== undefined) {\n\t\t\t\tthis.phone = attributes.phone;\n\t\t\t}\n\t\t\tif (attributes.email !== undefined) {\n\t\t\t\tthis.email = attributes.email;\n\t\t\t}\n\t\t\tif (attributes.signature !== undefined) {\n\t\t\t\tthis.signature = attributes.signature;\n\t\t\t}\n\t\t\tif (attributes.status !== undefined) {\n\t\t\t\tthis.status = attributes.status;\n\t\t\t}\n\t\t\tif (attributes.esignceremonysigneess !== undefined && Array.isArray(attributes.esignceremonysigneess)) {\n\t\t\t\tfor (const model of attributes.esignceremonysigneess) {\n\t\t\t\t\tif (model instanceof Models.EsignceremonysigneeEntity) {\n\t\t\t\t\t\tthis.esignceremonysigneess.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.esignceremonysigneess.push(new Models.EsignceremonysigneeEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.esignceremonywitnessss !== undefined && Array.isArray(attributes.esignceremonywitnessss)) {\n\t\t\t\tfor (const model of attributes.esignceremonywitnessss) {\n\t\t\t\t\tif (model instanceof Models.EsignceremonywitnessEntity) {\n\t\t\t\t\t\tthis.esignceremonywitnessss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.esignceremonywitnessss.push(new Models.EsignceremonywitnessEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tesignceremonysigneess {\n\t\t\t${Models.EsignceremonysigneeEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tesignceremonywitnessss {\n\t\t\t${Models.EsignceremonywitnessEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tesignceremonysigneess: {},\n\t\t\tesignceremonywitnessss: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(EsignuserEntity.prototype, 'created');\nCRUD(modifiedAttr)(EsignuserEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsEsingworkflow implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserEsingworkflow implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsEsingworkflow from 'Models/Security/Acl/VisitorsEsingworkflow';\nimport UserEsingworkflow from 'Models/Security/Acl/UserEsingworkflow';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IEsignworkflowEntityAttributes extends IModelAttributes {\n\tstatus: Enums.esignworkflowstatus;\n\tstage: Enums.esignworkflowstage;\n\tsignatorycount: number;\n\trejectioncount: number;\n\tnotificationsemail: string;\n\trequestcontent: string;\n\tlegacyapplicationid: number;\n\tbase64signedcontract: string;\n\n\tesignceremonysigneess: Array<\n\t\t| Models.EsignceremonysigneeEntity\n\t\t| Models.IEsignceremonysigneeEntityAttributes\n\t>;\n\tesigntemplatecontentId: string;\n\tesigntemplatecontent: Models.EsigntemplatecontentEntity | Models.IEsigntemplatecontentEntityAttributes;\n\tesigntemplateId: string;\n\tesigntemplate: Models.EsigntemplateEntity | Models.IEsigntemplateEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('EsignworkflowEntity', 'ESignWorkflow')\n// % protected region % [Customise your entity metadata here] end\nexport default class EsignworkflowEntity extends Model\n\timplements IEsignworkflowEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsEsingworkflow(),\n\t\tnew UserEsingworkflow(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Status'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Status',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.esignworkflowstatusOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.esignworkflowstatusOptions),\n\t\tdisplayFunction: (attr: Enums.esignworkflowstatus) => Enums.esignworkflowstatusOptions[attr],\n\t})\n\tpublic status: Enums.esignworkflowstatus;\n\t// % protected region % [Modify props to the crud options here for attribute 'Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Stage'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Stage',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.esignworkflowstageOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.esignworkflowstageOptions),\n\t\tdisplayFunction: (attr: Enums.esignworkflowstage) => Enums.esignworkflowstageOptions[attr],\n\t})\n\tpublic stage: Enums.esignworkflowstage;\n\t// % protected region % [Modify props to the crud options here for attribute 'Stage'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'SignatoryCount'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'SignatoryCount',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic signatorycount: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'SignatoryCount'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'RejectionCount'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'RejectionCount',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic rejectioncount: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'RejectionCount'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'NotificationsEmail'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'NotificationsEmail',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic notificationsemail: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'NotificationsEmail'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'RequestContent'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'RequestContent',\n\t\tdisplayType: 'textarea',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic requestcontent: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'RequestContent'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'LegacyApplicationID'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'LegacyApplicationID',\n\t\tdisplayType: 'textfield',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic legacyapplicationid: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'LegacyApplicationID'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Base64SignedContract'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Base64SignedContract',\n\t\tdisplayType: 'textarea',\n\t\torder: 80,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic base64signedcontract: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Base64SignedContract'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignCeremonySignees'] off begin\n\t\tname: 'ESignCeremonySigneess',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 90,\n\t\treferenceTypeFunc: () => Models.EsignceremonysigneeEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'esignceremonysigneess',\n\t\t\toppositeEntity: () => Models.EsignceremonysigneeEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignCeremonySignees'] end\n\t})\n\tpublic esignceremonysigneess: Models.EsignceremonysigneeEntity[] = [];\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignTemplateContent'] off begin\n\t\tname: 'ESignTemplateContent',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 100,\n\t\treferenceTypeFunc: () => Models.EsigntemplatecontentEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignTemplateContent'] end\n\t})\n\tpublic esigntemplatecontentId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic esigntemplatecontent: Models.EsigntemplatecontentEntity;\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignTemplate'] off begin\n\t\tname: 'ESignTemplate',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 110,\n\t\treferenceTypeFunc: () => Models.EsigntemplateEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignTemplate'] end\n\t})\n\tpublic esigntemplateId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic esigntemplate: Models.EsigntemplateEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.status !== undefined) {\n\t\t\t\tthis.status = attributes.status;\n\t\t\t}\n\t\t\tif (attributes.stage !== undefined) {\n\t\t\t\tthis.stage = attributes.stage;\n\t\t\t}\n\t\t\tif (attributes.signatorycount !== undefined) {\n\t\t\t\tthis.signatorycount = attributes.signatorycount;\n\t\t\t}\n\t\t\tif (attributes.rejectioncount !== undefined) {\n\t\t\t\tthis.rejectioncount = attributes.rejectioncount;\n\t\t\t}\n\t\t\tif (attributes.notificationsemail !== undefined) {\n\t\t\t\tthis.notificationsemail = attributes.notificationsemail;\n\t\t\t}\n\t\t\tif (attributes.requestcontent !== undefined) {\n\t\t\t\tthis.requestcontent = attributes.requestcontent;\n\t\t\t}\n\t\t\tif (attributes.legacyapplicationid !== undefined) {\n\t\t\t\tthis.legacyapplicationid = attributes.legacyapplicationid;\n\t\t\t}\n\t\t\tif (attributes.base64signedcontract !== undefined) {\n\t\t\t\tthis.base64signedcontract = attributes.base64signedcontract;\n\t\t\t}\n\t\t\tif (attributes.esignceremonysigneess !== undefined && Array.isArray(attributes.esignceremonysigneess)) {\n\t\t\t\tfor (const model of attributes.esignceremonysigneess) {\n\t\t\t\t\tif (model instanceof Models.EsignceremonysigneeEntity) {\n\t\t\t\t\t\tthis.esignceremonysigneess.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.esignceremonysigneess.push(new Models.EsignceremonysigneeEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.esigntemplatecontentId !== undefined) {\n\t\t\t\tthis.esigntemplatecontentId = attributes.esigntemplatecontentId;\n\t\t\t}\n\t\t\tif (attributes.esigntemplatecontent !== undefined) {\n\t\t\t\tif (attributes.esigntemplatecontent === null) {\n\t\t\t\t\tthis.esigntemplatecontent = attributes.esigntemplatecontent;\n\t\t\t\t} else if (attributes.esigntemplatecontent instanceof Models.EsigntemplatecontentEntity) {\n\t\t\t\t\tthis.esigntemplatecontent = attributes.esigntemplatecontent;\n\t\t\t\t\tthis.esigntemplatecontentId = attributes.esigntemplatecontent.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.esigntemplatecontent = new Models.EsigntemplatecontentEntity(attributes.esigntemplatecontent);\n\t\t\t\t\tthis.esigntemplatecontentId = this.esigntemplatecontent.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.esigntemplateId !== undefined) {\n\t\t\t\tthis.esigntemplateId = attributes.esigntemplateId;\n\t\t\t}\n\t\t\tif (attributes.esigntemplate !== undefined) {\n\t\t\t\tif (attributes.esigntemplate === null) {\n\t\t\t\t\tthis.esigntemplate = attributes.esigntemplate;\n\t\t\t\t} else if (attributes.esigntemplate instanceof Models.EsigntemplateEntity) {\n\t\t\t\t\tthis.esigntemplate = attributes.esigntemplate;\n\t\t\t\t\tthis.esigntemplateId = attributes.esigntemplate.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.esigntemplate = new Models.EsigntemplateEntity(attributes.esigntemplate);\n\t\t\t\t\tthis.esigntemplateId = this.esigntemplate.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tesignceremonysigneess {\n\t\t\t${Models.EsignceremonysigneeEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tesigntemplatecontent {\n\t\t\t${Models.EsigntemplatecontentEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tesigntemplate {\n\t\t\t${Models.EsigntemplateEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tesignceremonysigneess: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(EsignworkflowEntity.prototype, 'created');\nCRUD(modifiedAttr)(EsignworkflowEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserGroupEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsGroupEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchManyToManyFunc,\n\tmakeJoinEqualsFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserGroupEntity from 'Models/Security/Acl/UserGroupEntity';\nimport VisitorsGroupEntity from 'Models/Security/Acl/VisitorsGroupEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IGroupEntityAttributes extends IModelAttributes {\n\tname: string;\n\n\tcustomerss: Array<\n\t\t| Models.GroupsCustomers\n\t\t| Models.IGroupsCustomersAttributes\n\t>;\n\torganisationId?: string;\n\torganisation?: Models.OrganisationEntity | Models.IOrganisationEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('GroupEntity', 'Group')\n// % protected region % [Customise your entity metadata here] end\nexport default class GroupEntity extends Model\n\timplements IGroupEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserGroupEntity(),\n\t\tnew VisitorsGroupEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic name: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customers'] off begin\n\t\tname: 'Customers',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 20,\n\t\tisJoinEntity: true,\n\t\treferenceTypeFunc: () => Models.GroupsCustomers,\n\t\toptionEqualFunc: makeJoinEqualsFunc('customersId'),\n\t\treferenceResolveFunction: makeFetchManyToManyFunc({\n\t\t\tentityName: 'groupEntity',\n\t\t\toppositeEntityName: 'customerEntity',\n\t\t\trelationName: 'groups',\n\t\t\trelationOppositeName: 'customers',\n\t\t\tentity: () => Models.GroupEntity,\n\t\t\tjoinEntity: () => Models.GroupsCustomers,\n\t\t\toppositeEntity: () => Models.CustomerEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customers'] end\n\t})\n\tpublic customerss: Models.GroupsCustomers[] = [];\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] off begin\n\t\tname: 'Organisation',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 30,\n\t\treferenceTypeFunc: () => Models.OrganisationEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] end\n\t})\n\tpublic organisationId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic organisation: Models.OrganisationEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.name !== undefined) {\n\t\t\t\tthis.name = attributes.name;\n\t\t\t}\n\t\t\tif (attributes.customerss !== undefined && Array.isArray(attributes.customerss)) {\n\t\t\t\tfor (const model of attributes.customerss) {\n\t\t\t\t\tif (model instanceof Models.GroupsCustomers) {\n\t\t\t\t\t\tthis.customerss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.customerss.push(new Models.GroupsCustomers(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.organisationId !== undefined) {\n\t\t\t\tthis.organisationId = attributes.organisationId;\n\t\t\t}\n\t\t\tif (attributes.organisation !== undefined) {\n\t\t\t\tif (attributes.organisation === null) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t} else if (attributes.organisation instanceof Models.OrganisationEntity) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t\tthis.organisationId = attributes.organisation.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.organisation = new Models.OrganisationEntity(attributes.organisation);\n\t\t\t\t\tthis.organisationId = this.organisation.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tcustomerss {\n\t\t\t${Models.GroupsCustomers.getAttributes().join('\\n')}\n\t\t\tcustomers {\n\t\t\t\t${Models.CustomerEntity.getAttributes().join('\\n')}\n\t\t\t}\n\t\t}\n\t\torganisation {\n\t\t\t${Models.OrganisationEntity.getAttributes().join('\\n')}\n\t\t\t${Models.OrganisationEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tcustomerss: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'customerss',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(GroupEntity.prototype, 'created');\nCRUD(modifiedAttr)(GroupEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserInvoiceEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsInvoiceEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserInvoiceEntity from 'Models/Security/Acl/UserInvoiceEntity';\nimport VisitorsInvoiceEntity from 'Models/Security/Acl/VisitorsInvoiceEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport moment from 'moment';\nimport { LocaleFormatCurrency } from 'Util/StringUtils';\n// % protected region % [Add any further imports here] end\n\nexport interface IInvoiceEntityAttributes extends IModelAttributes {\n\treferredBy: string;\n\tcustomerCount: number;\n\tmonthlyExposure: number;\n\tusingApprove: boolean;\n\tusingMonitor: boolean;\n\tusingPPSR: boolean;\n\tuserCount: number;\n\tdiscountPrice: number;\n\tfinalPrice: number;\n\tlineItems: string;\n\tmonthlyPrice: number;\n\n\torganisationId: string;\n\torganisation: Models.OrganisationEntity | Models.IOrganisationEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('InvoiceEntity', 'Invoice')\n// % protected region % [Customise your entity metadata here] end\nexport default class InvoiceEntity extends Model\n\timplements IInvoiceEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserInvoiceEntity(),\n\t\tnew VisitorsInvoiceEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referred By'] off begin\n\t/**\n\t * The name of the referral partner that referred this Organisation\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referred By',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic referredBy: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referred By'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Customer Count'] off begin\n\t/**\n\t * Customer Count\n\t */\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Customer Count',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic customerCount: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Customer Count'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Monthly Exposure'] off begin\n\t/**\n\t * Monthly Exposure\n\t */\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Monthly Exposure',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic monthlyExposure: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Monthly Exposure'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Using Approve'] off begin\n\t/**\n\t * Using Approve\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Using Approve',\n\t\tdisplayType: 'checkbox',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic usingApprove: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Using Approve'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Using Monitor'] off begin\n\t/**\n\t * Using Monitor\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Using Monitor',\n\t\tdisplayType: 'checkbox',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic usingMonitor: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Using Monitor'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Using PPSR'] off begin\n\t/**\n\t * Using PPSR\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Using PPSR',\n\t\tdisplayType: 'checkbox',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic usingPPSR: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Using PPSR'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'User Count'] off begin\n\t/**\n\t * User Count\n\t */\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'User Count',\n\t\tdisplayType: 'textfield',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic userCount: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'User Count'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Discount Price'] off begin\n\t/**\n\t * Discount Price\n\t */\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Discount Price',\n\t\tdisplayType: 'textfield',\n\t\torder: 80,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic discountPrice: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Discount Price'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Final Price'] off begin\n\t/**\n\t * Final Price\n\t */\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Final Price',\n\t\tdisplayType: 'textfield',\n\t\torder: 90,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic finalPrice: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Final Price'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Line Items'] off begin\n\t/**\n\t * Line items that make up the Final Price\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Line Items',\n\t\tdisplayType: 'textfield',\n\t\torder: 100,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic lineItems: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Line Items'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Monthly Price'] off begin\n\t/**\n\t * Monthly Price\n\t */\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Monthly Price',\n\t\tdisplayType: 'textfield',\n\t\torder: 110,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic monthlyPrice: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Monthly Price'] end\n\n\t/**\n\t * Invoice\n\t */\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] off begin\n\t\tname: 'Organisation',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 120,\n\t\treferenceTypeFunc: () => Models.OrganisationEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] end\n\t})\n\tpublic organisationId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic organisation: Models.OrganisationEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.referredBy !== undefined) {\n\t\t\t\tthis.referredBy = attributes.referredBy;\n\t\t\t}\n\t\t\tif (attributes.customerCount !== undefined) {\n\t\t\t\tthis.customerCount = attributes.customerCount;\n\t\t\t}\n\t\t\tif (attributes.monthlyExposure !== undefined) {\n\t\t\t\tthis.monthlyExposure = attributes.monthlyExposure;\n\t\t\t}\n\t\t\tif (attributes.usingApprove !== undefined) {\n\t\t\t\tthis.usingApprove = attributes.usingApprove;\n\t\t\t}\n\t\t\tif (attributes.usingMonitor !== undefined) {\n\t\t\t\tthis.usingMonitor = attributes.usingMonitor;\n\t\t\t}\n\t\t\tif (attributes.usingPPSR !== undefined) {\n\t\t\t\tthis.usingPPSR = attributes.usingPPSR;\n\t\t\t}\n\t\t\tif (attributes.userCount !== undefined) {\n\t\t\t\tthis.userCount = attributes.userCount;\n\t\t\t}\n\t\t\tif (attributes.discountPrice !== undefined) {\n\t\t\t\tthis.discountPrice = attributes.discountPrice;\n\t\t\t}\n\t\t\tif (attributes.finalPrice !== undefined) {\n\t\t\t\tthis.finalPrice = attributes.finalPrice;\n\t\t\t}\n\t\t\tif (attributes.lineItems !== undefined) {\n\t\t\t\tthis.lineItems = attributes.lineItems;\n\t\t\t}\n\t\t\tif (attributes.monthlyPrice !== undefined) {\n\t\t\t\tthis.monthlyPrice = attributes.monthlyPrice;\n\t\t\t}\n\t\t\tif (attributes.organisationId !== undefined) {\n\t\t\t\tthis.organisationId = attributes.organisationId;\n\t\t\t}\n\t\t\tif (attributes.organisation !== undefined) {\n\t\t\t\tif (attributes.organisation === null) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t} else if (attributes.organisation instanceof Models.OrganisationEntity) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t\tthis.organisationId = attributes.organisation.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.organisation = new Models.OrganisationEntity(attributes.organisation);\n\t\t\t\t\tthis.organisationId = this.organisation.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] on begin\n\tpublic listExpands = `\n\t\torganisation {\n\t\t\tid\n\t\t\tprimaryBusinessEntity {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t}\n\t\t}\n\t`;\n\n\tpublic defaultExpands = `\n\t\torganisation {\n\t\t\t${Models.OrganisationEntity.getAttributes().join('\\n')}\n\n\t\t\tprimaryBusinessEntity {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] on begin\n\t\tconst organisationName = this.organisation?.getDisplayName() ?? this.organisationId;\n\t\treturn [\n\t\t\tmoment(this.created).format('YYYY-MM'),\n\t\t\tLocaleFormatCurrency(this.finalPrice),\n\t\t\torganisationName,\n\t\t].join(' | ');\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(InvoiceEntity.prototype, 'created');\nCRUD(modifiedAttr)(InvoiceEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsLogo implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserLogo implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsLogo from 'Models/Security/Acl/VisitorsLogo';\nimport UserLogo from 'Models/Security/Acl/UserLogo';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport { FileListPreview } from 'Views/Components/CRUD/Attributes/AttributeFile';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface ILogoEntityAttributes extends IModelAttributes {\n\tfileNameId: string;\n\tfileName: Blob;\n\n\tesigntemplatess: Array<\n\t\t| Models.EsigntemplateEntity\n\t\t| Models.IEsigntemplateEntityAttributes\n\t>;\n\tbusinessEntityId?: string;\n\tbusinessEntity?: Models.BusinessEntity | Models.IBusinessEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('LogoEntity', 'Logo')\n// % protected region % [Customise your entity metadata here] end\nexport default class LogoEntity extends Model\n\timplements ILogoEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsLogo(),\n\t\tnew UserLogo(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'File Name'] off begin\n\t@observable\n\t@attribute({ file: 'fileName' })\n\t@CRUD({\n\t\tname: 'File Name',\n\t\tdisplayType: 'file',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseUuid,\n\t\tfileAttribute: 'fileName',\n\t\tdisplayFunction: attr => attr\n\t\t\t? \n\t\t\t: 'No File Attached',\n\t})\n\tpublic fileNameId: string;\n\n\t@observable\n\tpublic fileName: Blob;\n\t// % protected region % [Modify props to the crud options here for attribute 'File Name'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignTemplates'] off begin\n\t\tname: 'ESignTemplatess',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 20,\n\t\treferenceTypeFunc: () => Models.EsigntemplateEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'esigntemplatess',\n\t\t\toppositeEntity: () => Models.EsigntemplateEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignTemplates'] end\n\t})\n\tpublic esigntemplatess: Models.EsigntemplateEntity[] = [];\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] off begin\n\t\tname: 'Business Entity',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 30,\n\t\treferenceTypeFunc: () => Models.BusinessEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] end\n\t})\n\tpublic businessEntityId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic businessEntity: Models.BusinessEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.fileName !== undefined) {\n\t\t\t\tthis.fileName = attributes.fileName;\n\t\t\t}\n\t\t\tif (attributes.fileNameId !== undefined) {\n\t\t\t\tthis.fileNameId = attributes.fileNameId;\n\t\t\t}\n\t\t\tif (attributes.esigntemplatess !== undefined && Array.isArray(attributes.esigntemplatess)) {\n\t\t\t\tfor (const model of attributes.esigntemplatess) {\n\t\t\t\t\tif (model instanceof Models.EsigntemplateEntity) {\n\t\t\t\t\t\tthis.esigntemplatess.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.esigntemplatess.push(new Models.EsigntemplateEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.businessEntityId !== undefined) {\n\t\t\t\tthis.businessEntityId = attributes.businessEntityId;\n\t\t\t}\n\t\t\tif (attributes.businessEntity !== undefined) {\n\t\t\t\tif (attributes.businessEntity === null) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t} else if (attributes.businessEntity instanceof Models.BusinessEntity) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t\tthis.businessEntityId = attributes.businessEntity.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.businessEntity = new Models.BusinessEntity(attributes.businessEntity);\n\t\t\t\t\tthis.businessEntityId = this.businessEntity.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tesigntemplatess {\n\t\t\t${Models.EsigntemplateEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tbusinessEntity {\n\t\t\t${Models.BusinessEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tesigntemplatess: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'esigntemplatess',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tcontentType: 'multipart/form-data',\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(LogoEntity.prototype, 'created');\nCRUD(modifiedAttr)(LogoEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserMonitored implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchManyToManyFunc,\n\tmakeJoinEqualsFunc,\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserMonitored from 'Models/Security/Acl/UserMonitored';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IMonitoredEntityAttributes extends IModelAttributes {\n\tlegalName: string;\n\tbusinessName: string;\n\tabn: string;\n\tabnEntityName: string;\n\tabnActive: boolean;\n\tabnActiveSince: Date;\n\tabnLastUpdated: Date;\n\tabnEntityTypeCode: string;\n\tabnLocality: string;\n\tabnEntityStatus: string;\n\tabnRegisteredForGSTFrom: string;\n\tacn: string;\n\tacnEntityName: string;\n\tacnEntityTypeCode: string;\n\tacnClass: string;\n\tacnLastUpdated: Date;\n\tacnSubClass: string;\n\tacnRegistrationDate: string;\n\tacnStatus: string;\n\tasicextractdate: Date;\n\n\tatoDebt?: Models.AtoDebtEntity |\n\t\tModels.IAtoDebtEntityAttributes;\n\tatoRecordss: Array<\n\t\t| Models.AtoRecordEntity\n\t\t| Models.IAtoRecordEntityAttributes\n\t>;\n\talaresReport?: Models.AlaresReportEntity |\n\t\tModels.IAlaresReportEntityAttributes;\n\tcreditReports: Array<\n\t\t| Models.CreditReportEntity\n\t\t| Models.ICreditReportEntityAttributes\n\t>;\n\tcustomerss: Array<\n\t\t| Models.MonitoredsCustomers\n\t\t| Models.IMonitoredsCustomersAttributes\n\t>;\n\tdirectors: Array<\n\t\t| Models.DirectorEntity\n\t\t| Models.IDirectorEntityAttributes\n\t>;\n\tmonitoredentityaudits: Array<\n\t\t| Models.MonitoredentityauditEntity\n\t\t| Models.IMonitoredentityauditEntityAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('MonitoredEntity', 'Monitored')\n// % protected region % [Customise your entity metadata here] end\nexport default class MonitoredEntity extends Model\n\timplements IMonitoredEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserMonitored(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Legal Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Legal Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic legalName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Legal Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Business Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Business Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic businessName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Business Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN'] off begin\n\t@Validators.Unique()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABN',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic abn: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Entity Name'] on begin\n\t/**\n\t * Entity Name\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABN Entity Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: false,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic abnEntityName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Entity Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Active'] on begin\n\t/**\n\t * ABN is current indicator\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABN Active',\n\t\tdisplayType: 'checkbox',\n\t\torder: 50,\n\t\theaderColumn: false,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic abnActive: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Active'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Active Since'] off begin\n\t/**\n\t * Active Since\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABN Active Since',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic abnActiveSince: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Active Since'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Last Updated'] off begin\n\t/**\n\t * ABR Last Updated\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABN Last Updated',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic abnLastUpdated: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Last Updated'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Entity Type Code'] off begin\n\t/**\n\t * Entity Type Code\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABN Entity Type Code',\n\t\tdisplayType: 'textfield',\n\t\torder: 80,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic abnEntityTypeCode: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Entity Type Code'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Locality'] off begin\n\t/**\n\t * Locality\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABN Locality',\n\t\tdisplayType: 'textfield',\n\t\torder: 90,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic abnLocality: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Locality'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Entity Status'] off begin\n\t/**\n\t * Entity Status\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABN Entity Status',\n\t\tdisplayType: 'textfield',\n\t\torder: 100,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic abnEntityStatus: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Entity Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Registered for GST From'] off begin\n\t/**\n\t * Registered for GST From\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ABN Registered for GST From',\n\t\tdisplayType: 'textfield',\n\t\torder: 110,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic abnRegisteredForGSTFrom: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ABN Registered for GST From'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN'] on begin\n\t@Validators.Unique()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN',\n\t\tdisplayType: 'textfield',\n\t\torder: 120,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acn: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Entity Name'] off begin\n\t/**\n\t * The entity name sent back in the ACN response\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Entity Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 130,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acnEntityName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Entity Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Entity Type Code'] off begin\n\t/**\n\t * The entity type code sent back in the ACN response\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Entity Type Code',\n\t\tdisplayType: 'textfield',\n\t\torder: 140,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acnEntityTypeCode: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Entity Type Code'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Class'] off begin\n\t/**\n\t * ACN Class from external endpoint\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Class',\n\t\tdisplayType: 'textfield',\n\t\torder: 150,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acnClass: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Class'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Last Updated'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Last Updated',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 160,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic acnLastUpdated: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Last Updated'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Sub Class'] off begin\n\t/**\n\t * ACN Sub Class from external endpoint\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Sub Class',\n\t\tdisplayType: 'textfield',\n\t\torder: 170,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acnSubClass: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Sub Class'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Registration Date'] off begin\n\t/**\n\t * ACN Registration Date from external endpoint\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Registration Date',\n\t\tdisplayType: 'textfield',\n\t\torder: 180,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acnRegistrationDate: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Registration Date'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Status'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ACN Status',\n\t\tdisplayType: 'textfield',\n\t\torder: 190,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic acnStatus: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'ACN Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'ASICExtractDate'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'ASICExtractDate',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 200,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic asicextractdate: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'ASICExtractDate'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATO Debt'] off begin\n\t\tname: 'ATO Debt',\n\t\tdisplayType: 'displayfield',\n\t\torder: 210,\n\t\tinputProps: {\n\t\t\tdisplayFunction: (model?: Models.AtoDebtEntity) => model ? model.getDisplayName() : null,\n\t\t},\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATO Debt'] end\n\t})\n\tpublic atoDebt?: Models.AtoDebtEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATO Records'] off begin\n\t\tname: 'ATO Recordss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 220,\n\t\treferenceTypeFunc: () => Models.AtoRecordEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'atoRecordss',\n\t\t\toppositeEntity: () => Models.AtoRecordEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATO Records'] end\n\t})\n\tpublic atoRecordss: Models.AtoRecordEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Alares Report'] off begin\n\t\tname: 'Alares Report',\n\t\tdisplayType: 'displayfield',\n\t\torder: 230,\n\t\tinputProps: {\n\t\t\tdisplayFunction: (model?: Models.AlaresReportEntity) => model ? model.getDisplayName() : null,\n\t\t},\n\t\t// % protected region % [Modify props to the crud options here for reference 'Alares Report'] end\n\t})\n\tpublic alaresReport?: Models.AlaresReportEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Credit Report'] off begin\n\t\tname: 'Credit Reports',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 240,\n\t\treferenceTypeFunc: () => Models.CreditReportEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'creditReports',\n\t\t\toppositeEntity: () => Models.CreditReportEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Credit Report'] end\n\t})\n\tpublic creditReports: Models.CreditReportEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customers'] off begin\n\t\tname: 'Customers',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 250,\n\t\tisJoinEntity: true,\n\t\treferenceTypeFunc: () => Models.MonitoredsCustomers,\n\t\toptionEqualFunc: makeJoinEqualsFunc('customersId'),\n\t\treferenceResolveFunction: makeFetchManyToManyFunc({\n\t\t\tentityName: 'monitoredEntity',\n\t\t\toppositeEntityName: 'customerEntity',\n\t\t\trelationName: 'monitoreds',\n\t\t\trelationOppositeName: 'customers',\n\t\t\tentity: () => Models.MonitoredEntity,\n\t\t\tjoinEntity: () => Models.MonitoredsCustomers,\n\t\t\toppositeEntity: () => Models.CustomerEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customers'] end\n\t})\n\tpublic customerss: Models.MonitoredsCustomers[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Director'] off begin\n\t\tname: 'Directors',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 260,\n\t\treferenceTypeFunc: () => Models.DirectorEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'directors',\n\t\t\toppositeEntity: () => Models.DirectorEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Director'] end\n\t})\n\tpublic directors: Models.DirectorEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'MonitoredEntityAudit'] off begin\n\t\tname: 'MonitoredEntityAudits',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 270,\n\t\treferenceTypeFunc: () => Models.MonitoredentityauditEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'monitoredentityaudits',\n\t\t\toppositeEntity: () => Models.MonitoredentityauditEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'MonitoredEntityAudit'] end\n\t})\n\tpublic monitoredentityaudits: Models.MonitoredentityauditEntity[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.legalName !== undefined) {\n\t\t\t\tthis.legalName = attributes.legalName;\n\t\t\t}\n\t\t\tif (attributes.businessName !== undefined) {\n\t\t\t\tthis.businessName = attributes.businessName;\n\t\t\t}\n\t\t\tif (attributes.abn !== undefined) {\n\t\t\t\tthis.abn = attributes.abn;\n\t\t\t}\n\t\t\tif (attributes.abnEntityName !== undefined) {\n\t\t\t\tthis.abnEntityName = attributes.abnEntityName;\n\t\t\t}\n\t\t\tif (attributes.abnActive !== undefined) {\n\t\t\t\tthis.abnActive = attributes.abnActive;\n\t\t\t}\n\t\t\tif (attributes.abnActiveSince !== undefined) {\n\t\t\t\tif (attributes.abnActiveSince === null) {\n\t\t\t\t\tthis.abnActiveSince = attributes.abnActiveSince;\n\t\t\t\t} else {\n\t\t\t\t\tthis.abnActiveSince = moment(attributes.abnActiveSince).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.abnLastUpdated !== undefined) {\n\t\t\t\tif (attributes.abnLastUpdated === null) {\n\t\t\t\t\tthis.abnLastUpdated = attributes.abnLastUpdated;\n\t\t\t\t} else {\n\t\t\t\t\tthis.abnLastUpdated = moment(attributes.abnLastUpdated).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.abnEntityTypeCode !== undefined) {\n\t\t\t\tthis.abnEntityTypeCode = attributes.abnEntityTypeCode;\n\t\t\t}\n\t\t\tif (attributes.abnLocality !== undefined) {\n\t\t\t\tthis.abnLocality = attributes.abnLocality;\n\t\t\t}\n\t\t\tif (attributes.abnEntityStatus !== undefined) {\n\t\t\t\tthis.abnEntityStatus = attributes.abnEntityStatus;\n\t\t\t}\n\t\t\tif (attributes.abnRegisteredForGSTFrom !== undefined) {\n\t\t\t\tthis.abnRegisteredForGSTFrom = attributes.abnRegisteredForGSTFrom;\n\t\t\t}\n\t\t\tif (attributes.acn !== undefined) {\n\t\t\t\tthis.acn = attributes.acn;\n\t\t\t}\n\t\t\tif (attributes.acnEntityName !== undefined) {\n\t\t\t\tthis.acnEntityName = attributes.acnEntityName;\n\t\t\t}\n\t\t\tif (attributes.acnEntityTypeCode !== undefined) {\n\t\t\t\tthis.acnEntityTypeCode = attributes.acnEntityTypeCode;\n\t\t\t}\n\t\t\tif (attributes.acnClass !== undefined) {\n\t\t\t\tthis.acnClass = attributes.acnClass;\n\t\t\t}\n\t\t\tif (attributes.acnLastUpdated !== undefined) {\n\t\t\t\tif (attributes.acnLastUpdated === null) {\n\t\t\t\t\tthis.acnLastUpdated = attributes.acnLastUpdated;\n\t\t\t\t} else {\n\t\t\t\t\tthis.acnLastUpdated = moment(attributes.acnLastUpdated).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.acnSubClass !== undefined) {\n\t\t\t\tthis.acnSubClass = attributes.acnSubClass;\n\t\t\t}\n\t\t\tif (attributes.acnRegistrationDate !== undefined) {\n\t\t\t\tthis.acnRegistrationDate = attributes.acnRegistrationDate;\n\t\t\t}\n\t\t\tif (attributes.acnStatus !== undefined) {\n\t\t\t\tthis.acnStatus = attributes.acnStatus;\n\t\t\t}\n\t\t\tif (attributes.asicextractdate !== undefined) {\n\t\t\t\tif (attributes.asicextractdate === null) {\n\t\t\t\t\tthis.asicextractdate = attributes.asicextractdate;\n\t\t\t\t} else {\n\t\t\t\t\tthis.asicextractdate = moment(attributes.asicextractdate).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.atoDebt !== undefined) {\n\t\t\t\tif (attributes.atoDebt === null) {\n\t\t\t\t\tthis.atoDebt = attributes.atoDebt;\n\t\t\t\t} else if (attributes.atoDebt instanceof Models.AtoDebtEntity) {\n\t\t\t\t\tthis.atoDebt = attributes.atoDebt;\n\t\t\t\t} else {\n\t\t\t\t\tthis.atoDebt = new Models.AtoDebtEntity(attributes.atoDebt);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.atoRecordss !== undefined && Array.isArray(attributes.atoRecordss)) {\n\t\t\t\tfor (const model of attributes.atoRecordss) {\n\t\t\t\t\tif (model instanceof Models.AtoRecordEntity) {\n\t\t\t\t\t\tthis.atoRecordss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.atoRecordss.push(new Models.AtoRecordEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.alaresReport !== undefined) {\n\t\t\t\tif (attributes.alaresReport === null) {\n\t\t\t\t\tthis.alaresReport = attributes.alaresReport;\n\t\t\t\t} else if (attributes.alaresReport instanceof Models.AlaresReportEntity) {\n\t\t\t\t\tthis.alaresReport = attributes.alaresReport;\n\t\t\t\t} else {\n\t\t\t\t\tthis.alaresReport = new Models.AlaresReportEntity(attributes.alaresReport);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.creditReports !== undefined && Array.isArray(attributes.creditReports)) {\n\t\t\t\tfor (const model of attributes.creditReports) {\n\t\t\t\t\tif (model instanceof Models.CreditReportEntity) {\n\t\t\t\t\t\tthis.creditReports.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.creditReports.push(new Models.CreditReportEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.customerss !== undefined && Array.isArray(attributes.customerss)) {\n\t\t\t\tfor (const model of attributes.customerss) {\n\t\t\t\t\tif (model instanceof Models.MonitoredsCustomers) {\n\t\t\t\t\t\tthis.customerss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.customerss.push(new Models.MonitoredsCustomers(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.directors !== undefined && Array.isArray(attributes.directors)) {\n\t\t\t\tfor (const model of attributes.directors) {\n\t\t\t\t\tif (model instanceof Models.DirectorEntity) {\n\t\t\t\t\t\tthis.directors.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.directors.push(new Models.DirectorEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.monitoredentityaudits !== undefined && Array.isArray(attributes.monitoredentityaudits)) {\n\t\t\t\tfor (const model of attributes.monitoredentityaudits) {\n\t\t\t\t\tif (model instanceof Models.MonitoredentityauditEntity) {\n\t\t\t\t\t\tthis.monitoredentityaudits.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.monitoredentityaudits.push(new Models.MonitoredentityauditEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tcustomerss {\n\t\t\t${Models.MonitoredsCustomers.getAttributes().join('\\n')}\n\t\t\tcustomers {\n\t\t\t\t${Models.CustomerEntity.getAttributes().join('\\n')}\n\t\t\t}\n\t\t}\n\t\tatoDebt {\n\t\t\t${Models.AtoDebtEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tatoRecordss {\n\t\t\t${Models.AtoRecordEntity.getAttributes().join('\\n')}\n\t\t}\n\t\talaresReport {\n\t\t\t${Models.AlaresReportEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tcreditReports {\n\t\t\t${Models.CreditReportEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tdirectors {\n\t\t\t${Models.DirectorEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tmonitoredentityaudits {\n\t\t\t${Models.MonitoredentityauditEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tcustomerss: {},\n\t\t\tatoRecordss: {},\n\t\t\tcreditReports: {},\n\t\t\tdirectors: {},\n\t\t\tmonitoredentityaudits: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'creditReports',\n\t\t\t\t\t\t\t'customerss',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(MonitoredEntity.prototype, 'created');\nCRUD(modifiedAttr)(MonitoredEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserCustomerAudit from 'Models/Security/Acl/UserCustomerAudit';\nimport UserMonitoredEntityAudit from 'Models/Security/Acl/UserMonitoredEntityAudit';\nimport VisitorsMonitoredEntityAudit from 'Models/Security/Acl/VisitorsMonitoredEntityAudit';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IMonitoredentityauditEntityAttributes extends IModelAttributes {\n\tdescription: string;\n\tcategory: Enums.auditCategory;\n\teventId: string;\n\n\tmonitorId: string;\n\tmonitor: Models.MonitoredEntity | Models.IMonitoredEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('MonitoredentityauditEntity', 'MonitoredEntityAudit')\n// % protected region % [Customise your entity metadata here] end\nexport default class MonitoredentityauditEntity extends Model\n\timplements IMonitoredentityauditEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserCustomerAudit(),\n\t\tnew UserMonitoredEntityAudit(),\n\t\tnew VisitorsMonitoredEntityAudit(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Description'] off begin\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Description',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic description: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Description'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Category'] off begin\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Category',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.auditCategoryOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.auditCategoryOptions),\n\t\tdisplayFunction: (attr: Enums.auditCategory) => Enums.auditCategoryOptions[attr],\n\t})\n\tpublic category: Enums.auditCategory;\n\t// % protected region % [Modify props to the crud options here for attribute 'Category'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Event Id'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Event Id',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseUuid,\n\t})\n\tpublic eventId: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Event Id'] end\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitor'] off begin\n\t\tname: 'Monitor',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 40,\n\t\treferenceTypeFunc: () => Models.MonitoredEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Monitor'] end\n\t})\n\tpublic monitorId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic monitor: Models.MonitoredEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.description !== undefined) {\n\t\t\t\tthis.description = attributes.description;\n\t\t\t}\n\t\t\tif (attributes.category !== undefined) {\n\t\t\t\tthis.category = attributes.category;\n\t\t\t}\n\t\t\tif (attributes.eventId !== undefined) {\n\t\t\t\tthis.eventId = attributes.eventId;\n\t\t\t}\n\t\t\tif (attributes.monitorId !== undefined) {\n\t\t\t\tthis.monitorId = attributes.monitorId;\n\t\t\t}\n\t\t\tif (attributes.monitor !== undefined) {\n\t\t\t\tif (attributes.monitor === null) {\n\t\t\t\t\tthis.monitor = attributes.monitor;\n\t\t\t\t} else if (attributes.monitor instanceof Models.MonitoredEntity) {\n\t\t\t\t\tthis.monitor = attributes.monitor;\n\t\t\t\t\tthis.monitorId = attributes.monitor.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.monitor = new Models.MonitoredEntity(attributes.monitor);\n\t\t\t\t\tthis.monitorId = this.monitor.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tmonitor {\n\t\t\t${Models.MonitoredEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(MonitoredentityauditEntity.prototype, 'created');\nCRUD(modifiedAttr)(MonitoredentityauditEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserMonitoringProvider implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsMonitoringProvider implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchManyToManyFunc,\n\tmakeJoinEqualsFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserMonitoringProvider from 'Models/Security/Acl/UserMonitoringProvider';\nimport VisitorsMonitoringProvider from 'Models/Security/Acl/VisitorsMonitoringProvider';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IMonitoringProviderEntityAttributes extends IModelAttributes {\n\tname: string;\n\n\torganisations: Array<\n\t\t| Models.MonitoringProviderOrganisation\n\t\t| Models.IMonitoringProviderOrganisationAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('MonitoringProviderEntity', 'Monitoring Provider')\n// % protected region % [Customise your entity metadata here] end\nexport default class MonitoringProviderEntity extends Model\n\timplements IMonitoringProviderEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserMonitoringProvider(),\n\t\tnew VisitorsMonitoringProvider(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic name: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] off begin\n\t\tname: 'Organisation',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 20,\n\t\tisJoinEntity: true,\n\t\treferenceTypeFunc: () => Models.MonitoringProviderOrganisation,\n\t\toptionEqualFunc: makeJoinEqualsFunc('organisationId'),\n\t\treferenceResolveFunction: makeFetchManyToManyFunc({\n\t\t\tentityName: 'monitoringProviderEntity',\n\t\t\toppositeEntityName: 'organisationEntity',\n\t\t\trelationName: 'monitoringProvider',\n\t\t\trelationOppositeName: 'organisation',\n\t\t\tentity: () => Models.MonitoringProviderEntity,\n\t\t\tjoinEntity: () => Models.MonitoringProviderOrganisation,\n\t\t\toppositeEntity: () => Models.OrganisationEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] end\n\t})\n\tpublic organisations: Models.MonitoringProviderOrganisation[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.name !== undefined) {\n\t\t\t\tthis.name = attributes.name;\n\t\t\t}\n\t\t\tif (attributes.organisations !== undefined && Array.isArray(attributes.organisations)) {\n\t\t\t\tfor (const model of attributes.organisations) {\n\t\t\t\t\tif (model instanceof Models.MonitoringProviderOrganisation) {\n\t\t\t\t\t\tthis.organisations.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.organisations.push(new Models.MonitoringProviderOrganisation(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\torganisations {\n\t\t\t${Models.MonitoringProviderOrganisation.getAttributes().join('\\n')}\n\t\t\torganisation {\n\t\t\t\t${Models.OrganisationEntity.getAttributes().join('\\n')}\n\t\t\t\t${Models.OrganisationEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t\t}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\torganisations: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'organisations',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(MonitoringProviderEntity.prototype, 'created');\nCRUD(modifiedAttr)(MonitoringProviderEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsMonthlyExposurePricingTierEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserMonthlyExposurePricingTierEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsMonthlyExposurePricingTierEntity from 'Models/Security/Acl/VisitorsMonthlyExposurePricingTierEntity';\nimport UserMonthlyExposurePricingTierEntity from 'Models/Security/Acl/UserMonthlyExposurePricingTierEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport { store } from 'Models/Store';\nimport { gql } from '@apollo/client';\nimport { computed, runInAction } from 'mobx';\n// % protected region % [Add any further imports here] end\n\nexport interface IMonthlyExposurePricingTierEntityAttributes extends IModelAttributes {\n\tmaximumMonthlyExposure: number;\n\tprice: number;\n\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('MonthlyExposurePricingTierEntity', 'Monthly Exposure Pricing Tier')\n// % protected region % [Customise your entity metadata here] end\nexport default class MonthlyExposurePricingTierEntity extends Model\n\timplements IMonthlyExposurePricingTierEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsMonthlyExposurePricingTierEntity(),\n\t\tnew UserMonthlyExposurePricingTierEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Maximum Monthly Exposure'] off begin\n\t/**\n\t * Maximum Monthly Exposure\n\t */\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Maximum Monthly Exposure',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic maximumMonthlyExposure: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Maximum Monthly Exposure'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Price'] off begin\n\t/**\n\t * Price\n\t */\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Price',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic price: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Price'] end\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.maximumMonthlyExposure !== undefined) {\n\t\t\t\tthis.maximumMonthlyExposure = attributes.maximumMonthlyExposure;\n\t\t\t}\n\t\t\tif (attributes.price !== undefined) {\n\t\t\t\tthis.price = attributes.price;\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(MonthlyExposurePricingTierEntity.prototype, 'created');\nCRUD(modifiedAttr)(MonthlyExposurePricingTierEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserOptionHowDidYouHearEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsOptionHowDidYouHearEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport { IOrderByCondition } from 'Views/Components/ModelCollection/ModelQuery';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserOptionHowDidYouHearEntity from 'Models/Security/Acl/UserOptionHowDidYouHearEntity';\nimport VisitorsOptionHowDidYouHearEntity from 'Models/Security/Acl/VisitorsOptionHowDidYouHearEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IOptionHowDidYouHearEntityAttributes extends IModelAttributes {\n\tname: string;\n\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('OptionHowDidYouHearEntity', 'Option How Did You Hear')\n// % protected region % [Customise your entity metadata here] end\nexport default class OptionHowDidYouHearEntity extends Model\n\timplements IOptionHowDidYouHearEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserOptionHowDidYouHearEntity(),\n\t\tnew VisitorsOptionHowDidYouHearEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t/**\n\t * The default order by field when the collection is loaded .\n\t */\n\tpublic get orderByField(): IOrderByCondition | undefined {\n\t\t// % protected region % [Modify the order by field here] off begin\n\t\treturn {\n\t\t\tpath: 'name',\n\t\t\tdescending: false,\n\t\t};\n\t\t// % protected region % [Modify the order by field here] end\n\t}\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] off begin\n\t@Validators.Required()\n\t@Validators.Unique()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic name: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] end\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.name !== undefined) {\n\t\t\t\tthis.name = attributes.name;\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(OptionHowDidYouHearEntity.prototype, 'created');\nCRUD(modifiedAttr)(OptionHowDidYouHearEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserOptionReferrerCharityEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsOptionReferrerCharityEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport { IOrderByCondition } from 'Views/Components/ModelCollection/ModelQuery';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserOptionReferrerCharityEntity from 'Models/Security/Acl/UserOptionReferrerCharityEntity';\nimport VisitorsOptionReferrerCharityEntity from 'Models/Security/Acl/VisitorsOptionReferrerCharityEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IOptionReferrerCharityEntityAttributes extends IModelAttributes {\n\tdescription: string;\n\tname: string;\n\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('OptionReferrerCharityEntity', 'Option Referrer Charity')\n// % protected region % [Customise your entity metadata here] end\nexport default class OptionReferrerCharityEntity extends Model\n\timplements IOptionReferrerCharityEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserOptionReferrerCharityEntity(),\n\t\tnew VisitorsOptionReferrerCharityEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t/**\n\t * The default order by field when the collection is loaded .\n\t */\n\tpublic get orderByField(): IOrderByCondition | undefined {\n\t\t// % protected region % [Modify the order by field here] off begin\n\t\treturn {\n\t\t\tpath: 'name',\n\t\t\tdescending: false,\n\t\t};\n\t\t// % protected region % [Modify the order by field here] end\n\t}\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Description'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Description',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic description: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Description'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] off begin\n\t@Validators.Required()\n\t@Validators.Unique()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic name: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] end\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.description !== undefined) {\n\t\t\t\tthis.description = attributes.description;\n\t\t\t}\n\t\t\tif (attributes.name !== undefined) {\n\t\t\t\tthis.name = attributes.name;\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(OptionReferrerCharityEntity.prototype, 'created');\nCRUD(modifiedAttr)(OptionReferrerCharityEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserOrganisationCategory implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsOrganisationCategory implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserOrganisationCategory from 'Models/Security/Acl/UserOrganisationCategory';\nimport VisitorsOrganisationCategory from 'Models/Security/Acl/VisitorsOrganisationCategory';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IOrganisationCategoryEntityAttributes extends IModelAttributes {\n\tcategory: Enums.organisationCategory;\n\tmarkup: number;\n\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('OrganisationCategoryEntity', 'Organisation Category')\n// % protected region % [Customise your entity metadata here] end\nexport default class OrganisationCategoryEntity extends Model\n\timplements IOrganisationCategoryEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserOrganisationCategory(),\n\t\tnew VisitorsOrganisationCategory(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Category'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Category',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.organisationCategoryOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.organisationCategoryOptions),\n\t\tdisplayFunction: (attr: Enums.organisationCategory) => Enums.organisationCategoryOptions[attr],\n\t})\n\tpublic category: Enums.organisationCategory;\n\t// % protected region % [Modify props to the crud options here for attribute 'Category'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Markup'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Markup',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic markup: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Markup'] end\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.category !== undefined) {\n\t\t\t\tthis.category = attributes.category;\n\t\t\t}\n\t\t\tif (attributes.markup !== undefined) {\n\t\t\t\tthis.markup = attributes.markup;\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(OrganisationCategoryEntity.prototype, 'created');\nCRUD(modifiedAttr)(OrganisationCategoryEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserPaymentMethod implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsPaymentMethod implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchManyToManyFunc,\n\tmakeJoinEqualsFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserPaymentMethod from 'Models/Security/Acl/UserPaymentMethod';\nimport VisitorsPaymentMethod from 'Models/Security/Acl/VisitorsPaymentMethod';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IPaymentMethodEntityAttributes extends IModelAttributes {\n\tstripeCustomerId: string;\n\tstripePaymentMethodId: string;\n\texpiryDate: Date;\n\n\tbusinessEntitys: Array<\n\t\t| Models.BusinessEntityPaymentMethod\n\t\t| Models.IBusinessEntityPaymentMethodAttributes\n\t>;\n\tcreatedbyId: string;\n\tcreatedby: Models.UserEntity | Models.IUserEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('PaymentMethodEntity', 'Payment Method')\n// % protected region % [Customise your entity metadata here] end\nexport default class PaymentMethodEntity extends Model\n\timplements IPaymentMethodEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserPaymentMethod(),\n\t\tnew VisitorsPaymentMethod(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Stripe Customer Id'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Stripe Customer Id',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic stripeCustomerId: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Stripe Customer Id'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Stripe Payment Method Id'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Stripe Payment Method Id',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic stripePaymentMethodId: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Stripe Payment Method Id'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Expiry Date'] off begin\n\t@observable\n\t@attribute({ serialise: (e, a) => AttrUtils.serialiseDate(a) })\n\t@CRUD({\n\t\tname: 'Expiry Date',\n\t\tdisplayType: 'datepicker',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: attr => AttrUtils.standardiseDate(attr, { serialiseAs: 'date' }),\n\t})\n\tpublic expiryDate: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Expiry Date'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] off begin\n\t\tname: 'Business Entity',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 40,\n\t\tisJoinEntity: true,\n\t\treferenceTypeFunc: () => Models.BusinessEntityPaymentMethod,\n\t\toptionEqualFunc: makeJoinEqualsFunc('businessEntityId'),\n\t\treferenceResolveFunction: makeFetchManyToManyFunc({\n\t\t\tentityName: 'paymentMethodEntity',\n\t\t\toppositeEntityName: 'businessEntity',\n\t\t\trelationName: 'paymentMethod',\n\t\t\trelationOppositeName: 'businessEntity',\n\t\t\tentity: () => Models.PaymentMethodEntity,\n\t\t\tjoinEntity: () => Models.BusinessEntityPaymentMethod,\n\t\t\toppositeEntity: () => Models.BusinessEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] end\n\t})\n\tpublic businessEntitys: Models.BusinessEntityPaymentMethod[] = [];\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'CreatedBy'] off begin\n\t\tname: 'CreatedBy',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 50,\n\t\treferenceTypeFunc: () => Models.UserEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'CreatedBy'] end\n\t})\n\tpublic createdbyId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic createdby: Models.UserEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.stripeCustomerId !== undefined) {\n\t\t\t\tthis.stripeCustomerId = attributes.stripeCustomerId;\n\t\t\t}\n\t\t\tif (attributes.stripePaymentMethodId !== undefined) {\n\t\t\t\tthis.stripePaymentMethodId = attributes.stripePaymentMethodId;\n\t\t\t}\n\t\t\tif (attributes.expiryDate !== undefined) {\n\t\t\t\tif (attributes.expiryDate === null) {\n\t\t\t\t\tthis.expiryDate = attributes.expiryDate;\n\t\t\t\t} else {\n\t\t\t\t\tthis.expiryDate = moment(attributes.expiryDate).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.businessEntitys !== undefined && Array.isArray(attributes.businessEntitys)) {\n\t\t\t\tfor (const model of attributes.businessEntitys) {\n\t\t\t\t\tif (model instanceof Models.BusinessEntityPaymentMethod) {\n\t\t\t\t\t\tthis.businessEntitys.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.businessEntitys.push(new Models.BusinessEntityPaymentMethod(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.createdbyId !== undefined) {\n\t\t\t\tthis.createdbyId = attributes.createdbyId;\n\t\t\t}\n\t\t\tif (attributes.createdby !== undefined) {\n\t\t\t\tif (attributes.createdby === null) {\n\t\t\t\t\tthis.createdby = attributes.createdby;\n\t\t\t\t} else if (attributes.createdby instanceof Models.UserEntity) {\n\t\t\t\t\tthis.createdby = attributes.createdby;\n\t\t\t\t\tthis.createdbyId = attributes.createdby.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.createdby = new Models.UserEntity(attributes.createdby);\n\t\t\t\t\tthis.createdbyId = this.createdby.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tbusinessEntitys {\n\t\t\t${Models.BusinessEntityPaymentMethod.getAttributes().join('\\n')}\n\t\t\tbusinessEntity {\n\t\t\t\t${Models.BusinessEntity.getAttributes().join('\\n')}\n\t\t\t}\n\t\t}\n\t\tcreatedby {\n\t\t\t${Models.UserEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tbusinessEntitys: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'businessEntitys',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(PaymentMethodEntity.prototype, 'created');\nCRUD(modifiedAttr)(PaymentMethodEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserPaymentStatus implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsPaymentStatus implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserPaymentStatus from 'Models/Security/Acl/UserPaymentStatus';\nimport VisitorsPaymentStatus from 'Models/Security/Acl/VisitorsPaymentStatus';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IPaymentStatusEntityAttributes extends IModelAttributes {\n\tname: string;\n\n\treportRequests: Array<\n\t\t| Models.ReportRequestEntity\n\t\t| Models.IReportRequestEntityAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('PaymentStatusEntity', 'Payment Status')\n// % protected region % [Customise your entity metadata here] end\nexport default class PaymentStatusEntity extends Model\n\timplements IPaymentStatusEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserPaymentStatus(),\n\t\tnew VisitorsPaymentStatus(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic name: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Report Request'] off begin\n\t\tname: 'Report Requests',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 20,\n\t\treferenceTypeFunc: () => Models.ReportRequestEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'reportRequests',\n\t\t\toppositeEntity: () => Models.ReportRequestEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Report Request'] end\n\t})\n\tpublic reportRequests: Models.ReportRequestEntity[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.name !== undefined) {\n\t\t\t\tthis.name = attributes.name;\n\t\t\t}\n\t\t\tif (attributes.reportRequests !== undefined && Array.isArray(attributes.reportRequests)) {\n\t\t\t\tfor (const model of attributes.reportRequests) {\n\t\t\t\t\tif (model instanceof Models.ReportRequestEntity) {\n\t\t\t\t\t\tthis.reportRequests.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.reportRequests.push(new Models.ReportRequestEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\treportRequests {\n\t\t\t${Models.ReportRequestEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\treportRequests: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(PaymentStatusEntity.prototype, 'created');\nCRUD(modifiedAttr)(PaymentStatusEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserPricingConfiguration implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsPricingConfiguration implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserPricingConfiguration from 'Models/Security/Acl/UserPricingConfiguration';\nimport VisitorsPricingConfiguration from 'Models/Security/Acl/VisitorsPricingConfiguration';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IPricingConfigurationEntityAttributes extends IModelAttributes {\n\taccountType: Enums.accountType;\n\tmarkup: number;\n\tisActive: boolean;\n\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('PricingConfigurationEntity', 'Pricing Configuration')\n// % protected region % [Customise your entity metadata here] end\nexport default class PricingConfigurationEntity extends Model\n\timplements IPricingConfigurationEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserPricingConfiguration(),\n\t\tnew VisitorsPricingConfiguration(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Account Type'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Account Type',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.accountTypeOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.accountTypeOptions),\n\t\tdisplayFunction: (attr: Enums.accountType) => Enums.accountTypeOptions[attr],\n\t})\n\tpublic accountType: Enums.accountType;\n\t// % protected region % [Modify props to the crud options here for attribute 'Account Type'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Markup'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Markup',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic markup: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Markup'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Is Active',\n\t\tdisplayType: 'checkbox',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic isActive: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] end\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.accountType !== undefined) {\n\t\t\t\tthis.accountType = attributes.accountType;\n\t\t\t}\n\t\t\tif (attributes.markup !== undefined) {\n\t\t\t\tthis.markup = attributes.markup;\n\t\t\t}\n\t\t\tif (attributes.isActive !== undefined) {\n\t\t\t\tthis.isActive = attributes.isActive;\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(PricingConfigurationEntity.prototype, 'created');\nCRUD(modifiedAttr)(PricingConfigurationEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserProvider implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsProvider implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchManyToManyFunc,\n\tmakeJoinEqualsFunc,\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserProvider from 'Models/Security/Acl/UserProvider';\nimport VisitorsProvider from 'Models/Security/Acl/VisitorsProvider';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IProviderEntityAttributes extends IModelAttributes {\n\tname: string;\n\tdescription: string;\n\tisActive: boolean;\n\tconfigurationOne: string;\n\tconfigurationTwo: string;\n\tconfigurationThree: string;\n\tdeserialisationClass: string;\n\n\tproviderProducts: Array<\n\t\t| Models.ProviderProductEntity\n\t\t| Models.IProviderProductEntityAttributes\n\t>;\n\torganisations: Array<\n\t\t| Models.OrganisationProvider\n\t\t| Models.IOrganisationProviderAttributes\n\t>;\n\tproviderTypeId: string;\n\tproviderType: Models.ProviderTypeEntity | Models.IProviderTypeEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('ProviderEntity', 'Provider')\n// % protected region % [Customise your entity metadata here] end\nexport default class ProviderEntity extends Model\n\timplements IProviderEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserProvider(),\n\t\tnew VisitorsProvider(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic name: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Description'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Description',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic description: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Description'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Is Active',\n\t\tdisplayType: 'checkbox',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic isActive: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Configuration One'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Configuration One',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic configurationOne: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Configuration One'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Configuration Two'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Configuration Two',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic configurationTwo: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Configuration Two'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Configuration Three'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Configuration Three',\n\t\tdisplayType: 'textfield',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic configurationThree: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Configuration Three'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Deserialisation Class'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Deserialisation Class',\n\t\tdisplayType: 'textfield',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic deserialisationClass: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Deserialisation Class'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider Product'] off begin\n\t\tname: 'Provider Products',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 80,\n\t\treferenceTypeFunc: () => Models.ProviderProductEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'providerProducts',\n\t\t\toppositeEntity: () => Models.ProviderProductEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider Product'] end\n\t})\n\tpublic providerProducts: Models.ProviderProductEntity[] = [];\n\n\t/**\n\t * Providers the organisation has access to\n\t */\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] off begin\n\t\tname: 'Organisation',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 90,\n\t\tisJoinEntity: true,\n\t\treferenceTypeFunc: () => Models.OrganisationProvider,\n\t\toptionEqualFunc: makeJoinEqualsFunc('organisationId'),\n\t\treferenceResolveFunction: makeFetchManyToManyFunc({\n\t\t\tentityName: 'providerEntity',\n\t\t\toppositeEntityName: 'organisationEntity',\n\t\t\trelationName: 'provider',\n\t\t\trelationOppositeName: 'organisation',\n\t\t\tentity: () => Models.ProviderEntity,\n\t\t\tjoinEntity: () => Models.OrganisationProvider,\n\t\t\toppositeEntity: () => Models.OrganisationEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] end\n\t})\n\tpublic organisations: Models.OrganisationProvider[] = [];\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider Type'] off begin\n\t\tname: 'Provider Type',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 100,\n\t\treferenceTypeFunc: () => Models.ProviderTypeEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider Type'] end\n\t})\n\tpublic providerTypeId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic providerType: Models.ProviderTypeEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.name !== undefined) {\n\t\t\t\tthis.name = attributes.name;\n\t\t\t}\n\t\t\tif (attributes.description !== undefined) {\n\t\t\t\tthis.description = attributes.description;\n\t\t\t}\n\t\t\tif (attributes.isActive !== undefined) {\n\t\t\t\tthis.isActive = attributes.isActive;\n\t\t\t}\n\t\t\tif (attributes.configurationOne !== undefined) {\n\t\t\t\tthis.configurationOne = attributes.configurationOne;\n\t\t\t}\n\t\t\tif (attributes.configurationTwo !== undefined) {\n\t\t\t\tthis.configurationTwo = attributes.configurationTwo;\n\t\t\t}\n\t\t\tif (attributes.configurationThree !== undefined) {\n\t\t\t\tthis.configurationThree = attributes.configurationThree;\n\t\t\t}\n\t\t\tif (attributes.deserialisationClass !== undefined) {\n\t\t\t\tthis.deserialisationClass = attributes.deserialisationClass;\n\t\t\t}\n\t\t\tif (attributes.providerProducts !== undefined && Array.isArray(attributes.providerProducts)) {\n\t\t\t\tfor (const model of attributes.providerProducts) {\n\t\t\t\t\tif (model instanceof Models.ProviderProductEntity) {\n\t\t\t\t\t\tthis.providerProducts.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.providerProducts.push(new Models.ProviderProductEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.organisations !== undefined && Array.isArray(attributes.organisations)) {\n\t\t\t\tfor (const model of attributes.organisations) {\n\t\t\t\t\tif (model instanceof Models.OrganisationProvider) {\n\t\t\t\t\t\tthis.organisations.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.organisations.push(new Models.OrganisationProvider(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.providerTypeId !== undefined) {\n\t\t\t\tthis.providerTypeId = attributes.providerTypeId;\n\t\t\t}\n\t\t\tif (attributes.providerType !== undefined) {\n\t\t\t\tif (attributes.providerType === null) {\n\t\t\t\t\tthis.providerType = attributes.providerType;\n\t\t\t\t} else if (attributes.providerType instanceof Models.ProviderTypeEntity) {\n\t\t\t\t\tthis.providerType = attributes.providerType;\n\t\t\t\t\tthis.providerTypeId = attributes.providerType.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.providerType = new Models.ProviderTypeEntity(attributes.providerType);\n\t\t\t\t\tthis.providerTypeId = this.providerType.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\torganisations {\n\t\t\t${Models.OrganisationProvider.getAttributes().join('\\n')}\n\t\t\torganisation {\n\t\t\t\t${Models.OrganisationEntity.getAttributes().join('\\n')}\n\t\t\t\t${Models.OrganisationEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t\t}\n\t\t}\n\t\tproviderProducts {\n\t\t\t${Models.ProviderProductEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tproviderType {\n\t\t\t${Models.ProviderTypeEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\torganisations: {},\n\t\t\tproviderProducts: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'organisations',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(ProviderEntity.prototype, 'created');\nCRUD(modifiedAttr)(ProviderEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsProviderProduct implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserProviderProduct implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsProviderProduct from 'Models/Security/Acl/VisitorsProviderProduct';\nimport UserProviderProduct from 'Models/Security/Acl/UserProviderProduct';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IProviderProductEntityAttributes extends IModelAttributes {\n\tcode: string;\n\tname: string;\n\tdescription: string;\n\tbaseCost: number;\n\tisActive: boolean;\n\ts3FileKey: string;\n\tcountryCode: string;\n\n\tcreditReportProducts: Array<\n\t\t| Models.BusinessEntityCreditReportSettingsEntity\n\t\t| Models.IBusinessEntityCreditReportSettingsEntityAttributes\n\t>;\n\tproviderProductOrganisations: Array<\n\t\t| Models.ProviderProductOrganisationEntity\n\t\t| Models.IProviderProductOrganisationEntityAttributes\n\t>;\n\tproviderId: string;\n\tprovider: Models.ProviderEntity | Models.IProviderEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('ProviderProductEntity', 'Provider Product')\n// % protected region % [Customise your entity metadata here] end\nexport default class ProviderProductEntity extends Model\n\timplements IProviderProductEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsProviderProduct(),\n\t\tnew UserProviderProduct(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Code'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Code',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic code: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Code'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic name: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Description'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Description',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic description: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Description'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Base Cost'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Base Cost',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic baseCost: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Base Cost'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Is Active',\n\t\tdisplayType: 'checkbox',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic isActive: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'S3 File Key'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'S3 File Key',\n\t\tdisplayType: 'textfield',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic s3FileKey: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'S3 File Key'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Country Code'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Country Code',\n\t\tdisplayType: 'textfield',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic countryCode: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Country Code'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Credit Report Product'] off begin\n\t\tname: 'Credit Report Products',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 80,\n\t\treferenceTypeFunc: () => Models.BusinessEntityCreditReportSettingsEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'creditReportProducts',\n\t\t\toppositeEntity: () => Models.BusinessEntityCreditReportSettingsEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Credit Report Product'] end\n\t})\n\tpublic creditReportProducts: Models.BusinessEntityCreditReportSettingsEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider Product Organisation'] off begin\n\t\tname: 'Provider Product Organisations',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 90,\n\t\treferenceTypeFunc: () => Models.ProviderProductOrganisationEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'providerProductOrganisations',\n\t\t\toppositeEntity: () => Models.ProviderProductOrganisationEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider Product Organisation'] end\n\t})\n\tpublic providerProductOrganisations: Models.ProviderProductOrganisationEntity[] = [];\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider'] off begin\n\t\tname: 'Provider',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 100,\n\t\treferenceTypeFunc: () => Models.ProviderEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider'] end\n\t})\n\tpublic providerId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic provider: Models.ProviderEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.code !== undefined) {\n\t\t\t\tthis.code = attributes.code;\n\t\t\t}\n\t\t\tif (attributes.name !== undefined) {\n\t\t\t\tthis.name = attributes.name;\n\t\t\t}\n\t\t\tif (attributes.description !== undefined) {\n\t\t\t\tthis.description = attributes.description;\n\t\t\t}\n\t\t\tif (attributes.baseCost !== undefined) {\n\t\t\t\tthis.baseCost = attributes.baseCost;\n\t\t\t}\n\t\t\tif (attributes.isActive !== undefined) {\n\t\t\t\tthis.isActive = attributes.isActive;\n\t\t\t}\n\t\t\tif (attributes.s3FileKey !== undefined) {\n\t\t\t\tthis.s3FileKey = attributes.s3FileKey;\n\t\t\t}\n\t\t\tif (attributes.countryCode !== undefined) {\n\t\t\t\tthis.countryCode = attributes.countryCode;\n\t\t\t}\n\t\t\tif (attributes.creditReportProducts !== undefined && Array.isArray(attributes.creditReportProducts)) {\n\t\t\t\tfor (const model of attributes.creditReportProducts) {\n\t\t\t\t\tif (model instanceof Models.BusinessEntityCreditReportSettingsEntity) {\n\t\t\t\t\t\tthis.creditReportProducts.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.creditReportProducts.push(new Models.BusinessEntityCreditReportSettingsEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.providerProductOrganisations !== undefined && Array.isArray(attributes.providerProductOrganisations)) {\n\t\t\t\tfor (const model of attributes.providerProductOrganisations) {\n\t\t\t\t\tif (model instanceof Models.ProviderProductOrganisationEntity) {\n\t\t\t\t\t\tthis.providerProductOrganisations.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.providerProductOrganisations.push(new Models.ProviderProductOrganisationEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.providerId !== undefined) {\n\t\t\t\tthis.providerId = attributes.providerId;\n\t\t\t}\n\t\t\tif (attributes.provider !== undefined) {\n\t\t\t\tif (attributes.provider === null) {\n\t\t\t\t\tthis.provider = attributes.provider;\n\t\t\t\t} else if (attributes.provider instanceof Models.ProviderEntity) {\n\t\t\t\t\tthis.provider = attributes.provider;\n\t\t\t\t\tthis.providerId = attributes.provider.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.provider = new Models.ProviderEntity(attributes.provider);\n\t\t\t\t\tthis.providerId = this.provider.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tcreditReportProducts {\n\t\t\t${Models.BusinessEntityCreditReportSettingsEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tproviderProductOrganisations {\n\t\t\t${Models.ProviderProductOrganisationEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tprovider {\n\t\t\t${Models.ProviderEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tcreditReportProducts: {},\n\t\t\tproviderProductOrganisations: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(ProviderProductEntity.prototype, 'created');\nCRUD(modifiedAttr)(ProviderProductEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserProviderProductOrganisation implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsProviderProductOrganisation implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserProviderProductOrganisation from 'Models/Security/Acl/UserProviderProductOrganisation';\nimport VisitorsProviderProductOrganisation from 'Models/Security/Acl/VisitorsProviderProductOrganisation';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IProviderProductOrganisationEntityAttributes extends IModelAttributes {\n\tprice: number;\n\tcustomMarkup: number;\n\tdiscountRate: number;\n\trecomended: boolean;\n\ttotalCost: number;\n\tisEnabled: boolean;\n\tadditionalConfiguration: string;\n\n\tbusinessEntityReportSettingss: Array<\n\t\t| Models.BusinessEntityCreditReportSettingsEntity\n\t\t| Models.IBusinessEntityCreditReportSettingsEntityAttributes\n\t>;\n\torganisationId: string;\n\torganisation: Models.OrganisationEntity | Models.IOrganisationEntityAttributes;\n\tproviderProductId: string;\n\tproviderProduct: Models.ProviderProductEntity | Models.IProviderProductEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('ProviderProductOrganisationEntity', 'Provider Product Organisation')\n// % protected region % [Customise your entity metadata here] end\nexport default class ProviderProductOrganisationEntity extends Model\n\timplements IProviderProductOrganisationEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserProviderProductOrganisation(),\n\t\tnew VisitorsProviderProductOrganisation(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Price'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Price',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic price: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Price'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Custom Markup'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Custom Markup',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic customMarkup: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Custom Markup'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Discount Rate'] off begin\n\t/**\n\t * Value from 0.0 to 1.0\n\t */\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Discount Rate',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic discountRate: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Discount Rate'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Recomended'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Recomended',\n\t\tdisplayType: 'checkbox',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic recomended: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Recomended'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Total Cost'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Total Cost',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic totalCost: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Total Cost'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Enabled'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Is Enabled',\n\t\tdisplayType: 'checkbox',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic isEnabled: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Enabled'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Additional Configuration'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Additional Configuration',\n\t\tdisplayType: 'textarea',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic additionalConfiguration: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Additional Configuration'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity Report Settings'] off begin\n\t\tname: 'Business Entity Report Settingss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 80,\n\t\treferenceTypeFunc: () => Models.BusinessEntityCreditReportSettingsEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'businessEntityReportSettingss',\n\t\t\toppositeEntity: () => Models.BusinessEntityCreditReportSettingsEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity Report Settings'] end\n\t})\n\tpublic businessEntityReportSettingss: Models.BusinessEntityCreditReportSettingsEntity[] = [];\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] off begin\n\t\tname: 'Organisation',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 90,\n\t\treferenceTypeFunc: () => Models.OrganisationEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] end\n\t})\n\tpublic organisationId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic organisation: Models.OrganisationEntity;\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider Product'] off begin\n\t\tname: 'Provider Product',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 100,\n\t\treferenceTypeFunc: () => Models.ProviderProductEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider Product'] end\n\t})\n\tpublic providerProductId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic providerProduct: Models.ProviderProductEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.price !== undefined) {\n\t\t\t\tthis.price = attributes.price;\n\t\t\t}\n\t\t\tif (attributes.customMarkup !== undefined) {\n\t\t\t\tthis.customMarkup = attributes.customMarkup;\n\t\t\t}\n\t\t\tif (attributes.discountRate !== undefined) {\n\t\t\t\tthis.discountRate = attributes.discountRate;\n\t\t\t}\n\t\t\tif (attributes.recomended !== undefined) {\n\t\t\t\tthis.recomended = attributes.recomended;\n\t\t\t}\n\t\t\tif (attributes.totalCost !== undefined) {\n\t\t\t\tthis.totalCost = attributes.totalCost;\n\t\t\t}\n\t\t\tif (attributes.isEnabled !== undefined) {\n\t\t\t\tthis.isEnabled = attributes.isEnabled;\n\t\t\t}\n\t\t\tif (attributes.additionalConfiguration !== undefined) {\n\t\t\t\tthis.additionalConfiguration = attributes.additionalConfiguration;\n\t\t\t}\n\t\t\tif (attributes.businessEntityReportSettingss !== undefined && Array.isArray(attributes.businessEntityReportSettingss)) {\n\t\t\t\tfor (const model of attributes.businessEntityReportSettingss) {\n\t\t\t\t\tif (model instanceof Models.BusinessEntityCreditReportSettingsEntity) {\n\t\t\t\t\t\tthis.businessEntityReportSettingss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.businessEntityReportSettingss.push(new Models.BusinessEntityCreditReportSettingsEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.organisationId !== undefined) {\n\t\t\t\tthis.organisationId = attributes.organisationId;\n\t\t\t}\n\t\t\tif (attributes.organisation !== undefined) {\n\t\t\t\tif (attributes.organisation === null) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t} else if (attributes.organisation instanceof Models.OrganisationEntity) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t\tthis.organisationId = attributes.organisation.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.organisation = new Models.OrganisationEntity(attributes.organisation);\n\t\t\t\t\tthis.organisationId = this.organisation.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.providerProductId !== undefined) {\n\t\t\t\tthis.providerProductId = attributes.providerProductId;\n\t\t\t}\n\t\t\tif (attributes.providerProduct !== undefined) {\n\t\t\t\tif (attributes.providerProduct === null) {\n\t\t\t\t\tthis.providerProduct = attributes.providerProduct;\n\t\t\t\t} else if (attributes.providerProduct instanceof Models.ProviderProductEntity) {\n\t\t\t\t\tthis.providerProduct = attributes.providerProduct;\n\t\t\t\t\tthis.providerProductId = attributes.providerProduct.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.providerProduct = new Models.ProviderProductEntity(attributes.providerProduct);\n\t\t\t\t\tthis.providerProductId = this.providerProduct.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tbusinessEntityReportSettingss {\n\t\t\t${Models.BusinessEntityCreditReportSettingsEntity.getAttributes().join('\\n')}\n\t\t}\n\t\torganisation {\n\t\t\t${Models.OrganisationEntity.getAttributes().join('\\n')}\n\t\t\t${Models.OrganisationEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t}\n\t\tproviderProduct {\n\t\t\t${Models.ProviderProductEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tbusinessEntityReportSettingss: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(ProviderProductOrganisationEntity.prototype, 'created');\nCRUD(modifiedAttr)(ProviderProductOrganisationEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserProviderType implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsProviderType implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserProviderType from 'Models/Security/Acl/UserProviderType';\nimport VisitorsProviderType from 'Models/Security/Acl/VisitorsProviderType';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IProviderTypeEntityAttributes extends IModelAttributes {\n\tname: string;\n\n\tproviders: Array<\n\t\t| Models.ProviderEntity\n\t\t| Models.IProviderEntityAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('ProviderTypeEntity', 'Provider Type')\n// % protected region % [Customise your entity metadata here] end\nexport default class ProviderTypeEntity extends Model\n\timplements IProviderTypeEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserProviderType(),\n\t\tnew VisitorsProviderType(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic name: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider'] off begin\n\t\tname: 'Providers',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 20,\n\t\treferenceTypeFunc: () => Models.ProviderEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'providers',\n\t\t\toppositeEntity: () => Models.ProviderEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Provider'] end\n\t})\n\tpublic providers: Models.ProviderEntity[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.name !== undefined) {\n\t\t\t\tthis.name = attributes.name;\n\t\t\t}\n\t\t\tif (attributes.providers !== undefined && Array.isArray(attributes.providers)) {\n\t\t\t\tfor (const model of attributes.providers) {\n\t\t\t\t\tif (model instanceof Models.ProviderEntity) {\n\t\t\t\t\t\tthis.providers.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.providers.push(new Models.ProviderEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tproviders {\n\t\t\t${Models.ProviderEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tproviders: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(ProviderTypeEntity.prototype, 'created');\nCRUD(modifiedAttr)(ProviderTypeEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsReferralPartnerGroupEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserReferralPartnerGroupEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsReferralPartnerGroupEntity from 'Models/Security/Acl/VisitorsReferralPartnerGroupEntity';\nimport UserReferralPartnerGroupEntity from 'Models/Security/Acl/UserReferralPartnerGroupEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IReferralPartnerGroupEntityAttributes extends IModelAttributes {\n\tname: string;\n\tcolour: string;\n\n\torganisationss: Array<\n\t\t| Models.OrganisationEntity\n\t\t| Models.IOrganisationEntityAttributes\n\t>;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('ReferralPartnerGroupEntity', 'Referral Partner Group')\n// % protected region % [Customise your entity metadata here] end\nexport default class ReferralPartnerGroupEntity extends Model\n\timplements IReferralPartnerGroupEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsReferralPartnerGroupEntity(),\n\t\tnew UserReferralPartnerGroupEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic name: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Colour'] off begin\n\t/**\n\t * Colour code used when displaying Partner Group\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Colour',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic colour: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Colour'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisations'] off begin\n\t\tname: 'Organisationss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 30,\n\t\treferenceTypeFunc: () => Models.OrganisationEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'organisationss',\n\t\t\toppositeEntity: () => Models.OrganisationEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisations'] end\n\t})\n\tpublic organisationss: Models.OrganisationEntity[] = [];\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.name !== undefined) {\n\t\t\t\tthis.name = attributes.name;\n\t\t\t}\n\t\t\tif (attributes.colour !== undefined) {\n\t\t\t\tthis.colour = attributes.colour;\n\t\t\t}\n\t\t\tif (attributes.organisationss !== undefined && Array.isArray(attributes.organisationss)) {\n\t\t\t\tfor (const model of attributes.organisationss) {\n\t\t\t\t\tif (model instanceof Models.OrganisationEntity) {\n\t\t\t\t\t\tthis.organisationss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.organisationss.push(new Models.OrganisationEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\torganisationss {\n\t\t\t${Models.OrganisationEntity.getAttributes().join('\\n')}\n\t\t\t${Models.OrganisationEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\torganisationss: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'organisationss',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] on begin\n\t\treturn this.name;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(ReferralPartnerGroupEntity.prototype, 'created');\nCRUD(modifiedAttr)(ReferralPartnerGroupEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsRegistrationEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserRegistrationEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchOneToManyFunc,\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsRegistrationEntity from 'Models/Security/Acl/VisitorsRegistrationEntity';\nimport UserRegistrationEntity from 'Models/Security/Acl/UserRegistrationEntity';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport RegistrationData from 'Models/Entities/RegistrationData';\nimport axios from 'axios';\nimport { SERVER_URL } from 'Constants';\nimport ReferralRegistrationData from './ReferralRegistrationData';\n// % protected region % [Add any further imports here] end\n\nexport interface IRegistrationEntityAttributes extends IModelAttributes {\n\treferralStatus: Enums.registrationStatus;\n\tcompletedDate: Date;\n\tproducts: string;\n\tstatus: Enums.registrationStatus;\n\tuserName: string;\n\tuserEmail: string;\n\treferralData: string;\n\trefereeEmail: string;\n\tregistrationData: string;\n\torganisationName: string;\n\tstartDate: Date;\n\trefereeName: string;\n\n\treferringOrganisationId?: string;\n\treferringOrganisation?: Models.OrganisationEntity | Models.IOrganisationEntityAttributes;\n\treferringUserId?: string;\n\treferringUser?: Models.UserEntity | Models.IUserEntityAttributes;\n\tregistrationFiless: Array<\n\t\t| Models.RegistrationFileEntity\n\t\t| Models.IRegistrationFileEntityAttributes\n\t>;\n\tcreatedOrganisationId?: string;\n\tcreatedOrganisation?: Models.OrganisationEntity | Models.IOrganisationEntityAttributes;\n\tcreatedUserId?: string;\n\tcreatedUser?: Models.UserEntity | Models.IUserEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] on begin\n\tparsedRegistrationData?: RegistrationData;\n\tparsedReferralData?: ReferralRegistrationData;\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('RegistrationEntity', 'Registration')\n// % protected region % [Customise your entity metadata here] end\nexport default class RegistrationEntity extends Model\n\timplements IRegistrationEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsRegistrationEntity(),\n\t\tnew UserRegistrationEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referral Status'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referral Status',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.registrationStatusOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.registrationStatusOptions),\n\t\tdisplayFunction: (attr: Enums.registrationStatus) => Enums.registrationStatusOptions[attr],\n\t})\n\tpublic referralStatus: Enums.registrationStatus;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referral Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Completed Date'] off begin\n\t/**\n\t * Date registration was finished. Null if registration is still pending.\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Completed Date',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic completedDate: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Completed Date'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Products'] off begin\n\t/**\n\t * Products\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Products',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic products: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Products'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Status'] off begin\n\t/**\n\t * Status\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Status',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.registrationStatusOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.registrationStatusOptions),\n\t\tdisplayFunction: (attr: Enums.registrationStatus) => Enums.registrationStatusOptions[attr],\n\t})\n\tpublic status: Enums.registrationStatus;\n\t// % protected region % [Modify props to the crud options here for attribute 'Status'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'User Name'] off begin\n\t/**\n\t * User Name\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'User Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic userName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'User Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'User Email'] off begin\n\t/**\n\t * User Email\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'User Email',\n\t\tdisplayType: 'textfield',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic userEmail: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'User Email'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referral Data'] off begin\n\t/**\n\t * JSON field to hold information for the referral partner registration\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referral Data',\n\t\tdisplayType: 'textfield',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic referralData: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referral Data'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referee Email'] off begin\n\t/**\n\t * The email of the person that the referral link was created for\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referee Email',\n\t\tdisplayType: 'textfield',\n\t\torder: 80,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic refereeEmail: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referee Email'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Registration Data'] off begin\n\t/**\n\t * JSON field used to hold contents of various questions\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Registration Data',\n\t\tdisplayType: 'textfield',\n\t\torder: 90,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic registrationData: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Registration Data'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Organisation Name'] off begin\n\t/**\n\t * Organisation Name\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Organisation Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 100,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic organisationName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Organisation Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Start Date'] off begin\n\t/**\n\t * The actual start date of the registration, as registration can be created before actually being started\n\t */\n\t@observable\n\t@attribute({ serialise: (e, a) => AttrUtils.serialiseDate(a) })\n\t@CRUD({\n\t\tname: 'Start Date',\n\t\tdisplayType: 'datepicker',\n\t\torder: 110,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: attr => AttrUtils.standardiseDate(attr, { serialiseAs: 'date' }),\n\t})\n\tpublic startDate: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Start Date'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Referee Name'] off begin\n\t/**\n\t * The name of the person that the referral link was created for\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Referee Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 120,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic refereeName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Referee Name'] end\n\n\t/**\n\t * Keep track of organisation which made the referral\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Referring Organisation'] off begin\n\t\tname: 'Referring Organisation',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 130,\n\t\treferenceTypeFunc: () => Models.OrganisationEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Referring Organisation'] end\n\t})\n\tpublic referringOrganisationId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic referringOrganisation: Models.OrganisationEntity;\n\n\t/**\n\t * Keep track of users who create referrals\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Referring User'] off begin\n\t\tname: 'Referring User',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 140,\n\t\treferenceTypeFunc: () => Models.UserEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Referring User'] end\n\t})\n\tpublic referringUserId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic referringUser: Models.UserEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Registration Files'] off begin\n\t\tname: 'Registration Filess',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 150,\n\t\treferenceTypeFunc: () => Models.RegistrationFileEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'registrationFiless',\n\t\t\toppositeEntity: () => Models.RegistrationFileEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Registration Files'] end\n\t})\n\tpublic registrationFiless: Models.RegistrationFileEntity[] = [];\n\n\t/**\n\t * Registration which created this organisation\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Created Organisation'] off begin\n\t\tname: 'Created Organisation',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 160,\n\t\treferenceTypeFunc: () => Models.OrganisationEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'createdOrganisations',\n\t\t\toppositeEntity: () => Models.OrganisationEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Created Organisation'] end\n\t})\n\tpublic createdOrganisationId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic createdOrganisation: Models.OrganisationEntity;\n\n\t/**\n\t * Registration which created this user\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Created User'] off begin\n\t\tname: 'Created User',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 170,\n\t\treferenceTypeFunc: () => Models.UserEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'createdUsers',\n\t\t\toppositeEntity: () => Models.UserEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Created User'] end\n\t})\n\tpublic createdUserId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic createdUser: Models.UserEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] on begin\n\t@observable public parsedRegistrationData: RegistrationData;\n\t@observable public parsedReferralData: ReferralRegistrationData;\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.referralStatus !== undefined) {\n\t\t\t\tthis.referralStatus = attributes.referralStatus;\n\t\t\t}\n\t\t\tif (attributes.completedDate !== undefined) {\n\t\t\t\tif (attributes.completedDate === null) {\n\t\t\t\t\tthis.completedDate = attributes.completedDate;\n\t\t\t\t} else {\n\t\t\t\t\tthis.completedDate = moment(attributes.completedDate).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.products !== undefined) {\n\t\t\t\tthis.products = attributes.products;\n\t\t\t}\n\t\t\tif (attributes.status !== undefined) {\n\t\t\t\tthis.status = attributes.status;\n\t\t\t}\n\t\t\tif (attributes.userName !== undefined) {\n\t\t\t\tthis.userName = attributes.userName;\n\t\t\t}\n\t\t\tif (attributes.userEmail !== undefined) {\n\t\t\t\tthis.userEmail = attributes.userEmail;\n\t\t\t}\n\t\t\tif (attributes.referralData !== undefined) {\n\t\t\t\tthis.referralData = attributes.referralData;\n\t\t\t}\n\t\t\tif (attributes.refereeEmail !== undefined) {\n\t\t\t\tthis.refereeEmail = attributes.refereeEmail;\n\t\t\t}\n\t\t\tif (attributes.registrationData !== undefined) {\n\t\t\t\tthis.registrationData = attributes.registrationData;\n\t\t\t}\n\t\t\tif (attributes.organisationName !== undefined) {\n\t\t\t\tthis.organisationName = attributes.organisationName;\n\t\t\t}\n\t\t\tif (attributes.startDate !== undefined) {\n\t\t\t\tif (attributes.startDate === null) {\n\t\t\t\t\tthis.startDate = attributes.startDate;\n\t\t\t\t} else {\n\t\t\t\t\tthis.startDate = moment(attributes.startDate).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.refereeName !== undefined) {\n\t\t\t\tthis.refereeName = attributes.refereeName;\n\t\t\t}\n\t\t\tif (attributes.referringOrganisationId !== undefined) {\n\t\t\t\tthis.referringOrganisationId = attributes.referringOrganisationId;\n\t\t\t}\n\t\t\tif (attributes.referringOrganisation !== undefined) {\n\t\t\t\tif (attributes.referringOrganisation === null) {\n\t\t\t\t\tthis.referringOrganisation = attributes.referringOrganisation;\n\t\t\t\t} else if (attributes.referringOrganisation instanceof Models.OrganisationEntity) {\n\t\t\t\t\tthis.referringOrganisation = attributes.referringOrganisation;\n\t\t\t\t\tthis.referringOrganisationId = attributes.referringOrganisation.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.referringOrganisation = new Models.OrganisationEntity(attributes.referringOrganisation);\n\t\t\t\t\tthis.referringOrganisationId = this.referringOrganisation.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.referringUserId !== undefined) {\n\t\t\t\tthis.referringUserId = attributes.referringUserId;\n\t\t\t}\n\t\t\tif (attributes.referringUser !== undefined) {\n\t\t\t\tif (attributes.referringUser === null) {\n\t\t\t\t\tthis.referringUser = attributes.referringUser;\n\t\t\t\t} else if (attributes.referringUser instanceof Models.UserEntity) {\n\t\t\t\t\tthis.referringUser = attributes.referringUser;\n\t\t\t\t\tthis.referringUserId = attributes.referringUser.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.referringUser = new Models.UserEntity(attributes.referringUser);\n\t\t\t\t\tthis.referringUserId = this.referringUser.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.registrationFiless !== undefined && Array.isArray(attributes.registrationFiless)) {\n\t\t\t\tfor (const model of attributes.registrationFiless) {\n\t\t\t\t\tif (model instanceof Models.RegistrationFileEntity) {\n\t\t\t\t\t\tthis.registrationFiless.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.registrationFiless.push(new Models.RegistrationFileEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.createdOrganisationId !== undefined) {\n\t\t\t\tthis.createdOrganisationId = attributes.createdOrganisationId;\n\t\t\t}\n\t\t\tif (attributes.createdOrganisation !== undefined) {\n\t\t\t\tif (attributes.createdOrganisation === null) {\n\t\t\t\t\tthis.createdOrganisation = attributes.createdOrganisation;\n\t\t\t\t} else if (attributes.createdOrganisation instanceof Models.OrganisationEntity) {\n\t\t\t\t\tthis.createdOrganisation = attributes.createdOrganisation;\n\t\t\t\t\tthis.createdOrganisationId = attributes.createdOrganisation.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.createdOrganisation = new Models.OrganisationEntity(attributes.createdOrganisation);\n\t\t\t\t\tthis.createdOrganisationId = this.createdOrganisation.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.createdUserId !== undefined) {\n\t\t\t\tthis.createdUserId = attributes.createdUserId;\n\t\t\t}\n\t\t\tif (attributes.createdUser !== undefined) {\n\t\t\t\tif (attributes.createdUser === null) {\n\t\t\t\t\tthis.createdUser = attributes.createdUser;\n\t\t\t\t} else if (attributes.createdUser instanceof Models.UserEntity) {\n\t\t\t\t\tthis.createdUser = attributes.createdUser;\n\t\t\t\t\tthis.createdUserId = attributes.createdUser.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.createdUser = new Models.UserEntity(attributes.createdUser);\n\t\t\t\t\tthis.createdUserId = this.createdUser.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] on begin\n\t\t\tif (!!attributes.parsedRegistrationData) {\n\t\t\t\t// If we create an entity directly, we can assign this without needing to convert to JSON first\n\t\t\t\tthis.parsedRegistrationData = attributes.parsedRegistrationData;\n\t\t\t} else {\n\t\t\t\t// After setting up all the botwritten fields, we also parse the registration data into a usable object\n\t\t\t\tlet registrationData;\n\t\t\t\ttry {\n\t\t\t\t\tregistrationData = JSON.parse(this.registrationData);\n\t\t\t\t} catch (e) {\n\t\t\t\t\tregistrationData = {};\n\t\t\t\t}\n\t\t\t\tthis.parsedRegistrationData = new RegistrationData(registrationData);\n\t\t\t}\n\n\t\t\tif (!!attributes.parsedReferralData) {\n\t\t\t\t// If we create an entity directly, we can assign this without needing to convert to JSON first\n\t\t\t\tthis.parsedReferralData = attributes.parsedReferralData;\n\t\t\t} else {\n\t\t\t\t// After setting up all the botwritten fields, we also parse the registration data into a usable object\n\t\t\t\tlet registrationData;\n\t\t\t\ttry {\n\t\t\t\t\tregistrationData = JSON.parse(this.referralData);\n\t\t\t\t} catch (e) {\n\t\t\t\t\tregistrationData = {};\n\t\t\t\t}\n\t\t\t\tthis.parsedReferralData = new ReferralRegistrationData(registrationData);\n\t\t\t}\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] on begin\n\tpublic listExpands = '';\n\n\tpublic defaultExpands = `\n\t\treferringOrganisation {\n\t\t\t${Models.OrganisationEntity.getAttributes().join('\\n')}\n\t\t}\n\t\treferringUser {\n\t\t\t${Models.UserEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tregistrationFiless {\n\t\t\t${Models.RegistrationFileEntity.getAttributes().join('\\n')}\n\t\t\t${Models.RegistrationFileEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t}\n\t\tcreatedOrganisation {\n\t\t\t${Models.OrganisationEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tcreatedUser {\n\t\t\t${Models.UserEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tregistrationFiless: {},\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'registrationFiless',\n\t\t\t\t\t\t\t'createdOrganisation',\n\t\t\t\t\t\t\t'createdUser',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] on begin\n\tpublic beforeSave() {\n\t\tif (!!this.parsedRegistrationData) {\n\t\t\tthis.registrationData = JSON.stringify(this.parsedRegistrationData.toJSON(\n\t\t\t\t{\n\t\t\t\t\tuser: {},\n\t\t\t\t\torganisation: {\n\t\t\t\t\t\tauthorisedCreditBureaus: {},\n\t\t\t\t\t},\n\t\t\t\t\tbusinessEntitys: {\n\t\t\t\t\t\taddress: {},\n\t\t\t\t\t\tspgss: {},\n\t\t\t\t\t\tapplicationss: {},\n\t\t\t\t\t},\n\t\t\t\t\tindustryCode: {},\n\t\t\t\t},\n\t\t\t));\n\t\t}\n\t\tif (!!this.parsedReferralData) {\n\t\t\tthis.referralData = JSON.stringify(this.parsedReferralData.toJSON(\n\t\t\t\t{\n\t\t\t\t\tuser: {},\n\t\t\t\t\torganisation: {\n\t\t\t\t\t\tprimaryBusinessEntity: {},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t));\n\t\t}\n\t}\n\n\t// Upon finishing the registration wizard, call this function to finalise it\n\tpublic submitRegistration = async (referralPartner = false) => {\n\t\tawait this.save();\n\t\tconst path = referralPartner ? 'submit-referral-partner' : 'submit';\n\t\tconst result = await axios.post(\n\t\t\t`${SERVER_URL}/api/entity/RegistrationEntity/${path}/${this.id}`,\n\t\t);\n\n\t\treturn result.data as boolean;\n\t};\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(RegistrationEntity.prototype, 'created');\nCRUD(modifiedAttr)(RegistrationEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsRegistrationFileEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserRegistrationFileEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsRegistrationFileEntity from 'Models/Security/Acl/VisitorsRegistrationFileEntity';\nimport UserRegistrationFileEntity from 'Models/Security/Acl/UserRegistrationFileEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport { FileListPreview } from 'Views/Components/CRUD/Attributes/AttributeFile';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IRegistrationFileEntityAttributes extends IModelAttributes {\n\tfileId: string;\n\tfile: Blob;\n\n\tregistrationId?: string;\n\tregistration?: Models.RegistrationEntity | Models.IRegistrationEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('RegistrationFileEntity', 'Registration File')\n// % protected region % [Customise your entity metadata here] end\nexport default class RegistrationFileEntity extends Model\n\timplements IRegistrationFileEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsRegistrationFileEntity(),\n\t\tnew UserRegistrationFileEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'File'] off begin\n\t/**\n\t * File\n\t */\n\t@observable\n\t@attribute({ file: 'file' })\n\t@CRUD({\n\t\tname: 'File',\n\t\tdisplayType: 'file',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseUuid,\n\t\tfileAttribute: 'file',\n\t\tdisplayFunction: attr => attr\n\t\t\t? \n\t\t\t: 'No File Attached',\n\t})\n\tpublic fileId: string;\n\n\t@observable\n\tpublic file: Blob;\n\t// % protected region % [Modify props to the crud options here for attribute 'File'] end\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Registration'] off begin\n\t\tname: 'Registration',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 20,\n\t\treferenceTypeFunc: () => Models.RegistrationEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Registration'] end\n\t})\n\tpublic registrationId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic registration: Models.RegistrationEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.file !== undefined) {\n\t\t\t\tthis.file = attributes.file;\n\t\t\t}\n\t\t\tif (attributes.fileId !== undefined) {\n\t\t\t\tthis.fileId = attributes.fileId;\n\t\t\t}\n\t\t\tif (attributes.registrationId !== undefined) {\n\t\t\t\tthis.registrationId = attributes.registrationId;\n\t\t\t}\n\t\t\tif (attributes.registration !== undefined) {\n\t\t\t\tif (attributes.registration === null) {\n\t\t\t\t\tthis.registration = attributes.registration;\n\t\t\t\t} else if (attributes.registration instanceof Models.RegistrationEntity) {\n\t\t\t\t\tthis.registration = attributes.registration;\n\t\t\t\t\tthis.registrationId = attributes.registration.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.registration = new Models.RegistrationEntity(attributes.registration);\n\t\t\t\t\tthis.registrationId = this.registration.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tregistration {\n\t\t\t${Models.RegistrationEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tcontentType: 'multipart/form-data',\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(RegistrationFileEntity.prototype, 'created');\nCRUD(modifiedAttr)(RegistrationFileEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserReportRequest implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsReportRequest implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserReportRequest from 'Models/Security/Acl/UserReportRequest';\nimport VisitorsReportRequest from 'Models/Security/Acl/VisitorsReportRequest';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IReportRequestEntityAttributes extends IModelAttributes {\n\trequestDate: Date;\n\tpaymentTransactionId: string;\n\ttransactionAmount: number;\n\trequestContent: string;\n\n\tbusinessEntityCreditReportSettingsId: string;\n\tbusinessEntityCreditReportSettings: Models.BusinessEntityCreditReportSettingsEntity | Models.IBusinessEntityCreditReportSettingsEntityAttributes;\n\tcreditReportId?: string;\n\tcreditReport?: Models.CreditReportEntity | Models.ICreditReportEntityAttributes;\n\tcustomerId?: string;\n\tcustomer?: Models.CustomerEntity | Models.ICustomerEntityAttributes;\n\tpaymentStatusId: string;\n\tpaymentStatus: Models.PaymentStatusEntity | Models.IPaymentStatusEntityAttributes;\n\tuserId: string;\n\tuser: Models.UserEntity | Models.IUserEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('ReportRequestEntity', 'Report Request')\n// % protected region % [Customise your entity metadata here] end\nexport default class ReportRequestEntity extends Model\n\timplements IReportRequestEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserReportRequest(),\n\t\tnew VisitorsReportRequest(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Request Date'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Request Date',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic requestDate: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Request Date'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Payment TransactionId'] off begin\n\t/**\n\t * Stripe Transaction id\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Payment TransactionId',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic paymentTransactionId: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Payment TransactionId'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Transaction Amount'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Transaction Amount',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic transactionAmount: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Transaction Amount'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Request Content'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Request Content',\n\t\tdisplayType: 'textarea',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic requestContent: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Request Content'] end\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity Credit Report Settings'] off begin\n\t\tname: 'Business Entity Credit Report Settings',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 50,\n\t\treferenceTypeFunc: () => Models.BusinessEntityCreditReportSettingsEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity Credit Report Settings'] end\n\t})\n\tpublic businessEntityCreditReportSettingsId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic businessEntityCreditReportSettings: Models.BusinessEntityCreditReportSettingsEntity;\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Credit Report'] off begin\n\t\tname: 'Credit Report',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 60,\n\t\treferenceTypeFunc: () => Models.CreditReportEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Credit Report'] end\n\t})\n\tpublic creditReportId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic creditReport: Models.CreditReportEntity;\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer'] off begin\n\t\tname: 'Customer',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 70,\n\t\treferenceTypeFunc: () => Models.CustomerEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer'] end\n\t})\n\tpublic customerId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic customer: Models.CustomerEntity;\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Payment Status'] off begin\n\t\tname: 'Payment Status',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 80,\n\t\treferenceTypeFunc: () => Models.PaymentStatusEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Payment Status'] end\n\t})\n\tpublic paymentStatusId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic paymentStatus: Models.PaymentStatusEntity;\n\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'User'] off begin\n\t\tname: 'User',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 90,\n\t\treferenceTypeFunc: () => Models.UserEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'User'] end\n\t})\n\tpublic userId: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic user: Models.UserEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.requestDate !== undefined) {\n\t\t\t\tif (attributes.requestDate === null) {\n\t\t\t\t\tthis.requestDate = attributes.requestDate;\n\t\t\t\t} else {\n\t\t\t\t\tthis.requestDate = moment(attributes.requestDate).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.paymentTransactionId !== undefined) {\n\t\t\t\tthis.paymentTransactionId = attributes.paymentTransactionId;\n\t\t\t}\n\t\t\tif (attributes.transactionAmount !== undefined) {\n\t\t\t\tthis.transactionAmount = attributes.transactionAmount;\n\t\t\t}\n\t\t\tif (attributes.requestContent !== undefined) {\n\t\t\t\tthis.requestContent = attributes.requestContent;\n\t\t\t}\n\t\t\tif (attributes.businessEntityCreditReportSettingsId !== undefined) {\n\t\t\t\tthis.businessEntityCreditReportSettingsId = attributes.businessEntityCreditReportSettingsId;\n\t\t\t}\n\t\t\tif (attributes.businessEntityCreditReportSettings !== undefined) {\n\t\t\t\tif (attributes.businessEntityCreditReportSettings === null) {\n\t\t\t\t\tthis.businessEntityCreditReportSettings = attributes.businessEntityCreditReportSettings;\n\t\t\t\t} else if (attributes.businessEntityCreditReportSettings instanceof Models.BusinessEntityCreditReportSettingsEntity) {\n\t\t\t\t\tthis.businessEntityCreditReportSettings = attributes.businessEntityCreditReportSettings;\n\t\t\t\t\tthis.businessEntityCreditReportSettingsId = attributes.businessEntityCreditReportSettings.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.businessEntityCreditReportSettings = new Models.BusinessEntityCreditReportSettingsEntity(attributes.businessEntityCreditReportSettings);\n\t\t\t\t\tthis.businessEntityCreditReportSettingsId = this.businessEntityCreditReportSettings.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.creditReportId !== undefined) {\n\t\t\t\tthis.creditReportId = attributes.creditReportId;\n\t\t\t}\n\t\t\tif (attributes.creditReport !== undefined) {\n\t\t\t\tif (attributes.creditReport === null) {\n\t\t\t\t\tthis.creditReport = attributes.creditReport;\n\t\t\t\t} else if (attributes.creditReport instanceof Models.CreditReportEntity) {\n\t\t\t\t\tthis.creditReport = attributes.creditReport;\n\t\t\t\t\tthis.creditReportId = attributes.creditReport.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.creditReport = new Models.CreditReportEntity(attributes.creditReport);\n\t\t\t\t\tthis.creditReportId = this.creditReport.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.customerId !== undefined) {\n\t\t\t\tthis.customerId = attributes.customerId;\n\t\t\t}\n\t\t\tif (attributes.customer !== undefined) {\n\t\t\t\tif (attributes.customer === null) {\n\t\t\t\t\tthis.customer = attributes.customer;\n\t\t\t\t} else if (attributes.customer instanceof Models.CustomerEntity) {\n\t\t\t\t\tthis.customer = attributes.customer;\n\t\t\t\t\tthis.customerId = attributes.customer.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.customer = new Models.CustomerEntity(attributes.customer);\n\t\t\t\t\tthis.customerId = this.customer.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.paymentStatusId !== undefined) {\n\t\t\t\tthis.paymentStatusId = attributes.paymentStatusId;\n\t\t\t}\n\t\t\tif (attributes.paymentStatus !== undefined) {\n\t\t\t\tif (attributes.paymentStatus === null) {\n\t\t\t\t\tthis.paymentStatus = attributes.paymentStatus;\n\t\t\t\t} else if (attributes.paymentStatus instanceof Models.PaymentStatusEntity) {\n\t\t\t\t\tthis.paymentStatus = attributes.paymentStatus;\n\t\t\t\t\tthis.paymentStatusId = attributes.paymentStatus.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.paymentStatus = new Models.PaymentStatusEntity(attributes.paymentStatus);\n\t\t\t\t\tthis.paymentStatusId = this.paymentStatus.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.userId !== undefined) {\n\t\t\t\tthis.userId = attributes.userId;\n\t\t\t}\n\t\t\tif (attributes.user !== undefined) {\n\t\t\t\tif (attributes.user === null) {\n\t\t\t\t\tthis.user = attributes.user;\n\t\t\t\t} else if (attributes.user instanceof Models.UserEntity) {\n\t\t\t\t\tthis.user = attributes.user;\n\t\t\t\t\tthis.userId = attributes.user.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.user = new Models.UserEntity(attributes.user);\n\t\t\t\t\tthis.userId = this.user.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tbusinessEntityCreditReportSettings {\n\t\t\t${Models.BusinessEntityCreditReportSettingsEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tcreditReport {\n\t\t\t${Models.CreditReportEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tcustomer {\n\t\t\t${Models.CustomerEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tpaymentStatus {\n\t\t\t${Models.PaymentStatusEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tuser {\n\t\t\t${Models.UserEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(ReportRequestEntity.prototype, 'created');\nCRUD(modifiedAttr)(ReportRequestEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsSmsToken implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserSmsToken implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsSmsToken from 'Models/Security/Acl/VisitorsSmsToken';\nimport UserSmsToken from 'Models/Security/Acl/UserSmsToken';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface ISmsTokenEntityAttributes extends IModelAttributes {\n\ttoken: number;\n\texpiry: Date;\n\ttokencount: number;\n\n\tesignceremonysignee?: Models.EsignceremonysigneeEntity |\n\t\tModels.IEsignceremonysigneeEntityAttributes;\n\tesignceremonywitness?: Models.EsignceremonywitnessEntity |\n\t\tModels.IEsignceremonywitnessEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('SmsTokenEntity', 'SMS Token')\n// % protected region % [Customise your entity metadata here] end\nexport default class SmsTokenEntity extends Model\n\timplements ISmsTokenEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsSmsToken(),\n\t\tnew UserSmsToken(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Token'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Token',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic token: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Token'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Expiry'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Expiry',\n\t\tdisplayType: 'datetimepicker',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t})\n\tpublic expiry: Date;\n\t// % protected region % [Modify props to the crud options here for attribute 'Expiry'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'TokenCount'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'TokenCount',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic tokencount: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'TokenCount'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignCeremonySignee'] off begin\n\t\tname: 'ESignCeremonySignee',\n\t\tdisplayType: 'displayfield',\n\t\torder: 40,\n\t\tinputProps: {\n\t\t\tdisplayFunction: (model?: Models.EsignceremonysigneeEntity) => model ? model.getDisplayName() : null,\n\t\t},\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignCeremonySignee'] end\n\t})\n\tpublic esignceremonysignee?: Models.EsignceremonysigneeEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignCeremonyWitness'] off begin\n\t\tname: 'ESignCeremonyWitness',\n\t\tdisplayType: 'displayfield',\n\t\torder: 50,\n\t\tinputProps: {\n\t\t\tdisplayFunction: (model?: Models.EsignceremonywitnessEntity) => model ? model.getDisplayName() : null,\n\t\t},\n\t\t// % protected region % [Modify props to the crud options here for reference 'ESignCeremonyWitness'] end\n\t})\n\tpublic esignceremonywitness?: Models.EsignceremonywitnessEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.token !== undefined) {\n\t\t\t\tthis.token = attributes.token;\n\t\t\t}\n\t\t\tif (attributes.expiry !== undefined) {\n\t\t\t\tif (attributes.expiry === null) {\n\t\t\t\t\tthis.expiry = attributes.expiry;\n\t\t\t\t} else {\n\t\t\t\t\tthis.expiry = moment(attributes.expiry).toDate();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.tokencount !== undefined) {\n\t\t\t\tthis.tokencount = attributes.tokencount;\n\t\t\t}\n\t\t\tif (attributes.esignceremonysignee !== undefined) {\n\t\t\t\tif (attributes.esignceremonysignee === null) {\n\t\t\t\t\tthis.esignceremonysignee = attributes.esignceremonysignee;\n\t\t\t\t} else if (attributes.esignceremonysignee instanceof Models.EsignceremonysigneeEntity) {\n\t\t\t\t\tthis.esignceremonysignee = attributes.esignceremonysignee;\n\t\t\t\t} else {\n\t\t\t\t\tthis.esignceremonysignee = new Models.EsignceremonysigneeEntity(attributes.esignceremonysignee);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.esignceremonywitness !== undefined) {\n\t\t\t\tif (attributes.esignceremonywitness === null) {\n\t\t\t\t\tthis.esignceremonywitness = attributes.esignceremonywitness;\n\t\t\t\t} else if (attributes.esignceremonywitness instanceof Models.EsignceremonywitnessEntity) {\n\t\t\t\t\tthis.esignceremonywitness = attributes.esignceremonywitness;\n\t\t\t\t} else {\n\t\t\t\t\tthis.esignceremonywitness = new Models.EsignceremonywitnessEntity(attributes.esignceremonywitness);\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tesignceremonysignee {\n\t\t\t${Models.EsignceremonysigneeEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tesignceremonywitness {\n\t\t\t${Models.EsignceremonywitnessEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(SmsTokenEntity.prototype, 'created');\nCRUD(modifiedAttr)(SmsTokenEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserSpgEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsSpgEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport UserSpgEntity from 'Models/Security/Acl/UserSpgEntity';\nimport VisitorsSpgEntity from 'Models/Security/Acl/VisitorsSpgEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport type { Errors } from '../../Util/CustomTypes';\nimport { isPhone } from '../../Validators/Functions/Custom';\nimport { isEmail } from '../../Validators/Functions/Email';\n// % protected region % [Add any further imports here] end\n\nexport interface ISpgEntityAttributes extends IModelAttributes {\n\tcontactName: string;\n\torganisationalNumbers: string;\n\tspgNumber: string;\n\tphone: string;\n\taccessCode: string;\n\tisActive: boolean;\n\tlegacyID: string;\n\temail: string;\n\tspgName: string;\n\n\tbusinessEntityId?: string;\n\tbusinessEntity?: Models.BusinessEntity | Models.IBusinessEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('SpgEntity', 'SPG')\n// % protected region % [Customise your entity metadata here] end\nexport default class SpgEntity extends Model\n\timplements ISpgEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew UserSpgEntity(),\n\t\tnew VisitorsSpgEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Contact Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Contact Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic contactName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Contact Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Organisational Numbers'] off begin\n\t/**\n\t * Comma seperated string of organisation numbers\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Organisational Numbers',\n\t\tdisplayType: 'textfield',\n\t\torder: 20,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic organisationalNumbers: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Organisational Numbers'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'SPG Number'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'SPG Number',\n\t\tdisplayType: 'textfield',\n\t\torder: 30,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic spgNumber: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'SPG Number'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Phone'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Phone',\n\t\tdisplayType: 'textfield',\n\t\torder: 40,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic phone: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Phone'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Access Code'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Access Code',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic accessCode: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Access Code'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Is Active',\n\t\tdisplayType: 'checkbox',\n\t\torder: 60,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic isActive: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Legacy ID'] off begin\n\t@Validators.Unique()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Legacy ID',\n\t\tdisplayType: 'textfield',\n\t\torder: 70,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic legacyID: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Legacy ID'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Email'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Email',\n\t\tdisplayType: 'textfield',\n\t\torder: 80,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic email: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Email'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'SPG Name'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'SPG Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 90,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic spgName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'SPG Name'] end\n\n\t/**\n\t * PPSR SPGs\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] off begin\n\t\tname: 'Business Entity',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 100,\n\t\treferenceTypeFunc: () => Models.BusinessEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] end\n\t})\n\tpublic businessEntityId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic businessEntity: Models.BusinessEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] on begin\n\t@action public validateField = async (field: string) => {\n\t\tswitch (field) {\n\t\t\tcase 'phone': {\n\t\t\t\tthis.setFieldError('phone', !!this.phone && !isPhone(this.phone), 'Phone number must be valid');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'email': {\n\t\t\t\tthis.setFieldError('email', !!this.email && !isEmail(this.email), 'Email address must be valid');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic validateAllFields = async () => {\n\t\tconst fieldList = ['phone', 'email'];\n\t\tconst validationPromises = fieldList.map(field => this.validateField(field));\n\t\tawait Promise.all(validationPromises);\n\t}\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.contactName !== undefined) {\n\t\t\t\tthis.contactName = attributes.contactName;\n\t\t\t}\n\t\t\tif (attributes.organisationalNumbers !== undefined) {\n\t\t\t\tthis.organisationalNumbers = attributes.organisationalNumbers;\n\t\t\t}\n\t\t\tif (attributes.spgNumber !== undefined) {\n\t\t\t\tthis.spgNumber = attributes.spgNumber;\n\t\t\t}\n\t\t\tif (attributes.phone !== undefined) {\n\t\t\t\tthis.phone = attributes.phone;\n\t\t\t}\n\t\t\tif (attributes.accessCode !== undefined) {\n\t\t\t\tthis.accessCode = attributes.accessCode;\n\t\t\t}\n\t\t\tif (attributes.isActive !== undefined) {\n\t\t\t\tthis.isActive = attributes.isActive;\n\t\t\t}\n\t\t\tif (attributes.legacyID !== undefined) {\n\t\t\t\tthis.legacyID = attributes.legacyID;\n\t\t\t}\n\t\t\tif (attributes.email !== undefined) {\n\t\t\t\tthis.email = attributes.email;\n\t\t\t}\n\t\t\tif (attributes.spgName !== undefined) {\n\t\t\t\tthis.spgName = attributes.spgName;\n\t\t\t}\n\t\t\tif (attributes.businessEntityId !== undefined) {\n\t\t\t\tthis.businessEntityId = attributes.businessEntityId;\n\t\t\t}\n\t\t\tif (attributes.businessEntity !== undefined) {\n\t\t\t\tif (attributes.businessEntity === null) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t} else if (attributes.businessEntity instanceof Models.BusinessEntity) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t\tthis.businessEntityId = attributes.businessEntity.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.businessEntity = new Models.BusinessEntity(attributes.businessEntity);\n\t\t\t\t\tthis.businessEntityId = this.businessEntity.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tbusinessEntity {\n\t\t\t${Models.BusinessEntity.getAttributes().join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] on begin\n\tpublic validateDetailsFields = async () => {\n\t\tconst fieldList = [\n\t\t\t'phone', 'email',\n\t\t];\n\t\tconst validationPromises = fieldList.map(field => this.validateField(field));\n\t\tawait Promise.all(validationPromises);\n\t}\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(SpgEntity.prototype, 'created');\nCRUD(modifiedAttr)(SpgEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsTrustEntityCodesEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserTrustEntityCodesEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsTrustEntityCodesEntity from 'Models/Security/Acl/VisitorsTrustEntityCodesEntity';\nimport UserTrustEntityCodesEntity from 'Models/Security/Acl/UserTrustEntityCodesEntity';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport { gql } from '@apollo/client';\nimport { store } from 'Models/Store';\nimport { computed, runInAction } from 'mobx';\n// % protected region % [Add any further imports here] end\n\nexport interface ITrustEntityCodesEntityAttributes extends IModelAttributes {\n\tentityCode: string;\n\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('TrustEntityCodesEntity', 'Trust Entity Codes')\n// % protected region % [Customise your entity metadata here] end\nexport default class TrustEntityCodesEntity extends Model\n\timplements ITrustEntityCodesEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsTrustEntityCodesEntity(),\n\t\tnew UserTrustEntityCodesEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Code'] off begin\n\t/**\n\t * The entity code\n\t */\n\t@Validators.Required()\n\t@Validators.Unique()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Entity Code',\n\t\tdisplayType: 'textfield',\n\t\torder: 10,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic entityCode: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Entity Code'] end\n\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.entityCode !== undefined) {\n\t\t\t\tthis.entityCode = attributes.entityCode;\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t};\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.id;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] on begin\n\t// We need trustee codes in a lot of places throughout the app, and it's unlikely to change between requests,\n\t// so we use a static variable here to cache the value to prevent fetching it more than once\n\t@observable private static _trusteeCodes = [] as string[];\n\t@observable private static _promise = null as Promise|null;\n\tpublic static trusteeCodes(): Promise {\n\t\tif (TrustEntityCodesEntity._promise) {\n\t\t\treturn TrustEntityCodesEntity._promise;\n\t\t}\n\n\t\tTrustEntityCodesEntity._promise = new Promise(resolve => {\n\t\t\tstore.apolloClient.query({\n\t\t\t\tquery: gql`\n\t\t\t\t\tquery {\n\t\t\t\t\t\ttrustEntityCodesEntitys {\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\tentityCode\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t`,\n\t\t\t\tfetchPolicy: 'no-cache',\n\t\t\t}).then(({ data }) => {\n\t\t\t\trunInAction(() => {\n\t\t\t\t\tTrustEntityCodesEntity._trusteeCodes = data.trustEntityCodesEntitys\n\t\t\t\t\t\t.map((code: { entityCode: string }) => code.entityCode);\n\n\t\t\t\t\tresolve(TrustEntityCodesEntity._trusteeCodes);\n\t\t\t\t});\n\t\t\t});\n\t\t});\n\n\t\treturn TrustEntityCodesEntity._promise;\n\t}\n\n\t// If we want to get the trustee codes, but can't wait, then this will return the current value\n\t// It will still fetch the trustee codes, but you won't see the results until a future call\n\t// If called from within an observer, though, it'll still rerender because this is a computed field\n\t@computed\n\tpublic static get trusteeCodesSync() {\n\t\tTrustEntityCodesEntity.trusteeCodes();\n\t\treturn TrustEntityCodesEntity._trusteeCodes;\n\t}\n\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(TrustEntityCodesEntity.prototype, 'created');\nCRUD(modifiedAttr)(TrustEntityCodesEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsUserEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserUserEntity implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { action, observable } from 'mobx';\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n\tReferencePath,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport * as Validators from 'Validators';\nimport { CRUD } from '../CRUDOptions';\nimport * as AttrUtils from 'Util/AttributeUtils';\nimport { IAcl } from 'Models/Security/IAcl';\nimport {\n\tmakeFetchManyToManyFunc,\n\tmakeJoinEqualsFunc,\n\tmakeFetchOneToManyFunc,\n\tmakeEnumFetchFunction,\n\tgetCreatedModifiedCrudOptions,\n} from 'Util/EntityUtils';\nimport VisitorsUserEntity from 'Models/Security/Acl/VisitorsUserEntity';\nimport UserUserEntity from 'Models/Security/Acl/UserUserEntity';\nimport * as Enums from '../Enums';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport SuperAdministratorScheme from '../Security/Acl/SuperAdministratorScheme';\n// % protected region % [Add any further imports here] on begin\nimport { computed } from 'mobx';\nimport { store } from 'Models/Store';\nimport { gql } from '@apollo/client';\nimport { UserPermissions } from 'Models/UserPermissions';\nimport { UserTypeOrder } from '../Enums';\n// % protected region % [Add any further imports here] end\n\nexport interface IUserEntityAttributes extends IModelAttributes {\n\temail: string;\n\tuserName: string;\n\ttwoFactorEnabled: boolean;\n\tphone: string;\n\tcreditApprovalLimit: number;\n\tisActive: boolean;\n\tfirstName: string;\n\tcanAccessPPSR: boolean;\n\tenableEmailNotifications: boolean;\n\tlegacyID: number;\n\tcanAccessApprove: boolean;\n\tcanAccessIntel: boolean;\n\tlastName: string;\n\tuserType: Enums.userType;\n\tpermissionOverrides: string;\n\n\tatbFiles: Array<\n\t\t| Models.AtbFileEntity\n\t\t| Models.IAtbFileEntityAttributes\n\t>;\n\tcustomerAuditss: Array<\n\t\t| Models.CustomerAuditEntity\n\t\t| Models.ICustomerAuditEntityAttributes\n\t>;\n\tpaymentmethods: Array<\n\t\t| Models.PaymentMethodEntity\n\t\t| Models.IPaymentMethodEntityAttributes\n\t>;\n\treferredRegistrationss: Array<\n\t\t| Models.RegistrationEntity\n\t\t| Models.IRegistrationEntityAttributes\n\t>;\n\tregistration?: Models.RegistrationEntity |\n\t\tModels.IRegistrationEntityAttributes;\n\treportRequests: Array<\n\t\t| Models.ReportRequestEntity\n\t\t| Models.IReportRequestEntityAttributes\n\t>;\n\tbusinessEntitys: Array<\n\t\t| Models.BusinessEntityUser\n\t\t| Models.IBusinessEntityUserAttributes\n\t>;\n\torganisationId?: string;\n\torganisation?: Models.OrganisationEntity | Models.IOrganisationEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] on begin\n\tpassword?: string; // Used when creating a new user through GraphQL.\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n// % protected region % [Customise your entity metadata here] off begin\n@entity('UserEntity', 'User')\n// % protected region % [Customise your entity metadata here] end\nexport default class UserEntity extends Model\n\timplements IUserEntityAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew SuperAdministratorScheme(),\n\t\tnew VisitorsUserEntity(),\n\t\tnew UserUserEntity(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in create operations.\n\t */\n\tpublic static excludeFromCreate: string[] = [\n\t\t// % protected region % [Add any custom create exclusions here] off begin\n\t\t// % protected region % [Add any custom create exclusions here] end\n\t];\n\n\t/**\n\t * Fields to exclude from the JSON serialization in update operations.\n\t */\n\tpublic static excludeFromUpdate: string[] = [\n\t\t'email',\n\t\t'userName',\n\t\t'twoFactorEnabled',\n\t\t// % protected region % [Add any custom update exclusions here] off begin\n\t\t// % protected region % [Add any custom update exclusions here] end\n\t];\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Email'] off begin\n\t@Validators.Email()\n\t@Validators.Required()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Email',\n\t\tdisplayType: 'displayfield',\n\t\torder: 10,\n\t\tcreateFieldType: 'textfield',\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic email: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Email'] end\n\n\t@observable\n\t@attribute()\n\t// % protected region % [Modify props to the crud options here for attribute 'TwoFactorEnabled'] off begin\n\t@CRUD({\n\t\tname: 'TwoFactorEnabled',\n\t\tdisplayType: 'displayfield',\n\t\torder: 20,\n\t\tcreateFieldType: 'textfield',\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic twoFactorEnabled: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'TwoFactorEnabled'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'UserName'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'UserName',\n\t\tdisplayType: 'hidden',\n\t})\n\tpublic userName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'UserName'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Password'] off begin\n\t@Validators.Length(12, 128)\n\t@observable\n\t@CRUD({\n\t\tname: 'Password',\n\t\tdisplayType: 'hidden',\n\t\torder: 30,\n\t\tcreateFieldType: 'password',\n\t})\n\tpublic password: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Password'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Confirm Password'] off begin\n\t@Validators.Custom('Password Match', (e: string, target: UserEntity) => {\n\t\treturn new Promise(resolve => resolve(target.password !== e ? 'Password fields do not match' : null));\n\t})\n\t@observable\n\t@CRUD({\n\t\tname: 'Confirm Password',\n\t\tdisplayType: 'hidden',\n\t\torder: 40,\n\t\tcreateFieldType: 'password',\n\t})\n\tpublic _confirmPassword: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Confirm Password'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Phone'] off begin\n\t/**\n\t * Phone\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Phone',\n\t\tdisplayType: 'textfield',\n\t\torder: 50,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic phone: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Phone'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Credit Approval Limit'] off begin\n\t@Validators.Numeric()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Credit Approval Limit',\n\t\tdisplayType: 'textfield',\n\t\torder: 60,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseFloat,\n\t})\n\tpublic creditApprovalLimit: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Credit Approval Limit'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] off begin\n\t/**\n\t * Is Active\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Is Active',\n\t\tdisplayType: 'checkbox',\n\t\torder: 70,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic isActive: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Is Active'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'First Name'] off begin\n\t/**\n\t * First Name\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'First Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 80,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic firstName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'First Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Can Access PPSR'] off begin\n\t/**\n\t * Can Access PPSR\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Can Access PPSR',\n\t\tdisplayType: 'checkbox',\n\t\torder: 90,\n\t\theaderColumn: true,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic canAccessPPSR: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Can Access PPSR'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Enable Email Notifications'] off begin\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Enable Email Notifications',\n\t\tdisplayType: 'checkbox',\n\t\torder: 100,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic enableEmailNotifications: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Enable Email Notifications'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Legacy ID'] off begin\n\t@Validators.Integer()\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Legacy ID',\n\t\tdisplayType: 'textfield',\n\t\torder: 110,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseInteger,\n\t})\n\tpublic legacyID: number;\n\t// % protected region % [Modify props to the crud options here for attribute 'Legacy ID'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Can Access Approve'] off begin\n\t/**\n\t * Can Access Approve\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Can Access Approve',\n\t\tdisplayType: 'checkbox',\n\t\torder: 120,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic canAccessApprove: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Can Access Approve'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Can Access Intel'] off begin\n\t/**\n\t * Can Access Intel\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Can Access Intel',\n\t\tdisplayType: 'checkbox',\n\t\torder: 130,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseBoolean,\n\t\tdisplayFunction: attr => attr ? 'True' : 'False',\n\t})\n\tpublic canAccessIntel: boolean;\n\t// % protected region % [Modify props to the crud options here for attribute 'Can Access Intel'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Last Name'] off begin\n\t/**\n\t * Last Name\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Last Name',\n\t\tdisplayType: 'textfield',\n\t\torder: 140,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic lastName: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Last Name'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'User Type'] off begin\n\t/**\n\t * User Type\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'User Type',\n\t\tdisplayType: 'enum-combobox',\n\t\torder: 150,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: (attr: string) => {\n\t\t\treturn AttrUtils.standardiseEnum(attr, Enums.userTypeOptions);\n\t\t},\n\t\tenumResolveFunction: makeEnumFetchFunction(Enums.userTypeOptions),\n\t\tdisplayFunction: (attr: Enums.userType) => Enums.userTypeOptions[attr],\n\t})\n\tpublic userType: Enums.userType;\n\t// % protected region % [Modify props to the crud options here for attribute 'User Type'] end\n\n\t// % protected region % [Modify props to the crud options here for attribute 'Permission Overrides'] off begin\n\t/**\n\t * Permission Overrides\n\t */\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\tname: 'Permission Overrides',\n\t\tdisplayType: 'textfield',\n\t\torder: 160,\n\t\tsearchable: true,\n\t\tsearchFunction: 'like',\n\t\tsearchTransform: AttrUtils.standardiseString,\n\t})\n\tpublic permissionOverrides: string;\n\t// % protected region % [Modify props to the crud options here for attribute 'Permission Overrides'] end\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATB File'] off begin\n\t\tname: 'ATB Files',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 170,\n\t\treferenceTypeFunc: () => Models.AtbFileEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'atbFiles',\n\t\t\toppositeEntity: () => Models.AtbFileEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'ATB File'] end\n\t})\n\tpublic atbFiles: Models.AtbFileEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer Audits'] off begin\n\t\tname: 'Customer Auditss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 180,\n\t\treferenceTypeFunc: () => Models.CustomerAuditEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'customerAuditss',\n\t\t\toppositeEntity: () => Models.CustomerAuditEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Customer Audits'] end\n\t})\n\tpublic customerAuditss: Models.CustomerAuditEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'PaymentMethod'] off begin\n\t\tname: 'PaymentMethods',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 190,\n\t\treferenceTypeFunc: () => Models.PaymentMethodEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'paymentmethods',\n\t\t\toppositeEntity: () => Models.PaymentMethodEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'PaymentMethod'] end\n\t})\n\tpublic paymentmethods: Models.PaymentMethodEntity[] = [];\n\n\t/**\n\t * Keep track of users who create referrals\n\t */\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Referred Registrations'] off begin\n\t\tname: 'Referred Registrationss',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 200,\n\t\treferenceTypeFunc: () => Models.RegistrationEntity,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'referredRegistrationss',\n\t\t\toppositeEntity: () => Models.RegistrationEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Referred Registrations'] end\n\t})\n\tpublic referredRegistrationss: Models.RegistrationEntity[] = [];\n\n\t/**\n\t * Registration which created this user\n\t */\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Registration'] off begin\n\t\tname: 'Registration',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 210,\n\t\treferenceTypeFunc: () => Models.RegistrationEntity,\n\t\toptionEqualFunc: (model, option) => model.id === option,\n\t\tinputProps: {\n\t\t\tfetchReferenceEntity: true,\n\t\t},\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'registrations',\n\t\t\toppositeEntity: () => Models.RegistrationEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Registration'] end\n\t})\n\tpublic registration?: Models.RegistrationEntity;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Report Request'] off begin\n\t\tname: 'Report Requests',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 220,\n\t\treferenceTypeFunc: () => Models.ReportRequestEntity,\n\t\tdisableDefaultOptionRemoval: true,\n\t\treferenceResolveFunction: makeFetchOneToManyFunc({\n\t\t\trelationName: 'reportRequests',\n\t\t\toppositeEntity: () => Models.ReportRequestEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Report Request'] end\n\t})\n\tpublic reportRequests: Models.ReportRequestEntity[] = [];\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: true })\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] off begin\n\t\tname: 'Business Entity',\n\t\tdisplayType: 'reference-multicombobox',\n\t\torder: 230,\n\t\tisJoinEntity: true,\n\t\treferenceTypeFunc: () => Models.BusinessEntityUser,\n\t\toptionEqualFunc: makeJoinEqualsFunc('businessEntityId'),\n\t\treferenceResolveFunction: makeFetchManyToManyFunc({\n\t\t\tentityName: 'userEntity',\n\t\t\toppositeEntityName: 'businessEntity',\n\t\t\trelationName: 'user',\n\t\t\trelationOppositeName: 'businessEntity',\n\t\t\tentity: () => Models.UserEntity,\n\t\t\tjoinEntity: () => Models.BusinessEntityUser,\n\t\t\toppositeEntity: () => Models.BusinessEntity,\n\t\t}),\n\t\t// % protected region % [Modify props to the crud options here for reference 'Business Entity'] end\n\t})\n\tpublic businessEntitys: Models.BusinessEntityUser[] = [];\n\n\t@observable\n\t@attribute()\n\t@CRUD({\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] off begin\n\t\tname: 'Organisation',\n\t\tdisplayType: 'reference-combobox',\n\t\torder: 240,\n\t\treferenceTypeFunc: () => Models.OrganisationEntity,\n\t\t// % protected region % [Modify props to the crud options here for reference 'Organisation'] end\n\t})\n\tpublic organisationId?: string;\n\n\t@observable\n\t@attribute({ isReference: true, manyReference: false })\n\tpublic organisation: Models.OrganisationEntity;\n\n\t// % protected region % [Add any custom attributes to the model here] on begin\n\t// Add custom getters and setters to convert string to JSON\n\t@computed get permissionOverridesObject(): UserPermissions | undefined {\n\t\tif (this.permissionOverrides === '' || this.permissionOverrides === null) {\n\t\t\treturn undefined;\n\t\t}\n\t\treturn new UserPermissions(JSON.parse(this.permissionOverrides));\n\t}\n\n\tset permissionOverridesObject(value: UserPermissions | undefined) {\n\t\tthis.permissionOverrides = !value ? '' : JSON.stringify(value);\n\t}\n\n\t// allows us to use the setter in oneline\n\tpublic setPermission(userPermissions: UserPermissions, permission: string, value: (string | boolean | undefined)) {\n\t\tuserPermissions[permission] = value;\n\t\tthis.permissionOverridesObject = userPermissions;\n\t}\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\t// eslint-disable-next-line @typescript-eslint/no-useless-constructor\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t/**\n\t * Assigns fields from a passed in JSON object to the fields in this model.\n\t * Any reference objects that are passed in are converted to models if they are not already.\n\t * This function is called from the constructor to assign the initial fields.\n\t */\n\t@action\n\tpublic assignAttributes(attributes?: Partial) {\n\t\t// % protected region % [Override assign attributes here] off begin\n\t\tsuper.assignAttributes(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.email !== undefined) {\n\t\t\t\tthis.email = attributes.email;\n\t\t\t}\n\t\t\tif (attributes.userName !== undefined) {\n\t\t\t\tthis.userName = attributes.userName;\n\t\t\t}\n\t\t\tif (attributes.twoFactorEnabled !== undefined) {\n\t\t\t\tthis.twoFactorEnabled = attributes.twoFactorEnabled;\n\t\t\t}\n\t\t\tif (attributes.phone !== undefined) {\n\t\t\t\tthis.phone = attributes.phone;\n\t\t\t}\n\t\t\tif (attributes.creditApprovalLimit !== undefined) {\n\t\t\t\tthis.creditApprovalLimit = attributes.creditApprovalLimit;\n\t\t\t}\n\t\t\tif (attributes.isActive !== undefined) {\n\t\t\t\tthis.isActive = attributes.isActive;\n\t\t\t}\n\t\t\tif (attributes.firstName !== undefined) {\n\t\t\t\tthis.firstName = attributes.firstName;\n\t\t\t}\n\t\t\tif (attributes.canAccessPPSR !== undefined) {\n\t\t\t\tthis.canAccessPPSR = attributes.canAccessPPSR;\n\t\t\t}\n\t\t\tif (attributes.enableEmailNotifications !== undefined) {\n\t\t\t\tthis.enableEmailNotifications = attributes.enableEmailNotifications;\n\t\t\t}\n\t\t\tif (attributes.legacyID !== undefined) {\n\t\t\t\tthis.legacyID = attributes.legacyID;\n\t\t\t}\n\t\t\tif (attributes.canAccessApprove !== undefined) {\n\t\t\t\tthis.canAccessApprove = attributes.canAccessApprove;\n\t\t\t}\n\t\t\tif (attributes.canAccessIntel !== undefined) {\n\t\t\t\tthis.canAccessIntel = attributes.canAccessIntel;\n\t\t\t}\n\t\t\tif (attributes.lastName !== undefined) {\n\t\t\t\tthis.lastName = attributes.lastName;\n\t\t\t}\n\t\t\tif (attributes.userType !== undefined) {\n\t\t\t\tthis.userType = attributes.userType;\n\t\t\t}\n\t\t\tif (attributes.permissionOverrides !== undefined) {\n\t\t\t\tthis.permissionOverrides = attributes.permissionOverrides;\n\t\t\t}\n\t\t\tif (attributes.atbFiles !== undefined && Array.isArray(attributes.atbFiles)) {\n\t\t\t\tfor (const model of attributes.atbFiles) {\n\t\t\t\t\tif (model instanceof Models.AtbFileEntity) {\n\t\t\t\t\t\tthis.atbFiles.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.atbFiles.push(new Models.AtbFileEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.customerAuditss !== undefined && Array.isArray(attributes.customerAuditss)) {\n\t\t\t\tfor (const model of attributes.customerAuditss) {\n\t\t\t\t\tif (model instanceof Models.CustomerAuditEntity) {\n\t\t\t\t\t\tthis.customerAuditss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.customerAuditss.push(new Models.CustomerAuditEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.paymentmethods !== undefined && Array.isArray(attributes.paymentmethods)) {\n\t\t\t\tfor (const model of attributes.paymentmethods) {\n\t\t\t\t\tif (model instanceof Models.PaymentMethodEntity) {\n\t\t\t\t\t\tthis.paymentmethods.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.paymentmethods.push(new Models.PaymentMethodEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.referredRegistrationss !== undefined && Array.isArray(attributes.referredRegistrationss)) {\n\t\t\t\tfor (const model of attributes.referredRegistrationss) {\n\t\t\t\t\tif (model instanceof Models.RegistrationEntity) {\n\t\t\t\t\t\tthis.referredRegistrationss.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.referredRegistrationss.push(new Models.RegistrationEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.registration !== undefined) {\n\t\t\t\tif (attributes.registration === null) {\n\t\t\t\t\tthis.registration = attributes.registration;\n\t\t\t\t} else if (attributes.registration instanceof Models.RegistrationEntity) {\n\t\t\t\t\tthis.registration = attributes.registration;\n\t\t\t\t} else {\n\t\t\t\t\tthis.registration = new Models.RegistrationEntity(attributes.registration);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.reportRequests !== undefined && Array.isArray(attributes.reportRequests)) {\n\t\t\t\tfor (const model of attributes.reportRequests) {\n\t\t\t\t\tif (model instanceof Models.ReportRequestEntity) {\n\t\t\t\t\t\tthis.reportRequests.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.reportRequests.push(new Models.ReportRequestEntity(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.businessEntitys !== undefined && Array.isArray(attributes.businessEntitys)) {\n\t\t\t\tfor (const model of attributes.businessEntitys) {\n\t\t\t\t\tif (model instanceof Models.BusinessEntityUser) {\n\t\t\t\t\t\tthis.businessEntitys.push(model);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.businessEntitys.push(new Models.BusinessEntityUser(model));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (attributes.organisationId !== undefined) {\n\t\t\t\tthis.organisationId = attributes.organisationId;\n\t\t\t}\n\t\t\tif (attributes.organisation !== undefined) {\n\t\t\t\tif (attributes.organisation === null) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t} else if (attributes.organisation instanceof Models.OrganisationEntity) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t\tthis.organisationId = attributes.organisation.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.organisation = new Models.OrganisationEntity(attributes.organisation);\n\t\t\t\t\tthis.organisationId = this.organisation.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// % protected region % [Override assign attributes here] end\n\n\t\t\t// % protected region % [Add any extra assign attributes logic here] off begin\n\t\t\t// % protected region % [Add any extra assign attributes logic here] end\n\t\t}\n\t}\n\n\t/**\n\t * Additional fields that are added to GraphQL queries when using the\n\t * the managed model APIs.\n\t */\n\t// % protected region % [Customize Default Expands here] off begin\n\tpublic defaultExpands = `\n\t\tbusinessEntitys {\n\t\t\t${Models.BusinessEntityUser.getAttributes().join('\\n')}\n\t\t\tbusinessEntity {\n\t\t\t\t${Models.BusinessEntity.getAttributes().join('\\n')}\n\t\t\t}\n\t\t}\n\t\tatbFiles {\n\t\t\t${Models.AtbFileEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tcustomerAuditss {\n\t\t\t${Models.CustomerAuditEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tpaymentmethods {\n\t\t\t${Models.PaymentMethodEntity.getAttributes().join('\\n')}\n\t\t}\n\t\treferredRegistrationss {\n\t\t\t${Models.RegistrationEntity.getAttributes().join('\\n')}\n\t\t}\n\t\tregistration {\n\t\t\t${Models.RegistrationEntity.getAttributes().join('\\n')}\n\t\t}\n\t\treportRequests {\n\t\t\t${Models.ReportRequestEntity.getAttributes().join('\\n')}\n\t\t}\n\t\torganisation {\n\t\t\t${Models.OrganisationEntity.getAttributes().join('\\n')}\n\t\t\t${Models.OrganisationEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t}\n\t`;\n\t// % protected region % [Customize Default Expands here] end\n\n\t/**\n\t * The save method that is called from the admin CRUD components.\n\t */\n\t// % protected region % [Customize Save From Crud here] off begin\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async saveFromCrud(formMode: EntityFormMode) {\n\t\tconst relationPath: ReferencePath = {\n\t\t\tbusinessEntitys: {},\n\t\t\tatbFiles: {},\n\t\t\tcustomerAuditss: {},\n\t\t\tpaymentmethods: {},\n\t\t\treferredRegistrationss: {},\n\t\t\tregistration: {},\n\t\t\treportRequests: {},\n\t\t};\n\n\t\tif (formMode === 'create') {\n\t\t\trelationPath.password = {};\n\n\t\t\tif (this.password !== this._confirmPassword) {\n\t\t\t\tthrow Error('Password fields do not match');\n\t\t\t}\n\t\t}\n\t\treturn this.save(\n\t\t\trelationPath,\n\t\t\t{\n\t\t\t\tgraphQlInputType: formMode === 'create'\n\t\t\t\t\t? `[${this.getModelName()}CreateInput]`\n\t\t\t\t\t: `[${this.getModelName()}Input]`,\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: 'mergeReferences',\n\t\t\t\t\t\tgraphQlType: '[String]',\n\t\t\t\t\t\tvalue: [\n\t\t\t\t\t\t\t'customerAuditss',\n\t\t\t\t\t\t\t'referredRegistrationss',\n\t\t\t\t\t\t\t'registration',\n\t\t\t\t\t\t\t'businessEntitys',\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t);\n\t}\n\t// % protected region % [Customize Save From Crud here] end\n\n\t/**\n\t * Returns the string representation of this entity to display on the UI.\n\t */\n\tpublic getDisplayName() {\n\t\t// % protected region % [Customise the display name for this entity] off begin\n\t\treturn this.email;\n\t\t// % protected region % [Customise the display name for this entity] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] on begin\n\tpublic static async fetchUser(userId: string) {\n\t\ttry {\n\t\t\tconst results = await store.apolloClient.query({\n\t\t\t\tquery: gql`\n\t\t\t\t\tquery fetchUserById($userId: ID) {\n\t\t\t\t\t\tuserEntity(id: $userId) {\n\t\t\t\t\t\t\t${this.getAllAttributes().join('\\n')}\n\t\t\t\t\t\t\torganisation {\n\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\tapproveEnabled\n\t\t\t\t\t\t\t\tppsrEnabled\n\t\t\t\t\t\t\t\tintelEnabled\n\t\t\t\t\t\t\t\tprimaryBusinessEntity {\n\t\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbusinessEntitys {\n\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\tbusinessEntity {\n\t\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\t\tname\n\t\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\t\t\t\tvariables: {\n\t\t\t\t\tuserId: userId,\n\t\t\t\t},\n\t\t\t\tfetchPolicy: 'no-cache',\n\t\t\t});\n\n\t\t\treturn new this(results.data.userEntity);\n\t\t} catch {\n\t\t\treturn undefined;\n\t\t}\n\t}\n\n\tget canEdit() {\n\t\tconst currentUser = store.getUser;\n\t\tif (!currentUser) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (UserTypeOrder[this.userType] > UserTypeOrder[currentUser.userType]) {\n\t\t\treturn false;\n\t\t}\n\n\t\tconst editScope = store.userPermissions.commonManageUsers;\n\t\tswitch (editScope) {\n\t\t\tcase 'ALL':\n\t\t\t\treturn true;\n\t\t\tcase 'WITHIN_ORGANISATION':\n\t\t\t\treturn this.organisationId === currentUser.organisation?.id;\n\t\t\tcase 'WITHIN_BUSINESS_ENTITIES':\n\t\t\t\treturn !!this.businessEntitys && this.businessEntitys\n\t\t\t\t\t.map(x => x.businessEntityId)\n\t\t\t\t\t.some(x => currentUser.businessEntityIds?.includes(x));\n\t\t\tcase 'SELF':\n\t\t\tdefault:\n\t\t\t\treturn false;\n\t\t}\n\t}\n\n\tpublic isLastOrganisationManager = async () => {\n\t\tif (this.userType !== 'ORGANISATION_MANAGER') {\n\t\t\treturn false;\n\t\t}\n\n\t\tconst { data } = await store.apolloClient.query({\n\t\t\tquery: gql`\n\t\t\t\tquery userEntity($organisationId: String) {\n\t\t\t\t\tcountOrganisationManagers: countUserEntitys(\n\t\t\t\t\t\twhere: [\n\t\t\t\t\t\t\t{path: \"userType\", comparison: equal, value: [\"ORGANISATION_MANAGER\"]},\n\t\t\t\t\t\t\t{path: \"isActive\", comparison: equal, value: [\"true\"]},\n\t\t\t\t\t\t\t{path: \"organisationId\", comparison: equal, value: [$organisationId]}\n\t\t\t\t\t\t]\n\t\t\t\t\t) {\n\t\t\t\t\t\tnumber\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t`,\n\t\t\tvariables: {\n\t\t\t\torganisationId: this.organisationId,\n\t\t\t},\n\t\t\tfetchPolicy: 'no-cache',\n\t\t});\n\t\treturn data.countOrganisationManagers.number === 1;\n\t};\n\t// % protected region % [Add any further custom model features here] end\n}\n\n// % protected region % [Modify the create and modified CRUD attributes here] off begin\n/*\n * Retrieve the created and modified CRUD attributes for defining the CRUD views and decorate the class with them.\n */\nconst [createdAttr, modifiedAttr] = getCreatedModifiedCrudOptions();\nCRUD(createdAttr)(UserEntity.prototype, 'created');\nCRUD(modifiedAttr)(UserEntity.prototype, 'modified');\n// % protected region % [Modify the create and modified CRUD attributes here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserAuthorisedCreditBureauReferenceManyToMany implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsAuthorisedCreditBureauReferenceManyToMany implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { IAcl } from '../Security/IAcl';\nimport { observable } from 'mobx';\nimport UserAuthorisedCreditBureauReferenceManyToMany from '../Security/Acl/UserAuthorisedCreditBureauReferenceManyToMany';\nimport VisitorsAuthorisedCreditBureauReferenceManyToMany from '../Security/Acl/VisitorsAuthorisedCreditBureauReferenceManyToMany';\n// % protected region % [Add any further imports here] on begin\n// Botwritten code is breaking this rule, and we can't really avoid it\n/* eslint max-len: 0 */\n// % protected region % [Add any further imports here] end\n\nexport interface IOrganisationAuthorisedCreditBureauAttributes extends IModelAttributes {\n\torganisationId: string;\n\tauthorisedCreditBureauId: string;\n\n\torganisation: Models.OrganisationEntity | Models.IOrganisationEntityAttributes;\n\tauthorisedCreditBureau: Models.CreditBureauEntity | Models.ICreditBureauEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n@entity('OrganisationAuthorisedCreditBureau')\nexport default class OrganisationAuthorisedCreditBureau\n\textends Model\n\timplements IOrganisationAuthorisedCreditBureauAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew UserAuthorisedCreditBureauReferenceManyToMany(),\n\t\tnew VisitorsAuthorisedCreditBureauReferenceManyToMany(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t@observable\n\t@attribute()\n\tpublic organisationId: string;\n\n\t@observable\n\t@attribute()\n\tpublic authorisedCreditBureauId: string;\n\n\t@observable\n\t@attribute({ isReference: true })\n\tpublic organisation: Models.OrganisationEntity;\n\n\t@observable\n\t@attribute({ isReference: true })\n\tpublic authorisedCreditBureau: Models.CreditBureauEntity;\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.organisationId) {\n\t\t\t\tthis.organisationId = attributes.organisationId;\n\t\t\t}\n\t\t\tif (attributes.authorisedCreditBureauId) {\n\t\t\t\tthis.authorisedCreditBureauId = attributes.authorisedCreditBureauId;\n\t\t\t}\n\n\t\t\tif (attributes.organisation) {\n\t\t\t\tif (attributes.organisation instanceof Models.OrganisationEntity) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t\tthis.organisationId = attributes.organisation.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.organisation = new Models.OrganisationEntity(attributes.organisation);\n\t\t\t\t\tthis.organisationId = this.organisation.id;\n\t\t\t\t}\n\t\t\t} else if (attributes.organisationId !== undefined) {\n\t\t\t\tthis.organisationId = attributes.organisationId;\n\t\t\t}\n\n\t\t\tif (attributes.authorisedCreditBureau) {\n\t\t\t\tif (attributes.authorisedCreditBureau instanceof Models.CreditBureauEntity) {\n\t\t\t\t\tthis.authorisedCreditBureau = attributes.authorisedCreditBureau;\n\t\t\t\t\tthis.authorisedCreditBureauId = attributes.authorisedCreditBureau.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.authorisedCreditBureau = new Models.CreditBureauEntity(attributes.authorisedCreditBureau);\n\t\t\t\t\tthis.authorisedCreditBureauId = this.authorisedCreditBureau.id;\n\t\t\t\t}\n\t\t\t} else if (attributes.authorisedCreditBureauId !== undefined) {\n\t\t\t\tthis.authorisedCreditBureauId = attributes.authorisedCreditBureauId;\n\t\t\t}\n\t\t}\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsCustomersReferenceManyToMany implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserCustomersReferenceManyToMany implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { IAcl } from '../Security/IAcl';\nimport { observable } from 'mobx';\nimport VisitorsCustomersReferenceManyToMany from '../Security/Acl/VisitorsCustomersReferenceManyToMany';\nimport UserCustomersReferenceManyToMany from '../Security/Acl/UserCustomersReferenceManyToMany';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IGroupsCustomersAttributes extends IModelAttributes {\n\tgroupsId: string;\n\tcustomersId: string;\n\n\tgroups: Models.GroupEntity | Models.IGroupEntityAttributes;\n\tcustomers: Models.CustomerEntity | Models.ICustomerEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n@entity('GroupsCustomers')\nexport default class GroupsCustomers\n\textends Model\n\timplements IGroupsCustomersAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew VisitorsCustomersReferenceManyToMany(),\n\t\tnew UserCustomersReferenceManyToMany(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t@observable\n\t@attribute()\n\tpublic groupsId: string;\n\n\t@observable\n\t@attribute()\n\tpublic customersId: string;\n\n\t@observable\n\t@attribute({ isReference: true })\n\tpublic groups: Models.GroupEntity;\n\n\t@observable\n\t@attribute({ isReference: true })\n\tpublic customers: Models.CustomerEntity;\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.groupsId) {\n\t\t\t\tthis.groupsId = attributes.groupsId;\n\t\t\t}\n\t\t\tif (attributes.customersId) {\n\t\t\t\tthis.customersId = attributes.customersId;\n\t\t\t}\n\n\t\t\tif (attributes.groups) {\n\t\t\t\tif (attributes.groups instanceof Models.GroupEntity) {\n\t\t\t\t\tthis.groups = attributes.groups;\n\t\t\t\t\tthis.groupsId = attributes.groups.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.groups = new Models.GroupEntity(attributes.groups);\n\t\t\t\t\tthis.groupsId = this.groups.id;\n\t\t\t\t}\n\t\t\t} else if (attributes.groupsId !== undefined) {\n\t\t\t\tthis.groupsId = attributes.groupsId;\n\t\t\t}\n\n\t\t\tif (attributes.customers) {\n\t\t\t\tif (attributes.customers instanceof Models.CustomerEntity) {\n\t\t\t\t\tthis.customers = attributes.customers;\n\t\t\t\t\tthis.customersId = attributes.customers.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.customers = new Models.CustomerEntity(attributes.customers);\n\t\t\t\t\tthis.customersId = this.customers.id;\n\t\t\t\t}\n\t\t\t} else if (attributes.customersId !== undefined) {\n\t\t\t\tthis.customersId = attributes.customersId;\n\t\t\t}\n\t\t}\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserMonitoredcustomersmanytomany implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsMonitoredcustomersmanytomany implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { IAcl } from '../Security/IAcl';\nimport { observable } from 'mobx';\nimport UserMonitoredcustomersmanytomany from '../Security/Acl/UserMonitoredcustomersmanytomany';\nimport VisitorsMonitoredcustomersmanytomany from '../Security/Acl/VisitorsMonitoredcustomersmanytomany';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IMonitoredsCustomersAttributes extends IModelAttributes {\n\tmonitoredsId: string;\n\tcustomersId: string;\n\n\tmonitoreds: Models.MonitoredEntity | Models.IMonitoredEntityAttributes;\n\tcustomers: Models.CustomerEntity | Models.ICustomerEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n@entity('MonitoredsCustomers')\nexport default class MonitoredsCustomers\n\textends Model\n\timplements IMonitoredsCustomersAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew UserMonitoredcustomersmanytomany(),\n\t\tnew VisitorsMonitoredcustomersmanytomany(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t@observable\n\t@attribute()\n\tpublic monitoredsId: string;\n\n\t@observable\n\t@attribute()\n\tpublic customersId: string;\n\n\t@observable\n\t@attribute({ isReference: true })\n\tpublic monitoreds: Models.MonitoredEntity;\n\n\t@observable\n\t@attribute({ isReference: true })\n\tpublic customers: Models.CustomerEntity;\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.monitoredsId) {\n\t\t\t\tthis.monitoredsId = attributes.monitoredsId;\n\t\t\t}\n\t\t\tif (attributes.customersId) {\n\t\t\t\tthis.customersId = attributes.customersId;\n\t\t\t}\n\n\t\t\tif (attributes.monitoreds) {\n\t\t\t\tif (attributes.monitoreds instanceof Models.MonitoredEntity) {\n\t\t\t\t\tthis.monitoreds = attributes.monitoreds;\n\t\t\t\t\tthis.monitoredsId = attributes.monitoreds.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.monitoreds = new Models.MonitoredEntity(attributes.monitoreds);\n\t\t\t\t\tthis.monitoredsId = this.monitoreds.id;\n\t\t\t\t}\n\t\t\t} else if (attributes.monitoredsId !== undefined) {\n\t\t\t\tthis.monitoredsId = attributes.monitoredsId;\n\t\t\t}\n\n\t\t\tif (attributes.customers) {\n\t\t\t\tif (attributes.customers instanceof Models.CustomerEntity) {\n\t\t\t\t\tthis.customers = attributes.customers;\n\t\t\t\t\tthis.customersId = attributes.customers.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.customers = new Models.CustomerEntity(attributes.customers);\n\t\t\t\t\tthis.customersId = this.customers.id;\n\t\t\t\t}\n\t\t\t} else if (attributes.customersId !== undefined) {\n\t\t\t\tthis.customersId = attributes.customersId;\n\t\t\t}\n\t\t}\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsOrganisationmonitoringprovidersmanytomany implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserOrganisationmonitoringprovidersmanytomany implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { IAcl } from '../Security/IAcl';\nimport { observable } from 'mobx';\nimport VisitorsOrganisationmonitoringprovidersmanytomany from '../Security/Acl/VisitorsOrganisationmonitoringprovidersmanytomany';\nimport UserOrganisationmonitoringprovidersmanytomany from '../Security/Acl/UserOrganisationmonitoringprovidersmanytomany';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IMonitoringProviderOrganisationAttributes extends IModelAttributes {\n\tmonitoringProviderId: string;\n\torganisationId: string;\n\n\tmonitoringProvider: Models.MonitoringProviderEntity | Models.IMonitoringProviderEntityAttributes;\n\torganisation: Models.OrganisationEntity | Models.IOrganisationEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n@entity('MonitoringProviderOrganisation')\nexport default class MonitoringProviderOrganisation\n\textends Model\n\timplements IMonitoringProviderOrganisationAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew VisitorsOrganisationmonitoringprovidersmanytomany(),\n\t\tnew UserOrganisationmonitoringprovidersmanytomany(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t@observable\n\t@attribute()\n\tpublic monitoringProviderId: string;\n\n\t@observable\n\t@attribute()\n\tpublic organisationId: string;\n\n\t@observable\n\t@attribute({ isReference: true })\n\tpublic monitoringProvider: Models.MonitoringProviderEntity;\n\n\t@observable\n\t@attribute({ isReference: true })\n\tpublic organisation: Models.OrganisationEntity;\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.monitoringProviderId) {\n\t\t\t\tthis.monitoringProviderId = attributes.monitoringProviderId;\n\t\t\t}\n\t\t\tif (attributes.organisationId) {\n\t\t\t\tthis.organisationId = attributes.organisationId;\n\t\t\t}\n\n\t\t\tif (attributes.monitoringProvider) {\n\t\t\t\tif (attributes.monitoringProvider instanceof Models.MonitoringProviderEntity) {\n\t\t\t\t\tthis.monitoringProvider = attributes.monitoringProvider;\n\t\t\t\t\tthis.monitoringProviderId = attributes.monitoringProvider.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.monitoringProvider = new Models.MonitoringProviderEntity(attributes.monitoringProvider);\n\t\t\t\t\tthis.monitoringProviderId = this.monitoringProvider.id;\n\t\t\t\t}\n\t\t\t} else if (attributes.monitoringProviderId !== undefined) {\n\t\t\t\tthis.monitoringProviderId = attributes.monitoringProviderId;\n\t\t\t}\n\n\t\t\tif (attributes.organisation) {\n\t\t\t\tif (attributes.organisation instanceof Models.OrganisationEntity) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t\tthis.organisationId = attributes.organisation.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.organisation = new Models.OrganisationEntity(attributes.organisation);\n\t\t\t\t\tthis.organisationId = this.organisation.id;\n\t\t\t\t}\n\t\t\t} else if (attributes.organisationId !== undefined) {\n\t\t\t\tthis.organisationId = attributes.organisationId;\n\t\t\t}\n\t\t}\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserBusinessentitypaymentmethodmanytomany implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsBusinessentitypaymentmethodmanytomany implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { IAcl } from '../Security/IAcl';\nimport { observable } from 'mobx';\nimport UserBusinessentitypaymentmethodmanytomany from '../Security/Acl/UserBusinessentitypaymentmethodmanytomany';\nimport VisitorsBusinessentitypaymentmethodmanytomany from '../Security/Acl/VisitorsBusinessentitypaymentmethodmanytomany';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IBusinessEntityPaymentMethodAttributes extends IModelAttributes {\n\tbusinessEntityId: string;\n\tpaymentMethodId: string;\n\n\tbusinessEntity: Models.BusinessEntity | Models.IBusinessEntityAttributes;\n\tpaymentMethod: Models.PaymentMethodEntity | Models.IPaymentMethodEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n@entity('BusinessEntityPaymentMethod')\nexport default class BusinessEntityPaymentMethod\n\textends Model\n\timplements IBusinessEntityPaymentMethodAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew UserBusinessentitypaymentmethodmanytomany(),\n\t\tnew VisitorsBusinessentitypaymentmethodmanytomany(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t@observable\n\t@attribute()\n\tpublic businessEntityId: string;\n\n\t@observable\n\t@attribute()\n\tpublic paymentMethodId: string;\n\n\t@observable\n\t@attribute({ isReference: true })\n\tpublic businessEntity: Models.BusinessEntity;\n\n\t@observable\n\t@attribute({ isReference: true })\n\tpublic paymentMethod: Models.PaymentMethodEntity;\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.businessEntityId) {\n\t\t\t\tthis.businessEntityId = attributes.businessEntityId;\n\t\t\t}\n\t\t\tif (attributes.paymentMethodId) {\n\t\t\t\tthis.paymentMethodId = attributes.paymentMethodId;\n\t\t\t}\n\n\t\t\tif (attributes.businessEntity) {\n\t\t\t\tif (attributes.businessEntity instanceof Models.BusinessEntity) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t\tthis.businessEntityId = attributes.businessEntity.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.businessEntity = new Models.BusinessEntity(attributes.businessEntity);\n\t\t\t\t\tthis.businessEntityId = this.businessEntity.id;\n\t\t\t\t}\n\t\t\t} else if (attributes.businessEntityId !== undefined) {\n\t\t\t\tthis.businessEntityId = attributes.businessEntityId;\n\t\t\t}\n\n\t\t\tif (attributes.paymentMethod) {\n\t\t\t\tif (attributes.paymentMethod instanceof Models.PaymentMethodEntity) {\n\t\t\t\t\tthis.paymentMethod = attributes.paymentMethod;\n\t\t\t\t\tthis.paymentMethodId = attributes.paymentMethod.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.paymentMethod = new Models.PaymentMethodEntity(attributes.paymentMethod);\n\t\t\t\t\tthis.paymentMethodId = this.paymentMethod.id;\n\t\t\t\t}\n\t\t\t} else if (attributes.paymentMethodId !== undefined) {\n\t\t\t\tthis.paymentMethodId = attributes.paymentMethodId;\n\t\t\t}\n\t\t}\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserOrganisationprovider implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsOrganisationprovider implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { IAcl } from '../Security/IAcl';\nimport { observable } from 'mobx';\nimport UserOrganisationprovider from '../Security/Acl/UserOrganisationprovider';\nimport VisitorsOrganisationprovider from '../Security/Acl/VisitorsOrganisationprovider';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IOrganisationProviderAttributes extends IModelAttributes {\n\torganisationId: string;\n\tproviderId: string;\n\n\torganisation: Models.OrganisationEntity | Models.IOrganisationEntityAttributes;\n\tprovider: Models.ProviderEntity | Models.IProviderEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n@entity('OrganisationProvider')\nexport default class OrganisationProvider\n\textends Model\n\timplements IOrganisationProviderAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew UserOrganisationprovider(),\n\t\tnew VisitorsOrganisationprovider(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t@observable\n\t@attribute()\n\tpublic organisationId: string;\n\n\t@observable\n\t@attribute()\n\tpublic providerId: string;\n\n\t@observable\n\t@attribute({ isReference: true })\n\tpublic organisation: Models.OrganisationEntity;\n\n\t@observable\n\t@attribute({ isReference: true })\n\tpublic provider: Models.ProviderEntity;\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.organisationId) {\n\t\t\t\tthis.organisationId = attributes.organisationId;\n\t\t\t}\n\t\t\tif (attributes.providerId) {\n\t\t\t\tthis.providerId = attributes.providerId;\n\t\t\t}\n\n\t\t\tif (attributes.organisation) {\n\t\t\t\tif (attributes.organisation instanceof Models.OrganisationEntity) {\n\t\t\t\t\tthis.organisation = attributes.organisation;\n\t\t\t\t\tthis.organisationId = attributes.organisation.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.organisation = new Models.OrganisationEntity(attributes.organisation);\n\t\t\t\t\tthis.organisationId = this.organisation.id;\n\t\t\t\t}\n\t\t\t} else if (attributes.organisationId !== undefined) {\n\t\t\t\tthis.organisationId = attributes.organisationId;\n\t\t\t}\n\n\t\t\tif (attributes.provider) {\n\t\t\t\tif (attributes.provider instanceof Models.ProviderEntity) {\n\t\t\t\t\tthis.provider = attributes.provider;\n\t\t\t\t\tthis.providerId = attributes.provider.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.provider = new Models.ProviderEntity(attributes.provider);\n\t\t\t\t\tthis.providerId = this.provider.id;\n\t\t\t\t}\n\t\t\t} else if (attributes.providerId !== undefined) {\n\t\t\t\tthis.providerId = attributes.providerId;\n\t\t\t}\n\t\t}\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserUserReferenceManyToMany implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsUserReferenceManyToMany implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport {\n\tModel,\n\tIModelAttributes,\n\tattribute,\n\tentity,\n} from 'Models/Model';\nimport * as Models from 'Models/Entities';\nimport { IAcl } from '../Security/IAcl';\nimport { observable } from 'mobx';\nimport UserUserReferenceManyToMany from '../Security/Acl/UserUserReferenceManyToMany';\nimport VisitorsUserReferenceManyToMany from '../Security/Acl/VisitorsUserReferenceManyToMany';\n// % protected region % [Add any further imports here] off begin\n// % protected region % [Add any further imports here] end\n\nexport interface IBusinessEntityUserAttributes extends IModelAttributes {\n\tbusinessEntityId: string;\n\tuserId: string;\n\n\tbusinessEntity: Models.BusinessEntity | Models.IBusinessEntityAttributes;\n\tuser: Models.UserEntity | Models.IUserEntityAttributes;\n\t// % protected region % [Add any custom attributes to the interface here] off begin\n\t// % protected region % [Add any custom attributes to the interface here] end\n}\n\n@entity('BusinessEntityUser')\nexport default class BusinessEntityUser\n\textends Model\n\timplements IBusinessEntityUserAttributes {\n\tpublic static acls: IAcl[] = [\n\t\tnew UserUserReferenceManyToMany(),\n\t\tnew VisitorsUserReferenceManyToMany(),\n\t\t// % protected region % [Add any further ACL entries here] off begin\n\t\t// % protected region % [Add any further ACL entries here] end\n\t];\n\n\t@observable\n\t@attribute()\n\tpublic businessEntityId: string;\n\n\t@observable\n\t@attribute()\n\tpublic userId: string;\n\n\t@observable\n\t@attribute({ isReference: true })\n\tpublic businessEntity: Models.BusinessEntity;\n\n\t@observable\n\t@attribute({ isReference: true })\n\tpublic user: Models.UserEntity;\n\t// % protected region % [Add any custom attributes to the model here] off begin\n\t// % protected region % [Add any custom attributes to the model here] end\n\n\tconstructor(attributes?: Partial) {\n\t\t// % protected region % [Add any extra constructor logic before calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic before calling super here] end\n\n\t\tsuper(attributes);\n\n\t\tif (attributes) {\n\t\t\tif (attributes.businessEntityId) {\n\t\t\t\tthis.businessEntityId = attributes.businessEntityId;\n\t\t\t}\n\t\t\tif (attributes.userId) {\n\t\t\t\tthis.userId = attributes.userId;\n\t\t\t}\n\n\t\t\tif (attributes.businessEntity) {\n\t\t\t\tif (attributes.businessEntity instanceof Models.BusinessEntity) {\n\t\t\t\t\tthis.businessEntity = attributes.businessEntity;\n\t\t\t\t\tthis.businessEntityId = attributes.businessEntity.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.businessEntity = new Models.BusinessEntity(attributes.businessEntity);\n\t\t\t\t\tthis.businessEntityId = this.businessEntity.id;\n\t\t\t\t}\n\t\t\t} else if (attributes.businessEntityId !== undefined) {\n\t\t\t\tthis.businessEntityId = attributes.businessEntityId;\n\t\t\t}\n\n\t\t\tif (attributes.user) {\n\t\t\t\tif (attributes.user instanceof Models.UserEntity) {\n\t\t\t\t\tthis.user = attributes.user;\n\t\t\t\t\tthis.userId = attributes.user.id;\n\t\t\t\t} else {\n\t\t\t\t\tthis.user = new Models.UserEntity(attributes.user);\n\t\t\t\t\tthis.userId = this.user.id;\n\t\t\t\t}\n\t\t\t} else if (attributes.userId !== undefined) {\n\t\t\t\tthis.userId = attributes.userId;\n\t\t\t}\n\t\t}\n\n\t\t// % protected region % [Add any extra constructor logic after calling super here] off begin\n\t\t// % protected region % [Add any extra constructor logic after calling super here] end\n\t}\n\n\t// % protected region % [Add any further custom model features here] off begin\n\t// % protected region % [Add any further custom model features here] end\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\n// % protected region % [Add any extra imports here] on begin\nimport { LocaleCompareObjectAsc } from 'Util/StringUtils';\n// % protected region % [Add any extra imports here] end\n\nexport type atbFileType =\n\t// % protected region % [Override atbFileType keys here] on begin\n\t'XERO'|\n\t'STANDARD' |\n\t'UNKNOWN' |\n\t'CUSTOMERS_ONLY';\n\t// % protected region % [Override atbFileType keys here] end\n\nexport const atbFileTypeOptions: { [key in atbFileType]: string } = {\n\t// % protected region % [Override atbFileType display fields here] on begin\n\tXERO: 'Xero',\n\tSTANDARD: 'Standard',\n\tUNKNOWN: 'Unknown',\n\tCUSTOMERS_ONLY: 'Customers Only',\n\t// % protected region % [Override atbFileType display fields here] end\n};\n\nexport type atbJobStatus =\n\t// % protected region % [Override atbJobStatus keys here] on begin\n\t'CREATED'|\n\t'PROCESSING' |\n\t'PROCESSED' |\n\t'QUEUED';\n\t// % protected region % [Override atbJobStatus keys here] end\n\nexport const atbJobStatusOptions: { [key in atbJobStatus]: string } = {\n\t// % protected region % [Override atbJobStatus display fields here] on begin\n\tCREATED: 'Created',\n\tPROCESSING: 'Processing',\n\tPROCESSED: 'Processed',\n\tQUEUED: 'Queued',\n\t// % protected region % [Override atbJobStatus display fields here] end\n};\n\nexport type atbProcessingStatus =\n\t// % protected region % [Override atbProcessingStatus keys here] off begin\n\t'PROCESSING' |\n\t'CREATED' |\n\t'PROCESSED';\n\t// % protected region % [Override atbProcessingStatus keys here] end\n\nexport const atbProcessingStatusOptions: { [key in atbProcessingStatus]: string } = {\n\t// % protected region % [Override atbProcessingStatus display fields here] off begin\n\tPROCESSING: 'Processing',\n\tCREATED: 'Created',\n\tPROCESSED: 'Processed',\n\t// % protected region % [Override atbProcessingStatus display fields here] end\n};\n\nexport type atoEntityType =\n\t// % protected region % [Override atoEntityType keys here] off begin\n\t'C' |\n\t'P' |\n\t'T' |\n\t'I';\n\t// % protected region % [Override atoEntityType keys here] end\n\nexport const atoEntityTypeOptions: { [key in atoEntityType]: string } = {\n\t// % protected region % [Override atoEntityType display fields here] off begin\n\tC: 'Company',\n\tP: 'Partnership',\n\tT: 'Trust',\n\tI: 'Individual',\n\t// % protected region % [Override atoEntityType display fields here] end\n};\n\nexport type atoRecordStatus =\n\t// % protected region % [Override atoRecordStatus keys here] off begin\n\t'N' |\n\t'U' |\n\t'X' |\n\t'R' |\n\t'E';\n\t// % protected region % [Override atoRecordStatus keys here] end\n\nexport const atoRecordStatusOptions: { [key in atoRecordStatus]: string } = {\n\t// % protected region % [Override atoRecordStatus display fields here] on begin\n\tN: 'New',\n\tU: 'Updated',\n\tX: 'Existing',\n\tR: 'Removed',\n\tE: 'Error',\n\t// % protected region % [Override atoRecordStatus display fields here] end\n};\n\nexport type accountType =\n\t// % protected region % [Override accountType keys here] off begin\n\t'INVOICED' |\n\t'PAYG';\n\t// % protected region % [Override accountType keys here] end\n\nexport const accountTypeOptions: { [key in accountType]: string } = {\n\t// % protected region % [Override accountType display fields here] off begin\n\tINVOICED: 'Invoiced',\n\tPAYG: 'PAYG',\n\t// % protected region % [Override accountType display fields here] end\n};\n\nexport type alaresCategory =\n\t// % protected region % [Override alaresCategory keys here] off begin\n\t'LICENCE' |\n\t'ASIC_DOCUMENT' |\n\t'INSOLVENCY' |\n\t'ADJUDICATION' |\n\t'ALARES_CASE';\n\t// % protected region % [Override alaresCategory keys here] end\n\nexport const alaresCategoryOptions: { [key in alaresCategory]: string } = {\n\t// % protected region % [Override alaresCategory display fields here] on begin\n\tADJUDICATION: 'Adjudication',\n\tALARES_CASE: 'Case',\n\tASIC_DOCUMENT: 'Asic',\n\tINSOLVENCY: 'Insolvency',\n\tLICENCE: 'Licence',\n\t// % protected region % [Override alaresCategory display fields here] end\n};\n\nexport type auditCategory =\n\t// % protected region % [Override auditCategory keys here] off begin\n\t'CREDIT_DEFAULT' |\n\t'ADVERSE_ALERT' |\n\t'RISK_SCORE' |\n\t'ENTITY_UPDATE' |\n\t'OTHER';\n\t// % protected region % [Override auditCategory keys here] end\n\nexport const auditCategoryOptions: { [key in auditCategory]: string } = {\n\t// % protected region % [Override auditCategory display fields here] off begin\n\tCREDIT_DEFAULT: 'Credit Default',\n\tADVERSE_ALERT: 'Adverse Alert',\n\tRISK_SCORE: 'Risk Score',\n\tENTITY_UPDATE: 'Entity Update',\n\tOTHER: 'Other',\n\t// % protected region % [Override auditCategory display fields here] end\n};\n\nexport type creditReportStatus =\n\t// % protected region % [Override creditReportStatus keys here] off begin\n\t'REQUESTED' |\n\t'GENERATED' |\n\t'FAILED' |\n\t'COMPLETED' |\n\t'ERROR';\n\t// % protected region % [Override creditReportStatus keys here] end\n\nexport const creditReportStatusOptions: { [key in creditReportStatus]: string } = {\n\t// % protected region % [Override creditReportStatus display fields here] off begin\n\tREQUESTED: 'Requested',\n\tGENERATED: 'Generated',\n\tFAILED: 'Failed',\n\tCOMPLETED: 'Completed',\n\tERROR: 'Error',\n\t// % protected region % [Override creditReportStatus display fields here] end\n};\n\nexport type customerAuditCategory =\n\t// % protected region % [Override customerAuditCategory keys here] off begin\n\t'ACCOUNT_INFORMATION' |\n\t'ATO_DEFAULT' |\n\t'ADVERSE_ALERT' |\n\t'BUSINESS_INFORMATION' |\n\t'COMMENT' |\n\t'RISK_SCORE' |\n\t'REFERRED_FOR_COLLECTION' |\n\t'OTHER';\n\t// % protected region % [Override customerAuditCategory keys here] end\n\nexport const customerAuditCategoryOptions: { [key in customerAuditCategory]: string } = {\n\t// % protected region % [Override customerAuditCategory display fields here] off begin\n\tACCOUNT_INFORMATION: 'Account Information',\n\tATO_DEFAULT: 'ATO Default',\n\tADVERSE_ALERT: 'Adverse Alert',\n\tBUSINESS_INFORMATION: 'Business Information',\n\tCOMMENT: 'Comment',\n\tRISK_SCORE: 'Risk Score',\n\tREFERRED_FOR_COLLECTION: 'Referred for Collection',\n\tOTHER: 'Other',\n\t// % protected region % [Override customerAuditCategory display fields here] end\n};\n\nexport type customerMonitoredStatus =\n\t// % protected region % [Override customerMonitoredStatus keys here] off begin\n\t'MONITORED' |\n\t'INSOLVENT' |\n\t'NOT_MONITORED' |\n\t'DELETED';\n\t// % protected region % [Override customerMonitoredStatus keys here] end\n\nexport const customerMonitoredStatusOptions: { [key in customerMonitoredStatus]: string } = {\n\t// % protected region % [Override customerMonitoredStatus display fields here] off begin\n\tMONITORED: 'Monitored',\n\tINSOLVENT: 'Insolvent',\n\tNOT_MONITORED: 'Not Monitored',\n\tDELETED: 'Deleted',\n\t// % protected region % [Override customerMonitoredStatus display fields here] end\n};\n\nexport type discountSource =\n\t// % protected region % [Override discountSource keys here] off begin\n\t'CUSTOM' |\n\t'REFERRER' |\n\t'MIGRATION';\n\t// % protected region % [Override discountSource keys here] end\n\nexport const discountSourceOptions: { [key in discountSource]: string } = {\n\t// % protected region % [Override discountSource display fields here] off begin\n\tCUSTOM: 'Custom',\n\tREFERRER: 'Referrer',\n\tMIGRATION: 'Migration',\n\t// % protected region % [Override discountSource display fields here] end\n};\n\nexport type esignceremonystatus =\n\t// % protected region % [Override esignceremonystatus keys here] off begin\n\t'CREATED' |\n\t'INCOMPLETE' |\n\t'COMPLETED' |\n\t'AWAITINGWITNESS' |\n\t'REJECTED' |\n\t'SIGNED' |\n\t'VISITED' |\n\t'SENT';\n\t// % protected region % [Override esignceremonystatus keys here] end\n\nexport const esignceremonystatusOptions: { [key in esignceremonystatus]: string } = {\n\t// % protected region % [Override esignceremonystatus display fields here] on begin\n\tCREATED: 'Created',\n\tINCOMPLETE: 'Incomplete',\n\tCOMPLETED: 'Completed',\n\tAWAITINGWITNESS: 'Awaiting Witness',\n\tREJECTED: 'Rejected',\n\tSIGNED: 'Signed',\n\tVISITED: 'Visited',\n\tSENT: 'Sent',\n\t// % protected region % [Override esignceremonystatus display fields here] end\n};\n\nexport type esignuserstatus =\n\t// % protected region % [Override esignuserstatus keys here] off begin\n\t'ACTIVE' |\n\t'INACTIVE';\n\t// % protected region % [Override esignuserstatus keys here] end\n\nexport const esignuserstatusOptions: { [key in esignuserstatus]: string } = {\n\t// % protected region % [Override esignuserstatus display fields here] off begin\n\tACTIVE: 'Active',\n\tINACTIVE: 'Inactive',\n\t// % protected region % [Override esignuserstatus display fields here] end\n};\n\nexport type esignwitnessstatus =\n\t// % protected region % [Override esignwitnessstatus keys here] off begin\n\t'NOT_STARTED' |\n\t'SENT' |\n\t'VISITED' |\n\t'SIGNED' |\n\t'REJECTED';\n\t// % protected region % [Override esignwitnessstatus keys here] end\n\nexport const esignwitnessstatusOptions: { [key in esignwitnessstatus]: string } = {\n\t// % protected region % [Override esignwitnessstatus display fields here] off begin\n\tNOT_STARTED: 'Not Started',\n\tSENT: 'Sent',\n\tVISITED: 'Visited',\n\tSIGNED: 'Signed',\n\tREJECTED: 'Rejected',\n\t// % protected region % [Override esignwitnessstatus display fields here] end\n};\n\nexport type esignworkflowstage =\n\t// % protected region % [Override esignworkflowstage keys here] off begin\n\t'INITIATED' |\n\t'CEREMONYCREATED' |\n\t'SIGNATORYEMAILSENT' |\n\t'INPROGESS' |\n\t'COMPLETED';\n\t// % protected region % [Override esignworkflowstage keys here] end\n\nexport const esignworkflowstageOptions: { [key in esignworkflowstage]: string } = {\n\t// % protected region % [Override esignworkflowstage display fields here] on begin\n\tINITIATED: 'Initiated',\n\tCEREMONYCREATED: 'Ceremony Created',\n\tSIGNATORYEMAILSENT: 'Signatory Email Sent',\n\tINPROGESS: 'In Progess',\n\tCOMPLETED: 'Completed',\n\t// % protected region % [Override esignworkflowstage display fields here] end\n};\n\nexport type esignworkflowstatus =\n\t// % protected region % [Override esignworkflowstatus keys here] off begin\n\t'CREATED' |\n\t'PROCESSING' |\n\t'COMPLETED' |\n\t'INCOMPLETE' |\n\t'CANCELED' |\n\t'REJECTED';\n\t// % protected region % [Override esignworkflowstatus keys here] end\n\nexport const esignworkflowstatusOptions: { [key in esignworkflowstatus]: string } = {\n\t// % protected region % [Override esignworkflowstatus display fields here] off begin\n\tCREATED: 'Created',\n\tPROCESSING: 'Processing',\n\tCOMPLETED: 'Completed',\n\tINCOMPLETE: 'Incomplete',\n\tCANCELED: 'Canceled',\n\tREJECTED: 'Rejected',\n\t// % protected region % [Override esignworkflowstatus display fields here] end\n};\n\nexport type organisationCategory =\n\t// % protected region % [Override organisationCategory keys here] off begin\n\t'PAYG' |\n\t'SMALL' |\n\t'MEDIUM' |\n\t'LARGE' |\n\t'ENTERPRISE';\n\t// % protected region % [Override organisationCategory keys here] end\n\nexport const organisationCategoryOptions: { [key in organisationCategory]: string } = {\n\t// % protected region % [Override organisationCategory display fields here] off begin\n\tPAYG: 'PAYG',\n\tSMALL: 'Small',\n\tMEDIUM: 'Medium',\n\tLARGE: 'Large',\n\tENTERPRISE: 'Enterprise',\n\t// % protected region % [Override organisationCategory display fields here] end\n};\n\nexport type processingStatus =\n\t// % protected region % [Override processingStatus keys here] off begin\n\t'PROCESSING' |\n\t'PROCESSED' |\n\t'CREATED' |\n\t'ERROR';\n\t// % protected region % [Override processingStatus keys here] end\n\nexport const processingStatusOptions: { [key in processingStatus]: string } = {\n\t// % protected region % [Override processingStatus display fields here] off begin\n\tPROCESSING: 'Processing',\n\tPROCESSED: 'Processed',\n\tCREATED: 'Created',\n\tERROR: 'Error',\n\t// % protected region % [Override processingStatus display fields here] end\n};\n\nexport type referrerBenefitType =\n\t// % protected region % [Override referrerBenefitType keys here] off begin\n\t'CHARITY' |\n\t'CLIENT_DISCOUNT' |\n\t'NO_COMMISSION' |\n\t'COMMISSION';\n\t// % protected region % [Override referrerBenefitType keys here] end\n\nexport const referrerBenefitTypeOptions: { [key in referrerBenefitType]: string } = {\n\t// % protected region % [Override referrerBenefitType display fields here] off begin\n\tCHARITY: 'Charity',\n\tCLIENT_DISCOUNT: 'Client Discount',\n\tNO_COMMISSION: 'No Commission',\n\tCOMMISSION: 'Commission',\n\t// % protected region % [Override referrerBenefitType display fields here] end\n};\n\nexport type referrerBusinessType =\n\t// % protected region % [Override referrerBusinessType keys here] off begin\n\t'LAWYER' |\n\t'INSOLVENCY_PRACTITIONER' |\n\t'DEBT_COLLECTION' |\n\t'CREDIT_BUREAU' |\n\t'CREDIT_INSURANCE_BROKER' |\n\t'INDIVIDUAL' |\n\t'OTHER';\n\t// % protected region % [Override referrerBusinessType keys here] end\n\nexport const referrerBusinessTypeOptions: { [key in referrerBusinessType]: string } = {\n\t// % protected region % [Override referrerBusinessType display fields here] off begin\n\tLAWYER: 'Lawyer',\n\tINSOLVENCY_PRACTITIONER: 'Insolvency Practitioner',\n\tDEBT_COLLECTION: 'Debt Collection',\n\tCREDIT_BUREAU: 'Credit Bureau',\n\tCREDIT_INSURANCE_BROKER: 'Credit Insurance Broker',\n\tINDIVIDUAL: 'Individual',\n\tOTHER: 'Other',\n\t// % protected region % [Override referrerBusinessType display fields here] end\n};\n\nexport type referrerCommissionFrequency =\n\t// % protected region % [Override referrerCommissionFrequency keys here] off begin\n\t'SIX_MONTHLY' |\n\t'YEARLY' |\n\t'QUARTERLY';\n\t// % protected region % [Override referrerCommissionFrequency keys here] end\n\nexport const referrerCommissionFrequencyOptions: { [key in referrerCommissionFrequency]: string } = {\n\t// % protected region % [Override referrerCommissionFrequency display fields here] off begin\n\tSIX_MONTHLY: 'Six Monthly',\n\tYEARLY: 'Yearly',\n\tQUARTERLY: 'Quarterly',\n\t// % protected region % [Override referrerCommissionFrequency display fields here] end\n};\n\nexport type registrationStatus =\n\t// % protected region % [Override registrationStatus keys here] off begin\n\t'CREATED' |\n\t'INCOMPLETE' |\n\t'COMPLETE' |\n\t'PENDING';\n\t// % protected region % [Override registrationStatus keys here] end\n\nexport const registrationStatusOptions: { [key in registrationStatus]: string } = {\n\t// % protected region % [Override registrationStatus display fields here] off begin\n\tCREATED: 'Created',\n\tINCOMPLETE: 'Incomplete',\n\tCOMPLETE: 'Complete',\n\tPENDING: 'Pending',\n\t// % protected region % [Override registrationStatus display fields here] end\n};\n\nexport type riskScore =\n\t// % protected region % [Override riskScore keys here] off begin\n\t'UNKNOWN' |\n\t'MINIMAL' |\n\t'VERY_LOW' |\n\t'LOW' |\n\t'AVERAGE' |\n\t'MODERATE' |\n\t'HIGH' |\n\t'VERY_HIGH' |\n\t'SEVERE';\n\t// % protected region % [Override riskScore keys here] end\n\nexport const riskScoreOptions: { [key in riskScore]: string } = {\n\t// % protected region % [Override riskScore display fields here] on begin\n\tUNKNOWN: 'Unknown',\n\tMINIMAL: 'Minimal',\n\tVERY_LOW: 'Very Low',\n\tLOW: 'Low',\n\tAVERAGE: 'Average',\n\tMODERATE: 'Moderate',\n\tHIGH: 'High',\n\tVERY_HIGH: 'Very High',\n\tSEVERE: 'Severe',\n\t// % protected region % [Override riskScore display fields here] end\n};\n\nexport type state =\n\t// % protected region % [Override state keys here] off begin\n\t'NONE' |\n\t'ACT' |\n\t'NSW' |\n\t'NT' |\n\t'QLD' |\n\t'SA' |\n\t'TAS' |\n\t'VIC' |\n\t'WA';\n\t// % protected region % [Override state keys here] end\n\nexport const stateOptions: { [key in state]: string } = {\n\t// % protected region % [Override state display fields here] off begin\n\tNONE: 'None',\n\tACT: 'ACT',\n\tNSW: 'NSW',\n\tNT: 'NT',\n\tQLD: 'QLD',\n\tSA: 'SA',\n\tTAS: 'TAS',\n\tVIC: 'VIC',\n\tWA: 'WA',\n\t// % protected region % [Override state display fields here] end\n};\n\nexport type userType =\n\t// % protected region % [Override userType keys here] off begin\n\t'REFERRAL_PARTNER' |\n\t'SALESPERSON' |\n\t'RESTRICTED_USER' |\n\t'USER' |\n\t'ADMIN' |\n\t'ORGANISATION_MANAGER' |\n\t'SUPER_USER';\n\t// % protected region % [Override userType keys here] end\n\nexport const userTypeOptions: { [key in userType]: string } = {\n\t// % protected region % [Override userType display fields here] off begin\n\tREFERRAL_PARTNER: 'Referral Partner',\n\tSALESPERSON: 'Salesperson',\n\tRESTRICTED_USER: 'Restricted User',\n\tUSER: 'User',\n\tADMIN: 'Admin',\n\tORGANISATION_MANAGER: 'Organisation Manager',\n\tSUPER_USER: 'Super User',\n\t// % protected region % [Override userType display fields here] end\n};\n\n// % protected region % [Add any extra enums here] on begin\n/* eslint-disable import/first */\nimport { ComboboxOption } from 'Views/Components/Combobox/Combobox';\nimport { store } from 'Models/Store';\n\nexport const UserTypeOrder: { [key in userType]: number } = {\n\tRESTRICTED_USER: 0,\n\tSALESPERSON: 1,\n\tUSER: 2,\n\tREFERRAL_PARTNER: 3,\n\tADMIN: 4,\n\tORGANISATION_MANAGER: 5,\n\tSUPER_USER: 6,\n};\n\n/**\n * Function to determine the available userTypes for a given usertype\n * @param userType The userType to limit the options to\n * @returns An array of the userTypes available to the given userType\n */\nconst availableUserTypes = (userType: userType) : string[] => {\n\tconst types: string[] = [];\n\tObject.keys(UserTypeOrder).forEach(type => {\n\t\tif (UserTypeOrder[userType] >= UserTypeOrder[type]) {\n\t\t\ttypes.push(type);\n\t\t}\n\t});\n\treturn types;\n};\n\n// Return the options for a combobox for the usertype enum\nexport const reducedUserTypeComboboxOptions = (userType?: userType, disabled?: boolean) : ComboboxOption[] => {\n\tlet values = Object.keys(userTypeOptions);\n\n\t// if a usertype is given and the combobox is not disabled then reduce list of available usertypes\n\tif (userType && !disabled) {\n\t\tvalues = availableUserTypes(userType);\n\t}\n\n\t// Remove referral partner as of right now, but in future TODO: add back\n\tvalues.splice(values.indexOf('REFERRAL_PARTNER'), 1);\n\n\treturn values\n\t\t.sort(LocaleCompareObjectAsc(userTypeOptions))\n\t\t.map>((value, index, array) => {\n\t\t\treturn { display: userTypeOptions[value], value: value };\n\t\t});\n};\n\n// The enum describing what scope of userEntitys the permission belongs to\nexport type userPermissionScope =\n\t'SELF' |\n\t\t'WITHIN_BUSINESS_ENTITIES' |\n\t\t'WITHIN_ORGANISATION' |\n\t\t'ALL';\n\nexport const userPermissionScopeOptions: { [key in userPermissionScope]: string } = {\n\tSELF: 'Self',\n\tWITHIN_BUSINESS_ENTITIES: 'Within Business Entities',\n\tWITHIN_ORGANISATION: 'Within Organisation',\n\tALL: 'All',\n};\n\nexport const userPermissionScopeOrder: { [key in userPermissionScope]: number } = {\n\tSELF: 0,\n\tWITHIN_BUSINESS_ENTITIES: 1,\n\tWITHIN_ORGANISATION: 2,\n\tALL: 3,\n};\n\n// Permission scope for organisations\nexport type organisationPermissionScope =\n\t'NONE' |\n\t'WITHIN_ORGANISATION' |\n\t'ALL';\n\nexport const organisationPermissionScopeOptions: { [key in organisationPermissionScope]: string } = {\n\tNONE: 'None',\n\tWITHIN_ORGANISATION: 'Within Organisation',\n\tALL: 'All',\n};\n\nexport const organisationPermissionScopeOrder: { [key in organisationPermissionScope]: number } = {\n\tNONE: 0,\n\tWITHIN_ORGANISATION: 1,\n\tALL: 2,\n};\n\n// Permission scope for business entities\nexport type businessEntitiesPermissionScope =\n\t'NONE' |\n\t'WITHIN_ORGANISATION' |\n\t'WITHIN_BUSINESS_ENTITIES' |\n\t'ALL';\n\nexport const businessEntitiesPermissionScopeOptions: { [key in businessEntitiesPermissionScope]: string } = {\n\tNONE: 'None',\n\tWITHIN_BUSINESS_ENTITIES: 'Within Business Entity',\n\tWITHIN_ORGANISATION: 'Within Organisation',\n\tALL: 'All',\n};\n\nexport const businessEntitiesPermissionScopeOrder: { [key in businessEntitiesPermissionScope]: number } = {\n\tNONE: 0,\n\tWITHIN_BUSINESS_ENTITIES: 1,\n\tWITHIN_ORGANISATION: 2,\n\tALL: 3,\n};\n\n/**\n * Function to return a list of the available scope options given the current scope option.\n * @param userScope The given scope of the permission\n * @param currentScope The current user's permission scope\n * @param permissionsScopeOrder A mapping for the scope enum values to an int value\n * @returns An array of available scope options given a specific permission scope\n */\nconst availablePermissionScopeOptions = (\n\tuserScope: string,\n\tcurrentScope: string,\n\tpermissionsScopeOrder: { [key in string]: number },\n): string[] => {\n\tconst scopeOptions: string[] = [];\n\n\tObject.keys(permissionsScopeOrder).forEach(option => {\n\t\tif (permissionsScopeOrder[userScope] >= permissionsScopeOrder[option]\n\t\t\t&& permissionsScopeOrder[currentScope] >= permissionsScopeOrder[option]) {\n\t\t\tscopeOptions.push(option);\n\t\t}\n\t});\n\n\treturn scopeOptions;\n};\n\n// Return the options for a combobox for the userPermissionScope\nexport const permissionScopeCombobox = (\n\ttype: 'user'|'organisation'|'businessEntity',\n\tpermission?: userPermissionScope,\n\tcurrentPermission?: userPermissionScope,\n\tdisabled?: boolean,\n) : ComboboxOption[] => {\n\tlet permissionScopeOptions: { [key in string]: string };\n\tlet permissionScopeOrder: { [key in string]: number };\n\tswitch (type) {\n\t\tcase 'user':\n\t\t\tpermissionScopeOptions = userPermissionScopeOptions;\n\t\t\tpermissionScopeOrder = userPermissionScopeOrder;\n\t\t\tbreak;\n\t\tcase 'organisation':\n\t\t\tpermissionScopeOptions = organisationPermissionScopeOptions;\n\t\t\tpermissionScopeOrder = organisationPermissionScopeOrder;\n\t\t\tbreak;\n\t\tcase 'businessEntity':\n\t\t\tpermissionScopeOptions = businessEntitiesPermissionScopeOptions;\n\t\t\tpermissionScopeOrder = businessEntitiesPermissionScopeOrder;\n\t\t\tbreak;\n\t}\n\n\tlet values = Object.keys(permissionScopeOptions);\n\n\t// given that the current permission scope is given and combobox is not disabled, reduce list\n\tif (permission && currentPermission && !disabled) {\n\t\tvalues = availablePermissionScopeOptions(permission, currentPermission, permissionScopeOrder);\n\t}\n\n\treturn values\n\t\t.sort(LocaleCompareObjectAsc(permissionScopeOptions))\n\t\t.map>((value, index, array) => {\n\t\t\treturn { display: permissionScopeOptions[value], value: value };\n\t\t});\n};\n\nexport const UserTypeComboBoxOptions = () : ComboboxOption[] => {\n\tconst values = Object.keys(userTypeOptions);\n\n\t// Remove referral partner as of right now, but in future TODO: add back\n\tvalues.splice(values.indexOf('REFERRAL_PARTNER'), 1);\n\n\t// If you're not a super user, you don't see the super user option\n\tif (store.userType !== 'SUPER_USER') {\n\t\tvalues.splice(values.indexOf('SUPER_USER'), 1);\n\t}\n\n\treturn values\n\t\t.sort(LocaleCompareObjectAsc(userTypeOptions))\n\t\t.map>((value, index, array) => {\n\t\t\treturn { display: userTypeOptions[value], value: value };\n\t\t});\n};\n\n// Options in alphabetic order\nexport const registrationComboboxOptions: ComboboxOption[] = [\n\t{ display: 'All Statuses', value: 'ALL' },\n\t{ display: 'Complete', value: 'COMPLETE' },\n\t{ display: 'Incomplete', value: 'INCOMPLETE' },\n\t{ display: 'Pending', value: 'PENDING' },\n];\n\nexport const registrationWithCreatedComboboxOptions: ComboboxOption[] = [\n\t{ display: 'All Statuses', value: 'ALL' },\n\t{ display: 'Complete', value: 'COMPLETE' },\n\t{ display: 'Created', value: 'CREATED' },\n\t{ display: 'Incomplete', value: 'INCOMPLETE' },\n\t{ display: 'Pending', value: 'PENDING' },\n];\n\nexport const riskScoreComboboxOptions: ComboboxOption[] = [\n\t{ display: 'All Risk Ratings', value: 'ALL' },\n\t{ display: 'Unknown', value: 'UNKNOWN' },\n\t{ display: 'Minimal', value: 'MINIMAL' },\n\t{ display: 'Very Low', value: 'VERY_LOW' },\n\t{ display: 'Low', value: 'LOW' },\n\t{ display: 'Average', value: 'AVERAGE' },\n\t{ display: 'Moderate', value: 'MODERATE' },\n\t{ display: 'High', value: 'HIGH' },\n\t{ display: 'Very High', value: 'VERY_HIGH' },\n\t{ display: 'Severe', value: 'SEVERE' },\n];\n\nexport const customerMonitoredStatusComboboxOptions: ComboboxOption[] = [\n\t{ display: 'All Monitored Statuses', value: 'ALL' },\n\t{ display: 'Monitored', value: 'MONITORED' },\n\t{ display: 'Insolvent', value: 'INSOLVENT' },\n\t{ display: 'Not Monitored', value: 'NOT_MONITORED' },\n\t{ display: 'Deleted', value: 'DELETED' },\n];\n\n// Options in alphabetic order\nexport type ausStates =\n\t'ALL' |\n\t'ACT' |\n\t'NSW' |\n\t'NT' |\n\t'QLD' |\n\t'SA' |\n\t'TAS' |\n\t'VIC' |\n\t'WA';\n\n// Options in alphabetic order\nexport const ausStateOptions: { [key in ausStates]: string } = {\n\tALL: 'All states',\n\tACT: 'Australian Capital Territory',\n\tNSW: 'New South Wales',\n\tNT: 'Northern Territory',\n\tQLD: 'Queensland',\n\tSA: 'South Australia',\n\tTAS: 'Tasmania',\n\tVIC: 'Victoria',\n\tWA: 'Western Australia',\n};\n\nexport const referrerBusinessTypeComboboxOptions: ComboboxOption[] = [\n\t{ display: 'All Business Types', value: 'ALL' },\n\t{ display: 'Lawyer', value: 'LAWYER' },\n\t{ display: 'Debt Collection', value: 'DEBT_COLLECTION' },\n\t{ display: 'Insolvency Practitioner', value: 'INSOLVENCY_PRACTITIONER' },\n\t{ display: 'Credit Insurance Broker', value: 'CREDIT_INSURANCE_BROKER' },\n\t{ display: 'Credit Bureau', value: 'CREDIT_BUREAU' },\n\t{ display: 'Individual', value: 'INDIVIDUAL' },\n\t{ display: 'Other', value: 'OTHER' },\n];\n\nexport const referrerBenefitTypeComboboxOptions: ComboboxOption[] = [\n\t{ display: 'All Benefit Types', value: 'ALL' },\n\t{ display: 'Commission', value: 'COMMISSION' },\n\t{ display: 'Charity', value: 'CHARITY' },\n\t{ display: 'Client Discount', value: 'CLIENT_DISCOUNT' },\n\t{ display: 'No Commission', value: 'NO_COMMISSION' },\n];\n\nexport const ausStateComboboxOptions: ComboboxOption[] = (\n\t(Object.keys(ausStateOptions) as [ausStates | 'ALL'])\n\t\t.map>((value, index, array) => {\n\t\t\treturn {\n\t\t\t\tdisplay: ausStateOptions[value],\n\t\t\t\tvalue: value,\n\t\t\t};\n\t\t})\n);\n\nexport const acnTypeOptions: { [key: string]: string } = {\n\tAPTY: 'Australian Proprietary Company',\n\tAPUB: 'Australian Public Company',\n\tASSN: 'Association',\n\tBUSN: 'Business name',\n\tCHAR: 'Charity',\n\tCOMP: 'Community purpose',\n\tCOOP: 'Co-operative society',\n\tFNOS: 'Foreign company (overseas)',\n\tLTDP: 'Limited partnership',\n\tMISM: 'Managed investment scheme',\n\tNONC: 'Non company',\n\tNRET: 'Non registered entity',\n\tRACN: 'Registered Australian Corporation',\n\tREBD: 'Religious body',\n\tRSVN: 'Name reservation',\n\tSOLS: 'Solicitor corporation',\n\tTRST: 'Trust',\n};\n\nexport const acnStatusOptions: { [key: string]: string } = {\n\tAPPR: 'Approved (trust)',\n\tARCH: 'Business names - archived',\n\tASOS: 'Association strike off status',\n\tCNCL: 'Cancelled',\n\tCONV: 'Converted (trust)',\n\tDISS: 'Dissolved by Special Act of Parliament',\n\tDIV3: 'Organisation Transferred Registration via DIV3',\n\tDMNT: 'Dormant',\n\tDRGD: 'De-registered',\n\tEXAA: 'External administration - associations',\n\tEXAD: 'External Administration',\n\tNOAC: 'Not Active',\n\tNRGD: 'Not Registered',\n\tPEND: 'Pending - schemes',\n\tPROV: 'Provisional',\n\tREGD: 'Registered',\n\tREXP: 'Business name expired',\n\tRMVD: 'Business name removed',\n\tSOFF: 'Strike-off Action in Progress',\n\tWDUP: 'Winding up - managed investments scheme',\n\tWDPI: 'Winding up - prescribed interest schemes',\n\t'NO RECORD': 'No records found',\n\tinvalid: 'Invalid ACN',\n};\n\nexport const acnClassOptions: { [key: string]: string } = {\n\tEQUT: 'Equity',\n\tLMGT: 'Limited by guarantee',\n\tLMSG: 'Limited by shares and guarantee',\n\tLMSH: 'Limited by shares',\n\tMORT: 'Mortgage',\n\tNLIA: 'No liability',\n\tNONE: 'Liability unknown',\n\tPROP: 'Property',\n\tUNKN: 'Liability unknown',\n\tUNLM: 'Unlimited',\n};\n\nexport const acnSubClassOptions: { [key: string]: string } = {\n\tEXPN: 'Exempt proprietary company - non profit company',\n\tEXPS: 'Exempt proprietary and superannuation trustee company',\n\tEXPT: 'Exempt proprietary company',\n\tFXPT: 'Foreign company exempt from lodging balance sheet',\n\tHUNT: 'Proprietary - home unit company',\n\tLISN: 'Company licensed under Section 383 to omit \\'Limited\\' from its name',\n\tLISS: 'Company licensed under Section 383 to omit \\'Limited\\' from its name - superannuation trustee company',\n\tLIST: 'Listed public company',\n\tLXPT: 'Company licensed to omit \\'Limited\\' and exempt from returns',\n\tNEXN: 'Non-exempt proprietary company - non profit',\n\tNEXS: 'Non-exempt proprietary and superannuation trustee company',\n\tNEXT: 'Non-exempt proprietary company',\n\tNONE: 'Unknown',\n\tNLTD: 'Non-profit public company registered without \\'Limited\\' in its name under Section 150',\n\tPNPC: 'Proprietary - non-profit company',\n\tPSTC: 'Proprietary - superannuation trustee company',\n\tPUBF: 'Foreign company required to lodge a balance sheet',\n\tPROP: 'Proprietary - other',\n\tRACA: 'Registrable Australian corporation - association',\n\tRACO: 'Registrable Australian corporation - non association',\n\tSPEC: 'Special',\n\tULSN: 'Unlisted public - non-profit company',\n\tULSS: 'Unlisted public - superannuation trustee company',\n\tULST: 'Unlisted public company',\n};\n\n// Options in alphabetic order\nexport const referrerBusinessTypeRegistrationComboboxOptions: ComboboxOption[] = [\n\t{ display: 'Credit bureau', value: 'CREDIT_BUREAU' },\n\t{ display: 'Credit insurance broker', value: 'CREDIT_INSURANCE_BROKER' },\n\t{ display: 'Debt collection', value: 'DEBT_COLLECTION' },\n\t{ display: 'I am an individual', value: 'INDIVIDUAL' },\n\t{ display: 'Insolvency practitioner', value: 'INSOLVENCY_PRACTITIONER' },\n\t{ display: 'Lawyer', value: 'LAWYER' },\n\t{ display: 'Other (provide details)', value: 'OTHER' },\n];\n\nexport const referrerBenefitTypeRegistrationComboboxOptions: ComboboxOption[] = [\n\t{ display: 'Client to receive overall discount', value: 'CLIENT_DISCOUNT' },\n\t{ display: 'Do not receive commission', value: 'NO_COMMISSION' },\n\t{ display: 'Receive commission', value: 'COMMISSION' },\n\t{ display: 'Send commission to charity', value: 'CHARITY' },\n];\n\nexport const referrerCommissionFrequencyComboboxOptions = () : ComboboxOption[] => {\n\tconst values = Object.keys(referrerCommissionFrequencyOptions);\n\n\treturn values\n\t\t.sort(LocaleCompareObjectAsc(referrerCommissionFrequencyOptions))\n\t\t.map>((value, index, array) => {\n\t\t\treturn { display: referrerCommissionFrequencyOptions[value], value: value };\n\t\t});\n};\n\nexport type ProcessingErrorType =\n\t'Internal'\n\t|'Invalid'\n\t|'Required'\n\t|'CustomerPartialMatch'\n\t|'CustomerNoMatch'\n\t|'CustomerDuplicateMatch';\nexport type ProcessingErrorInputType =\n\t'None'\n\t|'String'\n\t|'Integer'\n\t|'Currency'\n\t|'Abn'\n\t|'Acn'\n\t|'Date'\n\t|'Customer';\n\nexport const riskScoreEnumToValueRange: { [key: string]: string[] } = {\n\tMINIMAL: ['0', '5'],\n\tVERY_LOW: ['5', '10'],\n\tLOW: ['10', '15'],\n\tAVERAGE: ['15', '20'],\n\tMODERATE: ['20', '50'],\n\tHIGH: ['50', '70'],\n\tVERY_HIGH: ['70', '90'],\n\tSEVERE: ['90', '1000000000'],\n};\n\nexport const paymentRiskToTooltip: { [key in riskScore]: string } = {\n\tUNKNOWN: 'Incorrect or insufficient information provided or available upon which to provide a score at this time. '\n\t\t+ 'Please refer to Insolvency Risk Score or make alternative enquiries.',\n\tMINIMAL: 'Credit assessment factors indicate this entity is highly likely to meet credit commitments in the next '\n\t\t+ '3 months. Recommendation - extend terms with usual caution to suit exposure.',\n\tVERY_LOW: 'Risk assessment factors indicate this entity is likely to meet credit commitments in the next 3 months. '\n\t\t+ 'Recommendation - extend terms with usual caution to suit exposure.',\n\tLOW: 'This entity has the ability to meet its credit commitments as they become payable. Recommendation is to '\n\t\t+ 'extend credit terms with caution and monitor for deterioration in capacity. ',\n\tAVERAGE: 'This entity has adequate ability to pay its debts as they fall due. Recommendation is to extend credit '\n\t\t+ 'terms but monitor for capacity impairment. PPSR is always recommended where appropriate.',\n\tMODERATE: 'Indications are that this entity is stable but vulnerable. Its ability to meet credit commitments is '\n\t\t+ 'dependent upon favourable conditions continuing. Recommendation is to extend credit terms cautiously with '\n\t\t+ 'close monitoring and PPSR in place.',\n\tHIGH: 'Risk assessment indicators show that this entity is under high pressure to make creditor payments as they '\n\t\t+ 'fall due. Unfavourable conditions going forward may further exacerbate this. Recommend PPSR and only extend '\n\t\t+ 'terms with extreme caution with monitoring in place for deteriorating payment behaviour essential.',\n\tVERY_HIGH: 'Risk indications are this entity is unlikely to be able to meet its credit commitments in the coming '\n\t\t+ 'months. Cash on Deliver trading and solid PPSR compliance is recommended.',\n\tSEVERE: 'Risk alert indications are this entity is in severe distress and unlikely to be able to meet its credit '\n\t\t+ 'commitments in the coming months. Cash on Deliver trading and solid PPSR compliance is recommended.',\n};\n\nexport const insolvencyRiskToTooltip: { [key in riskScore]: string } = {\n\tUNKNOWN: 'Incorrect or insufficient information provided or available upon which to provide a score at this time. '\n\t\t+ 'Please refer to Payment Risk Score or make alternative enquiries.',\n\tMINIMAL: 'Credit assessment factors indicate this entity is highly likely to continue to remain in business in the'\n\t\t+ ' next 12 months. Recommendation - extend terms with usual caution in line with exposure.',\n\tVERY_LOW: 'Risk assessment factors indicate this entity is likely to continue to remain in business in the next 12'\n\t\t+ ' months. Recommendation - extend terms with usual caution in line with exposure.',\n\tLOW: 'This entity is stable and likely to remain in business in the coming 12 months. Recommendation is to extend '\n\t\t+ 'credit terms with caution but monitor for stress indicators.',\n\tAVERAGE: 'This entity is fairly stable and likely to remain in business during the coming 12 months. Recommendation'\n\t\t+ ' is to extend credit terms but monitor for distress indicators. PPSR is always recommended where '\n\t\t+ 'appropriate.',\n\tMODERATE: 'Indications are that this entity is stable but vulnerable. Its ability to continue trading relies upon '\n\t\t+ 'favourable conditions. Recommendation is to extend credit terms cautiously with close monitoring and PPSR '\n\t\t+ 'in place.',\n\tHIGH: 'Risk assessment indicators show that this entity is trading precariously and in danger of failing within '\n\t\t+ 'the next 12 months. Unfavourable conditions going forward may lead to its early demise. Recommend PPSR '\n\t\t+ 'security is in place and only extend terms with extreme caution with monitoring in place for additional '\n\t\t+ 'insolvency indicators.',\n\tVERY_HIGH: 'Risk indicators show that the probability of this entity failing in the next 12 months is very high. '\n\t\t+ 'Cash on Delivery trading and solid PPSR compliance is recommended.',\n\tSEVERE: 'Risk alert indicators show that this entity is in severe distress and is highly likely to fail in the next'\n\t\t+ ' 12 months. Cash on Delivery trading and solid PPSR compliance is recommended.',\n};\n\nexport const customerAuditCategoryComboboxOptions: ComboboxOption[] = [\n\t{ display: 'All Update Types', value: 'ALL' },\n\t{ display: 'Account Information', value: 'ACCOUNT_INFORMATION' },\n\t{ display: 'Adverse Alert', value: 'ADVERSE_ALERT' },\n\t{ display: 'Business Information', value: 'BUSINESS_INFORMATION' },\n\t{ display: 'Comment', value: 'COMMENT' },\n\t{ display: 'Credit Default', value: 'CREDIT_DEFAULT' },\n\t{ display: 'Entity Update', value: 'ENTITY_UPDATE' },\n\t{ display: 'Risk Score', value: 'RISK_SCORE' },\n\t{ display: 'Other', value: 'OTHER' },\n];\n\nexport const atbFileTypeComboboxOptions: ComboboxOption[] = [\n\t{ display: 'All Types', value: 'ALL' },\n\t{ display: 'Xero', value: 'XERO'},\n\t{ display: 'Standard', value: 'STANDARD'},\n\t{ display: 'Unknown', value: 'UNKNOWN'},\n\t{ display: 'Customers Only', value: 'CUSTOMERS_ONLY'},\n];\n\nexport const organisationCategoryComboboxOptions: ComboboxOption[] = [\n\t{ display: \"PAYG\", value: \"PAYG\"},\n\t{ display: \"Small\", value: \"SMALL\"},\n\t{ display: \"Medium\", value: \"MEDIUM\"},\n\t{ display: \"Large\", value: \"LARGE\"},\n\t{ display: \"Enterprise\", value: \"ENTERPRISE\"},\n];\n// % protected region % [Add any extra enums here] end\n","import validate from './validate.js';\n\nfunction parse(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n var v;\n var arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nexport default parse;","// Adapted from Chris Veness' SHA1 code at\n// http://www.movable-type.co.uk/scripts/sha1.html\nfunction f(s, x, y, z) {\n switch (s) {\n case 0:\n return x & y ^ ~x & z;\n\n case 1:\n return x ^ y ^ z;\n\n case 2:\n return x & y ^ x & z ^ y & z;\n\n case 3:\n return x ^ y ^ z;\n }\n}\n\nfunction ROTL(x, n) {\n return x << n | x >>> 32 - n;\n}\n\nfunction sha1(bytes) {\n var K = [0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6];\n var H = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0];\n\n if (typeof bytes === 'string') {\n var msg = unescape(encodeURIComponent(bytes)); // UTF8 escape\n\n bytes = [];\n\n for (var i = 0; i < msg.length; ++i) {\n bytes.push(msg.charCodeAt(i));\n }\n } else if (!Array.isArray(bytes)) {\n // Convert Array-like to Array\n bytes = Array.prototype.slice.call(bytes);\n }\n\n bytes.push(0x80);\n var l = bytes.length / 4 + 2;\n var N = Math.ceil(l / 16);\n var M = new Array(N);\n\n for (var _i = 0; _i < N; ++_i) {\n var arr = new Uint32Array(16);\n\n for (var j = 0; j < 16; ++j) {\n arr[j] = bytes[_i * 64 + j * 4] << 24 | bytes[_i * 64 + j * 4 + 1] << 16 | bytes[_i * 64 + j * 4 + 2] << 8 | bytes[_i * 64 + j * 4 + 3];\n }\n\n M[_i] = arr;\n }\n\n M[N - 1][14] = (bytes.length - 1) * 8 / Math.pow(2, 32);\n M[N - 1][14] = Math.floor(M[N - 1][14]);\n M[N - 1][15] = (bytes.length - 1) * 8 & 0xffffffff;\n\n for (var _i2 = 0; _i2 < N; ++_i2) {\n var W = new Uint32Array(80);\n\n for (var t = 0; t < 16; ++t) {\n W[t] = M[_i2][t];\n }\n\n for (var _t = 16; _t < 80; ++_t) {\n W[_t] = ROTL(W[_t - 3] ^ W[_t - 8] ^ W[_t - 14] ^ W[_t - 16], 1);\n }\n\n var a = H[0];\n var b = H[1];\n var c = H[2];\n var d = H[3];\n var e = H[4];\n\n for (var _t2 = 0; _t2 < 80; ++_t2) {\n var s = Math.floor(_t2 / 20);\n var T = ROTL(a, 5) + f(s, b, c, d) + e + K[s] + W[_t2] >>> 0;\n e = d;\n d = c;\n c = ROTL(b, 30) >>> 0;\n b = a;\n a = T;\n }\n\n H[0] = H[0] + a >>> 0;\n H[1] = H[1] + b >>> 0;\n H[2] = H[2] + c >>> 0;\n H[3] = H[3] + d >>> 0;\n H[4] = H[4] + e >>> 0;\n }\n\n return [H[0] >> 24 & 0xff, H[0] >> 16 & 0xff, H[0] >> 8 & 0xff, H[0] & 0xff, H[1] >> 24 & 0xff, H[1] >> 16 & 0xff, H[1] >> 8 & 0xff, H[1] & 0xff, H[2] >> 24 & 0xff, H[2] >> 16 & 0xff, H[2] >> 8 & 0xff, H[2] & 0xff, H[3] >> 24 & 0xff, H[3] >> 16 & 0xff, H[3] >> 8 & 0xff, H[3] & 0xff, H[4] >> 24 & 0xff, H[4] >> 16 & 0xff, H[4] >> 8 & 0xff, H[4] & 0xff];\n}\n\nexport default sha1;","import v35 from './v35.js';\nimport sha1 from './sha1.js';\nvar v5 = v35('v5', 0x50, sha1);\nexport default v5;","import stringify from './stringify.js';\nimport parse from './parse.js';\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n var bytes = [];\n\n for (var i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nexport var DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexport var URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexport default function (name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = parse(namespace);\n }\n\n if (namespace.length !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n var bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return stringify(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\n// % protected region % [Add extra imports here] off begin\n// % protected region % [Add extra imports here] end\n\nexport function isNotNull(value: T): value is Exclude {\n\treturn value !== null;\n}\n\nexport function isNotUndefined(value: T): value is Exclude {\n\treturn value !== undefined;\n}\n\nexport function isNotNullOrUndefined(value: T): value is Exclude {\n\treturn value !== undefined && value !== null;\n}\n\n// % protected region % [Add any extra methods here] off begin\n// % protected region % [Add any extra methods here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as uuid from 'uuid';\nimport _ from 'lodash';\nimport axios from 'axios';\nimport gql from 'graphql-tag';\nimport moment from 'moment';\nimport {\n\taction,\n\tcomputed,\n\tobservable,\n\trunInAction,\n} from 'mobx';\nimport {\n\tAPPLICATION_ID,\n\tattributes as attributesSymbol,\n\tcrudOptions,\n\tdisplayName as displayNameSymbol,\n\tfileAttributes,\n\tmodelName as modelNameSymbol,\n\treferences as referencesSymbol,\n\tserialiseAs,\n\tvalidator as validatorSymbol,\n} from 'Symbols';\nimport { store } from './Store';\nimport { lowerCaseFirst } from 'Util/StringUtils';\nimport { AttributeCRUDOptions, ICRUDOptions } from './CRUDOptions';\nimport type { IEntityValidationErrors } from 'Validators/Util';\nimport {\n\tIAttributeValidationErrorInfo,\n\tIFormFieldValidationError,\n\tIModelAttributeValidationError,\n\tIModelValidator,\n\tPropertyType,\n} from 'Validators/Util';\nimport { IAcl } from './Security/IAcl';\nimport {\n\tComparators,\n\tHasCondition,\n\tIOrderByCondition,\n\tIWhereCondition,\n} from 'Views/Components/ModelCollection/ModelQuery';\nimport { getFetchAllConditional, getModelName } from 'Util/EntityUtils';\nimport { getTheNetworkError } from 'Util/GraphQLUtils';\nimport { ICollectionFilterPanelProps } from 'Views/Components/Collection/CollectionFilterPanel';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport { SERVER_URL } from 'Constants';\nimport { DocumentNode } from 'graphql';\nimport { isNotNull } from 'Util/TypeGuards';\nimport { FetchResult } from '@apollo/client';\nimport { ErrorResponse } from '@apollo/client/link/error';\nimport { serialiseDateTime } from 'Util/AttributeUtils';\n// % protected region % [Add any further imports here] on begin\nimport type { Errors } from '../Util/CustomTypes';\n// % protected region % [Add any further imports here] end\n\nexport type jsonReplacerFn = (input: { [key: string]: any }) => { [key: string]: any };\n\nexport interface QueryOptions {\n\tquery: DocumentNode;\n\tvariables?: TVariables;\n\terrorPolicy?: 'none' | 'ignore' | 'all';\n\tfetchResults?: boolean;\n\tmetadata?: any;\n\tcontext?: any;\n\tfetchPolicy?: 'cache-first' | 'network-only' | 'cache-only' | 'no-cache' | 'standby';\n\t[key: string]: any;\n}\n\nexport interface IModelType {\n\tnew (attributes?: Partial): T;\n\tacls?: IAcl[];\n\tgetOrderByField?: () => IOrderByCondition | undefined;\n\tfetch(variables?: IConditionalFetchArgs): Promise\n\texcludeFromCreate: string[];\n\texcludeFromUpdate: string[];\n\tgetAttributes(): string[];\n\tgetFiles(): {name: string, blob: string}[];\n}\n\nexport interface IModelAttributes {\n\tid?: string;\n\tcreated?: Date;\n\tmodified?: Date;\n\t// % protected region % [Add any further abstract model properties here] off begin\n\t// % protected region % [Add any further abstract model properties here] end\n}\n\nexport type SaveOption = {key: string, value: any, graphQlType: string};\nexport interface ISaveOptions {\n\toptions?: SaveOption[];\n\tcreateOptions?: SaveOption[];\n\tupdateOptions?: SaveOption[];\n\tgraphQlInputType?: string;\n\tjsonTransformFn?: jsonReplacerFn;\n\tcontentType?: 'application/json' | 'multipart/form-data';\n\tfiles?: {attributeName: string, file: Blob}[];\n}\n\ninterface IBaseFetchArgs {\n\tid?: string;\n\tids?: Array\n\torderBy?: Array>;\n\tskip?: number;\n\ttake?: number;\n\thas?: HasCondition[][];\n}\n\nexport interface IFetchArgs extends IBaseFetchArgs {\n\targs?: Array>;\n}\n\nexport interface IConditionalFetchArgs extends IBaseFetchArgs {\n\targs?: Array>>;\n}\n\n/**\n * Initialises the attributes array on a target model\n * Cannot be run on the abstract model since that will initialise the same array on all child models\n * @param target {T extends Model} The target class to initialise the attributes object on\n */\nfunction initAttributes(target: { getModelName: () => string }) {\n\tif (target.getModelName() !== 'Model') {\n\t\tif (!target[attributesSymbol]) {\n\t\t\ttarget[attributesSymbol] = ['id', 'created', 'modified'];\n\t\t}\n\t\tif (!target[referencesSymbol]) {\n\t\t\ttarget[referencesSymbol] = [];\n\t\t}\n\t\tif (!target[fileAttributes]) {\n\t\t\ttarget[fileAttributes] = [];\n\t\t}\n\t\tif (!target[serialiseAs]) {\n\t\t\ttarget[serialiseAs] = [];\n\t\t}\n\t}\n}\n\nexport type SerialiseFunc = (entity: T, attr: A) => any;\n\nexport interface IAttributeOptions {\n\tisReference?: boolean;\n\tmanyReference?: boolean;\n\tfile?: string;\n\t/**\n\t * How should the attribute be serialised.\n\t */\n\tserialise?: SerialiseFunc;\n}\n\n/**\n * The attribute decorator for all bot written model properties.\n * This will append to the attribute array and decorate with a mobx observer\n */\nexport function attribute(options?: IAttributeOptions) {\n\t// % protected region % [Add to the attribute decorator here] off begin\n\t// % protected region % [Add to the attribute decorator here] end\n\treturn (target: { getModelName: () => string }, key: string) => {\n\t\t// Init attributes array\n\t\tinitAttributes(target);\n\n\t\t// Add to the attributes array for any attributes\n\t\tif (options?.isReference) {\n\t\t\ttarget[referencesSymbol].push({\n\t\t\t\tattribute: key,\n\t\t\t\tmanyReference: options.manyReference,\n\t\t\t});\n\t\t} else if (options?.file) {\n\t\t\ttarget[fileAttributes].push({ name: key, blob: options.file });\n\t\t} else {\n\t\t\ttarget[attributesSymbol].push(key);\n\t\t}\n\n\t\tif (options?.serialise) {\n\t\t\ttarget[serialiseAs].push({ name: key, func: options.serialise });\n\t\t}\n\t};\n}\n\n/**\n * @param modelName The name of the model\n * @param displayName The display name of the model for presentation purposes, defaults to the modelName\n */\nexport function entity(modelName: string, displayName?: string) {\n\t// Need https://github.com/microsoft/TypeScript/pull/44512 which shall be in typescript 4.4\n\t// eslint-disable-next-line @typescript-eslint/ban-types\n\treturn (target: {}) => {\n\t\ttarget[modelNameSymbol] = modelName;\n\t\ttarget[displayNameSymbol] = displayName === undefined\n\t\t\t? modelName\n\t\t\t: displayName;\n\t};\n}\n\nexport interface IAttributeGroup {\n\tid: number;\n\tname: string;\n\torder: number;\n\tshowName?: boolean;\n}\n\nexport interface ReferencePath {\n\t[key: string]: ReferencePath | undefined | null;\n}\n\nexport class Model implements IModelAttributes {\n\t/**\n\t * The acl entries associated to this entity\n\t */\n\tpublic static acls: IAcl[] = [];\n\n\tpublic static excludeFromCreate: string[] = [];\n\n\tpublic static excludeFromUpdate: string[] = [];\n\n\t/**\n\t * Client only id for identifying entities before they are sent up to the server\n\t */\n\tpublic _clientId = uuid.v4();\n\n\t/* The default order by field when the collection is loaded */\n\t// eslint-disable-next-line class-methods-use-this\n\tpublic get orderByField(): IOrderByCondition | undefined {\n\t\treturn undefined;\n\t}\n\n\tpublic static getOrderByField() {\n\t\treturn this.prototype.orderByField;\n\t}\n\n\t@observable\n\tpublic validationErrors: IEntityValidationErrors = {};\n\n\t@computed\n\tpublic get hasValidationError(): boolean {\n\t\treturn Object.keys(this.validationErrors).some(prop => {\n\t\t\tconst propErrors = this.validationErrors[prop];\n\t\t\tswitch (propErrors.type) {\n\t\t\t\tcase PropertyType.OWN:\n\t\t\t\t\treturn true;\n\t\t\t\tcase PropertyType.REFERENCE:\n\t\t\t\t\treturn Object.keys(this.validationErrors[prop].errors).length > 0;\n\t\t\t\tcase PropertyType.CHILDREN:\n\t\t\t\t\treturn (this.validationErrors[prop].errors as Array).some(() => {\n\t\t\t\t\t\treturn Object.keys(this.validationErrors[prop].errors).length > 0;\n\t\t\t\t\t});\n\t\t\t\tdefault:\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t});\n\t}\n\n\t// Does not support get reference errors and child entity errors yet for now\n\tpublic getErrorsForAttribute = (attributeName: string): string[] => {\n\t\tif (!!this.validationErrors[attributeName]) {\n\t\t\tif (this.validationErrors[attributeName].type === PropertyType.OWN) {\n\t\t\t\treturn _\n\t\t\t\t\t.chain(Object.keys((this.validationErrors[attributeName].errors)))\n\t\t\t\t\t.map(error => {\n\t\t\t\t\t\treturn this.validationErrors[attributeName].errors[error];\n\t\t\t\t\t})\n\t\t\t\t\t.flatMap(errors => {\n\t\t\t\t\t\treturn errors;\n\t\t\t\t\t})\n\t\t\t\t\t.value();\n\t\t\t}\n\t\t}\n\t\treturn [];\n\t};\n\n\t/**\n\t * Graphql query fragment that is always included when fetching this entity\n\t */\n\tpublic defaultExpands = '';\n\n\t/**\n\t * Graphql query fragment that is only included when fetched from the crud list.\n\t * This normally does not contain any references.\n\t * This field will not be used when defaultExpands is used.\n\t */\n\tpublic listExpands = '';\n\n\tpublic attributeGroups?: IAttributeGroup[];\n\n\t@observable\n\tpublic id: string;\n\n\t// % protected region % [Customize time format here] off begin\n\t@observable\n\tprivate _created: Date;\n\n\t@computed\n\tpublic get created() {\n\t\treturn this._created;\n\t}\n\n\tpublic set created(date: Date) {\n\t\tif (typeof (date) === 'string') {\n\t\t\tthis._created = moment.utc(date).toDate();\n\t\t} else {\n\t\t\tthis._created = date;\n\t\t}\n\t}\n\n\t@observable\n\tprivate _modified: Date;\n\n\t@computed\n\tpublic get modified() {\n\t\treturn this._modified;\n\t}\n\n\tpublic set modified(date: Date) {\n\t\tif (typeof date === 'string') {\n\t\t\tthis._modified = moment.utc(date).toDate();\n\t\t} else {\n\t\t\tthis._modified = date;\n\t\t}\n\t}\n\t// % protected region % [Customize time format here] end\n\n\t// % protected region % [Add any custom attributes to the abstract model here] on begin\n\t// Stores the validation errors for this entity\n\t// Is only accurate if the validateField function is called\n\t@observable public errors: Errors = {};\n\t// % protected region % [Add any custom attributes to the abstract model here] end\n\n\tconstructor(attributes?: Partial) {\n\t\tthis.assignAttributes(attributes);\n\t}\n\n\tpublic assignAttributes(attributes?: Partial) {\n\t\tif (attributes) {\n\t\t\tif (attributes.id !== undefined) {\n\t\t\t\tthis.id = attributes.id;\n\t\t\t}\n\t\t\tif (attributes.created !== undefined) {\n\t\t\t\tthis.created = attributes.created;\n\t\t\t}\n\t\t\tif (attributes.modified !== undefined) {\n\t\t\t\tthis.modified = attributes.modified;\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Validates a model and any submodels\n\t * @param path A path object for choosing which nested models to convert to JSON\n\t * @example\n\t * myModel.validate();\n\t * @example\n\t * myModel.validate({relation: {subrelation: {}}});\n\t */\n\tpublic async validate(path: ReferencePath = {}): Promise {\n\t\tlet results: IEntityValidationErrors = {};\n\t\tif (this[validatorSymbol]) {\n\t\t\tconst promises = await Promise.all(\n\t\t\t\t(this[validatorSymbol] as IModelValidator[]).map(\n\t\t\t\t\tvalidator => validator(this),\n\t\t\t\t),\n\t\t\t);\n\t\t\tconst ownErrorsArray: IModelAttributeValidationError[] = promises\n\t\t\t\t.filter(\n\t\t\t\t\terror => {\n\t\t\t\t\t\tif (!_.some(path, _.isEmpty)) {\n\t\t\t\t\t\t\treturn !!error;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t!!error\n\t\t\t\t\t\t\t&& !!error.attributeName\n\t\t\t\t\t\t\t&& Object.prototype.hasOwnProperty.call(path, error.attributeName)\n\t\t\t\t\t\t) ? !!error : null;\n\t\t\t\t\t},\n\t\t\t\t)\n\t\t\t\t.filter(isNotNull);\n\n\t\t\tconst ownErrors = ownErrorsArray.reduce((errors, error) => {\n\t\t\t\tif (errors[error.attributeName] === undefined) {\n\t\t\t\t\terrors[error.attributeName] = {\n\t\t\t\t\t\ttype: PropertyType.OWN,\n\t\t\t\t\t\terrors: { [`${error.errorType}`]: [error.errorMessage] } as IFormFieldValidationError,\n\t\t\t\t\t};\n\t\t\t\t} else {\n\t\t\t\t\tconst errs = errors[error.attributeName].errors;\n\t\t\t\t\tif (errs[error.errorType] === undefined) {\n\t\t\t\t\t\terrs[error.errorType] = [error.errorMessage];\n\t\t\t\t\t} else {\n\t\t\t\t\t\terrs[error.errorType].push(error.errorMessage);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn errors;\n\t\t\t}, {} as IEntityValidationErrors);\n\n\t\t\tresults = { ...results, ...ownErrors };\n\t\t}\n\n\t\tconst referencesToValidate = Object.keys(path).filter(key => this.references.includes(key));\n\n\t\tconst promises: Promise[] = [];\n\t\tfor (const reference of referencesToValidate) {\n\t\t\tif (Array.isArray(this[reference])) {\n\t\t\t\tconst refs: Model[] = this[reference];\n\n\t\t\t\tpromises.push(\n\t\t\t\t\tPromise.all(refs.map(item => item.validate(path[reference] ?? undefined)))\n\t\t\t\t\t\t.then(childrenPromises => {\n\t\t\t\t\t\t\tconst childrenErrors: IEntityValidationErrors[] = childrenPromises\n\t\t\t\t\t\t\t\t.map(oneChildErrors => {\n\t\t\t\t\t\t\t\t\tif (Object.keys(oneChildErrors).length > 0) {\n\t\t\t\t\t\t\t\t\t\treturn oneChildErrors;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t.filter(isNotNull);\n\n\t\t\t\t\t\t\tresults[reference] = {\n\t\t\t\t\t\t\t\ttype: PropertyType.CHILDREN,\n\t\t\t\t\t\t\t\ttarget: this[reference],\n\t\t\t\t\t\t\t\terrors: childrenErrors,\n\t\t\t\t\t\t\t} as IAttributeValidationErrorInfo;\n\t\t\t\t\t\t}),\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tpromises.push(\n\t\t\t\t\t(this[reference].validate(path[reference]) as Promise)\n\t\t\t\t\t\t.then(referenceErrors => {\n\t\t\t\t\t\t\tif (Object.keys(referenceErrors).length > 0) {\n\t\t\t\t\t\t\t\tresults[reference] = {\n\t\t\t\t\t\t\t\t\ttype: PropertyType.REFERENCE,\n\t\t\t\t\t\t\t\t\ttarget: this[reference],\n\t\t\t\t\t\t\t\t\terrors: referenceErrors,\n\t\t\t\t\t\t\t\t} as IAttributeValidationErrorInfo;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}),\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\n\t\tawait Promise.all(promises);\n\t\trunInAction(() => {\n\t\t\tthis.validationErrors = results;\n\t\t});\n\t\treturn results;\n\t}\n\n\t/**\n\t * Clear all the validation errors in a model\n\t * @example\n\t * myModel.clearErrors();\n\t */\n\t@action\n\tpublic clearErrors = () => {\n\t\tthis.validationErrors = {};\n\t\tfor (const reference of this.references) {\n\t\t\tif (Array.isArray(this[reference])) {\n\t\t\t\t(this[reference] as Model[]).forEach(model => {\n\t\t\t\t\tif (!!model) {\n\t\t\t\t\t\tmodel.clearErrors();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else if (!!this[reference] && typeof (this[reference] as Model).clearErrors === 'function') {\n\t\t\t\t(this[reference] as Model).clearErrors();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Turns the model into JSON. Can convert selected submodels to JSON as well using the path param.\n\t * @param path A path object for choosing which nested models to convert to JSON\n\t * @param excludeCrudFields Should excludeFromCreate and excludeFromUpdate be respected\n\t * @param replacer A function to mutate the JSON result\n\t * @returns A JSON form of the model\n\t * @example\n\t * myModel.toJSON();\n\t * @example\n\t * myModel.toJSON({relation: {subrelation: {}}});\n\t */\n\tpublic toJSON(\n\t\tpath: ReferencePath = {},\n\t\texcludeCrudFields = false,\n\t\treplacer: jsonReplacerFn | undefined = undefined,\n\t) {\n\t\tconst json = {};\n\t\tconst pathKeys = Object.keys(path);\n\n\t\tlet allKeys = _.uniq(this.attributes.concat(this.references).concat(pathKeys));\n\t\tif (excludeCrudFields) {\n\t\t\tconst staticType = this.constructor as IModelType;\n\t\t\tconst excludeList = this.id\n\t\t\t\t? staticType.excludeFromUpdate\n\t\t\t\t: staticType.excludeFromCreate;\n\t\t\tallKeys = allKeys.filter((k: string) => excludeList.indexOf(k) === -1);\n\t\t}\n\n\t\tfor (const key of allKeys) {\n\t\t\tif (this[key] === null && this.attributes.indexOf(key) !== -1) {\n\t\t\t\tjson[key] = null;\n\t\t\t\t// eslint-disable-next-line no-continue\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst serialiseData = this.serialiseAsData.find(x => x.name === key);\n\t\t\tif (serialiseData) {\n\t\t\t\tjson[key] = serialiseData.func(this, this[key]);\n\t\t\t\t// eslint-disable-next-line no-continue\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tswitch (typeof (this[key])) {\n\t\t\t\tcase 'function':\n\t\t\t\t\t// We never want functions\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'object':\n\t\t\t\t\t// Format dates as strings\n\t\t\t\t\tif (this[key] instanceof Date) {\n\t\t\t\t\t\tjson[key] = serialiseDateTime(this[key]);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\t// We only want objects if they are defined in the provided path\n\t\t\t\t\tif (pathKeys.indexOf(key) >= 0) {\n\t\t\t\t\t\tif (Array.isArray(this[key])) {\n\t\t\t\t\t\t\tjson[key] = this[key].map((model: Model | { [key: string]: unknown }) => {\n\t\t\t\t\t\t\t\tif (typeof model.toJSON === 'function') {\n\t\t\t\t\t\t\t\t\treturn model.toJSON(path[key], true);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn JSON.parse(JSON.stringify(model));\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} else if (this[key] === null) {\n\t\t\t\t\t\t\tjson[key] = null;\n\t\t\t\t\t\t} else if (typeof this[key].toJSON === 'function') {\n\t\t\t\t\t\t\tjson[key] = this[key].toJSON(path[key], true);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjson[key] = JSON.parse(JSON.stringify(this[key]));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'undefined':\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif (!key.startsWith('_')) {\n\t\t\t\t\t\tjson[key] = this[key];\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (const file of this.files) {\n\t\t\tconst fileBlob = this[file.blob];\n\t\t\tif (fileBlob instanceof Blob) {\n\t\t\t\tjson[file.name] = uuid.v5(`${this._clientId}.${file.name}`, APPLICATION_ID);\n\t\t\t} else if (this[file.name]) {\n\t\t\t\tjson[file.name] = this[file.name];\n\t\t\t}\n\t\t}\n\n\t\tif (replacer) {\n\t\t\treturn replacer(json);\n\t\t}\n\t\treturn json;\n\t}\n\n\tpublic getFiles(\n\t\tpath: ReferencePath = {},\n\t\texcludeCrudFields = false,\n\t\tresult: { attributeName: string, file: Blob }[] = [],\n\t): { attributeName: string, file: Blob }[] {\n\t\tfor (const file of this.files) {\n\t\t\tconst fileBlob = this[file.blob];\n\t\t\tif (fileBlob instanceof Blob) {\n\t\t\t\tresult.push({\n\t\t\t\t\tattributeName: uuid.v5(`${this._clientId}.${file.name}`, APPLICATION_ID),\n\t\t\t\t\tfile: fileBlob,\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\tconst referenceKeys = Object.keys(path);\n\t\tfor (const key of referenceKeys) {\n\t\t\tconst referenceObj = this[key];\n\t\t\tconst referenceArray = Array.isArray(referenceObj) ? referenceObj : [referenceObj];\n\t\t\treferenceArray.forEach(obj => {\n\t\t\t\tif (obj instanceof Model) {\n\t\t\t\t\tobj.getFiles(path[key] ?? undefined, excludeCrudFields, result);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\treturn result;\n\t}\n\n\t/**\n\t * Helper method that reads the display metadata of this object and returns it in a typed format.\n\t */\n\tpublic getAttributeCRUDOptions(): AttributeCRUDOptions[] {\n\t\tconst attributeDisplay = [];\n\t\tfor (const [attributeName, displayOptions] of Object.entries(this[crudOptions])) {\n\t\t\tattributeDisplay.push(new AttributeCRUDOptions(attributeName, displayOptions as ICRUDOptions));\n\t\t}\n\n\t\treturn attributeDisplay;\n\t}\n\n\t/*\n\t * Gets all attributes for the model\n\t */\n\tpublic get attributes(): string[] {\n\t\treturn [...this[attributesSymbol]];\n\t}\n\n\tpublic get references(): string[] {\n\t\treturn [...this[referencesSymbol]].map((refData: any) => refData.attribute);\n\t}\n\n\tpublic get referencesData(): { attribute: string, manyReference: boolean }[] {\n\t\treturn [...this[referencesSymbol]];\n\t}\n\n\tpublic get files(): {name: string, blob: string}[] {\n\t\treturn [...this[fileAttributes]];\n\t}\n\n\tpublic get serialiseAsData(): { name: string, func: SerialiseFunc }[] {\n\t\treturn [...this[serialiseAs]];\n\t}\n\n\tpublic static getAttributes(): string[] {\n\t\treturn this.prototype[attributesSymbol];\n\t}\n\n\tpublic static getReferences(): string[] {\n\t\treturn this.prototype[referencesSymbol].map((refData: any) => refData.attribute);\n\t}\n\n\tpublic static getReferencesData(): { attribute: string, manyReference: boolean }[] {\n\t\treturn this.prototype[referencesSymbol];\n\t}\n\n\tpublic static getFiles(): {name: string, blob: string}[] {\n\t\treturn this.prototype[fileAttributes];\n\t}\n\n\tpublic static getSerialiseAsData(): { name: string, func: SerialiseFunc }[] {\n\t\treturn this.prototype[serialiseAs];\n\t}\n\n\tpublic static async fetch(\n\t\tvariables?: IConditionalFetchArgs,\n\t\texpendString?: string,\n\t\tapolloOptions?: Partial,\n\t\tuseListExpands?: boolean,\n\t): Promise {\n\t\tconst { data } = await store.apolloClient.query({\n\t\t\tquery: getFetchAllConditional(this, expendString, {\n\t\t\t\texpandType: useListExpands ? 'list' : 'default',\n\t\t\t\tremoveCount: true,\n\t\t\t}),\n\t\t\tvariables: variables,\n\t\t\tfetchPolicy: 'network-only',\n\t\t\t...apolloOptions,\n\t\t});\n\n\t\treturn data[`${lowerCaseFirst(getModelName(this))}s`].map((r: any) => new this(r));\n\t}\n\n\t/**\n\t * Fetches models from the serverside using GraphQL along with a count of models fetched. Unlike fetch this will NOT\n\t * retrieve defaultExapands unless specified.\n\t * @param variables The variables to use for the fetch.\n\t * @param expendString A GraphQL fragment that will be embedded into the query.\n\t * @param expandType The type of expands to use. If this is undefined then no expands will be used.\n\t * @param apolloOptions Extra options for the apollo query.\n\t */\n\tpublic static async fetchAndCount(\n\t\tvariables?: IConditionalFetchArgs,\n\t\texpendString?: string,\n\t\texpandType: 'list' | 'default' | 'none' = 'none',\n\t\tapolloOptions?: Partial>>,\n\t): Promise<{ data: T[], count: number }> {\n\t\tconst { data } = await store.apolloClient.query({\n\t\t\tquery: getFetchAllConditional(this, expendString, { expandType: expandType }),\n\t\t\tvariables: variables,\n\t\t\tfetchPolicy: 'network-only',\n\t\t\t...apolloOptions,\n\t\t});\n\t\treturn {\n\t\t\tdata: data[`${lowerCaseFirst(getModelName(this))}s`].map((r: any) => new this(r)),\n\t\t\tcount: data[`count${getModelName(this)}s`].number as number,\n\t\t};\n\t}\n\n\t/**\n\t * Gets a fetch query with an option for expands\n\t * @param expandString A graphql subquery for this entity\n\t * @param operationName The name of the graphql operation. Will default to the model name\n\t * @param queryName The name of the query query to run\n\t * @param useListExpands Should the query only use the list query expands\n\t */\n\tpublic getFetchWithExpands(\n\t\texpandString: string,\n\t\toperationName?: string,\n\t\tqueryName?: string,\n\t\tuseListExpands?: boolean,\n\t) {\n\t\tconst queryOperation = queryName ?? lowerCaseFirst(this.getModelName());\n\t\tconst modelsName = operationName ?? queryOperation;\n\n\t\treturn gql`\n\t\t\tquery ${modelsName}($args: [WhereExpressionGraph], $ids: [ID] ) {\n\t\t\t\t${modelsName}: ${queryOperation}(where: $args, ids: $ids) {\n\t\t\t\t\t${expandString}\n\t\t\t\t\t${this.attributes.join('\\n')}\n\t\t\t\t\t${useListExpands ? this.listExpands : this.defaultExpands}\n\t\t\t\t\t${this.files.map(f => f.name).join('\\n')}\n\t\t\t\t}\n\t\t\t}`;\n\t}\n\n\t// % protected region % [Customize fetchAllQuery method here] off begin\n\t/*\n\t * Gets all models\n\t */\n\tpublic get fetchAllQuery() {\n\t\tconst modelsName = lowerCaseFirst(this.getModelName());\n\n\t\t// eslint-disable-next-line max-len\n\t\treturn gql`query ${modelsName}($args: [WhereExpressionGraph], $skip:Int, $take:Int, $orderBy: [OrderByGraph], $ids: [ID] ) {\n\t\t\t${modelsName}s(where: $args, skip:$skip, take:$take, orderBy: $orderBy, ids: $ids) {\n\t\t\t\t${this.attributes.join('\\n')}\n\t\t\t\t${this.files.map(f => f.name).join('\\n')}\n\t\t\t\t${this.defaultExpands}\n\t\t\t}\n\t\t\tcount${this.getModelName()}s(where: $args) {\n\t\t\t\tnumber\n\t\t\t}\n\t\t}`;\n\t}\n\t// % protected region % [Customize fetchAllQuery method here] end\n\n\tpublic getModelName() {\n\t\t// The model name metadata is stored on the static instance so access it through the prototype\n\t\treturn Object.getPrototypeOf(this).constructor[modelNameSymbol];\n\t}\n\n\tpublic getModelDisplayName() {\n\t\treturn Object.getPrototypeOf(this).constructor[displayNameSymbol];\n\t}\n\n\t/**\n\t * Deletes the model from the server\n\t */\n\tpublic async delete() {\n\t\tconst functionName = `delete${this.getModelName()}`;\n\n\t\tconst modelsName = lowerCaseFirst(this.getModelName());\n\t\tconst variableName = `${modelsName}Ids`;\n\n\t\treturn store.apolloClient\n\t\t\t.mutate({\n\t\t\t\tmutation: gql`\n\t\t\t\t\tmutation delete($${variableName}:[ID]) {\n\t\t\t\t\t\t${functionName}(${variableName}: $${variableName}) {\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t}\n\t\t\t\t\t}`,\n\t\t\t\tvariables: { [variableName]: [this.id] },\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-unused-vars,@typescript-eslint/no-empty-function\n\t\t\t\tupdate: (cache, results) => {\n\n\t\t\t\t},\n\t\t\t})\n\t\t\t.then(action(response => {\n\t\t\t\tconst data = response.data[functionName][0];\n\t\t\t\tObject.assign(this, data);\n\t\t\t}))\n\t\t\t.catch((response: ErrorResponse) => {\n\t\t\t\tthrow getTheNetworkError(response);\n\t\t\t});\n\t}\n\n\t/**\n\t * Deletes the models from the server by conditions\n\t */\n\tpublic async deleteWhere(\n\t\tconditions?: Array> | Array>>,\n\t\tids?: string[],\n\t) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tconst functionName = `delete${this.getModelName()}sConditional`;\n\n\t\t\treturn store.apolloClient\n\t\t\t\t.mutate({\n\t\t\t\t\tmutation: gql`\n\t\t\t\t\t\tmutation deleteModelsConditional($args: [[WhereExpressionGraph]], $ids:[ID]) {\n\t\t\t\t\t\t\t${functionName}(conditions: $args, ids: $ids) {\n\t\t\t\t\t\t\t\tvalue\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}`,\n\t\t\t\t\tvariables: {\n\t\t\t\t\t\targs: conditions,\n\t\t\t\t\t\tids: ids ?? null,\n\t\t\t\t\t},\n\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-unused-vars,@typescript-eslint/no-empty-function\n\t\t\t\t\tupdate: (cache, results) => {\n\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t\t.then(response => {\n\t\t\t\t\tconst result = response.data[functionName];\n\t\t\t\t\tresolve(result);\n\t\t\t\t})\n\t\t\t\t.catch((response: ErrorResponse) => {\n\t\t\t\t\tconst errorMessage = getTheNetworkError(response);\n\t\t\t\t\treject(errorMessage);\n\t\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * Updates the models from the server by conditions\n\t */\n\tpublic async updateWhere(\n\t\tconditions?: Array> | Array>>,\n\t\tfieldsToUpdate?: string[],\n\t\tids?: string[],\n\t) {\n\t\treturn new Promise(resolve => {\n\t\t\tconst functionName = `update${this.getModelName()}sConditional`;\n\n\t\t\treturn store.apolloClient\n\t\t\t\t.mutate({\n\t\t\t\t\t// eslint-disable-next-line max-len\n\t\t\t\t\tmutation: gql`\n\t\t\t\t\t\tmutation updateModelsConditional(\n\t\t\t\t\t\t\t$where: [[WhereExpressionGraph]],\n\t\t\t\t\t\t\t$ids:[ID],\n\t\t\t\t\t\t\t$fieldsToUpdate: [String],\n\t\t\t\t\t\t\t$modelValuesToUpdate: ${this.getModelName()}Input\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t${functionName}(\n\t\t\t\t\t\t\t\tconditions: $where,\n\t\t\t\t\t\t\t\tids: $ids,\n\t\t\t\t\t\t\t\tfieldsToUpdate: $fieldsToUpdate,\n\t\t\t\t\t\t\t\tvaluesToUpdate: $modelValuesToUpdate\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\tvalue\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}`,\n\t\t\t\t\tvariables: {\n\t\t\t\t\t\twhere: conditions,\n\t\t\t\t\t\tfieldsToUpdate: fieldsToUpdate,\n\t\t\t\t\t\tmodelValuesToUpdate: this,\n\t\t\t\t\t\tids: ids ?? null,\n\t\t\t\t\t},\n\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-unused-vars,@typescript-eslint/no-empty-function\n\t\t\t\t\tupdate: (cache, results) => {\n\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t\t.then(response => {\n\t\t\t\t\tconst result = response.data[functionName];\n\t\t\t\t\tresolve(result);\n\t\t\t\t});\n\t\t});\n\t}\n\n\t/**\n\t * Saves the model to the server\n\t * @param relationPath The relation path to be sent to the toJSON method\n\t * @param options\n\t */\n\tpublic async save(relationPath: ReferencePath = {}, options: ISaveOptions = {}) {\n\t\tconst variables = options.options ?? [];\n\t\tconst createOptions = options.createOptions ?? [];\n\t\tconst updateOptions = options.updateOptions ?? [];\n\t\tconst contentType = options.contentType ?? 'application/json';\n\n\t\t// Before we save, we run this overwriteable method.\n\t\tthis.beforeSave();\n\n\t\tlet functionName: string;\n\t\tconst jsonModel = this.toJSON(relationPath, true, options.jsonTransformFn);\n\n\t\tif (this.id === undefined) {\n\t\t\tfunctionName = `create${this.getModelName()}`;\n\t\t\tvariables.push(...createOptions);\n\t\t} else {\n\t\t\tfunctionName = `update${this.getModelName()}`;\n\t\t\tvariables.push(...updateOptions);\n\t\t}\n\n\t\tconst modelsName = lowerCaseFirst(this.getModelName());\n\t\tconst graphQlInputType = options.graphQlInputType || `[${this.getModelName()}Input]`;\n\n\t\t// eslint-disable-next-line max-len\n\t\tconst mutation = gql`mutation ${functionName}($${modelsName}:${graphQlInputType}${variables.map(v => `,$${v.key}:${v.graphQlType}`).join(',')}) {\n\t\t\t${functionName}(${modelsName}s: $${modelsName}${variables.map(v => `,${v.key}: $${v.key}`)}) {\n\t\t\t\t${this.attributes.join('\\n')}\n\t\t\t\t${this.files.map(f => f.name).join('\\n')}\n\t\t\t}\n\t\t}`;\n\n\t\tconst queryVariables = {\n\t\t\t[modelsName]: [jsonModel],\n\t\t\t...variables.reduce((a, n) => ({ [n.key]: n.value, ...a }), {}),\n\t\t};\n\n\t\tswitch (contentType) {\n\t\t\tcase 'application/json':\n\t\t\t\treturn store.apolloClient\n\t\t\t\t\t.mutate({\n\t\t\t\t\t\tmutation: mutation,\n\t\t\t\t\t\tvariables: queryVariables,\n\t\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-unused-vars,@typescript-eslint/no-empty-function\n\t\t\t\t\t\tupdate: (cache, results) => {\n\n\t\t\t\t\t\t},\n\t\t\t\t\t})\n\t\t\t\t\t.then(action(response => {\n\t\t\t\t\t\tconst data = response.data[functionName][0];\n\t\t\t\t\t\tthis.assignAttributes(data);\n\t\t\t\t\t}));\n\t\t\tcase 'multipart/form-data': {\n\t\t\t\tconst data = new FormData();\n\t\t\t\tdata.append('variables', JSON.stringify(queryVariables));\n\t\t\t\tdata.append('operationName', functionName);\n\t\t\t\tdata.append('query', mutation.loc?.source.body ?? '');\n\n\t\t\t\tfor (const file of this.getFiles(relationPath, true)) {\n\t\t\t\t\tdata.append(file.attributeName, file.file);\n\t\t\t\t}\n\n\t\t\t\treturn axios({\n\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\turl: `${SERVER_URL}/api/graphql`,\n\t\t\t\t\tdata: data,\n\t\t\t\t}).then(action(response => {\n\t\t\t\t\tconst responseData = response.data.data[functionName][0];\n\t\t\t\t\tthis.assignAttributes(responseData);\n\t\t\t\t}));\n\t\t\t}\n\t\t\tdefault:\n\t\t\t\treturn Promise.reject(new Error('Invalid content type'));\n\t\t}\n\t}\n\n\t// eslint-disable-next-line class-methods-use-this\n\tpublic beforeSave() {\n\t\t// Do nothing. This function is here to be overridden\n\t}\n\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic saveFromCrud(formMode?: EntityFormMode) {\n\t\treturn this.save();\n\t}\n\n\t/**\n\t * Method to return display name for this model - default is id but can be overridden in sub classes\n\t */\n\tpublic getDisplayName() {\n\t\treturn this.id;\n\t}\n\n\t/**\n\t * Method to return the display attribute for this model - default is id but can be overridden in sub classes\n\t */\n\t// eslint-disable-next-line class-methods-use-this\n\tpublic getDisplayAttribute() {\n\t\treturn 'id';\n\t}\n\n\t/**\n\t * Method to return default search condition for searching the string of searchTerm parameter\n\t */\n\tpublic getSearchConditions(searchTerm?: string): Array>> | undefined {\n\t\tif (searchTerm && searchTerm.trim() !== '') {\n\t\t\tconst crudOpts = this.getAttributeCRUDOptions();\n\t\t\tconst values: IWhereCondition[] = _\n\t\t\t\t.chain(crudOpts)\n\t\t\t\t.filter(attributeOption => attributeOption.searchable)\n\t\t\t\t.flatMap(attributeOption => {\n\t\t\t\t\tconst valid = attributeOption.searchTransform(searchTerm.trim());\n\t\t\t\t\tif (valid) {\n\t\t\t\t\t\treturn [{ option: attributeOption, search: valid.query, extraOptions: valid.extraOptions }];\n\t\t\t\t\t}\n\t\t\t\t\treturn [];\n\t\t\t\t})\n\t\t\t\t.map(attr => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tpath: attr.option.attributeName,\n\t\t\t\t\t\tcomparison: attr.option.searchFunction,\n\t\t\t\t\t\tvalue: attr.search,\n\t\t\t\t\t\t...attr.extraOptions,\n\t\t\t\t\t};\n\t\t\t\t})\n\t\t\t\t.value();\n\n\t\t\t// If the search is a uuid then we should search on the id of the entity.\n\t\t\t// The following is the regex to match a uuid\n\t\t\tconst regex = /^[0-9A-F]{8}-[0-9A-F]{4}-[4][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i;\n\t\t\tif (searchTerm.match(regex)) {\n\t\t\t\tvalues.push({\n\t\t\t\t\tpath: 'id',\n\t\t\t\t\tcomparison: 'equal',\n\t\t\t\t\tvalue: searchTerm,\n\t\t\t\t});\n\t\t\t}\n\n\t\t\treturn [values];\n\t\t}\n\t\treturn [];\n\t}\n\n\t/**\n\t * Method to convert collection filter array into where condition for collection query\n\t */\n\t// eslint-disable-next-line class-methods-use-this\n\tpublic getFilterConditions(filterConfig: ICollectionFilterPanelProps): IWhereCondition[][] | undefined {\n\t\tif (filterConfig && filterConfig.filters && filterConfig.filters.some(filter => filter.active)) {\n\t\t\treturn _\n\t\t\t\t.chain(filterConfig.filters)\n\t\t\t\t.filter(filter => filter.active)\n\t\t\t\t.flatMap(filter => {\n\t\t\t\t\tif (filter.comparison === 'range') {\n\t\t\t\t\t\tif (filter.displayType === 'datepicker') {\n\t\t\t\t\t\t\treturn [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t...filter,\n\t\t\t\t\t\t\t\t\tpath: filter.path,\n\t\t\t\t\t\t\t\t\tcomparison: 'greaterThanOrEqual' as Comparators,\n\t\t\t\t\t\t\t\t\tvalue1: moment(filter.value1).format('YYYY-MM-DDT00:00:00Z'),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t...filter,\n\t\t\t\t\t\t\t\t\tpath: filter.path,\n\t\t\t\t\t\t\t\t\tcomparison: 'lessThan' as Comparators,\n\t\t\t\t\t\t\t\t\tvalue1: moment(filter.value2 as Date).add('day', 1).format('YYYY-MM-DDT00:00:00Z'),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t];\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t...filter,\n\t\t\t\t\t\t\t\tpath: filter.path,\n\t\t\t\t\t\t\t\tcomparison: 'greaterThanOrEqual' as Comparators,\n\t\t\t\t\t\t\t\tvalue1: filter.value1,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t...filter,\n\t\t\t\t\t\t\t\tpath: filter.path,\n\t\t\t\t\t\t\t\tcomparison: 'lessThanOrEqual' as Comparators,\n\t\t\t\t\t\t\t\tvalue1: filter.value2,\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\treturn [filter];\n\t\t\t\t})\n\t\t\t\t.map(filter => {\n\t\t\t\t\tif (filter.displayType === 'enum-combobox' && Array.isArray(filter.value1)) {\n\t\t\t\t\t\treturn filter.value1.map(element => {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tpath: filter.path,\n\t\t\t\t\t\t\t\tcomparison: filter.comparison,\n\t\t\t\t\t\t\t\tvalue: element,\n\t\t\t\t\t\t\t} as IWhereCondition;\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\treturn [{\n\t\t\t\t\t\tpath: filter.path,\n\t\t\t\t\t\tcomparison: filter.comparison,\n\t\t\t\t\t\tvalue: filter.value1,\n\t\t\t\t\t}] as IWhereCondition[];\n\t\t\t\t})\n\t\t\t\t.value();\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\t// % protected region % [Add additional methods here] on begin\n\t/**\n\t * Saves the model to the server. We override the Model.tsx save function to allow\n\t * passing in custom attributes to fetch back in the update fetch\n\t * We also return back the response data from the save\n\t * @param relationPath The relation path to be sent to the toJSON method\n\t * @param options\n\t * @param additionalFetchBack GraphQL syntax for additional fetchbacks\n\t */\n\tpublic async saveWithFetchBack(\n\t\trelationPath: ReferencePath = {},\n\t\toptions: ISaveOptions = {},\n\t\tadditionalFetchBack: string = '',\n\t) {\n\t\tconst variables = options.options ?? [];\n\t\tconst createOptions = options.createOptions ?? [];\n\t\tconst updateOptions = options.updateOptions ?? [];\n\t\tconst contentType = options.contentType ?? 'application/json';\n\n\t\t// Before we save, we run this overwriteable method.\n\t\tthis.beforeSave();\n\n\t\tlet functionName: string;\n\t\tconst jsonModel = this.toJSON(relationPath, true, options.jsonTransformFn);\n\n\t\tif (this.id === undefined) {\n\t\t\tfunctionName = `create${this.getModelName()}`;\n\t\t\tvariables.push(...createOptions);\n\t\t} else {\n\t\t\tfunctionName = `update${this.getModelName()}`;\n\t\t\tvariables.push(...updateOptions);\n\t\t}\n\n\t\tconst modelsName = lowerCaseFirst(this.getModelName());\n\t\tconst graphQlInputType = options.graphQlInputType || `[${this.getModelName()}Input]`;\n\n\t\t// eslint-disable-next-line max-len\n\t\tconst mutation = gql`mutation ${functionName}($${modelsName}:${graphQlInputType}${variables.map(v => `,$${v.key}:${v.graphQlType}`).join(',')}) {\n\t\t\t${functionName}(${modelsName}s: $${modelsName}${variables.map(v => `,${v.key}: $${v.key}`)}) {\n\t\t\t\t${this.attributes.join('\\n')}\n\t\t\t\t${additionalFetchBack}\n\t\t\t\t${this.files.map(f => f.name).join('\\n')}\n\t\t\t}\n\t\t}`;\n\n\t\tconst queryVariables = {\n\t\t\t[modelsName]: [jsonModel],\n\t\t\t...variables.reduce((a, n) => ({ [n.key]: n.value, ...a }), {}),\n\t\t};\n\n\t\tswitch (contentType) {\n\t\t\tcase 'application/json':\n\t\t\t\treturn store.apolloClient\n\t\t\t\t\t.mutate({\n\t\t\t\t\t\tmutation: mutation,\n\t\t\t\t\t\tvariables: queryVariables,\n\t\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-unused-vars,@typescript-eslint/no-empty-function\n\t\t\t\t\t\tupdate: (cache, results) => {\n\n\t\t\t\t\t\t},\n\t\t\t\t\t})\n\t\t\t\t\t.then(action(response => {\n\t\t\t\t\t\tconst data = response.data[functionName][0];\n\t\t\t\t\t\tthis.assignAttributes(data);\n\t\t\t\t\t\treturn data;\n\t\t\t\t\t}));\n\t\t\tcase 'multipart/form-data': {\n\t\t\t\tconst data = new FormData();\n\t\t\t\tdata.append('variables', JSON.stringify(queryVariables));\n\t\t\t\tdata.append('operationName', functionName);\n\t\t\t\tdata.append('query', mutation.loc?.source.body ?? '');\n\n\t\t\t\tfor (const file of this.getFiles(relationPath, true)) {\n\t\t\t\t\tdata.append(file.attributeName, file.file);\n\t\t\t\t}\n\n\t\t\t\treturn axios({\n\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\turl: `${SERVER_URL}/api/graphql`,\n\t\t\t\t\tdata: data,\n\t\t\t\t}).then(action(response => {\n\t\t\t\t\tconst responseData = response.data.data[functionName][0];\n\t\t\t\t\tthis.assignAttributes(responseData);\n\t\t\t\t\treturn responseData;\n\t\t\t\t}));\n\t\t\t}\n\t\t\tdefault:\n\t\t\t\treturn Promise.reject(new Error('Invalid content type'));\n\t\t}\n\t}\n\n\tpublic static getAllAttributes(): string[] {\n\t\treturn [...this.getAttributes(), ...this.getFiles().map(f => f.name)];\n\t}\n\n\t@action public setFieldError = (field: string, isInvalid: boolean, errorMessage: string) => {\n\t\tif (isInvalid) {\n\t\t\tconst error = {};\n\t\t\terror[field] = errorMessage;\n\t\t\tthis.errors = { ...this.errors, ...error };\n\t\t} else {\n\t\t\tconst copy = { ...this.errors };\n\t\t\tdelete copy[field];\n\t\t\tthis.errors = copy;\n\t\t}\n\t};\n\t// % protected region % [Add additional methods here] end\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class SuperAdministratorScheme implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'Super Administrators';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn true;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserCustomerAudit implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn true;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn true;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class UserMonitoredEntityAudit implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = false;\n\n\tpublic constructor() {\n\t\tthis.group = 'User';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] on begin\n\t\treturn true;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { IAcl } from '../IAcl';\n\nexport default class VisitorsMonitoredEntityAudit implements IAcl {\n\tpublic group?: string;\n\n\tpublic isVisitorAcl = true;\n\n\tpublic constructor() {\n\t\tthis.group = 'Visitors';\n\t}\n\n\tpublic canRead(): boolean {\n\t\t// % protected region % [Override read rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override read rule contents here here] end\n\t}\n\n\tpublic canCreate(): boolean {\n\t\t// % protected region % [Override create rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override create rule contents here here] end\n\t}\n\n\tpublic canUpdate(): boolean {\n\t\t// % protected region % [Override update rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override update rule contents here here] end\n\t}\n\n\tpublic canDelete(): boolean {\n\t\t// % protected region % [Override delete rule contents here here] off begin\n\t\treturn false;\n\t\t// % protected region % [Override delete rule contents here here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { createContext } from 'react';\nimport { History } from 'history';\nimport { action, computed, observable } from 'mobx';\nimport { IGlobalModal } from 'Views/Components/Modal/GlobalModal';\nimport { ApolloClient } from '@apollo/client';\nimport type { ClientsideConfiguration, BuildVersion } from 'Global';\n// % protected region % [Add any extra store imports here] on begin\nimport type { userType } from './Enums';\nimport { calculateUserPermissions, UserPermissions } from './UserPermissions';\nimport { OrganisationEntity } from 'Models/Entities';\nimport AppSettings from './AppSettings';\nimport type { StripeConfiguration, IntercomConfiguration } from 'Global';\nimport { SERVER_URL } from 'Constants';\n// % protected region % [Add any extra store imports here] end\n\n// % protected region % [Change the group return result as needed] off begin\nexport interface IGroupResult {\n\tname: string;\n\thasBackendAccess: boolean;\n}\n// % protected region % [Change the group return result as needed] end\n\n// % protected region % [Change The user return result as needed] on begin\nexport interface IUserResult {\n\ttype: 'user-data';\n\tid: string;\n\tuserName: string;\n\tuserDisplayName: string;\n\temail: string;\n\tgroups: IGroupResult[];\n\tuserType: userType;\n\torganisation?: OrganisationEntity;\n\tcanAccessIntel?: boolean;\n\tcanAccessPPSR?: boolean;\n\tcanAccessApprove?: boolean;\n\tuserPermissions?: UserPermissions;\n\ttermsUpdated?: Date;\n\tbusinessEntityIds?: string[];\n\tcreditApprovalLimit?: number;\n}\n// % protected region % [Change The user return result as needed] end\n\nexport interface IStore {\n\t/**\n\t * The current location in the application\n\t */\n\tappLocation: 'frontend' | 'admin';\n\n\t/**\n\t * The router history object for React Router\n\t */\n\trouterHistory: History;\n\n\t/**\n\t * The client for Apollo\n\t */\n\tapolloClient: ApolloClient>;\n\n\t/**\n\t * The global modal that is stored in the app and can be called imperatively\n\t */\n\tmodal: IGlobalModal;\n\n\t/**\n\t * This signifies weather we are logged in or not\n\t * Only ever set this value to true if there is a value set in this.token\n\t */\n\treadonly loggedIn: boolean;\n\n\t/**\n\t * The user Id of the logged-in user\n\t */\n\treadonly userId: string | undefined;\n\n\t/**\n\t * The user name of the logged in user\n\t */\n\treadonly userName: string | undefined;\n\n\t/**\n\t * The email of the current logged in user\n\t */\n\treadonly email: string | undefined;\n\n\t/**\n\t * The groups that the logged in user are a part of\n\t */\n\treadonly userGroups: IGroupResult[];\n\n\t/**\n\t * Does this user have access to the backend admin views\n\t */\n\treadonly hasBackendAccess: boolean;\n\n\t/**\n\t* The configuration sent from the serverside\n\t*/\n\treadonly configuration: ClientsideConfiguration;\n\n\t/**\n\t* The build version information of the application\n\t*/\n\treadonly buildVersion: BuildVersion;\n\n\t/**\n\t * Is the frontend in edit mode\n\t */\n\tfrontendEditMode: boolean;\n\n\t/**\n\t * Sets the current logged in user in the store\n\t * @param userResult\n\t */\n\tsetLoggedInUser(userResult: IUserResult): void;\n\n\t/**\n\t * Clears the logged in user data from the store\n\t */\n\tclearLoggedInUser(): void;\n\n\t// % protected region % [Add any extra store interface methods or properties here] on begin\n\treadonly creditApprovalLimit?: number;\n\tgetUser?: IUserResult;\n\treadonly userDisplayName: string;\n\tcanAccessIntel: boolean;\n\tcanAccessApprove: boolean;\n\tcanAccessPPSR: boolean;\n\tuserType: userType;\n\tuserPermissions: UserPermissions;\n\tsetCustomerHeaders: (newCustomerHeaders: string) => void;\n\t/**\n\t * This is used for the super user to impersonate another organisation. Currently only being used in the monitor platform.\n\t * This gets cleared when switching to the hub from the monitor platform. See Monitor Link onClick in ProductSwitcher\n\t */\n\timpersonatingOrganisationId: string;\n\tappSettings: AppSettings;\n\tdefaultUserPermissions: {[key in userType]: UserPermissions};\n\tintercomOptions: IntercomConfiguration;\n\t// % protected region % [Add any extra store interface methods or properties here] end\n}\n\n/**\n * A global singleton store that contains a global state of data\n */\nexport class Store implements IStore {\n\t@observable\n\tuser?: IUserResult;\n\n\t@observable\n\tappLocation: 'frontend' | 'admin' = 'frontend';\n\n\t@observable\n\tclientsideConfiguration: ClientsideConfiguration;\n\n\t@observable\n\t_buildVersion: BuildVersion;\n\n\trouterHistory: History;\n\n\tapolloClient: ApolloClient>;\n\n\tmodal: IGlobalModal;\n\n\t@computed\n\tpublic get loggedIn() {\n\t\t// % protected region % [Customise the loggedIn getter here] off begin\n\t\treturn this.user !== undefined;\n\t\t// % protected region % [Customise the loggedIn getter here] end\n\t}\n\n\t@computed\n\tpublic get userId(): string | undefined {\n\t\t// % protected region % [Customise the userId getter here] off begin\n\t\treturn this.user ? this.user.id : undefined;\n\t\t// % protected region % [Customise the userId getter here] end\n\t}\n\n\t@computed\n\tpublic get userName(): string | undefined {\n\t\t// % protected region % [Customise the user name getter here] off begin\n\t\treturn this.user?.userName;\n\t\t// % protected region % [Customise the user name getter here] end\n\t}\n\n\t@computed\n\tpublic get email(): string | undefined {\n\t\t// % protected region % [Customise the email getter here] off begin\n\t\treturn this.user ? this.user.email : undefined;\n\t\t// % protected region % [Customise the email getter here] end\n\t}\n\n\t@computed\n\tpublic get userGroups(): IGroupResult[] {\n\t\t// % protected region % [Customise the userGroups getter here] off begin\n\t\tif (this.user) {\n\t\t\treturn [...this.user.groups];\n\t\t}\n\t\treturn [];\n\t\t// % protected region % [Customise the userGroups getter here] end\n\t}\n\n\t@computed\n\tpublic get hasBackendAccess() {\n\t\t// % protected region % [Customise the hasBackendAccess getter here] on begin\n\t\tif (this.user) {\n\t\t\treturn this.user.groups.some(ug => ug.hasBackendAccess) || this.user.userType === 'SUPER_USER';\n\t\t}\n\t\treturn false;\n\t\t// % protected region % [Customise the hasBackendAccess getter here] end\n\t}\n\n\t@computed\n\tpublic get configuration(): ClientsideConfiguration {\n\t\treturn this.clientsideConfiguration;\n\t}\n\n\t@computed\n\tpublic get buildVersion(): BuildVersion {\n\t\treturn this._buildVersion;\n\t}\n\n\t@observable\n\tpublic frontendEditMode = false;\n\n\t@action\n\tpublic setLoggedInUser(userResult: IUserResult) {\n\t\t// % protected region % [Customise the setLoggedInUser here] on begin\n\t\tthis.user = userResult;\n\t\t// Set impersonatingOrganisationId to the id of the organisation we received.\n\t\tthis.impersonatingOrganisationId = this.user.organisation?.id ?? '';\n\n\t\t// If user is a super, we give them backend access\n\t\t// We would just fix hasBackendAccess(), but Admin.tsx manually checks the groups\n\t\tif (this.user.userType === 'SUPER_USER') {\n\t\t\tthis.user.groups.push({\n\t\t\t\tname: 'SUPER_USER', // Not a real group, but the name doesn't matter\n\t\t\t\thasBackendAccess: true,\n\t\t\t});\n\t\t}\n\t\t// % protected region % [Customise the setLoggedInUser here] end\n\t}\n\n\t@action\n\tpublic clearLoggedInUser() {\n\t\t// % protected region % [Customise the clearLoggedInUser here] off begin\n\t\tthis.user = undefined;\n\t\t// % protected region % [Customise the clearLoggedInUser here] end\n\t}\n\n\t@action\n\tpublic setClientsideDataConfiguration(config: ClientsideConfiguration) {\n\t\t// % protected region % [Customise the setClientsideDataConfiguration here] off begin\n\t\tthis.clientsideConfiguration = config;\n\t\t// % protected region % [Customise the setClientsideDataConfiguration here] end\n\t}\n\n\t@action\n\tpublic setBuildVersion(build: BuildVersion) {\n\t\t// % protected region % [Customise the setBuildVersion here] off begin\n\t\tthis._buildVersion = build;\n\t\t// % protected region % [Customise the setBuildVersion here] end\n\t}\n\n\tconstructor() {\n\t\t// % protected region % [Customise the constructor here] on begin\n\t\tthis.configureUser();\n\t\tthis.configureClientsideData();\n\t\tthis.configureBuildVersion();\n\n\t\tif (window?.static?.appSettings) {\n\t\t\tthis.appSettings = window.static.appSettings;\n\t\t}\n\t\tif (window?.static?.defaultUserPermissions) {\n\t\t\tthis.defaultUserPermissions = window.static.defaultUserPermissions;\n\t\t}\n\t\tif (window?.data?.userResult && !this.user) {\n\t\t\tthis.setLoggedInUser(window.data.userResult);\n\t\t}\n\t\tthis.configureIntercomOptions();\n\t\t// % protected region % [Customise the constructor here] end\n\t}\n\n\tconfigureUser() {\n\t\t// % protected region % [Customise the configureUser here] off begin\n\t\tif (window.loginData && !this.user) {\n\t\t\tthis.setLoggedInUser(window.loginData);\n\t\t}\n\t\t// % protected region % [Customise the configureUser here] end\n\t}\n\n\tconfigureClientsideData() {\n\t\t// % protected region % [Customise the configureClientsideData here] on begin\n\t\tconst parsedData: ClientsideConfiguration = {\n\t\t\t...window.clientsideDataConfiguration,\n\t\t\tenableFeedback: Boolean(window.clientsideDataConfiguration.enableFeedback),\n\t\t\tfeedbackUrl: window.clientsideDataConfiguration.feedbackUrl\n\t\t};\n\t\tthis.setClientsideDataConfiguration(parsedData);\n\t\t// % protected region % [Customise the configureClientsideData here] end\n\t}\n\n\tconfigureBuildVersion() {\n\t\t// % protected region % [Customise the configureBuildVersion here] off begin\n\t\tthis.setBuildVersion(window.buildVersion);\n\t\t// % protected region % [Customise the configureBuildVersion here] end\n\t}\n\n\t// % protected region % [Add any extra store methods or properties here] on begin\n\tpublic appSettings: AppSettings;\n\tpublic defaultUserPermissions: {[key in userType]: UserPermissions};\n\t// Set impersonatingOrganisationId to the id of the organisation we received.\n\t@observable\n\tpublic impersonatingOrganisationId: string = this.user?.organisation?.id ?? '';\n\n\t@observable\n\t\tintercomOptions: IntercomConfiguration;\n\n\t@action\n\tpublic setIntercomOptions(intercomOptions: IntercomConfiguration) {\n\t\tthis.intercomOptions = intercomOptions;\n\t}\n\n\tconfigureIntercomOptions() {\n\t\tthis.setIntercomOptions(window.intercomData);\n\t}\n\n\t@observable stripeOptions: StripeConfiguration;\n\t@action\n\tpublic setStripeOptions(stripeOptions: StripeConfiguration) {\n\t\tthis.stripeOptions = stripeOptions;\n\t}\n\n\tconfigureStripeOptions() {\n\t\tthis.setStripeOptions(window.stripeData);\n\t}\n\n\t@computed\n\tpublic get getUser(): IUserResult|undefined {\n\t\treturn this.user;\n\t}\n\n\t@computed\n\tpublic get userDisplayName(): string {\n\t\treturn this.user?.userDisplayName ?? this.user?.email ?? '';\n\t}\n\n\t@computed\n\tpublic get canAccessIntel(): boolean {\n\t\treturn this.user?.canAccessIntel === true;\n\t}\n\n\t@computed\n\tpublic get canAccessApprove(): boolean {\n\t\treturn this.user?.canAccessApprove === true;\n\t}\n\n\t@computed\n\tpublic get canAccessPPSR(): boolean {\n\t\treturn this.user?.canAccessPPSR === true;\n\t}\n\n\t@computed\n\tpublic get userType(): userType {\n\t\treturn this.user?.userType || 'RESTRICTED_USER';\n\t}\n\n\t@computed\n\tpublic get userPermissions(): UserPermissions {\n\t\treturn this.user?.userPermissions || calculateUserPermissions(this.userType);\n\t}\n\n\t@computed\n\tpublic get creditApprovalLimit(): number | undefined {\n\t\treturn this.user?.creditApprovalLimit;\n\t}\n\n\t// Allows us to overwrite the customer headers without refetching the entire user\n\tpublic setCustomerHeaders = action((newCustomerHeaders: string) => {\n\t\tif (!!this.user && !!this.user.organisation) {\n\t\t\tthis.user.organisation.customerColumnSettings = newCustomerHeaders;\n\t\t}\n\t});\n\t// % protected region % [Add any extra store methods or properties here] end\n}\n\nexport const store: IStore = new Store();\nexport const StoreContext = createContext(store);\n","import * as Enums from './Enums';\nimport { cloneDeep } from 'lodash';\nimport { store } from './Store';\nimport { observable } from 'mobx';\n\n// The type for User Permissions\nexport class UserPermissions {\n\t@observable public commonCaptureProspects?: boolean;\n\t@observable public commonExportUsers?: boolean;\n\t@observable public commonManageEntityPricing?: boolean;\n\t@observable public commonViewEntityPricing?: boolean;\n\t@observable public commonUpdatePaymentDetails?: boolean;\n\t@observable public commonCopyContract?: boolean;\n\t@observable public commonPackageUpgrade?: boolean;\n\t@observable public commonManageOrganisations?: Enums.organisationPermissionScope;\n\t@observable public commonViewOrganisations?: Enums.organisationPermissionScope;\n\t@observable public commonManageBusinessEntities?: Enums.businessEntitiesPermissionScope;\n\t@observable public commonViewBusinessEntities?: Enums.businessEntitiesPermissionScope;\n\t@observable public commonViewTransactions?: boolean;\n\t@observable public commonManageUsers?: Enums.userPermissionScope;\n\t@observable public commonViewUsers?: Enums.userPermissionScope;\n\t@observable public commonGenerateClientForms?: boolean;\n\t@observable public commonManageReferrals?: boolean;\n\n\t@observable public intelConnectToAccountingPackage?: boolean;\n\t@observable public intelUploadAtb?: boolean;\n\t@observable public intelCustomerOverview?: boolean;\n\t@observable public intelManageCustomerPpsrRegistrations?: boolean;\n\t@observable public intelManageCustomerGroups?: boolean;\n\t@observable public intelCreateCustomerGroups?: boolean;\n\t@observable public intelManageCustomerBusinessInformation?: boolean;\n\t@observable public intelManageCustomerAccountsInformation?: boolean;\n\t@observable public intelManageCustomerAgedDebtConfiguration?: boolean;\n\t@observable public intelViewCustomerPpsrRegistrations?: boolean;\n\t@observable public intelViewCustomerBusinessInformation?: boolean;\n\t@observable public intelViewCustomerAccountsInformation?: boolean;\n\n\t@observable public ppsrManageProfileTypes?: boolean;\n\t@observable public ppsrLinkProfileTypes?: boolean;\n\t@observable public ppsrViewProfileTypes?: boolean;\n\t@observable public ppsrCreateSpg?: boolean;\n\t@observable public ppsrManageSpg?: boolean;\n\t@observable public ppsrViewSpg?: boolean;\n\t@observable public ppsrViewRegistrations?: boolean;\n\t@observable public ppsrRegister?: boolean;\n\t@observable public ppsrDownloadRegistrations?: boolean;\n\t@observable public ppsrProcessBulkUpload?: boolean;\n\t@observable public ppsrSubmitForApprovalBulkUpload?: boolean;\n\t@observable public ppsrDischarge?: boolean;\n\t@observable public ppsrSearch?: boolean;\n\t@observable public ppsrViewSearches?: boolean;\n\t@observable public ppsrViewMySearches?: boolean;\n\n\t@observable public approveManageCreditApprovalLimit?: boolean;\n\t@observable public approveManageLesserCreditApprovalLimit?: boolean;\n\t@observable public approveManageTradeApplicationRules?: boolean;\n\t@observable public approveCreateTradeApplications?: boolean;\n\t@observable public approveAmendTradeApplications?: boolean;\n\t@observable public approvePreviewTradeApplications?: boolean;\n\t@observable public approveLinkTradeApplications?: boolean;\n\t@observable public approveGenerateCreditReport?: boolean;\n\t@observable public approveProcessPpsrWithinApplication?: boolean;\n\t@observable public approveSendApplicationsToCustomers?: boolean;\n\t@observable public approveViewCustomerApplications?: boolean;\n\t@observable public approveViewMyCustomerApplications?: boolean;\n\t@observable public approveRecommendApplicationsForApproval?: boolean;\n\t@observable public approveApproveApplications?: boolean;\n\t@observable public approveViewCustomerEmails?: boolean;\n\t@observable public approveDownloadApplicantApplications?: boolean;\n\t@observable public approveDownloadMyApplicantApplications?: boolean;\n\n\t// Ensure that typename is not stored\n\tconstructor(attributes?: {[key: string]: any}) {\n\t\tif (attributes) {\n\t\t\tObject.keys(attributes).forEach(key => {\n\t\t\t\tif (key !== '__typename') {\n\t\t\t\t\tthis[key] = attributes[key];\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\t// Permissions which are only visible to superAdmins\n\tpublic static hiddenPermissions: string[] = [\n\t\t'commonViewOrganisations', 'commonViewBusinessEntities',\n\t];\n}\n\n// The display form of the User Permissions\nexport const userPermissionsToDisplay = {\n\tcommonCaptureProspects: 'Capture Prospects',\n\tcommonExportUsers: 'Export Users',\n\tcommonManageEntityPricing: 'Manage Entity Pricing',\n\tcommonViewEntityPricing: 'View Entity Pricing',\n\tcommonUpdatePaymentDetails: 'Update Payment Details',\n\tcommonCopyContract: 'Copy Contract',\n\tcommonPackageUpgrade: 'Package Upgrade',\n\tcommonManageOrganisations: 'Manage Organisations',\n\tcommonViewOrganisations: 'View Organisations',\n\tcommonManageBusinessEntities: 'Manage Business Entities',\n\tcommonViewBusinessEntities: 'View Business Entities',\n\tcommonViewTransactions: 'View Transactions',\n\tcommonManageUsers: 'Manage Users',\n\tcommonViewUsers: 'View Users',\n\tcommonGenerateClientForms: 'Generate Client Forms',\n\tcommonManageReferrals: 'Manage Referrals',\n\n\tintelConnectToAccountingPackage: 'Connect To Accounting Package',\n\tintelUploadAtb: 'Upload Atb',\n\tintelCustomerOverview: 'Customer Overview',\n\tintelManageCustomerPpsrRegistrations: 'Manage Customer Ppsr Registrations',\n\tintelManageCustomerGroups: 'Customer Groups - Manage',\n\tintelCreateCustomerGroups: 'Customer Groups - Create',\n\tintelManageCustomerBusinessInformation: 'Manage Customer Business Information',\n\tintelManageCustomerAccountsInformation: 'Manage Customer Accounts Information',\n\tintelManageCustomerAgedDebtConfiguration: 'Manage Customer Aged Debt Configuration',\n\tintelViewCustomerPpsrRegistrations: 'View Customer Ppsr Registrations',\n\tintelViewCustomerBusinessInformation: 'View Customer Business Information',\n\tintelViewCustomerAccountsInformation: 'View Customer Accounts Information',\n\n\tppsrManageProfileTypes: 'Manage Profile Types',\n\tppsrLinkProfileTypes: 'Link Profile Types',\n\tppsrViewProfileTypes: 'View Profile Types',\n\tppsrCreateSpg: 'Create SPG',\n\tppsrManageSpg: 'Manage SPG',\n\tppsrViewSpg: 'View SPG',\n\tppsrViewRegistrations: 'View Registrations',\n\tppsrRegister: 'Register',\n\tppsrDownloadRegistrations: 'Download Registrations',\n\tppsrProcessBulkUpload: 'Process Bulk Upload',\n\tppsrSubmitForApprovalBulkUpload: 'Submit For Approval Bulk Upload',\n\tppsrDischarge: 'Discharge',\n\tppsrSearch: 'Search',\n\tppsrViewSearches: 'View Searches',\n\tppsrViewMySearches: 'View My Searches',\n\n\tapproveManageCreditApprovalLimit: 'Manage Credit Approval Limit',\n\tapproveManageLesserCreditApprovalLimit: 'Manage Lesser Credit Approval Limit',\n\tapproveManageTradeApplicationRules: 'Manage Trade Application Rules',\n\tapproveCreateTradeApplications: 'Create Trade Applications',\n\tapproveAmendTradeApplications: 'Amend Trade Applications',\n\tapprovePreviewTradeApplications: 'Preview Trade Applications',\n\tapproveLinkTradeApplications: 'Link Trade Applications',\n\tapproveGenerateCreditReport: 'Generate Credit Report',\n\tapproveProcessPpsrWithinApplication: 'Process PpsrWithin Application',\n\tapproveSendApplicationsToCustomers: 'Send Applications To Customers',\n\tapproveViewCustomerApplications: 'View Customer Applications',\n\tapproveViewMyCustomerApplications: 'View My Customer Applications',\n\tapproveRecommendApplicationsForApproval: 'Recommend Applications For Approval',\n\tapproveApproveApplications: 'Approve Applications',\n\tapproveViewCustomerEmails: 'View Customer Emails',\n\tapproveDownloadApplicantApplications: 'Download Applicant Applications',\n\tapproveDownloadMyApplicantApplications: 'Download My Applicant Applications',\n};\n\n/**\n * Returns the default permissions for a given user type\n * @param userType The userType for the default permissions\n * @returns The default permissions for the given userType\n */\nexport function defaultPermissionsForUserType(userType: Enums.userType): UserPermissions {\n\treturn cloneDeep(store.defaultUserPermissions[userType]);\n}\n\n/**\n * Returns the calculated permissions for a user given their userType and what permissions they have overriden.\n * @param userType The userType for the permissions we are calculating\n * @param permissionOverrides The permissions that have been overriden\n * @returns The calculated permissions a user has given their usertype and the overriden permissions\n */\nexport function calculateUserPermissions(userType: Enums.userType, permissionOverrides?: UserPermissions)\n\t\t: UserPermissions {\n\tconst userTypePermissions = defaultPermissionsForUserType(userType);\n\n\t// If they have no overriden permissions, return the default for the given userType\n\tif (!permissionOverrides) {\n\t\treturn userTypePermissions;\n\t}\n\n\t// loop through all the permissions and calculate the necessary value\n\tfor (const key in userTypePermissions) {\n\t\tif (permissionOverrides[key] !== undefined && permissionOverrides[key] !== null) {\n\t\t\tuserTypePermissions[key] = permissionOverrides[key];\n\t\t}\n\t}\n\n\treturn userTypePermissions;\n}\n\n/**\n * Returns the calculated permissions for a user given their userType and what permissions they have overriden.\n * @param userType The userType for the permissions we are calculating\n * @returns The calculated permissions a user has given their usertype and the overriden permissions\n */\nexport function calculateOtherUserTypeVisiblePermissions(userType: Enums.userType)\n\t\t: UserPermissions {\n\tconst userTypePermissions = defaultPermissionsForUserType(userType);\n\n\t// loop through all the permissions and ensure that the permission does not exceed the controlling user\n\tfor (const key in userTypePermissions[userType]) {\n\t\tif (!store.userPermissions[key]) {\n\t\t\tswitch (typeof (store.userPermissions[key])) {\n\t\t\t\tcase 'boolean':\n\t\t\t\t\tuserTypePermissions[key] = false;\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'string':\n\t\t\t\t\tuserTypePermissions[key] = 'SELF';\n\t\t\t}\n\t\t} else if (typeof (userTypePermissions[key]) === 'string') {\n\t\t\tif (Enums.userPermissionScopeOrder[userTypePermissions[key]]\n\t\t\t\t> Enums.userPermissionScopeOrder[store.userPermissions[key]]) {\n\t\t\t\tuserTypePermissions[key] = store.userPermissions[key];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn userTypePermissions;\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport Axios from 'axios';\nimport { SERVER_URL } from 'Constants';\nimport { IUserResult } from 'Models/Store';\n// % protected region % [Add any extra imports here] off begin\n// % protected region % [Add any extra imports here] end\n\n// % protected region % [Customise validate2faCodeArgs here] off begin\nexport type validate2faCodeArgs = {\n\ttoken: string,\n\tmethod: string,\n\trememberMe?: boolean,\n\trememberTwoFactor?: boolean,\n}\n// % protected region % [Customise validate2faCodeArgs here] end\n\n// % protected region % [Customise validate2faCodeBody here] off begin\ntype validate2faBody = {\n\ttoken: string,\n\tmethod: string,\n\trememberMe?: boolean,\n\trememberTwoFactor?: boolean,\n};\n// % protected region % [Customise validate2faCodeBody here] end\n\n// % protected region % [Customise validate2faCode here] off begin\nexport function validate2faCode({\n\ttoken,\n\tmethod,\n\trememberMe,\n\trememberTwoFactor,\n}: validate2faCodeArgs) {\n\tconst body: validate2faBody = { token, method };\n\n\tif (rememberMe !== undefined) body.rememberMe = rememberMe;\n\tif (rememberTwoFactor !== undefined) body.rememberTwoFactor = rememberTwoFactor;\n\n\treturn Axios.post(`${SERVER_URL}/api/authorization/validate-2fa`, body);\n}\n// % protected region % [Customise validate2faCode here] end\n\n// % protected region % [Customise TwoFactorLoginResponse here] off begin\nexport type TwoFactorLoginResponse = {\n\ttype: '2fa-required',\n\tmethod: string,\n\tdata: unknown,\n}\n// % protected region % [Customise TwoFactorLoginResponse here] end\n\n// % protected region % [Customise LoginBody here] off begin\ntype LoginBody = {\n\tusername: string,\n\tpassword: string,\n\trememberMe?: boolean,\n};\n// % protected region % [Customise LoginBody here] end\n\n// % protected region % [Customise LoginResponse here] off begin\nexport type LoginResponse = IUserResult | TwoFactorLoginResponse\n// % protected region % [Customise LoginResponse here] end\n\n// % protected region % [Customise login here] off begin\nexport function login(username: string, password: string, rememberMe?: boolean): Promise {\n\tconst postData: LoginBody = {\n\t\tusername: username,\n\t\tpassword: password,\n\t};\n\n\tif (rememberMe !== undefined) {\n\t\tpostData.rememberMe = rememberMe;\n\t}\n\n\treturn Axios.post(`${SERVER_URL}/api/authorization/login`, postData)\n\t\t.then(x => x.data);\n}\n// % protected region % [Customise login here] end\n\n// % protected region % [Add any additional methods here] off begin\n// % protected region % [Add any additional methods here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport React, { createContext } from 'react';\nimport { Configure2faResponse } from 'Services/Api/AccountService';\n// % protected region % [Add any extra imports here] off begin\n// % protected region % [Add any extra imports here] end\n\nexport type InitialSetupArguments = {\n\tuserName: string,\n\tloggedInUserName?: string,\n\tconfigurePromise: Promise,\n\tclose: (dataUnchanged?: boolean) => void,\n\t// % protected region % [Add any extra InitialSetupArguments fields here] off begin\n\t// % protected region % [Add any extra InitialSetupArguments fields here] end\n};\n\nexport type RemoveArguments = {\n\tuserName: string,\n\tclose: (dataUnchanged?: boolean) => void,\n\t// % protected region % [Add any extra RemoveArguments fields here] off begin\n\t// % protected region % [Add any extra RemoveArguments fields here] end\n};\n\nexport type LoginArguments = {\n\tonTwoFactorSuccess?: () => void,\n\trememberMe?: boolean,\n\t// % protected region % [Add any extra LoginArguments fields here] off begin\n\t// % protected region % [Add any extra LoginArguments fields here] end\n}\n\nexport type TwoFactorResponse = {\n\tcontent: React.ReactNode,\n\trequired: boolean,\n\t// % protected region % [Add any extra TwoFactorResponse fields here] off begin\n\t// % protected region % [Add any extra TwoFactorResponse fields here] end\n}\n\nexport interface TwoFactorConfiguration {\n\tonInitialSetup: (args: InitialSetupArguments) => TwoFactorResponse;\n\tonRemove: (args: RemoveArguments) => TwoFactorResponse;\n\tonLogin: (args: LoginArguments) => TwoFactorResponse;\n\t// % protected region % [Add any extra TwoFactorConfiguration fields here] off begin\n\t// % protected region % [Add any extra TwoFactorConfiguration fields here] end\n}\n\nexport interface TwoFactorMethods {\n\t[name: string] : TwoFactorConfiguration;\n\t// % protected region % [Add any extra TwoFactorMethods fields here] off begin\n\t// % protected region % [Add any extra TwoFactorMethods fields here] end\n}\n\n// % protected region % [Customise buildOtpUrl here] off begin\nexport const TwoFactorContext = createContext({ });\n// % protected region % [Customise buildOtpUrl here] end\n\n// % protected region % [Add any additional methods here] off begin\n// % protected region % [Add any additional methods here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\n// % protected region % [Add any extra imports here] off begin\n// % protected region % [Add any extra imports here] end\n\n// % protected region % [Customise application id here] on begin\nexport const APPLICATION_ID = '43e5ddac-d4b6-11ec-9d64-0242ac120002';\n// % protected region % [Customise application id here] end\n\nexport const validator: unique symbol = Symbol('Validators');\nexport const validatorMap: unique symbol = Symbol('Validator Map');\nexport const validatorValueMap: unique symbol = Symbol('Validator Value Map');\nexport const attributes: unique symbol = Symbol('Attributes');\nexport const references: unique symbol = Symbol('References');\nexport const crudOptions: unique symbol = Symbol('CRUDOptions');\nexport const modelName: unique symbol = Symbol('Model Name');\nexport const displayName: unique symbol = Symbol('Display Name');\nexport const crudId: unique symbol = Symbol('Crud Unique Id');\nexport const fileAttributes: unique symbol = Symbol('File Attributes');\nexport const serialiseAs: unique symbol = Symbol('Serialise As');\n// % protected region % [Add any extra symbols here] off begin\n// % protected region % [Add any extra symbols here] end\n\nexport const Symbols = {\n\tvalidator: validator,\n\tvalidatorMap: validatorMap,\n\tattributes: attributes,\n\treferences: references,\n\tcrudOptions: crudOptions,\n\tmodelName: modelName,\n\tdisplayName: displayName,\n\tcrudId: crudId,\n\tfileAttributes: fileAttributes,\n\tvalidatorValueMap: validatorValueMap,\n\tserialiseAs: serialiseAs,\n\t// % protected region % [Add extra symbols to the symbol map here] off begin\n\t// % protected region % [Add extra symbols to the symbol map here] end\n};\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport moment from 'moment';\nimport _ from 'lodash';\n// % protected region % [Add extra imports here] off begin\n// % protected region % [Add extra imports here] end\n\n// % protected region % [Customise types here] off begin\nexport type transformFunction = (attr: string) => IStandardisedOption | null;\nexport interface IStandardisedOption {\n\tquery: string | string[];\n\textraOptions?: { [option: string]: any };\n}\n// % protected region % [Customise types here] end\n\n// % protected region % [Customise standardiseDate here] on begin\nexport type standardiseDateOptions = {\n\t/** How should the date time be serialised. If nothing is selected then default to dateTime */\n\tserialiseAs?: 'date' | 'time' | 'dateTime' | 'dateTimeWithoutTz',\n}\n\n/**\n * Converts a date string to a date string in ISO8601 format.\n * @param attr The date string\n * @param serialiseAs What date format should be used.\n * If this value is 'dateTime' then format is YYYY-MM-DDTHH:mm:ss\n * If this value is 'date' then format is YYYY-MM-DD\n * If this value is 'time' then format is HH:mm:ss\n * @returns A date string in the specified date format or null if the provided date was not valid\n */\nexport function standardiseDate(\n\tattr: string,\n\t{\n\t\tserialiseAs = 'dateTime',\n\t}: standardiseDateOptions = {},\n): IStandardisedOption | null {\n\tif (attr === undefined || attr === null) {\n\t\treturn null;\n\t}\n\n\tconst formats = [\n\t\t'DD-MM-YYYY 00:00:00',\n\t\t'DD-MM-YYYY HH:mm:ss',\n\t\t'DD/MM/YYYY 00:00:00',\n\t\t'DD/MM/YYYY HH:mm:ss',\n\t\t'YYYY-MM-DD 00:00:00',\n\t\t'YYYY-MM-DD HH:mm:ss',\n\t\t'YYYY/MM/DD 00:00:00',\n\t\t'YYYY/MM/DD HH:mm:ss',\n\t\t'MM-DD-YYYY 00:00:00',\n\t\t'MM-DD-YYYY HH:mm:ss',\n\t\t'MM/DD/YYYY 00:00:00',\n\t\t'MM/DD/YYYY HH:mm:ss',\n\t];\n\tconst momentDate = moment(attr, formats);\n\n\t// Some invalid dates won't be marked invalid but just exist in year 0\n\tif (!momentDate.isValid() || momentDate.year() === 0) {\n\t\treturn null;\n\t}\n\n\tconst dateOnly = momentDate.hours() === 0\n\t\t&& momentDate.minutes() === 0\n\t\t&& momentDate.seconds() === 0;\n\n\tif (serialiseAs === 'date') {\n\t\tconst query = serialiseDate(momentDate);\n\t\tif (query) {\n\t\t\treturn { query };\n\t\t}\n\t} else if (serialiseAs === 'time') {\n\t\tconst query = serialiseTime(momentDate);\n\t\tif (query) {\n\t\t\treturn { query };\n\t\t}\n\t} else if (serialiseAs === 'dateTime' || serialiseAs === 'dateTimeWithoutTz') {\n\t\tconst startDate = serialiseAs === 'dateTime'\n\t\t\t? serialiseDateTime(momentDate)\n\t\t\t: serialiseDateTimeNoTz(momentDate);\n\t\tconst endDate = serialiseAs === 'dateTime'\n\t\t\t? serialiseDateTime(moment(momentDate).add(1, 'day'))\n\t\t\t: serialiseDateTimeNoTz(moment(momentDate).add(1, 'day'));\n\n\t\tif (startDate === null || endDate === null) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (dateOnly) {\n\t\t\treturn {\n\t\t\t\tquery: [startDate, endDate],\n\t\t\t\textraOptions: {\n\t\t\t\t\tcomparison: 'between',\n\t\t\t\t},\n\t\t\t};\n\t\t}\n\n\t\treturn { query: startDate };\n\t}\n\n\treturn null;\n}\n// % protected region % [Customise standardiseDate here] end\n\n// % protected region % [Customise standardiseInteger here] off begin\n/**\n * Determines if an input is an int for the purposes of search\n * @param attr The query string to check if it is an int\n */\nexport function standardiseInteger(attr: string): IStandardisedOption | null {\n\tconst value = Number(attr);\n\tif (Number.isNaN(value) || !Number.isInteger(value)) {\n\t\treturn null;\n\t}\n\n\tconst maxInt = 2147483647;\n\tconst minInt = -2147483648;\n\n\tif (value > maxInt || value < minInt) {\n\t\treturn null;\n\t}\n\n\treturn { query: attr };\n}\n// % protected region % [Customise standardiseInteger here] end\n\n// % protected region % [Customise standardiseFloat here] off begin\n/**\n * Determines if an input is an float for the purposes of search\n * @param attr The query string to check if it is a float\n */\nexport function standardiseFloat(attr: string): IStandardisedOption | null {\n\tif (Number.isNaN(Number(attr))) {\n\t\treturn null;\n\t}\n\n\treturn { query: attr };\n}\n// % protected region % [Customise standardiseFloat here] end\n\n// % protected region % [Customise standardiseBoolean here] off begin\n/**\n * Determines if an input is an bool for the purposes of search\n * @param attr The query string to check if it is a bool\n */\nexport function standardiseBoolean(attr: string): IStandardisedOption | null {\n\tif (['true', 'false'].indexOf(attr) >= 0) {\n\t\treturn { query: attr };\n\t}\n\n\treturn null;\n}\n// % protected region % [Customise standardiseBoolean here] end\n\n// % protected region % [Customise standardiseString here] off begin\n/**\n * Returns a search query for a string that is case insensitive\n * @param attr The string to search for\n */\nexport function standardiseString(attr: string): IStandardisedOption | null {\n\treturn {\n\t\tquery: `%${attr}%`,\n\t\textraOptions: {\n\t\t\tcase: 'INVARIANT_CULTURE_IGNORE_CASE',\n\t\t},\n\t};\n}\n// % protected region % [Customise standardiseString here] end\n\n// % protected region % [Customise standardiseUuid here] off begin\n/**\n * Returns a search query for a complete Uuid\n * @param attr The string to search for\n */\nexport function standardiseUuid(attr: string): IStandardisedOption | null {\n\tconst regex = /^[0-9A-F]{8}-[0-9A-F]{4}-[4][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i;\n\tif (!attr.match(regex)) {\n\t\treturn null;\n\t}\n\n\treturn { query: attr };\n}\n// % protected region % [Customise standardiseUuid here] end\n\n// % protected region % [Customise standardiseEnum here] off begin\n/**\n * Returns a search query for a string that is case insensitive\n * @param attr The string to search for\n * @param enumOptions The enum options to sort through\n */\nexport function standardiseEnum(attr: string, enumOptions: Record): IStandardisedOption | null {\n\tconst enumKey = _.invert(enumOptions)[attr];\n\tif (!enumKey) {\n\t\treturn null;\n\t}\n\n\treturn { query: enumKey };\n}\n// % protected region % [Customise standardiseEnum here] end\n\n// % protected region % [Customise serialiseDate here] on begin\n/**\n * Serialise a date object as a date only string.\n * @param attr The date to serialise\n * @returns A string in the format YYYY-MM-DD\n */\nexport function serialiseDate(attr: string | Date | moment.Moment) {\n\tif (attr === undefined || attr === null) {\n\t\treturn null;\n\t}\n\n\treturn moment(attr).format('YYYY-MM-DD');\n}\n// % protected region % [Customise serialiseDate here] end\n\n// % protected region % [Customise serialiseTime here] on begin\n/**\n * Serialise a date object as a time only string.\n * @param attr The date to serialise\n * @returns A string in the format HH:mm:ss\n */\nexport function serialiseTime(attr: string | Date | moment.Moment) {\n\tif (attr === undefined || attr === null) {\n\t\treturn null;\n\t}\n\n\treturn moment(attr).format('HH:mm:ss');\n}\n// % protected region % [Customise serialiseTime here] end\n\n// % protected region % [Customise serialiseDateTime here] on begin\n/**\n * Serialise a date object as a date time string.\n * @param attr The date to serialise\n * @returns A string in the format YYYY-MM-DDTHH:mm:ssZ\n */\nexport function serialiseDateTime(attr: string | Date | moment.Moment) {\n\tif (attr === undefined || attr === null) {\n\t\treturn null;\n\t}\n\n\treturn moment(attr).format('YYYY-MM-DDTHH:mm:ssZ');\n}\n// % protected region % [Customise serialiseDateTime here] end\n\n// % protected region % [Customise serialiseDateTimeNoTz here] on begin\n/**\n * Serialise a date object as a date time string without a timezone.\n * @param attr The date to serialise\n * @returns A string in the format YYYY-MM-DDTHH:mm:ss\n */\nexport function serialiseDateTimeNoTz(attr: string | Date | moment.Moment) {\n\tif (attr === undefined || attr === null) {\n\t\treturn null;\n\t}\n\n\treturn moment(attr).format('YYYY-MM-DDTHH:mm:ss');\n}\n// % protected region % [Customise serialiseDateTimeNoTz here] end\n\n// % protected region % [Add extra AttributeUtils methods here] on begin\n// function to correctly display a phone number\nexport function standardisePhone(attr: string) : string {\n\tconst phoneNoSpaces = attr.replace(/\\s+/g, '');\n\t// to make the form 3333 3333\n\tif (phoneNoSpaces.length === 8) {\n\t\treturn `${phoneNoSpaces.substring(0, 4)} ${phoneNoSpaces.substring(4, 8)}`;\n\t}\n\t// to make the form 0400 000 000\n\tif (phoneNoSpaces.length === 10 && phoneNoSpaces.startsWith('04')) {\n\t\treturn `${phoneNoSpaces.substring(0, 4)} ${phoneNoSpaces.substring(4, 7)} ${phoneNoSpaces.substring(7, 10)}`;\n\t}\n\t// to make the form 07 3333 3333\n\tif (phoneNoSpaces.length === 10) {\n\t\treturn `${phoneNoSpaces.substring(0, 2)} ${phoneNoSpaces.substring(2, 6)} ${phoneNoSpaces.substring(6, 10)}`;\n\t}\n\t// to make the form +61 468 484 278\n\tif (phoneNoSpaces.startsWith('+') && phoneNoSpaces.length === 12) {\n\t\treturn `${phoneNoSpaces.substring(0, 3)} ${phoneNoSpaces.substring(3, 6)} `\n\t\t\t+ `${phoneNoSpaces.substring(6, 9)} ${phoneNoSpaces.substring(9, 12)}`;\n\t}\n\t// just return the number we received if doesn't match above\n\treturn attr;\n}\n// % protected region % [Add extra AttributeUtils methods here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as uuid from 'uuid';\nimport _ from 'lodash';\nimport { SERVER_URL } from 'Constants';\nimport gql from 'graphql-tag';\nimport { IModelType, Model } from 'Models/Model';\nimport { AttributeCRUDOptions, ICRUDOptions } from 'Models/CRUDOptions';\nimport {\n\tcrudOptions,\n\tattributes,\n\tmodelName as modelNameSymbol,\n\tdisplayName as displayNameSymbol,\n\tcrudId,\n\tfileAttributes,\n\tvalidatorMap,\n} from 'Symbols';\nimport { lowerCaseFirst } from './StringUtils';\nimport { store } from 'Models/Store';\nimport {\n\tHasCondition,\n\tIOrderByCondition,\n\tIWhereCondition,\n} from 'Views/Components/ModelCollection/ModelQuery';\nimport { IWhereConditionApi } from 'Views/Components/ModelCollection/ModelQuery';\nimport { buildUrl } from 'Util/FetchUtils';\nimport * as AttrUtils from 'Util/AttributeUtils';\n// % protected region % [Add extra imports here] off begin\n// % protected region % [Add extra imports here] end\n\n/**\n * Helper method to get model name based on the modelType - must be a Model or subclass\n * @param modelType The type of model\n */\nexport function getModelName(modelType: { new(): Model }) {\n\treturn modelType[modelNameSymbol];\n}\n\n/**\n * Helper method to get model display name based on the modelType - must be a Model or subclass\n * @param modelType The type of model\n */\nexport function getModelDisplayName(modelType: { new(): Model }) {\n\treturn modelType[displayNameSymbol];\n}\n\n/**\n * Helper method that reads the display metadata (decorators) of this type and returns it in a typed format\n */\nexport function getAttributeCRUDOptions(modelType: { new(): Model }): AttributeCRUDOptions[] {\n\tconst attributeDisplay = [];\n\tfor (const [attributeName, displayOptions] of Object.entries(modelType.prototype[crudOptions])) {\n\t\tattributeDisplay.push(new AttributeCRUDOptions(attributeName, displayOptions as ICRUDOptions));\n\t}\n\n\treturn attributeDisplay;\n}\n\n/*\n * Gets all attributes for the model\n */\nexport function getAttributes(modelType: { new(): Model }) {\n\treturn [...modelType.prototype[attributes]];\n}\n\nexport function getFiles(modelType: { new(): Model }) {\n\treturn [...modelType.prototype[fileAttributes]].map(f => f.name);\n}\n\n// % protected region % [Customize exportAll method here] off begin\nexport async function exportAll(\n\tmodelType: { new (): Model },\n\tconditions: IWhereConditionApi>[][] = [],\n): Promise {\n\twindow.open(\n\t\tbuildUrl(`${SERVER_URL}/api/entity/${getModelName(modelType)}/export`, {\n\t\t\tstringConditions: btoa(JSON.stringify(conditions)),\n\t\t}),\n\t\t'_blank',\n\t);\n}\n// % protected region % [Customize exportAll method here] end\n\n// % protected region % [Customize getFetchAllQuery method here] off begin\n/*\n * Gets all models\n */\nexport function getFetchAllQuery(ModelType: { new(): Model }, expandString?: string, useListExpands?: boolean) {\n\tconst model = new ModelType();\n\tconst modelsName = lowerCaseFirst(model.getModelName());\n\n\treturn gql`\n\t\tquery ${modelsName}(\n\t\t\t$args: [WhereExpressionGraph],\n\t\t\t$has: [[HasConditionType]],\n\t\t\t$skip:Int,\n\t\t\t$take:Int,\n\t\t\t$orderBy: [OrderByGraph],\n\t\t\t$ids: [ID],\n\t\t\t$id: ID\n\t\t) {\n\t\t\t${modelsName}s(where: $args, has: $has, skip:$skip, take:$take, orderBy: $orderBy, ids: $ids, id: $id) {\n\t\t\t\t${expandString ?? ''}\n\t\t\t\t${model.attributes.join('\\n')}\n\t\t\t\t${model.files.map(f => f.name).join('\\n')}\n\t\t\t\t${useListExpands ? new ModelType().listExpands : new ModelType().defaultExpands}\n\t\t\t}\n\t\t\tcount${model.getModelName()}s(where: $args, has: $has, ids: $ids, id: $id) {\n\t\t\t\tnumber\n\t\t\t}\n\t\t}`;\n}\n// % protected region % [Customize getFetchAllQuery method here] end\n\n// % protected region % [Customize FetchSingleQuery method here] off begin\n/**\n * Gets all models\n */\nexport function getFetchSingleQuery(ModelType: { new(): Model }, expandString?: string, useListExpands?: boolean) {\n\tconst modelsName = lowerCaseFirst(getModelName(ModelType));\n\n\treturn gql`\n\t\tquery ${modelsName} ($args:[WhereExpressionGraph]) {\n\t\t\t${modelsName} (where: $args) {\n\t\t\t\t${expandString ?? ''}\n\t\t\t\t${getAttributes(ModelType).join('\\n')}\n\t\t\t\t${getFiles(ModelType).join('\\n')}\n\t\t\t\t${useListExpands ? new ModelType().listExpands : new ModelType().defaultExpands}\n\t\t\t}\n\t\t}`;\n}\n// % protected region % [Customize FetchSingleQuery method here] end\n\n// % protected region % [Customize fetchAllConditional method here] off begin\ntype QueryBuilderOptions = {\n\t/** The type of expands to use with the query. If this property is undefined then 'none' is used. */\n\texpandType?: 'list' | 'default' | 'none',\n\t/** If this is true then the count query will be removed. */\n\tremoveCount?: boolean,\n};\n\n/**\n * Creates a conditional query to send over graphql\n * @param ModelType The model type to create the query for\n * @param expandString Custom string to be inserted into the graphql query\n * @param options The options to be used when building the query.\n */\nexport function getFetchAllConditional(\n\tModelType: { new() : Model },\n\texpandString?: string,\n\toptions: QueryBuilderOptions = {},\n) {\n\tconst {\n\t\texpandType = 'none',\n\t\tremoveCount,\n\t} = options;\n\n\tconst modelName: string = ModelType[modelNameSymbol];\n\tconst lowerModelName = lowerCaseFirst(modelName);\n\n\tlet expands: string;\n\tswitch (expandType) {\n\t\tcase 'list':\n\t\t\texpands = new ModelType().listExpands;\n\t\t\tbreak;\n\t\tcase 'default':\n\t\t\texpands = new ModelType().defaultExpands;\n\t\t\tbreak;\n\t\tcase 'none':\n\t\t\texpands = '';\n\t\t\tbreak;\n\t}\n\n\tlet countQuery;\n\tif (removeCount) {\n\t\tcountQuery = '';\n\t} else {\n\t\tcountQuery = `\n\t\t\tcount${modelName}s : count${modelName}sConditional(conditions: $args, has: $has, ids: $ids, id: $id) {\n\t\t\t\tnumber\n\t\t\t}\n\t\t`;\n\t}\n\n\treturn gql`\n\t\tquery ${lowerModelName}(\n\t\t\t$args: [[WhereExpressionGraph]],\n\t\t\t$has: [[HasConditionType]],\n\t\t\t$skip:Int,\n\t\t\t$take:Int,\n\t\t\t$orderBy: [OrderByGraph],\n\t\t\t$ids: [ID],\n\t\t\t$id: ID\n\t\t) {\n\t\t\t${lowerModelName}s : ${lowerModelName}sConditional(\n\t\t\t\tconditions: $args,\n\t\t\t\thas: $has,\n\t\t\t\tskip:$skip,\n\t\t\t\ttake:$take,\n\t\t\t\torderBy: $orderBy,\n\t\t\t\tids: $ids,\n\t\t\t\tid: $id\n\t\t\t) {\n\t\t\t\t${expandString ?? ''}\n\t\t\t\t${getAttributes(ModelType).join('\\n')}\n\t\t\t\t${getFiles(ModelType).join('\\n')}\n\t\t\t\t${expands}\n\t\t\t}\n\t\t\t${countQuery}\n\t\t}`;\n}\n// % protected region % [Customize fetchAllConditional method here] end\n\n/**\n * Creates a function that checks if a field in the first argument equals the second argument\n * @param field The field to check\n * @returns A function that compares equality of the field to an option\n */\nexport function makeJoinEqualsFunc(field: string) {\n\treturn (modelProp: T, option: string) => modelProp[field] === option;\n}\n\nexport type manyToManyOptions = {\n\tentityName: string,\n\toppositeEntityName: string,\n\trelationName: string,\n\trelationOppositeName: string,\n\tentity: () => IModelType,\n\tjoinEntity: () => IModelType,\n\toppositeEntity: () => IModelType,\n\targs?: (query: string, existingArgs: Array>>) => Array>>,\n\torderBy?: Array>,\n\ttake?: number,\n\tskip?: number,\n\tcase?: string,\n\tid?: string,\n\tids?: Array,\n\thas?: (query: string, existingArgs: HasCondition[][]) => HasCondition[][],\n\t// % protected region % [Add additional manyToManyOptions attributes here] off begin\n\t// % protected region % [Add additional manyToManyOptions attributes here] end\n};\n\n// % protected region % [Customize makeFetchManyToManyFunc method here] off begin\n/**\n * Makes a function that fetches the entities needed for many to many queries\n * @param options options for the fetch function\n */\nexport function makeFetchManyToManyFunc(options: manyToManyOptions) {\n\treturn (query: string | string[], queryOptions: {model: Model}) => {\n\t\tconst JoinEntity = options.joinEntity();\n\t\tconst OppositeEntity = options.oppositeEntity();\n\n\t\tconst queryString = typeof query === 'string'\n\t\t\t? query\n\t\t\t: '';\n\n\t\tconst args = new OppositeEntity().getSearchConditions(queryString) ?? [];\n\t\tconst existingIds = queryOptions.model[`${options.relationOppositeName}s`].map((x: any) => {\n\t\t\treturn x[`${options.relationOppositeName}Id`];\n\t\t});\n\t\tconst existingArg: IWhereCondition = {\n\t\t\tpath: 'id',\n\t\t\tcomparison: 'in',\n\t\t\tnegate: true,\n\t\t\tvalue: existingIds,\n\t\t};\n\t\targs.push([existingArg]);\n\n\t\treturn store.apolloClient\n\t\t\t.query({\n\t\t\t\tquery: gql`\n\t\t\t\t\tquery joinData(\n\t\t\t\t\t\t$has: [[HasConditionType]],\n\t\t\t\t\t\t$args: [[WhereExpressionGraph]],\n\t\t\t\t\t\t$skip:Int,\n\t\t\t\t\t\t$take:Int,\n\t\t\t\t\t\t$orderBy: [OrderByGraph],\n\t\t\t\t\t\t$ids: [ID],\n\t\t\t\t\t\t$id: ID\n\t\t\t\t\t) {\n\t\t\t\t\t\tjoinData: ${options.oppositeEntityName}s(\n\t\t\t\t\t\t\thas: $has,\n\t\t\t\t\t\t\tconditions: $args,\n\t\t\t\t\t\t\tskip: $skip,\n\t\t\t\t\t\t\ttake: $take,\n\t\t\t\t\t\t\torderBy: $orderBy,\n\t\t\t\t\t\t\tids: $ids,\n\t\t\t\t\t\t\tid: $id\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t${OppositeEntity.getAttributes().join('\\n')}\n\t\t\t\t\t\t\t${OppositeEntity.getFiles().map(f => f.name).join('\\n')}\n\t\t\t\t\t\t}\n\t\t\t\t\t}`,\n\t\t\t\tfetchPolicy: 'network-only',\n\t\t\t\tvariables: {\n\t\t\t\t\tid: options.id,\n\t\t\t\t\tids: options.ids,\n\t\t\t\t\targs: options.args?.(queryString, args) ?? args,\n\t\t\t\t\tskip: options.skip,\n\t\t\t\t\ttake: options.take ?? 10,\n\t\t\t\t\torderBy: options.orderBy,\n\t\t\t\t\thas: options.has ? options.has(queryString, []) : undefined,\n\t\t\t\t},\n\t\t\t})\n\t\t\t.then(result => {\n\t\t\t\tconst data = result.data.joinData;\n\t\t\t\tconst serverData = _.flatMap(data, i => {\n\t\t\t\t\tconst join = new JoinEntity({\n\t\t\t\t\t\t[`${options.relationOppositeName}Id`]: i.id,\n\t\t\t\t\t\t[`${options.relationOppositeName}`]: i,\n\t\t\t\t\t});\n\t\t\t\t\tjoin[crudId] = uuid.v4();\n\t\t\t\t\treturn {\n\t\t\t\t\t\tdisplay: new OppositeEntity(i).getDisplayName(),\n\t\t\t\t\t\tvalue: join,\n\t\t\t\t\t};\n\t\t\t\t});\n\t\t\t\tconst existingRelations = queryOptions.model[`${options.relationOppositeName}s`];\n\t\t\t\tfor (const existingEntity of existingRelations) {\n\t\t\t\t\texistingEntity[crudId] = existingEntity.id;\n\t\t\t\t\tconst entitiesMatch = !_.find(\n\t\t\t\t\t\tserverData,\n\t\t\t\t\t\to => makeJoinEqualsFunc(`${options.relationOppositeName}Id`)(\n\t\t\t\t\t\t\texistingEntity,\n\t\t\t\t\t\t\to.value[`${options.relationOppositeName}Id`],\n\t\t\t\t\t\t),\n\t\t\t\t\t);\n\t\t\t\t\tif (entitiesMatch) {\n\t\t\t\t\t\tserverData.push({\n\t\t\t\t\t\t\tdisplay: new OppositeEntity(existingEntity[options.relationOppositeName]).getDisplayName(),\n\t\t\t\t\t\t\tvalue: existingEntity,\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn serverData;\n\t\t\t});\n\t};\n}\n// % protected region % [Customize makeFetchManyToManyFunc method here] end\n\nexport type oneToManyOptions = {\n\trelationName: string,\n\toppositeEntity: () => IModelType,\n\targs?: Array>>\n};\n\nexport function makeFetchOneToManyFunc(options: oneToManyOptions) {\n\treturn async (query: string | string[], queryOptions: {model: Model}) => {\n\t\tconst OppositeEntity = options.oppositeEntity();\n\n\t\tlet args = typeof query === 'string' ? new OppositeEntity().getSearchConditions(query) : undefined;\n\t\tif (options.args) {\n\t\t\targs = (args && args.length > 0) ? _.union(args, options.args) : options.args;\n\t\t}\n\n\t\tconst serverData = await OppositeEntity.fetch({\n\t\t\targs: args,\n\t\t\ttake: 10,\n\t\t});\n\n\t\tconst existingData: T[] = queryOptions.model[options.relationName];\n\n\t\treturn _\n\t\t\t.unionBy(existingData, serverData, 'id')\n\t\t\t.map(r => ({\n\t\t\t\tdisplay: r.getDisplayName(),\n\t\t\t\tvalue: r,\n\t\t\t}));\n\t};\n}\n\nexport function makeEnumFetchFunction(\n\tenumOptions: { [key in T]: string },\n): { display: string, value: string }[] {\n\treturn _.map(enumOptions, (display, value) => ({ display, value }));\n}\n\nexport function isRequired(model: Model, attributeName: string) {\n\tlet required = false;\n\tif (model[validatorMap]) {\n\t\tconst maybeValidator = model[validatorMap][attributeName];\n\t\trequired = maybeValidator ? maybeValidator.indexOf('Required') > -1 : false;\n\t}\n\treturn required;\n}\n\nexport function getCreatedModifiedCrudOptions(): [ ICRUDOptions, ICRUDOptions ] {\n\t// % protected region % [Modify the create and modified CRUD attributes here] off begin\n\tconst createdAttr: ICRUDOptions = {\n\t\tname: 'Created',\n\t\tdisplayType: 'datepicker',\n\t\theaderColumn: false,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t\torder: 1000,\n\t\tisReadonly: true,\n\t\tcreateFieldType: 'hidden',\n\t};\n\n\tconst modifiedAttr: ICRUDOptions = {\n\t\tname: 'Modified',\n\t\tdisplayType: 'datepicker',\n\t\theaderColumn: false,\n\t\tsearchable: true,\n\t\tsearchFunction: 'equal',\n\t\tsearchTransform: AttrUtils.standardiseDate,\n\t\torder: 1010,\n\t\tisReadonly: true,\n\t\tcreateFieldType: 'hidden',\n\t};\n\n\treturn [createdAttr, modifiedAttr];\n\t// % protected region % [Modify the create and modified CRUD attributes here] end\n}\n\n// % protected region % [Export additional EntityUtil functions here] on begin\nexport function makeDropdownFetchOneToManyFunc(options: oneToManyOptions) {\n\treturn async (query: string | string[], queryOptions: {model: Model}) => {\n\t\tconst OppositeEntity = options.oppositeEntity();\n\n\t\tlet args = typeof query === 'string' ? new OppositeEntity().getSearchConditions(query) : undefined;\n\t\tif (options.args) {\n\t\t\targs = (Array.isArray(args) && args.length > 0) ? _.union(args, options.args) : options.args;\n\t\t}\n\n\t\tconst serverData = await OppositeEntity.fetch(\n\t\t\t{\n\t\t\t\targs: args,\n\t\t\t\ttake: 10,\n\t\t\t},\n\t\t\t// @ts-ignore\n\t\t\t'',\n\t\t\t{},\n\t\t\ttrue,\n\t\t);\n\n\t\tconst existingData: T[] = queryOptions.model[options.relationName];\n\n\t\treturn _\n\t\t\t.unionBy(existingData, serverData, 'id')\n\t\t\t.map(r => ({\n\t\t\t\tdisplay: r.getDisplayName(),\n\t\t\t\tvalue: r,\n\t\t\t}));\n\t};\n}\n// % protected region % [Export additional EntityUtil functions here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as queryString from 'querystring';\nimport { convertCaseComparisonToPascalCase } from 'Util/GraphQLUtils';\nimport { IWhereCondition, IWhereConditionApi } from 'Views/Components/ModelCollection/ModelQuery';\n\n/**\n * Handles the response from a javascript fetch call\n * @param response The response to handle\n * @returns the response as a json\n */\nexport function handleFetchedResponse(response: Response) {\n\tconst responseJson = response.json();\n\tif (!response.ok) {\n\t\treturn responseJson.then(Promise.reject.bind(Promise));\n\t}\n\treturn responseJson;\n}\n\n/**\n * Builds a url from a route and query params\n * @param route The route of the url\n * @param params The query params to use\n * @returns The built url\n */\nexport function buildUrl(route: string, params?: {[key: string]: string}) {\n\tif (params) {\n\t\treturn `${route}?${queryString.stringify(params)}`;\n\t}\n\n\treturn route;\n}\n\n/**\n * Formats a collection filter for use with rest endpoints\n * @param collectionFilters an array of array of IWhereCondition\n */\nexport function formatConditionsForRest(collectionFilters: Array>>) {\n\treturn [\n\t\t...collectionFilters.map(andCondition => andCondition.map(orCondition => {\n\t\t\tif (orCondition.case) {\n\t\t\t\treturn {\n\t\t\t\t\t...orCondition,\n\t\t\t\t\tcase: convertCaseComparisonToPascalCase(orCondition.case),\n\t\t\t\t\tvalue: [orCondition.value],\n\t\t\t\t};\n\t\t\t}\n\t\t\treturn orCondition as IWhereConditionApi;\n\t\t})),\n\t];\n}\n\n// % protected region % [Add any extra fetch utils here] off begin\n// % protected region % [Add any extra fetch utils here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { CaseComparison, CaseComparisonPascalCase, IWhereCondition } from 'Views/Components/ModelCollection/ModelQuery';\nimport { ServerError, ServerParseError } from '@apollo/client';\nimport { ErrorResponse } from '@apollo/client/link/error';\n// % protected region % [Add extra imports here] on begin\nimport { noSpaces, safeGqlSearch } from './StringUtils';\n// % protected region % [Add extra imports here] end\n\n/**\n * Check if a GraphQL error is a server error(instead of a GraphQL error)\n * @param error the returned error from server GraphQL\n * @param params The query params to use\n * @returns boolean, if the error is ServerError and have error['statusCode']\n */\nexport function isServerError(error: Error | ServerError | ServerParseError | undefined | null):\n\terror is ServerError | ServerParseError {\n\treturn error !== undefined && error !== null && 'statusCode' in error;\n}\n\nexport function getTheNetworkError(response: ErrorResponse): string | null {\n\t// Disable dot notation since it is very difficult to write it for type guards\n\t/* eslint-disable dot-notation */\n\tif (!!response.networkError && !!response.networkError['result']\n\t\t&& !!response.networkError['result']['errors']\n\t\t&& !!response.networkError['result']['errors']['length']) {\n\t\tconst error = response.networkError['result']['errors'][0];\n\t\treturn error['message'];\n\t}\n\n\treturn null;\n\t/* eslint-enable dot-notation */\n}\n\n/**\n * Return an array of error messages from graphQl error response\n * @param response The GraphQL error response\n */\nexport function getErrorMessages(response: ErrorResponse): string[] {\n\tif (!!response.response && !!response.response.data) {\n\t\tif (!!response.response.data.errors && Array.isArray(response.response.data.errors)) {\n\t\t\treturn response.response.data.errors;\n\t\t}\n\n\t\treturn [JSON.stringify(response.response.data)];\n\t}\n\treturn [];\n}\n\n/**\n * Checks if the condition has any OR conditions\n * A query has OR conditions if it is an array of arrays\n * @param conditions The condition to check\n */\nexport function isOrCondition(\n\tconditions: Array> | Array>> | undefined,\n): conditions is Array>> {\n\tif (conditions === undefined) {\n\t\treturn false;\n\t}\n\n\tif (conditions[0]) {\n\t\treturn Array.isArray(conditions[0]);\n\t}\n\treturn false;\n}\n\n/**\n * Converts a case comparison to its pascal case version\n * @param comparison The comparison to convert\n */\nexport function convertCaseComparisonToPascalCase(comparison: CaseComparison): CaseComparisonPascalCase {\n\tconst comparisonMap: {[key in CaseComparison]: CaseComparisonPascalCase} = {\n\t\tCURRENT_CULTURE: 'CurrentCulture',\n\t\tCURRENT_CULTURE_IGNORE_CASE: 'CurrentCultureIgnoreCase',\n\t\tINVARIANT_CULTURE: 'InvariantCulture',\n\t\tINVARIANT_CULTURE_IGNORE_CASE: 'InvariantCultureIgnoreCase',\n\t\tORDINAL: 'Ordinal',\n\t\tORDINAL_IGNORE_CASE: 'OrdinalIgnoreCase',\n\t};\n\n\treturn comparisonMap[comparison];\n}\n\n// % protected region % [Add any extra GraphQL utils here] on begin\n/**\n * Builds the search conditions for a graphql search\n * @param columnsToSearch a list of column names for the columns we are searching\n * @param search the search string\n * @param comparison the comparison method\n */\nexport function buildSearchConditions(columnsToSearch: string[], search: string, comparison: CaseComparison) {\n\tconst searchTermsWithSpaces = safeGqlSearch(search);\n\tconst searchTermsWithoutSpaces = noSpaces(searchTermsWithSpaces);\n\tconst searchConditions: IWhereCondition[] = [];\n\tcolumnsToSearch.forEach(path => {\n\t\tsearchConditions.push({\n\t\t\tcase: comparison, comparison: 'like', path: path, value: [`%${searchTermsWithSpaces}%`],\n\t\t});\n\t\tsearchConditions.push({\n\t\t\tcase: comparison, comparison: 'like', path: path, value: [`%${searchTermsWithoutSpaces}%`],\n\t\t});\n\t});\n\treturn searchConditions;\n}\n// % protected region % [Add any extra GraphQL utils here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\n\n// % protected region % [Add extra imports here] on begin\nimport axios from 'axios';\nimport { LiquorLicenceValidationResponse } from '../Types/liquorLicenceValidationResponse';\nimport { state } from 'Models/Enums';\nimport { SERVER_URL } from '../Constants';\n// % protected region % [Add extra imports here] end\n\nexport function lowerCaseFirst(str: string) {\n\treturn str[0].toLowerCase() + str.slice(1);\n}\n\nexport function upperCaseFirst(str: string) {\n\treturn str[0].toUpperCase() + str.slice(1);\n}\n\nexport function camelCaseIntoWords(name: string) {\n\treturn name.replace(/([A-Z])/g, ' $1')\n\t\t.replace(/^./, str => str.toUpperCase());\n}\n\nexport function camelCase(str: string) {\n\tconst words = str.split(' ');\n\tconst allLowerCase = words.map(w => w.toLowerCase());\n\treturn allLowerCase[0] + allLowerCase.slice(1).map(upperCaseFirst).join('');\n}\n\nexport function lowerCaseNoSpaces(str: string) {\n\treturn str.toLowerCase().replace(/ /g, '');\n}\n\nexport function noSpaces(str: string) {\n\treturn str.replace(/ /g, '');\n}\n\n/**\n * Formats a number of bytes as a string\n * Implementation taken from https://stackoverflow.com/a/18650828/8426638\n * @param bytes The byte amount to format\n * @param decimals The number of decimals allowed\n */\nexport function formatBytes(bytes: number, decimals = 2) {\n\tif (bytes === 0) return '0 Bytes';\n\n\tconst k = 1024;\n\tconst dm = decimals < 0 ? 0 : decimals;\n\tconst sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];\n\n\tconst i = Math.floor(Math.log(bytes) / Math.log(k));\n\n\t// eslint-disable-next-line prefer-template\n\treturn parseFloat((bytes / (k ** i)).toFixed(dm)) + ' ' + sizes[i];\n}\n\n// % protected region % [Add extra StringUtil functions here] on begin\nexport function formatAbn(abn?: string) {\n\tif (abn && abn.length >= 11) {\n\t\treturn `${abn.slice(0, 2)} ${abn.slice(2, 5)} ${abn.slice(5, 8)} ${abn.slice(8)}`;\n\t}\n\treturn abn;\n}\n\nexport function LocaleCompareAsc(a: string, b: string): number {\n\treturn a.localeCompare(b);\n}\nexport function LocaleCompareAttrAsc(attr: string): (a: any, b: any) => number {\n\treturn (a, b) => LocaleCompareAsc(a[attr], b[attr]);\n}\nexport function LocaleCompareObjectAsc(obj: { [key: string]: string }): (a: string, b: string) => number {\n\treturn (a, b) => LocaleCompareAsc(obj[a], obj[b]);\n}\n\nconst numberFormatWithSymbol = Intl.NumberFormat('en-US', {\n\tstyle: 'currency',\n\tcurrency: 'AUD',\n\tcurrencyDisplay: 'narrowSymbol',\n});\nconst numberFormatWithoutSymbol = Intl.NumberFormat('en-US', {\n\tstyle: 'decimal',\n\tminimumFractionDigits: 2,\n\tmaximumFractionDigits: 2,\n});\nconst totalNumberDecimalFormat = Intl.NumberFormat('en-US', {\n\tstyle: 'decimal',\n});\nexport function LocaleFormatCurrency(amount: number, includeSymbol: boolean = true): string {\n\treturn includeSymbol\n\t\t? numberFormatWithSymbol.format(amount)\n\t\t: numberFormatWithoutSymbol.format(amount);\n}\nexport function LocaleFormatNumberDecimal(amount: number): string {\n\treturn totalNumberDecimalFormat.format(amount);\n}\n\nexport function safeGqlSearch(search: string) {\n\treturn search.replace(/[\"\\\\]/g, '');\n}\n\n// function to validate the abn by calling validation function from backend.\n// we return the response from the server if successfull and return a formatted\n// exception object if there was an exception\nexport function verifyAbn(abn: string): Promise {\n\treturn axios.post(`${SERVER_URL}/api/registration/verifyAbn`, {\n\t\tsearchString: abn,\n\t}).then(data => {\n\t\treturn data.data.response;\n\t}).catch(exception => {\n\t\treturn { exception: { exceptionDescription: exception.response.data } };\n\t});\n}\n\n// function to validate the acn by calling validation function from backend.\n// we return the response from the server if successfull and return a formatted\n// exception object if there was an exception\nexport function verifyAcn(acn: string): Promise {\n\treturn axios.post(`${SERVER_URL}/api/registration/verifyAcn`, {\n\t\tsearchString: acn,\n\t}).then(data => {\n\t\treturn data.data;\n\t}).catch(exception => {\n\t\treturn { exception: { exceptionDescription: exception.response.data } };\n\t});\n}\n\n// eslint-disable-next-line max-len\nexport function validateLiquorLicenceNumber(licenceNumber: string, licenceState: string, customerId?: string) {\n\treturn axios.post(`${SERVER_URL}/api/liquor-licence-validation`, {\n\t\tlicenceNumber,\n\t\tstate: licenceState,\n\t\tcustomerId: customerId,\n\t}).then(data => {\n\t\treturn { data: data.data } as LiquorLicenceValidationResponse;\n\t}).catch(exception => {\n\t\treturn { exception: { exceptionDescription: exception.response.data } } as LiquorLicenceValidationResponse;\n\t});\n}\n\nexport function isTypeOfState(value: string): value is state {\n\treturn ['ACT', 'NSW', 'NT', 'QLD', 'SA', 'TAS', 'VIC', 'WA'].includes(value);\n}\n\nexport function pluralise(count: number, word: string, pluralPart: string = 's', includeCount: boolean = true): string {\n\tif (count === 1) {\n\t\treturn `${includeCount ? count : ''} ${word}`.trim();\n\t}\n\n\tconst removeTrailingCharCount = pluralPart.lastIndexOf('.') + 1;\n\n\tlet wordPlural = removeTrailingCharCount > 0\n\t\t? word.substring(0, word.length - removeTrailingCharCount)\n\t\t: word;\n\n\twordPlural += pluralPart.substring(removeTrailingCharCount);\n\n\treturn `${includeCount ? count : ''} ${wordPlural}`.trim();\n}\n\nexport function isNumeric(n: string) {\n\treturn !Number.isNaN(n) && !Number.isNaN(parseFloat(n));\n}\n\nexport const EmptyGuid: string = '00000000-0000-0000-0000-000000000000';\n\nexport function booleanToActive(bool?: boolean): string {\n\treturn bool === true ? 'Active' : 'Inactive';\n}\n\nexport function toTitleCase(value: string): string {\n\treturn value\n\t\t.toLowerCase()\n\t\t.split(' ')\n\t\t.map(word => \n\t\t\tword\n\t\t\t\t.split(\"'\")\n\t\t\t\t.map(part => part.charAt(0).toUpperCase() + part.slice(1))\n\t\t\t\t.join(\"'\")\n\t\t)\n\t\t.join(' ');\n}\n\n\n// % protected region % [Add extra StringUtil functions here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport { ToastOptions, toast, TypeOptions } from 'react-toastify';\nimport classNames from 'classnames';\nimport 'react-toastify/dist/ReactToastify.css';\n// % protected region % [Add extra imports here] off begin\n// % protected region % [Add extra imports here] end\n\n// % protected region % [Override alertToast here] off begin\n/**\n * Show alert as a toast\n * @param errorMsg the text to be printed on the alert toast\n * @param type The type of the toast\n * @param options additional options such as 'autoClose' | 'position'\n */\nexport default function alertToast(errorMsg: React.ReactNode, type: TypeOptions = 'info', options: ToastOptions = {}) {\n\ttoast(

{errorMsg}

, {\n\t\tclassName: classNames('alert', `alert__${type}`),\n\t\ttype,\n\t\t...options,\n\t});\n}\n// % protected region % [Override alertToast here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { Symbols } from 'Symbols';\nimport { initValidators, IModelAttributeValidationError, ErrorType } from '../Util';\nimport { Model } from 'Models/Model';\n// % protected region % [Add extra imports and exports here] on begin\n// Validation function for determining if the input is a phone number\nexport function isPhone(phone: string): boolean {\n\tif (phone) {\n\t\t// eslint-disable-next-line max-len\n\t\treturn /^(\\d{8}|\\d{10}|\\+{0,1}\\d{2}\\s*\\d{3}\\s*\\d{3}\\s*\\d{3}|\\+{0,1}\\d{2}\\s*\\d{4}\\s*\\d{4}|\\d{4}\\s*\\d{3}\\s*\\d{3}|\\d{4}\\s*\\d{4})$/.test(phone);\n\t}\n\treturn true;\n}\n// % protected region % [Add extra imports and exports here] end\n\n// % protected region % [Override validate here] off begin\nexport default function validate(\n\tvalidatorName: string,\n\tvalidatorFunction: (property: any, target: any) => Promise,\n) {\n\treturn (target: Record, key: string) => {\n\t\tinitValidators(target, key);\n\t\ttarget[Symbols.validatorMap][key].push(validatorName);\n\t\ttarget[Symbols.validator].push(\n\t\t\t(model: Model): Promise => new Promise(resolve => {\n\t\t\t\tvalidatorFunction(model[key], model).then(error => {\n\t\t\t\t\tif (error === null) {\n\t\t\t\t\t\tresolve(null);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tresolve({\n\t\t\t\t\t\terrorType: ErrorType.INVALID,\n\t\t\t\t\t\terrorMessage: error,\n\t\t\t\t\t\tattributeName: key,\n\t\t\t\t\t\ttarget: model,\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}),\n\t\t);\n\t};\n}\n// % protected region % [Override validate here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { Symbols } from 'Symbols';\nimport { initValidators, IModelAttributeValidationError, ErrorType } from '../Util';\nimport { Model } from 'Models/Model';\n// % protected region % [Add extra imports and exports here] off begin\n// % protected region % [Add extra imports and exports here] end\n\n// % protected region % [Override validate here] off begin\nexport default function validate() {\n\treturn (target: Record, key: string) => {\n\t\tinitValidators(target, key);\n\t\ttarget[Symbols.validatorMap][key].push('Email');\n\t\ttarget[Symbols.validator].push(\n\t\t\t(model: Model): Promise => new Promise(resolve => {\n\t\t\t\tif (model[key] === null || model[key] === undefined) {\n\t\t\t\t\tresolve(null);\n\t\t\t\t} else {\n\t\t\t\t\tresolve(isEmail(model[key])\n\t\t\t\t\t\t? null\n\t\t\t\t\t\t: {\n\t\t\t\t\t\t\terrorType: ErrorType.INVALID,\n\t\t\t\t\t\t\terrorMessage: 'The value is not a valid email',\n\t\t\t\t\t\t\tattributeName: key,\n\t\t\t\t\t\t\ttarget: model,\n\t\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}),\n\t\t);\n\t};\n}\n// % protected region % [Override validate here] end\n\n// % protected region % [Override isEmail here] off begin\nexport function isEmail(email: string): boolean {\n\t// eslint-disable-next-line max-len\n\treturn /^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?/\n\t\t.test(email);\n}\n// % protected region % [Override isEmail here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { Symbols } from 'Symbols';\nimport { Model } from 'Models/Model';\n\nexport type IModelValidator = (model: Model) => Promise;\n\nexport function initValidators(target: Record, key: string) {\n\tif (!target[Symbols.validator]) {\n\t\ttarget[Symbols.validator] = Array();\n\t}\n\tif (!target[Symbols.validatorMap]) {\n\t\ttarget[Symbols.validatorMap] = {};\n\t}\n\tif (!target[Symbols.validatorMap][key]) {\n\t\ttarget[Symbols.validatorMap][key] = [];\n\t}\n\tif (!target[Symbols.validatorValueMap]) {\n\t\ttarget[Symbols.validatorValueMap] = [];\n\t}\n\tif (!target[Symbols.validatorValueMap][key]) {\n\t\ttarget[Symbols.validatorValueMap][key] = [];\n\t}\n}\n\nexport interface IModelAttributeValidationError {\n\terrorType: ErrorType;\n\tattributeName: string;\n\terrorMessage: string;\n\ttarget: Model;\n}\n\nexport enum ErrorType {\n\tREQUIRED = 'required',\n\tEXISTS = 'exists',\n\tNOT_EXIST = 'notExist',\n\tLENGTH = 'length',\n\tINVALID = 'invalid',\n\tRANGE = 'range',\n\tUNKNOW = 'unknow'\n}\n\nexport enum PropertyType {\n\tOWN = 'own',\n\tREFERENCE = 'reference',\n\tCHILDREN = 'children',\n}\n\nexport type IFormFieldValidationError = {\n\t[key in ErrorType]?: string[];\n}\n\nexport interface IAttributeValidationErrorInfo{\n\ttype: PropertyType;\n\ttarget?: Model;\n\terrors: IFormFieldValidationError | IEntityValidationErrors | Array;\n}\n\nexport interface IEntityValidationErrors {\n\t[prop: string]: IAttributeValidationErrorInfo;\n}\n\n// todo: not finished\nexport function getFieldErrorMessages(fieldName: string, fieldErrors: IEntityValidationErrors) {\n\tif (fieldErrors[fieldName]) {\n\t\treturn Object.keys(fieldErrors[fieldName]).map(errorType => {\n\t\t\treturn fieldErrors[fieldName][errorType];\n\t\t});\n\t}\n\n\treturn undefined;\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { Symbols } from 'Symbols';\nimport { initValidators, IModelAttributeValidationError, ErrorType } from '../Util';\nimport { Model } from 'Models/Model';\n// % protected region % [Add extra imports and exports here] off begin\n// % protected region % [Add extra imports and exports here] end\n\n// % protected region % [Override validate here] off begin\nexport default function validate() {\n\treturn (target: Record, key: string) => {\n\t\tinitValidators(target, key);\n\t\ttarget[Symbols.validatorMap][key].push('Integer');\n\t\ttarget[Symbols.validator].push(\n\t\t\t(model: Model): Promise => new Promise(resolve => {\n\t\t\t\tif (model[key] === null || model[key] === undefined) {\n\t\t\t\t\tresolve(null);\n\t\t\t\t} else if (!(typeof (model[key]) === 'string'\n\t\t\t\t\t&& (model[key] as string).indexOf('.') >= 0)\n\t\t\t\t\t&& !Number.isNaN(model[key])\n\t\t\t\t) {\n\t\t\t\t\tconst number = Number(model[key]);\n\t\t\t\t\tif (Number.isInteger(number)) {\n\t\t\t\t\t\tresolve(null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tconst errorMessage = 'This field must be an integer';\n\t\t\t\tresolve({\n\t\t\t\t\terrorType: ErrorType.INVALID,\n\t\t\t\t\terrorMessage,\n\t\t\t\t\tattributeName: key,\n\t\t\t\t\ttarget: model,\n\t\t\t\t});\n\t\t\t}),\n\t\t);\n\t};\n}\n// % protected region % [Override validate here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { Model } from 'Models/Model';\nimport { Symbols } from 'Symbols';\nimport { ErrorType, IModelAttributeValidationError, initValidators } from '../Util';\n// % protected region % [Add extra imports and exports here] off begin\n// % protected region % [Add extra imports and exports here] end\n\n// % protected region % [Override validate here] off begin\nexport default function validate(min?: number, max?: number) {\n\treturn (target: Record, key: string) => {\n\t\tinitValidators(target, key);\n\t\ttarget[Symbols.validatorMap][key].push('Length');\n\t\ttarget[Symbols.validatorValueMap][key].Length = {\n\t\t\tmin: min,\n\t\t\tmax: max,\n\t\t};\n\t\ttarget[Symbols.validator].push(\n\t\t\t(model: Model): Promise => new Promise(resolve => {\n\t\t\t\tif (model[key] === null || model[key] === undefined || (!min && !max)) {\n\t\t\t\t\tresolve(null);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tlet isValid = true;\n\t\t\t\tif (min && (model[key].length < min)) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t}\n\t\t\t\tif (max && model[key].length > max) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t}\n\t\t\t\tif (isValid) {\n\t\t\t\t\tresolve(null);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tlet errorMessage;\n\t\t\t\tif (min && max) {\n\t\t\t\t\terrorMessage = `The length of this field is not between ${min} and ${max}. `\n\t\t\t\t\t\t+ `Actual Length: ${model[key].length}`;\n\t\t\t\t} else if (min) {\n\t\t\t\t\terrorMessage = `The length of this field is not greater than ${min}. `\n\t\t\t\t\t\t+ `Actual Length: ${model[key].length}`;\n\t\t\t\t} else {\n\t\t\t\t\terrorMessage = `The length of this field is not less than ${max}. `\n\t\t\t\t\t\t+ `Actual Length: ${model[key].length}`;\n\t\t\t\t}\n\n\t\t\t\tresolve({\n\t\t\t\t\terrorType: ErrorType.LENGTH,\n\t\t\t\t\terrorMessage,\n\t\t\t\t\tattributeName: key,\n\t\t\t\t\ttarget: model,\n\t\t\t\t});\n\t\t\t}),\n\t\t);\n\t};\n}\n// % protected region % [Override validate here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { Symbols } from 'Symbols';\nimport { initValidators, IModelAttributeValidationError, ErrorType } from '../Util';\nimport { Model } from 'Models/Model';\n// % protected region % [Add extra imports and exports here] off begin\n// % protected region % [Add extra imports and exports here] end\n\n// % protected region % [Override validate here] off begin\nexport default function validate() {\n\treturn (target: Record, key: string) => {\n\t\tinitValidators(target, key);\n\t\ttarget[Symbols.validatorMap][key].push('Numeric');\n\t\ttarget[Symbols.validator].push(\n\t\t\t(model: Model): Promise => new Promise(resolve => {\n\t\t\t\tif (model[key] === null || model[key] === undefined || !Number.isNaN(Number(model[key]))) {\n\t\t\t\t\tresolve(null);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst errorMessage = 'This field must be a number';\n\t\t\t\tresolve({\n\t\t\t\t\terrorType: ErrorType.INVALID,\n\t\t\t\t\terrorMessage,\n\t\t\t\t\tattributeName: key,\n\t\t\t\t\ttarget: model,\n\t\t\t\t});\n\t\t\t}),\n\t\t);\n\t};\n}\n// % protected region % [Override validate here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { Symbols } from 'Symbols';\nimport { initValidators, IModelAttributeValidationError, ErrorType } from '../Util';\nimport { Model } from 'Models/Model';\n// % protected region % [Add extra imports and exports here] off begin\n// % protected region % [Add extra imports and exports here] end\n\n// % protected region % [Override validate here] off begin\nexport default function validate() {\n\treturn (target: Record, key: string) => {\n\t\tinitValidators(target, key);\n\t\ttarget[Symbols.validatorMap][key].push('Required');\n\t\ttarget[Symbols.validator].push(\n\t\t\t(model: Model): Promise => new Promise(resolve => {\n\t\t\t\tif ((model[key] || model[key] === 0 || model[key] === false)\n\t\t\t\t\t&& !((typeof model[key] === 'string') && model[key].trim() === '')\n\t\t\t\t) {\n\t\t\t\t\tresolve(null);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst errorMessage = 'This field is required';\n\t\t\t\tresolve({\n\t\t\t\t\terrorType: ErrorType.REQUIRED,\n\t\t\t\t\terrorMessage,\n\t\t\t\t\tattributeName: key,\n\t\t\t\t\ttarget: model,\n\t\t\t\t});\n\t\t\t}),\n\t\t);\n\t};\n}\n// % protected region % [Override validate here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport { Symbols, modelName as modelNameSymbol } from 'Symbols';\nimport { initValidators, IModelAttributeValidationError, ErrorType } from '../Util';\nimport { Model } from 'Models/Model';\nimport { getFetchAllQuery } from 'Util/EntityUtils';\nimport { store } from 'Models/Store';\nimport { lowerCaseFirst } from 'Util/StringUtils';\n// % protected region % [Add extra imports and exports here] off begin\n// % protected region % [Add extra imports and exports here] end\n\n// % protected region % [Override validate here] off begin\nexport default function validate() {\n\treturn (target: Record, key: string) => {\n\t\tinitValidators(target, key);\n\t\ttarget[Symbols.validatorMap][key].push('Unique');\n\t\ttarget[Symbols.validator].push(\n\t\t\t(model: Model): Promise => new Promise(resolve => {\n\t\t\t\tif (model[key] === null || model[key] === undefined) {\n\t\t\t\t\tresolve(null);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst modelName = lowerCaseFirst(target.constructor[modelNameSymbol]);\n\t\t\t\tconst query = getFetchAllQuery(target.constructor as { new(): Model });\n\t\t\t\tconst variables = { args: [{ path: key, comparison: 'equal', value: model[key] }] };\n\t\t\t\tstore.apolloClient.query({ query: query, fetchPolicy: 'network-only', variables: variables }).then(\n\t\t\t\t\t({ data }) => {\n\t\t\t\t\t\tif (!!data[`${modelName}s`]\n\t\t\t\t\t\t\t&& !!data[`${modelName}s`][0]\n\t\t\t\t\t\t\t&& !!data[`${modelName}s`][0].id\n\t\t\t\t\t\t\t&& model.id !== data[`${modelName}s`][0].id\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tconst errorMessage = 'This value entered has already been used';\n\t\t\t\t\t\t\tresolve({\n\t\t\t\t\t\t\t\terrorType: ErrorType.EXISTS,\n\t\t\t\t\t\t\t\terrorMessage,\n\t\t\t\t\t\t\t\tattributeName: key,\n\t\t\t\t\t\t\t\ttarget: model,\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tresolve(null);\n\t\t\t\t\t},\n\t\t\t\t\t() => {\n\t\t\t\t\t\t// if error happens to asynchronous validation, just consider this as valid for now\n\t\t\t\t\t\tresolve(null);\n\t\t\t\t\t},\n\t\t\t\t);\n\t\t\t}),\n\t\t);\n\t};\n}\n// % protected region % [Override validate here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport { observer } from 'mobx-react';\nimport classNames from 'classnames';\nimport { IIconProps } from '../Helpers/Common';\n// % protected region % [Add extra imports here] off begin\n// % protected region % [Add extra imports here] end\n\nexport enum Display {\n\tSolid = 'btn--solid',\n\tOutline = 'btn--outline',\n\tText = 'btn--text',\n\tNone = '',\n\t// % protected region % [Add extra Display literals here] on begin\n\tOutlineDashed = 'btn--outline-dashed',\n\t// % protected region % [Add extra Display literals here] end\n}\n\nexport enum Colors {\n\tPrimary = 'btn--primary',\n\tSecondary = 'btn--secondary',\n\tWarning = 'btn--warning',\n\tError = 'btn--error',\n\tSuccess = 'btn--success',\n\tNone = '',\n\t// % protected region % [Add extra Color literals here] on begin\n\tAlternate = 'btn--alternate',\n\t// % protected region % [Add extra Color literals here] end\n}\n\nexport enum Sizes {\n\tExtraSmall = 'btn--xsm',\n\tSmall = 'btn--sm',\n\tMedium = 'btn--md',\n\tLarge = 'btn--lg',\n\tExtraLarge = 'btn--xlg',\n\tNone = '',\n\t// % protected region % [Add extra Sizes literals here] off begin\n\t// % protected region % [Add extra Sizes literals here] end\n}\n\nexport enum Widths {\n\tauto = 'btn--auto-width',\n\tfullWidth = 'btn--full-width',\n\t// % protected region % [Add extra widths literals here] off begin\n\t// % protected region % [Add extra widths literals here] end\n}\n\nexport enum QuickTypes {\n\tPrimary = 'btn--primary',\n\tSecondary = 'btn--secondary',\n\tNone = '',\n\t// % protected region % [Add extra QuickTypes literals here] off begin\n\t// % protected region % [Add extra QuickTypes literals here] end\n}\n\nexport interface ICbButtonProps {\n\ttype?: 'submit' | 'reset' | 'button';\n\tdisplay?: Display;\n\tcolors?: Colors;\n\tsizes?: Sizes;\n\twidths?: Widths;\n\tquickTypes?: QuickTypes;\n\tbuttonProps?: React.ButtonHTMLAttributes;\n\tchildren: React.ReactNode;\n\tclassName?: string;\n\tdisabled?: boolean;\n\tonClick?: ((event: React.MouseEvent) => void);\n\ticon?: IIconProps;\n\tlabelVisible?: false;\n\t// % protected region % [Add extra ICbButtonProps fields here] off begin\n\t// % protected region % [Add extra ICbButtonProps fields here] end\n}\n\n@observer\nexport class Button extends React.Component {\n\tstatic defaultProps: Partial = {\n\t\tcolors: Colors.Primary,\n\t\t// % protected region % [Add extra default props here] off begin\n\t\t// % protected region % [Add extra default props here] end\n\t}\n\n\t// % protected region % [Add extra methods and fields here] off begin\n\t// % protected region % [Add extra methods and fields here] end\n\n\tpublic render() {\n\t\t// % protected region % [Override render here] off begin\n\t\tconst {\n\t\t\tlabelVisible: labelVisibleProp,\n\t\t\ttype,\n\t\t\tquickTypes: quickTypesProp,\n\t\t\twidths: widthsProp,\n\t\t\tsizes: sizesProp,\n\t\t\tchildren,\n\t\t\tonClick: onClickProp,\n\t\t\ticon: iconProp,\n\t\t\tdisplay: displayProp,\n\t\t\tcolors: colorsProp,\n\t\t\tclassName: classNameProp,\n\t\t\tbuttonProps,\n\t\t} = this.props;\n\t\tconst icon = iconProp ? `btn--icon icon-${iconProp.icon} ${iconProp.iconPos}` : '';\n\t\tconst quickTypes = quickTypesProp ?? '';\n\t\tconst display = displayProp ?? '';\n\t\tconst colors = colorsProp ?? '';\n\t\tconst sizes = sizesProp ?? '';\n\t\tconst widths = widthsProp ?? '';\n\t\tconst className = classNameProp ?? '';\n\t\tconst { disabled } = this.props;\n\n\t\tconst clazz = ['btn', icon, quickTypes, display, colors, sizes, widths, className];\n\n\t\tconst onClick = onClickProp ?? buttonProps?.onClick;\n\n\t\tconst labelVisible = (labelVisibleProp === undefined) ? true : labelVisibleProp;\n\t\tconst label = typeof children === 'string' ? children : undefined;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{labelVisible ? children : null}\n\t\t\t\n\t\t);\n\t\t// % protected region % [Override render here] end\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport { observer } from 'mobx-react';\nimport classNames from 'classnames';\n\nexport enum Alignment {\n\tVERTICAL = 'btn-group--vertical',\n\tHORIZONTAL = 'btn-group--horizontal',\n}\n\nexport enum Sizing {\n\tGROW = 'btn-group--grow-elements',\n\tSTATIC = 'btn-group--static-elements',\n}\n\nexport interface IButtonGroupProps {\n\tclassName?: string;\n\talignment?: Alignment;\n\tsizing?: Sizing;\n\tinnerProps?: React.DetailedHTMLProps, HTMLElement>;\n\tchildren: React.ReactNode;\n}\n\n@observer\nexport class ButtonGroup extends React.Component {\n\tpublic render() {\n\t\tconst {\n\t\t\talignment,\n\t\t\tchildren,\n\t\t\tclassName,\n\t\t\tinnerProps,\n\t\t\tsizing,\n\t\t} = this.props;\n\t\tconst sectionProps = innerProps ?? {};\n\n\t\tconst classes = classNames(\n\t\t\t'btn-group',\n\t\t\tsectionProps.className,\n\t\t\talignment,\n\t\t\tsizing,\n\t\t\tclassName,\n\t\t);\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t{children}\n\t\t\t
\n\t\t);\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport Axios from 'axios';\nimport FileUpload from 'Views/Components/FileUpload/FileUpload';\nimport { Model } from 'Models/Model';\nimport { IAttributeProps } from 'Views/Components/CRUD/Attributes/IAttributeProps';\nimport { action, observable } from 'mobx';\nimport { observer } from 'mobx-react';\nimport { SERVER_URL } from 'Constants';\nimport { EntityFormMode } from 'Views/Components/Helpers/Common';\nimport { FileUploadPreview, UploadPreview } from 'Views/Components/FileUpload/UploadPreview';\n// % protected region % [Add any extra imports here] off begin\n// % protected region % [Add any extra imports here] end\n\nexport interface AttributeFileProps extends IAttributeProps {\n\tfileAttribute: string;\n\timageOnly?: boolean;\n\tmaxFileSize?: number;\n\t// % protected region % [Add any extra AttributeFileProps fields here] off begin\n\t// % protected region % [Add any extra AttributeFileProps fields here] end\n}\n\ninterface FileMetadata {\n\tid: string;\n\tcreated: string;\n\tmodified: string;\n\tfileName: string;\n\tcontentType: string;\n\tlength: number;\n\t// % protected region % [Add any extra FileMetadata fields here] off begin\n\t// % protected region % [Add any extra FileMetadata fields here] end\n}\n\n@observer\nexport default class AttributeFile extends React.Component> {\n\tprotected readonly initialFileId?: string;\n\n\t@observable\n\tprotected fileMetadata?: FileMetadata;\n\n\t// % protected region % [Add any extra AttributeFile fields here] off begin\n\t// % protected region % [Add any extra AttributeFile fields here] end\n\n\t// % protected region % [Customise onFetchSucceeded here] off begin\n\t@action\n\tprotected onFetchSucceeded = (metadata: FileMetadata) => {\n\t\tthis.fileMetadata = metadata;\n\t};\n\t// % protected region % [Customise onFetchSucceeded here] end\n\n\t// % protected region % [Customise onAfterDelete here] off begin\n\t@action\n\tprotected onAfterDelete = () => {\n\t\tthis.props.model[this.props.options.attributeName] = undefined;\n\t};\n\t// % protected region % [Customise onAfterDelete here] end\n\n\t// % protected region % [Customise constructor here] off begin\n\tconstructor(props: AttributeFileProps) {\n\t\tsuper(props);\n\n\t\tconst { model, options } = this.props;\n\n\t\tif (model[options.attributeName]) {\n\t\t\tthis.initialFileId = model[options.attributeName];\n\t\t}\n\t}\n\t// % protected region % [Customise constructor here] end\n\n\t// % protected region % [Customise loadFile here] off begin\n\tprotected loadFile = () => {\n\t\tconst fileId = this.props.model[this.props.options.attributeName];\n\t\tif (fileId) {\n\t\t\tAxios.get(`${SERVER_URL}/api/files/metadata/${fileId}`)\n\t\t\t\t.then(x => x.data)\n\t\t\t\t.then(metadata => this.onFetchSucceeded(metadata));\n\t\t}\n\t};\n\t// % protected region % [Customise loadFile here] end\n\n\t// % protected region % [Customise componentDidMount here] off begin\n\tpublic componentDidMount() {\n\t\tconst { formMode } = this.props;\n\n\t\t// For view or edit mode load the initial file from the server\n\t\tif (formMode === EntityFormMode.VIEW || formMode === EntityFormMode.EDIT) {\n\t\t\tthis.loadFile();\n\t\t}\n\t}\n\t// % protected region % [Customise componentDidMount here] end\n\n\t// % protected region % [Customise render here] off begin\n\tpublic render() {\n\t\tconst {\n\t\t\tfileAttribute,\n\t\t\tisReadonly,\n\t\t\timageOnly,\n\t\t\tmodel,\n\t\t\tisRequired,\n\t\t\tonAfterChange,\n\t\t\tclassName,\n\t\t\terrors,\n\t\t\toptions,\n\t\t\tmaxFileSize,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t {\n\t\t\t\t\tif (!file && model[options.attributeName]) {\n\t\t\t\t\t\tlet url = `${SERVER_URL}/api/files/${this.initialFileId}`;\n\t\t\t\t\t\tif (!imageOnly) {\n\t\t\t\t\t\t\turl += '?download=true';\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn (\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\tif (file) {\n\t\t\t\t\t\treturn (\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\treturn null;\n\t\t\t\t}}\n\t\t\t\tmodel={model}\n\t\t\t\tmodelProperty={fileAttribute}\n\t\t\t\timageUpload={imageOnly}\n\t\t\t\tlabel={options.displayName}\n\t\t\t\terrors={errors}\n\t\t\t\tclassName={className}\n\t\t\t\tisReadOnly={isReadonly}\n\t\t\t\tisRequired={isRequired}\n\t\t\t\tonAfterChange={onAfterChange}\n\t\t\t\tonAfterDelete={this.onAfterDelete}\n\t\t\t\tmaxFileSize={maxFileSize}\n\t\t\t/>\n\t\t);\n\t}\n\t// % protected region % [Customise render here] end\n}\n\n@observer\nexport class FileListPreview extends React.Component<{ url: string }> {\n\t@observable\n\tprivate fileName?: string = undefined;\n\n\t// % protected region % [Customise FileListPreview setFileName here] off begin\n\t@action\n\tprivate setFileName = (metadata: FileMetadata) => {\n\t\tthis.fileName = metadata.fileName;\n\t};\n\t// % protected region % [Customise FileListPreview setFileName here] end\n\n\t// % protected region % [Customise FileListPreview componentDidMount here] off begin\n\tpublic componentDidMount() {\n\t\tconst { url } = this.props;\n\n\t\tAxios.get(`${SERVER_URL}/api/files/metadata/${url}`)\n\t\t\t.then(x => x.data)\n\t\t\t.then(this.setFileName);\n\t}\n\t// % protected region % [Customise FileListPreview componentDidMount here] end\n\n\t// % protected region % [Customise FileListPreview render here] off begin\n\tpublic render() {\n\t\tconst { url } = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{this.fileName ?? 'Download'}\n\t\t\t\n\t\t);\n\t}\n\t// % protected region % [Customise FileListPreview render here] end\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport { observer } from 'mobx-react';\nimport { action } from 'mobx';\nimport * as uuid from 'uuid';\nimport InputWrapper, { InputType, LabelPositions } from '../Inputs/InputWrapper';\nimport { DisplayType } from '../Models/Enums';\nimport InputsHelper from '../Helpers/InputsHelper';\n\nexport interface ICbCheckboxProps {\n\tmodel: T;\n\tmodelProperty: string;\n\tid?: string;\n\tname?: string;\n\tclassName?: string;\n\tdisplayType?: DisplayType;\n\tlabel?: React.ReactNode;\n\tlabelVisible?: boolean;\n\tisRequired?: boolean;\n\tisDisabled?: boolean;\n\tisReadOnly?: boolean;\n\ttooltip?: string;\n\tsubDescription?: string;\n\tonChecked?: ((event: React.ChangeEvent, checked: boolean) => void);\n\tonAfterChecked?: ((event: React.ChangeEvent, checked: boolean) => void);\n\tinputProps?: React.DetailedHTMLProps, HTMLInputElement>;\n\terrors?: string | string[];\n}\n\n@observer\nexport class Checkbox extends React.Component> {\n\tpublic static defaultProps = {};\n\n\tprivate uuid = uuid.v4();\n\n\t@action\n\tpublic onChecked = (event: React.ChangeEvent) => {\n\t\tif (this.props.onChecked) {\n\t\t\treturn this.props.onChecked(event, event.target.checked);\n\t\t}\n\n\t\tthis.props.model[this.props.modelProperty] = event.target.checked;\n\n\t\treturn this.props.onAfterChecked?.(event, event.target.checked);\n\t}\n\n\tpublic render() {\n\t\tconst {\n\t\t\tmodel,\n\t\t\tmodelProperty,\n\t\t\tname,\n\t\t\tclassName,\n\t\t\tdisplayType,\n\t\t\tid: idProp,\n\t\t\tinputProps,\n\t\t\tlabel,\n\t\t\tlabelVisible: labelVisibleProp,\n\t\t\tisRequired,\n\t\t\tisDisabled,\n\t\t\tisReadOnly,\n\t\t\ttooltip,\n\t\t\tsubDescription,\n\t\t\terrors,\n\t\t} = this.props;\n\n\t\tconst id = idProp ?? this.uuid.toString();\n\t\tconst fieldId = `${id}-field`;\n\n\t\tconst labelVisible = (labelVisibleProp === undefined) ? true : labelVisibleProp;\n\t\tconst ariaLabel = InputsHelper.getAriaLabel(label, labelVisible);\n\n\t\tconst ariaDescribedby = InputsHelper.getAriaDescribedBy(id, tooltip, subDescription);\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport { ChangeEventHandler } from 'react';\nimport * as uuid from 'uuid';\nimport classNames from 'classnames';\nimport InputWrapper from '../Inputs/InputWrapper';\nimport InputsHelper from '../Helpers/InputsHelper';\nimport { DisplayType } from '../Models/Enums';\nimport { action, computed, observable } from 'mobx';\nimport { observer } from 'mobx-react';\nimport { Button, Display } from 'Views/Components/Button/Button';\nimport { FileUploadPreview } from 'Views/Components/FileUpload/UploadPreview';\nimport If from 'Views/Components/If/If';\nimport { formatBytes } from 'Util/StringUtils';\n// % protected region % [Add any extra imports here] on begin\nimport { Colors } from 'Views/Components/Button/Button';\n// % protected region % [Add any extra imports here] end\n\nexport interface FileUploadProps {\n\t// % protected region % [Override props here] off begin\n\t/**\n\t * The model to load the result data into.\n\t */\n\tmodel: T;\n\t/**\n\t * The property to load the file into. The datatype of this field is the Javascript File type.\n\t */\n\tmodelProperty: string;\n\t/**\n\t * Should a file preview be shown or a function to override the preview. If this is not set then the preview will\n\t * not be displayed\n\t */\n\tpreview?: boolean | ((file?: File, onDelete?: () => void) => React.ReactNode);\n\t/**\n\t * The content types to accept. This takes the format of the accept tag in a HTML input.\n\t *\n\t * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept\n\t */\n\tcontentType?: string;\n\t/**\n\t * Allow only images? This will restrict the content type to images only (this can be overwritten by the contentType\n\t * prop). This will also enable an image preview window to see the image to be uploaded before submitting.\n\t */\n\timageUpload?: boolean;\n\t/**\n\t * Id for the component.\n\t */\n\tid?: string;\n\t/**\n\t * The name of the input.\n\t */\n\tname?: string;\n\t/**\n\t * The class name of the component.\n\t */\n\tclassName?: string;\n\t/**\n\t * The display mode for the input.\n\t */\n\tdisplayType?: DisplayType;\n\t/**\n\t * The label for the input.\n\t */\n\tlabel?: React.ReactNode;\n\t/**\n\t * Should the label be visible. If this is set the false the label will still exist in the aria-label attribute.\n\t */\n\tlabelVisible?: boolean;\n\t/**\n\t * Is this field required.\n\t */\n\tisRequired?: boolean;\n\t/**\n\t * Is this field disabled.\n\t */\n\tisDisabled?: boolean;\n\t/**\n\t * Is this a readonly field. This will disable the field and remove all inputs.\n\t */\n\tisReadOnly?: boolean;\n\t/**\n\t * Is this a static input.\n\t */\n\tstaticInput?: boolean;\n\t/**\n\t * The a tooltip for this input.\n\t */\n\ttooltip?: string;\n\t/**\n\t * A description for this input.\n\t */\n\tsubDescription?: string;\n\t/**\n\t * Props to directly pass to the HTML input element.\n\t */\n\tinputProps?: React.InputHTMLAttributes;\n\t/**\n\t * Errors to display for this component.\n\t */\n\terrors?: string | string[];\n\t/**\n\t * An override for the onchange function.\n\t * @param file The file the user selected\n\t */\n\tonChange?: (file: File) => boolean;\n\t/**\n\t * Callback after onChange has been completed. This is not called if onChange was overwritten.\n\t * @param file The file the user selected\n\t */\n\tonAfterChange?: (file: File) => void;\n\t/**\n\t * Override for when the delete file button is pressed.\n\t */\n\tonDelete?: () => void;\n\t/**\n\t * Callback after a file has been cleared. This is not called if onDelete was overwritten.\n\t */\n\tonAfterDelete?: () => void;\n\t/**\n\t * Should the drop area for files be disabled. If this component is in read only mode then the area will also be\n\t * disabled.\n\t */\n\tdisableDropArea?: boolean;\n\t/**\n\t * Override to be used for the choose file button text.\n\t */\n\tbuttonText?: string;\n\t/**\n\t * Maximum allowed file size in bytes.\n\t */\n\tmaxFileSize?: number;\n\t// % protected region % [Override props here] end\n\n\t// % protected region % [Add any extra props here] on begin\n\tdisableDelete?: boolean;\n\t// % protected region % [Add any extra props here] end\n}\n\n/**\n * This component provides an interface to load a file from the users device.\n */\n@observer\nclass FileUpload extends React.Component> {\n\t// % protected region % [Override class fields here] off begin\n\tprotected uuid = uuid.v4();\n\tprotected inputRef: HTMLInputElement | null = null;\n\n\t@observable\n\tpublic isBeingHovered = false;\n\n\t@observable\n\tprotected internalErrors: string[] = [];\n\t// % protected region % [Override class fields here] end\n\n\t// % protected region % [Add any extra class fields here] off begin\n\t// % protected region % [Add any extra class fields here] end\n\n\t// % protected region % [Override file here] off begin\n\t@computed\n\tpublic get file() {\n\t\tconst { model, modelProperty } = this.props;\n\t\treturn model[modelProperty] as File;\n\t}\n\t// % protected region % [Override file here] end\n\n\t// % protected region % [Override disableDelete here] on begin\n\t@computed\n\tpublic get disableDelete() {\n\t\tconst {\n\t\t\tisRequired, isDisabled, isReadOnly, disableDelete,\n\t\t} = this.props;\n\t\treturn isRequired || isDisabled || isReadOnly || disableDelete;\n\t}\n\t// % protected region % [Override disableDelete here] end\n\n\t// % protected region % [Override acceptType here] off begin\n\t@computed\n\tprotected get acceptType() {\n\t\tconst { contentType, imageUpload } = this.props;\n\t\treturn contentType ?? (imageUpload ? 'image/*' : undefined);\n\t}\n\t// % protected region % [Override acceptType here] end\n\n\t// % protected region % [Override errors here] off begin\n\t@computed\n\tprotected get errors() {\n\t\tconst { errors } = this.props;\n\n\t\tif (typeof errors === 'string') {\n\t\t\treturn [...this.internalErrors, errors];\n\t\t}\n\n\t\tif (Array.isArray(errors)) {\n\t\t\treturn [...this.internalErrors, ...errors];\n\t\t}\n\n\t\treturn this.internalErrors;\n\t}\n\t// % protected region % [Override errors here] end\n\n\t// % protected region % [Override setFile here] off begin\n\t@action\n\tpublic setFile = (file: File) => {\n\t\tconst {\n\t\t\tmodelProperty,\n\t\t\tmaxFileSize,\n\t\t\tonAfterChange,\n\t\t\tonChange,\n\t\t\tmodel,\n\t\t} = this.props;\n\n\t\tif (onChange) {\n\t\t\treturn onChange(file);\n\t\t}\n\n\t\tthis.internalErrors = [];\n\t\tif (!this.validateContentType(file)) {\n\t\t\tconst message = `Content type ${file.type} is not valid for ${this.acceptType}`;\n\t\t\tthis.internalErrors.push(message);\n\t\t}\n\n\t\tif (maxFileSize !== undefined && file.size > maxFileSize) {\n\t\t\tconst message = `Maximum allowed file size is ${formatBytes(maxFileSize)}`;\n\t\t\tthis.internalErrors.push(message);\n\t\t}\n\n\t\tif (this.internalErrors.length > 0) {\n\t\t\treturn false;\n\t\t}\n\n\t\t(model[modelProperty] as File) = file;\n\t\tonAfterChange?.(file);\n\n\t\treturn true;\n\t};\n\t// % protected region % [Override setFile here] end\n\n\t// % protected region % [Override clearFile here] off begin\n\t@action\n\tpublic clearFile = () => {\n\t\tthis.internalErrors = [];\n\t\tif (this.props.onDelete) {\n\t\t\treturn this.props.onDelete();\n\t\t}\n\t\tif (this.inputRef) {\n\t\t\tthis.inputRef.value = '';\n\t\t}\n\n\t\tthis.props.model[this.props.modelProperty] = undefined;\n\t\tthis.props.onAfterDelete?.();\n\t};\n\t// % protected region % [Override clearFile here] end\n\n\t// % protected region % [Override validateContentType here] off begin\n\tpublic validateContentType = (file: File) => {\n\t\tconst types = this.acceptType?.split(',').map(x => x.trim());\n\n\t\t// If this is null then there is no validation\n\t\tif (!types) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Iterate over each allowed type and validate it against the file\n\t\tfor (const type of types) {\n\t\t\t// Check file content types\n\t\t\tif (file.type === type) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\t// File extension match\n\t\t\tif (type.startsWith('.') && file.name.endsWith(type)) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\t// Check special content types\n\t\t\tif (type === 'audio/*' || type === 'video/*' || type === 'image/*') {\n\t\t\t\tconst specialType = type.replace('/*', '');\n\t\t\t\tif (file.type.startsWith(specialType)) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t};\n\t// % protected region % [Override validateContentType here] end\n\n\t// % protected region % [Override onChange here] off begin\n\tprotected onChange: ChangeEventHandler = event => {\n\t\tconst { files } = event.target;\n\t\tif (files) {\n\t\t\tfor (let i = 0; i < files.length; i++) {\n\t\t\t\tthis.setFile(files[i]);\n\t\t\t}\n\t\t}\n\t};\n\t// % protected region % [Override onChange here] end\n\n\t// % protected region % [Override onDragOver here] off begin\n\tprotected onDragOver = (event: React.DragEvent) => event.preventDefault();\n\t// % protected region % [Override onDragOver here] end\n\n\t// % protected region % [Override onDragEnter here] off begin\n\t@action\n\tprotected onDragEnter = () => { this.isBeingHovered = true; }\n\t// % protected region % [Override onDragEnter here] end\n\n\t// % protected region % [Override onDragLeave here] off begin\n\t@action\n\tprotected onDragLeave = () => { this.isBeingHovered = false; }\n\t// % protected region % [Override onDragLeave here] end\n\n\t// % protected region % [Override onDrop here] off begin\n\t@action\n\tprotected onDrop = (event: React.DragEvent) => {\n\t\tevent.preventDefault();\n\t\tthis.isBeingHovered = false;\n\t\tconst file = event.dataTransfer.files[0];\n\t\tif (file) {\n\t\t\tthis.setFile(file);\n\t\t}\n\t};\n\t// % protected region % [Override onDrop here] end\n\n\t// % protected region % [Override onClick here] off begin\n\tprotected onClick = () => {\n\t\tthis.inputRef?.focus();\n\t\tthis.inputRef?.click();\n\t};\n\t// % protected region % [Override onClick here] end\n\n\t// % protected region % [Override preview here] off begin\n\tprotected preview = () => {\n\t\tif (typeof this.props.preview === 'function') {\n\t\t\treturn this.props.preview(this.file, this.disableDelete ? undefined : this.clearFile);\n\t\t}\n\n\t\tif (this.props.preview && this.file) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\t}\n\t\treturn null;\n\t};\n\t// % protected region % [Override preview here] end\n\n\t// % protected region % [Override render here] on begin\n\tpublic render() {\n\t\tconst {\n\t\t\tname,\n\t\t\tclassName,\n\t\t\tdisplayType,\n\t\t\tlabel,\n\t\t\tid,\n\t\t\tisRequired,\n\t\t\tisDisabled,\n\t\t\tisReadOnly,\n\t\t\tstaticInput,\n\t\t\ttooltip,\n\t\t\tsubDescription,\n\t\t\tdisableDropArea,\n\t\t\tbuttonText,\n\t\t\tinputProps,\n\t\t\tlabelVisible = true,\n\t\t} = this.props;\n\n\t\tconst wrapperId = this.uuid.toString();\n\t\tconst fieldId = `${wrapperId}-field`;\n\n\t\tconst ariaLabel = InputsHelper.getAriaLabel(label, labelVisible);\n\t\tconst ariaDescribedby = InputsHelper.getAriaDescribedBy(wrapperId, tooltip, subDescription);\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t { this.inputRef = instance; }}\n\t\t\t\t\t\tstyle={{ display: 'none' }}\n\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\ttype=\"file\"\n\t\t\t\t\t\tname={name}\n\t\t\t\t\t\taccept={this.acceptType}\n\t\t\t\t\t\tmultiple={false}\n\t\t\t\t\t\tonChange={this.onChange}\n\t\t\t\t\t\tdisabled={isDisabled}\n\t\t\t\t\t\treadOnly={staticInput}\n\t\t\t\t\t\taria-label={ariaLabel}\n\t\t\t\t\t\taria-describedby={ariaDescribedby}\n\t\t\t\t\t\t{...inputProps}\n\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{buttonText ?? 'Choose File'}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tDrag Files Here\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{this.preview()}\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n\t// % protected region % [Override render here] end\n\n\t// % protected region % [Add any extra methods here] off begin\n\t// % protected region % [Add any extra methods here] end\n}\n\n// % protected region % [Override default export here] off begin\nexport default FileUpload;\n// % protected region % [Override default export here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { observer } from 'mobx-react';\nimport { action, computed, observable } from 'mobx';\nimport { Button, Display } from 'Views/Components/Button/Button';\nimport If from 'Views/Components/If/If';\n\nexport interface PreviewProps {\n\t/**\n\t * The file to preview.\n\t */\n\tfileName?: string;\n\t/**\n\t * Should the preview show an image.\n\t */\n\tfileUrl?: string;\n\t/**\n\t * Callback to delete this file. If this function is not defined then this function will not be displayed.\n\t */\n\tonDelete?: () => void;\n\t/**\n\t * Is the preview of an image\n\t */\n\timagePreview?: boolean;\n\t/**\n\t * Should name of this file be a link to the url\n\t */\n\tdownload?: boolean;\n}\n\n/**\n * Preview display for the file upload component\n */\n@observer\nexport class UploadPreview extends React.Component {\n\t@computed\n\tprotected get className() {\n\t\tconst { imagePreview } = this.props;\n\t\treturn classNames(\n\t\t\timagePreview ? 'upload__image' : 'upload__file',\n\t\t\t'preview',\n\t\t);\n\t}\n\n\tpublic render() {\n\t\tconst { imagePreview } = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t{imagePreview\n\t\t\t\t\t? \n\t\t\t\t\t: }\n\t\t\t
\n\t\t);\n\t}\n}\n\nexport interface FilePreviewProps extends Omit {\n\t/**\n\t * The file to accept\n\t */\n\tfileBlob: Blob;\n}\n\n/**\n * Preview for the file upload that takes a base64 file instead of a URL\n */\n@observer\nexport class FileUploadPreview extends React.Component {\n\t@observable\n\tprotected base64File?: string = undefined;\n\n\t@action\n\tprotected onImageLoaded = (event: ProgressEvent) => {\n\t\tconst result = event.target?.result;\n\t\tif (typeof result === 'string') {\n\t\t\tthis.base64File = result;\n\t\t}\n\t};\n\n\tprotected loadFile = (file: Blob) => {\n\t\tconst reader = new FileReader();\n\t\treader.onload = this.onImageLoaded;\n\t\treader.readAsDataURL(file);\n\t};\n\n\tpublic componentDidMount() {\n\t\tconst { fileBlob } = this.props;\n\t\tthis.loadFile(fileBlob);\n\t}\n\n\tpublic componentDidUpdate(prevProps: Readonly) {\n\t\tconst { fileBlob } = this.props;\n\t\tif (fileBlob !== prevProps.fileBlob) {\n\t\t\tthis.loadFile(fileBlob);\n\t\t}\n\t}\n\n\tpublic render() {\n\t\tif (!this.base64File) {\n\t\t\treturn null;\n\t\t}\n\n\t\tconst { fileName, onDelete, imagePreview } = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t);\n\t}\n}\n\nconst FileName = ({ fileUrl, fileName, download }: PreviewProps) => {\n\tif (download && fileUrl) {\n\t\treturn (\n\t\t\t\n\t\t\t\t{fileName}\n\t\t\t\n\t\t);\n\t}\n\treturn

{fileName}

;\n};\n\nconst ImagePreview = (props: PreviewProps) => {\n\tconst { fileUrl, fileName, onDelete } = props;\n\n\treturn (\n\t\t
\n\t\t\t{fileName}\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
\n\t);\n};\n\nconst FilePreview = (props: PreviewProps) => {\n\tconst { onDelete } = props;\n\n\treturn (\n\t\t
\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
\n\t);\n};\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\n// % protected region % [Add any extra imports here] off begin\n// % protected region % [Add any extra imports here] end\n\n// % protected region % [Override IconPositions here] on begin\nexport type IconPositions = 'icon-top' | 'icon-left' | 'icon-bottom' | 'icon-right' | 'icon-only';\n// % protected region % [Override IconPositions here] end\n\n// % protected region % [Override IIconProps here] off begin\nexport interface IIconProps {\n\ticon?: string;\n\ticonPos?: IconPositions;\n}\n// % protected region % [Override IIconProps here] end\n\n// % protected region % [Override EntityFormMode here] off begin\nexport enum EntityFormMode {\n\tVIEW = 'view',\n\tCREATE = 'create',\n\tEDIT = 'edit'\n}\n// % protected region % [Override EntityFormMode here] end\n\n// % protected region % [Override AttributeFormMode here] off begin\nexport enum AttributeFormMode {\n\tVIEW = 'view',\n\tEDIT = 'edit',\n\tHIDE = 'hide'\n}\n// % protected region % [Override AttributeFormMode here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\n// % protected region % [Add any extra imports here] off begin\n// % protected region % [Add any extra imports here] end\n\nexport default class InputsHelper {\n\t// % protected region % [Customise getAriaDescribedBy here] off begin\n\tpublic static getAriaDescribedBy(id: string, tooltip?: string, subDescription?: string) {\n\t\tconst tooltipId = `${id}-tooltip`;\n\t\tconst subDescriptionId = `${id}-sub-description`;\n\n\t\tif (tooltip) {\n\t\t\treturn tooltipId;\n\t\t}\n\n\t\treturn subDescription ? subDescriptionId : undefined;\n\t}\n\t// % protected region % [Customise getAriaDescribedBy here] end\n\n\t// % protected region % [Customise getAriaLabel here] off begin\n\tpublic static getAriaLabel(label: React.ReactNode, labelVisible: boolean | undefined): string | undefined {\n\t\tif (labelVisible === false && typeof label === 'string') {\n\t\t\treturn label;\n\t\t}\n\n\t\treturn undefined;\n\t}\n\t// % protected region % [Customise getAriaLabel here] end\n\n\t// % protected region % [Add any extra methods here] off begin\n\t// % protected region % [Add any extra methods here] end\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport { observer } from 'mobx-react';\n\ninterface IIfProps {\n\tcondition: boolean | undefined;\n\tchildren: React.ReactNode;\n\n}\n\n@observer\nexport default class If extends React.Component {\n\tpublic render() {\n\t\tconst { condition, children } = this.props;\n\n\t\tif (condition) {\n\t\t\treturn children;\n\t\t}\n\n\t\treturn null;\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport { observer } from 'mobx-react';\nimport classNames from 'classnames';\nimport { action, observable } from 'mobx';\nimport { Tooltip } from '../Tooltip/Tooltip';\nimport If from '../If/If';\nimport { DisplayType } from '../Models/Enums';\n\n// % protected region % [Add extra imports or definitoins here] off begin\n// % protected region % [Add extra imports or definitoins here] end\n\nexport enum InputType {\n\tINPUT = 'input',\n\tTEXTAREA = 'textarea',\n\tCHECKBOX = 'checkbox',\n\tRADIO = 'radio',\n\tDATE = 'date',\n\tTIME = 'time',\n\tPASSWORD = 'password',\n}\n\ninterface IInputWrapperProps {\n\tisInputGroup?: boolean;\n\twrapperId?: string;\n\tid?: string;\n\tinputType?: InputType;\n\tinputName?: string;\n\tinputId?: string;\n\tlabel?: ILabelOptions | React.ReactNode;\n\tlabelVisible?: boolean;\n\tclassName?: string;\n\tdisplayType?: DisplayType;\n\tisRequired?: boolean;\n\tstaticInput?: boolean;\n\ttooltip?: string;\n\tsubDescription?: string;\n\terrors?: string | string[];\n\tinnerProps?: React.DetailedHTMLProps, HTMLDivElement>;\n\tsideButton?: React.ReactNode;\n\tchildren: React.ReactNode;\n\t// % protected region % [Add extra inputwrapper props here] off begin\n\t// % protected region % [Add extra inputwrapper props here] end\n}\n\nexport enum LabelPositions {\n\tBEFORE,\n\tAFTER,\n}\n\nexport interface ILabelOptions {\n\tnode?: React.ReactNode;\n\ttext: string;\n\tposition?: LabelPositions;\n\t// % protected region % [Add extra lable options here] off begin\n\t// % protected region % [Add extra lable options here] end\n}\n// % protected region % [Customize isLabelOptions here] off begin\nfunction isLabelOptions(options: React.ReactNode | ILabelOptions): options is ILabelOptions {\n\treturn options !== null\n\t\t&& options !== undefined\n\t\t&& typeof options === 'object'\n\t\t&& 'text' in options;\n}\n// % protected region % [Customize isLabelOptions here] end\n\n// % protected region % [Customize Errors component here] off begin\nfunction Errors({ errors: innerErrors }: {errors?: string | string[]}) {\n\tif (!innerErrors) {\n\t\treturn null;\n\t}\n\n\tif (typeof innerErrors === 'string') {\n\t\treturn (\n\t\t\t
\n\t\t\t\t

{innerErrors}

\n\t\t\t
\n\t\t);\n\t}\n\n\treturn (\n\t\t
\n\t\t\t{innerErrors.map((error, idx) => {\n\t\t\t\tconst key = `${error}${idx}`;\n\t\t\t\treturn

{error}

;\n\t\t\t})}\n\t\t
\n\t);\n}\n// % protected region % [Customize Errors component here] end\n\n@observer\nclass InputWrapper extends React.Component {\n\t// % protected region % [Add extra options class properties here] off begin\n\t// % protected region % [Add extra options class properties here] end\n\n\t@observable\n\tprivate focused: boolean;\n\n\t@observable\n\tprivate isHovered: boolean;\n\n\tpublic render() {\n\t\t// % protected region % [Customize options render here] off begin\n\t\tconst {\n\t\t\tisInputGroup,\n\t\t\twrapperId,\n\t\t\tinputType,\n\t\t\tid,\n\t\t\tlabel,\n\t\t\tchildren,\n\t\t\tclassName,\n\t\t\tdisplayType,\n\t\t\tinputId,\n\t\t\tisRequired,\n\t\t\tstaticInput,\n\t\t\tsideButton,\n\t\t\ttooltip,\n\t\t\tsubDescription,\n\t\t\terrors,\n\t\t\tinnerProps,\n\t\t\tlabelVisible = true,\n\t\t} = this.props;\n\n\t\tconst tooltipId = `${id}-tooltip`;\n\t\tconst subDescriptionId = `${id}-sub-description`;\n\n\t\tlet labelPosition: LabelPositions | undefined;\n\t\tlet labelInnerNode: React.ReactNode;\n\t\tlet labelText: string | undefined;\n\t\tif (isLabelOptions(label)) {\n\t\t\tlabelPosition = label.position ?? LabelPositions.BEFORE;\n\t\t\tlabelInnerNode = label.node ?? label.text;\n\t\t\tlabelText = label.text;\n\t\t} else if (label !== undefined && label !== null) {\n\t\t\tlabelPosition = LabelPositions.BEFORE;\n\t\t\tlabelInnerNode = label;\n\t\t\tif (typeof label === 'string') {\n\t\t\t\tlabelText = label;\n\t\t\t}\n\t\t}\n\n\t\tconst requiredMark = (label && isRequired) ? * : undefined;\n\t\tconst labelNode = label ? : '';\n\n\t\tconst classes = classNames(\n\t\t\tclassName,\n\t\t\t`input-group-${displayType ?? DisplayType.BLOCK}`,\n\t\t\tisRequired ? 'input-group--is-required' : null,\n\t\t\ttooltip ? 'input-group--tooltip' : null,\n\t\t\t!isInputGroup ? 'input-group' : null,\n\t\t\tinputType ? `input-group__${inputType}` : null,\n\t\t\t(errors && (typeof errors === 'string' || errors.some(e => !!e))) ? 'input-group--error' : null,\n\t\t\tstaticInput ? 'input-group--static' : null,\n\t\t);\n\n\t\tconst tooltipNode = tooltip ? : '';\n\t\tconst subDescriptionNode = (!tooltip && subDescription) ?

{subDescription}

: '';\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{labelNode}\n\t\t\t\t\n\t\t\t\t{\n\t\t\t\t\tsideButton\n\t\t\t\t\t\t? (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{children}\n\t\t\t\t\t\t\t\t{sideButton}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)\n\t\t\t\t\t\t: children\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\t{labelNode}\n\t\t\t\t\n\t\t\t\t{tooltipNode}\n\t\t\t\t{subDescriptionNode}\n\t\t\t\t\n\t\t\t\n\t\t);\n\t\t// % protected region % [Customize options render here] end\n\t}\n\n\t@action\n\tprivate onFocus = () => {\n\t\tthis.focused = true;\n\t};\n\n\t@action\n\tprivate onBlue = () => {\n\t\tthis.focused = false;\n\t};\n\n\t@action\n\tprivate handleHover = () => {\n\t\tthis.isHovered = !this.isHovered;\n\t};\n\n\tprivate setFocusClass = (classes?: string) => {\n\t\tif (this.focused) {\n\t\t\treturn classNames('input-group--focus', classes);\n\t\t}\n\t\treturn classes;\n\t};\n\n\tprivate setHoverClass = (classes?: string) => {\n\t\tif (this.isHovered) {\n\t\t\treturn classNames('input-group--hover', classes);\n\t\t}\n\t\treturn classes;\n\t};\n\n\t// % protected region % [Add extra methods here] off begin\n\t// % protected region % [Add extra methods here] end\n}\nexport default InputWrapper;\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport ReactModal, { Props as ModalProps } from 'react-modal';\nimport { observer } from 'mobx-react';\nimport { store } from 'Models/Store';\n// % protected region % [Add any extra imports here] off begin\n// % protected region % [Add any extra imports here] end\n\nexport interface IModalProps {\n\t/** Is the modal open */\n\tisOpen: boolean;\n\t/** A label for the modal for screen readers */\n\tlabel: string;\n\t/** The classname for the modal */\n\tclassName?: string;\n\t/** The classname for the modal overlay */\n\toverlayClassName?: string;\n\t/** Function that will be run after the modal has opened. */\n\tonAfterOpen?: () => void;\n\t/** Function that will be run after the modal has closed. */\n\tonAfterClose?: () => void;\n\t/**\n\t * Function that will be run when the modal is requested to be closed, prior to actually closing.\n\t * If the isOpen prop is not changed in this callback then it will not actually close!\n\t */\n\tonRequestClose?: (event: (React.MouseEvent | React.KeyboardEvent)) => void;\n\t/**\n\t * Raw props to be passed to react-modal.\n\t * This will overwrite any props that are placed on the modal by this component\n\t */\n\tmodalProps?: ModalProps;\n\t/** Children elements */\n\tchildren: React.ReactNode;\n\t/** Boolean indicating if the overlay should close the modal. Defaults to true. */\n\tshouldCloseOnOverlayClick?: boolean;\n\t/** Boolean indicating if pressing the esc key should close the modal */\n\tshouldCloseOnEsc?: boolean;\n\t// % protected region % [Add any extra props here] off begin\n\t// % protected region % [Add any extra props here] end\n}\n\n// % protected region % [Override root node here] off begin\nconst rootId = 'root';\nconst modalElement = document.getElementById(rootId);\n// % protected region % [Override root node here] end\n\n/**\n * A modal dialog that can display any content inside of it\n */\n@observer\nclass Modal extends React.Component {\n\t// % protected region % [Add any extra methods here] off begin\n\t// % protected region % [Add any extra methods here] end\n\n\tpublic render() {\n\t\t// % protected region % [Override render method here] on begin\n\t\tif (!modalElement) {\n\t\t\treturn `html\n\t\t\t\t\n\t\t\t`;\n\t\t}\n\n\t\tconst {\n\t\t\tlabel,\n\t\t\toverlayClassName,\n\t\t\tonAfterOpen,\n\t\t\tonRequestClose,\n\t\t\tchildren,\n\t\t\tclassName,\n\t\t\tmodalProps,\n\t\t\tisOpen,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t document.querySelector(`.portal.${store.appLocation}`) || document.body}\n\t\t\t\tappElement={modalElement}\n\t\t\t\tisOpen={isOpen}\n\t\t\t\tonAfterOpen={onAfterOpen}\n\t\t\t\tonRequestClose={onRequestClose}\n\t\t\t\tcontentLabel={label}\n\t\t\t\tshouldCloseOnEsc\n\t\t\t\tshouldCloseOnOverlayClick\n\t\t\t\taria={{\n\t\t\t\t\t// @ts-ignore\n\t\t\t\t\tlive: 'assertive',\n\t\t\t\t}}\n\t\t\t\t{...modalProps}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t\n\t\t);\n\t\t// % protected region % [Override render method here] end\n\t}\n}\n\n// % protected region % [Override default export here] off begin\nexport default Modal;\n// % protected region % [Override default export here] end\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\n// eslint-disable-next-line import/prefer-default-export\nexport enum DisplayType {\n\tBLOCK = 'block',\n\tINLINE = 'inline',\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\n\nexport default function Spinner() {\n\treturn (\n\t\t
\n\t\t\t
\n\t\t
\n\t);\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\nimport { observer } from 'mobx-react';\nimport { action } from 'mobx';\nimport If from '../If/If';\nimport InputWrapper from '../Inputs/InputWrapper';\nimport * as uuid from 'uuid';\nimport { DisplayType } from '../Models/Enums';\nimport InputsHelper from '../Helpers/InputsHelper';\n\nexport interface ITextFieldProps {\n\tmodel: T;\n\tmodelProperty: string;\n\tid?: string;\n\tname?:string;\n\tclassName?: string;\n\tinputClassName?: string;\n\tdefaultToUndefined?: boolean;\n\tdisplayType?: DisplayType;\n\tlabel?: React.ReactNode;\n\tlabelVisible?: boolean;\n\tisRequired?: boolean;\n\tisDisabled?: boolean;\n\tisReadOnly?: boolean;\n\tstaticInput?: boolean;\n\ttooltip?: string;\n\tsubDescription?: string;\n\tinputProps?: React.InputHTMLAttributes;\n\tplaceholder?: string;\n\tclickToClear?: boolean;\n\tautoFocus?: boolean;\n\terrors?: string | string[];\n\tonAfterChange?: (event: React.ChangeEvent) => void;\n\tonChangeAndBlur?: (event: React.ChangeEvent) => void;\n\tonClickToClear?: (event: React.MouseEvent) => void;\n\tsideButton?: React.ReactNode;\n\t// % protected region % [Add extra ITextFieldProps here] off begin\n\t// % protected region % [Add extra ITextFieldProps here] end\n}\n\n@observer\nexport class TextField extends React.Component, any> {\n\tpublic static defaultProps = {\n\t\tclickToClear: false,\n\t\tinputProps: {},\n\t\tclassName: '',\n\t};\n\n\tprivate _input?: HTMLInputElement;\n\tprivate uuid = uuid.v4();\n\tprivate valueWhenFocused: string = '';\n\n\tcomponentDidMount() {\n\t\tconst { autoFocus } = this.props;\n\n\t\tif (autoFocus && this._input) {\n\t\t\tthis._input.focus();\n\t\t}\n\t}\n\n\tpublic render() {\n\t\tconst {\n\t\t\tmodel,\n\t\t\tmodelProperty,\n\t\t\tname,\n\t\t\tclassName,\n\t\t\tid = this.uuid,\n\t\t\tdisplayType,\n\t\t\tlabel,\n\t\t\tlabelVisible = true,\n\t\t\tisRequired,\n\t\t\tisDisabled,\n\t\t\tisReadOnly,\n\t\t\tstaticInput,\n\t\t\ttooltip,\n\t\t\tsubDescription,\n\t\t\tclickToClear,\n\t\t\tplaceholder,\n\t\t\terrors,\n\t\t\tinputClassName,\n\t\t\tsideButton,\n\t\t\tinputProps,\n\t\t\t// % protected region % [Add extra props here] off begin\n\t\t\t// % protected region % [Add extra props here] end\n\t\t} = this.props;\n\n\t\tconst fieldId = `${id}-field`;\n\t\tconst ariaLabel = InputsHelper.getAriaLabel(label, labelVisible);\n\t\tconst ariaDescribedby = InputsHelper.getAriaDescribedBy(id, tooltip, subDescription);\n\n\t\t// % protected region % [Override render return here] off begin\n\t\treturn (\n\t\t\t\n\t\t\t\t { this._input = i ?? undefined; }}\n\t\t\t\t\t{...inputProps}\n\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t);\n\t\t// % protected region % [Override render return here] end\n\t}\n\n\t@action\n\tprivate onChange = (event: React.ChangeEvent) => {\n\t\t// Need to disable the rule here since we change the type which is incompatible with destructuring\n\t\t// eslint-disable-next-line prefer-destructuring\n\t\tlet value: string | undefined = event.target.value;\n\t\tvalue = (value === '' && this.props.defaultToUndefined) ? undefined : value;\n\n\t\tthis.props.model[this.props.modelProperty] = value;\n\n\t\tif (this.props.onAfterChange) {\n\t\t\tthis.props.onAfterChange(event);\n\t\t}\n\t}\n\n\t@action\n\tprivate onFocus = (event: React.ChangeEvent) => {\n\t\tthis.valueWhenFocused = event.target.value;\n\t}\n\n\t@action\n\tprivate onBlur = (event: React.ChangeEvent) => {\n\t\tif (this.valueWhenFocused !== event.target.value && this.props.onChangeAndBlur) {\n\t\t\tthis.props.onChangeAndBlur(event);\n\t\t}\n\t}\n\n\t@action\n\tprivate onClickToClear = (event: React.MouseEvent) => {\n\t\tif (this.props.onClickToClear) {\n\t\t\treturn this.props.onClickToClear(event);\n\t\t}\n\t\tthis.props.model[this.props.modelProperty] = '';\n\t}\n}\n","/*\n * @bot-written\n *\n * WARNING AND NOTICE\n * Any access, download, storage, and/or use of this source code is subject to the terms and conditions of the\n * Full Software Licence as accepted by you before being granted access to this source code and other materials,\n * the terms of which can be accessed on the Codebots website at https://codebots.com/full-software-licence. Any\n * commercial use in contravention of the terms of the Full Software Licence may be pursued by Codebots through\n * licence termination and further legal action, and be required to indemnify Codebots for any loss or damage,\n * including interest and costs. You are deemed to have accepted the terms of the Full Software Licence on any\n * access, download, storage, and/or use of this source code.\n *\n * BOT WARNING\n * This file is bot-written.\n * Any changes out side of \"protected regions\" will be lost next time the bot makes any changes.\n */\nimport * as React from 'react';\n// % protected region % [Add any further imports here] on begin\nimport ReactTooltip, { Place } from 'react-tooltip';\n// % protected region % [Add any further imports here] end\n\nexport interface ITooltipProps {\n\tid: string;\n\tcontent: React.ReactNode;\n\t// % protected region % [Add extra props here] on begin\n\tplace?: Place\n\t// % protected region % [Add extra props here] end\n}\n\nexport class Tooltip extends React.Component {\n\tpublic render() {\n\t\t// % protected region % [Override render here] on begin\n\t\tconst {\n\t\t\tid,\n\t\t\tcontent,\n\t\t\tplace = 'bottom',\n\t\t} = this.props;\n\t\treturn (\n\t\t\t<>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t);\n\t\t// % protected region % [Override render here] end\n\t}\n\n\t// % protected region % [Add extra class fields here] off begin\n\t// % protected region % [Add extra class fields here] end\n}\n","export const quickRegister: boolean = true; // Change to false turn the original many-step registration wizard back on\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.regionAPIs = void 0;\nexports.regionAPIs = new Map([\n [\"us\", \"https://api-iam.intercom.io\"],\n [\"eu\", \"https://api-iam.eu.intercom.io\"],\n [\"ap\", \"https://api-iam.au.intercom.io\"]\n]);\n","\"use strict\";\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.onUserEmailSupplied = exports.showConversation = exports.showTicket = exports.startChecklist = exports.startSurvey = exports.showNews = exports.showArticle = exports.startTour = exports.getVisitorId = exports.trackEvent = exports.onUnreadCountChange = exports.onShow = exports.onHide = exports.showNewMessage = exports.showMessages = exports.showSpace = exports.show = exports.hide = exports.update = exports.shutdown = exports.boot = exports.Intercom = void 0;\nconst constants_1 = require(\"./constants\");\nconst instance_manager_1 = require(\"./instance-manager\");\nconst callIntercomMethod = (method, ...args) => {\n // window is undefined on server-side and this breaks our widget\n if (typeof window !== undefined && window.Intercom) {\n window.Intercom(method, ...args);\n }\n else {\n console.warn(\"Please ensure Intercom is setup and running on client-side!\");\n }\n};\nconst Intercom = (props) => {\n if (typeof props !== \"object\") {\n console.warn(\"Intercom initialiser called with invalid parameters.\");\n return;\n }\n const { region = \"us\" } = props, args = __rest(props, [\"region\"]);\n if (typeof window !== \"undefined\" && !instance_manager_1.ref) {\n window.intercomSettings = Object.assign(Object.assign({}, args), { api_base: constants_1.regionAPIs.get(region) });\n (0, instance_manager_1.init)();\n }\n};\nexports.Intercom = Intercom;\n// Public functions that can be called from outside the module\nexports.default = exports.Intercom;\nconst boot = (arg) => callIntercomMethod(\"boot\", arg);\nexports.boot = boot;\nconst shutdown = () => callIntercomMethod(\"shutdown\");\nexports.shutdown = shutdown;\nconst update = (arg) => callIntercomMethod(\"update\", arg);\nexports.update = update;\nconst hide = () => callIntercomMethod(\"hide\");\nexports.hide = hide;\nconst show = () => callIntercomMethod(\"show\");\nexports.show = show;\nconst showSpace = (spaceName) => callIntercomMethod(\"showSpace\", spaceName);\nexports.showSpace = showSpace;\nconst showMessages = () => callIntercomMethod(\"showMessages\");\nexports.showMessages = showMessages;\nconst showNewMessage = (prePopulatedContent) => callIntercomMethod(\"showNewMessage\", prePopulatedContent);\nexports.showNewMessage = showNewMessage;\nconst onHide = (callback) => callIntercomMethod(\"onHide\", callback);\nexports.onHide = onHide;\nconst onShow = (callback) => callIntercomMethod(\"onShow\", callback);\nexports.onShow = onShow;\nconst onUnreadCountChange = (callback) => callIntercomMethod(\"onUnreadCountChange\", callback);\nexports.onUnreadCountChange = onUnreadCountChange;\nconst trackEvent = (...args) => callIntercomMethod(\"trackEvent\", ...args);\nexports.trackEvent = trackEvent;\nconst getVisitorId = () => callIntercomMethod(\"getVisitorId\");\nexports.getVisitorId = getVisitorId;\nconst startTour = (tourId) => callIntercomMethod(\"startTour\", tourId);\nexports.startTour = startTour;\nconst showArticle = (articleId) => callIntercomMethod(\"showArticle\", articleId);\nexports.showArticle = showArticle;\nconst showNews = (newsItemId) => callIntercomMethod(\"showNews\", newsItemId);\nexports.showNews = showNews;\nconst startSurvey = (surveyId) => callIntercomMethod(\"startSurvey\", surveyId);\nexports.startSurvey = startSurvey;\nconst startChecklist = (checklistId) => callIntercomMethod(\"startChecklist\", checklistId);\nexports.startChecklist = startChecklist;\nconst showTicket = (ticketId) => callIntercomMethod(\"showTicket\", ticketId);\nexports.showTicket = showTicket;\nconst showConversation = (conversationId) => callIntercomMethod(\"showConversation\", conversationId);\nexports.showConversation = showConversation;\nconst onUserEmailSupplied = (callback) => callIntercomMethod(\"onUserEmailSupplied\", callback);\nexports.onUserEmailSupplied = onUserEmailSupplied;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ref = exports.init = void 0;\nconst scriptElementId = \"_intercom_npm_loader\";\n// This holds a queue of commands to be passed to the messenger widget API after it is added to the page\nconst queueHolder = function () {\n queueHolder.loaderQueue(arguments);\n};\nqueueHolder.q = [];\nqueueHolder.loaderQueue = function (args) {\n queueHolder.q.push(args);\n};\nconst addWidgetToPage = function () {\n var _a, _b;\n var d = document;\n if (d.getElementById(scriptElementId)) {\n // script is already in DOM\n return;\n }\n var s = d.createElement(\"script\");\n s.type = \"text/javascript\";\n s.async = true;\n s.id = scriptElementId;\n s.src =\n \"https://widget.intercom.io/widget/\" + ((_a = window.intercomSettings) === null || _a === void 0 ? void 0 : _a.app_id);\n var x = d.getElementsByTagName(\"script\")[0];\n (_b = x.parentNode) === null || _b === void 0 ? void 0 : _b.insertBefore(s, x);\n};\nconst isDocumentReady = () => document.readyState === \"complete\" || document.readyState === \"interactive\";\nconst init = () => __awaiter(void 0, void 0, void 0, function* () {\n var w = window;\n var ic = w.Intercom;\n if (w.intercomSettings) {\n w.intercomSettings.installation_type = \"npm-package\";\n }\n if (typeof ic === \"function\") {\n ic(\"reattach_activator\");\n ic(\"update\", w.intercomSettings);\n }\n else {\n w.Intercom = queueHolder;\n if (isDocumentReady()) {\n addWidgetToPage();\n }\n else {\n document.addEventListener(\"readystatechange\", function () {\n if (isDocumentReady()) {\n addWidgetToPage();\n }\n });\n if (w.attachEvent) {\n w.attachEvent(\"onload\", addWidgetToPage);\n }\n else {\n w.addEventListener(\"load\", addWidgetToPage, false);\n }\n }\n }\n});\nexports.init = init;\nexports.ref = undefined;\n","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(resolve, reject, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (!request) {\n return;\n }\n\n request.abort();\n reject(cancel);\n // Clean up request\n request = null;\n });\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Factory for creating new instances\naxios.create = function create(instanceConfig) {\n return createInstance(mergeConfig(axios.defaults, instanceConfig));\n};\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = arguments[1] || {};\n config.url = arguments[0];\n } else {\n config = config || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n forcedJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n clarifyTimeoutError: validators.transitional(validators.boolean, '1.0.0')\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n var valueFromConfig2Keys = ['url', 'method', 'data'];\n var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];\n var defaultToConfig2Keys = [\n 'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',\n 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',\n 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',\n 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',\n 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'\n ];\n var directMergeKeys = ['validateStatus'];\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n }\n\n utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n }\n });\n\n utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);\n\n utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n utils.forEach(directMergeKeys, function merge(prop) {\n if (prop in config2) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n var axiosKeys = valueFromConfig2Keys\n .concat(mergeDeepPropertiesKeys)\n .concat(defaultToConfig2Keys)\n .concat(directMergeKeys);\n\n var otherKeys = Object\n .keys(config1)\n .concat(Object.keys(config2))\n .filter(function filterAxiosKeys(key) {\n return axiosKeys.indexOf(key) === -1;\n });\n\n utils.forEach(otherKeys, mergeDeepProperties);\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('./../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\nvar enhanceError = require('./core/enhanceError');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('./adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('./adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n },\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n }\n};\n\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return (typeof payload === 'object') && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar pkg = require('./../../package.json');\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\nvar currentVerArr = pkg.version.split('.');\n\n/**\n * Compare package versions\n * @param {string} version\n * @param {string?} thanVersion\n * @returns {boolean}\n */\nfunction isOlderVersion(version, thanVersion) {\n var pkgVersionArr = thanVersion ? thanVersion.split('.') : currentVerArr;\n var destVer = version.split('.');\n for (var i = 0; i < 3; i++) {\n if (pkgVersionArr[i] > destVer[i]) {\n return true;\n } else if (pkgVersionArr[i] < destVer[i]) {\n return false;\n }\n }\n return false;\n}\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator\n * @param {string?} version\n * @param {string} message\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n var isDeprecated = version && isOlderVersion(version);\n\n function formatMessage(opt, desc) {\n return '[Axios v' + pkg.version + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed in ' + version));\n }\n\n if (isDeprecated && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n isOlderVersion: isOlderVersion,\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\tvar nativeCodeString = '[native code]';\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e))for(t=0;t graphql document\nconst docCache = new Map();\n\n// A map fragmentName -> [normalized source]\nconst fragmentSourceMap = new Map>();\n\nlet printFragmentWarnings = true;\nlet experimentalFragmentVariables = false;\n\n// Strip insignificant whitespace\n// Note that this could do a lot more, such as reorder fields etc.\nfunction normalize(string: string) {\n return string.replace(/[\\s,]+/g, ' ').trim();\n}\n\nfunction cacheKeyFromLoc(loc: Location) {\n return normalize(loc.source.body.substring(loc.start, loc.end));\n}\n\n// Take a unstripped parsed document (query/mutation or even fragment), and\n// check all fragment definitions, checking for name->source uniqueness.\n// We also want to make sure only unique fragments exist in the document.\nfunction processFragments(ast: DocumentNode) {\n const seenKeys = new Set();\n const definitions: DefinitionNode[] = [];\n\n ast.definitions.forEach(fragmentDefinition => {\n if (fragmentDefinition.kind === 'FragmentDefinition') {\n var fragmentName = fragmentDefinition.name.value;\n var sourceKey = cacheKeyFromLoc(fragmentDefinition.loc!);\n\n // We know something about this fragment\n let sourceKeySet = fragmentSourceMap.get(fragmentName)!;\n if (sourceKeySet && !sourceKeySet.has(sourceKey)) {\n // this is a problem because the app developer is trying to register another fragment with\n // the same name as one previously registered. So, we tell them about it.\n if (printFragmentWarnings) {\n console.warn(\"Warning: fragment with name \" + fragmentName + \" already exists.\\n\"\n + \"graphql-tag enforces all fragment names across your application to be unique; read more about\\n\"\n + \"this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names\");\n }\n } else if (!sourceKeySet) {\n fragmentSourceMap.set(fragmentName, sourceKeySet = new Set);\n }\n\n sourceKeySet.add(sourceKey);\n\n if (!seenKeys.has(sourceKey)) {\n seenKeys.add(sourceKey);\n definitions.push(fragmentDefinition);\n }\n } else {\n definitions.push(fragmentDefinition);\n }\n });\n\n return {\n ...ast,\n definitions,\n };\n}\n\nfunction stripLoc(doc: DocumentNode) {\n const workSet = new Set>(doc.definitions);\n\n workSet.forEach(node => {\n if (node.loc) delete node.loc;\n Object.keys(node).forEach(key => {\n const value = node[key];\n if (value && typeof value === 'object') {\n workSet.add(value);\n }\n });\n });\n\n const loc = doc.loc as Record;\n if (loc) {\n delete loc.startToken;\n delete loc.endToken;\n }\n\n return doc;\n}\n\nfunction parseDocument(source: string) {\n var cacheKey = normalize(source);\n if (!docCache.has(cacheKey)) {\n const parsed = parse(source, {\n experimentalFragmentVariables,\n allowLegacyFragmentVariables: experimentalFragmentVariables,\n } as any);\n if (!parsed || parsed.kind !== 'Document') {\n throw new Error('Not a valid GraphQL document.');\n }\n docCache.set(\n cacheKey,\n // check that all \"new\" fragments inside the documents are consistent with\n // existing fragments of the same name\n stripLoc(processFragments(parsed)),\n );\n }\n return docCache.get(cacheKey)!;\n}\n\n// XXX This should eventually disallow arbitrary string interpolation, like Relay does\nexport function gql(\n literals: string | readonly string[],\n ...args: any[]\n) {\n\n if (typeof literals === 'string') {\n literals = [literals];\n }\n\n let result = literals[0];\n\n args.forEach((arg, i) => {\n if (arg && arg.kind === 'Document') {\n result += arg.loc.source.body;\n } else {\n result += arg;\n }\n result += literals[i + 1];\n });\n\n return parseDocument(result);\n}\n\nexport function resetCaches() {\n docCache.clear();\n fragmentSourceMap.clear();\n}\n\nexport function disableFragmentWarnings() {\n printFragmentWarnings = false;\n}\n\nexport function enableExperimentalFragmentVariables() {\n experimentalFragmentVariables = true;\n}\n\nexport function disableExperimentalFragmentVariables() {\n experimentalFragmentVariables = false;\n}\n\nconst extras = {\n gql,\n resetCaches,\n disableFragmentWarnings,\n enableExperimentalFragmentVariables,\n disableExperimentalFragmentVariables,\n};\n\nexport namespace gql {\n export const {\n gql,\n resetCaches,\n disableFragmentWarnings,\n enableExperimentalFragmentVariables,\n disableExperimentalFragmentVariables,\n } = extras;\n}\n\ngql.default = gql;\n\nexport default gql;\n","function isAbsolute(pathname) {\n return pathname.charAt(0) === '/';\n}\n\n// About 1.5x faster than the two-arg version of Array#splice()\nfunction spliceOne(list, index) {\n for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) {\n list[i] = list[k];\n }\n\n list.pop();\n}\n\n// This implementation is based heavily on node's url.parse\nfunction resolvePathname(to, from) {\n if (from === undefined) from = '';\n\n var toParts = (to && to.split('/')) || [];\n var fromParts = (from && from.split('/')) || [];\n\n var isToAbs = to && isAbsolute(to);\n var isFromAbs = from && isAbsolute(from);\n var mustEndAbs = isToAbs || isFromAbs;\n\n if (to && isAbsolute(to)) {\n // to is absolute\n fromParts = toParts;\n } else if (toParts.length) {\n // to is relative, drop the filename\n fromParts.pop();\n fromParts = fromParts.concat(toParts);\n }\n\n if (!fromParts.length) return '/';\n\n var hasTrailingSlash;\n if (fromParts.length) {\n var last = fromParts[fromParts.length - 1];\n hasTrailingSlash = last === '.' || last === '..' || last === '';\n } else {\n hasTrailingSlash = false;\n }\n\n var up = 0;\n for (var i = fromParts.length; i >= 0; i--) {\n var part = fromParts[i];\n\n if (part === '.') {\n spliceOne(fromParts, i);\n } else if (part === '..') {\n spliceOne(fromParts, i);\n up++;\n } else if (up) {\n spliceOne(fromParts, i);\n up--;\n }\n }\n\n if (!mustEndAbs) for (; up--; up) fromParts.unshift('..');\n\n if (\n mustEndAbs &&\n fromParts[0] !== '' &&\n (!fromParts[0] || !isAbsolute(fromParts[0]))\n )\n fromParts.unshift('');\n\n var result = fromParts.join('/');\n\n if (hasTrailingSlash && result.substr(-1) !== '/') result += '/';\n\n return result;\n}\n\nexport default resolvePathname;\n","function valueOf(obj) {\n return obj.valueOf ? obj.valueOf() : Object.prototype.valueOf.call(obj);\n}\n\nfunction valueEqual(a, b) {\n // Test for strict equality first.\n if (a === b) return true;\n\n // Otherwise, if either of them == null they are not equal.\n if (a == null || b == null) return false;\n\n if (Array.isArray(a)) {\n return (\n Array.isArray(b) &&\n a.length === b.length &&\n a.every(function(item, index) {\n return valueEqual(item, b[index]);\n })\n );\n }\n\n if (typeof a === 'object' || typeof b === 'object') {\n var aValue = valueOf(a);\n var bValue = valueOf(b);\n\n if (aValue !== a || bValue !== b) return valueEqual(aValue, bValue);\n\n return Object.keys(Object.assign({}, a, b)).every(function(key) {\n return valueEqual(a[key], b[key]);\n });\n }\n\n return false;\n}\n\nexport default valueEqual;\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport resolvePathname from 'resolve-pathname';\nimport valueEqual from 'value-equal';\nimport warning from 'tiny-warning';\nimport invariant from 'tiny-invariant';\n\nfunction addLeadingSlash(path) {\n return path.charAt(0) === '/' ? path : '/' + path;\n}\nfunction stripLeadingSlash(path) {\n return path.charAt(0) === '/' ? path.substr(1) : path;\n}\nfunction hasBasename(path, prefix) {\n return path.toLowerCase().indexOf(prefix.toLowerCase()) === 0 && '/?#'.indexOf(path.charAt(prefix.length)) !== -1;\n}\nfunction stripBasename(path, prefix) {\n return hasBasename(path, prefix) ? path.substr(prefix.length) : path;\n}\nfunction stripTrailingSlash(path) {\n return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;\n}\nfunction parsePath(path) {\n var pathname = path || '/';\n var search = '';\n var hash = '';\n var hashIndex = pathname.indexOf('#');\n\n if (hashIndex !== -1) {\n hash = pathname.substr(hashIndex);\n pathname = pathname.substr(0, hashIndex);\n }\n\n var searchIndex = pathname.indexOf('?');\n\n if (searchIndex !== -1) {\n search = pathname.substr(searchIndex);\n pathname = pathname.substr(0, searchIndex);\n }\n\n return {\n pathname: pathname,\n search: search === '?' ? '' : search,\n hash: hash === '#' ? '' : hash\n };\n}\nfunction createPath(location) {\n var pathname = location.pathname,\n search = location.search,\n hash = location.hash;\n var path = pathname || '/';\n if (search && search !== '?') path += search.charAt(0) === '?' ? search : \"?\" + search;\n if (hash && hash !== '#') path += hash.charAt(0) === '#' ? hash : \"#\" + hash;\n return path;\n}\n\nfunction createLocation(path, state, key, currentLocation) {\n var location;\n\n if (typeof path === 'string') {\n // Two-arg form: push(path, state)\n location = parsePath(path);\n location.state = state;\n } else {\n // One-arg form: push(location)\n location = _extends({}, path);\n if (location.pathname === undefined) location.pathname = '';\n\n if (location.search) {\n if (location.search.charAt(0) !== '?') location.search = '?' + location.search;\n } else {\n location.search = '';\n }\n\n if (location.hash) {\n if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash;\n } else {\n location.hash = '';\n }\n\n if (state !== undefined && location.state === undefined) location.state = state;\n }\n\n try {\n location.pathname = decodeURI(location.pathname);\n } catch (e) {\n if (e instanceof URIError) {\n throw new URIError('Pathname \"' + location.pathname + '\" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.');\n } else {\n throw e;\n }\n }\n\n if (key) location.key = key;\n\n if (currentLocation) {\n // Resolve incomplete/relative pathname relative to current location.\n if (!location.pathname) {\n location.pathname = currentLocation.pathname;\n } else if (location.pathname.charAt(0) !== '/') {\n location.pathname = resolvePathname(location.pathname, currentLocation.pathname);\n }\n } else {\n // When there is no prior location and pathname is empty, set it to /\n if (!location.pathname) {\n location.pathname = '/';\n }\n }\n\n return location;\n}\nfunction locationsAreEqual(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && a.key === b.key && valueEqual(a.state, b.state);\n}\n\nfunction createTransitionManager() {\n var prompt = null;\n\n function setPrompt(nextPrompt) {\n process.env.NODE_ENV !== \"production\" ? warning(prompt == null, 'A history supports only one prompt at a time') : void 0;\n prompt = nextPrompt;\n return function () {\n if (prompt === nextPrompt) prompt = null;\n };\n }\n\n function confirmTransitionTo(location, action, getUserConfirmation, callback) {\n // TODO: If another transition starts while we're still confirming\n // the previous one, we may end up in a weird state. Figure out the\n // best way to handle this.\n if (prompt != null) {\n var result = typeof prompt === 'function' ? prompt(location, action) : prompt;\n\n if (typeof result === 'string') {\n if (typeof getUserConfirmation === 'function') {\n getUserConfirmation(result, callback);\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'A history needs a getUserConfirmation function in order to use a prompt message') : void 0;\n callback(true);\n }\n } else {\n // Return false from a transition hook to cancel the transition.\n callback(result !== false);\n }\n } else {\n callback(true);\n }\n }\n\n var listeners = [];\n\n function appendListener(fn) {\n var isActive = true;\n\n function listener() {\n if (isActive) fn.apply(void 0, arguments);\n }\n\n listeners.push(listener);\n return function () {\n isActive = false;\n listeners = listeners.filter(function (item) {\n return item !== listener;\n });\n };\n }\n\n function notifyListeners() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n listeners.forEach(function (listener) {\n return listener.apply(void 0, args);\n });\n }\n\n return {\n setPrompt: setPrompt,\n confirmTransitionTo: confirmTransitionTo,\n appendListener: appendListener,\n notifyListeners: notifyListeners\n };\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\nfunction getConfirmation(message, callback) {\n callback(window.confirm(message)); // eslint-disable-line no-alert\n}\n/**\n * Returns true if the HTML5 history API is supported. Taken from Modernizr.\n *\n * https://github.com/Modernizr/Modernizr/blob/master/LICENSE\n * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586\n */\n\nfunction supportsHistory() {\n var ua = window.navigator.userAgent;\n if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) return false;\n return window.history && 'pushState' in window.history;\n}\n/**\n * Returns true if browser fires popstate on hash change.\n * IE10 and IE11 do not.\n */\n\nfunction supportsPopStateOnHashChange() {\n return window.navigator.userAgent.indexOf('Trident') === -1;\n}\n/**\n * Returns false if using go(n) with hash history causes a full page reload.\n */\n\nfunction supportsGoWithoutReloadUsingHash() {\n return window.navigator.userAgent.indexOf('Firefox') === -1;\n}\n/**\n * Returns true if a given popstate event is an extraneous WebKit event.\n * Accounts for the fact that Chrome on iOS fires real popstate events\n * containing undefined state when pressing the back button.\n */\n\nfunction isExtraneousPopstateEvent(event) {\n return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1;\n}\n\nvar PopStateEvent = 'popstate';\nvar HashChangeEvent = 'hashchange';\n\nfunction getHistoryState() {\n try {\n return window.history.state || {};\n } catch (e) {\n // IE 11 sometimes throws when accessing window.history.state\n // See https://github.com/ReactTraining/history/pull/289\n return {};\n }\n}\n/**\n * Creates a history object that uses the HTML5 history API including\n * pushState, replaceState, and the popstate event.\n */\n\n\nfunction createBrowserHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Browser history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canUseHistory = supportsHistory();\n var needsHashChangeListener = !supportsPopStateOnHashChange();\n var _props = props,\n _props$forceRefresh = _props.forceRefresh,\n forceRefresh = _props$forceRefresh === void 0 ? false : _props$forceRefresh,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n\n function getDOMLocation(historyState) {\n var _ref = historyState || {},\n key = _ref.key,\n state = _ref.state;\n\n var _window$location = window.location,\n pathname = _window$location.pathname,\n search = _window$location.search,\n hash = _window$location.hash;\n var path = pathname + search + hash;\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path, state, key);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function handlePopState(event) {\n // Ignore extraneous popstate events in WebKit.\n if (isExtraneousPopstateEvent(event)) return;\n handlePop(getDOMLocation(event.state));\n }\n\n function handleHashChange() {\n handlePop(getDOMLocation(getHistoryState()));\n }\n\n var forceNextPop = false;\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of keys we've seen in sessionStorage.\n // Instead, we just default to 0 for keys we don't know.\n\n var toIndex = allKeys.indexOf(toLocation.key);\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allKeys.indexOf(fromLocation.key);\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n }\n\n var initialLocation = getDOMLocation(getHistoryState());\n var allKeys = [initialLocation.key]; // Public interface\n\n function createHref(location) {\n return basename + createPath(location);\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.pushState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.href = href;\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n var nextKeys = allKeys.slice(0, prevIndex + 1);\n nextKeys.push(location.key);\n allKeys = nextKeys;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot push state in browsers that do not support HTML5 history') : void 0;\n window.location.href = href;\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.replaceState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.replace(href);\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n if (prevIndex !== -1) allKeys[prevIndex] = location.key;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot replace state in browsers that do not support HTML5 history') : void 0;\n window.location.replace(href);\n }\n });\n }\n\n function go(n) {\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.addEventListener(HashChangeEvent, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.removeEventListener(HashChangeEvent, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nvar HashChangeEvent$1 = 'hashchange';\nvar HashPathCoders = {\n hashbang: {\n encodePath: function encodePath(path) {\n return path.charAt(0) === '!' ? path : '!/' + stripLeadingSlash(path);\n },\n decodePath: function decodePath(path) {\n return path.charAt(0) === '!' ? path.substr(1) : path;\n }\n },\n noslash: {\n encodePath: stripLeadingSlash,\n decodePath: addLeadingSlash\n },\n slash: {\n encodePath: addLeadingSlash,\n decodePath: addLeadingSlash\n }\n};\n\nfunction stripHash(url) {\n var hashIndex = url.indexOf('#');\n return hashIndex === -1 ? url : url.slice(0, hashIndex);\n}\n\nfunction getHashPath() {\n // We can't use window.location.hash here because it's not\n // consistent across browsers - Firefox will pre-decode it!\n var href = window.location.href;\n var hashIndex = href.indexOf('#');\n return hashIndex === -1 ? '' : href.substring(hashIndex + 1);\n}\n\nfunction pushHashPath(path) {\n window.location.hash = path;\n}\n\nfunction replaceHashPath(path) {\n window.location.replace(stripHash(window.location.href) + '#' + path);\n}\n\nfunction createHashHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Hash history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canGoWithoutReload = supportsGoWithoutReloadUsingHash();\n var _props = props,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$hashType = _props.hashType,\n hashType = _props$hashType === void 0 ? 'slash' : _props$hashType;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n var _HashPathCoders$hashT = HashPathCoders[hashType],\n encodePath = _HashPathCoders$hashT.encodePath,\n decodePath = _HashPathCoders$hashT.decodePath;\n\n function getDOMLocation() {\n var path = decodePath(getHashPath());\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n var forceNextPop = false;\n var ignorePath = null;\n\n function locationsAreEqual$$1(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash;\n }\n\n function handleHashChange() {\n var path = getHashPath();\n var encodedPath = encodePath(path);\n\n if (path !== encodedPath) {\n // Ensure we always have a properly-encoded hash.\n replaceHashPath(encodedPath);\n } else {\n var location = getDOMLocation();\n var prevLocation = history.location;\n if (!forceNextPop && locationsAreEqual$$1(prevLocation, location)) return; // A hashchange doesn't always == location change.\n\n if (ignorePath === createPath(location)) return; // Ignore this change; we already setState in push/replace.\n\n ignorePath = null;\n handlePop(location);\n }\n }\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of paths we've seen in sessionStorage.\n // Instead, we just default to 0 for paths we don't know.\n\n var toIndex = allPaths.lastIndexOf(createPath(toLocation));\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allPaths.lastIndexOf(createPath(fromLocation));\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n } // Ensure the hash is encoded properly before doing anything else.\n\n\n var path = getHashPath();\n var encodedPath = encodePath(path);\n if (path !== encodedPath) replaceHashPath(encodedPath);\n var initialLocation = getDOMLocation();\n var allPaths = [createPath(initialLocation)]; // Public interface\n\n function createHref(location) {\n var baseTag = document.querySelector('base');\n var href = '';\n\n if (baseTag && baseTag.getAttribute('href')) {\n href = stripHash(window.location.href);\n }\n\n return href + '#' + encodePath(basename + createPath(location));\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot push state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a PUSH, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n pushHashPath(encodedPath);\n var prevIndex = allPaths.lastIndexOf(createPath(history.location));\n var nextPaths = allPaths.slice(0, prevIndex + 1);\n nextPaths.push(path);\n allPaths = nextPaths;\n setState({\n action: action,\n location: location\n });\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'Hash history cannot PUSH the same path; a new entry will not be added to the history stack') : void 0;\n setState();\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot replace state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a REPLACE, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n replaceHashPath(encodedPath);\n }\n\n var prevIndex = allPaths.indexOf(createPath(history.location));\n if (prevIndex !== -1) allPaths[prevIndex] = path;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n process.env.NODE_ENV !== \"production\" ? warning(canGoWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : void 0;\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(HashChangeEvent$1, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(HashChangeEvent$1, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nfunction clamp(n, lowerBound, upperBound) {\n return Math.min(Math.max(n, lowerBound), upperBound);\n}\n/**\n * Creates a history object that stores locations in memory.\n */\n\n\nfunction createMemoryHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n var _props = props,\n getUserConfirmation = _props.getUserConfirmation,\n _props$initialEntries = _props.initialEntries,\n initialEntries = _props$initialEntries === void 0 ? ['/'] : _props$initialEntries,\n _props$initialIndex = _props.initialIndex,\n initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = history.entries.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var index = clamp(initialIndex, 0, initialEntries.length - 1);\n var entries = initialEntries.map(function (entry) {\n return typeof entry === 'string' ? createLocation(entry, undefined, createKey()) : createLocation(entry, undefined, entry.key || createKey());\n }); // Public interface\n\n var createHref = createPath;\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var prevIndex = history.index;\n var nextIndex = prevIndex + 1;\n var nextEntries = history.entries.slice(0);\n\n if (nextEntries.length > nextIndex) {\n nextEntries.splice(nextIndex, nextEntries.length - nextIndex, location);\n } else {\n nextEntries.push(location);\n }\n\n setState({\n action: action,\n location: location,\n index: nextIndex,\n entries: nextEntries\n });\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n history.entries[history.index] = location;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n var nextIndex = clamp(history.index + n, 0, history.entries.length - 1);\n var action = 'POP';\n var location = history.entries[nextIndex];\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location,\n index: nextIndex\n });\n } else {\n // Mimic the behavior of DOM histories by\n // causing a render after a cancelled POP.\n setState();\n }\n });\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n function canGo(n) {\n var nextIndex = history.index + n;\n return nextIndex >= 0 && nextIndex < history.entries.length;\n }\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n return transitionManager.setPrompt(prompt);\n }\n\n function listen(listener) {\n return transitionManager.appendListener(listener);\n }\n\n var history = {\n length: entries.length,\n action: 'POP',\n location: entries[index],\n index: index,\n entries: entries,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n canGo: canGo,\n block: block,\n listen: listen\n };\n return history;\n}\n\nexport { createBrowserHistory, createHashHistory, createMemoryHistory, createLocation, locationsAreEqual, parsePath, createPath };\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/**\n * @license\n * Lodash \n * Copyright OpenJS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;(function() {\n\n /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n var undefined;\n\n /** Used as the semantic version number. */\n var VERSION = '4.17.21';\n\n /** Used as the size to enable large array optimizations. */\n var LARGE_ARRAY_SIZE = 200;\n\n /** Error message constants. */\n var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n FUNC_ERROR_TEXT = 'Expected a function',\n INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';\n\n /** Used to stand-in for `undefined` hash values. */\n var HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n /** Used as the maximum memoize cache size. */\n var MAX_MEMOIZE_SIZE = 500;\n\n /** Used as the internal argument placeholder. */\n var PLACEHOLDER = '__lodash_placeholder__';\n\n /** Used to compose bitmasks for cloning. */\n var CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n /** Used to compose bitmasks for value comparisons. */\n var COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n /** Used to compose bitmasks for function metadata. */\n var WRAP_BIND_FLAG = 1,\n WRAP_BIND_KEY_FLAG = 2,\n WRAP_CURRY_BOUND_FLAG = 4,\n WRAP_CURRY_FLAG = 8,\n WRAP_CURRY_RIGHT_FLAG = 16,\n WRAP_PARTIAL_FLAG = 32,\n WRAP_PARTIAL_RIGHT_FLAG = 64,\n WRAP_ARY_FLAG = 128,\n WRAP_REARG_FLAG = 256,\n WRAP_FLIP_FLAG = 512;\n\n /** Used as default options for `_.truncate`. */\n var DEFAULT_TRUNC_LENGTH = 30,\n DEFAULT_TRUNC_OMISSION = '...';\n\n /** Used to detect hot functions by number of calls within a span of milliseconds. */\n var HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n /** Used to indicate the type of lazy iteratees. */\n var LAZY_FILTER_FLAG = 1,\n LAZY_MAP_FLAG = 2,\n LAZY_WHILE_FLAG = 3;\n\n /** Used as references for various `Number` constants. */\n var INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n /** Used as references for the maximum length and index of an array. */\n var MAX_ARRAY_LENGTH = 4294967295,\n MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\n /** Used to associate wrap methods with their bit flags. */\n var wrapFlags = [\n ['ary', WRAP_ARY_FLAG],\n ['bind', WRAP_BIND_FLAG],\n ['bindKey', WRAP_BIND_KEY_FLAG],\n ['curry', WRAP_CURRY_FLAG],\n ['curryRight', WRAP_CURRY_RIGHT_FLAG],\n ['flip', WRAP_FLIP_FLAG],\n ['partial', WRAP_PARTIAL_FLAG],\n ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],\n ['rearg', WRAP_REARG_FLAG]\n ];\n\n /** `Object#toString` result references. */\n var argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n domExcTag = '[object DOMException]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]',\n weakSetTag = '[object WeakSet]';\n\n var arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n /** Used to match empty string literals in compiled template source. */\n var reEmptyStringLeading = /\\b__p \\+= '';/g,\n reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n /** Used to match HTML entities and HTML characters. */\n var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n reUnescapedHtml = /[&<>\"']/g,\n reHasEscapedHtml = RegExp(reEscapedHtml.source),\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n /** Used to match template delimiters. */\n var reEscape = /<%-([\\s\\S]+?)%>/g,\n reEvaluate = /<%([\\s\\S]+?)%>/g,\n reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\n /** Used to match property names within property paths. */\n var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n /**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n\n /** Used to match leading whitespace. */\n var reTrimStart = /^\\s+/;\n\n /** Used to match a single whitespace character. */\n var reWhitespace = /\\s/;\n\n /** Used to match wrap detail comments. */\n var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n reSplitDetails = /,? & /;\n\n /** Used to match words composed of alphanumeric characters. */\n var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n /**\n * Used to validate the `validate` option in `_.template` variable.\n *\n * Forbids characters which could potentially change the meaning of the function argument definition:\n * - \"(),\" (modification of function parameters)\n * - \"=\" (default value)\n * - \"[]{}\" (destructuring of function parameters)\n * - \"/\" (beginning of a comment)\n * - whitespace\n */\n var reForbiddenIdentifierChars = /[()=,{}\\[\\]\\/\\s]/;\n\n /** Used to match backslashes in property paths. */\n var reEscapeChar = /\\\\(\\\\)?/g;\n\n /**\n * Used to match\n * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n */\n var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n /** Used to match `RegExp` flags from their coerced string values. */\n var reFlags = /\\w*$/;\n\n /** Used to detect bad signed hexadecimal string values. */\n var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n /** Used to detect binary string values. */\n var reIsBinary = /^0b[01]+$/i;\n\n /** Used to detect host constructors (Safari). */\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n /** Used to detect octal string values. */\n var reIsOctal = /^0o[0-7]+$/i;\n\n /** Used to detect unsigned integer values. */\n var reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n /** Used to match Latin Unicode letters (excluding mathematical operators). */\n var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n /** Used to ensure capturing order of template delimiters. */\n var reNoMatch = /($^)/;\n\n /** Used to match unescaped characters in compiled string literals. */\n var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n /** Used to compose unicode character classes. */\n var rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsDingbatRange = '\\\\u2700-\\\\u27bf',\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = '\\\\u2000-\\\\u206f',\n rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = '\\\\ufe0e\\\\ufe0f',\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n /** Used to compose unicode capture groups. */\n var rsApos = \"['\\u2019]\",\n rsAstral = '[' + rsAstralRange + ']',\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = '\\\\u200d';\n\n /** Used to compose unicode regexes. */\n var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n /** Used to match apostrophes. */\n var reApos = RegExp(rsApos, 'g');\n\n /**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\n var reComboMark = RegExp(rsCombo, 'g');\n\n /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n /** Used to match complex or compound words. */\n var reUnicodeWord = RegExp([\n rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n rsUpper + '+' + rsOptContrUpper,\n rsOrdUpper,\n rsOrdLower,\n rsDigits,\n rsEmoji\n ].join('|'), 'g');\n\n /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n /** Used to detect strings that need a more robust regexp to match words. */\n var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n /** Used to assign default `context` object properties. */\n var contextProps = [\n 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',\n 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',\n 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',\n 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'\n ];\n\n /** Used to make template sourceURLs easier to identify. */\n var templateCounter = -1;\n\n /** Used to identify `toStringTag` values of typed arrays. */\n var typedArrayTags = {};\n typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n typedArrayTags[uint32Tag] = true;\n typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\n typedArrayTags[errorTag] = typedArrayTags[funcTag] =\n typedArrayTags[mapTag] = typedArrayTags[numberTag] =\n typedArrayTags[objectTag] = typedArrayTags[regexpTag] =\n typedArrayTags[setTag] = typedArrayTags[stringTag] =\n typedArrayTags[weakMapTag] = false;\n\n /** Used to identify `toStringTag` values supported by `_.clone`. */\n var cloneableTags = {};\n cloneableTags[argsTag] = cloneableTags[arrayTag] =\n cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\n cloneableTags[boolTag] = cloneableTags[dateTag] =\n cloneableTags[float32Tag] = cloneableTags[float64Tag] =\n cloneableTags[int8Tag] = cloneableTags[int16Tag] =\n cloneableTags[int32Tag] = cloneableTags[mapTag] =\n cloneableTags[numberTag] = cloneableTags[objectTag] =\n cloneableTags[regexpTag] = cloneableTags[setTag] =\n cloneableTags[stringTag] = cloneableTags[symbolTag] =\n cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n cloneableTags[errorTag] = cloneableTags[funcTag] =\n cloneableTags[weakMapTag] = false;\n\n /** Used to map Latin Unicode letters to basic Latin letters. */\n var deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n '\\xc7': 'C', '\\xe7': 'c',\n '\\xd0': 'D', '\\xf0': 'd',\n '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n '\\xcc': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n '\\xec': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n '\\xd1': 'N', '\\xf1': 'n',\n '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n '\\xc6': 'Ae', '\\xe6': 'ae',\n '\\xde': 'Th', '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n '\\u0100': 'A', '\\u0102': 'A', '\\u0104': 'A',\n '\\u0101': 'a', '\\u0103': 'a', '\\u0105': 'a',\n '\\u0106': 'C', '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n '\\u0107': 'c', '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n '\\u010e': 'D', '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n '\\u0112': 'E', '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n '\\u0113': 'e', '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n '\\u011c': 'G', '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n '\\u011d': 'g', '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n '\\u0124': 'H', '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n '\\u0128': 'I', '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n '\\u0129': 'i', '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n '\\u0134': 'J', '\\u0135': 'j',\n '\\u0136': 'K', '\\u0137': 'k', '\\u0138': 'k',\n '\\u0139': 'L', '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n '\\u013a': 'l', '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n '\\u0143': 'N', '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n '\\u0144': 'n', '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n '\\u014c': 'O', '\\u014e': 'O', '\\u0150': 'O',\n '\\u014d': 'o', '\\u014f': 'o', '\\u0151': 'o',\n '\\u0154': 'R', '\\u0156': 'R', '\\u0158': 'R',\n '\\u0155': 'r', '\\u0157': 'r', '\\u0159': 'r',\n '\\u015a': 'S', '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n '\\u015b': 's', '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n '\\u0162': 'T', '\\u0164': 'T', '\\u0166': 'T',\n '\\u0163': 't', '\\u0165': 't', '\\u0167': 't',\n '\\u0168': 'U', '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n '\\u0169': 'u', '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n '\\u0174': 'W', '\\u0175': 'w',\n '\\u0176': 'Y', '\\u0177': 'y', '\\u0178': 'Y',\n '\\u0179': 'Z', '\\u017b': 'Z', '\\u017d': 'Z',\n '\\u017a': 'z', '\\u017c': 'z', '\\u017e': 'z',\n '\\u0132': 'IJ', '\\u0133': 'ij',\n '\\u0152': 'Oe', '\\u0153': 'oe',\n '\\u0149': \"'n\", '\\u017f': 's'\n };\n\n /** Used to map characters to HTML entities. */\n var htmlEscapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n };\n\n /** Used to map HTML entities to characters. */\n var htmlUnescapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '"': '\"',\n ''': \"'\"\n };\n\n /** Used to escape characters for inclusion in compiled string literals. */\n var stringEscapes = {\n '\\\\': '\\\\',\n \"'\": \"'\",\n '\\n': 'n',\n '\\r': 'r',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n };\n\n /** Built-in method references without a dependency on `root`. */\n var freeParseFloat = parseFloat,\n freeParseInt = parseInt;\n\n /** Detect free variable `global` from Node.js. */\n var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n /** Detect free variable `self`. */\n var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n /** Used as a reference to the global object. */\n var root = freeGlobal || freeSelf || Function('return this')();\n\n /** Detect free variable `exports`. */\n var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n /** Detect free variable `module`. */\n var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n /** Detect the popular CommonJS extension `module.exports`. */\n var moduleExports = freeModule && freeModule.exports === freeExports;\n\n /** Detect free variable `process` from Node.js. */\n var freeProcess = moduleExports && freeGlobal.process;\n\n /** Used to access faster Node.js helpers. */\n var nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n }());\n\n /* Node.js helper references. */\n var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n nodeIsDate = nodeUtil && nodeUtil.isDate,\n nodeIsMap = nodeUtil && nodeUtil.isMap,\n nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n nodeIsSet = nodeUtil && nodeUtil.isSet,\n nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\n function apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n }\n\n /**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.forEachRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEachRight(array, iteratee) {\n var length = array == null ? 0 : array.length;\n\n while (length--) {\n if (iteratee(array[length], length, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.every` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n */\n function arrayEvery(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (!predicate(array[index], index, array)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n }\n\n /**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n }\n\n /**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\n function arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n }\n\n /**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.reduceRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the last element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n var length = array == null ? 0 : array.length;\n if (initAccum && length) {\n accumulator = array[--length];\n }\n while (length--) {\n accumulator = iteratee(accumulator, array[length], length, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n var asciiSize = baseProperty('length');\n\n /**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function asciiToArray(string) {\n return string.split('');\n }\n\n /**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function asciiWords(string) {\n return string.match(reAsciiWord) || [];\n }\n\n /**\n * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n * without support for iteratee shorthands, which iterates over `collection`\n * using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the found element or its key, else `undefined`.\n */\n function baseFindKey(collection, predicate, eachFunc) {\n var result;\n eachFunc(collection, function(value, key, collection) {\n if (predicate(value, key, collection)) {\n result = key;\n return false;\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n }\n\n /**\n * This function is like `baseIndexOf` except that it accepts a comparator.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOfWith(array, value, fromIndex, comparator) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (comparator(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\n function baseIsNaN(value) {\n return value !== value;\n }\n\n /**\n * The base implementation of `_.mean` and `_.meanBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the mean.\n */\n function baseMean(array, iteratee) {\n var length = array == null ? 0 : array.length;\n return length ? (baseSum(array, iteratee) / length) : NAN;\n }\n\n /**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\n function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\n function baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.sum` and `_.sumBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\n function baseSum(array, iteratee) {\n var result,\n index = -1,\n length = array.length;\n\n while (++index < length) {\n var current = iteratee(array[index]);\n if (current !== undefined) {\n result = result === undefined ? current : (result + current);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\n function baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n * of key-value pairs for `object` corresponding to the property names of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the key-value pairs.\n */\n function baseToPairs(object, props) {\n return arrayMap(props, function(key) {\n return [key, object[key]];\n });\n }\n\n /**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\n function baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n }\n\n /**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\n function baseUnary(func) {\n return function(value) {\n return func(value);\n };\n }\n\n /**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\n function baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n }\n\n /**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function cacheHas(cache, key) {\n return cache.has(key);\n }\n\n /**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\n function charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\n function charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Gets the number of `placeholder` occurrences in `array`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} placeholder The placeholder to search for.\n * @returns {number} Returns the placeholder count.\n */\n function countHolders(array, placeholder) {\n var length = array.length,\n result = 0;\n\n while (length--) {\n if (array[length] === placeholder) {\n ++result;\n }\n }\n return result;\n }\n\n /**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\n var deburrLetter = basePropertyOf(deburredLetters);\n\n /**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n var escapeHtmlChar = basePropertyOf(htmlEscapes);\n\n /**\n * Used by `_.template` to escape characters for inclusion in compiled string literals.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n function escapeStringChar(chr) {\n return '\\\\' + stringEscapes[chr];\n }\n\n /**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function getValue(object, key) {\n return object == null ? undefined : object[key];\n }\n\n /**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\n function hasUnicode(string) {\n return reHasUnicode.test(string);\n }\n\n /**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\n function hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n }\n\n /**\n * Converts `iterator` to an array.\n *\n * @private\n * @param {Object} iterator The iterator to convert.\n * @returns {Array} Returns the converted array.\n */\n function iteratorToArray(iterator) {\n var data,\n result = [];\n\n while (!(data = iterator.next()).done) {\n result.push(data.value);\n }\n return result;\n }\n\n /**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\n function mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n }\n\n /**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\n function overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n }\n\n /**\n * Replaces all `placeholder` elements in `array` with an internal placeholder\n * and returns an array of their indexes.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {*} placeholder The placeholder to replace.\n * @returns {Array} Returns the new array of placeholder indexes.\n */\n function replaceHolders(array, placeholder) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value === placeholder || value === PLACEHOLDER) {\n array[index] = PLACEHOLDER;\n result[resIndex++] = index;\n }\n }\n return result;\n }\n\n /**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\n function setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n }\n\n /**\n * Converts `set` to its value-value pairs.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the value-value pairs.\n */\n function setToPairs(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = [value, value];\n });\n return result;\n }\n\n /**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * A specialized version of `_.lastIndexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictLastIndexOf(array, value, fromIndex) {\n var index = fromIndex + 1;\n while (index--) {\n if (array[index] === value) {\n return index;\n }\n }\n return index;\n }\n\n /**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\n function stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n }\n\n /**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\n function trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n }\n\n /**\n * Used by `_.unescape` to convert HTML entities to characters.\n *\n * @private\n * @param {string} chr The matched character to unescape.\n * @returns {string} Returns the unescaped character.\n */\n var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n\n /**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n function unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n }\n\n /**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function unicodeToArray(string) {\n return string.match(reUnicode) || [];\n }\n\n /**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n }\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * Create a new pristine `lodash` function using the `context` object.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Util\n * @param {Object} [context=root] The context object.\n * @returns {Function} Returns a new `lodash` function.\n * @example\n *\n * _.mixin({ 'foo': _.constant('foo') });\n *\n * var lodash = _.runInContext();\n * lodash.mixin({ 'bar': lodash.constant('bar') });\n *\n * _.isFunction(_.foo);\n * // => true\n * _.isFunction(_.bar);\n * // => false\n *\n * lodash.isFunction(lodash.foo);\n * // => false\n * lodash.isFunction(lodash.bar);\n * // => true\n *\n * // Create a suped-up `defer` in Node.js.\n * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n */\n var runInContext = (function runInContext(context) {\n context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n\n /** Built-in constructor references. */\n var Array = context.Array,\n Date = context.Date,\n Error = context.Error,\n Function = context.Function,\n Math = context.Math,\n Object = context.Object,\n RegExp = context.RegExp,\n String = context.String,\n TypeError = context.TypeError;\n\n /** Used for built-in method references. */\n var arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n /** Used to detect overreaching core-js shims. */\n var coreJsData = context['__core-js_shared__'];\n\n /** Used to resolve the decompiled source of functions. */\n var funcToString = funcProto.toString;\n\n /** Used to check objects for own properties. */\n var hasOwnProperty = objectProto.hasOwnProperty;\n\n /** Used to generate unique IDs. */\n var idCounter = 0;\n\n /** Used to detect methods masquerading as native. */\n var maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n }());\n\n /**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n var nativeObjectToString = objectProto.toString;\n\n /** Used to infer the `Object` constructor. */\n var objectCtorString = funcToString.call(Object);\n\n /** Used to restore the original `_` reference in `_.noConflict`. */\n var oldDash = root._;\n\n /** Used to detect if a method is native. */\n var reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n );\n\n /** Built-in value references. */\n var Buffer = moduleExports ? context.Buffer : undefined,\n Symbol = context.Symbol,\n Uint8Array = context.Uint8Array,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,\n symIterator = Symbol ? Symbol.iterator : undefined,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n var defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n }());\n\n /** Mocked built-ins. */\n var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n ctxNow = Date && Date.now !== root.Date.now && Date.now,\n ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n\n /* Built-in method references for those with the same name as other `lodash` methods. */\n var nativeCeil = Math.ceil,\n nativeFloor = Math.floor,\n nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeIsFinite = context.isFinite,\n nativeJoin = arrayProto.join,\n nativeKeys = overArg(Object.keys, Object),\n nativeMax = Math.max,\n nativeMin = Math.min,\n nativeNow = Date.now,\n nativeParseInt = context.parseInt,\n nativeRandom = Math.random,\n nativeReverse = arrayProto.reverse;\n\n /* Built-in method references that are verified to be native. */\n var DataView = getNative(context, 'DataView'),\n Map = getNative(context, 'Map'),\n Promise = getNative(context, 'Promise'),\n Set = getNative(context, 'Set'),\n WeakMap = getNative(context, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n /** Used to store function metadata. */\n var metaMap = WeakMap && new WeakMap;\n\n /** Used to lookup unminified function names. */\n var realNames = {};\n\n /** Used to detect maps, sets, and weakmaps. */\n var dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n /** Used to convert symbols to primitives and strings. */\n var symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` object which wraps `value` to enable implicit method\n * chain sequences. Methods that operate on and return arrays, collections,\n * and functions can be chained together. Methods that retrieve a single value\n * or may return a primitive value will automatically end the chain sequence\n * and return the unwrapped value. Otherwise, the value must be unwrapped\n * with `_#value`.\n *\n * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n * enabled using `_.chain`.\n *\n * The execution of chained methods is lazy, that is, it's deferred until\n * `_#value` is implicitly or explicitly called.\n *\n * Lazy evaluation allows several methods to support shortcut fusion.\n * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n * the creation of intermediate arrays and can greatly reduce the number of\n * iteratee executions. Sections of a chain sequence qualify for shortcut\n * fusion if the section is applied to an array and iteratees accept only\n * one argument. The heuristic for whether a section qualifies for shortcut\n * fusion is subject to change.\n *\n * Chaining is supported in custom builds as long as the `_#value` method is\n * directly or indirectly included in the build.\n *\n * In addition to lodash methods, wrappers have `Array` and `String` methods.\n *\n * The wrapper `Array` methods are:\n * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n *\n * The wrapper `String` methods are:\n * `replace` and `split`\n *\n * The wrapper methods that support shortcut fusion are:\n * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n *\n * The chainable wrapper methods are:\n * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n * `zipObject`, `zipObjectDeep`, and `zipWith`\n *\n * The wrapper methods that are **not** chainable by default are:\n * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n * `upperFirst`, `value`, and `words`\n *\n * @name _\n * @constructor\n * @category Seq\n * @param {*} value The value to wrap in a `lodash` instance.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2, 3]);\n *\n * // Returns an unwrapped value.\n * wrapped.reduce(_.add);\n * // => 6\n *\n * // Returns a wrapped value.\n * var squares = wrapped.map(square);\n *\n * _.isArray(squares);\n * // => false\n *\n * _.isArray(squares.value());\n * // => true\n */\n function lodash(value) {\n if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n if (value instanceof LodashWrapper) {\n return value;\n }\n if (hasOwnProperty.call(value, '__wrapped__')) {\n return wrapperClone(value);\n }\n }\n return new LodashWrapper(value);\n }\n\n /**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\n var baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n }());\n\n /**\n * The function whose prototype chain sequence wrappers inherit from.\n *\n * @private\n */\n function baseLodash() {\n // No operation performed.\n }\n\n /**\n * The base constructor for creating `lodash` wrapper objects.\n *\n * @private\n * @param {*} value The value to wrap.\n * @param {boolean} [chainAll] Enable explicit method chain sequences.\n */\n function LodashWrapper(value, chainAll) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__chain__ = !!chainAll;\n this.__index__ = 0;\n this.__values__ = undefined;\n }\n\n /**\n * By default, the template delimiters used by lodash are like those in\n * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n * following template settings to use alternative delimiters.\n *\n * @static\n * @memberOf _\n * @type {Object}\n */\n lodash.templateSettings = {\n\n /**\n * Used to detect `data` property values to be HTML-escaped.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'escape': reEscape,\n\n /**\n * Used to detect code to be evaluated.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'evaluate': reEvaluate,\n\n /**\n * Used to detect `data` property values to inject.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'interpolate': reInterpolate,\n\n /**\n * Used to reference the data object in the template text.\n *\n * @memberOf _.templateSettings\n * @type {string}\n */\n 'variable': '',\n\n /**\n * Used to import variables into the compiled template.\n *\n * @memberOf _.templateSettings\n * @type {Object}\n */\n 'imports': {\n\n /**\n * A reference to the `lodash` function.\n *\n * @memberOf _.templateSettings.imports\n * @type {Function}\n */\n '_': lodash\n }\n };\n\n // Ensure wrappers are instances of `baseLodash`.\n lodash.prototype = baseLodash.prototype;\n lodash.prototype.constructor = lodash;\n\n LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n LodashWrapper.prototype.constructor = LodashWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n *\n * @private\n * @constructor\n * @param {*} value The value to wrap.\n */\n function LazyWrapper(value) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__dir__ = 1;\n this.__filtered__ = false;\n this.__iteratees__ = [];\n this.__takeCount__ = MAX_ARRAY_LENGTH;\n this.__views__ = [];\n }\n\n /**\n * Creates a clone of the lazy wrapper object.\n *\n * @private\n * @name clone\n * @memberOf LazyWrapper\n * @returns {Object} Returns the cloned `LazyWrapper` object.\n */\n function lazyClone() {\n var result = new LazyWrapper(this.__wrapped__);\n result.__actions__ = copyArray(this.__actions__);\n result.__dir__ = this.__dir__;\n result.__filtered__ = this.__filtered__;\n result.__iteratees__ = copyArray(this.__iteratees__);\n result.__takeCount__ = this.__takeCount__;\n result.__views__ = copyArray(this.__views__);\n return result;\n }\n\n /**\n * Reverses the direction of lazy iteration.\n *\n * @private\n * @name reverse\n * @memberOf LazyWrapper\n * @returns {Object} Returns the new reversed `LazyWrapper` object.\n */\n function lazyReverse() {\n if (this.__filtered__) {\n var result = new LazyWrapper(this);\n result.__dir__ = -1;\n result.__filtered__ = true;\n } else {\n result = this.clone();\n result.__dir__ *= -1;\n }\n return result;\n }\n\n /**\n * Extracts the unwrapped value from its lazy wrapper.\n *\n * @private\n * @name value\n * @memberOf LazyWrapper\n * @returns {*} Returns the unwrapped value.\n */\n function lazyValue() {\n var array = this.__wrapped__.value(),\n dir = this.__dir__,\n isArr = isArray(array),\n isRight = dir < 0,\n arrLength = isArr ? array.length : 0,\n view = getView(0, arrLength, this.__views__),\n start = view.start,\n end = view.end,\n length = end - start,\n index = isRight ? end : (start - 1),\n iteratees = this.__iteratees__,\n iterLength = iteratees.length,\n resIndex = 0,\n takeCount = nativeMin(length, this.__takeCount__);\n\n if (!isArr || (!isRight && arrLength == length && takeCount == length)) {\n return baseWrapperValue(array, this.__actions__);\n }\n var result = [];\n\n outer:\n while (length-- && resIndex < takeCount) {\n index += dir;\n\n var iterIndex = -1,\n value = array[index];\n\n while (++iterIndex < iterLength) {\n var data = iteratees[iterIndex],\n iteratee = data.iteratee,\n type = data.type,\n computed = iteratee(value);\n\n if (type == LAZY_MAP_FLAG) {\n value = computed;\n } else if (!computed) {\n if (type == LAZY_FILTER_FLAG) {\n continue outer;\n } else {\n break outer;\n }\n }\n }\n result[resIndex++] = value;\n }\n return result;\n }\n\n // Ensure `LazyWrapper` is an instance of `baseLodash`.\n LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n LazyWrapper.prototype.constructor = LazyWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\n function hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n }\n\n /**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n }\n\n /**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\n function hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n }\n\n // Add methods to `Hash`.\n Hash.prototype.clear = hashClear;\n Hash.prototype['delete'] = hashDelete;\n Hash.prototype.get = hashGet;\n Hash.prototype.has = hashHas;\n Hash.prototype.set = hashSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\n function listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n }\n\n /**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n }\n\n /**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n }\n\n /**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\n function listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n }\n\n // Add methods to `ListCache`.\n ListCache.prototype.clear = listCacheClear;\n ListCache.prototype['delete'] = listCacheDelete;\n ListCache.prototype.get = listCacheGet;\n ListCache.prototype.has = listCacheHas;\n ListCache.prototype.set = listCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\n function mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n }\n\n /**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function mapCacheGet(key) {\n return getMapData(this, key).get(key);\n }\n\n /**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function mapCacheHas(key) {\n return getMapData(this, key).has(key);\n }\n\n /**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\n function mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n }\n\n // Add methods to `MapCache`.\n MapCache.prototype.clear = mapCacheClear;\n MapCache.prototype['delete'] = mapCacheDelete;\n MapCache.prototype.get = mapCacheGet;\n MapCache.prototype.has = mapCacheHas;\n MapCache.prototype.set = mapCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\n function SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n }\n\n /**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\n function setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n }\n\n /**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\n function setCacheHas(value) {\n return this.__data__.has(value);\n }\n\n // Add methods to `SetCache`.\n SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n SetCache.prototype.has = setCacheHas;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n }\n\n /**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\n function stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n }\n\n /**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function stackGet(key) {\n return this.__data__.get(key);\n }\n\n /**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function stackHas(key) {\n return this.__data__.has(key);\n }\n\n /**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\n function stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n }\n\n // Add methods to `Stack`.\n Stack.prototype.clear = stackClear;\n Stack.prototype['delete'] = stackDelete;\n Stack.prototype.get = stackGet;\n Stack.prototype.has = stackHas;\n Stack.prototype.set = stackSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\n function arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.sample` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @returns {*} Returns the random element.\n */\n function arraySample(array) {\n var length = array.length;\n return length ? array[baseRandom(0, length - 1)] : undefined;\n }\n\n /**\n * A specialized version of `_.sampleSize` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function arraySampleSize(array, n) {\n return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n }\n\n /**\n * A specialized version of `_.shuffle` for arrays.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function arrayShuffle(array) {\n return shuffleSelf(copyArray(array));\n }\n\n /**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n }\n\n /**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function(value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n }\n\n /**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n }\n\n /**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n }\n\n /**\n * The base implementation of `_.at` without support for individual paths.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {string[]} paths The property paths to pick.\n * @returns {Array} Returns the picked elements.\n */\n function baseAt(object, paths) {\n var index = -1,\n length = paths.length,\n result = Array(length),\n skip = object == null;\n\n while (++index < length) {\n result[index] = skip ? undefined : get(object, paths[index]);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.clamp` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n */\n function baseClamp(number, lower, upper) {\n if (number === number) {\n if (upper !== undefined) {\n number = number <= upper ? number : upper;\n }\n if (lower !== undefined) {\n number = number >= lower ? number : lower;\n }\n }\n return number;\n }\n\n /**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\n function baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n }\n\n /**\n * The base implementation of `_.conforms` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property predicates to conform to.\n * @returns {Function} Returns the new spec function.\n */\n function baseConforms(source) {\n var props = keys(source);\n return function(object) {\n return baseConformsTo(object, source, props);\n };\n }\n\n /**\n * The base implementation of `_.conformsTo` which accepts `props` to check.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n */\n function baseConformsTo(object, source, props) {\n var length = props.length;\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (length--) {\n var key = props[length],\n predicate = source[key],\n value = object[key];\n\n if ((value === undefined && !(key in object)) || !predicate(value)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.delay` and `_.defer` which accepts `args`\n * to provide to `func`.\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {Array} args The arguments to provide to `func`.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n function baseDelay(func, wait, args) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return setTimeout(function() { func.apply(undefined, args); }, wait);\n }\n\n /**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\n function baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEach = createBaseEach(baseForOwn);\n\n /**\n * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEachRight = createBaseEach(baseForOwnRight, true);\n\n /**\n * The base implementation of `_.every` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`\n */\n function baseEvery(collection, predicate) {\n var result = true;\n baseEach(collection, function(value, index, collection) {\n result = !!predicate(value, index, collection);\n return result;\n });\n return result;\n }\n\n /**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\n function baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.fill` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n */\n function baseFill(array, value, start, end) {\n var length = array.length;\n\n start = toInteger(start);\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = (end === undefined || end > length) ? length : toInteger(end);\n if (end < 0) {\n end += length;\n }\n end = start > end ? 0 : toLength(end);\n while (start < end) {\n array[start++] = value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\n function baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseFor = createBaseFor();\n\n /**\n * This function is like `baseFor` except that it iterates over properties\n * in the opposite order.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseForRight = createBaseFor(true);\n\n /**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwnRight(object, iteratee) {\n return object && baseForRight(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.functions` which creates an array of\n * `object` function property names filtered from `props`.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} props The property names to filter.\n * @returns {Array} Returns the function names.\n */\n function baseFunctions(object, props) {\n return arrayFilter(props, function(key) {\n return isFunction(object[key]);\n });\n }\n\n /**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\n function baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n }\n\n /**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n }\n\n /**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n function baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n }\n\n /**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\n function baseGt(value, other) {\n return value > other;\n }\n\n /**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n }\n\n /**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHasIn(object, key) {\n return object != null && key in Object(object);\n }\n\n /**\n * The base implementation of `_.inRange` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to check.\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n */\n function baseInRange(number, start, end) {\n return number >= nativeMin(start, end) && number < nativeMax(start, end);\n }\n\n /**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\n function baseIntersection(arrays, iteratee, comparator) {\n var includes = comparator ? arrayIncludesWith : arrayIncludes,\n length = arrays[0].length,\n othLength = arrays.length,\n othIndex = othLength,\n caches = Array(othLength),\n maxLength = Infinity,\n result = [];\n\n while (othIndex--) {\n var array = arrays[othIndex];\n if (othIndex && iteratee) {\n array = arrayMap(array, baseUnary(iteratee));\n }\n maxLength = nativeMin(array.length, maxLength);\n caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n ? new SetCache(othIndex && array)\n : undefined;\n }\n array = arrays[0];\n\n var index = -1,\n seen = caches[0];\n\n outer:\n while (++index < length && result.length < maxLength) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (!(seen\n ? cacheHas(seen, computed)\n : includes(result, computed, comparator)\n )) {\n othIndex = othLength;\n while (--othIndex) {\n var cache = caches[othIndex];\n if (!(cache\n ? cacheHas(cache, computed)\n : includes(arrays[othIndex], computed, comparator))\n ) {\n continue outer;\n }\n }\n if (seen) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.invert` and `_.invertBy` which inverts\n * `object` with values transformed by `iteratee` and set by `setter`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform values.\n * @param {Object} accumulator The initial inverted object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseInverter(object, setter, iteratee, accumulator) {\n baseForOwn(object, function(value, key, object) {\n setter(accumulator, iteratee(value), key, object);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.invoke` without support for individual\n * method arguments.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {Array} args The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n */\n function baseInvoke(object, path, args) {\n path = castPath(path, object);\n object = parent(object, path);\n var func = object == null ? object : object[toKey(last(path))];\n return func == null ? undefined : apply(func, object, args);\n }\n\n /**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\n function baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n }\n\n /**\n * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n */\n function baseIsArrayBuffer(value) {\n return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n }\n\n /**\n * The base implementation of `_.isDate` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n */\n function baseIsDate(value) {\n return isObjectLike(value) && baseGetTag(value) == dateTag;\n }\n\n /**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\n function baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n }\n\n /**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n }\n\n /**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\n function baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n }\n\n /**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\n function baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\n function baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n }\n\n /**\n * The base implementation of `_.isRegExp` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n */\n function baseIsRegExp(value) {\n return isObjectLike(value) && baseGetTag(value) == regexpTag;\n }\n\n /**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\n function baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n }\n\n /**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\n function baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n }\n\n /**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\n function baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n }\n\n /**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\n function baseLt(value, other) {\n return value < other;\n }\n\n /**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n }\n\n /**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n }\n\n /**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n }\n\n /**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n }\n\n /**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n }\n\n /**\n * The base implementation of `_.nth` which doesn't coerce arguments.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {number} n The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n */\n function baseNth(array, n) {\n var length = array.length;\n if (!length) {\n return;\n }\n n += n < 0 ? length : 0;\n return isIndex(n, length) ? array[n] : undefined;\n }\n\n /**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\n function baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n }\n\n /**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\n function basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n }\n\n /**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\n function basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n }\n\n /**\n * The base implementation of `_.pullAllBy` without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n */\n function basePullAll(array, values, iteratee, comparator) {\n var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n index = -1,\n length = values.length,\n seen = array;\n\n if (array === values) {\n values = copyArray(values);\n }\n if (iteratee) {\n seen = arrayMap(array, baseUnary(iteratee));\n }\n while (++index < length) {\n var fromIndex = 0,\n value = values[index],\n computed = iteratee ? iteratee(value) : value;\n\n while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n if (seen !== array) {\n splice.call(seen, fromIndex, 1);\n }\n splice.call(array, fromIndex, 1);\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.pullAt` without support for individual\n * indexes or capturing the removed elements.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {number[]} indexes The indexes of elements to remove.\n * @returns {Array} Returns `array`.\n */\n function basePullAt(array, indexes) {\n var length = array ? indexes.length : 0,\n lastIndex = length - 1;\n\n while (length--) {\n var index = indexes[length];\n if (length == lastIndex || index !== previous) {\n var previous = index;\n if (isIndex(index)) {\n splice.call(array, index, 1);\n } else {\n baseUnset(array, index);\n }\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.random` without support for returning\n * floating-point numbers.\n *\n * @private\n * @param {number} lower The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the random number.\n */\n function baseRandom(lower, upper) {\n return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n }\n\n /**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\n function baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n }\n\n /**\n * The base implementation of `_.repeat` which doesn't coerce arguments.\n *\n * @private\n * @param {string} string The string to repeat.\n * @param {number} n The number of times to repeat the string.\n * @returns {string} Returns the repeated string.\n */\n function baseRepeat(string, n) {\n var result = '';\n if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n return result;\n }\n // Leverage the exponentiation by squaring algorithm for a faster repeat.\n // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n do {\n if (n % 2) {\n result += string;\n }\n n = nativeFloor(n / 2);\n if (n) {\n string += string;\n }\n } while (n);\n\n return result;\n }\n\n /**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\n function baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n }\n\n /**\n * The base implementation of `_.sample`.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n */\n function baseSample(collection) {\n return arraySample(values(collection));\n }\n\n /**\n * The base implementation of `_.sampleSize` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function baseSampleSize(collection, n) {\n var array = values(collection);\n return shuffleSelf(array, baseClamp(n, 0, array.length));\n }\n\n /**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return object;\n }\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n }\n\n /**\n * The base implementation of `setData` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var baseSetData = !metaMap ? identity : function(func, data) {\n metaMap.set(func, data);\n return func;\n };\n\n /**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n };\n\n /**\n * The base implementation of `_.shuffle`.\n *\n * @private\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function baseShuffle(collection) {\n return shuffleSelf(values(collection));\n }\n\n /**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n }\n\n /**\n * The base implementation of `_.some` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function baseSome(collection, predicate) {\n var result;\n\n baseEach(collection, function(value, index, collection) {\n result = predicate(value, index, collection);\n return !result;\n });\n return !!result;\n }\n\n /**\n * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n * performs a binary search of `array` to determine the index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndex(array, value, retHighest) {\n var low = 0,\n high = array == null ? low : array.length;\n\n if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n while (low < high) {\n var mid = (low + high) >>> 1,\n computed = array[mid];\n\n if (computed !== null && !isSymbol(computed) &&\n (retHighest ? (computed <= value) : (computed < value))) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return high;\n }\n return baseSortedIndexBy(array, value, identity, retHighest);\n }\n\n /**\n * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n * which invokes `iteratee` for `value` and each element of `array` to compute\n * their sort ranking. The iteratee is invoked with one argument; (value).\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} iteratee The iteratee invoked per element.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndexBy(array, value, iteratee, retHighest) {\n var low = 0,\n high = array == null ? 0 : array.length;\n if (high === 0) {\n return 0;\n }\n\n value = iteratee(value);\n var valIsNaN = value !== value,\n valIsNull = value === null,\n valIsSymbol = isSymbol(value),\n valIsUndefined = value === undefined;\n\n while (low < high) {\n var mid = nativeFloor((low + high) / 2),\n computed = iteratee(array[mid]),\n othIsDefined = computed !== undefined,\n othIsNull = computed === null,\n othIsReflexive = computed === computed,\n othIsSymbol = isSymbol(computed);\n\n if (valIsNaN) {\n var setLow = retHighest || othIsReflexive;\n } else if (valIsUndefined) {\n setLow = othIsReflexive && (retHighest || othIsDefined);\n } else if (valIsNull) {\n setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n } else if (valIsSymbol) {\n setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n } else if (othIsNull || othIsSymbol) {\n setLow = false;\n } else {\n setLow = retHighest ? (computed <= value) : (computed < value);\n }\n if (setLow) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return nativeMin(high, MAX_ARRAY_INDEX);\n }\n\n /**\n * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseSortedUniq(array, iteratee) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n if (!index || !eq(computed, seen)) {\n var seen = computed;\n result[resIndex++] = value === 0 ? 0 : value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toNumber` which doesn't ensure correct\n * conversions of binary, hexadecimal, or octal string values.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n */\n function baseToNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n return +value;\n }\n\n /**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\n function baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\n function baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n }\n\n /**\n * The base implementation of `_.update`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to update.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseUpdate(object, path, updater, customizer) {\n return baseSet(object, path, updater(baseGet(object, path)), customizer);\n }\n\n /**\n * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n * without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {Function} predicate The function invoked per iteration.\n * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseWhile(array, predicate, isDrop, fromRight) {\n var length = array.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length) &&\n predicate(array[index], index, array)) {}\n\n return isDrop\n ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n }\n\n /**\n * The base implementation of `wrapperValue` which returns the result of\n * performing a sequence of actions on the unwrapped `value`, where each\n * successive action is supplied the return value of the previous.\n *\n * @private\n * @param {*} value The unwrapped value.\n * @param {Array} actions Actions to perform to resolve the unwrapped value.\n * @returns {*} Returns the resolved value.\n */\n function baseWrapperValue(value, actions) {\n var result = value;\n if (result instanceof LazyWrapper) {\n result = result.value();\n }\n return arrayReduce(actions, function(result, action) {\n return action.func.apply(action.thisArg, arrayPush([result], action.args));\n }, result);\n }\n\n /**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\n function baseXor(arrays, iteratee, comparator) {\n var length = arrays.length;\n if (length < 2) {\n return length ? baseUniq(arrays[0]) : [];\n }\n var index = -1,\n result = Array(length);\n\n while (++index < length) {\n var array = arrays[index],\n othIndex = -1;\n\n while (++othIndex < length) {\n if (othIndex != index) {\n result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n }\n }\n }\n return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n }\n\n /**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\n function baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n return result;\n }\n\n /**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\n function castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n }\n\n /**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\n function castFunction(value) {\n return typeof value == 'function' ? value : identity;\n }\n\n /**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\n function castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n }\n\n /**\n * A `baseRest` alias which can be replaced with `identity` by module\n * replacement plugins.\n *\n * @private\n * @type {Function}\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n var castRest = baseRest;\n\n /**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\n function castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n }\n\n /**\n * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n *\n * @private\n * @param {number|Object} id The timer id or timeout object of the timer to clear.\n */\n var clearTimeout = ctxClearTimeout || function(id) {\n return root.clearTimeout(id);\n };\n\n /**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\n function cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n }\n\n /**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\n function cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n }\n\n /**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\n function cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n }\n\n /**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\n function cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n }\n\n /**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\n function cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n }\n\n /**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\n function cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n }\n\n /**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\n function compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n }\n\n /**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\n function compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n }\n\n /**\n * Creates an array that is the composition of partially applied arguments,\n * placeholders, and provided arguments into a single array of arguments.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to prepend to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgs(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersLength = holders.length,\n leftIndex = -1,\n leftLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(leftLength + rangeLength),\n isUncurried = !isCurried;\n\n while (++leftIndex < leftLength) {\n result[leftIndex] = partials[leftIndex];\n }\n while (++argsIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[holders[argsIndex]] = args[argsIndex];\n }\n }\n while (rangeLength--) {\n result[leftIndex++] = args[argsIndex++];\n }\n return result;\n }\n\n /**\n * This function is like `composeArgs` except that the arguments composition\n * is tailored for `_.partialRight`.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to append to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgsRight(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersIndex = -1,\n holdersLength = holders.length,\n rightIndex = -1,\n rightLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(rangeLength + rightLength),\n isUncurried = !isCurried;\n\n while (++argsIndex < rangeLength) {\n result[argsIndex] = args[argsIndex];\n }\n var offset = argsIndex;\n while (++rightIndex < rightLength) {\n result[offset + rightIndex] = partials[rightIndex];\n }\n while (++holdersIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[offset + holders[holdersIndex]] = args[argsIndex++];\n }\n }\n return result;\n }\n\n /**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\n function copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n }\n\n /**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\n function copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n }\n\n /**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n }\n\n /**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n }\n\n /**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\n function createAggregator(setter, initializer) {\n return function(collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n\n return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n };\n }\n\n /**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\n function createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n }\n\n /**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n }\n\n /**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the optional `this`\n * binding of `thisArg`.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createBind(func, bitmask, thisArg) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return fn.apply(isBind ? thisArg : this, arguments);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\n function createCaseFirst(methodName) {\n return function(string) {\n string = toString(string);\n\n var strSymbols = hasUnicode(string)\n ? stringToArray(string)\n : undefined;\n\n var chr = strSymbols\n ? strSymbols[0]\n : string.charAt(0);\n\n var trailing = strSymbols\n ? castSlice(strSymbols, 1).join('')\n : string.slice(1);\n\n return chr[methodName]() + trailing;\n };\n }\n\n /**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\n function createCompounder(callback) {\n return function(string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\n }\n\n /**\n * Creates a function that produces an instance of `Ctor` regardless of\n * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n *\n * @private\n * @param {Function} Ctor The constructor to wrap.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCtor(Ctor) {\n return function() {\n // Use a `switch` statement to work with class constructors. See\n // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n // for more details.\n var args = arguments;\n switch (args.length) {\n case 0: return new Ctor;\n case 1: return new Ctor(args[0]);\n case 2: return new Ctor(args[0], args[1]);\n case 3: return new Ctor(args[0], args[1], args[2]);\n case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n }\n var thisBinding = baseCreate(Ctor.prototype),\n result = Ctor.apply(thisBinding, args);\n\n // Mimic the constructor's `return` behavior.\n // See https://es5.github.io/#x13.2.2 for more details.\n return isObject(result) ? result : thisBinding;\n };\n }\n\n /**\n * Creates a function that wraps `func` to enable currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {number} arity The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCurry(func, bitmask, arity) {\n var Ctor = createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length,\n placeholder = getHolder(wrapper);\n\n while (index--) {\n args[index] = arguments[index];\n }\n var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)\n ? []\n : replaceHolders(args, placeholder);\n\n length -= holders.length;\n if (length < arity) {\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, undefined,\n args, holders, undefined, undefined, arity - length);\n }\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return apply(fn, this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\n function createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = getIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n }\n\n /**\n * Creates a `_.flow` or `_.flowRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new flow function.\n */\n function createFlow(fromRight) {\n return flatRest(function(funcs) {\n var length = funcs.length,\n index = length,\n prereq = LodashWrapper.prototype.thru;\n\n if (fromRight) {\n funcs.reverse();\n }\n while (index--) {\n var func = funcs[index];\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n var wrapper = new LodashWrapper([], true);\n }\n }\n index = wrapper ? index : length;\n while (++index < length) {\n func = funcs[index];\n\n var funcName = getFuncName(func),\n data = funcName == 'wrapper' ? getData(func) : undefined;\n\n if (data && isLaziable(data[0]) &&\n data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&\n !data[4].length && data[9] == 1\n ) {\n wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n } else {\n wrapper = (func.length == 1 && isLaziable(func))\n ? wrapper[funcName]()\n : wrapper.thru(func);\n }\n }\n return function() {\n var args = arguments,\n value = args[0];\n\n if (wrapper && args.length == 1 && isArray(value)) {\n return wrapper.plant(value).value();\n }\n var index = 0,\n result = length ? funcs[index].apply(this, args) : value;\n\n while (++index < length) {\n result = funcs[index].call(this, result);\n }\n return result;\n };\n });\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with optional `this`\n * binding of `thisArg`, partial application, and currying.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [partialsRight] The arguments to append to those provided\n * to the new function.\n * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n var isAry = bitmask & WRAP_ARY_FLAG,\n isBind = bitmask & WRAP_BIND_FLAG,\n isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n isFlip = bitmask & WRAP_FLIP_FLAG,\n Ctor = isBindKey ? undefined : createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length;\n\n while (index--) {\n args[index] = arguments[index];\n }\n if (isCurried) {\n var placeholder = getHolder(wrapper),\n holdersCount = countHolders(args, placeholder);\n }\n if (partials) {\n args = composeArgs(args, partials, holders, isCurried);\n }\n if (partialsRight) {\n args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n }\n length -= holdersCount;\n if (isCurried && length < arity) {\n var newHolders = replaceHolders(args, placeholder);\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, thisArg,\n args, newHolders, argPos, ary, arity - length\n );\n }\n var thisBinding = isBind ? thisArg : this,\n fn = isBindKey ? thisBinding[func] : func;\n\n length = args.length;\n if (argPos) {\n args = reorder(args, argPos);\n } else if (isFlip && length > 1) {\n args.reverse();\n }\n if (isAry && ary < length) {\n args.length = ary;\n }\n if (this && this !== root && this instanceof wrapper) {\n fn = Ctor || createCtor(fn);\n }\n return fn.apply(thisBinding, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.invertBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} toIteratee The function to resolve iteratees.\n * @returns {Function} Returns the new inverter function.\n */\n function createInverter(setter, toIteratee) {\n return function(object, iteratee) {\n return baseInverter(object, setter, toIteratee(iteratee), {});\n };\n }\n\n /**\n * Creates a function that performs a mathematical operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @param {number} [defaultValue] The value used for `undefined` arguments.\n * @returns {Function} Returns the new mathematical operation function.\n */\n function createMathOperation(operator, defaultValue) {\n return function(value, other) {\n var result;\n if (value === undefined && other === undefined) {\n return defaultValue;\n }\n if (value !== undefined) {\n result = value;\n }\n if (other !== undefined) {\n if (result === undefined) {\n return other;\n }\n if (typeof value == 'string' || typeof other == 'string') {\n value = baseToString(value);\n other = baseToString(other);\n } else {\n value = baseToNumber(value);\n other = baseToNumber(other);\n }\n result = operator(value, other);\n }\n return result;\n };\n }\n\n /**\n * Creates a function like `_.over`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over iteratees.\n * @returns {Function} Returns the new over function.\n */\n function createOver(arrayFunc) {\n return flatRest(function(iteratees) {\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n return baseRest(function(args) {\n var thisArg = this;\n return arrayFunc(iteratees, function(iteratee) {\n return apply(iteratee, thisArg, args);\n });\n });\n });\n }\n\n /**\n * Creates the padding for `string` based on `length`. The `chars` string\n * is truncated if the number of characters exceeds `length`.\n *\n * @private\n * @param {number} length The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padding for `string`.\n */\n function createPadding(length, chars) {\n chars = chars === undefined ? ' ' : baseToString(chars);\n\n var charsLength = chars.length;\n if (charsLength < 2) {\n return charsLength ? baseRepeat(chars, length) : chars;\n }\n var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n return hasUnicode(chars)\n ? castSlice(stringToArray(result), 0, length).join('')\n : result.slice(0, length);\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the `this` binding\n * of `thisArg` and `partials` prepended to the arguments it receives.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} partials The arguments to prepend to those provided to\n * the new function.\n * @returns {Function} Returns the new wrapped function.\n */\n function createPartial(func, bitmask, thisArg, partials) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var argsIndex = -1,\n argsLength = arguments.length,\n leftIndex = -1,\n leftLength = partials.length,\n args = Array(leftLength + argsLength),\n fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\n while (++leftIndex < leftLength) {\n args[leftIndex] = partials[leftIndex];\n }\n while (argsLength--) {\n args[leftIndex++] = arguments[++argsIndex];\n }\n return apply(fn, isBind ? thisArg : this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\n function createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n }\n\n /**\n * Creates a function that performs a relational operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @returns {Function} Returns the new relational operation function.\n */\n function createRelationalOperation(operator) {\n return function(value, other) {\n if (!(typeof value == 'string' && typeof other == 'string')) {\n value = toNumber(value);\n other = toNumber(other);\n }\n return operator(value, other);\n };\n }\n\n /**\n * Creates a function that wraps `func` to continue currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {Function} wrapFunc The function to create the `func` wrapper.\n * @param {*} placeholder The placeholder value.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n var isCurry = bitmask & WRAP_CURRY_FLAG,\n newHolders = isCurry ? holders : undefined,\n newHoldersRight = isCurry ? undefined : holders,\n newPartials = isCurry ? partials : undefined,\n newPartialsRight = isCurry ? undefined : partials;\n\n bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);\n bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n }\n var newData = [\n func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,\n newHoldersRight, argPos, ary, arity\n ];\n\n var result = wrapFunc.apply(undefined, newData);\n if (isLaziable(func)) {\n setData(result, newData);\n }\n result.placeholder = placeholder;\n return setWrapToString(result, func, bitmask);\n }\n\n /**\n * Creates a function like `_.round`.\n *\n * @private\n * @param {string} methodName The name of the `Math` method to use when rounding.\n * @returns {Function} Returns the new round function.\n */\n function createRound(methodName) {\n var func = Math[methodName];\n return function(number, precision) {\n number = toNumber(number);\n precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n if (precision && nativeIsFinite(number)) {\n // Shift with exponential notation to avoid floating-point issues.\n // See [MDN](https://mdn.io/round#Examples) for more details.\n var pair = (toString(number) + 'e').split('e'),\n value = func(pair[0] + 'e' + (+pair[1] + precision));\n\n pair = (toString(value) + 'e').split('e');\n return +(pair[0] + 'e' + (+pair[1] - precision));\n }\n return func(number);\n };\n }\n\n /**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\n var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n };\n\n /**\n * Creates a `_.toPairs` or `_.toPairsIn` function.\n *\n * @private\n * @param {Function} keysFunc The function to get the keys of a given object.\n * @returns {Function} Returns the new pairs function.\n */\n function createToPairs(keysFunc) {\n return function(object) {\n var tag = getTag(object);\n if (tag == mapTag) {\n return mapToArray(object);\n }\n if (tag == setTag) {\n return setToPairs(object);\n }\n return baseToPairs(object, keysFunc(object));\n };\n }\n\n /**\n * Creates a function that either curries or invokes `func` with optional\n * `this` binding and partially applied arguments.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags.\n * 1 - `_.bind`\n * 2 - `_.bindKey`\n * 4 - `_.curry` or `_.curryRight` of a bound function\n * 8 - `_.curry`\n * 16 - `_.curryRight`\n * 32 - `_.partial`\n * 64 - `_.partialRight`\n * 128 - `_.rearg`\n * 256 - `_.ary`\n * 512 - `_.flip`\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to be partially applied.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n if (!isBindKey && typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var length = partials ? partials.length : 0;\n if (!length) {\n bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n partials = holders = undefined;\n }\n ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n arity = arity === undefined ? arity : toInteger(arity);\n length -= holders ? holders.length : 0;\n\n if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n var partialsRight = partials,\n holdersRight = holders;\n\n partials = holders = undefined;\n }\n var data = isBindKey ? undefined : getData(func);\n\n var newData = [\n func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,\n argPos, ary, arity\n ];\n\n if (data) {\n mergeData(newData, data);\n }\n func = newData[0];\n bitmask = newData[1];\n thisArg = newData[2];\n partials = newData[3];\n holders = newData[4];\n arity = newData[9] = newData[9] === undefined\n ? (isBindKey ? 0 : func.length)\n : nativeMax(newData[9] - length, 0);\n\n if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n }\n if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n var result = createBind(func, bitmask, thisArg);\n } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n result = createCurry(func, bitmask, arity);\n } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n result = createPartial(func, bitmask, thisArg, partials);\n } else {\n result = createHybrid.apply(undefined, newData);\n }\n var setter = data ? baseSetData : setData;\n return setWrapToString(setter(result, newData), func, bitmask);\n }\n\n /**\n * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n * of source objects to the destination object for all destination properties\n * that resolve to `undefined`.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to assign.\n * @param {Object} object The parent object of `objValue`.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsAssignIn(objValue, srcValue, key, object) {\n if (objValue === undefined ||\n (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n return srcValue;\n }\n return objValue;\n }\n\n /**\n * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n * objects into destination objects that are passed thru.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to merge.\n * @param {Object} object The parent object of `objValue`.\n * @param {Object} source The parent object of `srcValue`.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n if (isObject(objValue) && isObject(srcValue)) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, objValue);\n baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n stack['delete'](srcValue);\n }\n return objValue;\n }\n\n /**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\n function customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\n function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n function flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n }\n\n /**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n }\n\n /**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n }\n\n /**\n * Gets metadata for `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {*} Returns the metadata for `func`.\n */\n var getData = !metaMap ? noop : function(func) {\n return metaMap.get(func);\n };\n\n /**\n * Gets the name of `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {string} Returns the function name.\n */\n function getFuncName(func) {\n var result = (func.name + ''),\n array = realNames[result],\n length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n while (length--) {\n var data = array[length],\n otherFunc = data.func;\n if (otherFunc == null || otherFunc == func) {\n return data.name;\n }\n }\n return result;\n }\n\n /**\n * Gets the argument placeholder value for `func`.\n *\n * @private\n * @param {Function} func The function to inspect.\n * @returns {*} Returns the placeholder value.\n */\n function getHolder(func) {\n var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n return object.placeholder;\n }\n\n /**\n * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n * this function returns the custom method, otherwise it returns `baseIteratee`.\n * If arguments are provided, the chosen function is invoked with them and\n * its result is returned.\n *\n * @private\n * @param {*} [value] The value to convert to an iteratee.\n * @param {number} [arity] The arity of the created iteratee.\n * @returns {Function} Returns the chosen function or its result.\n */\n function getIteratee() {\n var result = lodash.iteratee || iteratee;\n result = result === iteratee ? baseIteratee : result;\n return arguments.length ? result(arguments[0], arguments[1]) : result;\n }\n\n /**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\n function getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n }\n\n /**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\n function getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n }\n\n /**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n function getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n }\n\n /**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\n function getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n }\n\n /**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n };\n\n /**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n };\n\n /**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n var getTag = baseGetTag;\n\n // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n }\n\n /**\n * Gets the view, applying any `transforms` to the `start` and `end` positions.\n *\n * @private\n * @param {number} start The start of the view.\n * @param {number} end The end of the view.\n * @param {Array} transforms The transformations to apply to the view.\n * @returns {Object} Returns an object containing the `start` and `end`\n * positions of the view.\n */\n function getView(start, end, transforms) {\n var index = -1,\n length = transforms.length;\n\n while (++index < length) {\n var data = transforms[index],\n size = data.size;\n\n switch (data.type) {\n case 'drop': start += size; break;\n case 'dropRight': end -= size; break;\n case 'take': end = nativeMin(end, start + size); break;\n case 'takeRight': start = nativeMax(start, end - size); break;\n }\n }\n return { 'start': start, 'end': end };\n }\n\n /**\n * Extracts wrapper details from the `source` body comment.\n *\n * @private\n * @param {string} source The source to inspect.\n * @returns {Array} Returns the wrapper details.\n */\n function getWrapDetails(source) {\n var match = source.match(reWrapDetails);\n return match ? match[1].split(reSplitDetails) : [];\n }\n\n /**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\n function hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n }\n\n /**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\n function initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n }\n\n /**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n }\n\n /**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n }\n\n /**\n * Inserts wrapper `details` in a comment at the top of the `source` body.\n *\n * @private\n * @param {string} source The source to modify.\n * @returns {Array} details The details to insert.\n * @returns {string} Returns the modified source.\n */\n function insertWrapDetails(source, details) {\n var length = details.length;\n if (!length) {\n return source;\n }\n var lastIndex = length - 1;\n details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n details = details.join(length > 2 ? ', ' : ' ');\n return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n }\n\n /**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\n function isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n }\n\n /**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\n function isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n }\n\n /**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\n function isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n }\n\n /**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\n function isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n }\n\n /**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\n function isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n }\n\n /**\n * Checks if `func` has a lazy counterpart.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n * else `false`.\n */\n function isLaziable(func) {\n var funcName = getFuncName(func),\n other = lodash[funcName];\n\n if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n return false;\n }\n if (func === other) {\n return true;\n }\n var data = getData(other);\n return !!data && func === data[0];\n }\n\n /**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\n function isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n }\n\n /**\n * Checks if `func` is capable of being masked.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n */\n var isMaskable = coreJsData ? isFunction : stubFalse;\n\n /**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\n function isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n }\n\n /**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\n function isStrictComparable(value) {\n return value === value && !isObject(value);\n }\n\n /**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n }\n\n /**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\n function memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n }\n\n /**\n * Merges the function metadata of `source` into `data`.\n *\n * Merging metadata reduces the number of wrappers used to invoke a function.\n * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n * may be applied regardless of execution order. Methods like `_.ary` and\n * `_.rearg` modify function arguments, making the order in which they are\n * executed important, preventing the merging of metadata. However, we make\n * an exception for a safe combined case where curried functions have `_.ary`\n * and or `_.rearg` applied.\n *\n * @private\n * @param {Array} data The destination metadata.\n * @param {Array} source The source metadata.\n * @returns {Array} Returns `data`.\n */\n function mergeData(data, source) {\n var bitmask = data[1],\n srcBitmask = source[1],\n newBitmask = bitmask | srcBitmask,\n isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n\n var isCombo =\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||\n ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));\n\n // Exit early if metadata can't be merged.\n if (!(isCommon || isCombo)) {\n return data;\n }\n // Use source `thisArg` if available.\n if (srcBitmask & WRAP_BIND_FLAG) {\n data[2] = source[2];\n // Set when currying a bound function.\n newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n }\n // Compose partial arguments.\n var value = source[3];\n if (value) {\n var partials = data[3];\n data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n }\n // Compose partial right arguments.\n value = source[5];\n if (value) {\n partials = data[5];\n data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n }\n // Use source `argPos` if available.\n value = source[7];\n if (value) {\n data[7] = value;\n }\n // Use source `ary` if it's smaller.\n if (srcBitmask & WRAP_ARY_FLAG) {\n data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n }\n // Use source `arity` if one is not provided.\n if (data[9] == null) {\n data[9] = source[9];\n }\n // Use source `func` and merge bitmasks.\n data[0] = source[0];\n data[1] = newBitmask;\n\n return data;\n }\n\n /**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\n function objectToString(value) {\n return nativeObjectToString.call(value);\n }\n\n /**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\n function overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n }\n\n /**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\n function parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n }\n\n /**\n * Reorder `array` according to the specified indexes where the element at\n * the first index is assigned as the first element, the element at\n * the second index is assigned as the second element, and so on.\n *\n * @private\n * @param {Array} array The array to reorder.\n * @param {Array} indexes The arranged array indexes.\n * @returns {Array} Returns `array`.\n */\n function reorder(array, indexes) {\n var arrLength = array.length,\n length = nativeMin(indexes.length, arrLength),\n oldArray = copyArray(array);\n\n while (length--) {\n var index = indexes[length];\n array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n }\n return array;\n }\n\n /**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n }\n\n /**\n * Sets metadata for `func`.\n *\n * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n * period of time, it will trip its breaker and transition to an identity\n * function to avoid garbage collection pauses in V8. See\n * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n * for more details.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var setData = shortOut(baseSetData);\n\n /**\n * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n var setTimeout = ctxSetTimeout || function(func, wait) {\n return root.setTimeout(func, wait);\n };\n\n /**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var setToString = shortOut(baseSetToString);\n\n /**\n * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n * with wrapper details in a comment at the top of the source body.\n *\n * @private\n * @param {Function} wrapper The function to modify.\n * @param {Function} reference The reference function.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Function} Returns `wrapper`.\n */\n function setWrapToString(wrapper, reference, bitmask) {\n var source = (reference + '');\n return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n }\n\n /**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\n function shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n }\n\n /**\n * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @param {number} [size=array.length] The size of `array`.\n * @returns {Array} Returns `array`.\n */\n function shuffleSelf(array, size) {\n var index = -1,\n length = array.length,\n lastIndex = length - 1;\n\n size = size === undefined ? length : size;\n while (++index < size) {\n var rand = baseRandom(index, lastIndex),\n value = array[rand];\n\n array[rand] = array[index];\n array[index] = value;\n }\n array.length = size;\n return array;\n }\n\n /**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\n var stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n });\n\n /**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\n function toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\n function toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n }\n\n /**\n * Updates wrapper `details` based on `bitmask` flags.\n *\n * @private\n * @returns {Array} details The details to modify.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Array} Returns `details`.\n */\n function updateWrapDetails(details, bitmask) {\n arrayEach(wrapFlags, function(pair) {\n var value = '_.' + pair[0];\n if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {\n details.push(value);\n }\n });\n return details.sort();\n }\n\n /**\n * Creates a clone of `wrapper`.\n *\n * @private\n * @param {Object} wrapper The wrapper to clone.\n * @returns {Object} Returns the cloned wrapper.\n */\n function wrapperClone(wrapper) {\n if (wrapper instanceof LazyWrapper) {\n return wrapper.clone();\n }\n var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n result.__actions__ = copyArray(wrapper.__actions__);\n result.__index__ = wrapper.__index__;\n result.__values__ = wrapper.__values__;\n return result;\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\n function chunk(array, size, guard) {\n if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n var length = array == null ? 0 : array.length;\n if (!length || size < 1) {\n return [];\n }\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, (index += size));\n }\n return result;\n }\n\n /**\n * Creates an array with all falsey values removed. The values `false`, `null`,\n * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to compact.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.compact([0, 1, false, 2, '', 3]);\n * // => [1, 2, 3]\n */\n function compact(array) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * Creates a new array concatenating `array` with any additional arrays\n * and/or values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to concatenate.\n * @param {...*} [values] The values to concatenate.\n * @returns {Array} Returns the new concatenated array.\n * @example\n *\n * var array = [1];\n * var other = _.concat(array, 2, [3], [[4]]);\n *\n * console.log(other);\n * // => [1, 2, 3, [4]]\n *\n * console.log(array);\n * // => [1]\n */\n function concat() {\n var length = arguments.length;\n if (!length) {\n return [];\n }\n var args = Array(length - 1),\n array = arguments[0],\n index = length;\n\n while (index--) {\n args[index - 1] = arguments[index];\n }\n return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n }\n\n /**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\n var difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `iteratee` which\n * is invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var differenceBy = baseRest(function(array, values) {\n var iteratee = last(values);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `comparator`\n * which is invoked to compare elements of `array` to `values`. The order and\n * references of result values are determined by the first array. The comparator\n * is invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n *\n * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }]\n */\n var differenceWith = baseRest(function(array, values) {\n var comparator = last(values);\n if (isArrayLikeObject(comparator)) {\n comparator = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)\n : [];\n });\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.drop([1, 2, 3]);\n * // => [2, 3]\n *\n * _.drop([1, 2, 3], 2);\n * // => [3]\n *\n * _.drop([1, 2, 3], 5);\n * // => []\n *\n * _.drop([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function drop(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function dropRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the end.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.dropRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropRightWhile(users, ['active', false]);\n * // => objects for ['barney']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropRightWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the beginning.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.dropWhile(users, function(o) { return !o.active; });\n * // => objects for ['pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropWhile(users, ['active', false]);\n * // => objects for ['pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true)\n : [];\n }\n\n /**\n * Fills elements of `array` with `value` from `start` up to, but not\n * including, `end`.\n *\n * **Note:** This method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Array\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.fill(array, 'a');\n * console.log(array);\n * // => ['a', 'a', 'a']\n *\n * _.fill(Array(3), 2);\n * // => [2, 2, 2]\n *\n * _.fill([4, 6, 8, 10], '*', 1, 3);\n * // => [4, '*', '*', 10]\n */\n function fill(array, value, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n start = 0;\n end = length;\n }\n return baseFill(array, value, start, end);\n }\n\n /**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\n function findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index);\n }\n\n /**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n * // => 2\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastIndex(users, ['active', false]);\n * // => 2\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastIndex(users, 'active');\n * // => 0\n */\n function findLastIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length - 1;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = fromIndex < 0\n ? nativeMax(length + index, 0)\n : nativeMin(index, length - 1);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n }\n\n /**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\n function flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n }\n\n /**\n * Recursively flattens `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, [3, [4]], 5]]);\n * // => [1, 2, 3, 4, 5]\n */\n function flattenDeep(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, INFINITY) : [];\n }\n\n /**\n * Recursively flatten `array` up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * var array = [1, [2, [3, [4]], 5]];\n *\n * _.flattenDepth(array, 1);\n * // => [1, 2, [3, [4]], 5]\n *\n * _.flattenDepth(array, 2);\n * // => [1, 2, 3, [4], 5]\n */\n function flattenDepth(array, depth) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(array, depth);\n }\n\n /**\n * The inverse of `_.toPairs`; this method returns an object composed\n * from key-value `pairs`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} pairs The key-value pairs.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.fromPairs([['a', 1], ['b', 2]]);\n * // => { 'a': 1, 'b': 2 }\n */\n function fromPairs(pairs) {\n var index = -1,\n length = pairs == null ? 0 : pairs.length,\n result = {};\n\n while (++index < length) {\n var pair = pairs[index];\n result[pair[0]] = pair[1];\n }\n return result;\n }\n\n /**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\n function head(array) {\n return (array && array.length) ? array[0] : undefined;\n }\n\n /**\n * Gets the index at which the first occurrence of `value` is found in `array`\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. If `fromIndex` is negative, it's used as the\n * offset from the end of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.indexOf([1, 2, 1, 2], 2);\n * // => 1\n *\n * // Search from the `fromIndex`.\n * _.indexOf([1, 2, 1, 2], 2, 2);\n * // => 3\n */\n function indexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseIndexOf(array, value, index);\n }\n\n /**\n * Gets all but the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.initial([1, 2, 3]);\n * // => [1, 2]\n */\n function initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n }\n\n /**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\n var intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `iteratee`\n * which is invoked for each element of each `arrays` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [2.1]\n *\n * // The `_.property` iteratee shorthand.\n * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }]\n */\n var intersectionBy = baseRest(function(arrays) {\n var iteratee = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n if (iteratee === last(mapped)) {\n iteratee = undefined;\n } else {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `comparator`\n * which is invoked to compare elements of `arrays`. The order and references\n * of result values are determined by the first array. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.intersectionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }]\n */\n var intersectionWith = baseRest(function(arrays) {\n var comparator = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n comparator = typeof comparator == 'function' ? comparator : undefined;\n if (comparator) {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, undefined, comparator)\n : [];\n });\n\n /**\n * Converts all elements in `array` into a string separated by `separator`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to convert.\n * @param {string} [separator=','] The element separator.\n * @returns {string} Returns the joined string.\n * @example\n *\n * _.join(['a', 'b', 'c'], '~');\n * // => 'a~b~c'\n */\n function join(array, separator) {\n return array == null ? '' : nativeJoin.call(array, separator);\n }\n\n /**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\n function last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n }\n\n /**\n * This method is like `_.indexOf` except that it iterates over elements of\n * `array` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.lastIndexOf([1, 2, 1, 2], 2);\n * // => 3\n *\n * // Search from the `fromIndex`.\n * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n * // => 1\n */\n function lastIndexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n }\n return value === value\n ? strictLastIndexOf(array, value, index)\n : baseFindIndex(array, baseIsNaN, index, true);\n }\n\n /**\n * Gets the element at index `n` of `array`. If `n` is negative, the nth\n * element from the end is returned.\n *\n * @static\n * @memberOf _\n * @since 4.11.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=0] The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n *\n * _.nth(array, 1);\n * // => 'b'\n *\n * _.nth(array, -2);\n * // => 'c';\n */\n function nth(array, n) {\n return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;\n }\n\n /**\n * Removes all given values from `array` using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n * to remove elements from an array by predicate.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...*} [values] The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pull(array, 'a', 'c');\n * console.log(array);\n * // => ['b', 'b']\n */\n var pull = baseRest(pullAll);\n\n /**\n * This method is like `_.pull` except that it accepts an array of values to remove.\n *\n * **Note:** Unlike `_.difference`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pullAll(array, ['a', 'c']);\n * console.log(array);\n * // => ['b', 'b']\n */\n function pullAll(array, values) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values)\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `iteratee` which is\n * invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The iteratee is invoked with one argument: (value).\n *\n * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n *\n * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n * console.log(array);\n * // => [{ 'x': 2 }]\n */\n function pullAllBy(array, values, iteratee) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, getIteratee(iteratee, 2))\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `comparator` which\n * is invoked to compare elements of `array` to `values`. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n *\n * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n * console.log(array);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n */\n function pullAllWith(array, values, comparator) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, undefined, comparator)\n : array;\n }\n\n /**\n * Removes elements from `array` corresponding to `indexes` and returns an\n * array of removed elements.\n *\n * **Note:** Unlike `_.at`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n * var pulled = _.pullAt(array, [1, 3]);\n *\n * console.log(array);\n * // => ['a', 'c']\n *\n * console.log(pulled);\n * // => ['b', 'd']\n */\n var pullAt = flatRest(function(array, indexes) {\n var length = array == null ? 0 : array.length,\n result = baseAt(array, indexes);\n\n basePullAt(array, arrayMap(indexes, function(index) {\n return isIndex(index, length) ? +index : index;\n }).sort(compareAscending));\n\n return result;\n });\n\n /**\n * Removes all elements from `array` that `predicate` returns truthy for\n * and returns an array of the removed elements. The predicate is invoked\n * with three arguments: (value, index, array).\n *\n * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n * to pull elements from an array by value.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = [1, 2, 3, 4];\n * var evens = _.remove(array, function(n) {\n * return n % 2 == 0;\n * });\n *\n * console.log(array);\n * // => [1, 3]\n *\n * console.log(evens);\n * // => [2, 4]\n */\n function remove(array, predicate) {\n var result = [];\n if (!(array && array.length)) {\n return result;\n }\n var index = -1,\n indexes = [],\n length = array.length;\n\n predicate = getIteratee(predicate, 3);\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result.push(value);\n indexes.push(index);\n }\n }\n basePullAt(array, indexes);\n return result;\n }\n\n /**\n * Reverses `array` so that the first element becomes the last, the second\n * element becomes the second to last, and so on.\n *\n * **Note:** This method mutates `array` and is based on\n * [`Array#reverse`](https://mdn.io/Array/reverse).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.reverse(array);\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function reverse(array) {\n return array == null ? array : nativeReverse.call(array);\n }\n\n /**\n * Creates a slice of `array` from `start` up to, but not including, `end`.\n *\n * **Note:** This method is used instead of\n * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n * returned.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function slice(array, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n start = 0;\n end = length;\n }\n else {\n start = start == null ? 0 : toInteger(start);\n end = end === undefined ? length : toInteger(end);\n }\n return baseSlice(array, start, end);\n }\n\n /**\n * Uses a binary search to determine the lowest index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedIndex([30, 50], 40);\n * // => 1\n */\n function sortedIndex(array, value) {\n return baseSortedIndex(array, value);\n }\n\n /**\n * This method is like `_.sortedIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n * // => 0\n */\n function sortedIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n }\n\n /**\n * This method is like `_.indexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n * // => 1\n */\n function sortedIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value);\n if (index < length && eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.sortedIndex` except that it returns the highest\n * index at which `value` should be inserted into `array` in order to\n * maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n * // => 4\n */\n function sortedLastIndex(array, value) {\n return baseSortedIndex(array, value, true);\n }\n\n /**\n * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 1\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n * // => 1\n */\n function sortedLastIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n }\n\n /**\n * This method is like `_.lastIndexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n * // => 3\n */\n function sortedLastIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value, true) - 1;\n if (eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.uniq` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniq([1, 1, 2]);\n * // => [1, 2]\n */\n function sortedUniq(array) {\n return (array && array.length)\n ? baseSortedUniq(array)\n : [];\n }\n\n /**\n * This method is like `_.uniqBy` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n * // => [1.1, 2.3]\n */\n function sortedUniqBy(array, iteratee) {\n return (array && array.length)\n ? baseSortedUniq(array, getIteratee(iteratee, 2))\n : [];\n }\n\n /**\n * Gets all but the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.tail([1, 2, 3]);\n * // => [2, 3]\n */\n function tail(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 1, length) : [];\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.take([1, 2, 3]);\n * // => [1]\n *\n * _.take([1, 2, 3], 2);\n * // => [1, 2]\n *\n * _.take([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.take([1, 2, 3], 0);\n * // => []\n */\n function take(array, n, guard) {\n if (!(array && array.length)) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeRight([1, 2, 3]);\n * // => [3]\n *\n * _.takeRight([1, 2, 3], 2);\n * // => [2, 3]\n *\n * _.takeRight([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.takeRight([1, 2, 3], 0);\n * // => []\n */\n function takeRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with elements taken from the end. Elements are\n * taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.takeRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeRightWhile(users, ['active', false]);\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeRightWhile(users, 'active');\n * // => []\n */\n function takeRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), false, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` with elements taken from the beginning. Elements\n * are taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.takeWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeWhile(users, ['active', false]);\n * // => objects for ['barney', 'fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeWhile(users, 'active');\n * // => []\n */\n function takeWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3))\n : [];\n }\n\n /**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\n var union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n });\n\n /**\n * This method is like `_.union` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which uniqueness is computed. Result values are chosen from the first\n * array in which the value occurs. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n var unionBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.union` except that it accepts `comparator` which\n * is invoked to compare elements of `arrays`. Result values are chosen from\n * the first array in which the value occurs. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.unionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var unionWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n });\n\n /**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\n function uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n function uniqBy(array, iteratee) {\n return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `comparator` which\n * is invoked to compare elements of `array`. The order of result values is\n * determined by the order they occur in the array.The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.uniqWith(objects, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n */\n function uniqWith(array, comparator) {\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return (array && array.length) ? baseUniq(array, undefined, comparator) : [];\n }\n\n /**\n * This method is like `_.zip` except that it accepts an array of grouped\n * elements and creates an array regrouping the elements to their pre-zip\n * configuration.\n *\n * @static\n * @memberOf _\n * @since 1.2.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n *\n * _.unzip(zipped);\n * // => [['a', 'b'], [1, 2], [true, false]]\n */\n function unzip(array) {\n if (!(array && array.length)) {\n return [];\n }\n var length = 0;\n array = arrayFilter(array, function(group) {\n if (isArrayLikeObject(group)) {\n length = nativeMax(group.length, length);\n return true;\n }\n });\n return baseTimes(length, function(index) {\n return arrayMap(array, baseProperty(index));\n });\n }\n\n /**\n * This method is like `_.unzip` except that it accepts `iteratee` to specify\n * how regrouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * regrouped values.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n * // => [[1, 10, 100], [2, 20, 200]]\n *\n * _.unzipWith(zipped, _.add);\n * // => [3, 30, 300]\n */\n function unzipWith(array, iteratee) {\n if (!(array && array.length)) {\n return [];\n }\n var result = unzip(array);\n if (iteratee == null) {\n return result;\n }\n return arrayMap(result, function(group) {\n return apply(iteratee, undefined, group);\n });\n }\n\n /**\n * Creates an array excluding all given values using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.pull`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...*} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.xor\n * @example\n *\n * _.without([2, 1, 2, 3], 1, 2);\n * // => [3]\n */\n var without = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, values)\n : [];\n });\n\n /**\n * Creates an array of unique values that is the\n * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the given arrays. The order of result values is determined by the order\n * they occur in the arrays.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.without\n * @example\n *\n * _.xor([2, 1], [2, 3]);\n * // => [1, 3]\n */\n var xor = baseRest(function(arrays) {\n return baseXor(arrayFilter(arrays, isArrayLikeObject));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which by which they're compared. The order of result values is determined\n * by the order they occur in the arrays. The iteratee is invoked with one\n * argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2, 3.4]\n *\n * // The `_.property` iteratee shorthand.\n * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var xorBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `comparator` which is\n * invoked to compare elements of `arrays`. The order of result values is\n * determined by the order they occur in the arrays. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.xorWith(objects, others, _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var xorWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n });\n\n /**\n * Creates an array of grouped elements, the first of which contains the\n * first elements of the given arrays, the second of which contains the\n * second elements of the given arrays, and so on.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n */\n var zip = baseRest(unzip);\n\n /**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\n function zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n }\n\n /**\n * This method is like `_.zipObject` except that it supports property paths.\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n */\n function zipObjectDeep(props, values) {\n return baseZipObject(props || [], values || [], baseSet);\n }\n\n /**\n * This method is like `_.zip` except that it accepts `iteratee` to specify\n * how grouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * grouped values.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n * return a + b + c;\n * });\n * // => [111, 222]\n */\n var zipWith = baseRest(function(arrays) {\n var length = arrays.length,\n iteratee = length > 1 ? arrays[length - 1] : undefined;\n\n iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n return unzipWith(arrays, iteratee);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n * chain sequences enabled. The result of such sequences must be unwrapped\n * with `_#value`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Seq\n * @param {*} value The value to wrap.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'pebbles', 'age': 1 }\n * ];\n *\n * var youngest = _\n * .chain(users)\n * .sortBy('age')\n * .map(function(o) {\n * return o.user + ' is ' + o.age;\n * })\n * .head()\n * .value();\n * // => 'pebbles is 1'\n */\n function chain(value) {\n var result = lodash(value);\n result.__chain__ = true;\n return result;\n }\n\n /**\n * This method invokes `interceptor` and returns `value`. The interceptor\n * is invoked with one argument; (value). The purpose of this method is to\n * \"tap into\" a method chain sequence in order to modify intermediate results.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns `value`.\n * @example\n *\n * _([1, 2, 3])\n * .tap(function(array) {\n * // Mutate input array.\n * array.pop();\n * })\n * .reverse()\n * .value();\n * // => [2, 1]\n */\n function tap(value, interceptor) {\n interceptor(value);\n return value;\n }\n\n /**\n * This method is like `_.tap` except that it returns the result of `interceptor`.\n * The purpose of this method is to \"pass thru\" values replacing intermediate\n * results in a method chain sequence.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns the result of `interceptor`.\n * @example\n *\n * _(' abc ')\n * .chain()\n * .trim()\n * .thru(function(value) {\n * return [value];\n * })\n * .value();\n * // => ['abc']\n */\n function thru(value, interceptor) {\n return interceptor(value);\n }\n\n /**\n * This method is the wrapper version of `_.at`.\n *\n * @name at\n * @memberOf _\n * @since 1.0.0\n * @category Seq\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _(object).at(['a[0].b.c', 'a[1]']).value();\n * // => [3, 4]\n */\n var wrapperAt = flatRest(function(paths) {\n var length = paths.length,\n start = length ? paths[0] : 0,\n value = this.__wrapped__,\n interceptor = function(object) { return baseAt(object, paths); };\n\n if (length > 1 || this.__actions__.length ||\n !(value instanceof LazyWrapper) || !isIndex(start)) {\n return this.thru(interceptor);\n }\n value = value.slice(start, +start + (length ? 1 : 0));\n value.__actions__.push({\n 'func': thru,\n 'args': [interceptor],\n 'thisArg': undefined\n });\n return new LodashWrapper(value, this.__chain__).thru(function(array) {\n if (length && !array.length) {\n array.push(undefined);\n }\n return array;\n });\n });\n\n /**\n * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n *\n * @name chain\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 }\n * ];\n *\n * // A sequence without explicit chaining.\n * _(users).head();\n * // => { 'user': 'barney', 'age': 36 }\n *\n * // A sequence with explicit chaining.\n * _(users)\n * .chain()\n * .head()\n * .pick('user')\n * .value();\n * // => { 'user': 'barney' }\n */\n function wrapperChain() {\n return chain(this);\n }\n\n /**\n * Executes the chain sequence and returns the wrapped result.\n *\n * @name commit\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2];\n * var wrapped = _(array).push(3);\n *\n * console.log(array);\n * // => [1, 2]\n *\n * wrapped = wrapped.commit();\n * console.log(array);\n * // => [1, 2, 3]\n *\n * wrapped.last();\n * // => 3\n *\n * console.log(array);\n * // => [1, 2, 3]\n */\n function wrapperCommit() {\n return new LodashWrapper(this.value(), this.__chain__);\n }\n\n /**\n * Gets the next value on a wrapped object following the\n * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n *\n * @name next\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the next iterator value.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 1 }\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 2 }\n *\n * wrapped.next();\n * // => { 'done': true, 'value': undefined }\n */\n function wrapperNext() {\n if (this.__values__ === undefined) {\n this.__values__ = toArray(this.value());\n }\n var done = this.__index__ >= this.__values__.length,\n value = done ? undefined : this.__values__[this.__index__++];\n\n return { 'done': done, 'value': value };\n }\n\n /**\n * Enables the wrapper to be iterable.\n *\n * @name Symbol.iterator\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the wrapper object.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped[Symbol.iterator]() === wrapped;\n * // => true\n *\n * Array.from(wrapped);\n * // => [1, 2]\n */\n function wrapperToIterator() {\n return this;\n }\n\n /**\n * Creates a clone of the chain sequence planting `value` as the wrapped value.\n *\n * @name plant\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @param {*} value The value to plant.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2]).map(square);\n * var other = wrapped.plant([3, 4]);\n *\n * other.value();\n * // => [9, 16]\n *\n * wrapped.value();\n * // => [1, 4]\n */\n function wrapperPlant(value) {\n var result,\n parent = this;\n\n while (parent instanceof baseLodash) {\n var clone = wrapperClone(parent);\n clone.__index__ = 0;\n clone.__values__ = undefined;\n if (result) {\n previous.__wrapped__ = clone;\n } else {\n result = clone;\n }\n var previous = clone;\n parent = parent.__wrapped__;\n }\n previous.__wrapped__ = value;\n return result;\n }\n\n /**\n * This method is the wrapper version of `_.reverse`.\n *\n * **Note:** This method mutates the wrapped array.\n *\n * @name reverse\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _(array).reverse().value()\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function wrapperReverse() {\n var value = this.__wrapped__;\n if (value instanceof LazyWrapper) {\n var wrapped = value;\n if (this.__actions__.length) {\n wrapped = new LazyWrapper(this);\n }\n wrapped = wrapped.reverse();\n wrapped.__actions__.push({\n 'func': thru,\n 'args': [reverse],\n 'thisArg': undefined\n });\n return new LodashWrapper(wrapped, this.__chain__);\n }\n return this.thru(reverse);\n }\n\n /**\n * Executes the chain sequence to resolve the unwrapped value.\n *\n * @name value\n * @memberOf _\n * @since 0.1.0\n * @alias toJSON, valueOf\n * @category Seq\n * @returns {*} Returns the resolved unwrapped value.\n * @example\n *\n * _([1, 2, 3]).value();\n * // => [1, 2, 3]\n */\n function wrapperValue() {\n return baseWrapperValue(this.__wrapped__, this.__actions__);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the number of times the key was returned by `iteratee`. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.countBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': 1, '6': 2 }\n *\n * // The `_.property` iteratee shorthand.\n * _.countBy(['one', 'two', 'three'], 'length');\n * // => { '3': 2, '5': 1 }\n */\n var countBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n ++result[key];\n } else {\n baseAssignValue(result, key, 1);\n }\n });\n\n /**\n * Checks if `predicate` returns truthy for **all** elements of `collection`.\n * Iteration is stopped once `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * **Note:** This method returns `true` for\n * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n * elements of empty collections.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n * @example\n *\n * _.every([true, 1, null, 'yes'], Boolean);\n * // => false\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.every(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.every(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.every(users, 'active');\n * // => false\n */\n function every(collection, predicate, guard) {\n var func = isArray(collection) ? arrayEvery : baseEvery;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\n function filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\n var find = createFind(findIndex);\n\n /**\n * This method is like `_.find` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=collection.length-1] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * _.findLast([1, 2, 3, 4], function(n) {\n * return n % 2 == 1;\n * });\n * // => 3\n */\n var findLast = createFind(findLastIndex);\n\n /**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDeep([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMapDeep(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), INFINITY);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDepth([1, 2], duplicate, 2);\n * // => [[1, 1], [2, 2]]\n */\n function flatMapDepth(collection, iteratee, depth) {\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(map(collection, iteratee), depth);\n }\n\n /**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forEach` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @alias eachRight\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEach\n * @example\n *\n * _.forEachRight([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `2` then `1`.\n */\n function forEachRight(collection, iteratee) {\n var func = isArray(collection) ? arrayEachRight : baseEachRight;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\n var groupBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n });\n\n /**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\n function includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n var length = collection.length;\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n return isString(collection)\n ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n }\n\n /**\n * Invokes the method at `path` of each element in `collection`, returning\n * an array of the results of each invoked method. Any additional arguments\n * are provided to each invoked method. If `path` is a function, it's invoked\n * for, and `this` bound to, each element in `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array|Function|string} path The path of the method to invoke or\n * the function invoked per iteration.\n * @param {...*} [args] The arguments to invoke each method with.\n * @returns {Array} Returns the array of results.\n * @example\n *\n * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n * // => [[1, 5, 7], [1, 2, 3]]\n *\n * _.invokeMap([123, 456], String.prototype.split, '');\n * // => [['1', '2', '3'], ['4', '5', '6']]\n */\n var invokeMap = baseRest(function(collection, path, args) {\n var index = -1,\n isFunc = typeof path == 'function',\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value) {\n result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n });\n return result;\n });\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the last element responsible for generating the key. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * var array = [\n * { 'dir': 'left', 'code': 97 },\n * { 'dir': 'right', 'code': 100 }\n * ];\n *\n * _.keyBy(array, function(o) {\n * return String.fromCharCode(o.code);\n * });\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n *\n * _.keyBy(array, 'dir');\n * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n */\n var keyBy = createAggregator(function(result, value, key) {\n baseAssignValue(result, key, value);\n });\n\n /**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\n function map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.sortBy` except that it allows specifying the sort\n * orders of the iteratees to sort by. If `orders` is unspecified, all values\n * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n * descending or \"asc\" for ascending sort order of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @param {string[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // Sort by `user` in ascending order and by `age` in descending order.\n * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n */\n function orderBy(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n orders = guard ? undefined : orders;\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n return baseOrderBy(collection, iteratees, orders);\n }\n\n /**\n * Creates an array of elements split into two groups, the first of which\n * contains elements `predicate` returns truthy for, the second of which\n * contains elements `predicate` returns falsey for. The predicate is\n * invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the array of grouped elements.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true },\n * { 'user': 'pebbles', 'age': 1, 'active': false }\n * ];\n *\n * _.partition(users, function(o) { return o.active; });\n * // => objects for [['fred'], ['barney', 'pebbles']]\n *\n * // The `_.matches` iteratee shorthand.\n * _.partition(users, { 'age': 1, 'active': false });\n * // => objects for [['pebbles'], ['barney', 'fred']]\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.partition(users, ['active', false]);\n * // => objects for [['barney', 'pebbles'], ['fred']]\n *\n * // The `_.property` iteratee shorthand.\n * _.partition(users, 'active');\n * // => objects for [['fred'], ['barney', 'pebbles']]\n */\n var partition = createAggregator(function(result, value, key) {\n result[key ? 0 : 1].push(value);\n }, function() { return [[], []]; });\n\n /**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\n function reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n }\n\n /**\n * This method is like `_.reduce` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduce\n * @example\n *\n * var array = [[0, 1], [2, 3], [4, 5]];\n *\n * _.reduceRight(array, function(flattened, other) {\n * return flattened.concat(other);\n * }, []);\n * // => [4, 5, 2, 3, 0, 1]\n */\n function reduceRight(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduceRight : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n }\n\n /**\n * The opposite of `_.filter`; this method returns the elements of `collection`\n * that `predicate` does **not** return truthy for.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.filter\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true }\n * ];\n *\n * _.reject(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.reject(users, { 'age': 40, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.reject(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.reject(users, 'active');\n * // => objects for ['barney']\n */\n function reject(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, negate(getIteratee(predicate, 3)));\n }\n\n /**\n * Gets a random element from `collection`.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n * @example\n *\n * _.sample([1, 2, 3, 4]);\n * // => 2\n */\n function sample(collection) {\n var func = isArray(collection) ? arraySample : baseSample;\n return func(collection);\n }\n\n /**\n * Gets `n` random elements at unique keys from `collection` up to the\n * size of `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @param {number} [n=1] The number of elements to sample.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the random elements.\n * @example\n *\n * _.sampleSize([1, 2, 3], 2);\n * // => [3, 1]\n *\n * _.sampleSize([1, 2, 3], 4);\n * // => [2, 3, 1]\n */\n function sampleSize(collection, n, guard) {\n if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n return func(collection, n);\n }\n\n /**\n * Creates an array of shuffled values, using a version of the\n * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n * @example\n *\n * _.shuffle([1, 2, 3, 4]);\n * // => [4, 1, 3, 2]\n */\n function shuffle(collection) {\n var func = isArray(collection) ? arrayShuffle : baseShuffle;\n return func(collection);\n }\n\n /**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\n function size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n }\n\n /**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * Iteration is stopped once `predicate` returns truthy. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.some(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.some(users, 'active');\n * // => true\n */\n function some(collection, predicate, guard) {\n var func = isArray(collection) ? arraySome : baseSome;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 30 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\n var sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n var now = ctxNow || function() {\n return root.Date.now();\n };\n\n /*------------------------------------------------------------------------*/\n\n /**\n * The opposite of `_.before`; this method creates a function that invokes\n * `func` once it's called `n` or more times.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {number} n The number of calls before `func` is invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var saves = ['profile', 'settings'];\n *\n * var done = _.after(saves.length, function() {\n * console.log('done saving!');\n * });\n *\n * _.forEach(saves, function(type) {\n * asyncSave({ 'type': type, 'complete': done });\n * });\n * // => Logs 'done saving!' after the two async saves have completed.\n */\n function after(n, func) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n < 1) {\n return func.apply(this, arguments);\n }\n };\n }\n\n /**\n * Creates a function that invokes `func`, with up to `n` arguments,\n * ignoring any additional arguments.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @param {number} [n=func.length] The arity cap.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n * // => [6, 8, 10]\n */\n function ary(func, n, guard) {\n n = guard ? undefined : n;\n n = (func && n == null) ? func.length : n;\n return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n }\n\n /**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\n function before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of `thisArg`\n * and `partials` prepended to the arguments it receives.\n *\n * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for partially applied arguments.\n *\n * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n * property of bound functions.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to bind.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * function greet(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n *\n * var object = { 'user': 'fred' };\n *\n * var bound = _.bind(greet, object, 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bind(greet, object, _, '!');\n * bound('hi');\n * // => 'hi fred!'\n */\n var bind = baseRest(function(func, thisArg, partials) {\n var bitmask = WRAP_BIND_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bind));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(func, bitmask, thisArg, partials, holders);\n });\n\n /**\n * Creates a function that invokes the method at `object[key]` with `partials`\n * prepended to the arguments it receives.\n *\n * This method differs from `_.bind` by allowing bound functions to reference\n * methods that may be redefined or don't yet exist. See\n * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n * for more details.\n *\n * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Function\n * @param {Object} object The object to invoke the method on.\n * @param {string} key The key of the method.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * var object = {\n * 'user': 'fred',\n * 'greet': function(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n * };\n *\n * var bound = _.bindKey(object, 'greet', 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * object.greet = function(greeting, punctuation) {\n * return greeting + 'ya ' + this.user + punctuation;\n * };\n *\n * bound('!');\n * // => 'hiya fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bindKey(object, 'greet', _, '!');\n * bound('hi');\n * // => 'hiya fred!'\n */\n var bindKey = baseRest(function(object, key, partials) {\n var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bindKey));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(key, bitmask, object, partials, holders);\n });\n\n /**\n * Creates a function that accepts arguments of `func` and either invokes\n * `func` returning its result, if at least `arity` number of arguments have\n * been provided, or returns a function that accepts the remaining `func`\n * arguments, and so on. The arity of `func` may be specified if `func.length`\n * is not sufficient.\n *\n * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curry(abc);\n *\n * curried(1)(2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(1)(_, 3)(2);\n * // => [1, 2, 3]\n */\n function curry(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curry.placeholder;\n return result;\n }\n\n /**\n * This method is like `_.curry` except that arguments are applied to `func`\n * in the manner of `_.partialRight` instead of `_.partial`.\n *\n * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curryRight(abc);\n *\n * curried(3)(2)(1);\n * // => [1, 2, 3]\n *\n * curried(2, 3)(1);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(3)(1, _)(2);\n * // => [1, 2, 3]\n */\n function curryRight(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curryRight.placeholder;\n return result;\n }\n\n /**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n function debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n }\n\n /**\n * Defers invoking the `func` until the current call stack has cleared. Any\n * additional arguments are provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to defer.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.defer(function(text) {\n * console.log(text);\n * }, 'deferred');\n * // => Logs 'deferred' after one millisecond.\n */\n var defer = baseRest(function(func, args) {\n return baseDelay(func, 1, args);\n });\n\n /**\n * Invokes `func` after `wait` milliseconds. Any additional arguments are\n * provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.delay(function(text) {\n * console.log(text);\n * }, 1000, 'later');\n * // => Logs 'later' after one second.\n */\n var delay = baseRest(function(func, wait, args) {\n return baseDelay(func, toNumber(wait) || 0, args);\n });\n\n /**\n * Creates a function that invokes `func` with arguments reversed.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to flip arguments for.\n * @returns {Function} Returns the new flipped function.\n * @example\n *\n * var flipped = _.flip(function() {\n * return _.toArray(arguments);\n * });\n *\n * flipped('a', 'b', 'c', 'd');\n * // => ['d', 'c', 'b', 'a']\n */\n function flip(func) {\n return createWrap(func, WRAP_FLIP_FLAG);\n }\n\n /**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\n function memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n }\n\n // Expose `MapCache`.\n memoize.Cache = MapCache;\n\n /**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\n function negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n var args = arguments;\n switch (args.length) {\n case 0: return !predicate.call(this);\n case 1: return !predicate.call(this, args[0]);\n case 2: return !predicate.call(this, args[0], args[1]);\n case 3: return !predicate.call(this, args[0], args[1], args[2]);\n }\n return !predicate.apply(this, args);\n };\n }\n\n /**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\n function once(func) {\n return before(2, func);\n }\n\n /**\n * Creates a function that invokes `func` with its arguments transformed.\n *\n * @static\n * @since 4.0.0\n * @memberOf _\n * @category Function\n * @param {Function} func The function to wrap.\n * @param {...(Function|Function[])} [transforms=[_.identity]]\n * The argument transforms.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function doubled(n) {\n * return n * 2;\n * }\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var func = _.overArgs(function(x, y) {\n * return [x, y];\n * }, [square, doubled]);\n *\n * func(9, 3);\n * // => [81, 6]\n *\n * func(10, 5);\n * // => [100, 10]\n */\n var overArgs = castRest(function(func, transforms) {\n transforms = (transforms.length == 1 && isArray(transforms[0]))\n ? arrayMap(transforms[0], baseUnary(getIteratee()))\n : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n\n var funcsLength = transforms.length;\n return baseRest(function(args) {\n var index = -1,\n length = nativeMin(args.length, funcsLength);\n\n while (++index < length) {\n args[index] = transforms[index].call(this, args[index]);\n }\n return apply(func, this, args);\n });\n });\n\n /**\n * Creates a function that invokes `func` with `partials` prepended to the\n * arguments it receives. This method is like `_.bind` except it does **not**\n * alter the `this` binding.\n *\n * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 0.2.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var sayHelloTo = _.partial(greet, 'hello');\n * sayHelloTo('fred');\n * // => 'hello fred'\n *\n * // Partially applied with placeholders.\n * var greetFred = _.partial(greet, _, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n */\n var partial = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partial));\n return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n });\n\n /**\n * This method is like `_.partial` except that partially applied arguments\n * are appended to the arguments it receives.\n *\n * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var greetFred = _.partialRight(greet, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n *\n * // Partially applied with placeholders.\n * var sayHelloTo = _.partialRight(greet, 'hello', _);\n * sayHelloTo('fred');\n * // => 'hello fred'\n */\n var partialRight = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partialRight));\n return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n });\n\n /**\n * Creates a function that invokes `func` with arguments arranged according\n * to the specified `indexes` where the argument value at the first index is\n * provided as the first argument, the argument value at the second index is\n * provided as the second argument, and so on.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to rearrange arguments for.\n * @param {...(number|number[])} indexes The arranged argument indexes.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var rearged = _.rearg(function(a, b, c) {\n * return [a, b, c];\n * }, [2, 0, 1]);\n *\n * rearged('b', 'c', 'a')\n * // => ['a', 'b', 'c']\n */\n var rearg = flatRest(function(func, indexes) {\n return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n });\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * created function and arguments from `start` and beyond provided as\n * an array.\n *\n * **Note:** This method is based on the\n * [rest parameter](https://mdn.io/rest_parameters).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.rest(function(what, names) {\n * return what + ' ' + _.initial(names).join(', ') +\n * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n * });\n *\n * say('hello', 'fred', 'barney', 'pebbles');\n * // => 'hello fred, barney, & pebbles'\n */\n function rest(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start === undefined ? start : toInteger(start);\n return baseRest(func, start);\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * create function and an array of arguments much like\n * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n *\n * **Note:** This method is based on the\n * [spread operator](https://mdn.io/spread_operator).\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Function\n * @param {Function} func The function to spread arguments over.\n * @param {number} [start=0] The start position of the spread.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.spread(function(who, what) {\n * return who + ' says ' + what;\n * });\n *\n * say(['fred', 'hello']);\n * // => 'fred says hello'\n *\n * var numbers = Promise.all([\n * Promise.resolve(40),\n * Promise.resolve(36)\n * ]);\n *\n * numbers.then(_.spread(function(x, y) {\n * return x + y;\n * }));\n * // => a Promise of 76\n */\n function spread(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start == null ? 0 : nativeMax(toInteger(start), 0);\n return baseRest(function(args) {\n var array = args[start],\n otherArgs = castSlice(args, 0, start);\n\n if (array) {\n arrayPush(otherArgs, array);\n }\n return apply(func, this, otherArgs);\n });\n }\n\n /**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n function throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n }\n\n /**\n * Creates a function that accepts up to one argument, ignoring any\n * additional arguments.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.unary(parseInt));\n * // => [6, 8, 10]\n */\n function unary(func) {\n return ary(func, 1);\n }\n\n /**\n * Creates a function that provides `value` to `wrapper` as its first\n * argument. Any additional arguments provided to the function are appended\n * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n * binding of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {*} value The value to wrap.\n * @param {Function} [wrapper=identity] The wrapper function.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var p = _.wrap(_.escape, function(func, text) {\n * return '

' + func(text) + '

';\n * });\n *\n * p('fred, barney, & pebbles');\n * // => '

fred, barney, & pebbles

'\n */\n function wrap(value, wrapper) {\n return partial(castFunction(wrapper), value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Casts `value` as an array if it's not one.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Lang\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast array.\n * @example\n *\n * _.castArray(1);\n * // => [1]\n *\n * _.castArray({ 'a': 1 });\n * // => [{ 'a': 1 }]\n *\n * _.castArray('abc');\n * // => ['abc']\n *\n * _.castArray(null);\n * // => [null]\n *\n * _.castArray(undefined);\n * // => [undefined]\n *\n * _.castArray();\n * // => []\n *\n * var array = [1, 2, 3];\n * console.log(_.castArray(array) === array);\n * // => true\n */\n function castArray() {\n if (!arguments.length) {\n return [];\n }\n var value = arguments[0];\n return isArray(value) ? value : [value];\n }\n\n /**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\n function clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.clone` except that it accepts `customizer` which\n * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n * cloning is handled by the method instead. The `customizer` is invoked with\n * up to four arguments; (value [, index|key, object, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeepWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(false);\n * }\n * }\n *\n * var el = _.cloneWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 0\n */\n function cloneWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\n function cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.cloneWith` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the deep cloned value.\n * @see _.cloneWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(true);\n * }\n * }\n *\n * var el = _.cloneDeepWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 20\n */\n function cloneDeepWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * Checks if `object` conforms to `source` by invoking the predicate\n * properties of `source` with the corresponding property values of `object`.\n *\n * **Note:** This method is equivalent to `_.conforms` when `source` is\n * partially applied.\n *\n * @static\n * @memberOf _\n * @since 4.14.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n * // => true\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n * // => false\n */\n function conformsTo(object, source) {\n return source == null || baseConformsTo(object, source, keys(source));\n }\n\n /**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\n function eq(value, other) {\n return value === other || (value !== value && other !== other);\n }\n\n /**\n * Checks if `value` is greater than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n * @see _.lt\n * @example\n *\n * _.gt(3, 1);\n * // => true\n *\n * _.gt(3, 3);\n * // => false\n *\n * _.gt(1, 3);\n * // => false\n */\n var gt = createRelationalOperation(baseGt);\n\n /**\n * Checks if `value` is greater than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than or equal to\n * `other`, else `false`.\n * @see _.lte\n * @example\n *\n * _.gte(3, 1);\n * // => true\n *\n * _.gte(3, 3);\n * // => true\n *\n * _.gte(1, 3);\n * // => false\n */\n var gte = createRelationalOperation(function(value, other) {\n return value >= other;\n });\n\n /**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\n var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n };\n\n /**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\n var isArray = Array.isArray;\n\n /**\n * Checks if `value` is classified as an `ArrayBuffer` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n * @example\n *\n * _.isArrayBuffer(new ArrayBuffer(2));\n * // => true\n *\n * _.isArrayBuffer(new Array(2));\n * // => false\n */\n var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\n\n /**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\n function isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n }\n\n /**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\n function isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n }\n\n /**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\n function isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && baseGetTag(value) == boolTag);\n }\n\n /**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\n var isBuffer = nativeIsBuffer || stubFalse;\n\n /**\n * Checks if `value` is classified as a `Date` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n * @example\n *\n * _.isDate(new Date);\n * // => true\n *\n * _.isDate('Mon April 23 2012');\n * // => false\n */\n var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n\n /**\n * Checks if `value` is likely a DOM element.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('');\n * // => false\n */\n function isElement(value) {\n return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n }\n\n /**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\n function isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\n function isEqual(value, other) {\n return baseIsEqual(value, other);\n }\n\n /**\n * This method is like `_.isEqual` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with up to\n * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * _.isEqualWith(array, other, customizer);\n * // => true\n */\n function isEqualWith(value, other, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n var result = customizer ? customizer(value, other) : undefined;\n return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n }\n\n /**\n * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n * @example\n *\n * _.isError(new Error);\n * // => true\n *\n * _.isError(Error);\n * // => false\n */\n function isError(value) {\n if (!isObjectLike(value)) {\n return false;\n }\n var tag = baseGetTag(value);\n return tag == errorTag || tag == domExcTag ||\n (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));\n }\n\n /**\n * Checks if `value` is a finite primitive number.\n *\n * **Note:** This method is based on\n * [`Number.isFinite`](https://mdn.io/Number/isFinite).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n * @example\n *\n * _.isFinite(3);\n * // => true\n *\n * _.isFinite(Number.MIN_VALUE);\n * // => true\n *\n * _.isFinite(Infinity);\n * // => false\n *\n * _.isFinite('3');\n * // => false\n */\n function isFinite(value) {\n return typeof value == 'number' && nativeIsFinite(value);\n }\n\n /**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\n function isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n }\n\n /**\n * Checks if `value` is an integer.\n *\n * **Note:** This method is based on\n * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n * @example\n *\n * _.isInteger(3);\n * // => true\n *\n * _.isInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isInteger(Infinity);\n * // => false\n *\n * _.isInteger('3');\n * // => false\n */\n function isInteger(value) {\n return typeof value == 'number' && value == toInteger(value);\n }\n\n /**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\n function isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n function isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n }\n\n /**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n function isObjectLike(value) {\n return value != null && typeof value == 'object';\n }\n\n /**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\n var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\n /**\n * Performs a partial deep comparison between `object` and `source` to\n * determine if `object` contains equivalent property values.\n *\n * **Note:** This method is equivalent to `_.matches` when `source` is\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.isMatch(object, { 'b': 2 });\n * // => true\n *\n * _.isMatch(object, { 'b': 1 });\n * // => false\n */\n function isMatch(object, source) {\n return object === source || baseIsMatch(object, source, getMatchData(source));\n }\n\n /**\n * This method is like `_.isMatch` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with five\n * arguments: (objValue, srcValue, index|key, object, source).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, srcValue) {\n * if (isGreeting(objValue) && isGreeting(srcValue)) {\n * return true;\n * }\n * }\n *\n * var object = { 'greeting': 'hello' };\n * var source = { 'greeting': 'hi' };\n *\n * _.isMatchWith(object, source, customizer);\n * // => true\n */\n function isMatchWith(object, source, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseIsMatch(object, source, getMatchData(source), customizer);\n }\n\n /**\n * Checks if `value` is `NaN`.\n *\n * **Note:** This method is based on\n * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n * `undefined` and other non-number values.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n * @example\n *\n * _.isNaN(NaN);\n * // => true\n *\n * _.isNaN(new Number(NaN));\n * // => true\n *\n * isNaN(undefined);\n * // => true\n *\n * _.isNaN(undefined);\n * // => false\n */\n function isNaN(value) {\n // An `NaN` primitive is the only value that is not equal to itself.\n // Perform the `toStringTag` check first to avoid errors with some\n // ActiveX objects in IE.\n return isNumber(value) && value != +value;\n }\n\n /**\n * Checks if `value` is a pristine native function.\n *\n * **Note:** This method can't reliably detect native functions in the presence\n * of the core-js package because core-js circumvents this kind of detection.\n * Despite multiple requests, the core-js maintainer has made it clear: any\n * attempt to fix the detection will be obstructed. As a result, we're left\n * with little choice but to throw an error. Unfortunately, this also affects\n * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n * which rely on core-js.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n * @example\n *\n * _.isNative(Array.prototype.push);\n * // => true\n *\n * _.isNative(_);\n * // => false\n */\n function isNative(value) {\n if (isMaskable(value)) {\n throw new Error(CORE_ERROR_TEXT);\n }\n return baseIsNative(value);\n }\n\n /**\n * Checks if `value` is `null`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\n function isNull(value) {\n return value === null;\n }\n\n /**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\n function isNil(value) {\n return value == null;\n }\n\n /**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\n function isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n }\n\n /**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\n function isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n }\n\n /**\n * Checks if `value` is classified as a `RegExp` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n * @example\n *\n * _.isRegExp(/abc/);\n * // => true\n *\n * _.isRegExp('/abc/');\n * // => false\n */\n var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n\n /**\n * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n * double precision number which isn't the result of a rounded unsafe integer.\n *\n * **Note:** This method is based on\n * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.\n * @example\n *\n * _.isSafeInteger(3);\n * // => true\n *\n * _.isSafeInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isSafeInteger(Infinity);\n * // => false\n *\n * _.isSafeInteger('3');\n * // => false\n */\n function isSafeInteger(value) {\n return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\n var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\n /**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\n function isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n }\n\n /**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n function isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n }\n\n /**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\n var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n /**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\n function isUndefined(value) {\n return value === undefined;\n }\n\n /**\n * Checks if `value` is classified as a `WeakMap` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.\n * @example\n *\n * _.isWeakMap(new WeakMap);\n * // => true\n *\n * _.isWeakMap(new Map);\n * // => false\n */\n function isWeakMap(value) {\n return isObjectLike(value) && getTag(value) == weakMapTag;\n }\n\n /**\n * Checks if `value` is classified as a `WeakSet` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.\n * @example\n *\n * _.isWeakSet(new WeakSet);\n * // => true\n *\n * _.isWeakSet(new Set);\n * // => false\n */\n function isWeakSet(value) {\n return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n }\n\n /**\n * Checks if `value` is less than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n * @see _.gt\n * @example\n *\n * _.lt(1, 3);\n * // => true\n *\n * _.lt(3, 3);\n * // => false\n *\n * _.lt(3, 1);\n * // => false\n */\n var lt = createRelationalOperation(baseLt);\n\n /**\n * Checks if `value` is less than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than or equal to\n * `other`, else `false`.\n * @see _.gte\n * @example\n *\n * _.lte(1, 3);\n * // => true\n *\n * _.lte(3, 3);\n * // => true\n *\n * _.lte(3, 1);\n * // => false\n */\n var lte = createRelationalOperation(function(value, other) {\n return value <= other;\n });\n\n /**\n * Converts `value` to an array.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Array} Returns the converted array.\n * @example\n *\n * _.toArray({ 'a': 1, 'b': 2 });\n * // => [1, 2]\n *\n * _.toArray('abc');\n * // => ['a', 'b', 'c']\n *\n * _.toArray(1);\n * // => []\n *\n * _.toArray(null);\n * // => []\n */\n function toArray(value) {\n if (!value) {\n return [];\n }\n if (isArrayLike(value)) {\n return isString(value) ? stringToArray(value) : copyArray(value);\n }\n if (symIterator && value[symIterator]) {\n return iteratorToArray(value[symIterator]());\n }\n var tag = getTag(value),\n func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);\n\n return func(value);\n }\n\n /**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\n function toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n }\n\n /**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\n function toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n }\n\n /**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object.\n *\n * **Note:** This method is based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toLength(3.2);\n * // => 3\n *\n * _.toLength(Number.MIN_VALUE);\n * // => 0\n *\n * _.toLength(Infinity);\n * // => 4294967295\n *\n * _.toLength('3.2');\n * // => 3\n */\n function toLength(value) {\n return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n }\n\n /**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n function toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n }\n\n /**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\n function toPlainObject(value) {\n return copyObject(value, keysIn(value));\n }\n\n /**\n * Converts `value` to a safe integer. A safe integer can be compared and\n * represented correctly.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toSafeInteger(3.2);\n * // => 3\n *\n * _.toSafeInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toSafeInteger(Infinity);\n * // => 9007199254740991\n *\n * _.toSafeInteger('3.2');\n * // => 3\n */\n function toSafeInteger(value) {\n return value\n ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)\n : (value === 0 ? value : 0);\n }\n\n /**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\n function toString(value) {\n return value == null ? '' : baseToString(value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\n var assign = createAssigner(function(object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n });\n\n /**\n * This method is like `_.assign` except that it iterates over own and\n * inherited source properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extend\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assign\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n */\n var assignIn = createAssigner(function(object, source) {\n copyObject(source, keysIn(source), object);\n });\n\n /**\n * This method is like `_.assignIn` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extendWith\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignInWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keysIn(source), object, customizer);\n });\n\n /**\n * This method is like `_.assign` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignInWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keys(source), object, customizer);\n });\n\n /**\n * Creates an array of values corresponding to `paths` of `object`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Array} Returns the picked values.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _.at(object, ['a[0].b.c', 'a[1]']);\n * // => [3, 4]\n */\n var at = flatRest(baseAt);\n\n /**\n * Creates an object that inherits from the `prototype` object. If a\n * `properties` object is given, its own enumerable string keyed properties\n * are assigned to the created object.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Object\n * @param {Object} prototype The object to inherit from.\n * @param {Object} [properties] The properties to assign to the object.\n * @returns {Object} Returns the new object.\n * @example\n *\n * function Shape() {\n * this.x = 0;\n * this.y = 0;\n * }\n *\n * function Circle() {\n * Shape.call(this);\n * }\n *\n * Circle.prototype = _.create(Shape.prototype, {\n * 'constructor': Circle\n * });\n *\n * var circle = new Circle;\n * circle instanceof Circle;\n * // => true\n *\n * circle instanceof Shape;\n * // => true\n */\n function create(prototype, properties) {\n var result = baseCreate(prototype);\n return properties == null ? result : baseAssign(result, properties);\n }\n\n /**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n });\n\n /**\n * This method is like `_.defaults` except that it recursively assigns\n * default properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaults\n * @example\n *\n * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n * // => { 'a': { 'b': 2, 'c': 3 } }\n */\n var defaultsDeep = baseRest(function(args) {\n args.push(undefined, customDefaultsMerge);\n return apply(mergeWith, undefined, args);\n });\n\n /**\n * This method is like `_.find` except that it returns the key of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findKey(users, function(o) { return o.age < 40; });\n * // => 'barney' (iteration order is not guaranteed)\n *\n * // The `_.matches` iteratee shorthand.\n * _.findKey(users, { 'age': 1, 'active': true });\n * // => 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findKey(users, 'active');\n * // => 'barney'\n */\n function findKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n }\n\n /**\n * This method is like `_.findKey` except that it iterates over elements of\n * a collection in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findLastKey(users, function(o) { return o.age < 40; });\n * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastKey(users, { 'age': 36, 'active': true });\n * // => 'barney'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastKey(users, 'active');\n * // => 'pebbles'\n */\n function findLastKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n }\n\n /**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\n function forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * This method is like `_.forIn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forInRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n */\n function forInRight(object, iteratee) {\n return object == null\n ? object\n : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forOwn(object, iteratee) {\n return object && baseForOwn(object, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forOwn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwnRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n */\n function forOwnRight(object, iteratee) {\n return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an array of function property names from own enumerable properties\n * of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functionsIn\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functions(new Foo);\n * // => ['a', 'b']\n */\n function functions(object) {\n return object == null ? [] : baseFunctions(object, keys(object));\n }\n\n /**\n * Creates an array of function property names from own and inherited\n * enumerable properties of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functions\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functionsIn(new Foo);\n * // => ['a', 'b', 'c']\n */\n function functionsIn(object) {\n return object == null ? [] : baseFunctions(object, keysIn(object));\n }\n\n /**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\n function get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n }\n\n /**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\n function has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n }\n\n /**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\n function hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n }\n\n /**\n * Creates an object composed of the inverted keys and values of `object`.\n * If `object` contains duplicate values, subsequent values overwrite\n * property assignments of previous values.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Object\n * @param {Object} object The object to invert.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invert(object);\n * // => { '1': 'c', '2': 'b' }\n */\n var invert = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n result[value] = key;\n }, constant(identity));\n\n /**\n * This method is like `_.invert` except that the inverted object is generated\n * from the results of running each element of `object` thru `iteratee`. The\n * corresponding inverted value of each inverted key is an array of keys\n * responsible for generating the inverted value. The iteratee is invoked\n * with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Object\n * @param {Object} object The object to invert.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invertBy(object);\n * // => { '1': ['a', 'c'], '2': ['b'] }\n *\n * _.invertBy(object, function(value) {\n * return 'group' + value;\n * });\n * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n */\n var invertBy = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n if (hasOwnProperty.call(result, value)) {\n result[value].push(key);\n } else {\n result[value] = [key];\n }\n }, getIteratee);\n\n /**\n * Invokes the method at `path` of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n *\n * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n * // => [2, 3]\n */\n var invoke = baseRest(baseInvoke);\n\n /**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\n function keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n }\n\n /**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\n function keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n }\n\n /**\n * The opposite of `_.mapValues`; this method creates an object with the\n * same values as `object` and keys generated by running each own enumerable\n * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n * with three arguments: (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapValues\n * @example\n *\n * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n * return key + value;\n * });\n * // => { 'a1': 1, 'b2': 2 }\n */\n function mapKeys(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, iteratee(value, key, object), value);\n });\n return result;\n }\n\n /**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\n function mapValues(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n }\n\n /**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\n var merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n });\n\n /**\n * This method is like `_.merge` except that it accepts `customizer` which\n * is invoked to produce the merged values of the destination and source\n * properties. If `customizer` returns `undefined`, merging is handled by the\n * method instead. The `customizer` is invoked with six arguments:\n * (objValue, srcValue, key, object, source, stack).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} customizer The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function customizer(objValue, srcValue) {\n * if (_.isArray(objValue)) {\n * return objValue.concat(srcValue);\n * }\n * }\n *\n * var object = { 'a': [1], 'b': [2] };\n * var other = { 'a': [3], 'b': [4] };\n *\n * _.mergeWith(object, other, customizer);\n * // => { 'a': [1, 3], 'b': [2, 4] }\n */\n var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {\n baseMerge(object, source, srcIndex, customizer);\n });\n\n /**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\n var omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n });\n\n /**\n * The opposite of `_.pickBy`; this method creates an object composed of\n * the own and inherited enumerable string keyed properties of `object` that\n * `predicate` doesn't return truthy for. The predicate is invoked with two\n * arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omitBy(object, _.isNumber);\n * // => { 'b': '2' }\n */\n function omitBy(object, predicate) {\n return pickBy(object, negate(getIteratee(predicate)));\n }\n\n /**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\n var pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n });\n\n /**\n * Creates an object composed of the `object` properties `predicate` returns\n * truthy for. The predicate is invoked with two arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pickBy(object, _.isNumber);\n * // => { 'a': 1, 'c': 3 }\n */\n function pickBy(object, predicate) {\n if (object == null) {\n return {};\n }\n var props = arrayMap(getAllKeysIn(object), function(prop) {\n return [prop];\n });\n predicate = getIteratee(predicate);\n return basePickBy(object, props, function(value, path) {\n return predicate(value, path[0]);\n });\n }\n\n /**\n * This method is like `_.get` except that if the resolved value is a\n * function it's invoked with the `this` binding of its parent object and\n * its result is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to resolve.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n *\n * _.result(object, 'a[0].b.c1');\n * // => 3\n *\n * _.result(object, 'a[0].b.c2');\n * // => 4\n *\n * _.result(object, 'a[0].b.c3', 'default');\n * // => 'default'\n *\n * _.result(object, 'a[0].b.c3', _.constant('default'));\n * // => 'default'\n */\n function result(object, path, defaultValue) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length;\n\n // Ensure the loop is entered when path is empty.\n if (!length) {\n length = 1;\n object = undefined;\n }\n while (++index < length) {\n var value = object == null ? undefined : object[toKey(path[index])];\n if (value === undefined) {\n index = length;\n value = defaultValue;\n }\n object = isFunction(value) ? value.call(object) : value;\n }\n return object;\n }\n\n /**\n * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n * it's created. Arrays are created for missing index properties while objects\n * are created for all other missing properties. Use `_.setWith` to customize\n * `path` creation.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, ['x', '0', 'y', 'z'], 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\n function set(object, path, value) {\n return object == null ? object : baseSet(object, path, value);\n }\n\n /**\n * This method is like `_.set` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.setWith(object, '[0][1]', 'a', Object);\n * // => { '0': { '1': 'a' } }\n */\n function setWith(object, path, value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseSet(object, path, value, customizer);\n }\n\n /**\n * Creates an array of own enumerable string keyed-value pairs for `object`\n * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n * entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entries\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairs(new Foo);\n * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n */\n var toPairs = createToPairs(keys);\n\n /**\n * Creates an array of own and inherited enumerable string keyed-value pairs\n * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n * or set, its entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entriesIn\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairsIn(new Foo);\n * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n */\n var toPairsIn = createToPairs(keysIn);\n\n /**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\n function transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = getIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n }\n\n /**\n * Removes the property at `path` of `object`.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n * _.unset(object, 'a[0].b.c');\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n *\n * _.unset(object, ['a', '0', 'b', 'c']);\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n */\n function unset(object, path) {\n return object == null ? true : baseUnset(object, path);\n }\n\n /**\n * This method is like `_.set` except that accepts `updater` to produce the\n * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n * is invoked with one argument: (value).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n * console.log(object.a[0].b.c);\n * // => 9\n *\n * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n * console.log(object.x[0].y.z);\n * // => 0\n */\n function update(object, path, updater) {\n return object == null ? object : baseUpdate(object, path, castFunction(updater));\n }\n\n /**\n * This method is like `_.update` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n * // => { '0': { '1': 'a' } }\n */\n function updateWith(object, path, updater, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n }\n\n /**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\n function values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n }\n\n /**\n * Creates an array of the own and inherited enumerable string keyed property\n * values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.valuesIn(new Foo);\n * // => [1, 2, 3] (iteration order is not guaranteed)\n */\n function valuesIn(object) {\n return object == null ? [] : baseValues(object, keysIn(object));\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Clamps `number` within the inclusive `lower` and `upper` bounds.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Number\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n * @example\n *\n * _.clamp(-10, -5, 5);\n * // => -5\n *\n * _.clamp(10, -5, 5);\n * // => 5\n */\n function clamp(number, lower, upper) {\n if (upper === undefined) {\n upper = lower;\n lower = undefined;\n }\n if (upper !== undefined) {\n upper = toNumber(upper);\n upper = upper === upper ? upper : 0;\n }\n if (lower !== undefined) {\n lower = toNumber(lower);\n lower = lower === lower ? lower : 0;\n }\n return baseClamp(toNumber(number), lower, upper);\n }\n\n /**\n * Checks if `n` is between `start` and up to, but not including, `end`. If\n * `end` is not specified, it's set to `start` with `start` then set to `0`.\n * If `start` is greater than `end` the params are swapped to support\n * negative ranges.\n *\n * @static\n * @memberOf _\n * @since 3.3.0\n * @category Number\n * @param {number} number The number to check.\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n * @see _.range, _.rangeRight\n * @example\n *\n * _.inRange(3, 2, 4);\n * // => true\n *\n * _.inRange(4, 8);\n * // => true\n *\n * _.inRange(4, 2);\n * // => false\n *\n * _.inRange(2, 2);\n * // => false\n *\n * _.inRange(1.2, 2);\n * // => true\n *\n * _.inRange(5.2, 4);\n * // => false\n *\n * _.inRange(-3, -2, -6);\n * // => true\n */\n function inRange(number, start, end) {\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n number = toNumber(number);\n return baseInRange(number, start, end);\n }\n\n /**\n * Produces a random number between the inclusive `lower` and `upper` bounds.\n * If only one argument is provided a number between `0` and the given number\n * is returned. If `floating` is `true`, or either `lower` or `upper` are\n * floats, a floating-point number is returned instead of an integer.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Number\n * @param {number} [lower=0] The lower bound.\n * @param {number} [upper=1] The upper bound.\n * @param {boolean} [floating] Specify returning a floating-point number.\n * @returns {number} Returns the random number.\n * @example\n *\n * _.random(0, 5);\n * // => an integer between 0 and 5\n *\n * _.random(5);\n * // => also an integer between 0 and 5\n *\n * _.random(5, true);\n * // => a floating-point number between 0 and 5\n *\n * _.random(1.2, 5.2);\n * // => a floating-point number between 1.2 and 5.2\n */\n function random(lower, upper, floating) {\n if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n upper = floating = undefined;\n }\n if (floating === undefined) {\n if (typeof upper == 'boolean') {\n floating = upper;\n upper = undefined;\n }\n else if (typeof lower == 'boolean') {\n floating = lower;\n lower = undefined;\n }\n }\n if (lower === undefined && upper === undefined) {\n lower = 0;\n upper = 1;\n }\n else {\n lower = toFinite(lower);\n if (upper === undefined) {\n upper = lower;\n lower = 0;\n } else {\n upper = toFinite(upper);\n }\n }\n if (lower > upper) {\n var temp = lower;\n lower = upper;\n upper = temp;\n }\n if (floating || lower % 1 || upper % 1) {\n var rand = nativeRandom();\n return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);\n }\n return baseRandom(lower, upper);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the camel cased string.\n * @example\n *\n * _.camelCase('Foo Bar');\n * // => 'fooBar'\n *\n * _.camelCase('--foo-bar--');\n * // => 'fooBar'\n *\n * _.camelCase('__FOO_BAR__');\n * // => 'fooBar'\n */\n var camelCase = createCompounder(function(result, word, index) {\n word = word.toLowerCase();\n return result + (index ? capitalize(word) : word);\n });\n\n /**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\n function capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n }\n\n /**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\n function deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n }\n\n /**\n * Checks if `string` ends with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=string.length] The position to search up to.\n * @returns {boolean} Returns `true` if `string` ends with `target`,\n * else `false`.\n * @example\n *\n * _.endsWith('abc', 'c');\n * // => true\n *\n * _.endsWith('abc', 'b');\n * // => false\n *\n * _.endsWith('abc', 'b', 2);\n * // => true\n */\n function endsWith(string, target, position) {\n string = toString(string);\n target = baseToString(target);\n\n var length = string.length;\n position = position === undefined\n ? length\n : baseClamp(toInteger(position), 0, length);\n\n var end = position;\n position -= target.length;\n return position >= 0 && string.slice(position, end) == target;\n }\n\n /**\n * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n * corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional\n * characters use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value. See\n * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * When working with HTML you should always\n * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n * XSS vectors.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n function escape(string) {\n string = toString(string);\n return (string && reHasUnescapedHtml.test(string))\n ? string.replace(reUnescapedHtml, escapeHtmlChar)\n : string;\n }\n\n /**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\n function escapeRegExp(string) {\n string = toString(string);\n return (string && reHasRegExpChar.test(string))\n ? string.replace(reRegExpChar, '\\\\$&')\n : string;\n }\n\n /**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\n var kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n });\n\n /**\n * Converts `string`, as space separated words, to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the lower cased string.\n * @example\n *\n * _.lowerCase('--Foo-Bar--');\n * // => 'foo bar'\n *\n * _.lowerCase('fooBar');\n * // => 'foo bar'\n *\n * _.lowerCase('__FOO_BAR__');\n * // => 'foo bar'\n */\n var lowerCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + word.toLowerCase();\n });\n\n /**\n * Converts the first character of `string` to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.lowerFirst('Fred');\n * // => 'fred'\n *\n * _.lowerFirst('FRED');\n * // => 'fRED'\n */\n var lowerFirst = createCaseFirst('toLowerCase');\n\n /**\n * Pads `string` on the left and right sides if it's shorter than `length`.\n * Padding characters are truncated if they can't be evenly divided by `length`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.pad('abc', 8);\n * // => ' abc '\n *\n * _.pad('abc', 8, '_-');\n * // => '_-abc_-_'\n *\n * _.pad('abc', 3);\n * // => 'abc'\n */\n function pad(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n if (!length || strLength >= length) {\n return string;\n }\n var mid = (length - strLength) / 2;\n return (\n createPadding(nativeFloor(mid), chars) +\n string +\n createPadding(nativeCeil(mid), chars)\n );\n }\n\n /**\n * Pads `string` on the right side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padEnd('abc', 6);\n * // => 'abc '\n *\n * _.padEnd('abc', 6, '_-');\n * // => 'abc_-_'\n *\n * _.padEnd('abc', 3);\n * // => 'abc'\n */\n function padEnd(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (string + createPadding(length - strLength, chars))\n : string;\n }\n\n /**\n * Pads `string` on the left side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padStart('abc', 6);\n * // => ' abc'\n *\n * _.padStart('abc', 6, '_-');\n * // => '_-_abc'\n *\n * _.padStart('abc', 3);\n * // => 'abc'\n */\n function padStart(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (createPadding(length - strLength, chars) + string)\n : string;\n }\n\n /**\n * Converts `string` to an integer of the specified radix. If `radix` is\n * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n * hexadecimal, in which case a `radix` of `16` is used.\n *\n * **Note:** This method aligns with the\n * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category String\n * @param {string} string The string to convert.\n * @param {number} [radix=10] The radix to interpret `value` by.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.parseInt('08');\n * // => 8\n *\n * _.map(['6', '08', '10'], _.parseInt);\n * // => [6, 8, 10]\n */\n function parseInt(string, radix, guard) {\n if (guard || radix == null) {\n radix = 0;\n } else if (radix) {\n radix = +radix;\n }\n return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n }\n\n /**\n * Repeats the given string `n` times.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to repeat.\n * @param {number} [n=1] The number of times to repeat the string.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the repeated string.\n * @example\n *\n * _.repeat('*', 3);\n * // => '***'\n *\n * _.repeat('abc', 2);\n * // => 'abcabc'\n *\n * _.repeat('abc', 0);\n * // => ''\n */\n function repeat(string, n, guard) {\n if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n return baseRepeat(toString(string), n);\n }\n\n /**\n * Replaces matches for `pattern` in `string` with `replacement`.\n *\n * **Note:** This method is based on\n * [`String#replace`](https://mdn.io/String/replace).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to modify.\n * @param {RegExp|string} pattern The pattern to replace.\n * @param {Function|string} replacement The match replacement.\n * @returns {string} Returns the modified string.\n * @example\n *\n * _.replace('Hi Fred', 'Fred', 'Barney');\n * // => 'Hi Barney'\n */\n function replace() {\n var args = arguments,\n string = toString(args[0]);\n\n return args.length < 3 ? string : string.replace(args[1], args[2]);\n }\n\n /**\n * Converts `string` to\n * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the snake cased string.\n * @example\n *\n * _.snakeCase('Foo Bar');\n * // => 'foo_bar'\n *\n * _.snakeCase('fooBar');\n * // => 'foo_bar'\n *\n * _.snakeCase('--FOO-BAR--');\n * // => 'foo_bar'\n */\n var snakeCase = createCompounder(function(result, word, index) {\n return result + (index ? '_' : '') + word.toLowerCase();\n });\n\n /**\n * Splits `string` by `separator`.\n *\n * **Note:** This method is based on\n * [`String#split`](https://mdn.io/String/split).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to split.\n * @param {RegExp|string} separator The separator pattern to split by.\n * @param {number} [limit] The length to truncate results to.\n * @returns {Array} Returns the string segments.\n * @example\n *\n * _.split('a-b-c', '-', 2);\n * // => ['a', 'b']\n */\n function split(string, separator, limit) {\n if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n separator = limit = undefined;\n }\n limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n if (!limit) {\n return [];\n }\n string = toString(string);\n if (string && (\n typeof separator == 'string' ||\n (separator != null && !isRegExp(separator))\n )) {\n separator = baseToString(separator);\n if (!separator && hasUnicode(string)) {\n return castSlice(stringToArray(string), 0, limit);\n }\n }\n return string.split(separator, limit);\n }\n\n /**\n * Converts `string` to\n * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n *\n * @static\n * @memberOf _\n * @since 3.1.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the start cased string.\n * @example\n *\n * _.startCase('--foo-bar--');\n * // => 'Foo Bar'\n *\n * _.startCase('fooBar');\n * // => 'Foo Bar'\n *\n * _.startCase('__FOO_BAR__');\n * // => 'FOO BAR'\n */\n var startCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + upperFirst(word);\n });\n\n /**\n * Checks if `string` starts with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=0] The position to search from.\n * @returns {boolean} Returns `true` if `string` starts with `target`,\n * else `false`.\n * @example\n *\n * _.startsWith('abc', 'a');\n * // => true\n *\n * _.startsWith('abc', 'b');\n * // => false\n *\n * _.startsWith('abc', 'b', 1);\n * // => true\n */\n function startsWith(string, target, position) {\n string = toString(string);\n position = position == null\n ? 0\n : baseClamp(toInteger(position), 0, string.length);\n\n target = baseToString(target);\n return string.slice(position, position + target.length) == target;\n }\n\n /**\n * Creates a compiled template function that can interpolate data properties\n * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n * properties may be accessed as free variables in the template. If a setting\n * object is given, it takes precedence over `_.templateSettings` values.\n *\n * **Note:** In the development build `_.template` utilizes\n * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n * for easier debugging.\n *\n * For more information on precompiling templates see\n * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n *\n * For more information on Chrome extension sandboxes see\n * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The template string.\n * @param {Object} [options={}] The options object.\n * @param {RegExp} [options.escape=_.templateSettings.escape]\n * The HTML \"escape\" delimiter.\n * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n * The \"evaluate\" delimiter.\n * @param {Object} [options.imports=_.templateSettings.imports]\n * An object to import into the template as free variables.\n * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n * The \"interpolate\" delimiter.\n * @param {string} [options.sourceURL='lodash.templateSources[n]']\n * The sourceURL of the compiled template.\n * @param {string} [options.variable='obj']\n * The data object variable name.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the compiled template function.\n * @example\n *\n * // Use the \"interpolate\" delimiter to create a compiled template.\n * var compiled = _.template('hello <%= user %>!');\n * compiled({ 'user': 'fred' });\n * // => 'hello fred!'\n *\n * // Use the HTML \"escape\" delimiter to escape data property values.\n * var compiled = _.template('<%- value %>');\n * compiled({ 'value': '