'use strict' ; const logMessages = { namespace : 'namespace parameter is required to be set' , endpoint : 'endpoint parameter is required to be set' , network : 'networkConfig is invalid' , tracker : 'trackerConfig is invalid' , session : 'sessionConfig is invalid' , emitter : 'emitterConfig is invalid' , subject : 'subjectConfig is invalid' , gdpr : 'gdprConfig is invalid' , gc : 'gcConfig is invalid' , context : 'invalid contexts parameter' , selfDesc : 'selfDescribing event requires schema and data parameters to be set' , evType : 'event argument can only be an object' , screenViewReq : 'screenView event requires name as string parameter to be set' , structuredReq : 'structured event requires category and action parameters to be set' , pageviewReq : 'pageView event requires pageUrl parameter to be set' , timingReq : 'timing event requires category, variable and timing parameters to be set' , consentGReq : 'consentGranted event requires expiry, documentId and version parameters to be set' , consentWReq : 'consentWithdrawn event requires all, documentId and version parameters to be set' , ecomReq : 'ecommerceTransaction event requires orderId, totalValue to be set and items to be an array of valid ecommerceItems' , gcTagType : 'tag argument is required to be a string' , gcType : 'global context argument is invalid' , createTracker : 'createTracker:' , removeTracker : 'removeTracker: trackerNamespace can only be a string' , trackSelfDesc : 'trackSelfDescribingEvent:' , trackScreenView : 'trackScreenViewEvent:' , trackStructured : 'trackStructuredEvent:' , trackPageView : 'trackPageViewEvent:' , trackTiming : 'trackTimingEvent:' , trackConsentGranted : 'trackConsentGranted:' , trackConsentWithdrawn : 'trackConsentWithdrawn:' , trackEcommerceTransaction : 'trackEcommerceTransaction:' , removeGlobalContexts : 'removeGlobalContexts:' , addGlobalContexts : 'addGlobalContexts:' , setUserId : 'setUserId: userId can only be a string or null' , setNetworkUserId : 'setNetworkUserId: networkUserId can only be a string(UUID) or null' , setDomainUserId : 'setDomainUserId: domainUserId can only be a string(UUID) or null' , setIpAddress : 'setIpAddress: ipAddress can only be a string or null' , setUseragent : 'setUseragent: useragent can only be a string or null' , setTimezone : 'setTimezone: timezone can only be a string or null' , setLanguage : 'setLanguage: language can only be a string or null' , setScreenResolution : 'setScreenResolution: screenResolution can only be of ScreenSize type or null' , setScreenViewport : 'setScreenViewport: screenViewport can only be of ScreenSize type or null' , setColorDepth : 'setColorDepth: colorDepth can only be a number(integer) or null' , setSubjectData : 'setSubjectData:' , } ; export { logMessages , } ;