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ACA/K,KACAktB,GACAx9E,KACAkF,KACAjG,KACAq6D,KACAuP,QACA+c,SACAl3C,MACDk5B,SAnDCL,KACAse,cAAmB,CACjB96B,OAAQ04B,OAEVqC,aAAoBxP,EAAe,CAAEmP,gBAAcM,cACjD,CAAEC,yBAAyB,EAAOC,0BAA0B,KAC9DC,cAAsB,CACpBd,GACA/xD,MACAvD,QAGFq2D,gBAA+B,CAC7BC,OAAQ,GACRC,QAASpqF,iBAEXqqF,0BAAmC,CAAEC,MAAO,SAC5CC,MACAC,KACAC,KACA3J,EACA4J,MACArgB,eACAsgB,cAAwB3qF,kBACxB4qF,eAA6B,kBAAmB,CAAE9d,SAAS,cA8BlD2c,CAAS,KCpIlBzpF,mBACF6qF,SAGFC,OAAyBC,gBAAgBtB,IACtC5hF,MAAMC,GAAOE,QAAQC,IAAIH,qBCX5B,OACA,aACA,gBACA,WACA,eACA,kBACA,gBACA,mBACA,gBACA,mBACA,gBACA,mBACA,gBACA,mBACA,gBACA,mBACA,cACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,aACA,gBACA,YACA,eACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,mBACA,gBACA,aACA,gBACA,aACA,gBACA,gBACA,mBACA,gBACA,mBACA,eACA,kBACA,gBACA,mBACA,gBACA,mBACA,gBACA,mBACA,gBACA,mBACA,gBACA,mBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,mBACA,gBACA,mBACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,cACA,iBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,mBACA,gBACA,WACA,cACA,aACA,gBACA,aACA,gBACA,YACA,eACA,mBACA,sBACA,kBACA,qBACA,aACA,gBACA,aACA,gBACA,WACA,cACA,aACA,gBACA,aACA,gBACA,gBACA,mBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,aACA,gBACA,iBACA,oBACA,gBACA,mBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,kBACA,qBACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,cACA,iBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,gBACA,mBACA,cACA,iBACA,aACA,gBACA,cACA,iBACA,cACA,kBACA,qBACA,iBACA,gBACA,mBACA,aACA,gBACA,aACA,gBACA,aACA,kBACA,qBACA,gBACA,aACA,gBACA,mBACA,sBACA,aACA,gBACA,gBACA,mBACA,gBACA,mBACA,gBACA,mBACA,gBACA,oBAIA,cACA,WACA,WACA,CACA,cACA,cACA,8CACA,gCACAkjF,EAEA,WACA,CACAC,kBACA,qBACA,EACAA,YACA1jB,YACA0jB","names":["PageNotFoundComponent","constructor","location","goBack","this","back","static","i0","selectors","ctx","CountryCode","USA","fadeOut","trigger","state","style","opacity","transition","animate","slideUp","transform","slideDown","AppConfigurationService","http","getFeatureFlag","featureName","undefined","featureFlags","get","environment","pipe","tap","value","catchError","of","getConfigurationValue","configurationName","configurationNames","getConfigurationPlainTextValue","responseType","getArrayConfigurationValue","configurationArrayValue","factory","ɵfac","AuthService","oidcSecurityService","mixPanel","accessToken","_accessToken","login","localStorage","removeItem","authorize","jmLoginLink","getAuthorizeUrl","take","map","url","replace","window","href","subscribe","logOut","reset","logoffRunning","checkAuth","logoffAndRevokeTokens","setItem","getUserData","userData$","userData","setAccessToken","getAuthenticationResult","res","access_token","getPayloadFromIdToken","tokenPayload","ConfigurationService","highContrastClass","getDefaultCountryCode","getDefaultCountry","EmailService","requestJmccSupport","toEmail","templateName","templateModel","sendEmail","to","subject","isDisclaimerExcluded","model","post","ForbiddenWordsService","BaseHttpService","appConfigurationService","super","Array","BehaviorSubject","originForbiddenWords","shipmentDetailsForbiddenWords","apiDomain","endpoint","forbiddenWords","_forbiddenWords","item","word","applyOnlyLetters","_applyOnlyLetters","getAll","getFullEndpointUrl","words","getOnlyLettersFlag","FeatureName","handleForbiddenWords","locationType","field","length","filter","next","push","locationTypeInput","fieldIndex","findIndex","resetForbiddenWords","NotificationService","authService","EventEmitter","operator","skip","filters","unseenNotificationsDescriptor","logic","sort","dir","createConnection","registerOnServerEvents","startConnection","connection","HubConnectionBuilder","withUrl","httpClient","ZingHubHttpClient","accessTokenFactory","withHubProtocol","MessagePackHubProtocol","build","on","checkNotifications","emit","count","notificationCount","start","then","connectionEstablished","catch","err","hubConnectionRetryCount","console","log","getUserNotificationCount","userId","invoke","getAllNotifications","markNotificationRead","notificationId","put","markAllNotificationRead","markAllNotificationsAsSeen","searchNotifications","filterDefinition","oDataModel","createDataQueryModel","REPORT_GENERATION","SUCCESS","ReportingService","Subject","_hubConnection","connectionEstablished$","groupId","Error","subscribeToGroup","endConnection","data","dataReceived","status","uri","FAILURE","error","unsubscribeFromGroup","stop","requestInProgress$","_this","_this2","initializeGroup","requestReport","requestData","requestReportDetails","requestid","processReport","receiveReport","headers","HttpHeaders","Authorization","processReportRequest","throwError","requestId","switchMap","id","reportId$","isConnected","createSubscriptionUsage","subscriptionUsage","AbortError","errorMessage","trueProto","prototype","__proto__","DefaultHttpClient","send","request","abortSignal","aborted","Promise","reject","method","subscriptionKey","ocpApimTrace","toString","ocpApimSubscriptionKey","EmailConsent","BusinessCategoryCodes","Other","BusinessClassificationCodes","Jeweler","InviteSource","getComanyDetailsState","company","companyDetails","companyName","name","stateId","postCode","postalCode","countryId","RegisterActionTypes","ChangeCurrentStep","SaveNewRegisterCompany","payload","VerifyInviteCode","VerifyInviteCodeSuccess","VerifyInviteCodeFail","LoadSecurityQuestions","LoadSecurityQuestionsSuccess","LoadSecurityQuestionsFail","SavePersonalDetails","SaveCompanyDetails","SaveSecurityOptions","CheckCompanyExists","CheckCompanyExistsSuccess","CheckCompanyExistsFail","SearchCompanies","SearchCompaniesSuccess","SearchCompaniesFail","CreateNewUser","CreateNewUserSuccess","CreateNewUserFail","LoadExistingUserDetails","LoadExistingUserDetailsSuccess","LoadExistingUserDetailsFail","LoadPartnerUserDetails","LoadPartnerUserDetailsSuccess","LoadPartnerUserDetailsFail","DisplayRegistrationBanner","CreateNewUserViaInvite","CreateNewUserViaInviteSuccess","CreateNewUserViaInviteFail","LoadBusinessClassifications","LoadBusinessClassificationsSuccess","LoadBusinessClassificationsFail","AffiliationType","initialState","currentStep","companySearchResults","companySearchFailed","personalDetails","invited","firstName","lastName","middleName","email","countryCode","phone","clientId","emailConsent","source","RegistrationSource","city","feinId","addressLine1","stateName","isOwner","checked","existsOnPlatform","businessNumber","primarySIC","secondarySIC","primaryNAICS","secondaryNAICS","securityOptions","password","confirmPassword","selectedSecurityQuestions","securityQuestions","registrationCompleted","verification","newRegister","bin","businessName","isHeadquarters","phoneNumber","street","taxId","zip","zipExtension","businessCategories","displayRegistrationBanner","getRegisterFeatureState","createFeatureSelector","getIsLoading","createSelector","isLoading","getError","getCurrentStep","getInviteDetails","inviteDetails","getCompanySearchResults","getSearchFailed","getPersonalDetails","getRegistrationSource","getPartnerDetails","partnerDetails","getCompanyDetails","getSecurityOptions","getSecurityQuestions","getRegistrationCompleted","getRegisterNewCompany","getDisplayRegistrationBanner","getBusinessCategories","registerReducer","action","type","personInfo","cellPhone","results","c","code","emptyAGSPhoneNumber","affiliationType","agsMembershipMasterId","agsMembershipId","agsMembershipEndDate","agsMembershipStartDate","companyInfo","expandRowAnimation","animation","height","overflow","params","timings","end","DiamondThumbnailLabelAlign","Center","PriceField","emptyCart","userReferenceId","personId","retailIndicator","items","cartInformation","moduleType","ModuleType","reasonToDelete","DiamondCartService","getCart","baseUrl","addItem","supplierItemId","cartId","itemId","delete","checkout","validate","DiamondCartFacadeService","cartService","orderFacade","bsModalRef","errorSub","asObservable","successSub","cart$","processingCartSub","defer","maxItems","cartObs$","iif","fetchCart$","reason","NaturalCartErrorReason","SystemError","message","cart","finalize","isLoading$","validate$","isValid","MaximumItemCountExceeded","AddToCartServiceError","find","i","supplierItemIdentifier","handleRequestErrors","UnableToRemoveItem","some","validationStatus","validateModel","fetchShoppingCart","addToCart","calledFromCompare","addItemObs","removeItemObs","removeAndValidate","validationRequest","isItemInCart","isInCartObs","clearShoppingCart","paymentMethod","shipingHandlingMethod","orderLocation$","locationId","locationID","paymentMethodType","shippingAndHandlingMethodType","showModal","show","ShoppingCartModalComponent","class","backdrop","keyboard","onHide","errorType","OrdersService","searchOrders","odata","apiUrl","ordersResponse","orderDate","Date","getOrderDetails","orderId","orderDetails","customerOrderStatus","os","orderStatusDate","updateSpecialInstructions","specialInstructionText","ordersUrl","setProductStatuses","productStatuses","MarketplaceFacade","store","select","fromStore","getSearchPresets","dispatch","saveSearchPreset","searchPreset","deleteSearchPreset","getSearchFilterOptions","getDiamondSearchResults","searchParameters","changeResultOptions","getDefaultSearchResults","clearSearchResults","clearSearchOptions","searchSimilar","cartItem","addDiamondIdToCompare","removeDiamondIdToCompare","setDefaultSearchParameters","isBasicShape","shape","shapes$","filterLabTypes","shapes","s","shapeName","toLowerCase","includes","toLocaleLowerCase","MarketplaceService","emailDiamondDetails","diamondDetailsEmail","enquireType","emailDiamondQuestion","diamondQuestionEmail","diamondSearchParameters","getDiamondReportResult","diamondId","getBasicSearchFilters","getDiamondBasicSearchResults","getSelectedSearchCriteria","criteriaID","getDiamondDetailsResult","diamondDetailsParameters","fetchSearchPresets","addSearchPreset","saveSelectedCriteria","criteria","DEFAULT_SEARCH_PARAMETERS","customSearch","includeWithVisualOnly","specialShapes","price","carat","naturalFancyColorIntensity","naturalFancyColorOvertone","naturalFancyColor","color","colorType","ColorType","priceType","PriceType","clarity","cutGrade","lightPerformances","proportions","polish","symmetry","fluorescenceIntensity","fluorescenceColor","gradingLabs","reportTypes","provenanceReports","idexItemId","sourceCountryCodes","totalDepthMin","totalDepthMax","tableWidthMin","tableWidthMax","measurementsLengthMin","measurementsLengthMax","measurementsWidthMin","measurementsWidthMax","measurementsHeightMin","measurementsHeightMax","culetSizes","culetConditions","girdleMin","girdleMax","milkies","blackInclusions","eyeCleans","shades","gradingReportNumber","certItemDropdownSelection","CertItemDropdownSelection","DEFAULT_SEARCH_PARAMETERS_AGS","programs","DEFAULT_PRICING_LIMIT","DEFAULT_CARAT_VALUES","DEFAULT_LGD_CARAT_VALUES","DEFAULT_MEDIA","SELECT_ORDER_STATUSES","label","ORDER_STATUSES","width","ORDER_CANCELLED_STATUS","NaturalFancyColor","TotalPrice","shippingAndHandlingAmount","cartInfo","cartHasMultipleShippingMethods","totalExpeditedShippingHandlingAmount","totalStandardShippingHandlingAmount","hasShippingAndHandling","getCartInformation","getLabGrownCartInformation","RESTRICTIONS","stateIDs","isLocationRestricted","address","MAX_ITEM_ID_VALUE","MAX_CERTIFICATE_LENGTH","getCartItem","itemsInCart","getRangeSliderOptions","ticksArray","floor","step1","step2","step3","ceil","ticksPositions","usdSymbol","getCurrencySymbol","isDigitOnly","draggableRange","enforceRange","showTicksValues","customValueToPosition","minVal","maxVal","Math","customPositionToValue","percent","exp","translate","formatted","formatCurrency","formattedCeil","getRangeStepsOptions","values","displayField","skipValues","showTicks","stepsArray","index","legend","indexToCode","codeToIndex","v","getAGSRangeStepsOptions","description","getAGSClarityStepsOptions","filteredValues","getCaratRangeOptions","enforceStepsArray","getCaratLabel","hidePointerLabels","getMultiselectOptionsCode","disabled","getMultiselectOptionsCodeAndDescription","valueField","getMultiselectOptionsCustomCodeAndLabel","isRoundShapeSelected","isAGSRoundShapeSelected","isNotOnlyIdealCutGradeSelected","grades","notIdeal","forEach","grade","isAGSGradingLabSelected","gradingLab","getDiamondSearchParameters","searchFilterOptions","resultOptions","isAGSuser","getAdvanceSearchFilters","weightMin","weightMax","clarities","getSelectedClarities","symmetries","getSelectedRange","polishes","sendAllValues","filterNaturalRecords","g","fluorescenceIntensities","filterAllValue","fluorescenseColors","cutGrades","proportionFactors","askingPriceTotalMin","askingPriceTotalMax","askingPricePerCaratMin","askingPricePerCaratMax","colors","naturalFancyColors","fancyColorOvertones","fancyColorIntensities","countries","m","minValue","maxValue","allValues","startIndex","endIndex","slice","selectedValues","allOption","selected","f","toUpperCase","getResultOptions","resultLimit","resultOffSet","sortFields","sortOption","sortDirection","sortField","getSimilarSearchCriteria","defaultSearchFilterOptions","getShapeSimilarCriteria","getColorSimilarCriteria","getClaritySimilarCriteria","getCutGradeSimilarCriteria","getCaratSimilarCriteria","getPriceTotalSimilarCriteria","getGradingLabSimilarCriteria","getCustomSearchSimilarCriteria","records","diamondTypeIndicator","DiamondType","isSpecialShape","naturalFancyColorOvertones","naturalFancyColorIntensities","diamondColors","partialNaturalFancyCriteria","colorParts","split","isAGSUser","cutGradeCode","o","agsUserCutGradeSimilarCriteria","allCutGrades","scale","getCutGradeSearchScope","nextCutGrade","x","priorityNumber","cutGradeCodeUpperLimit","cutGradeCodeLowerLimit","parseFloat","toFixed","minPriceValue","maxPriceValue","priceRange","program","CartItemComponent","marketplaceFacade","marketplaceService","cdRef","breakpointObserver","partnerService","profileService","displaySupplierProvidedUrls","imgWidth","fontSize","labelAlign","observe","ngOnInit","diamondShapes","agsUserAndItemAGSGraded","displayAgsSpecificContent","ngOnChanges","changes","cartItemExpanded","currentValue","toggleSection","toggle","expandedItemId","parseNumber","Number","parseInt","cartItemError","diamondDetails","cartItemLoading","getShoppingCartItem","diamondIds","markForCheck","diamonds","showAgsIdentifier","diamond","isAgsPartner","isShoppingCartAGSDiamond","getPartnerPermission","MarketplacePartnerAffiliationType","person","useAnimation","CartItemDetailsComponent","MandateTermsModalComponent","renderer","addClass","document","body","ngOnDestroy","removeClass","router","onCheckOut","hide","navigateByUrl","sourcePage","onContinueShopping","DiamondMarketplaceCartService","shippingMethod","HttpParams","append","set","updateCart","removeCartItem","cartCheckout","OrderFacadeService","clearOrder","saveShippingMethod","saveOrderLocation","orderLocation","saveOrderInformation","orderInformation","fetchPaymentInformation","zingOrderId","clearPaymentInformation","updatePaymentInformation","paymentInformation","ShoppingCartActionTypes","GetShoppingCart","GetShoppingCartSuccess","GetShoppingCartFail","AddToShoppingCart","AddToShoppingCartSuccess","AddToShoppingCartFail","ClearShoppingCart","RemoveFromCart","RemoveFromCartSuccess","RemoveFromCartFail","ClearRemoveFromCartError","Checkout","CheckoutSuccess","CheckoutFail","ClearCheckoutError","ClearOrder","SaveOrderInformation","SavrOrderLocation","SaveOrderLocation","SaveShippingMethod","FetchPaymentInformation","FetchPaymentInformationSuccess","FetchPaymentInformationFail","ClearPaymentInformation","shoppingCart","shoppingCartLoading","isAddToShoppingCartLoading","removeFromCartError","checkoutLoading","order","checkoutError","getShoppingCartState","getShoppingCart","getOrderLocation","getShippingMethod","getPaymentInformation","getShoppingCartLoading","getRemoveFromCartError","getIsAddToShoppingCartLoading","getCheckoutLoading","getOrder","getCheckoutError","shoppingCartReducer","ShoppingCartEffects","actions$","shoppingCartService","shoppingCartFacade","analyticsService","paymentSourceService","createEffect","ofType","shoppingCartActions","concatMap","withLatestFrom","mapShoppingCart","mergeMap","analytics","eventTrack","AnalyticsCustomEvents","getByOrderId","paymentSource","mapCartItem","reportType","pop","getCartDiscountAmount","PaymentMethodType","shippingMethodUsed","ShippingMethodType","totalMarkupWireDiscountAmount","totalMarkupAchDiscountAmount","MarketplaceActionTypes","SetDefaultSearchParameters","FetchSearchFilterOptions","GetSearchFilterOptions","FetchSearchFilterOptionsSuccess","GetSearchFilterOptionsSuccess","FetchSearchFilterOptionsFail","GetSearchFilterOptionsFail","GetDiamondSearchResult","GetDiamondSearchResultSuccess","GetDiamondSearchResultFail","ChangeResultOptions","GetDefaultSearchResults","ClearSearchResults","ClearSearchOptions","AddDiamondIdToCompare","RemoveDiamondIdToCompare","FetchSearchPresets","FetchSearchPresetsSuccess","FetchSearchPresetsFail","AddSearchPreset","AddSearchPresetSuccess","AddSearchPresetFail","DeleteSearchPreset","DeleteSearchPresetSuccess","DeleteSearchPresetFail","createAction","props","MarketplaceEffects","marketplaceActions","caratValues","media","lgdCaratValues","searchFilters","defaultResultOptions","checkIfAGSUser","diamondSearchResult","totalDiamondsAvailable","getSearchParameters","diamondSearchRequest","idexsearchcriterias","combineLatest","getDefaultSearchParameters","defaultSearchParameters","similarCriteria","searchPresets","diamondSearchResults","diamondSearchResultsLoaded","diamondSearchResultsLoading","isSearchFilterOptionsLoading","isSearchFilterOptionsLoaded","compareDiamondIds","getMarketplaceState","getIsSearchPerformed","isEqual","getIsLoaded","getShapes","getSpecialShapes","getPriceRange","getCaratValues","getColors","getClarities","param","getCutGrades","getLightPerformances","getProportionFactors","getPolishes","getSymmmetries","getFluorescenceColors","fluorescenceColors","getFluorescenceIntensities","getGradingLabs","getReportTypes","getNaturalFancyColorOvertones","getNaturalFancyColorColors","getNaturalFancyColorIntensities","getCountries","getGirdles","girdles","getCuletSizes","getCuletConditions","getShades","getMilkies","getBlackInclusions","getEyeCleans","getProvenanceReports","getDiamondSearchResultsLoading","getDiamondSearchResultsLoaded","getHasAnyDiamondSearchResults","getHasNoDiamondSearchResult","getCompareDiamondIds","getLgdCaratValues","getMedia","getLabGrownFancyColors","getLgdBrowns","lgdBrowns","getLgdBlues","lgdBlues","getLgdGreens","lgdGreens","getLgdGrays","lgdGrays","getLgdLusters","lgdLusters","getLgdOtherShades","lgdOtherShades","getLgdTreatments","lgdTreatmentTypes","marketplaceReducer","toGridDataResult","paginatedResponse","total","totalRecordCount","getActiveStatus","getOrderLocations","companyLocations","l","companyLocation","contact","locationName","phone1","phone2","isCellPhoneVerified","isRestricted","toDiamondInfo","isAgsUser","diamondID","regionName","countryName","weight","colorDescription","cutGradeDescription","getCutGrade","lab","reportUrl","gradingReportUrl","idexDiamondImageUrl","idexDiamondImage","provenanceReport","provenanceReportName","supplierUploadedOnlineReportUrl","supplierUploadedOnlineReportURL","supplierUploadedDiamondImageUrl","supplierUploadedDiamondImageURL","supplierVideoUrl","supplierAsetImageUrl","supplierHeartsImageUrl","supplierArrowsImageUrl","supplierAgsLightPerformanceUrl","provenanceReportUrl","provenanceReportURL","lightPerformance","proportionFactor","displayImageUrl","isAGSDiamond","cutGradeScale","getOdataDateFormat","date","endOfDay","momentDate","moment","utc","endOf","toDate","toISOString","shift","getPriceUpdateDetails","pricingChange","mapPricingChangeDetails","getTotalTransactionPriceChange","pricingChanges","priceField","changeDetails","showReason","formatDateWithTimeZone","dateOfUpdate","changeReason","filterCriteriaByType","collection","filterLabGrownRecords","lgdMaxValues","tablePercentage","depthPercentage","ratio","lengthMM","widthMM","crownAngle","pavAngle","isSecureUrl","startsWith","getShoppingCartTransactionDetails","discountAmount","priceTotal","totalProductPriceAmount","totalTransactionCost","totalTransactionCostAmount","totalTaxAmount","authenticationAndShipping","totalAuthenticationAndShippingAmount","servicingFee","totalServicingFeeAmount","getOrderTransactionDetails","transactionDetails","totalPriceTotal","ApprovalStatus","Address","addressLine2","latitude","longitude","altitude","BusinessUnit","BusinessUnitHierarchy","hierarchyLevel","businessUnit","tempId","BusinessUnitHierarchySaveModel","CarePlanStoreType","Company","websiteUrl","numberOfEmployees","establishmentDate","closureDate","federalTaxIdentificationNumber","isActive","companyGroup","companyRoles","notes","collabGroup","currentGroupID","userName","linkPersonCompany","subscriptions","hasSubscriptions","companySource","analyticsDeactivated","classification","companyId","isSubscriptionActive","serviceType","approvalStatus","isSubscriptionInactive","isSubscriptionPending","hasServiceSubscription","isCarePlanJeweler","subIndex","BusinessServiceType","storeTypes","isCarePlanRepairCenter","getSubscription","result","getPartnerAffiliation","marketplaceSubscription","partnerAffiliations","pa","CreditCardType","Visa","CreditCardTypeUtil","mode","number","MasterCard","Discover","AmericanExpress","DinersClub","JCB","card","Unknown","PaymentType","CreditCard","UserRoleCode","SuperAdministrator","LocationService","isEdit","updateLocation","companyApiDomain","saveLocation","getLocationsForCompanyId","getLocationsForShipment","getLocationsByCompanyId","toPromise","allLocations","getLocation","getStoreTypes","getProductsAndServices","searchLocations","searchString","search","checkUserLocations","getLocationsByEmail","PaymentMethodService","populatePlatformModulesArray","fetch","isCreditCardFetched","creditCard","fetchCard","isCreditCardAdded","isCreditCardDisabled","lastFour","creditCardType","cardType","cc","cacheCreditCard","getToken","save","hasCreditCard","succeeded","paymentMethodAdded","getAllPaymentMethods","methods","isDefault","autoGeneratedName","billingAddress","ccAddress","paymentType","isDeactivated","creditCardInfo","nameOnCard","cardNumber","expiryDate","cardExpirationMonth","cardExpirationYear","paymentMethods","platformModules","getAllAvailableModules","updatePaymentMethod","paymentMethodId","splice","createPaymentMethod","CompanyActionTypes","LoadCompany","LoadCompanySuccess","LoadCompanyFail","LoadLocation","LoadLocationSuccess","LoadLocationFail","LoadAllLocations","LoadAllLocationsSuccess","LoadAllLocationsFail","LoadBusinessUnits","LoadBusinessUnitsSuccess","LoadBusinessUnitsFail","UpdateBusinessUnitsSuccess","UpdateBusinessUnitsFail","locations","businessUnits","getCompanyFeatureState","getCompanyState","getCompany","getBusinessUnits","getAllLocations","getLocationsLoading","isLoadingBU","isLoadingLocations","companyReducer","PaymentActionTypes","LoadPaymentMethods","LoadPaymentMethodsSuccess","LoadPaymentMethodsFail","LoadPlatformModules","LoadPlatformModulesSuccess","LoadPlatformModulesFail","EditPaymentMethod","EditPaymentMethods","UpdatePaymentMethod","UpdatePaymentMethodSuccess","UpdatePaymentMethodFail","CreatePaymentMethod","CreatePaymentMethodSuccess","CreatePaymentMethodFail","updateStatus","paymentMethodsLoaded","platformModulesLoaded","paymentMethodsLoading","platformModulesLoading","getPaymentFeatureState","getPaymentMethodsLoading","getPlatformModulesLoading","getPlatformModulesLoaded","getAllPlatformModules","getUpdateStatus","paymentReducer","TeamActionTypes","LoadLocations","LoadLocationsSuccess","LoadLocationsFail","LoadRoles","LoadRolesSuccess","LoadRolesFail","LoadTeamMembers","LoadTeamMembersSuccess","LoadTeamMembersFail","ApproveTeamMember","ResetTeamMembers","ApproveTeamMemberSuccess","ApproveTeamMemberFail","RejectTeamMember","RejectTeamMemberSuccess","RejectTeamMemberFail","UpdateTeamMember","UpdateTeamMemberSuccess","UpdateTeamMemberFail","UpdateShippingUserDataSuccess","UpdateShippingUserDataFail","SaveShippingUserDataSuccess","SaveShippingUserDataFail","PrepareForEdit","SaveAccountUserSettings","SaveAccountUserSettingsSuccess","SaveAccountUserSettingsFail","UpdateAccountUserSettings","UpdateAccountUserSettingsSuccess","UpdateAccountUserSettingsFail","rolesLoaded","accountUserDataError","updateSaveShippingDataError","availableRoles","locationsLoaded","availableLocations","teamMembers","memberApproved","memberUpdated","getTeamFeatureState","getTeamMembers","getRequestsFinished","isUserDataLoading","getRolesLoaded","getAvailableRoles","getLocationsLoaded","getIAvailableLocations","getMemberApproved","getMemberUpdated","getUpdateSaveShippingDataError","getAccountUserDataError","teamReducer","PaidStatementsColumnName","TransactionColumnName","BillingActionTypes","LoadDataInvoicesPayments","startDate","endDate","LoadDataInvoicesSuccess","LoadDataInvoicesPaymentsFail","SetSearchStartDate","SetSearchEndDate","clientInvoices","clientPayments","getBillingFeatureState","getClientInvoices","getClientPayments","getSearchStartDate","getSearchEndDate","billingReducer","defaultPaidStatementsColumns","columnName","columnData","format","defaultTransactionColumns","footerClass","sessionStorageKeys","paidStatementsPageSize","transactionsPageSize","searchCriteria","documentNames","paidStatements","statementDetailsExcel","statementDetailsPdf","ParnerGatewayEnabledGuard","companyService","externalNavigationService","canActivate","hasOnlyPartnerGateway","goToPartnerGateway","ShipmentSummaryGridId","Saved","SavedShipmentsConfig","ShipmentStatus","gridId","ProcessedShipmentsConfig","Processed","FilterModalType","HighRiskDeliveryWarning","ServiceType","ServiceOptionType","ShipmentPriceType","ShippingColumnName","ReconciliationColumnName","ShipmentActionType","New","addressOptions","Object","keys","propName","hasOwnProperty","Contact","contactOptions","callingCode","AddressValidationStatus","substr","isInternational","isLocal","contactName","el","join","displayName","retValue","getNameWithAddress","addressPart","toJSON","emailAddress","referenceName","isFavorite","isResidential","isDefaultAddress","isEmailRequired","isUninsured","highRiskDeliveryWarning","sendShipmentNotification","skipStandardizedCheck","AddressSource","ShipmentLocation","shipmentLocationOptions","Custom","createNewContact","updateExistingContact","makeDefaultContact","ShipmentPurchaseState","StoreType","TrackingStatus","ShipmentCreateType","WeightUnit","Claim","ClaimStatus","LossDamageType","ClaimReasonsType","ClaimAddressType","ShipmentSource","LabelType","CodFundType","ThirdPartyServiceType","CarrierType","ShipmentLocationType","Origin","Quote","unavailable","softError","hardError","PermissionLevel","LinkingStatus","ShipmentType","Domestic","ShippingActionTypes","SetInitialState","LoadCargo","LoadCargoSuccess","LoadCargoFail","LoadLookup","LoadLookupSuccess","LoadLookupFail","LoadInternationalShipmentsData","LoadInternationalShipmentsDataSuccess","LoadInternationalShipmentsDataFail","LoadPackageTypes","LoadPackageTypesSuccess","LoadPackageTypesFail","LoadCarriersSuccess","LoadCarriersFail","SaveShipmentDetails","SaveSourcePage","SaveIsFormTypeReturn","SaveShipmentCarriers","SaveOriginLocation","SaveDestinationLocation","SaveShipmentReference","ResetShipment","resetInsuranceOnlyFlag","SaveShipment","SaveShipmentSuccess","SaveShipmentFail","SaveQuoteId","SaveInternationalDetail","SaveShipmentId","SaveShipmentName","SaveSelectedQuote","PurchaseShipment","PurchaseShipmentSuccess","SavePurchaseDetails","ShipmentRequestsApproval","PurchaseShipmentFail","ProcessQuoteOptions","ProcessQuoteOptionsSuccess","ProcessQuoteOptionsFail","SaveShippingDate","SaveOriginalShipmentDetails","SaveShipmentActionType","CreateClaim","SaveClaim","SaveClaimDocuments","ResetClaim","SaveBillingReview","SaveBillingReviewSuccess","SaveBillingReviewFail","ClearBillingReviewNotifications","ClearBillingRequestNotifications","AddApprovalContact","PopulateFromPreset","PopulateEditPresetFromPreset","PopulateFromPresetSuccess","PopulateFromQuickQuote","PurchaseBoomerangShipment","SavedBoomerangShipment","LoadPresets","LoadPresetsSuccess","LoadPresetsFail","CreatePreset","CreatePresetSuccess","CreatePresetFail","DefaultPreset","DefaultPresetFail","UpdatePreset","UpdatePresetSuccess","UpdatePresetFail","DeletePreset","DeletePresetSuccess","DeletePresetFail","LoadIntegratedAccountDetails","LoadIntegratedAccountDetailsSuccess","LoadIntegratedAccountDetailsFail","LoadRules","LoadRulesSuccess","LoadRulesFail","ClearError","SaveIsInternational","SaveIsHoldForPickup","SaveHoldForPickupAddress","SaveHasApprovalCodeError","SaveInsuranceOnly","SaveNoInsurance","SaveInsuranceOnlyTrackingNumber","SaveQuoteError","SaveZeroDollarInsuranceWarningPrompted","ClearShipmentDetails","shippingPreset","shipmentActionType","originalShipmentDetails","savingInProgress","cargoTypesLoaded","packageTypesLoaded","internationalShipmentsDataLoaded","shippingPresetsLoaded","shippingPresetPopulated","carriersLoaded","businessRulesLoaded","packageTypes","shippingPresets","carriers","origin","destination","cargo","shipmentDetails","shipmentCarriers","shippingTime","deliverySpeed","deliveryType","services","lookups","quoteId","shipmentPriceType","quote","selectedQuoteId","shipmentReference","purchaseDetails","isReturnForm","shipmentId","shipmentName","zingTrackingNumber","claim","claimDocuments","approvalContact","boomerangDetails","businessRules","internationalShipmentsData","internationalDetail","integratedAccountDetails","isHoldForPickup","holdForPickupAddress","noInsurance","insuranceOnlyTrackingNumber","insuranceOnly","hasApprovalCodeError","quoteError","isZeroDollarInsuranceWarningPrompted","eStoreDetail","getShippingFeatureState","getSelectedPreset","getOriginalShipmentDetails","getShipmentActionType","getSavingInProgress","getShipmentStatus","getShipmentIsDeclined","isDeclined","getApprovalComment","approvalData","comment","getIsReady","signaturetypes","zipcodes","getCargo","getLookup","getPackageTypes","getShippingPresets","getShipmentDetails","getSourcePage","getIsReturnForm","getShipmentCarriers","getOriginLocation","getDestinationLocation","addressDetailsCompleteAndValid","valid","originAddressValidAndComplete","destinationAddressValidAndComplete","getQuoteId","getShipmentPriceType","getSelectedQuoteId","getQuote","getShipmentReference","getPurchaseShipmentInfo","getBoomerangDetails","getPurchaseShipmentError","getErrors","getShipmentId","getShipmentName","getZingTrackingNumber","getShippingDate","getClaim","getClaimDocuments","getBillingRequestSaved","billingRequestSaved","getBillingRequestFailed","billingRequestFailed","getApprovalContact","getShippingPresetsLoaded","getBusinessRules","getShippingPresetPopulatedSuccess","getInternationalShipmentData","getIsInternational","getIsHoldForPickup","getHoldForPickupAddress","getHasApprovalCodeError","getInsuranceOnly","getInternationalDetail","getNoInsurance","getInsuranceOnlyTrackingNumber","getQuoteError","getZeroDollarInsuranceWarningPrompted","getEStoreDetail","getHighRiskDeliveryWarning","getIntegratedAccountDetails","shippingReducer","mergeCurrentStateWithPreset","currState","insurance","insuredValue","excludePolicyCover","codSelected","thirdPartySelected","isMailRegistered","invoiceValue","isSaturdayDelivery","originPhone","formatPhoneNumber","changeNullWithEmptyString","destinationPhone","cargoType","cargoId","package","packageDetails","packagingTypes","weights","dimensions","deliverySecurity","signatures","signatureOptions","mergeCurrentStateWithQuickQuote","quickQuoteData","declaredValue","signature","packageInfo","trackingNumber","approvalRequired","hasInsurance","Id","shippingPresetId","entity","shipmentConstants","parcelLimit","characterLimit","insuredValueForAdultSignature","purchaseWarningTimeout","purchaseTimeout","securitySealDisplayLimit","returnLabelLimit","maxResidentialDeclaredValue","shipmentErrors","approvalCodeError","excelFileError","virusInfectedFile","invalidFileFormat","invalidFileName","approvalRequiredMessage","additionalConsent","fnol","defaultGridColumnSettings","columnTitle","isVisible","isMandatory","filterable","filterModalType","isLocked","sortable","orderNo","gridColumnSettings","savedShipmentsDefaultColumns","savedShipmentsGridColumnSettings","localStorageKeys","dateRangeFilterType","summaryDateRange","pageSize","reconSort","reconPageSize","reconDateRangeFilterType","reconDateRange","reconFilters","datePickerFilters","DateRangeType","text","reconDatePickerFilters","minimalDate","uspsOnly","AccountUserDataService","UserDataService","canAccessAccounts","ExternalNavigationService","maskEmail","goToPersonalInsuranceDashboard","properties","Email","plDashboard","goToPersonalInsuranceClaim","plCreateClaim","searchPersonalInsuranceClaim","searchTerm","goToCarePlanDashboard","carePlanDashboard","goToCarePlanClaims","carePlanClaims","goToCarePlanSales","carePlanSales","goToCarePlanHomepage","open","carePlanHomepage","newTab","partnerGateway","goToGemAndJewelAccount","gemAndJewelAccount","ShippingUserDataService","saveShippingColumns","columns","savedShipmentsColumns","resolve","userDataSubject$","saveShippingColumnsForProcessedTab","saveShippingColumnsForSavedTab","_this3","skipLinkingAccount","linkAccount","accountData","_this4","getFedexPdf","integrateFedexAccount","saveBrinksSkipFlag","skipBrinksIntroScreen","saveDestinationDisplayMode","destinationDisplayMode","checkUserApproval","loadUserData","saveUserData","updateUserData","CreditCardErrorType","card_error","OrderProcessingStatus","Received","PaymentIntentStatus","canceled","PaymentMethodNames","ACH","WireTransfer","PaymentStatusNames","PaymentMethodCodeToPaymentMethod","WT","CC","PaymentStatusCodeToName","AC","SD","SP","FL","PR","FR","OrderLocationFacade","locationService","forceLoad","orderLocations","PaymentSourceService","paymentApiURL","getReportsByOrderIds","zingOrderIds","ctx_r6","ctx_r8","AgreementModalComponent","defaultAgreementModalConfig","config","checkbox","formGroup","FormGroup","FormControl","Validators","onCloseModal","cancel","onAgree","continue","ctx_r28","ctx_r30","FormModalComponent","formBuilder","defaultFormModalConfig","createForm","componentActive","group","controls","controlConfig","addControl","controlName","formControl","hasError","ctrl","invalid","dirty","touched","hasErrorOfType","isArray","hasErrors","setErrors","ctrlName","errors","defaultNotificationModalConfig","separationLine","adjustText","headerText","bodyText","continueButtonText","cancelButtonText","inverted","hideButtons","hideCloseButton","continueButtonClass","cancelButtonClass","translationData","ctx_r4","NotificationModalComponent","SpinnerComponent","SpinnerModule","CommonModule","sharedConstants","teamInvitePdfLink","moduleNames","core","marketplace","shipping","membership","InitiateShipment","ZingMemoActive","MarketplaceServicePermissionStatus","AccountService","usersSecurityQuestions","response","register","registerViaInvite","inviteCode","resetPassword","resetClPassword","loginWith2fa","provider","twoFactorCode","providerType","verifyInviteCode","getUsersSecurityQuestions","changeSecurityQuestions","changedQuestions","answer2","securityQAs","answerText","encodeBase64","getExistingUserDetails","guid","applicationInsights","ApplicationInsights","instrumentationKey","AnalyticsService","Angulartics2AppInsights","documentTitle","route","translateService","AppInsights","personLoadedObs$","loaded","settings","developerMode","disableAnalytics","initializeMixPanel","startCustomTracking","eventName","events","event","startTime","resumeCustomTracking","resumeTimes","pauseTimes","pauseCustomTracking","stamp","stopTime","stopCustomTracking","disposeCustomTracking","eventNames","getTrackedTime","includePausedTime","pausedTime","totalTime","element","getNonContiguousTrackedTimes","times","generateCorrelationId","random","pageTrack","path","unsubscribe","routerState","trackPageTitle","sub","NavigationEnd","trackActiveProducts","productActiveOnDashboard","sendProductActiveEvent","product","partner","endsWith","getSelectedPartner","sendTrackingRequest","title","getTitle","root","appInsights","trackPageView","metrics","loadTime","parent","snapshot","firstChild","instant","setAnalyticsEvent","analyticsCustomEvents","eventObject","identifyByReferenceId","referenceId","mixPanelReset","BannerService","getBanners","screentype","anonymous","placeholderUrl","dismissBanner","banner","query","getById","update","AlertType","hasAlert","alertContent","CompanyService","shippingUserDataService","accountUserDataService","paymentMethodService","alert","companyExists","hasAppraisal","hasPendingAppraisal","hasPointOfSaleIntegration","hasCarePlan","hasCarePlanInactive","hasActivePosSubscription","hasInactivePosSubscription","hasPendingPosSubscription","hasCarePlanSubscription","hasShippingSubscription","hasShipping","shippingHasBeenDeactivated","activeUntil","hasMarketplace","hasInactiveMarketplace","hasMarketPlaceSubscription","hasBusinessInsurance","hasBusinessInsuranceSubscription","hasPersonalInsurance","hasCustomService","hasPartnerGateway","hasBusinessInsuranceSubscriptionPending","hasCarePlanSubscriptionPending","isAppraisalSubscriptionInactive","hasMarketPlaceSubscriptionPending","isCompanyFromQuebec","hasCompanyAddress","hasMemoSubscription","hasActiveJewelerPagesSubscription","hasInactiveJewelerPagesSubscription","hasAuctionSubscription","hasSellerEnabled","sellerEnabled","hasInactiveBusinessInsurance","isCanadaCompany","country","isNonJeweler","getCompanyProfile","companyLoaded","delayWhen","ignoreFailRequest","requests","forkJoin","validateFeinId","associatePersonWithCompany","getParnetAffiliation","hasShipmentPreference","preferredShipmentProviders","submitterRegistrationId","avgShipmentsPerWeek","getCompanyLogo","uploadCompanyLogo","formData","uploadFile","requestShipping","searchCompaniesByName","orderBy","top","GTMService","gtmId","addGTM","isLoaded","pushOnDataLayer","getTime","gtmScript","createElement","async","src","head","insertBefore","iframe","setAttribute","display","visibility","noscript","appendChild","getDataLayerRef","dataLayer","obj","pushTag","pushTags","AddressService","addressQueryModel","addressApiUrl","verify","searchByZipCode","zipCode","countryAlpha2ToAlpha3","countryAlpha3ToAlpha2","CompanyDocumentsService","uploadLogo","uploadOptions","MessageSpinnerComponent","LoadingSpinnerService","componentFactoryResolver","appRef","injector","loadingSpinnerPortal","ComponentPortal","bodyPortalHost","DomPortalOutlet","reveal","componentRef","attach","instance","changeDetectorRef","detectChanges","detach","DOCUMENT","RiskService","TermsAndConditionsService","VerificationService","PartnerService","ServiceModulesService","InTrialAppraisalService","getInTrialRestriction","appraisalInTrialSubscription","appraisalApiUrl","activateInTrialSubscription","activeFrom","sendQuote","MixPanelService","mixpanel","debug","persistence","$authenticatedId","$companyId","$registrationId","registrationId","getPartnerUserDetails","membershipApiUrl","memberId","validatePartner","partnerName","createPartnerModel","partnerData","trim","onlyActive","partnerPermission","servicePermissions","servicePermission","partnerPermissions","checkIfPartnerParmissionIsAGSAndActive","ProfileService","themeService","personLoaded$","notifyPersonLoaded","getFullName","getProfileInfo","themeName","getThemeName","loadTheme","roles","getPersonUserRoleCodes","resendCode","resendLink","removeUnverifiedPhone","removeUnverifiedEmail","validateEmail","isPersonPermittedAccess","roleCodes","isPermitted","relevantRoles","assign","role","personRole","rc","userRoles","ur","getPersonRoles","getPersonRegistrationId","getServicePermission","sp","hasPermission","allowed","hasPartner","getCreateShipmentAllowed","createShipments","getIsShippingAllowed","isUserAppraisalAdmin","isUserPosAdmin","isCustomerServiceRole","isApproved","hasRole","roleCode","concat","apply","hasCarePlanRole","searchCompaniesByDetails","dataQuery","riskApiUrl","searchCompaniesRegistration","ServiceModules","getDiamondMarketplacePaymentMethods","getPaymentMethods","serviceModules","UserConsent","checkAcceptance","consent","identityApiURL","getActiveTermsAndConditionsAgreement","manageTerms","consentDef","userConsent","consentId","userConsentType","ThemeService","themeName$","headElement","getElementsByTagName","existingStyleElement","getElementById","newStyleElement","rel","unloadTheme","removeChild","addModuleClass","modulesList","classList","remove","module","add","trackActiveModule","selectedPartner","ListOfSupportedBrowsers","browsers","minversions","chrome","firefox","safari","edge","opera","googlebot","mozilla","UnsupportedBrowserService","Bowser","navigator","userAgent","checkForBrowserValidity","detectedBrowser","getOSName","getBrowserName","satisfies","getBrowserVersion","getResetToken","verifierApiUrl","getUserEmailAndPhone","twoFactorApiUrl","getTwoFactorAuthProvider","sendVerificationCode","isPasswordChangePage","isPasswordChange","verifyCode","token","getRandomSecurityQuestion","verifyAnswer","questionId","answer","identityUserId","changePhoneNumber","checkVerificationStatuses","isEmailInUse","skipPhoneVerification","PopupModalsModule","NgbModule","ReactiveFormsModule","TranslateModule","FormsModule","CustomDateParserFormatter","NgbDateParserFormatter","_decimalPipe","parse","DELIMITER","orderedDate","validateDate","NgbDate","transformNumber","month","day","year","num","dateObj","getDate","SharedModule","provide","useClass","DecimalPipe","provideEnvironmentNgxMask","imports","NgbPopoverModule","NgbAccordionModule","AlertModule","CollapseModule","NgbTypeaheadModule","TooltipModule","ModalModule","CreditCardDirectivesModule","NgIdleKeepaliveModule","RouterModule","NgSelectModule","DropDownsModule","GridComponent","ApplicationBrowserGuard","unsupportedBrowsersService","navigate","FeatureFlagGuard","flag","enabled","GuestGuard","isAuthenticated","isAuthorized","reTryAttempt","sessionStorage","getItem","RoleGuard","SubscriptionGuard","inTrialAppraisalService","canLoad","requiredSubscriptions","canProceed","canActivateChild","canContinue","hasInTrialSubscription","capitalize","charAt","forDisplay","parts","areaCode","firstPart","rest","formated","mapServiceTypesIntoGroups","groups","mapGroupIntoServiceTypes","serviceTypes","mapCarriersTypesIntoGroups","formatValueWithTwoDecimals","formatValueWithCustomDecimals","decimals","emailParts","emailPart","domainParts","maskString","repeat","getOneLineContactAddressMarkup","displayCountry","getOneLineContactAddress","getOneLineAddress","getQuotesOneLineAddress","contnactInfo","address2","formatJewelerPagesCustomerUrl","AlphaNumericDashGlobalRegex","require","tz","toLocaleString","guess","formatDateWithTimeZoneUTC","toUTCString","isValidDate","formattedDate","isSameOrBefore","skipODataStringInFilter","queryFilter","match","copy","createODataModel","filterOptions","toODataString","unescape","replaceChars","RegExp","DateTimeRegex","GuidQueryRegex","WebsiteRegex","PhoneNumberRegex","PhoneNumberInternationalRegex","USZipCodeRegex","CanadaZipCodeRegex","InternationalZipCodeRegex","AddressLineRegex","CityRegex","StateRegex","NameRegex","BrinksContactRegex","FeinIdRegex","DecimalRegex","OptionalLeadingZeroDecimalRegex","EStoreUrlRegex","InvalidFileCharacterRegex","PasswordHasUppercase","PasswordHasLowercase","PasswordHasNumber","PasswordHasSpecialChar","PasswordHasWhiteSpace","PasswordLengthRequirement","PasswordRegex","EmailRegex","EmailIdRegex","GuidRegex","AccountPolicyNumberRegex","AccountPolicyPostalCodeRegex","AccountPolicyUSPostalCodeRegex","TariffCodeRegex","PolicyNumberRegex","FedexAccountNumberRegex","FedexMeterNumberRegex","AlphaNumericHyphenRegex","AlphaNumericRegex","AlphaNumericSpaceRegex","NumericRegex","AlphaNumericDashRegex","AppraisalDisclaimerTextRegex","SubDomainRegex","searchStringParts","getValues","every","part","key","startsWithSearchFunction","term","production","baseURL","carePlanAppUrl","reportingApiUrl","membershipApiURL","riskApiURL","shippingApiURL","billingApiURL","communicationApiURL","contentApiURL","accountApiUrl","quickBillPayLink","partnerGatewayLink","appraisalApiURL","careplanApiURL","marketplaceApiURL","pointOfSalesIntegrationApiUrl","memoApiUrl","configurationApiUrl","documentApiUrl","jewelerPagesApiUrl","shoppingCartApiUrl","jmIdentityLoginUrl","jmLoginActive","mockMarketData","authLogConsoleWarningActive","authLogConsoleDebugActive","authMaxTokenOffset","paymentPeriod","feinIdValidationEnabled","apiManagement","enableTrace","SubscriptionKey","twilioPhoneNumber","isOnlyOneCreditCardAllowed","fedExUrl","upsUrl","uspsUrl","uspsPickupUrl","dhlUrl","uspsStoreUrl","uspsRegisterUrl","additionalSuppliesUrl","googleAnalyticsKey","personalLinesUrl","gemAndJewelUrl","gemAndJewelAccountUrl","disableIatOffsetValidation","carePlanHomePage","businessInsuranceDetails","USCensusBureauUrl","eeiExemptionsPdfLink","eStoreLink","insuranceQuoteUrl","ishipAmlBundle","ishipAmlTraining","oldInsuranceQuoteUrl","landingPageUrl","privacyPolicyUrl","customerLoyaltyProgramUrl","maxShoppingCartItems","compareProducts","maxCompareItems","stripeApiKey","supplierProvidedSourceEnabled","showAgsAffiliationBanner","adsId","slotName1","slotName2","excludeIndexing","mixPanelApiKey","TwoFactorAuthActionTypes","LoadAuthMethods","LoadAuthMethodsSuccess","LoadAuthMethodsFail","SendVerificationCodeSuccess","SendVerificationCodeFail","VerifyCodeSuccess","VerifyCodeFail","GetSecurityQuestionSuccess","GetSecurityQuestionFail","VerifyAnswerSuccess","VerifyAnswerFail","initiated","accountLocked","selectedMethod","codeSent","verificationCode","codeVerified","securityQuestion","questionText","wrongAnswer","answerVerified","authenticationFailed","completed","isValidTwoFA","getTwoFAState","getSecurityQuestion","getVerification","getTwoFactorAuthProviderDetails","getIsCompleted","storeReducers","twoFactorState","twoFAReducer","providers","verifyStatus","team","billing","payment","ForbiddenComponent","AutoLoginComponent","Encoder","encodedValue","btoa","decodedValue","atob","CallbackComponent","eventService","registerForEvents","notification","EventTypes","authorizationResult","redirectTo","queryParams","currentState","savedState","getState","ParticipantAgreementComponent","domSanitizer","sanitizedUrl","bypassSecurityTrustResourceUrl","updatedDocumentUrl","SelectivePreloadStrategyService","preload","load","TermsOfUseComponent","documentUrl","FaqService","getFaqPdf","faqPdf","FaqComponent","faqService","PdfViewComponent","i3","MemberCanGuard","clearStorage","hash","setState","IdleWarningComponent","continueSession","logout","isLogout","AutoLogoutService","idle","modalService","userLoggedIn","onHideModal","setIdleConfig","setupCompleted","inactivityPeriod","isInteger","inactivity_period","idleTimeout","idle_timeout","setIdle","setTimeout","setInterrupts","DEFAULT_INTERRUPTSOURCES","onIdleStart","showIdleWarning","onIdleEnd","resetSession","onTimeout","setUserLoggedIn","logoutUser","getUserLoggedIn","isRunning","watch","content","MemberGuard","autoLogoutService","PermissionGuard","requiredPermission","ProfilesPreloadGuard","getPersonInfo","agsPermission","getAGSPartner","validateAGSMembership","getCompanyInfo","ROOT_ROUTES","loadChildren","GuestModule","MembershipModule","nivodaFlag","DashboardModule","CommercialLinesModule","AppraisalModule","JmccDashboardModule","MemoModule","jp","JewelerPagesModule","MarketplaceModule","__webpack_require__","JmConnectModule","component","ExternalModule","AppRoutingModule","preloadingStrategy","initialNavigation","Angulartics2Module","pageTracking","clearIds","clearQueryParams","clearHash","excludedRoutes","GoogleAnalyticsService","startPageTracking","addScripts","listenForRouteChanges","pageUrl","formatUrl","urlAfterRedirects","sendTrackEvent","script1","script2","innerHTML","ex","gtag","page_path","hashPart","indexOf","queryPart","formatQueryParams","urlPart","StartingComponent","showJmconnect","AppComponent","platformId","googleAnalyticsService","unsupportedBrowserService","gtmService","metaService","tooltipConfig","popoverConfig","viewportScroller","isAuthenticated$","resetShipmentSummaryFilters","resetBillingAndPaymentsFilters","triggers","responsivePopover$","matches","updateTag","property","addTags","startTracking","setDefaultLang","setTranslation","use","isPlatformBrowser","urlsToSkipScrollToTop","urlToSkip","scrollToPosition","starting","checkRouterEvent","setUsername","getListOfBrowsers","onAuthorizationResultComplete","checkSessionChanged$","sessionChanged","onCheckSessionChangedComplete","validationResult","ValidationResult","maxNumberOfLoginRetries","sessionchanged","forceRefreshSession","browser","browserVersion","routerEvent","NavigationStart","loading","NavigationCancel","NavigationError","PLATFORM_ID","NgbTooltipConfig","NgbPopoverConfig","decls","AuthorizationInterceptor","intercept","req","cloneReq","clone","handle","ContentTypeJsonInterceptor","has","shippingApiDomain","encodingConfig","fields","FieldEncodeInterceptor","requestUrl","requestEncodeConfig","bodyCopy","cloneDeep","encodeFields","object","fieldsToEncode","fieldName","httpInterceptorProviders","HTTP_INTERCEPTORS","multi","SubscriptionKeyInterceptor","TokenInterceptor","HttpResponse","getOidcConfig","domain","logging","authority","redirectUrl","scope","postLogoutRedirectUri","startCheckSession","silentRenew","silentRenewUrl","disableIdTokenValidation","postLoginRoute","forbiddenRoute","unauthorizedRoute","logLevel","LogLevel","maxIdTokenIatOffsetAllowedInSeconds","authWellknownEndpoints","issuer","jwksUri","authorizationEndpoint","tokenEndpoint","userInfoEndpoint","endSessionEndpoint","checkSessionIframe","revocationEndpoint","introspectionEndpoint","TwoFAEffects","verificationService","twoFAAction","_","question","metaReducers","AppModule","bootstrap","provideNgxMask","AuthModule","StoreModule","runtimeChecks","strictStateImmutability","strictActionImmutability","EffectsModule","StoreDevtoolsModule","maxAge","logOnly","BrowserModule","appId","BrowserAnimationsModule","HttpClientModule","HttpClientJsonpModule","NguCarouselModule","NgxStripeModule","ServiceWorkerModule","enableProdMode","__NgCli_bootstrap_1","bootstrapModule","e","webpackContext"],"sourceRoot":"webpack:///","sources":["./src/app/components/page-not-found/page-not-found.component.ts","./src/app/components/page-not-found/page-not-found.component.html","./src/app/modules/appraisal/enums/country-code.ts","./src/app/modules/core/animations/app.animations.ts","./src/app/modules/core/services/app-configuration.service.ts","./src/app/modules/core/services/auth.service.ts","./src/app/modules/core/services/configuration.service.ts","./src/app/modules/core/services/email.service.ts","./src/app/modules/core/services/forbidden-words.service.ts","./src/app/modules/core/services/notification.service.ts","./src/app/modules/core/services/reporting.service.ts","./src/app/modules/core/signalr-clients/zing-hub-http-client.ts","./src/app/modules/guest/modules/models/email-consent.ts","./src/app/modules/guest/modules/models/enums/business-types.ts","./src/app/modules/guest/modules/models/invite.ts","./src/app/modules/guest/modules/register/store/actions/register.actions.ts","./src/app/modules/guest/modules/register/store/reducers/register.reducer.ts","./src/app/modules/marketplace/animations/animations.ts","./src/app/modules/marketplace/models/diamond-thumbnail-label-align.ts","./src/app/modules/marketplace/models/price-change-details.ts","./src/app/modules/marketplace/models/natural-cart.ts","./src/app/modules/marketplace/services/diamond-cart.service.ts","./src/app/modules/marketplace/services/diamond-cart-facade.service.ts","./src/app/modules/marketplace/services/orders.service.ts","./src/app/modules/marketplace/services/marketplace.facade.ts","./src/app/modules/marketplace/services/marketplace.service.ts","./src/app/modules/marketplace/shared/config/default-search-parameters.ts","./src/app/modules/marketplace/shared/config/order-statuses.ts","./src/app/modules/marketplace/shared/models/cert-item-dropdown-selection.ts","./src/app/modules/marketplace/shared/models/color-type.ts","./src/app/modules/marketplace/shared/models/price-type.ts","./src/app/modules/marketplace/shared/utils/cart-helpers.ts","./src/app/modules/marketplace/shared/config/location-restrictions.ts","./src/app/modules/marketplace/shared/utils/helpers.ts","./src/app/modules/marketplace/shared/utils/mappers.ts","./src/app/modules/marketplace/shopping-cart/components/cart-item/cart-item.component.html","./src/app/modules/marketplace/shopping-cart/components/cart-item/cart-item.component.ts","./src/app/modules/marketplace/shopping-cart/components/cart-item-details/cart-item-details.component.html","./src/app/modules/marketplace/shopping-cart/components/cart-item-details/cart-item-details.component.ts","./src/app/modules/marketplace/shopping-cart/components/mandate-terms-modal/mandate-terms-modal.component.ts","./src/app/modules/marketplace/shopping-cart/components/mandate-terms-modal/mandate-terms-modal.component.html","./src/app/modules/marketplace/shopping-cart/components/shopping-cart-modal/shopping-cart-modal.component.html","./src/app/modules/marketplace/shopping-cart/components/shopping-cart-modal/shopping-cart-modal.component.ts","./src/app/modules/marketplace/shopping-cart/services/diamond-marketplace-shopping-cart.service.ts","./src/app/modules/marketplace/shopping-cart/services/order-facade.service.ts","./src/app/modules/marketplace/shopping-cart/store/actions/shopping-cart.actions.ts","./src/app/modules/marketplace/shopping-cart/store/reducers/shopping-cart.reducer.ts","./src/app/modules/marketplace/shopping-cart/store/effects/shopping-cart.effects.ts","./src/app/modules/marketplace/shopping-cart/utils/shopping-cart-utils.ts","./src/app/modules/marketplace/store/actions/marketplace.actions.ts","./src/app/modules/marketplace/store/effects/marketplace.effects.ts","./src/app/modules/marketplace/store/reducers/marketplace.reducer.ts","./src/app/modules/marketplace/utils/helpers.ts","./src/app/modules/marketplace/utils/secure-url-utils.ts","./src/app/modules/marketplace/utils/transaction-details-utils.ts","./src/app/modules/membership/modules/account/enums/approval-status.ts","./src/app/modules/membership/modules/account/models/address.model.ts","./src/app/modules/membership/modules/account/models/business-unit-model.ts","./src/app/modules/shared/enums/care-plan-store-type.ts","./src/app/modules/membership/modules/account/models/company.model.ts","./src/app/modules/membership/modules/account/models/credit-card-type-enum.ts","./src/app/modules/membership/modules/account/models/payment-type.enum.ts","./src/app/modules/membership/modules/account/models/person-source.enum.ts","./src/app/modules/membership/modules/account/models/user-role-code.enum.ts","./src/app/modules/membership/modules/account/services/location.service.ts","./src/app/modules/membership/modules/account/services/payment-method.service.ts","./src/app/modules/membership/modules/account/store/company.actions.ts","./src/app/modules/membership/modules/account/store/company.reducer.ts","./src/app/modules/membership/modules/account/store/payment.actions.ts","./src/app/modules/membership/modules/account/store/payment.reducer.ts","./src/app/modules/membership/modules/account/store/team.actions.ts","./src/app/modules/membership/modules/account/store/team.reducer.ts","./src/app/modules/membership/modules/billing/enums/billing-column-type.ts","./src/app/modules/membership/modules/billing/store/actions/billing.actions.ts","./src/app/modules/membership/modules/billing/store/reducers/billing.reducer.ts","./src/app/modules/membership/modules/billing/utils/billing-constants.ts","./src/app/modules/membership/modules/dashboard/route-guards/partner-gateway-enabled.guard.ts","./src/app/modules/membership/modules/shipping/components/shipment-summary-page/shipment-summary-config.ts","./src/app/modules/membership/modules/shipping/enums/filter-modal.enum.ts","./src/app/modules/membership/modules/shipping/enums/high-risk-delivery-warning.enum.ts","./src/app/modules/membership/modules/shipping/enums/service-type.ts","./src/app/modules/membership/modules/shipping/enums/shipment-price-type.enum.ts","./src/app/modules/membership/modules/shipping/enums/shipping-column-type.ts","./src/app/modules/membership/modules/shipping/models/base-shipment-models.ts","./src/app/modules/membership/modules/shipping/models/shipment.ts","./src/app/modules/membership/modules/shipping/store/actions/shipping.actions.ts","./src/app/modules/membership/modules/shipping/store/reducers/shipping.reducer.ts","./src/app/modules/membership/modules/shipping/utils/shipment-constants.ts","./src/app/modules/membership/services/account-user-data.service.ts","./src/app/modules/membership/services/external-navigation.service.ts","./src/app/modules/membership/services/shipping-user-data.service.ts","./src/app/modules/membership/services/user-data.service.ts","./src/app/modules/order/models/credit-card-error-type.ts","./src/app/modules/order/models/order-processing-status.ts","./src/app/modules/order/models/payment-intent-status.ts","./src/app/modules/order/models/payment-method-type.ts","./src/app/modules/order/services/order-location.facade.ts","./src/app/modules/order/services/payment-source.service.ts","./src/app/modules/popup-modals/components/agreement-modal/agreement-modal.component.html","./src/app/modules/popup-modals/components/agreement-modal/agreement-modal.component.ts","./src/app/modules/popup-modals/components/form-modal/form-modal.component.html","./src/app/modules/popup-modals/components/form-modal/form-modal.component.ts","./src/app/modules/popup-modals/components/models/agreement-modal.config.ts","./src/app/modules/popup-modals/components/models/modal-config.ts","./src/app/modules/popup-modals/components/notification-modal/notification-modal.component.html","./src/app/modules/popup-modals/components/notification-modal/notification-modal.component.ts","./src/app/modules/shared/components/spinner/spinner.component.ts","./src/app/modules/shared/components/spinner/spinner.module.ts","./src/app/modules/shared/constants.ts","./src/app/modules/shared/enums/analytics-custom-events.ts","./src/app/modules/shared/enums/business-service-type.ts","./src/app/modules/shared/enums/date-range-type.enum.ts","./src/app/modules/shared/enums/diamond-type.ts","./src/app/modules/shared/enums/feature-name.ts","./src/app/modules/shared/enums/marketplace-partner-affiliation-types.ts","./src/app/modules/shared/enums/marketplace-service-permission-status.ts","./src/app/modules/shared/services/account.service.ts","./src/app/modules/shared/services/analytics.service.ts","./src/app/modules/shared/services/banner.service.ts","./src/app/modules/shared/services/base-http.service.ts","./src/app/modules/shared/services/company.service.ts","./src/app/modules/shared/services/gtm.service.ts","./src/app/modules/shared/services/address.service.ts","./src/app/modules/shared/services/company-documents.service.ts","./src/app/modules/shared/components/message-spinner/message-spinner.component.ts","./src/app/modules/shared/components/message-spinner/message-spinner.component.html","./src/app/modules/shared/services/loading-spinner.service.ts","./src/app/modules/shared/services/index.ts","./src/app/modules/shared/services/intrial-appraisal.service.ts","./src/app/modules/shared/services/mix-panel.service.ts","./src/app/modules/shared/services/partner.service.ts","./src/app/modules/shared/services/profile.service.ts","./src/app/modules/shared/services/risk.service.ts","./src/app/modules/shared/enums/service-modules.ts","./src/app/modules/shared/services/service-modules.service.ts","./src/app/modules/membership/modules/shipping/models/user-consent.model.ts","./src/app/modules/shared/services/terms-and-conditions.service.ts","./src/app/modules/shared/services/theme.service.ts","./src/assets/browsers/browsers.ts","./src/app/modules/shared/services/unsupported-browsers.service.ts","./src/app/modules/shared/services/verification.service.ts","./src/app/modules/popup-modals/popup-modals.module.ts","./src/app/modules/shared/services/date-formatter.ts","./src/app/modules/shared/shared.module.ts","./src/app/modules/shopping-cart/models/module-type.ts","./src/app/modules/shopping-cart/models/shipping-method-type.ts","./src/app/route-guards/application-browser-guard.service.ts","./src/app/route-guards/feature-flag.guard.ts","./src/app/route-guards/guest-guard.service.ts","./src/app/route-guards/role-guard.service.ts","./src/app/route-guards/subscription-guard.service.ts","./src/app/utils/formatters.ts","./src/app/utils/moment-date-time.ts","./src/app/utils/odata.ts","./src/app/utils/regex.ts","./src/app/utils/search.ts","./src/environments/environment.dev-deployed.ts","./src/app/store/actions/two-factor-auth.actions.ts","./src/app/store/reducers/two-factor-auth.reducer.ts","./src/app/store/root.state.ts","./src/app/components/forbidden/forbidden.component.ts","./src/app/components/forbidden/forbidden.component.html","./src/app/modules/core/auto-login/auto-login.component.ts","./src/app/utils/encoder.ts","./src/app/modules/core/callback.component.ts","./src/app/modules/core/participant-agreement/participant-agreement.component.ts","./src/app/modules/core/participant-agreement/participant-agreement.component.html","./src/app/modules/core/services/selective-preload-strategy.service.ts","./src/app/modules/core/terms-of-use/terms-of-use.component.ts","./src/app/modules/core/terms-of-use/terms-of-use.component.html","./src/app/modules/membership/modules/shipping/components/faq/faq.service.ts","./src/app/modules/membership/modules/shipping/components/faq/faq.component.ts","./src/app/modules/membership/modules/shipping/components/faq/faq.component.html","./src/app/modules/shared/components/pdf-view/pdf-view.component.ts","./src/app/modules/shared/components/pdf-view/pdf-view..component.html","./src/app/route-guards/member-can-guard.service.ts","./src/app/modules/shared/components/idle-warning/idle-warning.component.ts","./src/app/modules/shared/components/idle-warning/idle-warning.component.html","./src/app/modules/shared/services/auto-logout.service.ts","./src/app/route-guards/member-guard.service.ts","./src/app/route-guards/permission.guard.ts","./src/app/route-guards/profiles-preload.guard.ts","./src/app/app-routing.module.ts","./src/app/modules/shared/services/google-analytics.service.ts","./src/app/modules/core/starting.component.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/interceptors/authorization.interceptor.ts","./src/app/interceptors/content-type.interceptor.ts","./src/app/config/field-encode.config.ts","./src/app/interceptors/field-encode.interceptor.ts","./src/app/interceptors/index.ts","./src/app/interceptors/subscription-key.interceptor.ts","./src/app/interceptors/token.interceptor.ts","./src/app/config/oidc.config.ts","./src/app/store/effects/two-factor-auth.effects.ts","./src/app/app.module.ts","./src/main.ts","./node_modules/moment/locale/ sync ^\\.\\/.*$"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { Location } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'z-page-not-found',\r\n templateUrl: './page-not-found.component.html',\r\n styles: [`\r\n .page-not-found {\r\n height: 100vh;\r\n background-color: #F4F4F4;\r\n }\r\n `]\r\n})\r\nexport class PageNotFoundComponent {\r\n\r\n constructor(\r\n private location: Location\r\n ) { }\r\n\r\n goBack() {\r\n this.location.back();\r\n }\r\n\r\n}\r\n","
{{ 'Labels.DiamondDetails.Measurements' | translate }}
\r\n{{ 'Labels.DiamondDetails.Depth' | translate }}
\r\n{{ 'Labels.DiamondDetails.Table' | translate }}
\r\n{{ 'Labels.DiamondDetails.CrownHeight' | translate }}
\r\n{{ 'Labels.DiamondDetails.CrownAngle' | translate }}
\r\n{{ 'Labels.DiamondDetails.FluorescenceIntesity' | translate }}
\r\n{{diamondDetails?.measurements + ' mm'}}
\r\n{{diamondDetails?.totalDepth + '%'}}
\r\n{{diamondDetails?.tableWidth + '%'}}
\r\n{{diamondDetails?.crownHeight + '%'}}
\r\n{{diamondDetails?.crownAngle + '%'}}
\r\n{{diamondDetails?.fluorescenceIntensity || '-'}}
\r\n{{ 'Labels.DiamondDetails.Fluorescence' | translate }}
\r\n{{ 'Labels.DiamondDetails.PavilionDepth' | translate }}
\r\n{{ 'Labels.DiamondDetails.PavilionAngle' | translate }}
\r\n{{ 'Labels.DiamondDetails.CuletSize' | translate }}
\r\n{{ 'Labels.DiamondDetails.CuletCondition' | translate }}
\r\n{{ 'Labels.DiamondDetails.Girdle' | translate }}
\r\n{{diamondDetails?.fluorescenceColor || '-'}}
\r\n{{diamondDetails?.pavilionDepth || '-'}}
\r\n{{diamondDetails?.pavilionAngle || '-'}}
\r\n{{diamondDetails?.culetSize || '-'}}
\r\n{{diamondDetails?.culetCondition || '-'}}
\r\n{{diamondDetails?.girdle || '-'}}
\r\n{{ 'Labels.DiamondDetails.Shade' | translate }}
\r\n{{ 'Labels.DiamondDetails.Milky' | translate }}
\r\n{{ 'Labels.DiamondDetails.BlackInclusion' | translate }}
\r\n{{ 'Labels.DiamondDetails.EyeClean' | translate }}
\r\n \r\n{{diamondDetails?.shade || '-'}}
\r\n{{diamondDetails?.milky || '-'}}
\r\n{{diamondDetails?.blackInclusion || '-'}}
\r\n{{diamondDetails?.eyeClean || '-'}}
\r\n \r\n-
\r\n{{ content }}
\r\n;\r\n}\r\n\r\nexport interface Rate {\r\n price: number;\r\n insurancePrice: number;\r\n freightPrice: number;\r\n carrier: CarrierType;\r\n service: ServiceType;\r\n signature: DeliveryConfirmationType;\r\n deliveryDate: Date;\r\n serviceDescription: string;\r\n accountNickname: string;\r\n claimValidity?: ClaimValidity;\r\n totalAdminFees: number;\r\n}\r\n\r\nexport class Claim {\r\n id?: string;\r\n clientId?: string;\r\n shipmentId?: number;\r\n shipmentGid?: string;\r\n claimantAddressSameAsClient?: boolean;\r\n fromAddress?: ClaimAddress;\r\n toAddress?: ClaimAddress;\r\n shipDate?: Date;\r\n claimDueDate?: Date;\r\n claimFiledOn?: Date;\r\n trackingNumber?: string;\r\n insuredValue?: string;\r\n claimantAddress?: ClaimAddress;\r\n packageCount?: number;\r\n weights?: Array;\r\n postagePurchased?: boolean;\r\n status?: ClaimStatus;\r\n currentStatus?: string;\r\n cargo?: string;\r\n nextSteps?: string;\r\n updateNotes?: string;\r\n carrierClaimNumber?: string;\r\n claimValue?: number;\r\n lossCircumstances?: string;\r\n lossType?: LossDamageType;\r\n claimReason?: ClaimReasonsType;\r\n isRolexOrGiaTheft?: boolean;\r\n policeReportInformation?: string;\r\n packageContents?: string;\r\n damageDescription?: string;\r\n fileNames?: Array ;\r\n claimId?: string;\r\n}\r\n\r\nexport interface ClaimAddress {\r\n id: string;\r\n clientId?: string;\r\n addressType: ClaimAddressType;\r\n reference?: string;\r\n company: string;\r\n contact: string;\r\n addressLine1: string;\r\n addressLine2: string;\r\n city: string;\r\n state: string;\r\n zip: string;\r\n countryCode: string;\r\n phoneNumber: string;\r\n emailAddress: string;\r\n sendNotificationEmail?: boolean;\r\n residential?: boolean;\r\n phone?: {\r\n callingCode: string;\r\n number: string;\r\n };\r\n}\r\n\r\nexport interface ClaimDocument {\r\n id: string;\r\n file: File;\r\n}\r\n\r\nexport class ApprovalContact {\r\n contact: string;\r\n emailAddress: string;\r\n phoneNumber: string;\r\n}\r\n\r\nexport enum ClaimStatus {\r\n AllShipments = 0,\r\n AllClaims = 1,\r\n NoClaim = 2,\r\n NotSubmitted = 3,\r\n Submitted = 4,\r\n Acknowledged = 5,\r\n NeedShipperInfo = 6,\r\n NeedRecipientInfo = 7,\r\n NeedCarrierInfo = 8,\r\n WithUnderwriter = 9,\r\n Investigating = 10,\r\n Approved = 11,\r\n Paid = 12,\r\n Withdrawn = 13,\r\n Denied = 14,\r\n NpolPending = 15,\r\n Archived = 16\r\n}\r\n\r\nexport enum LossDamageType {\r\n Unknown = 0,\r\n Complete = 1,\r\n Partial = 2\r\n}\r\n\r\nexport enum ClaimReasonsType {\r\n Unknown = 0,\r\n ScannedAsDeliveredButRecipientDidNotReceive = 1,\r\n CarrierFailedToDeliver = 2,\r\n ContentsDamagedInShipping = 3,\r\n ContentsStolenOrMissing = 4,\r\n Other = 5\r\n}\r\n\r\nexport enum ClaimAddressType {\r\n Unspecified = 0,\r\n Origin = 1,\r\n Destination = 2\r\n}\r\n\r\nexport interface QuickQuote {\r\n origin: {\r\n state: string;\r\n postalCode: string;\r\n };\r\n destination: {\r\n state: string;\r\n postalCode: string;\r\n };\r\n weight: Array ;\r\n declaredValue: number;\r\n cargoType: string;\r\n signature: DeliveryConfirmationType;\r\n package?: {\r\n packageDetails: Array ;\r\n packagingTypes: Array ;\r\n };\r\n carriers: Array ;\r\n services: Array ;\r\n}\r\n\r\nexport interface VoidDetail {\r\n voidedBy: string;\r\n voidedOn: Date;\r\n}\r\n\r\nexport interface ClaimDetail {\r\n id: string;\r\n claimId: number;\r\n claimFiledOn: Date;\r\n}\r\n\r\nexport interface CodService {\r\n fundType?: CodFundType;\r\n collectionAmount?: string;\r\n fedExRemittanceAddress?: ShipmentLocation;\r\n fedExRemittanceAddressSelected?: boolean;\r\n}\r\n\r\nexport interface ThirdPartyService {\r\n accountNumber?: string;\r\n accountZipCode?: string;\r\n type?: ThirdPartyServiceType;\r\n}\r\n\r\nexport enum ShipmentSource {\r\n Platform = 0,\r\n IShip = 1,\r\n External = 2\r\n}\r\n\r\nexport enum LabelType {\r\n None = 0,\r\n No_TAB = 1,\r\n Three_Quarter_Inch_Tab = 2,\r\n Two_Inch_Tab = 3\r\n}\r\n\r\nexport enum CodFundType {\r\n None = 0,\r\n Secure = 1,\r\n Any = 2\r\n}\r\n\r\nexport enum ThirdPartyServiceType {\r\n NoneSelected = 0,\r\n ThirdPartyFedEx = 1,\r\n RecipientFedEx = 2,\r\n ThirdPartyUPS = 3,\r\n RecipientUPS = 4\r\n}\r\n","import { ServiceType } from '../enums/service-type';\r\nimport { ShippingColumnName } from '../enums/shipping-column-type';\r\nimport { Tracking, Weight, VoidDetail, ClaimDetail, ShipmentLocation, ShipmentPurchaseState, ThirdPartyService } from './base-shipment-models';\r\nimport { SortingType } from '../../shared/enums/sortingType';\r\nimport { DeliveryConfirmationType } from '../enums/delivery-confirmation-type';\r\nimport { NameValuePair } from './name-value-pair.model';\r\nimport { PackageDetailType } from '../enums/package-detail-type';\r\nimport { AddressDisplayMode } from '../components/shipment-address-selection/shipment-address-selection.component';\r\nimport { FilterModalType } from '../enums/filter-modal.enum';\r\nimport { ShipmentPriceType } from '../enums/shipment-price-type.enum';\r\nimport { StoreType } from '../../account/models/store-type.model';\r\n\r\nexport enum ShipmentStatus {\r\n Saved = 0,\r\n Created = 1,\r\n Parked = 2,\r\n ApprovalRequired = 3,\r\n Approved = 4,\r\n AwaitingPayment = 5,\r\n Processed = 6,\r\n Rejected = 7,\r\n Voided = 8,\r\n Boomerang = 9,\r\n InTransit = 10,\r\n Exception = 11,\r\n Delivered = 12,\r\n Complete = 13,\r\n EditRequired = 14,\r\n ReadyForPurchase = 15,\r\n NeedsReview = 16\r\n}\r\nexport enum CarrierType {\r\n None = 0,\r\n DHL = 1,\r\n EasternConnection = 2,\r\n FedEx = 3,\r\n Lonestar = 4,\r\n Newgistics = 5,\r\n Ontrac = 6,\r\n UPS = 7,\r\n DHLGM = 8,\r\n USPS = 9,\r\n RequiresInput = 99\r\n}\r\n\r\nexport enum ShipmentLocationType {\r\n Origin = 'Origin',\r\n Destination = 'Destination'\r\n}\r\n\r\ninterface Address {\r\n addressLine1: string;\r\n addressLine2?: string;\r\n city: string;\r\n stateId: string;\r\n postCode: string;\r\n countryId: string;\r\n latitude?: number;\r\n longitude?: number;\r\n altitude?: number;\r\n}\r\n\r\nexport enum AddressSource {\r\n API,\r\n AddressBook,\r\n DefaultAddress,\r\n Company,\r\n Custom\r\n}\r\nexport interface ShipmentReferences {\r\n shipmentName: string;\r\n shipperReference: string;\r\n receiverReference: string;\r\n totalPrice: number;\r\n}\r\n\r\nexport interface ShipmentInsurance {\r\n value: number;\r\n notes: string;\r\n account: string;\r\n}\r\n\r\nexport class Quote {\r\n id?: string;\r\n carrier: string;\r\n service: ServiceType;\r\n carrierImg: string;\r\n text: string;\r\n price: number;\r\n shipmentPrices?: ShipmentPrice[];\r\n priceTypePrefferred?: ShipmentPriceType;\r\n requiresApproval: boolean;\r\n expectedDeliveryDate: Date;\r\n requiresSeal: boolean;\r\n softError?: string;\r\n hardError?: string;\r\n valueReducedByBlock?: number;\r\n valueOfBlockUsed?: number;\r\n packageDetail?: PackageDetailType;\r\n packageImage?: string;\r\n packageName?: string;\r\n deliveryConfirmation?: DeliveryConfirmationType;\r\n isSaturdayDelivery?: boolean;\r\n insuranceOnly?: boolean;\r\n carrierServiceDescription?: string;\r\n deliveryConfirmationName?: string;\r\n warningMessage?: string;\r\n cargo?: string;\r\n totalAdminFees?: number;\r\n adminFeesVerbiage?: string;\r\n\r\n get unavailable() {\r\n return this.softError || this.hardError || !this.price;\r\n }\r\n}\r\n\r\nexport interface QuoteOptions {\r\n clientId?: number;\r\n originPostalCode: string;\r\n destinationPostalCode: string;\r\n origin?: ShipmentLocation;\r\n destination?: ShipmentLocation;\r\n isDestinationResidential?: boolean;\r\n packageDimX?: number;\r\n packageDimY?: number;\r\n packageDimZ?: number;\r\n value: number;\r\n weights: Array ;\r\n cargo: number;\r\n shippingDate?: Date;\r\n magicSeal?: boolean;\r\n ignoreBlock?: boolean;\r\n registeredMail?: boolean;\r\n carriers: Array ;\r\n services: Array ;\r\n packageDetails?: Array ;\r\n signatures: Array ;\r\n invoiceValue?: number;\r\n insuranceOnly?: boolean;\r\n insuranceOnlyTrackingNumber?: string;\r\n approvalCode?: string;\r\n shipmentId?: string;\r\n codSelected?: boolean;\r\n thirdPartySelected?: boolean;\r\n thirdPartyService?: ThirdPartyService;\r\n isFedexOneRate?: boolean;\r\n isHoldForPickup?: boolean;\r\n hfpuLocationID?: string;\r\n}\r\n\r\nexport interface SignatureOption extends NameValuePair {\r\n displayText: string;\r\n carrier?: string;\r\n}\r\n\r\nexport interface ShippingColumn {\r\n columnName: ShippingColumnName;\r\n sortingType?: SortingType;\r\n columnTitle?: string;\r\n orderNo?: number;\r\n columnData?: string;\r\n isVisible?: boolean;\r\n isMandatory?: boolean;\r\n filterable: boolean;\r\n isLocked?: boolean;\r\n sortable?: boolean;\r\n filterModalType?: FilterModalType;\r\n}\r\n\r\nexport interface ShippingUserData {\r\n columns?: ShippingColumn[];\r\n savedShipmentsColumns?: ShippingColumn[];\r\n action?: RestrictionAction;\r\n userId?: string;\r\n personId?: string;\r\n id?: string;\r\n clientSetting?: ClientSetting;\r\n accountLinkingStatus?: LinkingStatus;\r\n accountData?: AccountData;\r\n skipBrinksIntroScreen?: boolean;\r\n destinationDisplayMode?: AddressDisplayMode;\r\n ecommerceIntegrations?: EcommerceIntegration[];\r\n}\r\n\r\nexport interface AccountData {\r\n username: string;\r\n password: string;\r\n}\r\n\r\nexport interface ClientSetting {\r\n clientId: number;\r\n isApproved: true;\r\n isActive: true;\r\n}\r\n\r\nexport interface CreateShipment {\r\n allowed?: boolean;\r\n domesticShipmentsOnly?: boolean;\r\n allowShipmentsBelowValue?: boolean;\r\n allowShipmentsBelowCost?: boolean;\r\n shipmentsBelowValue?: number;\r\n shipmentsBelowCost?: number;\r\n}\r\n\r\nexport interface RestrictionAction {\r\n manageShipments: PermissionLevel;\r\n createShipments: CreateShipment;\r\n isShippingAllowed: boolean;\r\n}\r\n\r\nexport enum PermissionLevel {\r\n CreatedByUser = 0,\r\n CreatedByEntireOrganization = 1\r\n}\r\nexport interface PermissionLevelDropDownOption {\r\n name: string;\r\n value: number;\r\n}\r\n\r\nexport interface ShipmentSummaryRecord {\r\n id?: string;\r\n zingTrackingNumber: string;\r\n shipTo: string;\r\n destination: string;\r\n carrierTrackingId: string;\r\n carrierName: string;\r\n service: string;\r\n status: string;\r\n shipmentStatus?: ShipmentStatus;\r\n filterStatus: string;\r\n clientID: number;\r\n //accountName: string;\r\n signature: string;\r\n packaging: string;\r\n name: string;\r\n weight: string;\r\n shipmentCost: number;\r\n sendersReference: string;\r\n shipFrom: string;\r\n shipFromContact: string;\r\n shipFromAddress: string;\r\n shipFromZipCode: string;\r\n shipFromCountry: string;\r\n receiversReference: string;\r\n residential: boolean;\r\n shipToContact: string;\r\n shipToAddress: string;\r\n shipToZipCode: string;\r\n shipToCountry: string;\r\n createdOn: string;\r\n tracking?: Tracking;\r\n voidDetail?: VoidDetail;\r\n claimDetail?: ClaimDetail;\r\n shipmentCreated: string;\r\n declaredValue?: number;\r\n insuredValue?: number;\r\n voided: boolean;\r\n eCommOrders: string;\r\n insuranceOnly: boolean;\r\n isInternational: boolean;\r\n isScanBasedBilling: boolean;\r\n shipFromCity: string;\r\n shipFromState: string;\r\n shipToCity: string;\r\n shipToState: string;\r\n carrierShipDate: string;\r\n carrierDeliveryDate: string;\r\n voidedOn: string;\r\n needsReviewError?: string;\r\n isDeclined?: boolean;\r\n claimReportingPeriod?: string;\r\n}\r\n\r\nexport interface ShipmentReconciliationRecord {\r\n shipmentId: string;\r\n shipmentGid: string;\r\n trackingNumber: string;\r\n reconAmount: number;\r\n shipmentDate: Date;\r\n reconDate: Date;\r\n from: string;\r\n to: string;\r\n carrier: string;\r\n service: string;\r\n}\r\n\r\nexport interface ShipmentPurchaseRecord {\r\n shipmentId?: string;\r\n shipmentCost?: number;\r\n carrierTrackingId?: string;\r\n senderReference?: string;\r\n shipTo?: string;\r\n purchaseState?: ShipmentPurchaseState;\r\n purchaseError?: string;\r\n}\r\n\r\nexport interface ShipmentPrice {\r\n price: number;\r\n shipmentPriceType: ShipmentPriceType;\r\n}\r\n\r\nexport enum LinkingStatus {\r\n NotLinked = 0,\r\n Skipped = 1,\r\n InProgress = 2,\r\n Completed = 3,\r\n Failed = 4\r\n}\r\n\r\nexport enum ShipmentType {\r\n Domestic = 'domestic',\r\n International = 'international',\r\n InsuranceOnly = 'insurance',\r\n None = 'none'\r\n}\r\n\r\nexport enum AddressValidationStatus {\r\n None = 0,\r\n Validated = 1,\r\n Overridden = 2\r\n}\r\n\r\nexport interface EcommerceIntegration {\r\n storeType: StoreType;\r\n storeId: string;\r\n termsAccepted: boolean;\r\n termsAcceptanceDate: Date;\r\n}\r\n","import { Action } from '@ngrx/store';\r\n\r\nimport { Cargo } from '../../models/shipment-cargo';\r\nimport { ShipmentDetails,\r\n ShipmentCarriers, ShipmentReference,\r\n PurchaseDetails, ShippingTime, BoomerangDetails } from '../reducers/shipping.reducer';\r\nimport {\r\n ShipmentLocation, OriginalShipmentDetails,\r\n ShipmentActionType, ShippingPreset, QuickQuote\r\n} from '../../models/base-shipment-models';\r\nimport { NameValuePair } from '../../models/name-value-pair.model';\r\nimport { PackageType } from '../../models/shipment-package-type.model';\r\nimport { BillingReview } from '../../models/billing-review-model';\r\nimport { Rules } from '../../models/rules.model';\r\nimport { InternationalShipmentData } from '../../models/international-shipments-data.model';\r\nimport { IntegratedAccountDetails } from '../../models/integrated-account-details-model';\r\n\r\nexport enum ShippingActionTypes {\r\n SetInitialState = '[Shipping] Set Initial State',\r\n LoadCargo = '[Shipping] Load Cargo',\r\n LoadCargoSuccess = '[Shipping] Load Cargo Success',\r\n LoadCargoFail = '[Shipping] Load Cargo Fail',\r\n LoadPackageTypes = '[Shipping] Load Package Types',\r\n LoadPackageTypesSuccess = '[Shipping] Load Package Type Success',\r\n LoadPackageTypesFail = '[Shipping] Load Package Type Fail',\r\n LoadCarriers = '[Shipping] Load Carriers',\r\n LoadCarriersSuccess = '[Shipping] Load Carriers Success',\r\n LoadCarriersFail = '[Shipping] Load Carriers Fail',\r\n LoadLookup = '[Shipping] Load Lookup',\r\n LoadLookupSuccess = '[Shipping] Load Lookup Success',\r\n LoadLookupFail = '[Shipping] Load Lookup Fail',\r\n LoadInternationalShipmentsData = '[Shipping] Load International Shipments Data',\r\n LoadInternationalShipmentsDataSuccess = '[Shipping] Load International Shipments Data Success',\r\n LoadInternationalShipmentsDataFail = '[Shipping] Load International Shipments Data Fail',\r\n SaveShipmentDetails = '[Shipping] Save Shipment Details',\r\n SaveIsFormTypeReturn = '[Shipping] Save Is Form Type Equal To Return',\r\n SaveShipmentCarriers = '[Shipping] Save Shipment Carriers',\r\n SaveOriginLocation = '[Shipping] Save Origin Location',\r\n SaveDestinationLocation = '[Shipping] Save Destination Location',\r\n SaveShipmentReference = '[Shipping] Save Shipment Reference',\r\n ResetShipment = '[Shipping] Reset Shipment',\r\n SaveShipment = '[Shipping] Save Shipment',\r\n SaveShipmentSuccess = '[Shipping] Save Shipment Success',\r\n SaveShipmentFail = '[Shipping] Save Shipment Fail',\r\n SaveQuoteId = '[Shipping] Save QuoteId',\r\n SaveSelectedQuote = '[Shipping] Save Selected Quote',\r\n SaveInternationalDetail = '[Shipping] Save International Detail',\r\n PurchaseShipment = '[Shipping] Purchase Shipment',\r\n SavePurchaseDetails = '[Shipping] Purchase Shipment Success',\r\n ShipmentRequestsApproval = '[Shipping] Shipment Requests Approval',\r\n PurchaseShipmentFail = '[Shipping] Purchase Shipment Fail',\r\n ProcessQuoteOptions = '[Shipping] Process Quote Options',\r\n ProcessQuoteOptionsSuccess = '[Shipping] Process Quote Options Success',\r\n ProcessQuoteOptionsFail = '[Shipping] Process Quote Options Fail',\r\n SaveShipmentId = '[Shipping] Save ShipmentId',\r\n SaveShipmentName = '[Shipping] Save ShipmentName',\r\n SaveShippingDate = '[Shipping] Save ShippingDate',\r\n SaveOriginalShipmentDetails = '[Shipping] Save Original Shipment Details',\r\n SaveShipmentActionType = '[Shipping] Save Shipment Action Type',\r\n CreateClaim = '[Shipping] Create Claim',\r\n CreateClaimFail = '[Shipping] Create Claim',\r\n SaveClaim = '[Shipping] Save Claim',\r\n ResetClaim = '[Shipping] Reset Claim',\r\n SaveClaimDocuments = '[Shipping] Save Claim Documents',\r\n SaveBillingReview = '[Shipping] Save Billing Review',\r\n SaveBillingReviewSuccess = '[Shipping] Save Billing Review Success',\r\n SaveBillingReviewFail = '[Shipping] Save Billing Review Fail',\r\n ClearBillingRequestNotifications = '[Shipping] Clear Billing Request Notifications',\r\n AddApprovalContact = '[Shipping] Add Approval Contact',\r\n PopulateFromPreset = '[Shipping] Populate From Preset',\r\n PopulateEditPresetFromPreset = '[Shipping] Populate Edit Preset From Preset',\r\n PopulateFromPresetSuccess = '[Shipping] Populate From Preset Success',\r\n PopulateFromQuickQuote = '[Shipping] Populate From Quick Quote',\r\n PurchaseBoomerangShipment = '[Shipping] Purchase Boomerang Shipment',\r\n SavedBoomerangShipment = '[Shipping] Saved Boomerang Shipment',\r\n LoadPresets = '[Shipping] Load Presets',\r\n LoadPresetsSuccess = '[Shipping] Load Presets Success',\r\n LoadPresetsFail = '[Shipping] Load Presets Fail',\r\n CreatePreset = '[Shipping] Create Preset',\r\n CreatePresetSuccess = '[Shipping] Create Preset Success',\r\n CreatePresetFail = '[Shipping] Create Preset Fail',\r\n DefaultPreset = '[Shipping] Default Preset',\r\n DefaultPresetSuccess = '[Shipping] Default Preset Success',\r\n DefaultPresetFail = '[Shipping] Default Preset Fail',\r\n UpdatePreset = '[Shipping] Update Preset',\r\n UpdatePresetSuccess = '[Shipping] Update Preset Success',\r\n UpdatePresetFail = '[Shipping] Update Preset Fail',\r\n DeletePreset = '[Shipping] Delete Preset',\r\n DeletePresetSuccess = '[Shipping] Delete Preset Success',\r\n DeletePresetFail = '[Shipping] Delete Preset Fail',\r\n LoadRules = '[Shipping] Load Rules',\r\n LoadRulesSuccess = '[Shipping] Load Rules Success',\r\n LoadRulesFail = '[Shipping] Load Rules Fail',\r\n LoadIntegratedAccountDetails = '[Shipping] Load Integrated Account Details',\r\n LoadIntegratedAccountDetailsSuccess = '[Shipping] Load Integrated Account Details Success',\r\n LoadIntegratedAccountDetailsFail = '[Shipping] Load Integrated Account Details Fail',\r\n ClearError = '[Shipping] Clear Error',\r\n SaveIsInternational = '[Shipping] Save Is International',\r\n SaveIsHoldForPickup = '[Shipping] Save Is Hold For Pickup',\r\n SaveHoldForPickupAddress = '[Shipping] Save Hold For Pickup Address',\r\n SaveNoInsurance = '[Shipping] Save No Insurance',\r\n SaveInsuranceOnlyTrackingNumber = '[Shipping] Save Insurance Only Tracking Number',\r\n SaveInsuranceOnly = '[Shipping] Save Insurance Only',\r\n SaveHasApprovalCodeError = '[Shipping] Save Has Approval Code Error',\r\n SaveQuoteError = '[Shipping] Save Quote Error',\r\n SaveZeroDollarInsuranceWarningPrompted = '[Shipping] Save Zero Dollar Insurance Warning Prompted',\r\n ClearShipmentDetails = '[Shipping] Clear Shipment Details',\r\n LoadEStoreData = '[Shipping] Load EStore Data',\r\n SaveSourcePage = '[Shipping] Save Source Page'\r\n}\r\n\r\nexport class SetInitialState implements Action {\r\n readonly type = ShippingActionTypes.SetInitialState;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class LoadCargo implements Action {\r\n readonly type = ShippingActionTypes.LoadCargo;\r\n}\r\n\r\nexport class LoadCargoSuccess implements Action {\r\n readonly type = ShippingActionTypes.LoadCargoSuccess;\r\n constructor(public payload: Cargo[]) { }\r\n}\r\n\r\nexport class LoadCargoFail implements Action {\r\n readonly type = ShippingActionTypes.LoadCargoFail;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class LoadLookup implements Action {\r\n readonly type = ShippingActionTypes.LoadLookup;\r\n constructor(public payload: string) { }\r\n}\r\n\r\nexport class LoadLookupSuccess implements Action {\r\n readonly type = ShippingActionTypes.LoadLookupSuccess;\r\n constructor(public payload: {\r\n type: string,\r\n items: NameValuePair[]\r\n }) { }\r\n}\r\n\r\nexport class LoadLookupFail implements Action {\r\n readonly type = ShippingActionTypes.LoadLookupFail;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class LoadInternationalShipmentsData implements Action {\r\n readonly type = ShippingActionTypes.LoadInternationalShipmentsData;\r\n}\r\n\r\nexport class LoadInternationalShipmentsDataSuccess implements Action {\r\n readonly type = ShippingActionTypes.LoadInternationalShipmentsDataSuccess;\r\n constructor(public payload: InternationalShipmentData) { }\r\n}\r\n\r\nexport class LoadInternationalShipmentsDataFail implements Action {\r\n readonly type = ShippingActionTypes.LoadInternationalShipmentsDataFail;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class LoadPackageTypes implements Action {\r\n readonly type = ShippingActionTypes.LoadPackageTypes;\r\n}\r\n\r\nexport class LoadPackageTypesSuccess implements Action {\r\n readonly type = ShippingActionTypes.LoadPackageTypesSuccess;\r\n constructor(public payload: PackageType[]) { }\r\n}\r\n\r\nexport class LoadPackageTypesFail implements Action {\r\n readonly type = ShippingActionTypes.LoadPackageTypesFail;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class LoadCarriers implements Action {\r\n readonly type = ShippingActionTypes.LoadCarriers;\r\n}\r\n\r\nexport class LoadCarriersSuccess implements Action {\r\n readonly type = ShippingActionTypes.LoadCarriersSuccess;\r\n constructor(public payload: any[]) { }\r\n}\r\n\r\nexport class LoadCarriersFail implements Action {\r\n readonly type = ShippingActionTypes.LoadCarriersFail;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveShipmentDetails implements Action {\r\n readonly type = ShippingActionTypes.SaveShipmentDetails;\r\n constructor(public payload: ShipmentDetails) { }\r\n}\r\n\r\nexport class SaveSourcePage implements Action {\r\n readonly type = ShippingActionTypes.SaveSourcePage;\r\n constructor(public payload: string) {};\r\n}\r\n\r\nexport class SaveIsFormTypeReturn implements Action {\r\n readonly type = ShippingActionTypes.SaveIsFormTypeReturn;\r\n constructor(public payload: boolean) {};\r\n}\r\n\r\nexport class SaveShipmentCarriers implements Action {\r\n readonly type = ShippingActionTypes.SaveShipmentCarriers;\r\n constructor(public payload: ShipmentCarriers) { }\r\n}\r\n\r\nexport class SaveOriginLocation implements Action {\r\n readonly type = ShippingActionTypes.SaveOriginLocation;\r\n constructor(public payload: ShipmentLocation) { }\r\n}\r\n\r\nexport class SaveDestinationLocation implements Action {\r\n readonly type = ShippingActionTypes.SaveDestinationLocation;\r\n constructor(public payload: ShipmentLocation) { }\r\n}\r\n\r\nexport class SaveShipmentReference implements Action {\r\n readonly type = ShippingActionTypes.SaveShipmentReference;\r\n constructor(public payload: ShipmentReference) { }\r\n}\r\n\r\nexport class ResetShipment implements Action {\r\n readonly type = ShippingActionTypes.ResetShipment;\r\n constructor(public resetInsuranceOnlyFlag: boolean = true) { }\r\n}\r\n\r\nexport class SaveShipment implements Action {\r\n readonly type = ShippingActionTypes.SaveShipment;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveShipmentSuccess implements Action {\r\n readonly type = ShippingActionTypes.SaveShipmentSuccess;\r\n}\r\n\r\nexport class SaveShipmentFail implements Action {\r\n readonly type = ShippingActionTypes.SaveShipmentFail;\r\n}\r\n\r\nexport class SaveQuoteId implements Action {\r\n readonly type = ShippingActionTypes.SaveQuoteId;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveInternationalDetail implements Action {\r\n readonly type = ShippingActionTypes.SaveInternationalDetail;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveShipmentId implements Action {\r\n readonly type = ShippingActionTypes.SaveShipmentId;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveShipmentName implements Action {\r\n readonly type = ShippingActionTypes.SaveShipmentName;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveSelectedQuote implements Action {\r\n readonly type = ShippingActionTypes.SaveSelectedQuote;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class PurchaseShipment implements Action {\r\n readonly type = ShippingActionTypes.PurchaseShipment;\r\n constructor(public payload?: any) { }\r\n}\r\n\r\nexport class PurchaseShipmentSuccess implements Action {\r\n readonly type = ShippingActionTypes.SavePurchaseDetails;\r\n constructor(public payload: PurchaseDetails) { }\r\n}\r\n\r\nexport class ShipmentRequestsApproval implements Action {\r\n readonly type = ShippingActionTypes.ShipmentRequestsApproval;\r\n}\r\n\r\nexport class PurchaseShipmentFail implements Action {\r\n readonly type = ShippingActionTypes.PurchaseShipmentFail;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class ProcessQuoteOptions implements Action {\r\n readonly type = ShippingActionTypes.ProcessQuoteOptions;\r\n}\r\n\r\nexport class ProcessQuoteOptionsSuccess implements Action {\r\n readonly type = ShippingActionTypes.ProcessQuoteOptionsSuccess;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class ProcessQuoteOptionsFail implements Action {\r\n readonly type = ShippingActionTypes.ProcessQuoteOptionsFail;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveShippingDate implements Action {\r\n readonly type = ShippingActionTypes.SaveShippingDate;\r\n constructor(public payload: ShippingTime) { }\r\n}\r\n\r\nexport class SaveOriginalShipmentDetails implements Action {\r\n readonly type = ShippingActionTypes.SaveOriginalShipmentDetails;\r\n constructor(public payload: OriginalShipmentDetails) { }\r\n}\r\n\r\nexport class SaveShipmentActionType implements Action {\r\n readonly type = ShippingActionTypes.SaveShipmentActionType;\r\n constructor(public payload: ShipmentActionType) { }\r\n}\r\n\r\n\r\nexport class CreateClaim implements Action {\r\n readonly type = ShippingActionTypes.CreateClaim;\r\n constructor(public payload: any) { }\r\n}\r\nexport class SaveClaim implements Action {\r\n readonly type = ShippingActionTypes.SaveClaim;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveClaimDocuments implements Action {\r\n readonly type = ShippingActionTypes.SaveClaimDocuments;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class ResetClaim implements Action {\r\n readonly type = ShippingActionTypes.ResetClaim;\r\n}\r\n\r\nexport class SaveBillingReview implements Action {\r\n readonly type = ShippingActionTypes.SaveBillingReview;\r\n constructor(public payload: BillingReview) { }\r\n}\r\n\r\nexport class SaveBillingReviewSuccess implements Action {\r\n readonly type = ShippingActionTypes.SaveBillingReviewSuccess;\r\n}\r\n\r\nexport class SaveBillingReviewFail implements Action {\r\n readonly type = ShippingActionTypes.SaveBillingReviewFail;\r\n}\r\n\r\nexport class ClearBillingReviewNotifications implements Action {\r\n readonly type = ShippingActionTypes.ClearBillingRequestNotifications;\r\n}\r\n\r\nexport class AddApprovalContact implements Action {\r\n readonly type = ShippingActionTypes.AddApprovalContact;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class PopulateFromPreset implements Action {\r\n readonly type = ShippingActionTypes.PopulateFromPreset;\r\n constructor(public payload: ShippingPreset) { }\r\n}\r\n\r\nexport class PopulateEditPresetFromPreset implements Action {\r\n readonly type = ShippingActionTypes.PopulateEditPresetFromPreset;\r\n constructor(public payload: ShippingPreset) { }\r\n}\r\n\r\nexport class PopulateFromPresetSuccess implements Action {\r\n readonly type = ShippingActionTypes.PopulateFromPresetSuccess;\r\n}\r\n\r\nexport class PopulateFromQuickQuote implements Action {\r\n readonly type = ShippingActionTypes.PopulateFromQuickQuote;\r\n constructor(public payload: QuickQuote) { }\r\n}\r\n\r\nexport class PurchaseBoomerangShipment implements Action {\r\n readonly type = ShippingActionTypes.PurchaseBoomerangShipment;\r\n}\r\n\r\nexport class SavedBoomerangShipment implements Action {\r\n readonly type = ShippingActionTypes.SavedBoomerangShipment;\r\n constructor(public payload: BoomerangDetails) { }\r\n}\r\n\r\nexport class LoadPresets implements Action {\r\n readonly type = ShippingActionTypes.LoadPresets;\r\n}\r\n\r\nexport class LoadPresetsSuccess implements Action {\r\n readonly type = ShippingActionTypes.LoadPresetsSuccess;\r\n constructor(public payload: ShippingPreset[]) { }\r\n}\r\n\r\nexport class LoadPresetsFail implements Action {\r\n readonly type = ShippingActionTypes.LoadPresetsFail;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class CreatePreset implements Action {\r\n readonly type = ShippingActionTypes.CreatePreset;\r\n constructor(public payload: ShippingPreset) { }\r\n}\r\n\r\nexport class CreatePresetSuccess implements Action {\r\n readonly type = ShippingActionTypes.CreatePresetSuccess;\r\n}\r\n\r\nexport class CreatePresetFail implements Action {\r\n readonly type = ShippingActionTypes.CreatePresetFail;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class DefaultPreset implements Action {\r\n readonly type = ShippingActionTypes.DefaultPreset;\r\n constructor(public payload: ShippingPreset) { }\r\n}\r\n\r\nexport class DefaultPresetSuccess implements Action {\r\n readonly type = ShippingActionTypes.DefaultPresetSuccess;\r\n constructor(public payload: ShippingPreset) { }\r\n}\r\n\r\nexport class DefaultPresetFail implements Action {\r\n readonly type = ShippingActionTypes.DefaultPresetFail;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class UpdatePreset implements Action {\r\n readonly type = ShippingActionTypes.UpdatePreset;\r\n constructor(public payload: ShippingPreset) { }\r\n}\r\n\r\nexport class UpdatePresetSuccess implements Action {\r\n readonly type = ShippingActionTypes.UpdatePresetSuccess;\r\n constructor(public payload: ShippingPreset) { }\r\n}\r\n\r\nexport class UpdatePresetFail implements Action {\r\n readonly type = ShippingActionTypes.UpdatePresetFail;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class DeletePreset implements Action {\r\n readonly type = ShippingActionTypes.DeletePreset;\r\n constructor(public payload: { shippingPresetId: string }) { }\r\n}\r\n\r\nexport class DeletePresetSuccess implements Action {\r\n readonly type = ShippingActionTypes.DeletePresetSuccess;\r\n constructor(public payload: { shippingPresetId: string }) { }\r\n}\r\n\r\nexport class DeletePresetFail implements Action {\r\n readonly type = ShippingActionTypes.DeletePresetFail;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class LoadIntegratedAccountDetails implements Action {\r\n readonly type = ShippingActionTypes.LoadIntegratedAccountDetails;\r\n}\r\n\r\nexport class LoadIntegratedAccountDetailsSuccess implements Action {\r\n readonly type = ShippingActionTypes.LoadIntegratedAccountDetailsSuccess;\r\n constructor(public payload: IntegratedAccountDetails) { }\r\n}\r\n\r\nexport class LoadIntegratedAccountDetailsFail implements Action {\r\n readonly type = ShippingActionTypes.LoadIntegratedAccountDetailsFail;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class LoadRules implements Action {\r\n readonly type = ShippingActionTypes.LoadRules;\r\n}\r\n\r\nexport class LoadRulesSuccess implements Action {\r\n readonly type = ShippingActionTypes.LoadRulesSuccess;\r\n constructor(public payload: Rules) { }\r\n}\r\n\r\nexport class LoadRulesFail implements Action {\r\n readonly type = ShippingActionTypes.LoadRulesFail;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class ClearError implements Action {\r\n readonly type = ShippingActionTypes.ClearError;\r\n}\r\n\r\nexport class SaveIsInternational implements Action {\r\n readonly type = ShippingActionTypes.SaveIsInternational;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveIsHoldForPickup\r\n implements Action {\r\n readonly type = ShippingActionTypes.SaveIsHoldForPickup;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveHoldForPickupAddress implements Action {\r\n readonly type = ShippingActionTypes.SaveHoldForPickupAddress;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveHasApprovalCodeError implements Action {\r\n readonly type = ShippingActionTypes.SaveHasApprovalCodeError;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveInsuranceOnly implements Action {\r\n readonly type = ShippingActionTypes.SaveInsuranceOnly;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveNoInsurance implements Action {\r\n readonly type = ShippingActionTypes.SaveNoInsurance;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveInsuranceOnlyTrackingNumber implements Action {\r\n readonly type = ShippingActionTypes.SaveInsuranceOnlyTrackingNumber;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveQuoteError implements Action {\r\n readonly type = ShippingActionTypes.SaveQuoteError;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class SaveZeroDollarInsuranceWarningPrompted implements Action {\r\n readonly type = ShippingActionTypes.SaveZeroDollarInsuranceWarningPrompted;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport class ClearShipmentDetails implements Action {\r\n readonly type = ShippingActionTypes.ClearShipmentDetails;\r\n}\r\nexport class LoadEStoreData implements Action {\r\n readonly type = ShippingActionTypes.LoadEStoreData;\r\n constructor(public payload: any) { }\r\n}\r\n\r\nexport type ShippingActions = SetInitialState\r\n | LoadCargo\r\n | LoadCargoSuccess\r\n | LoadCargoFail\r\n | LoadLookup\r\n | LoadLookupSuccess\r\n | LoadLookupFail\r\n | LoadInternationalShipmentsData\r\n | LoadInternationalShipmentsDataSuccess\r\n | LoadInternationalShipmentsDataFail\r\n | LoadPackageTypes\r\n | LoadPackageTypesSuccess\r\n | LoadPackageTypesFail\r\n | LoadCarriers\r\n | LoadCarriersSuccess\r\n | LoadCarriersFail\r\n | SaveShipmentDetails\r\n | SaveSourcePage\r\n | SaveIsFormTypeReturn\r\n | SaveShipmentCarriers\r\n | SaveOriginLocation\r\n | SaveDestinationLocation\r\n | SaveShipmentReference\r\n | ResetShipment\r\n | SaveShipment\r\n | SaveShipmentSuccess\r\n | SaveShipmentFail\r\n | SaveQuoteId\r\n | SaveShipmentId\r\n | SaveSelectedQuote\r\n | SaveInternationalDetail\r\n | SaveShipmentName\r\n | PurchaseShipment\r\n | PurchaseShipmentSuccess\r\n | PurchaseShipmentFail\r\n | ProcessQuoteOptions\r\n | ProcessQuoteOptionsSuccess\r\n | ProcessQuoteOptionsFail\r\n | SaveShippingDate\r\n | SaveOriginalShipmentDetails\r\n | SaveShipmentActionType\r\n | CreateClaim\r\n | SaveClaim\r\n | SaveClaimDocuments\r\n | ResetClaim\r\n | SaveBillingReview\r\n | SaveBillingReviewSuccess\r\n | SaveBillingReviewFail\r\n | ClearBillingReviewNotifications\r\n | ShipmentRequestsApproval\r\n | AddApprovalContact\r\n | PopulateFromPreset\r\n | PopulateEditPresetFromPreset\r\n | PopulateFromPresetSuccess\r\n | PopulateFromQuickQuote\r\n | PurchaseBoomerangShipment\r\n | SavedBoomerangShipment\r\n | LoadPresets\r\n | LoadPresetsSuccess\r\n | LoadPresetsFail\r\n | CreatePreset\r\n | CreatePresetSuccess\r\n | CreatePresetFail\r\n | DefaultPresetSuccess\r\n | DefaultPresetFail\r\n | UpdatePreset\r\n | UpdatePresetSuccess\r\n | UpdatePresetFail\r\n | DeletePreset\r\n | DeletePresetSuccess\r\n | DeletePresetFail\r\n | LoadRules\r\n | LoadRulesSuccess\r\n | LoadRulesFail\r\n | LoadIntegratedAccountDetails\r\n | LoadIntegratedAccountDetailsSuccess\r\n | LoadIntegratedAccountDetailsFail\r\n | ClearError\r\n | SaveIsInternational\r\n | SaveIsHoldForPickup\r\n | SaveHoldForPickupAddress\r\n | SaveNoInsurance\r\n | SaveInsuranceOnlyTrackingNumber\r\n | SaveInsuranceOnly\r\n | SaveHasApprovalCodeError\r\n | SaveQuoteError\r\n | SaveZeroDollarInsuranceWarningPrompted\r\n | ClearShipmentDetails\r\n | LoadEStoreData;\r\n","import { createFeatureSelector, createSelector } from '@ngrx/store';\r\n\r\nimport * as fromRoot from '../../../../../../store/root.state';\r\nimport { ShippingActions, ShippingActionTypes } from '../actions/shipping.actions';\r\nimport { Cargo } from '../../models/shipment-cargo';\r\nimport { ShipmentInsurance } from '../../models/shipment-insurance.model';\r\nimport { DeliverySecurity } from '../../models/delivery.model';\r\nimport { Package } from '../../models/shipment-package.model';\r\nimport {\r\n ShipmentLocation, OriginalShipmentDetails, ShipmentActionType,\r\n Claim, ApprovalContact, ShippingPreset, QuickQuote, ClaimDocument, Approval\r\n} from '../../models/base-shipment-models';\r\nimport { NameValuePair } from '../../models/name-value-pair.model';\r\nimport { PackageType } from '../../models/shipment-package-type.model';\r\nimport { ServiceType } from '../../enums/service-type';\r\nimport { formatPhoneNumber, PhoneNumber } from '../../../../../../utils/formatters';\r\nimport { Rules } from '../../models/rules.model';\r\nimport { SavedShipmentState } from '../../enums/saved-shipment-state';\r\nimport { InternationalShipmentData } from '../../models/international-shipments-data.model';\r\nimport { InternationalDetail } from '../../models/international-shipment.model';\r\nimport { ShipmentPriceType } from '../../enums/shipment-price-type.enum';\r\nimport { Quote, ShipmentStatus } from '../../models/shipment';\r\nimport { IntegratedAccountDetails } from '../../models/integrated-account-details-model';\r\nimport { HoldForPickupAddress } from '../../models/hold-for-pickup-address.model';\r\nimport { EcommStore } from '../../models/ecommerce-models';\r\n\r\n//#region Reducer interfaces\r\n\r\nexport interface ZingState extends fromRoot.ZingState {\r\n shippingState: ShippingState;\r\n}\r\n\r\nexport interface ShippingState {\r\n shippingPreset?: ShippingPreset;\r\n savingInProgress: boolean;\r\n cargoTypesLoaded: boolean;\r\n packageTypesLoaded: boolean;\r\n internationalShipmentsDataLoaded: boolean;\r\n shippingPresetsLoaded: boolean;\r\n shippingPresetPopulated?: boolean;\r\n carriersLoaded: boolean;\r\n businessRulesLoaded: boolean;\r\n cargo: Cargo[];\r\n packageTypes: PackageType[];\r\n shippingPresets: ShippingPreset[];\r\n carriers: any[];\r\n shipmentDetails: ShipmentDetails;\r\n isReturnForm: boolean;\r\n originalShipmentDetails: OriginalShipmentDetails;\r\n shipmentActionType: ShipmentActionType;\r\n shipmentCarriers: ShipmentCarriers;\r\n origin: ShipmentLocation;\r\n destination: ShipmentLocation;\r\n lookups: {\r\n [key: string]: NameValuePair[]\r\n };\r\n quoteId: string;\r\n shipmentPriceType?: ShipmentPriceType;\r\n quote?: Quote;\r\n selectedQuoteId: string;\r\n shipmentReference: ShipmentReference;\r\n purchaseDetails: PurchaseDetails;\r\n error?: any;\r\n shipmentId: string;\r\n shipmentName: string;\r\n zingTrackingNumber: string;\r\n claim: Claim;\r\n claimDocuments: ClaimDocument[];\r\n billingRequestSaved?: boolean;\r\n billingRequestFailed?: boolean;\r\n approvalContact: ApprovalContact;\r\n boomerangDetails: BoomerangDetails;\r\n businessRules: Rules;\r\n internationalShipmentsData: InternationalShipmentData;\r\n internationalDetail: InternationalDetail;\r\n integratedAccountDetails: IntegratedAccountDetails;\r\n isInternational: boolean;\r\n isHoldForPickup: boolean;\r\n holdForPickupAddress: HoldForPickupAddress;\r\n noInsurance: boolean;\r\n insuranceOnlyTrackingNumber: string;\r\n insuranceOnly: boolean;\r\n hasApprovalCodeError: boolean;\r\n quoteError: string;\r\n isZeroDollarInsuranceWarningPrompted: boolean;\r\n isResidential: boolean;\r\n eStoreDetail: EStoreDetail;\r\n status?: ShipmentStatus;\r\n approvalData?: Approval;\r\n isDeclined?: boolean;\r\n sourcePage: string;\r\n}\r\n\r\n/**\r\n * Interface for the ShipmentDetails tab.\r\n */\r\nexport interface ShipmentDetails {\r\n cargoType: string;\r\n insurance: ShipmentInsurance;\r\n package: Package;\r\n deliverySecurity: DeliverySecurity;\r\n savedShipmentState?: SavedShipmentState;\r\n tariffCode?: string;\r\n isFedexOneRate?: boolean;\r\n}\r\n\r\nexport interface ShipmentCarriers {\r\n carriers: Array ;\r\n deliverySpeed: DeliverySpeed;\r\n shippingTime?: ShippingTime;\r\n}\r\n\r\nexport interface EStoreDetail {\r\n orderId: string;\r\n orderSource: OrderSource;\r\n storeType: StoreType;\r\n customersStoreRef: string;\r\n shipVia: string;\r\n}\r\n\r\nexport enum OrderSource {\r\n Undefined = 0,\r\n Store = 1,\r\n Shiprush = 2,\r\n Integral = 3,\r\n File = 4,\r\n Shippo = 5,\r\n Api2Cart = 6\r\n}\r\n\r\nexport enum StoreType {\r\n Undefined = 0,\r\n Ebay = 1,\r\n Amazon = 2,\r\n SolidCommerce = 3,\r\n Magento = 4,\r\n Volusion = 5,\r\n BigCommerce = 6,\r\n WooCommerce = 7,\r\n Shopify = 8,\r\n OpenCart = 9,\r\n UltraCart = 10,\r\n Contusult = 11,\r\n PayPal = 12,\r\n Yahoo = 13,\r\n ZenCart = 14,\r\n XCart = 15,\r\n OsCommerce = 16,\r\n Custom = 17,\r\n PostIn = 18,\r\n Etsy = 19,\r\n ChannelAdvisor = 20,\r\n CReloaded = 21,\r\n UberCart = 22,\r\n AspDotnetStoreFront = 23,\r\n ThreeDCart = 24,\r\n LoadedCommerce = 25,\r\n SellerCloud = 26,\r\n AceShop = 27,\r\n CsCart = 28,\r\n CubeCart = 29,\r\n DemandWare = 30,\r\n Ecwid = 31,\r\n Gambio = 32,\r\n Hybris = 33,\r\n Interspire = 34,\r\n JoeCart = 35,\r\n MijoShop = 36,\r\n Neto = 37,\r\n Oxid = 38,\r\n OsCmax = 39,\r\n Pinnacle = 40,\r\n PrestaShop = 41,\r\n SsPremium = 42,\r\n ShopWare = 43,\r\n SquareSpace = 44,\r\n TomatoCart = 45,\r\n VirtueMart = 46,\r\n WpeCommerce = 47,\r\n Walmart = 48,\r\n WebAsyst = 49,\r\n XtCommerce = 50,\r\n XtCommerceEveyton = 51,\r\n LightSpeed = 52,\r\n BatchFile = 1000,\r\n Royal4Wise = 1001,\r\n Ftp = 1002,\r\n}\r\n\r\n\r\nexport interface Carriers {\r\n carrier: string;\r\n}\r\n\r\nexport interface DeliverySpeed {\r\n deliveryType: string;\r\n services: Array ;\r\n}\r\n\r\nexport interface ShippingTime {\r\n type: string;\r\n date: string;\r\n}\r\n\r\nexport interface ShipmentReference {\r\n name: string;\r\n senderReference: string;\r\n receiverReference: string;\r\n includeSenderReference: boolean;\r\n includeReceiverReference: boolean;\r\n sealNumber: string;\r\n approvalCode: string;\r\n}\r\n\r\nexport interface PurchaseDetails {\r\n id: number;\r\n trackingNumber: string;\r\n shipmentId: string;\r\n zingTrackingNumber: string;\r\n approvalRequired: boolean;\r\n hasInsurance: boolean;\r\n dateOfPurchase?: Date;\r\n isInternational?: boolean;\r\n}\r\n\r\nexport interface BoomerangDetails {\r\n shipmentId: string;\r\n zingTrackingNumber: string;\r\n}\r\n\r\n//#endregion\r\n\r\n//#region Initial shipping state\r\n\r\nconst emptyLocation = new ShipmentLocation({\r\n emailAddress: '',\r\n phone: {\r\n callingCode: '',\r\n number: ''\r\n },\r\n addressLine1: '',\r\n city: '',\r\n countryCode: '',\r\n state: '',\r\n postalCode: '',\r\n});\r\n\r\nexport const initialState: ShippingState = {\r\n shippingPreset: null,\r\n shipmentActionType: ShipmentActionType.New,\r\n originalShipmentDetails: null,\r\n savingInProgress: false,\r\n cargoTypesLoaded: false,\r\n packageTypesLoaded: false,\r\n internationalShipmentsDataLoaded: false,\r\n shippingPresetsLoaded: false,\r\n shippingPresetPopulated: false,\r\n carriersLoaded: false,\r\n businessRulesLoaded: false,\r\n packageTypes: [],\r\n shippingPresets: [],\r\n carriers: [],\r\n origin: null,\r\n destination: null,\r\n cargo: [],\r\n shipmentDetails: null,\r\n shipmentCarriers: {\r\n shippingTime: {\r\n date: '',\r\n type: 'Today'\r\n },\r\n carriers: [],\r\n deliverySpeed: {\r\n deliveryType: '',\r\n services: []\r\n }\r\n },\r\n lookups: {},\r\n quoteId: '',\r\n shipmentPriceType: ShipmentPriceType.CanFileClaimTill30Days,\r\n quote: null,\r\n selectedQuoteId: '',\r\n shipmentReference: null,\r\n purchaseDetails: null,\r\n isReturnForm: false,\r\n shipmentId: '',\r\n shipmentName: '',\r\n zingTrackingNumber: '',\r\n claim: null,\r\n claimDocuments: null,\r\n approvalContact: null,\r\n boomerangDetails: null,\r\n businessRules: null,\r\n internationalShipmentsData: null,\r\n internationalDetail: null,\r\n integratedAccountDetails: null,\r\n isInternational: false,\r\n isHoldForPickup: false,\r\n holdForPickupAddress: null,\r\n noInsurance: false,\r\n insuranceOnlyTrackingNumber: '',\r\n insuranceOnly: false,\r\n hasApprovalCodeError: false,\r\n quoteError: '',\r\n isZeroDollarInsuranceWarningPrompted: false,\r\n isResidential: false,\r\n eStoreDetail: null,\r\n sourcePage: ''\r\n};\r\n\r\n//#endregion\r\n\r\n//#region Selectors\r\n\r\nconst getShippingFeatureState = createFeatureSelector ('shipping');\r\n\r\nexport const getSelectedPreset = createSelector(\r\n getShippingFeatureState,\r\n state => state.shippingPreset\r\n);\r\n\r\nexport const getOriginalShipmentDetails = createSelector(\r\n getShippingFeatureState,\r\n state => state.originalShipmentDetails\r\n);\r\n\r\nexport const getShipmentActionType = createSelector(\r\n getShippingFeatureState,\r\n state => state.shipmentActionType\r\n);\r\n\r\nexport const getSavingInProgress = createSelector(\r\n getShippingFeatureState,\r\n state => state.savingInProgress\r\n);\r\n\r\nexport const getShipmentStatus = createSelector(\r\n getShippingFeatureState,\r\n state => state.status\r\n);\r\n\r\nexport const getShipmentIsDeclined = createSelector(\r\n getShippingFeatureState,\r\n state => state.isDeclined\r\n);\r\n\r\nexport const getApprovalComment = createSelector(\r\n getShippingFeatureState,\r\n state => state.approvalData?.comment\r\n);\r\n\r\nexport const getIsReady = createSelector(\r\n getShippingFeatureState,\r\n ({ cargoTypesLoaded, packageTypesLoaded, lookups, businessRulesLoaded, internationalShipmentsDataLoaded }) => cargoTypesLoaded\r\n && packageTypesLoaded\r\n && lookups.hasOwnProperty('signaturetypes') && lookups['signaturetypes'].length > 0\r\n && lookups.hasOwnProperty('zipcodes') && lookups['zipcodes'].length > 0\r\n && businessRulesLoaded\r\n && internationalShipmentsDataLoaded\r\n);\r\n\r\nexport const getCargo = createSelector(\r\n getShippingFeatureState,\r\n state => state.cargo\r\n);\r\n\r\nexport const getLookup = createSelector(\r\n getShippingFeatureState,\r\n state => state.lookups\r\n);\r\n\r\nexport const getPackageTypes = createSelector(\r\n getShippingFeatureState,\r\n state => state.packageTypes\r\n);\r\n\r\nexport const getShippingPresets = createSelector(\r\n getShippingFeatureState,\r\n state => state.shippingPresets\r\n);\r\n\r\nexport const getShipmentDetails = createSelector(\r\n getShippingFeatureState,\r\n state => state.shipmentDetails\r\n);\r\n\r\nexport const getSourcePage = createSelector(\r\n getShippingFeatureState,\r\n state => state.sourcePage\r\n);\r\n\r\nexport const getIsReturnForm = createSelector(\r\n getShippingFeatureState,\r\n state => state.isReturnForm\r\n);\r\n\r\nexport const getShipmentCarriers = createSelector(\r\n getShippingFeatureState,\r\n state => state.shipmentCarriers\r\n);\r\n\r\nexport const getOriginLocation = createSelector(\r\n getShippingFeatureState,\r\n state => state.origin\r\n);\r\n\r\nexport const getDestinationLocation = createSelector(\r\n getShippingFeatureState,\r\n state => state.destination\r\n);\r\n\r\nexport const addressDetailsCompleteAndValid = createSelector(\r\n getShippingFeatureState,\r\n ({ origin, destination }) => origin && origin.valid && destination && destination.valid\r\n);\r\n\r\nexport const originAddressValidAndComplete = createSelector(\r\n getShippingFeatureState,\r\n ({ origin }) => origin && origin.valid\r\n);\r\n\r\nexport const destinationAddressValidAndComplete = createSelector(\r\n getShippingFeatureState,\r\n ({ destination }) => destination && destination.valid\r\n);\r\n\r\nexport const getQuoteId = createSelector(\r\n getShippingFeatureState,\r\n state => state.quoteId\r\n);\r\n\r\nexport const getShipmentPriceType = createSelector(\r\n getShippingFeatureState,\r\n state => state.shipmentPriceType\r\n);\r\n\r\nexport const getSelectedQuoteId = createSelector(\r\n getShippingFeatureState,\r\n state => state.selectedQuoteId\r\n);\r\n\r\nexport const getQuote = createSelector(\r\n getShippingFeatureState,\r\n state => state.quote\r\n);\r\n\r\nexport const getShipmentReference = createSelector(\r\n getShippingFeatureState,\r\n state => state.shipmentReference\r\n);\r\n\r\nexport const getPurchaseShipmentInfo = createSelector(\r\n getShippingFeatureState,\r\n state => state.purchaseDetails\r\n);\r\n\r\nexport const getBoomerangDetails = createSelector(\r\n getShippingFeatureState,\r\n state => state.boomerangDetails\r\n);\r\n\r\nexport const getPurchaseShipmentError = createSelector(\r\n getShippingFeatureState,\r\n state => state.error\r\n);\r\n\r\nexport const getErrors = createSelector(\r\n getShippingFeatureState,\r\n state => state.error\r\n);\r\n\r\nexport const getShipmentId = createSelector(\r\n getShippingFeatureState,\r\n state => state.shipmentId\r\n);\r\nexport const getShipmentName = createSelector(\r\n getShippingFeatureState,\r\n state => state.shipmentName\r\n);\r\nexport const getZingTrackingNumber = createSelector(\r\n getShippingFeatureState,\r\n state => state.zingTrackingNumber\r\n);\r\n\r\nexport const getShippingDate = createSelector(\r\n getShippingFeatureState,\r\n state => state.shipmentCarriers.shippingTime\r\n);\r\n\r\nexport const getClaim = createSelector(\r\n getShippingFeatureState,\r\n state => state.claim\r\n);\r\n\r\nexport const getClaimDocuments = createSelector(\r\n getShippingFeatureState,\r\n state => state.claimDocuments\r\n);\r\n\r\nexport const getBillingRequestSaved = createSelector(\r\n getShippingFeatureState,\r\n ({ billingRequestSaved }) => billingRequestSaved\r\n);\r\n\r\nexport const getBillingRequestFailed = createSelector(\r\n getShippingFeatureState,\r\n ({ billingRequestFailed }) => billingRequestFailed\r\n);\r\n\r\nexport const getApprovalContact = createSelector(\r\n getShippingFeatureState,\r\n state => state.approvalContact\r\n);\r\n\r\nexport const getShippingPresetsLoaded = createSelector(\r\n getShippingFeatureState,\r\n state => state.shippingPresetsLoaded\r\n);\r\n\r\nexport const getBusinessRules = createSelector(\r\n getShippingFeatureState,\r\n state => state.businessRules\r\n);\r\n\r\nexport const getShippingPresetPopulatedSuccess = createSelector(\r\n getShippingFeatureState,\r\n state => state.shippingPresetPopulated\r\n);\r\n\r\nexport const getInternationalShipmentData = createSelector(\r\n getShippingFeatureState,\r\n state => state.internationalShipmentsData\r\n);\r\n\r\nexport const getIsInternational = createSelector(\r\n getShippingFeatureState,\r\n state => state.isInternational\r\n);\r\n\r\nexport const getIsHoldForPickup = createSelector(\r\n getShippingFeatureState,\r\n state => state.isHoldForPickup\r\n);\r\n\r\nexport const getHoldForPickupAddress = createSelector(\r\n getShippingFeatureState,\r\n state => state.holdForPickupAddress\r\n);\r\n\r\nexport const getHasApprovalCodeError = createSelector(\r\n getShippingFeatureState,\r\n state => state.hasApprovalCodeError\r\n);\r\n\r\nexport const getInsuranceOnly = createSelector(\r\n getShippingFeatureState,\r\n state => state.insuranceOnly\r\n);\r\n\r\nexport const getInternationalDetail = createSelector(\r\n getShippingFeatureState,\r\n state => state.internationalDetail\r\n);\r\n\r\nexport const getNoInsurance = createSelector(\r\n getShippingFeatureState,\r\n state => state.noInsurance\r\n);\r\n\r\nexport const getInsuranceOnlyTrackingNumber = createSelector(\r\n getShippingFeatureState,\r\n state => state.insuranceOnlyTrackingNumber\r\n);\r\n\r\nexport const getQuoteError = createSelector(\r\n getShippingFeatureState,\r\n state => state.quoteError\r\n);\r\n\r\nexport const getZeroDollarInsuranceWarningPrompted = createSelector(\r\n getShippingFeatureState,\r\n state => state.isZeroDollarInsuranceWarningPrompted\r\n);\r\n\r\nexport const getEStoreDetail = createSelector(\r\n getShippingFeatureState,\r\n state => state.eStoreDetail\r\n);\r\n\r\nexport const getHighRiskDeliveryWarning = createSelector(\r\n getShippingFeatureState,\r\n state => state.destination.highRiskDeliveryWarning\r\n);\r\n\r\nexport const getIntegratedAccountDetails = createSelector(\r\n getShippingFeatureState,\r\n state => state.integratedAccountDetails\r\n);\r\n\r\n//#endregion\r\n\r\n//#region Action types reducer\r\n\r\nexport function shippingReducer(\r\n state = initialState,\r\n action: ShippingActions\r\n): ShippingState {\r\n switch (action.type) {\r\n case ShippingActionTypes.SetInitialState: {\r\n return {\r\n ...state,\r\n ...action.payload\r\n };\r\n }\r\n case ShippingActionTypes.PopulateFromPreset:\r\n return mergeCurrentStateWithPreset(state, action.payload);\r\n case ShippingActionTypes.PopulateEditPresetFromPreset:\r\n return {\r\n ...state,\r\n shippingPreset: action.payload\r\n };\r\n case ShippingActionTypes.PopulateFromPresetSuccess:\r\n return {\r\n ...state,\r\n shippingPresetPopulated: true\r\n };\r\n case ShippingActionTypes.PopulateFromQuickQuote:\r\n return mergeCurrentStateWithQuickQuote(state, action.payload);\r\n case ShippingActionTypes.LoadCargo:\r\n return {\r\n ...state,\r\n cargoTypesLoaded: false\r\n };\r\n case ShippingActionTypes.LoadCargoSuccess:\r\n return {\r\n ...state,\r\n cargo: action.payload,\r\n cargoTypesLoaded: true\r\n };\r\n case ShippingActionTypes.LoadCargoFail:\r\n return {\r\n ...state,\r\n cargoTypesLoaded: false\r\n };\r\n case ShippingActionTypes.LoadLookup:\r\n return { ...state };\r\n case ShippingActionTypes.LoadLookupSuccess:\r\n return {\r\n ...state,\r\n lookups: {\r\n ...state.lookups,\r\n [action.payload.type]: action.payload.items\r\n }\r\n };\r\n case ShippingActionTypes.LoadPackageTypes:\r\n return {\r\n ...state,\r\n packageTypesLoaded: false\r\n };\r\n case ShippingActionTypes.LoadPackageTypesSuccess:\r\n return {\r\n ...state,\r\n packageTypes: action.payload,\r\n packageTypesLoaded: true\r\n };\r\n case ShippingActionTypes.LoadPackageTypesFail:\r\n return {\r\n ...state,\r\n packageTypesLoaded: false\r\n };\r\n case ShippingActionTypes.LoadInternationalShipmentsData:\r\n return {\r\n ...state,\r\n internationalShipmentsDataLoaded: false\r\n };\r\n case ShippingActionTypes.LoadInternationalShipmentsDataSuccess:\r\n return {\r\n ...state,\r\n internationalShipmentsData: action.payload,\r\n internationalShipmentsDataLoaded: true\r\n };\r\n case ShippingActionTypes.LoadInternationalShipmentsDataFail:\r\n return {\r\n ...state,\r\n internationalShipmentsDataLoaded: true,\r\n error: action.payload\r\n };\r\n case ShippingActionTypes.LoadIntegratedAccountDetailsSuccess:\r\n return {\r\n ...state,\r\n integratedAccountDetails: action.payload\r\n };\r\n case ShippingActionTypes.LoadIntegratedAccountDetailsFail:\r\n return {\r\n ...state,\r\n error: action.payload\r\n };\r\n case ShippingActionTypes.LoadCarriersSuccess:\r\n return {\r\n ...state,\r\n carriers: action.payload\r\n };\r\n case ShippingActionTypes.LoadCarriersFail:\r\n return {\r\n ...state,\r\n carriers: []\r\n };\r\n case ShippingActionTypes.SaveShipmentDetails:\r\n return {\r\n ...state,\r\n shipmentDetails: action.payload\r\n };\r\n case ShippingActionTypes.SaveSourcePage:\r\n return {\r\n ...state,\r\n sourcePage: action.payload\r\n };\r\n case ShippingActionTypes.SaveIsFormTypeReturn:\r\n return {\r\n ...state,\r\n isReturnForm: action.payload\r\n };\r\n case ShippingActionTypes.SaveOriginalShipmentDetails:\r\n return {\r\n ...state,\r\n originalShipmentDetails: action.payload\r\n };\r\n case ShippingActionTypes.SaveShipmentActionType:\r\n return {\r\n ...state,\r\n shipmentActionType: action.payload\r\n };\r\n case ShippingActionTypes.SaveShipmentCarriers:\r\n return {\r\n ...state,\r\n shipmentCarriers: action.payload\r\n };\r\n case ShippingActionTypes.SaveOriginLocation:\r\n return {\r\n ...state,\r\n origin: action.payload\r\n };\r\n case ShippingActionTypes.SaveDestinationLocation:\r\n return {\r\n ...state,\r\n destination: action.payload\r\n };\r\n case ShippingActionTypes.ResetShipment:\r\n return {\r\n ...initialState,\r\n // We don't want to clear types which are already loaded\r\n cargoTypesLoaded: state.cargoTypesLoaded,\r\n cargo: state.cargo,\r\n packageTypesLoaded: state.packageTypesLoaded,\r\n packageTypes: state.packageTypes,\r\n shippingPresetsLoaded: state.shippingPresetsLoaded,\r\n shippingPresets: state.shippingPresets,\r\n businessRulesLoaded: state.businessRulesLoaded,\r\n businessRules: state.businessRules,\r\n lookups: state.lookups,\r\n insuranceOnly: action.resetInsuranceOnlyFlag ?\r\n initialState.insuranceOnly : state.insuranceOnly\r\n };\r\n case ShippingActionTypes.SaveShipment:\r\n return {\r\n ...state,\r\n savingInProgress: true\r\n };\r\n case ShippingActionTypes.SaveShipmentSuccess:\r\n return {\r\n ...state,\r\n savingInProgress: false\r\n };\r\n case ShippingActionTypes.SaveShipmentFail:\r\n return {\r\n ...state,\r\n savingInProgress: false\r\n };\r\n case ShippingActionTypes.SaveQuoteId:\r\n case ShippingActionTypes.ProcessQuoteOptionsSuccess:\r\n return {\r\n ...state,\r\n quoteId: action.payload\r\n };\r\n case ShippingActionTypes.ProcessQuoteOptionsFail:\r\n return {\r\n ...state,\r\n quoteId: ''\r\n };\r\n case ShippingActionTypes.SaveSelectedQuote:\r\n return {\r\n ...state,\r\n selectedQuoteId: action.payload.quoteId,\r\n quote: action.payload.quote,\r\n shipmentPriceType: action.payload.shipmentPriceType\r\n };\r\n case ShippingActionTypes.SaveInternationalDetail:\r\n return {\r\n ...state,\r\n internationalDetail: action.payload\r\n };\r\n case ShippingActionTypes.SaveShipmentReference:\r\n return {\r\n ...state,\r\n shipmentReference: action.payload\r\n };\r\n case ShippingActionTypes.PurchaseShipment:\r\n return {\r\n ...state\r\n };\r\n case ShippingActionTypes.SavePurchaseDetails:\r\n return {\r\n ...state,\r\n purchaseDetails: {\r\n trackingNumber: action.payload.trackingNumber,\r\n shipmentId: action.payload.shipmentId,\r\n zingTrackingNumber: action.payload.zingTrackingNumber,\r\n id: action.payload.id,\r\n approvalRequired: action.payload.approvalRequired,\r\n hasInsurance: action.payload.hasInsurance,\r\n isInternational: action.payload.isInternational\r\n }\r\n };\r\n case ShippingActionTypes.SavedBoomerangShipment:\r\n return {\r\n ...state,\r\n originalShipmentDetails: null,\r\n boomerangDetails: {\r\n zingTrackingNumber: action.payload.zingTrackingNumber,\r\n shipmentId: action.payload.shipmentId,\r\n }\r\n };\r\n case ShippingActionTypes.PurchaseShipmentFail:\r\n return {\r\n ...state,\r\n error: action.payload,\r\n shipmentId: action.payload.error && action.payload.error.Id ?\r\n action.payload.error.Id[0] : state.shipmentId\r\n };\r\n case ShippingActionTypes.SaveShipmentId: {\r\n return {\r\n ...state,\r\n shipmentId: action.payload\r\n };\r\n }\r\n case ShippingActionTypes.SaveShipmentName: {\r\n return {\r\n ...state,\r\n shipmentName: action.payload\r\n };\r\n }\r\n case ShippingActionTypes.SaveShippingDate: {\r\n return {\r\n ...state,\r\n shipmentCarriers: {\r\n ...state.shipmentCarriers,\r\n shippingTime: action.payload\r\n }\r\n };\r\n }\r\n case ShippingActionTypes.SaveClaim:\r\n return {\r\n ...state,\r\n claim: action.payload\r\n };\r\n case ShippingActionTypes.SaveClaimDocuments:\r\n return {\r\n ...state,\r\n claimDocuments: action.payload\r\n };\r\n case ShippingActionTypes.ResetClaim:\r\n return {\r\n ...state,\r\n claim: null,\r\n claimDocuments: null\r\n };\r\n case ShippingActionTypes.SaveBillingReview: {\r\n return {\r\n ...state,\r\n savingInProgress: true,\r\n billingRequestSaved: false,\r\n billingRequestFailed: false\r\n };\r\n }\r\n case ShippingActionTypes.SaveBillingReviewSuccess: {\r\n return {\r\n ...state,\r\n savingInProgress: false,\r\n billingRequestSaved: true,\r\n billingRequestFailed: false\r\n };\r\n }\r\n case ShippingActionTypes.SaveBillingReviewFail: {\r\n return {\r\n ...state,\r\n savingInProgress: false,\r\n billingRequestSaved: false,\r\n billingRequestFailed: true\r\n };\r\n }\r\n case ShippingActionTypes.ClearBillingRequestNotifications: {\r\n return {\r\n ...state,\r\n savingInProgress: false,\r\n billingRequestSaved: false,\r\n billingRequestFailed: false\r\n };\r\n }\r\n case ShippingActionTypes.AddApprovalContact: {\r\n return {\r\n ...state,\r\n approvalContact: action.payload\r\n };\r\n }\r\n case ShippingActionTypes.LoadPresets: {\r\n return {\r\n ...state,\r\n shippingPresetsLoaded: false\r\n };\r\n }\r\n case ShippingActionTypes.LoadPresetsSuccess: {\r\n return {\r\n ...state,\r\n shippingPresets: [...action.payload],\r\n shippingPresetsLoaded: true\r\n };\r\n }\r\n case ShippingActionTypes.LoadPresetsFail: {\r\n return {\r\n ...state,\r\n shippingPresetsLoaded: false,\r\n error: action.payload\r\n };\r\n }\r\n case ShippingActionTypes.CreatePreset: {\r\n return {\r\n ...state,\r\n shippingPresetsLoaded: false,\r\n savingInProgress: true\r\n };\r\n }\r\n case ShippingActionTypes.CreatePresetSuccess: {\r\n return {\r\n ...state,\r\n savingInProgress: false\r\n };\r\n }\r\n case ShippingActionTypes.CreatePresetFail: {\r\n return {\r\n ...state,\r\n savingInProgress: false,\r\n error: action.payload,\r\n shippingPresetsLoaded: true\r\n };\r\n }\r\n case ShippingActionTypes.UpdatePreset: {\r\n return {\r\n ...state,\r\n shippingPresetsLoaded: false\r\n };\r\n }\r\n case ShippingActionTypes.UpdatePresetSuccess: {\r\n return {\r\n ...state,\r\n shippingPresetsLoaded: true,\r\n shippingPresets: [...state.shippingPresets.filter(x => x.id !== action.payload.id),\r\n action.payload]\r\n };\r\n }\r\n case ShippingActionTypes.UpdatePresetFail: {\r\n return {\r\n ...state,\r\n shippingPresetsLoaded: true,\r\n error: action.payload\r\n };\r\n }\r\n case ShippingActionTypes.DeletePreset: {\r\n return {\r\n ...state,\r\n shippingPresetsLoaded: false\r\n };\r\n }\r\n case ShippingActionTypes.DeletePresetSuccess: {\r\n return {\r\n ...state,\r\n shippingPresetsLoaded: true,\r\n shippingPresets: [...state.shippingPresets.filter(x => x.id !== action.payload.shippingPresetId)]\r\n };\r\n }\r\n case ShippingActionTypes.DeletePresetFail: {\r\n return {\r\n ...state,\r\n shippingPresetsLoaded: true,\r\n error: action.payload\r\n };\r\n }\r\n case ShippingActionTypes.LoadRulesSuccess: {\r\n return {\r\n ...state,\r\n businessRules: action.payload,\r\n businessRulesLoaded: true\r\n };\r\n }\r\n case ShippingActionTypes.LoadRulesFail: {\r\n return {\r\n ...state,\r\n error: action.payload\r\n };\r\n }\r\n case ShippingActionTypes.ClearError: {\r\n return {\r\n ...state,\r\n error: null\r\n };\r\n }\r\n case ShippingActionTypes.SaveIsInternational:\r\n return {\r\n ...state,\r\n isInternational: action.payload\r\n };\r\n case ShippingActionTypes.SaveIsHoldForPickup:\r\n return {\r\n ...state,\r\n isHoldForPickup: action.payload\r\n };\r\n case ShippingActionTypes.SaveHoldForPickupAddress:\r\n return {\r\n ...state,\r\n holdForPickupAddress: action.payload\r\n };\r\n case ShippingActionTypes.SaveHasApprovalCodeError:\r\n return {\r\n ...state,\r\n hasApprovalCodeError: action.payload\r\n };\r\n case ShippingActionTypes.SaveNoInsurance:\r\n return {\r\n ...state,\r\n noInsurance: action.payload\r\n };\r\n case ShippingActionTypes.SaveInsuranceOnlyTrackingNumber:\r\n return {\r\n ...state,\r\n insuranceOnlyTrackingNumber: action.payload\r\n };\r\n case ShippingActionTypes.SaveInsuranceOnly:\r\n return {\r\n ...state,\r\n insuranceOnly: action.payload\r\n };\r\n case ShippingActionTypes.SaveQuoteError:\r\n return {\r\n ...state,\r\n quoteError: action.payload\r\n };\r\n case ShippingActionTypes.SaveZeroDollarInsuranceWarningPrompted:\r\n return {\r\n ...state,\r\n isZeroDollarInsuranceWarningPrompted: action.payload\r\n };\r\n case ShippingActionTypes.LoadEStoreData:\r\n return {\r\n ...state,\r\n eStoreDetail: action.payload\r\n };\r\n default:\r\n return state;\r\n }\r\n}\r\n\r\n//#endregion\r\n\r\n\r\nfunction mergeCurrentStateWithPreset(\r\n currState: ShippingState,\r\n shippingPreset: ShippingPreset\r\n): ShippingState {\r\n const insurance: ShipmentInsurance = currState.shipmentDetails && currState.shipmentDetails.insurance || {\r\n insuredValue: null,\r\n excludePolicyCover: false,\r\n codSelected: false,\r\n thirdPartySelected: false,\r\n isMailRegistered: false,\r\n invoiceValue: null,\r\n isSaturdayDelivery: false\r\n };\r\n\r\n let origin: ShipmentLocation = null;\r\n let destination: ShipmentLocation = null;\r\n if (shippingPreset.origin) {\r\n const originPhone = formatPhoneNumber(shippingPreset.origin.phoneNumber, false);\r\n origin = new ShipmentLocation(shippingPreset.origin);\r\n origin.phone = {\r\n callingCode: originPhone.countryCode,\r\n number: originPhone.number\r\n };\r\n changeNullWithEmptyString(origin);\r\n }\r\n\r\n if (shippingPreset.destination) {\r\n const destinationPhone = formatPhoneNumber(shippingPreset.destination.phoneNumber, false);\r\n destination = new ShipmentLocation(shippingPreset.destination);\r\n destination.phone = {\r\n callingCode: destinationPhone.countryCode,\r\n number: destinationPhone.number\r\n };\r\n changeNullWithEmptyString(destination);\r\n }\r\n\r\n return {\r\n ...currState,\r\n ...{\r\n shippingPresetPopulated: false,\r\n shippingPreset: shippingPreset,\r\n origin,\r\n destination,\r\n shipmentDetails: {\r\n ...currState.shipmentDetails,\r\n ...{\r\n cargoType: shippingPreset.cargoId || '',\r\n package: {\r\n packageDetails: shippingPreset.package.packageDetails,\r\n packagingTypes: shippingPreset.package.packagingTypes,\r\n weights: shippingPreset.package.weights.map(x => x.value),\r\n length: shippingPreset.package.dimensions.length,\r\n width: shippingPreset.package.dimensions.width,\r\n height: shippingPreset.package.dimensions.height\r\n },\r\n deliverySecurity: {\r\n signatures: shippingPreset.signatureOptions ?\r\n shippingPreset.signatureOptions.map(x => x.toString()) : []\r\n },\r\n insurance\r\n }\r\n },\r\n shipmentCarriers: {\r\n ...currState.shipmentCarriers,\r\n ...{\r\n carriers: shippingPreset.carriers,\r\n deliverySpeed: {\r\n deliveryType: '',\r\n services: shippingPreset.services || []\r\n }\r\n }\r\n }\r\n }\r\n };\r\n}\r\n\r\nfunction mergeCurrentStateWithQuickQuote(\r\n currState: ShippingState,\r\n quickQuoteData: QuickQuote\r\n): ShippingState {\r\n const {\r\n origin,\r\n destination,\r\n declaredValue,\r\n weight,\r\n signature,\r\n cargoType,\r\n carriers,\r\n services,\r\n package: packageInfo\r\n } = quickQuoteData;\r\n\r\n return {\r\n ...currState,\r\n ...{\r\n origin: new ShipmentLocation({\r\n countryCode: 'USA',\r\n state: origin.state,\r\n postalCode: origin.postalCode,\r\n }),\r\n destination: new ShipmentLocation({\r\n countryCode: 'USA',\r\n state: destination.state,\r\n postalCode: destination.postalCode,\r\n }),\r\n shipmentDetails: {\r\n cargoType: cargoType,\r\n deliverySecurity: {\r\n signatures: [signature.toString()]\r\n },\r\n insurance: {\r\n insuredValue: declaredValue,\r\n excludePolicyCover: false,\r\n codSelected: false,\r\n thirdPartySelected: false,\r\n isMailRegistered: false,\r\n isSaturdayDelivery: false\r\n },\r\n package: {\r\n packageDetails: packageInfo ? packageInfo.packageDetails : null,\r\n packagingTypes: packageInfo ? packageInfo.packagingTypes : null,\r\n weights: weight.length > 0 ? weight.map(x => x.value) : [null, null],\r\n length: null,\r\n width: null,\r\n height: null\r\n }\r\n },\r\n shipmentCarriers: {\r\n ...currState.shipmentCarriers,\r\n ...{\r\n carriers: [...carriers],\r\n deliverySpeed: {\r\n deliveryType: '',\r\n services: [...services]\r\n }\r\n }\r\n }\r\n }\r\n };\r\n}\r\n\r\nfunction changeNullWithEmptyString(entity: any) {\r\n for (const propName in entity) {\r\n if (entity[propName] === null) {\r\n entity[propName] = '';\r\n }\r\n }\r\n}\r\n","import { DateRangeType } from '../../../../shared/enums/date-range-type.enum';\r\nimport { ShippingColumnName } from '../enums/shipping-column-type';\r\nimport { TextSearchFilterType } from '../enums/text-search-filter-type.enum';\r\nimport { ShippingColumn } from '../models/shipment';\r\nimport { FilterModalType } from '../enums/filter-modal.enum';\r\n\r\nexport const shipmentConstants = {\r\n parcelLimit: 70,\r\n characterLimit: 72,\r\n insuredValueForAdultSignature: 35000,\r\n purchaseWarningTimeout: 20000, // 20 seconds\r\n purchaseTimeout: 100000, // 100 seconds\r\n securitySealDisplayLimit: 75000,\r\n returnLabelLimit: 10000,\r\n maxResidentialDeclaredValue: 75000\r\n};\r\n\r\nexport const shipmentErrors = {\r\n approvalCodeError: 'Invalid Approval code',\r\n excelFileError: 'Invalid structure of excel file.',\r\n virusInfectedFile: 'Invalid or virus infected file.',\r\n invalidFileFormat: 'Invalid file format.',\r\n invalidFileName: 'Invalid file name.',\r\n approvalRequiredMessage: 'Approval Contact required for this shipment'\r\n};\r\n\r\nexport const additionalConsent = {\r\n fnol: 'FNOL'\r\n};\r\n\r\nexport const defaultGridColumnSettings: ShippingColumn[] = [\r\n { columnName: ShippingColumnName.CarrierTrackingId, columnData: 'carrierTrackingId', columnTitle: 'Carrier Tracking #', isVisible: true, isMandatory: true, filterable: true, filterModalType: FilterModalType.TextSearch, isLocked: true, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.ZingTrackingNumber, columnData: 'zingTrackingNumber', columnTitle: 'Shipment ID', isVisible: true, isMandatory: true, filterable: true, filterModalType: FilterModalType.TextSearch, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.Status, columnData: 'status', columnTitle: 'Status', isVisible: true, isMandatory: true, filterable: true, filterModalType: FilterModalType.MultiCheck, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.Carrier, columnData: 'carrierName', columnTitle: 'Carrier', isVisible: true, isMandatory: true, filterable: true, filterModalType: FilterModalType.MultiCheck, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipToCompany, columnData: 'shipTo', columnTitle: 'Ship to Company', isVisible: true, isMandatory: true, filterable: true, filterModalType: FilterModalType.TextSearch, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipToContact, columnData: 'shipToContact', columnTitle: 'Ship to Contact', isVisible: true, isMandatory: true, filterable : true, filterModalType: FilterModalType.TextSearch, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.DeclaredValue, columnData: 'declaredValue', columnTitle: 'Declared Value', isVisible: true, isMandatory: true, filterable: true, filterModalType: FilterModalType.Combined, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipmentCreated, columnData: 'shipmentCreated', columnTitle: 'Transaction Date', isVisible: true, isMandatory: true, filterable: false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipmentCost, columnData: 'shipmentCost', columnTitle: 'Shipment Cost', isVisible: true, isMandatory: true, filterable: true, filterModalType: FilterModalType.Combined, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.Void, columnData: 'voided', columnTitle: 'Void', isVisible: true, isMandatory: true, filterable: true, filterModalType: FilterModalType.MultiCheck, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipFromAddress, columnData: 'shipFromAddress', columnTitle: 'Ship from Address', isVisible: true, isMandatory: true, filterable : true, filterModalType: FilterModalType.TextSearch, isLocked: false, sortable: true, orderNo: -1 }\r\n];\r\n\r\nexport const gridColumnSettings: ShippingColumn[] = [\r\n { columnName: ShippingColumnName.InsuredValue, columnData: 'insuredValue', columnTitle: 'Insured Value', isVisible: false, isMandatory: false, filterable: true, filterModalType: FilterModalType.Combined, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ClientId, columnData: 'clientID', columnTitle: 'Client ID', isVisible: false, isMandatory: false, filterable: false, isLocked: false, sortable: true, orderNo: -1 },\r\n // { columnName: ShippingColumnName.AccountName, columnData: 'accountName', columnTitle: 'Account Name', isVisible: false, isMandatory: false, isLocked: false, sortable: true, orderNo: 0 },\r\n { columnName: ShippingColumnName.Signature, columnData: 'signature', columnTitle: 'Signature', isVisible: false, isMandatory: false, filterable :false, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.Packaging, columnData: 'packaging', columnTitle: 'Packaging', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.Dimensions, columnData: 'dimensions', columnTitle: 'Dimensions', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.Service, columnData: 'service', columnTitle: 'Service', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipmentName, columnData: 'name', columnTitle: 'Shipment Name', isVisible: false, isMandatory: false, filterable :true, filterModalType: FilterModalType.TextSearch, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.Weight, columnData: 'weight', columnTitle: 'Weight', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.SendersReference, columnData: 'sendersReference', columnTitle: 'Reference 1', isVisible: false, isMandatory: false , filterable :true, filterModalType: FilterModalType.TextSearch, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipFromCompany, columnData: 'shipFrom', columnTitle: 'Ship from', isVisible: false, isMandatory: false, filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipFromContact, columnData: 'shipFromContact', columnTitle: 'Ship from Contact', isVisible: false, isMandatory: false, filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipFromZipCode, columnData: 'shipFromZipCode', columnTitle: 'Ship from Zip Code', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipFromCountry, columnData: 'shipFromCountry', columnTitle: 'Ship from Country', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ReceiversReference, columnData: 'receiversReference', columnTitle: 'Reference 2', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.Residential, columnData: 'residential', columnTitle: 'Residential', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipToAddress, columnData: 'shipToAddress', columnTitle: 'Ship to Address', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipToZipCode, columnData: 'shipToZipCode', columnTitle: 'Ship to Zip Code', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipToCountry, columnData: 'shipToCountry', columnTitle: 'Ship to Country', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n // Allowing all users to see Ship-Based Billing column\r\n // { columnName: ShippingColumnName.ScanBasedBilling, columnData: 'scanBasedBilling', columnTitle: 'Scan-Based Billing', isVisible: false, isMandatory: false, filterable :true, filterModalType: FilterModalType.MultiCheck, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ScanBasedBilling, columnData: 'scanBasedBilling', columnTitle: 'Scan-Based Billing', isVisible: false, isMandatory: false, filterable :true, filterModalType: FilterModalType.MultiCheck, isLocked: false, sortable: true, orderNo: 1000 },\r\n { columnName: ShippingColumnName.ShipFromCity, columnData: 'shipFromCity', columnTitle: 'Ship From City', isVisible: false, isMandatory: false, filterable: true, filterModalType: FilterModalType.TextSearch, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipFromState, columnData: 'shipFromState', columnTitle: 'Ship From State', isVisible: false, isMandatory: false, filterable: false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipToCity, columnData: 'shipToCity', columnTitle: 'Ship To City', isVisible: false, isMandatory: false, filterable: false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipToState, columnData: 'shipToState', columnTitle: 'Ship To State', isVisible: false, isMandatory: false, filterable: false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.CarrierShipDate, columnData: 'carrierShipDate', columnTitle: 'Carrier Ship Date', isVisible: false, isMandatory: false, filterable: false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.CarrierDeliveryDate, columnData: 'carrierDeliveryDate', columnTitle: 'Carrier Delivery Date', isVisible: false, isMandatory: false, filterable: false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.VoidedOn, columnData: 'voidedOn', columnTitle: 'Voided On', isVisible: false, isMandatory: false, filterable: false, isLocked: false, sortable: true, orderNo: 99 },\r\n { columnName: ShippingColumnName.ClaimReportingPeriod, columnData: 'claimReportingPeriod', columnTitle: 'Claim Reporting Period', isVisible: false, isMandatory: false, filterable: true, filterModalType: FilterModalType.MultiCheck, isLocked: false, sortable: false, orderNo: 100 }\r\n];\r\n\r\nexport const savedShipmentsDefaultColumns: ShippingColumn[] = [\r\n { columnName: ShippingColumnName.ZingTrackingNumber, columnData: 'zingTrackingNumber', columnTitle: 'Shipment ID', isVisible: true, isMandatory: true, filterable: true, filterModalType: FilterModalType.TextSearch, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.Status, columnData: 'status', columnTitle: 'Status', isVisible: true, isMandatory: true, filterable: true, filterModalType: FilterModalType.MultiCheck, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.Carrier, columnData: 'carrierName', columnTitle: 'Carrier', isVisible: true, isMandatory: true, filterable: true, filterModalType: FilterModalType.MultiCheck, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipToCompany, columnData: 'shipTo', columnTitle: 'Ship to Company', isVisible: true, isMandatory: true, filterable: true, filterModalType: FilterModalType.TextSearch, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipToContact, columnData: 'shipToContact', columnTitle: 'Ship to Contact', isVisible: true, isMandatory: true, filterable : true, filterModalType: FilterModalType.TextSearch, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.SendersReference, columnData: 'sendersReference', columnTitle: 'Reference 1', isVisible: true, isMandatory: true , filterable :true, filterModalType: FilterModalType.TextSearch, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.DeclaredValue, columnData: 'declaredValue', columnTitle: 'Declared Value', isVisible: true, isMandatory: true, filterable: true, filterModalType: FilterModalType.Combined, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.CreatedDate, columnData: 'createDate', columnTitle: 'Created Date', isVisible: true, isMandatory: true, filterable: false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.Service, columnData: 'service', columnTitle: 'Service', isVisible: true, isMandatory: true , filterable :false, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.Signature, columnData: 'signature', columnTitle: 'Signature', isVisible: true, isMandatory: true, filterable :false, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipToCity, columnData: 'shipToCity', columnTitle: 'Ship To City', isVisible: true, isMandatory: true, filterable: false, isLocked: false, sortable: true, orderNo: -1 }\r\n];\r\n\r\nexport const savedShipmentsGridColumnSettings: ShippingColumn[] = [\r\n { columnName: ShippingColumnName.ClientId, columnData: 'clientID', columnTitle: 'Client ID', isVisible: false, isMandatory: false, filterable: false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.Dimensions, columnData: 'dimensions', columnTitle: 'Dimensions', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.InsuredValue, columnData: 'insuredValue', columnTitle: 'Insured Value', isVisible: false, isMandatory: false, filterable: true, filterModalType: FilterModalType.Combined, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.Packaging, columnData: 'packaging', columnTitle: 'Packaging', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: false, orderNo: -1 },\r\n { columnName: ShippingColumnName.ReceiversReference, columnData: 'receiversReference', columnTitle: 'Reference 2', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.Residential, columnData: 'residential', columnTitle: 'Residential', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipmentName, columnData: 'name', columnTitle: 'Shipment Name', isVisible: false, isMandatory: false, filterable :true, filterModalType: FilterModalType.TextSearch, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipFromCompany, columnData: 'shipFrom', columnTitle: 'Ship From', isVisible: false, isMandatory: false, filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipFromContact, columnData: 'shipFromContact', columnTitle: 'Ship From Contact', isVisible: false, isMandatory: false, filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipFromAddress, columnData: 'shipFromAddress', columnTitle: 'Ship From Address', isVisible: false, isMandatory: false, filterable : true, filterModalType: FilterModalType.TextSearch, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipFromCity, columnData: 'shipFromCity', columnTitle: 'Ship From City', isVisible: false, isMandatory: false, filterable: true, filterModalType: FilterModalType.TextSearch, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipFromState, columnData: 'shipFromState', columnTitle: 'Ship From State', isVisible: false, isMandatory: false, filterable: false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipFromZipCode, columnData: 'shipFromZipCode', columnTitle: 'Ship From Zip Code', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipFromCountry, columnData: 'shipFromCountry', columnTitle: 'Ship From Country', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipToAddress, columnData: 'shipToAddress', columnTitle: 'Ship To Address', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipToState, columnData: 'shipToState', columnTitle: 'Ship To State', isVisible: false, isMandatory: false, filterable: false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipToZipCode, columnData: 'shipToZipCode', columnTitle: 'Ship To Zip Code', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.ShipToCountry, columnData: 'shipToCountry', columnTitle: 'Ship To Country', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: true, orderNo: -1 },\r\n { columnName: ShippingColumnName.Weight, columnData: 'weight', columnTitle: 'Weight', isVisible: false, isMandatory: false , filterable :false, isLocked: false, sortable: false, orderNo: -1 }\r\n];\r\n\r\nexport const localStorageKeys = {\r\n dateRangeFilterType: 'shipmentDateRangeFilter',\r\n filters: 'shipmentSummaryFilters',\r\n sort: 'shipmentSummarySort',\r\n startDate: 'shipmentSummaryStartDate',\r\n endDate: 'shipmentSummaryEndDate',\r\n summaryDateRange: 'shipmentSummaryDateRange',\r\n pageSize: 'pageSize'\r\n};\r\n\r\nexport const sessionStorageKeys = {\r\n reconSort: 'shipmentReconSort',\r\n reconPageSize: 'shipmentReconPageSize',\r\n reconDateRangeFilterType: 'shipmentReconDateRageType',\r\n reconDateRange: 'shipmentReconDateRange',\r\n reconFilters: 'shipmentReconFilters'\r\n};\r\n\r\nexport const datePickerFilters = [\r\n { value: DateRangeType.Today, text: 'DateFilters.Today' },\r\n { value: DateRangeType.Last7Days, text: 'DateFilters.Last7Days' },\r\n { value: DateRangeType.CurrentMonth, text: 'DateFilters.CurrentMonth' },\r\n { value: DateRangeType.LastMonth, text: 'DateFilters.LastMonth' },\r\n { value: DateRangeType.Last3Months, text: 'DateFilters.Last3Months' },\r\n { value: DateRangeType.Last6Months, text: 'DateFilters.Last6Months' },\r\n { value: DateRangeType.AllHistory, text: 'DateFilters.AllHistory' },\r\n { value: DateRangeType.SpecificDateRange, text: 'DateFilters.SpecificRange'}\r\n];\r\n\r\nexport const reconDatePickerFilters = [\r\n { value: DateRangeType.Last7Days, text: 'DateFilters.Last7Days' },\r\n { value: DateRangeType.Last60Days, text: 'DateFilters.Last60Days' },\r\n { value: DateRangeType.SpecificDateRange, text: 'DateFilters.SpecificRange' }\r\n];\r\n\r\nexport const destination = 'destination';\r\nexport const minimalDate = '1900';\r\nexport const uspsOnly = 'USPS Only';\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\n\r\nimport { environment } from '../../../../environments/environment';\r\nimport { UserDataService } from './user-data.service';\r\nimport { AccountUserSettings } from '../modules/account/models/account-user-settings.model';\r\n\r\n@Injectable()\r\nexport class AccountUserDataService extends UserDataService {\r\n\r\n protected readonly apiUrl = environment.accountApiUrl;\r\n\r\n constructor(protected http: HttpClient) {\r\n super(http);\r\n }\r\n\r\n canAccessAccounts() {\r\n return this.userData && this.userData.canAccessAccounts;\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { maskEmail } from '../../../utils/formatters';\r\nimport { MarketplacePartnerAffiliationType } from '../../shared/enums/marketplace-partner-affiliation-types';\r\nimport { ProfileService } from '../../shared/services';\r\nimport { AnalyticsService } from '../../shared/services/analytics.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ExternalNavigationService {\r\n\r\n plDashboard = `${environment.personalLinesUrl}/dashboard`;\r\n plCreateClaim = `${environment.personalLinesUrl}/create-claim`;\r\n\r\n carePlanDashboard = environment.carePlanAppUrl;\r\n carePlanClaims = `${environment.carePlanAppUrl}/claims`;\r\n carePlanSales = `${environment.carePlanAppUrl}/sales`;\r\n carePlanHomepage = `${environment.carePlanHomePage}`;\r\n\r\n gemAndJewelAccount = environment.gemAndJewelAccountUrl;\r\n\r\n partnerGateway = environment.partnerGatewayLink;\r\n\r\n get email() {\r\n return maskEmail(this.profileService.person.email);\r\n }\r\n\r\n constructor(\r\n private analyticsService: AnalyticsService,\r\n private profileService: ProfileService\r\n ) { }\r\n\r\n //#region Personal Insurance\r\n\r\n goToPersonalInsuranceDashboard(url?: string) {\r\n this.analyticsService.analytics.eventTrack.next({\r\n action: 'ProductActive-PersonalLines',\r\n properties: { Email: this.email }\r\n });\r\n\r\n window.location.href = url || this.plDashboard;\r\n }\r\n\r\n goToPersonalInsuranceClaim() {\r\n this.analyticsService.analytics.eventTrack.next({\r\n action: 'ProductActive-PersonalLines-CreateClaim',\r\n properties: { Email: this.email }\r\n });\r\n window.location.href = this.plCreateClaim;\r\n }\r\n\r\n searchPersonalInsuranceClaim(searchTerm) {\r\n this.analyticsService.analytics.eventTrack.next({\r\n action: 'ProductActive-PersonalLines-SearchClaim',\r\n properties: { Email: this.email }\r\n });\r\n\r\n const searchUrl = `${this.plDashboard}?searchTerm=${searchTerm}`;\r\n window.location.href = searchUrl;\r\n }\r\n\r\n //#endregion\r\n\r\n //#region Care plan\r\n\r\n goToCarePlanDashboard(url?: string) {\r\n this.analyticsService.analytics.eventTrack.next({\r\n action: 'ProductActive-CarePlan',\r\n properties: { Email: this.email }\r\n });\r\n\r\n window.location.href = url || this.carePlanDashboard;\r\n }\r\n\r\n goToCarePlanClaims() {\r\n this.analyticsService.analytics.eventTrack.next({\r\n action: 'ProductActive-CarePlan-Claims',\r\n properties: { Email: this.email }\r\n });\r\n\r\n window.location.href = this.carePlanClaims;\r\n }\r\n\r\n goToCarePlanSales() {\r\n this.analyticsService.analytics.eventTrack.next({\r\n action: 'ProductActive-CarePlan-Sales',\r\n properties: { Email: this.email }\r\n });\r\n\r\n window.location.href = this.carePlanSales;\r\n }\r\n\r\n goToCarePlanHomepage() {\r\n this.analyticsService.analytics.eventTrack.next({\r\n action: 'ProductActive-CarePlan-Homepage',\r\n properties: { Email: this.email }\r\n });\r\n\r\n window.open(this.carePlanHomepage, '_blank');\r\n }\r\n\r\n //#endregion\r\n\r\n //#region Partner Gateway (JMPG)\r\n\r\n goToPartnerGateway(newTab: boolean, url?: string) {\r\n this.analyticsService.analytics.eventTrack.next({\r\n action: 'ProductActive-PartnerGateway',\r\n properties: { Email: this.email }\r\n });\r\n\r\n if (!newTab) {\r\n window.location.href = url || this.partnerGateway;\r\n } else {\r\n window.open(url || this.partnerGateway, '_blank');\r\n }\r\n }\r\n\r\n //#endregion\r\n\r\n //#region Gem + Jewel\r\n\r\n goToGemAndJewelAccount(url?: string) {\r\n const partner = MarketplacePartnerAffiliationType[MarketplacePartnerAffiliationType.GemAndJewel];\r\n this.analyticsService.analytics.eventTrack.next({\r\n action: `PartnerActive-${partner}`,\r\n properties: { Email: this.email }\r\n });\r\n\r\n window.open(url || this.gemAndJewelAccount, '_blank', 'noopener');\r\n }\r\n\r\n //#endregion Gem + Jewel\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\n\r\nimport isEqual from 'lodash.isequal';\r\nimport { tap, map } from 'rxjs/operators';\r\n\r\nimport { environment } from '../../../../environments/environment';\r\nimport { ShippingUserData, ShippingColumn, AccountData } from '../modules/shipping/models/shipment';\r\nimport { UserDataService } from './user-data.service';\r\nimport { Observable } from 'rxjs';\r\nimport { FedexIntegrationData } from '../modules/shipping/models/fedex-integration';\r\nimport { ProfileService } from '../../shared/services/profile.service';\r\nimport { AddressDisplayMode } from '../modules/shipping/components/shipment-address-selection/shipment-address-selection.component';\r\nimport { savedShipmentsDefaultColumns } from '../modules/shipping/utils/shipment-constants';\r\n\r\n@Injectable()\r\nexport class ShippingUserDataService extends UserDataService {\r\n\r\n protected readonly apiUrl = environment.shippingApiURL;\r\n\r\n constructor(protected http: HttpClient, protected profileService: ProfileService) {\r\n super(http);\r\n }\r\n\r\n /**\r\n * Save current user shipping columns for Processed Shipments tab and Saved Shipments tab.\r\n */\r\n async saveShippingColumns(columns: ShippingColumn[], savedShipmentsColumns: ShippingColumn[]): Promise {\r\n if (isEqual(columns, this.userData.columns) && isEqual(savedShipmentsColumns, this.userData.savedShipmentsColumns)) {\r\n return Promise.resolve();\r\n }\r\n\r\n return this.http.put (`${this.apiUrl}/api/usersettings/shippingcolumns`, { columns, savedShipmentsColumns })\r\n .pipe(\r\n tap(() => this.userDataSubject$.next({ ...this.userData, columns, savedShipmentsColumns }))\r\n ).toPromise();\r\n }\r\n\r\n /**\r\n * Save current user shipping columns for Processed Shipments.\r\n */\r\n async saveShippingColumnsForProcessedTab(columns: ShippingColumn[]): Promise {\r\n if (isEqual(columns, this.userData.columns)) {\r\n return Promise.resolve();\r\n }\r\n\r\n return this.http.put (`${this.apiUrl}/api/usersettings/shippingcolumns`, { columns })\r\n .pipe(\r\n tap(() => this.userDataSubject$.next({ ...this.userData, columns }))\r\n ).toPromise();\r\n }\r\n\r\n /**\r\n * Save current user shipping columns for Saved Shipments.\r\n */\r\n async saveShippingColumnsForSavedTab(savedShipmentsColumns: ShippingColumn[]): Promise {\r\n if (isEqual(savedShipmentsColumns, this.userData.savedShipmentsColumns)) {\r\n return Promise.resolve();\r\n }\r\n\r\n return this.http.put (`${this.apiUrl}/api/usersettings/shippingcolumns`, { savedShipmentsColumns })\r\n .pipe(\r\n tap(() => this.userDataSubject$.next({ ...this.userData, savedShipmentsColumns }))\r\n ).toPromise();\r\n }\r\n\r\n skipLinkingAccount() {\r\n const url = `${this.apiUrl}/api/usersettings/skiplinking`;\r\n return this.http.put(url, null);\r\n }\r\n\r\n async linkAccount(accountData: AccountData): Promise {\r\n return this.http.put (`${this.apiUrl}/api/usersettings/linkaccount`, accountData)\r\n .pipe(\r\n tap(() => this.userDataSubject$.next({ ...this.userData, accountData }))\r\n ).toPromise();\r\n }\r\n\r\n getFedexPdf(): Observable {\r\n const url = `${this.apiUrl}/api/usersettings/meterinstructionspdf`;\r\n return this.http.get(url, { responseType: 'text' });\r\n }\r\n\r\n integrateFedexAccount(data: FedexIntegrationData): Observable {\r\n const url = `${this.apiUrl}/api/usersettings/integratefedexaccount`;\r\n return this.http.post (url, data);\r\n }\r\n\r\n saveBrinksSkipFlag() {\r\n const url = `${this.apiUrl}/api/usersettings/${this.userData.id}/patch`;\r\n return this.http.put(url, { skipBrinksIntroScreen: true });\r\n }\r\n\r\n saveDestinationDisplayMode(mode: AddressDisplayMode) {\r\n const url = `${this.apiUrl}/api/usersettings/${this.userData.id}/patch`;\r\n return this.http.put(url, { destinationDisplayMode: mode });\r\n }\r\n\r\n checkUserApproval() {\r\n const url = `${this.apiUrl}/api/usersettings/checkuserapproval`;\r\n return this.http.post(url, null);\r\n }\r\n\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\n\r\nimport { Observable, BehaviorSubject } from 'rxjs';\r\nimport { tap } from 'rxjs/operators';\r\n\r\nexport abstract class UserDataService {\r\n\r\n protected abstract apiUrl: string;\r\n\r\n protected userDataSubject$ = new BehaviorSubject (null);\r\n userData$ = this.userDataSubject$.asObservable();\r\n\r\n get userData() {\r\n return this.userDataSubject$.value;\r\n }\r\n\r\n constructor(protected http: HttpClient) { }\r\n\r\n /**\r\n * Load current user data.\r\n */\r\n loadUserData(): Observable {\r\n return this.http.get (`${this.apiUrl}/api/usersettings`)\r\n .pipe(\r\n tap(data => this.userDataSubject$.next(data))\r\n );\r\n }\r\n\r\n /**\r\n * Load user data of specific person.\r\n * @param personId Id of person\r\n */\r\n getUserData(personId: string): Observable {\r\n return this.http.get (`${this.apiUrl}/api/usersettings`,\r\n { params: { personId } }\r\n );\r\n }\r\n\r\n /**\r\n * Save user data for specific user (not logged in user)\r\n * @param personId Id of person\r\n */\r\n saveUserData(userData: TUserData): Observable {\r\n const url = `${this.apiUrl}/api/usersettings`;\r\n return this.http.post(url, userData);\r\n }\r\n\r\n /**\r\n * Update user data for specific user (not logged in user)\r\n * @param personId Id of person\r\n */\r\n updateUserData(userData: TUserData): Observable {\r\n const url = `${this.apiUrl}/api/usersettings/${userData.id}`;\r\n return this.http.put(url, userData);\r\n }\r\n\r\n}\r\n","export enum CreditCardErrorType {\r\n card_error = 'card_error',\r\n validation_error = 'validation_error',\r\n api_connection_error = 'api_connection_error'\r\n}\r\n","export enum OrderProcessingStatus {\r\n Received = 'Received',\r\n Ordered = 'Ordered',\r\n PaymentFailed = 'PaymentFailed',\r\n HashCodeChanged = 'HashCodeChanged',\r\n PaymentIntentInitialOrderStatus = 'PaymentIntentGenerated',\r\n AchPaymentLimitExceeded = 'AchPaymentLimitExceeded',\r\n Failed = 'OrderCreationFailed'\r\n}\r\n","export enum PaymentIntentStatus {\r\n canceled = 'canceled',\r\n processing = 'processing',\r\n requires_action = 'requires_action',\r\n requires_capture = 'requires_capture',\r\n requires_confirmation = 'requires_confirmation',\r\n requires_payment_method = 'requires_payment_method',\r\n succeeded = 'succeeded'\r\n}\r\n","import { PaymentIntentStatus } from './payment-intent-status';\r\n\r\nexport enum PaymentMethodType {\r\n CreditCard = 0,\r\n ACH = 1,\r\n WireTransfer = 2\r\n}\r\n\r\nexport const PaymentMethodNames = {\r\n [PaymentMethodType.CreditCard]: 'Credit Card',\r\n [PaymentMethodType.ACH]: 'ACH',\r\n [PaymentMethodType.WireTransfer]: 'Wire Transfer'\r\n};\r\n\r\nexport const PaymentStatusNames = {\r\n [PaymentIntentStatus.processing]: 'Processing',\r\n [PaymentIntentStatus.succeeded]: 'Paid',\r\n [PaymentIntentStatus.requires_payment_method]: 'Failed'\r\n};\r\n\r\nexport const PaymentMethodCodeToPaymentMethod = {\r\n 'WT': {\r\n name: 'Wire Transfer',\r\n type: PaymentMethodType.WireTransfer\r\n },\r\n 'ACH': {\r\n name: 'ACH',\r\n type: PaymentMethodType.ACH\r\n },\r\n 'CC': {\r\n name: 'Credit Card',\r\n type: PaymentMethodType.CreditCard\r\n }\r\n};\r\n\r\nexport const PaymentStatusCodeToName = {\r\n 'AC': 'Processing',\r\n 'SD': 'Paid',\r\n 'SP': 'Paid',\r\n 'FL': 'Failed',\r\n 'PR': 'Partial Refund',\r\n 'FR': 'Full Refund'\r\n};\r\n","import { Injectable } from '@angular/core';\r\n\r\nimport { of } from 'rxjs';\r\nimport { map, tap } from 'rxjs/operators';\r\n\r\nimport { LocationService } from '../../membership/modules/account/services/location.service';\r\nimport { CompanyService, ProfileService } from '../../shared/services';\r\nimport { getOrderLocations } from '../../marketplace/utils';\r\nimport { OrderLocation } from '../models/order-location';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OrderLocationFacade {\r\n\r\n private orderLocations: OrderLocation[];\r\n\r\n constructor(\r\n private locationService: LocationService,\r\n private profileService: ProfileService,\r\n private companyService: CompanyService\r\n ) { }\r\n\r\n getOrderLocations(forceLoad = false) {\r\n if (!this.orderLocations || forceLoad) {\r\n return this.locationService.getLocationsByCompanyId(this.companyService.company.id, true)\r\n .pipe(\r\n map(companyLocations => getOrderLocations(\r\n this.profileService.person,\r\n this.companyService.company,\r\n companyLocations\r\n )),\r\n tap(orderLocations => this.orderLocations = orderLocations)\r\n );\r\n } else {\r\n return of(this.orderLocations);\r\n }\r\n }\r\n\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\n\r\nimport { environment } from '../../../../environments/environment';\r\nimport { PaymentInformation, PaymentReport } from '../models';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PaymentSourceService {\r\n\r\n readonly paymentApiURL = environment.paymentApiURL;\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n getByOrderId(zingOrderId: string) {\r\n return this.http.get (`${this.paymentApiURL}/api/payments/${zingOrderId}`);\r\n }\r\n\r\n getReportsByOrderIds(zingOrderIds: string[]) {\r\n return this.http.get (`${this.paymentApiURL}/api/payments/reports`, { params: { zingOrderIds } });\r\n }\r\n}\r\n"," \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n","import { Component, EventEmitter, OnInit, Output } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { AgreementModalConfig, defaultAgreementModalConfig } from '../models/agreement-modal.config';\r\n\r\n@Component({\r\n selector: 'z-agreement-modal',\r\n templateUrl: './agreement-modal.component.html',\r\n styleUrls: ['./agreement-modal.component.scss']\r\n})\r\nexport class AgreementModalComponent implements OnInit {\r\n\r\n @Output() continue = new EventEmitter();\r\n @Output() cancel = new EventEmitter ();\r\n\r\n config: AgreementModalConfig = defaultAgreementModalConfig;\r\n\r\n formGroup: FormGroup;\r\n\r\n constructor(\r\n public bsModalRef: BsModalRef\r\n ) { }\r\n\r\n ngOnInit() {\r\n if (this.config.checkbox) {\r\n this.formGroup = new FormGroup({\r\n checkbox: new FormControl(false, Validators.requiredTrue)\r\n });\r\n }\r\n }\r\n\r\n onCloseModal() {\r\n this.cancel.emit();\r\n this.bsModalRef.hide();\r\n }\r\n\r\n onAgree() {\r\n this.continue.emit();\r\n }\r\n}\r\n"," \r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n","import { Component, EventEmitter, OnDestroy, OnInit, Output } from '@angular/core';\r\nimport { AbstractControl, FormBuilder, FormGroup, ValidationErrors } from '@angular/forms';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { FormModalConfig, defaultFormModalConfig } from '../models/modal-config';\r\n\r\n@Component({\r\n selector: 'z-form-modal',\r\n templateUrl: './form-modal.component.html',\r\n styleUrls: ['./form-modal.component.scss']\r\n})\r\nexport class FormModalComponent implements OnInit, OnDestroy {\r\n componentActive = true;\r\n\r\n @Output() continue = new EventEmitter ();\r\n @Output() cancel = new EventEmitter ();\r\n\r\n config: FormModalConfig = defaultFormModalConfig;\r\n formGroup: FormGroup;\r\n\r\n constructor(\r\n private formBuilder: FormBuilder,\r\n private bsModalRef: BsModalRef\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.createForm();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.formGroup.reset();\r\n this.componentActive = false;\r\n }\r\n\r\n createForm(): void {\r\n this.formGroup = this.formBuilder.group({});\r\n this.config.controls.forEach(controlConfig =>\r\n this.formGroup.addControl(controlConfig.controlName, controlConfig.formControl)\r\n );\r\n }\r\n\r\n onAgree() {\r\n this.continue.emit(this.formGroup.value);\r\n }\r\n\r\n onCloseModal() {\r\n this.bsModalRef.hide();\r\n }\r\n\r\n /**\r\n * Checks control for any type of validation error\r\n */\r\n hasError(ctrl: AbstractControl): boolean {\r\n return ctrl.invalid && (ctrl.dirty || ctrl.touched);\r\n }\r\n\r\n /**\r\n * Checks control for expected type of validation error\r\n */\r\n hasErrorOfType(ctrl: AbstractControl, error: string | string[]): boolean {\r\n if (Array.isArray(error)) {\r\n return this.hasErrors(ctrl, error);\r\n }\r\n\r\n return ctrl.invalid && (ctrl.dirty || ctrl.touched) && ctrl.hasError(error);\r\n }\r\n\r\n setErrors(ctrlName: string, errors: ValidationErrors) {\r\n this.formGroup.get(ctrlName).setErrors(errors);\r\n }\r\n\r\n /**\r\n * Checks control for expected type of validation errors\r\n * Returns true if any error is found\r\n */\r\n private hasErrors(ctrl: AbstractControl, errors: string[]): boolean {\r\n return ctrl.invalid && (ctrl.dirty || ctrl.touched) && errors.some(error => ctrl.hasError(error));\r\n }\r\n}\r\n","import { NotificationModalConfig, defaultNotificationModalConfig } from './modal-config';\r\n\r\nexport class AgreementModalConfig extends NotificationModalConfig {\r\n checkboxText?: string;\r\n separationLine?: boolean;\r\n checkbox?: boolean;\r\n adjustText?: boolean;\r\n}\r\n\r\nexport const defaultAgreementModalConfig = {\r\n ...defaultNotificationModalConfig,\r\n separationLine: false,\r\n checkbox: false,\r\n adjustText: false,\r\n};\r\n\r\n","import { FormControl } from '@angular/forms';\r\nimport { Observable } from 'rxjs';\r\n\r\nexport class NotificationModalConfig {\r\n headerText?: string;\r\n headerClass?: string;\r\n bodyText?: string;\r\n continueButtonText?: string;\r\n cancelButtonText?: string;\r\n bodyIcon?: string;\r\n bodyContainerClass?: string;\r\n bodyTextClass?: string;\r\n inverted?: boolean;\r\n hideButtons?: boolean;\r\n hideCloseButton?: boolean;\r\n continueButtonClass?: string;\r\n cancelButtonClass?: string;\r\n translationData?: object;\r\n showSpinner$?: Observable ;\r\n}\r\n\r\nexport const defaultNotificationModalConfig = {\r\n headerText: '',\r\n bodyText: '',\r\n continueButtonText: '',\r\n cancelButtonText: '',\r\n inverted: false,\r\n hideButtons: false,\r\n hideCloseButton: false,\r\n continueButtonClass: 'btn-outline-info',\r\n cancelButtonClass: 'btn-info btn-rounded',\r\n translationData: {}\r\n};\r\n\r\nexport class FormModalConfig extends NotificationModalConfig {\r\n controls: FormControlConfig[];\r\n}\r\n\r\nexport class FormControlConfig {\r\n controlName: string;\r\n formControl: FormControl;\r\n placeholder: string;\r\n showLabelBelowInput?: boolean;\r\n formDescription?: string;\r\n label?: string;\r\n type: string;\r\n errors: { type: string; message: string; hasErrorDetails?: boolean }[];\r\n rows?: number;\r\n columns?: number;\r\n maxLength?: number;\r\n isRequired?: boolean;\r\n}\r\n\r\nexport const defaultFormModalConfig = {\r\n ...defaultNotificationModalConfig,\r\n continueButtonClass: 'btn-info btn-rounded',\r\n cancelButtonClass: 'btn-outline-info',\r\n controls: []\r\n};\r\n"," \r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n","import { Component, EventEmitter, Output } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { NotificationModalConfig, defaultNotificationModalConfig } from '../models/modal-config';\r\n\r\n@Component({\r\n selector: 'z-notification-modal',\r\n templateUrl: './notification-modal.component.html',\r\n styleUrls: ['./notification-modal.component.scss']\r\n})\r\nexport class NotificationModalComponent {\r\n\r\n @Output() continue = new EventEmitter ();\r\n @Output() cancel = new EventEmitter ();\r\n\r\n config: NotificationModalConfig = defaultNotificationModalConfig;\r\n\r\n constructor(\r\n public bsModalRef: BsModalRef\r\n ) { }\r\n\r\n onCloseModal() {\r\n this.cancel.emit();\r\n this.bsModalRef.hide();\r\n }\r\n\r\n onAgree() {\r\n this.continue.emit();\r\n }\r\n}\r\n","import { Component, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'z-spinner',\r\n template: `\r\n \r\n\r\n `,\r\n styles: ['.text-container{ position: absolute; margin-top: 110%; margin-left: -80%; white-space: nowrap; }']\r\n})\r\nexport class SpinnerComponent {\r\n @Input() inProgress = false;\r\n @Input() transparentBackground = false;\r\n // if we want to display spinner in a specific position in parent\r\n @Input() isRelativePosition = false;\r\n @Input() text = '';\r\n\r\n constructor() {}\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\n\r\nimport { SpinnerComponent } from './spinner.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [SpinnerComponent],\r\n declarations: [SpinnerComponent],\r\n providers: [],\r\n})\r\nexport class SpinnerModule { }\r\n","export const sharedConstants = {\r\n teamInvitePdfLink: 'https://info.jewelersmutual.com/hubfs/elevate/downloads/zing-invites-guide.pdf'\r\n};\r\n\r\nexport const moduleNames = {\r\n core: 'Core',\r\n marketplace: 'Marketplace',\r\n shipping: 'Shipping',\r\n membership: 'Membership'\r\n};\r\n\r\nexport const emptyAGSPhoneNumber = '0-';\r\n","export enum AnalyticsCustomEvents {\r\n InitiateShipment = 'InitiateShipment',\r\n\r\n InitiateShipmentAddressOrigin = 'InitiateShipment-SinglePage-Origin',\r\n\r\n InitiateShipmentAddressDestination = 'InitiateShipment-SinglePage-Destination',\r\n\r\n InitiateShipmentSpaAddress = 'InitiateShipment-SinglePage-Address',\r\n\r\n InitiateShipmentSpaDetails = 'InitiateShipment-SinglePage-Details',\r\n\r\n InitiateShipmentSpaServices = 'InitiateShipment-SinglePage-CarriersAndServices',\r\n\r\n InitiateShipmentReference = 'InitiateShipment-Reference',\r\n\r\n InitiateShipmentQuoteProcessing = 'InitiateShipment-QuoteProcessing',\r\n\r\n InitiateShipmentValidation = 'InitiateShipment-Validation',\r\n\r\n QuickQuote = 'QuickQuote',\r\n\r\n QuickQuoteProcessing = 'QuickQuote-Processsing',\r\n\r\n InitiateDiamondDetailsEmail = 'Marketplace-NatDiamond-InitiateDiamondDetailsEmail',\r\n\r\n DiamondDetailsEmailSent = 'DiamondDetailsEmailSent',\r\n\r\n DiamondQuestionEmailSent = 'DiamondQuestionEmailSent',\r\n\r\n DiamondImageRequestEmailSent = 'DiamondImageRequestEmailSent',\r\n\r\n InitiateSelectedDiamondsXlsExport = 'Marketplace-NatDiamond-InitiateSelectedDiamondsXlsExport',\r\n\r\n SelectedDiamondsXlsExportCompleted = 'SelectedDiamondsXlsExportCompleted',\r\n\r\n InitiateDiamondPageXlsExport = 'Marketplace-NatDiamond-InitiateDiamondPageXlsExport',\r\n\r\n DiamondPageXlsExportCompleted = 'DiamondPageXlsExportCompleted',\r\n\r\n InitiateDiamondPdfExport = 'Marketplace-NatDiamond-InitiateDiamondPdfExport',\r\n\r\n DiamondPdfExportCompleted = 'DiamondPdfExportCompleted',\r\n\r\n InitiateDiamondOrder = 'InitiateDiamondOrder',\r\n\r\n DiamondOrderCompleted = 'DiamondOrderCompleted',\r\n\r\n CreditCardSubmitClicked = 'CreditCardSubmitClicked',\r\n\r\n CreditCardSubmitClickedValid = 'CreditCardSubmitClickedValid',\r\n\r\n CreditCardGetTokenSuccess = 'CreditCardGetTokenSuccess',\r\n\r\n CreditCardGetTokenError = 'CreditCardGetTokenError',\r\n\r\n CreditCardNotBlankUrl = 'CreditCardNotBlankUrl',\r\n\r\n CreditCardUrlResetToBlank = 'CreditCardUrlResetToBlank',\r\n\r\n CreditCardSaveError = 'CreditCardSaveError',\r\n\r\n CreditCardSaveSuccess = 'CreditCardSaveSuccess',\r\n\r\n CreditCardPaypalError = 'CreditCardPaypalError',\r\n\r\n CreditCardPaypalSuccess = 'CreditCardPaypalSuccess',\r\n\r\n CreditCardPaypalNoSuccessOrError = 'CreditCardPaypalNoSuccessOrError',\r\n\r\n CreditCardLocationDoesntMatchDomain = 'CreditCardLocationDoesntMatchDomain',\r\n\r\n ClaimSignalRConnectionFailed = 'ClaimSignalRConnectionFailed',\r\n\r\n ClaimToSubmitCreated = 'ClaimToSubmitCreated',\r\n\r\n ClaimDocumentRemoving = 'ClaimDocumentRemoving',\r\n\r\n ClaimSubmittedFailed = 'ClaimSubmittedFailed',\r\n\r\n ClaimSubmitted = 'ClaimSubmitted',\r\n\r\n ClaimSubmitClick = 'ClaimSubmitClick',\r\n\r\n ClaimSubmitFormNotValid = 'ClaimSubmitFormNotValid',\r\n\r\n ClaimSubmitFormValid = 'ClaimSubmitFormValid',\r\n\r\n JMCCLandingPageLoaded = 'JMCCLandingPageLoaded',\r\n\r\n RegistrationNextStep = 'RegistrationNextStep',\r\n\r\n RegistarationCancelCompanySelection = 'RegistarationCancelCompanySelection',\r\n\r\n RegistrationBusinessSelected = 'RegistrationBusinessSelected',\r\n\r\n RegistrationCompanyNotFound = 'RegistrationCompanyNotFound',\r\n\r\n RegistrationCompanyHasBusinessNumber = 'RegistrationCompanyHasBusinessNumber',\r\n\r\n HubConnectionStart = 'HubConnectionStart',\r\n\r\n HubConnectionAlreadyStarted = 'HubConnectionAlreadyStarted',\r\n\r\n HubConnectionRetryStart = 'HubConnectionRetryStart',\r\n\r\n HubConnectionEnd = 'HubConnectionEnd',\r\n\r\n HubConnectionError = 'HubConnectionError',\r\n\r\n MarketplaceHubConnectionStart = 'MarketplaceHubConnectionStart',\r\n\r\n MarketplaceHubConnectionAlreadyStarted = 'MarketplaceHubConnectionAlreadyStarted',\r\n\r\n MarketplaceHubConnectionRetryStart = 'MarketplaceHubConnectionRetryStart',\r\n\r\n MarketplaceHubConnectionEnd = 'MarketplaceHubConnectionEnd',\r\n\r\n PaymentInformationReceived = 'PaymentInformationReceived',\r\n\r\n PaymentFailedStripeError = 'PaymentFailedStripeError',\r\n\r\n PaymentACHFailed = 'ACHPaymentFailed',\r\n\r\n PaymentACHCustomerCanceled = 'ACHPaymentCustomerCanceled',\r\n\r\n PaymentACHProcessing = 'ACHPaymentProcessing',\r\n\r\n PaymentACHConfirmationFailed = 'PaymentACHConfirmationFailed',\r\n\r\n PaymentCreditCardSucceded = 'PaymentCreditCardSucceeded',\r\n\r\n PaymentCreditCardError = 'PaymentCreditCardError',\r\n\r\n PaymentCreditCardProcessing = 'PaymentCreditCardProcessing',\r\n\r\n PaymentCreditCardRequirePaymentMethod = 'PaymentCreditCardRequirePaymentMethod',\r\n\r\n PaymentCreditCardUnknownError = 'PaymentCreditCardUnknownError',\r\n\r\n OrderProcessingStatusReceived = 'OrderProcessingStatusReceived',\r\n\r\n OrderProcessingStatusOrdered = 'OrderProcessingStatusOrdered',\r\n\r\n OrderProcessingStatusHasCodeChanged = 'OrderProcessingStatusHasCodeChanged',\r\n\r\n ReturnEligibilityActionClicked = 'Marketplace-NatDiamond-ReturnEligibilityActionClicked',\r\n\r\n ReturnEligibilityEmailRequested = 'ReturnEligibilityEmailRequested',\r\n\r\n SignInErrorLogUserData = 'SignInErrorLogUserData',\r\n\r\n JMCCLandingPageCTAQnA = 'JMCCLandingPage/JMCC-QnA-CTA',\r\n\r\n JMCCLandingPageCTAPurchased = 'JMCCLandingPage/JMCC-Pl-Portal-CTA',\r\n\r\n JewelerPagesThemes = 'JewelerPages-Themes',\r\n\r\n JewelerPagesCompanyInfo = 'JewelerPages-CompanyInfo',\r\n\r\n JewelerPagesBannerHeadline = 'JewelerPages-BannerHeadline',\r\n\r\n JewelerPagesServices = 'JewelerPages-Services',\r\n\r\n JewelerPagesAboutYou = 'JewelerPages-AboutYou',\r\n\r\n JewelerPagesUpcomingEvents = 'JewelerPages-UpcomingEvents',\r\n\r\n JewelerPagePublished = 'JewelerPagePublished',\r\n\r\n JewelerPagesWidgetClicked = 'JewelerPagesWidgetClicked',\r\n\r\n AuctionWidgetClicked = 'AuctionWidgetClicked',\r\n\r\n AuctionWidgetError = 'AuctionWidgetError',\r\n\r\n OnRedirectFromClaims = 'OnRedirectFromClaims',\r\n\r\n //#region JMCCDashboard\r\n JMCCDashboardContactUsSubmitClicked = '​JMCCDashboard/Contact-Us-Submit-CTA',\r\n\r\n JMCCDashboardResendButtonClicked = 'JMCCDashboard/Resend-CTA',\r\n\r\n JMCCDashboardContactUsButtonClicked = 'JMCCDashboard/Contact-US-CTA',\r\n\r\n JMCCDashboardAllTabClicked = 'JMCCDashboard/All-Tab-CTA',\r\n\r\n JMCCDashboardProcessedTabClicked = 'JMCCDashboard/Processed-Tab-CTA',\r\n\r\n JMCCDashboardNotProcessedTabClicked = 'JMCCDashboard/NotProcessed-Tab-CTA',\r\n\r\n JMCCDashboardSearchClicked = 'JMCCDashboard/Search-CTA',\r\n //#endregion\r\n\r\n MarketplaceNatDiamondSearchClicked = 'Marketplace-NatDiamond-SearchClicked',\r\n\r\n MarketplaceNatDiamondSaveSearchClicked = 'Marketplace-NatDiamond-SaveSearchClicked',\r\n\r\n MarketplaceNatDiamondEmailSelectedDiamondsClicked = 'Marketplace-NatDiamond-EmailSelectedDiamondsClicked',\r\n\r\n MarketplaceInitiateCompareDiamonds = 'Marketplace-NatDiamond-InitiateCompareDiamonds',\r\n\r\n MarketplaceLabDiamondSearchClicked = 'Marketplace-LabDiamond-SearchClicked',\r\n\r\n MarketplaceLabDiamondCompareClicked = 'Marketplace-LabDiamond-CompareClicked',\r\n\r\n MarketplaceLabDiamondGridViewClicked = 'Marketplace-LabDiamond-GridViewClicked',\r\n\r\n MarketplaceLabDiamondListViewClicked = 'Marketplace-LabDiamond-ListViewClicked',\r\n\r\n MarketplaceLabDiamondViewDetailsClicked = 'Marketplace-LabDiamond-ViewDetailsClicked',\r\n\r\n MarketplaceLabDiamondEmailZingClicked = 'Marketplace-LabDiamond-EmailZingClicked',\r\n\r\n //#region Appraisal Lab Integration\r\n AppraisalLabIntegrationReportIdCheckboxChecked = 'AppraisalLabIntegration/Report-ID-Present-CTA',\r\n\r\n AppraisalLabIntegrationReportIdEntered = 'AppraisalLabIntegration/Report-ID-Entered-CTA',\r\n\r\n AppraisalLabIntegrationReportFullMatchImported ='AppraisalLabIntegration/Report-Full-Match-Import-CTA',\r\n\r\n AppraisalLabIntegrationReportPartialMatchImported = ' AppraisalLabIntegration/Report-Partial-Match-Import-CTA',\r\n\r\n AppraisalLabIntegrationPartialDiamondSaved = 'AppraisalLabIntegration/Report-Partial-Diamond-Save-CTA',\r\n\r\n AppraisalLabIntegrationFullDiamondSaved = 'AppraisalLabIntegration/Report-Full-Diamond-Save-CTA',\r\n\r\n AppraisalLabIntegrationReportProblemDetected = 'AppraisalLabIntegration/Report-Problem-Detected',\r\n\r\n AppraisalLabIntegrationReportMismatchDetected = 'AppraisalLabIntegration/Report-Mismatch-Detected',\r\n\r\n AppraisalLabIntegrationReportFailureDetected = 'AppraisalLabIntegration/Report-Failure-Detected',\r\n //#endregion\r\n\r\n //#region Click events\r\n UpdateCompanyInfoBtnClicked = 'UpdateCompanyInfoBtnClicked',\r\n\r\n UpdateProfileInfoBtnClicked = 'UpdateProfileInfoBtnClicked'\r\n //#endregion\r\n}\r\n","export enum BusinessServiceType {\r\n\r\n // Business offers Personal line insurance\r\n CarePlan = 1,\r\n\r\n // Business offers Shipping service\r\n Shipping = 2 ,\r\n\r\n // Business offers Commercial line insurance\r\n CommercialInsurance = 3 ,\r\n\r\n // Business offers Personal line insurance\r\n PersonalInsurance = 4 ,\r\n\r\n // Business offers Partner gateway\r\n PartnerGateway = 5,\r\n\r\n // Business offers Appraisal of jewelry\r\n Appraisal = 6,\r\n\r\n // Business offers MarketPlace\r\n MarketPlace = 7,\r\n\r\n // Business offers Point of sale\r\n PointOfSaleIntegration= 8,\r\n\r\n // Business offers Memo\r\n Memo = 9,\r\n\r\n // Business offers Jeweler Pages\r\n JewelerPages = 11,\r\n\r\n // Business offers Auction\r\n Auction = 12,\r\n\r\n // Business service which is not defined on platform Yet\r\n Custom = 999\r\n}\r\n","export enum DateRangeType {\r\n Today = 1,\r\n Last7Days = 2,\r\n CurrentMonth = 3,\r\n LastMonth = 4,\r\n Last3Months = 5,\r\n Last6Months = 6,\r\n AllHistory = 7,\r\n SpecificDateRange = 8,\r\n Last60Days = 9,\r\n Last15Days = 10,\r\n Last30Days = 11,\r\n}\r\n","export enum DiamondType {\r\n Natural = 0,\r\n Lab = 1,\r\n Both = 2\r\n}","export enum FeatureName {\r\n ZingMemoActive = 'Zing.Memo.Active',\r\n ZingShippingForbiddenWordsOnlyLetters = 'Zing.Shipping.ForbiddenWords.OnlyLetters',\r\n ZingShipStationActive = 'Zing.Shipping.ShipStationActive',\r\n ZingMarketplaceNivodaEnabled = 'Zing.Marketplace.NivodaEnabled',\r\n ZingMarketplaceReturnDiamondsEnabled = 'Zing.Marketplace.ReturnDiamondsEnabled',\r\n ZingShippingEtsyActive = 'Zing.Shipping.EtsyActive',\r\n ZingShippingFedExActive = 'Zing.Shipping.FedExActive',\r\n ZingShippingPickupWarningActive = 'Zing.Shipping.PickupWarningActive',\r\n ZingShippingWooCommerceActive = 'Zing.Shipping.WooCommerceActive',\r\n ZingPointOfSaleIntegrationJmccIsRegistrationEnabled = 'Zing.PointOfSaleIntegration.Jmcc.IsRegistrationEnabled',\r\n ZingMarketplaceNaturalDiamondsEnabled = 'Zing.Marketplace.NaturalDiamondsEnabled',\r\n ZingMarketplaceSharedNaturalDiamondViewEnabled = 'Zing.Marketplace.SharedNaturalDiamondViewEnabled'\r\n}\r\n","export enum MarketplacePartnerAffiliationType {\r\n None = 0,\r\n AGS = 1,\r\n GemAndJewel = 2\r\n}\r\n","export enum MarketplaceServicePermissionStatus {\r\n NotActive = 0,\r\n Active = 1\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { Injectable } from '@angular/core';\r\nimport { SecurityQuestion } from '../models/security-question';\r\nimport { Observable, of } from 'rxjs';\r\nimport { Invite } from '../../guest/modules/models/invite';\r\nimport { map, tap } from 'rxjs/operators';\r\nimport { encodeBase64 } from '@progress/kendo-file-saver';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AccountService {\r\n\r\n public usersSecurityQuestions: Array\r\n\r\n\r\n\r\n\r\n = new Array ();\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) {\r\n this.usersSecurityQuestions = [];\r\n }\r\n\r\n getSecurityQuestions() {\r\n const url = environment.identityApiURL + '/api/SecurityQuestions/search';\r\n return this.http\r\n .post >(url, {})\r\n .pipe(map(response => response['items']));\r\n }\r\n\r\n register(data: any) {\r\n const url = environment.identityApiURL + '/Account/Register';\r\n return this.http.post(url, data);\r\n }\r\n\r\n registerViaInvite(data: any) {\r\n const url = environment.identityApiURL + `/Account/RegisterViaInvite/${data.inviteCode}`;\r\n return this.http.post(url, data);\r\n }\r\n\r\n resetPassword(data: {\r\n email: string;\r\n token: string;\r\n newPassword: string;\r\n }) {\r\n const url = environment.identityApiURL + '/Account/ResetPassword';\r\n return this.http.post(url, data);\r\n }\r\n\r\n resetClPassword(data: {\r\n email: string;\r\n }) {\r\n const url = environment.identityApiURL + '/account/CLRegistrationResetPassword';\r\n return this.http.post(url, data);\r\n }\r\n\r\n loginWith2fa(provider: string, twoFactorCode: string) {\r\n const url = environment.identityApiURL + '/Account/LoginWith2fa';\r\n const providerType = provider === 'email' ? 'Email' : 'Phone';\r\n return this.http.post(url, { providerType, twoFactorCode });\r\n }\r\n\r\n verifyInviteCode(inviteCode: string): Observable {\r\n const url = environment.membershipApiURL + `/api/Invites/Code?invitecode=${inviteCode}`;\r\n return this.http.get (url);\r\n }\r\n /**\r\n * Get Person's Security questions.\r\n * @param userId ReferenceId of the Person.\r\n */\r\n getUsersSecurityQuestions(userId: string): Observable > {\r\n if (this.usersSecurityQuestions.length === 0) {\r\n const url = environment.identityApiURL + `/Account/GetSecurityQuestionFromUser/${userId}`;\r\n return this.http\r\n .get >(url).pipe(tap(result => {\r\n if (result) {\r\n this.usersSecurityQuestions = result;\r\n }\r\n }));\r\n } else {\r\n return of(this.usersSecurityQuestions);\r\n }\r\n }\r\n /**\r\n * Update current User's security questions.\r\n * @param changedQuestions Updated security questions with User Id for which questions are updated.\r\n */\r\n changeSecurityQuestions(changedQuestions) {\r\n const url = environment.identityApiURL + `/Account/ChangeSecurityQuestions`;\r\n\r\n const answer1 = changedQuestions['securityQAs'][0]['answerText'];\r\n const answer2 = changedQuestions['securityQAs'][1]['answerText'];\r\n\r\n changedQuestions['securityQAs'][0]['answerText'] = encodeBase64(answer1);\r\n changedQuestions['securityQAs'][1]['answerText'] = encodeBase64(answer2);\r\n\r\n return this.http\r\n .post(`${url}`, changedQuestions);\r\n }\r\n\r\n getExistingUserDetails(guid: string): Observable {\r\n const url = environment.membershipApiURL + `/api/usermigration/${guid}`;\r\n return this.http.get(url);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { Router, NavigationEnd } from '@angular/router';\r\nimport { AppInsights } from 'applicationinsights-js';\r\nimport { Angulartics2AppInsights } from 'angulartics2/appinsights';\r\nimport { Angulartics2 } from 'angulartics2';\r\nimport { ApplicationInsights } from '@microsoft/applicationinsights-web';\r\nimport { Subscription } from 'rxjs';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { ProfileService } from './profile.service';\r\nimport { maskEmail } from '../../../utils/formatters';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { PartnerService } from './partner.service';\r\nimport { MarketplacePartnerAffiliationType } from '../enums/marketplace-partner-affiliation-types';\r\nimport { filter, take } from 'rxjs/operators';\r\nimport { AnalyticsCustomEvents } from '../enums/analytics-custom-events';\r\nimport { MixPanelService } from './mix-panel.service';\r\nimport { EventName } from './mix-panel-event-names-config';\r\n\r\nconst applicationInsights = new ApplicationInsights({\r\n config: {\r\n instrumentationKey: `${environment.instrumentationKey}`\r\n }\r\n});\r\n\r\n@Injectable()\r\nexport class AnalyticsService extends Angulartics2AppInsights {\r\n public subscriptions = new Array ();\r\n events: any[] = [];\r\n dimensions = {};\r\n\r\n get email() { return maskEmail(this.profileService.person ? this.profileService.person.email : ''); }\r\n\r\n constructor(\r\n public analytics: Angulartics2,\r\n private documentTitle: Title,\r\n private route: Router,\r\n private profileService: ProfileService,\r\n private translateService: TranslateService,\r\n private partnerService: PartnerService,\r\n private mixPanel: MixPanelService\r\n ) {\r\n super(analytics, documentTitle, route);\r\n if (!AppInsights.config) {\r\n AppInsights.downloadAndSetup(applicationInsights.config);\r\n }\r\n\r\n this.profileService.personLoadedObs$.pipe(\r\n filter(loaded => loaded),\r\n take(1)\r\n )\r\n .subscribe(() => {\r\n this.analytics.settings.developerMode = this.analytics.settings.developerMode || this.profileService.person.disableAnalytics;\r\n this.mixPanel.initializeMixPanel(this.profileService.person);\r\n });\r\n }\r\n\r\n /**\r\n * Helper method to disable analytics\r\n */\r\n disableAnalytics() {\r\n this.analytics.settings.developerMode = true;\r\n }\r\n\r\n /**\r\n * start tracking time of a custom event\r\n *\r\n * @param eventName Name of the event\r\n */\r\n startCustomTracking(eventName: string) {\r\n this.events.push({\r\n event: eventName,\r\n startTime: new Date()\r\n });\r\n }\r\n /**\r\n * pushes into list of resume times for a custom event\r\n * or invokes start if event is not present\r\n *\r\n * @param eventName Name of the event\r\n */\r\n resumeCustomTracking(eventName: string) {\r\n const event = this.events.find(x => x.event === eventName);\r\n if (event != null) {\r\n event['resumeTimes'] = event['resumeTimes'] || [];\r\n const pausedTimes = event.pauseTimes ? event.pauseTimes.length : 0;\r\n if (event.resumeTimes.length < pausedTimes) {\r\n event['resumeTimes'].push(new Date());\r\n }\r\n } else {\r\n this.startCustomTracking(eventName);\r\n }\r\n }\r\n /**\r\n * pushes into list of pause times for a custom event\r\n *\r\n * @param eventName Name of the event\r\n */\r\n pauseCustomTracking(eventName: string) {\r\n const event = this.events.find(x => x.event === eventName);\r\n const stamp = new Date();\r\n if (event != null) {\r\n event['pauseTimes'] = event['pauseTimes'] || [];\r\n const resumedTimes = event.resumeTimes ? event.resumeTimes.length : 0;\r\n if (event.pauseTimes.length === resumedTimes) {\r\n event['pauseTimes'].push(stamp);\r\n event['stopTime'] = stamp;\r\n }\r\n }\r\n }\r\n /**\r\n * stop tracking time of custom event\r\n *\r\n * @param eventName Name of the event\r\n */\r\n stopCustomTracking(eventName: string) {\r\n const event = this.events.find(x => x.event === eventName);\r\n if (event != null) {\r\n event['stopTime'] = new Date();\r\n }\r\n }\r\n /**\r\n * removes from list of current events the given events\r\n *\r\n * @param eventNames array of event names to remove\r\n */\r\n disposeCustomTracking(eventNames: string[]) {\r\n this.events = this.events.filter(x => !eventNames.includes(x.event));\r\n }\r\n /**\r\n * get tracked time of the custom event\r\n *\r\n * @param eventName Name of the event\r\n * @param includePausedTime wheter to include paused times in calculation\r\n */\r\n getTrackedTime(eventName: string, includePausedTime = true) {\r\n const event = this.events.find(x => x.event === eventName);\r\n let pausedTime = 0;\r\n if (event != null) {\r\n const totalTime = +event.stopTime - +event.startTime;\r\n if (event.pauseTimes !== undefined) {\r\n event.pauseTimes.forEach((element, index) => {\r\n if (event.resumeTimes !== undefined && event.resumeTimes[index] !== undefined\r\n && element !== undefined && +event.resumeTimes[index] > +element) {\r\n pausedTime += +event.resumeTimes[index] - +element;\r\n }\r\n });\r\n }\r\n if (includePausedTime) {\r\n return totalTime.toString();\r\n } else {\r\n return (totalTime - pausedTime).toString();\r\n }\r\n } else {\r\n return '0';\r\n }\r\n }\r\n /**\r\n * get non contiguous tracked time segments of the custom event\r\n *\r\n * @param eventName Name of the event\r\n */\r\n getNonContiguousTrackedTimes(eventName: string) {\r\n const event = this.events.find(x => x.event === eventName);\r\n const times: string[] = [];\r\n if (event != null) {\r\n if (event.pauseTimes !== undefined && event.resumeTimes !== undefined\r\n && event.pauseTimes.length > 0 && event.resumeTimes.length > 0) {\r\n times.push((+event.pauseTimes[0] - +event.startTime).toString());\r\n event.pauseTimes.forEach((element, index) => {\r\n // skip element 0 of paused times since computed above\r\n if (index - 1 >= 0 && event.resumeTimes[index - 1] !== undefined\r\n && element !== undefined && +event.resumeTimes[index - 1] < +element) {\r\n times.push((+element - +event.resumeTimes[index - 1]).toString());\r\n }\r\n });\r\n } else {\r\n times.push((+event.stopTime - +event.startTime).toString());\r\n }\r\n }\r\n return times;\r\n }\r\n /**\r\n * generate correlationId to relate custom events\r\n */\r\n generateCorrelationId() {\r\n return '_' + Math.random().toString(36).substr(2, 9);\r\n }\r\n\r\n /**\r\n * Override NgxAnalyticsAppInsights pageTrack method to track page title\r\n */\r\n pageTrack(path: string) {\r\n if (this.subscriptions.length > 0) {\r\n this.subscriptions.forEach(s => s.unsubscribe());\r\n }\r\n\r\n if (this.route.routerState) {\r\n this.trackPageTitle();\r\n } else {\r\n const sub = this.route.events.subscribe(event => {\r\n if (event instanceof NavigationEnd) {\r\n this.trackPageTitle(event.url);\r\n }\r\n });\r\n this.subscriptions.push(sub);\r\n }\r\n }\r\n\r\n /**\r\n * Track active subscription products\r\n */\r\n trackActiveProducts() {\r\n this.route.events.subscribe(event => {\r\n if (event instanceof NavigationEnd) {\r\n this.productActiveOnDashboard(event.url);\r\n }\r\n });\r\n }\r\n\r\n sendProductActiveEvent(product: string) {\r\n this.analytics.eventTrack.next({\r\n action: `ProductActive-${product}`,\r\n properties: { Email: this.email }\r\n });\r\n }\r\n\r\n /**\r\n * Log custom event that product is active on dashboard visit\r\n *\r\n * @param url path user got redirected to\r\n */\r\n private productActiveOnDashboard(url?: string) {\r\n let product = '';\r\n let partner = MarketplacePartnerAffiliationType.None;\r\n if (url.includes('shipping/dashboard')) {\r\n product = 'Shipping';\r\n } else if (url.includes('appraisals/dashboard') || url.endsWith('/appraisals')) {\r\n product = 'Appraisal';\r\n } else if (url.includes('marketplace/dashboard') || url.endsWith('/marketplace')) {\r\n product = 'Marketplace';\r\n // eslint-disable-next-line max-len\r\n partner = this.profileService.person ? this.partnerService.getSelectedPartner(this.profileService.person) : MarketplacePartnerAffiliationType.None;\r\n } else if (url.includes('policy/business/dashboard') || url.endsWith('policy/business')) {\r\n product = 'BusinessInsurance';\r\n } else if (url.includes('memo/dashboard')) {\r\n product = 'Memo';\r\n } else if (url.includes('jewelerpages/dashboard') || url.endsWith('/jewelerpages')) {\r\n product = 'JewelerPages';\r\n } else if (url === '/dashboard') {\r\n product = 'ZingDashboard';\r\n } else {\r\n return;\r\n }\r\n this.sendProductActiveEvent(product);\r\n\r\n if (partner === MarketplacePartnerAffiliationType.AGS) {\r\n this.analytics.eventTrack.next({\r\n action: `PartnerActive-${MarketplacePartnerAffiliationType[partner]}`,\r\n properties: { Email: this.email }\r\n });\r\n\r\n this.mixPanel.sendTrackingRequest(\r\n `PartnerActive-${MarketplacePartnerAffiliationType[partner]}`,\r\n { Email: this.email });\r\n }\r\n }\r\n\r\n private trackPageTitle(url?: string) {\r\n if (this.dimensions && (!this.dimensions['Email'] || this.dimensions['Email'] !== this.email)) {\r\n this.dimensions['Email'] = this.email;\r\n }\r\n const title = this.getTitle(this.route.routerState, this.route.routerState.root).join('-');\r\n appInsights.trackPageView(\r\n title,\r\n url,\r\n this.dimensions,\r\n this.metrics,\r\n this.loadTime\r\n );\r\n this.mixPanel.sendTrackingRequest(\r\n title,\r\n {\r\n url,\r\n 'dimensions': this.dimensions,\r\n 'metrics': this.metrics,\r\n 'loadTime': this.loadTime\r\n });\r\n }\r\n\r\n private getTitle(state, parent) {\r\n const data = [];\r\n if (parent && parent.snapshot.data && parent.snapshot.data.title) {\r\n data.push(this.translate(parent.snapshot.data.title));\r\n }\r\n\r\n if (state && parent) {\r\n data.push(... this.getTitle(state, state.firstChild(parent)));\r\n }\r\n return data;\r\n }\r\n\r\n /**\r\n * If we are using translation for page title use\r\n * translate service to get the title\r\n *\r\n * @param title Page title\r\n * @returns Translated page title\r\n */\r\n private translate(title: string): string {\r\n if (title.startsWith('Titles.')) {\r\n title = this.translateService.instant(title);\r\n }\r\n return title;\r\n }\r\n\r\n public setAnalyticsEvent(analyticsCustomEvents: AnalyticsCustomEvents, properties) {\r\n this.analytics.eventTrack.next({\r\n action: analyticsCustomEvents,\r\n properties\r\n });\r\n }\r\n\r\n public sendTrackingRequest(eventName: EventName, eventObject: object) {\r\n this.mixPanel.sendTrackingRequest(\r\n eventName, eventObject);\r\n }\r\n\r\n public identifyByReferenceId(referenceId){\r\n this.mixPanel.identifyByReferenceId(referenceId);\r\n }\r\n\r\n mixPanelReset() {\r\n this.mixPanel.reset();\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable()\r\nexport class BannerService {\r\n private placeholderUrl = environment.contentApiURL + '/api/banner';\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n getBanners(screentype, anonymous = false): Observable {\r\n const url = `${this.placeholderUrl}${anonymous ? '/anonymous' : ''}?screenType=${screentype}`;\r\n return this.http.get(url);\r\n }\r\n\r\n dismissBanner(banner): Observable {\r\n const url = `${this.placeholderUrl}/${banner.id}`;\r\n return this.http.put(url, banner);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { PaginatedResponse } from '../models/paginated-response.model';\r\n\r\n@Injectable()\r\nexport class BaseHttpService {\r\n\r\n /**\r\n * Base url of the API (domain)\r\n */\r\n public apiDomain: string;\r\n\r\n /**\r\n * Name of the endpoint which will be used\r\n */\r\n public endpoint: string;\r\n\r\n constructor(\r\n private httpClient: HttpClient\r\n ) { }\r\n\r\n /**\r\n * Return full url for specific endpoint\r\n */\r\n protected getFullEndpointUrl(): string {\r\n return `${this.apiDomain}/api/${this.endpoint}`;\r\n }\r\n\r\n get(): Observable {\r\n return this.httpClient.get (this.getFullEndpointUrl());\r\n }\r\n\r\n /**\r\n * Make http request to get the items\r\n * @param filter Object containing filter information\r\n */\r\n query(): Observable > {\r\n return this.httpClient\r\n .get >(`${this.getFullEndpointUrl()}`);\r\n }\r\n\r\n /**\r\n * Make http request for specific item\r\n * @param id Unique identifier\r\n */\r\n getById(id: string): Observable {\r\n return this.httpClient\r\n .get (`${this.getFullEndpointUrl()}/${id}`);\r\n }\r\n\r\n /**\r\n * Make http request to create new resource on the server\r\n * @param body New item\r\n */\r\n save(body: T) {\r\n return this.httpClient\r\n .post(this.getFullEndpointUrl(), body);\r\n }\r\n\r\n /**\r\n * Make http request to update specific item\r\n * @param id Unique identifier\r\n * @param body Object which contains new data\r\n */\r\n update(id: string, body: any = {}) {\r\n const url = `${this.getFullEndpointUrl()}/${id}`;\r\n return this.httpClient\r\n .put(url, body);\r\n }\r\n\r\n /**\r\n * Make http request to delete an item\r\n * @param id Unique identifier\r\n */\r\n delete(id: string) {\r\n const url = `${this.getFullEndpointUrl()}/${id}`;\r\n return this.httpClient\r\n .delete(url);\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Observable, Subject, of, forkJoin, BehaviorSubject, throwError } from 'rxjs';\r\nimport { Company } from '../../membership/modules/account/models/company.model';\r\nimport { BaseHttpService } from './base-http.service';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { BusinessServiceType } from '../enums/business-service-type';\r\nimport { delayWhen, map, catchError, tap } from 'rxjs/operators';\r\nimport { PaymentMethodService } from '../../membership/modules/account/services/payment-method.service';\r\nimport { ShippingUserDataService } from '../../membership/services/shipping-user-data.service';\r\nimport { AccountUserDataService } from '../../membership/services/account-user-data.service';\r\nimport { AnalyticsService } from './analytics.service';\r\nimport { MarketplacePartnerAffiliationType } from '../enums/marketplace-partner-affiliation-types';\r\nimport { MarketplacePartnerAffiliation } from '../models/marketplace-partner-affiliation';\r\nimport { ApprovalStatus } from '../../membership/modules/account/enums/approval-status';\r\nimport { RegistrationSource } from '../../membership/modules/account/models/person-source.enum';\r\nimport { RequestAccessResponseModel } from '../../membership/modules/shipping/models/request-access-model';\r\nimport { PaginatedResponse } from '../models/paginated-response.model';\r\nimport { BusinessClassificationCodes } from '../../guest/modules/models/enums/business-types';\r\n\r\nexport class AlertType {\r\n constructor(public type: string, public hasAlert: boolean, public alertContent: string) {\r\n }\r\n}\r\n\r\n@Injectable()\r\nexport class CompanyService extends BaseHttpService {\r\n\r\n get companyDetails(): Company {\r\n return this.company;\r\n }\r\n\r\n get companyExists(): boolean {\r\n return typeof this.companyDetails !== 'undefined' && this.companyDetails !== null;\r\n }\r\n\r\n get hasAppraisal(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionActive(BusinessServiceType.Appraisal);\r\n }\r\n\r\n get hasPendingAppraisal(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionPending(BusinessServiceType.Appraisal);\r\n }\r\n\r\n get hasPointOfSaleIntegration(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionActive(BusinessServiceType.PointOfSaleIntegration);\r\n }\r\n\r\n get hasCarePlan(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionActive(BusinessServiceType.CarePlan);\r\n }\r\n\r\n get hasCarePlanInactive(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionInactive(BusinessServiceType.CarePlan);\r\n }\r\n\r\n get hasActivePosSubscription(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionActive(BusinessServiceType.PointOfSaleIntegration);\r\n }\r\n\r\n get hasInactivePosSubscription(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionInactive(BusinessServiceType.PointOfSaleIntegration);\r\n }\r\n\r\n get hasPendingPosSubscription(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionPending(BusinessServiceType.PointOfSaleIntegration);\r\n }\r\n\r\n // this will return true if user has subscription. The subscription can be Active or Inactive\r\n // This only checks if the company subscribed to Care Plan,\r\n get hasCarePlanSubscription(): boolean {\r\n return this.companyExists && this.companyDetails.hasServiceSubscription(BusinessServiceType.CarePlan);\r\n }\r\n\r\n get hasShippingSubscription(): boolean {\r\n return this.companyExists && this.companyDetails.hasServiceSubscription(BusinessServiceType.Shipping);\r\n }\r\n\r\n get hasShipping(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionActive(BusinessServiceType.Shipping);\r\n }\r\n\r\n get shippingHasBeenDeactivated(): boolean {\r\n return this.companyDetails.subscriptions.some(sub => sub.serviceType === BusinessServiceType.Shipping &&\r\n (sub.approvalStatus === ApprovalStatus.Rejected || sub.activeUntil != null) && sub.isActive === false);\r\n }\r\n\r\n get hasMarketplace(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionActive(BusinessServiceType.MarketPlace);\r\n }\r\n\r\n get hasInactiveMarketplace(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionInactive(BusinessServiceType.MarketPlace);\r\n }\r\n\r\n get hasMarketPlaceSubscription(): boolean {\r\n return this.companyExists && this.companyDetails.hasServiceSubscription(BusinessServiceType.MarketPlace);\r\n }\r\n\r\n get hasBusinessInsurance(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionActive(BusinessServiceType.CommercialInsurance);\r\n }\r\n\r\n // this will return true if user has subscription. The subscription can be Active or Inactive\r\n // This only checks if the company subscribed to Business Insurance,\r\n get hasBusinessInsuranceSubscription(): boolean {\r\n return this.companyExists && this.companyDetails.hasServiceSubscription(BusinessServiceType.CommercialInsurance);\r\n }\r\n\r\n get hasPersonalInsurance(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionActive(BusinessServiceType.PersonalInsurance);\r\n }\r\n\r\n get hasCustomService(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionActive(BusinessServiceType.Custom);\r\n }\r\n\r\n get hasPartnerGateway(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionActive(BusinessServiceType.PartnerGateway);\r\n }\r\n\r\n get hasOnlyPartnerGateway(): boolean {\r\n return this.companyExists\r\n && this.companyDetails.isSubscriptionActive(BusinessServiceType.PartnerGateway)\r\n && this.companyDetails.subscriptions.filter(s => s.isActive && s.approvalStatus === ApprovalStatus.Approved).length === 1;\r\n }\r\n\r\n get hasBusinessInsuranceSubscriptionPending(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionPending(BusinessServiceType.CommercialInsurance);\r\n }\r\n\r\n get hasCarePlanSubscriptionPending(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionPending(BusinessServiceType.CarePlan);\r\n }\r\n\r\n get isAppraisalSubscriptionInactive(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionInactive(BusinessServiceType.Appraisal);\r\n }\r\n get hasMarketPlaceSubscriptionPending(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionPending(BusinessServiceType.MarketPlace);\r\n }\r\n\r\n get isCompanyFromQuebec(): boolean {\r\n return this.companyExists &&\r\n this.hasCompanyAddress() &&\r\n (this.companyDetails.address.countryId === 'CA' || this.companyDetails.address.countryId === 'CAN') &&\r\n this.companyDetails.address.stateId === 'QC';\r\n }\r\n\r\n get hasMemoSubscription(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionActive(BusinessServiceType.Memo);\r\n }\r\n\r\n get hasActiveJewelerPagesSubscription(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionActive(BusinessServiceType.JewelerPages);\r\n }\r\n\r\n get hasInactiveJewelerPagesSubscription(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionInactive(BusinessServiceType.JewelerPages);\r\n }\r\n\r\n get hasAuctionSubscription(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionActive(BusinessServiceType.Auction);\r\n }\r\n\r\n get hasSellerEnabled(): boolean{\r\n return this.hasAuctionSubscription &&\r\n this.companyDetails.subscriptions.find(s => s.serviceType === BusinessServiceType.Auction)?.sellerEnabled;\r\n }\r\n\r\n get hasInactiveBusinessInsurance(): boolean {\r\n return this.companyExists && this.companyDetails.isSubscriptionInactive(BusinessServiceType.CommercialInsurance);\r\n }\r\n\r\n get isCanadaCompany(): boolean {\r\n const country = this.company.address?.countryId;\r\n return country === 'CAN' || country === 'CA';\r\n }\r\n\r\n get isNonJeweler(): boolean {\r\n return this.companyExists && this.companyDetails.classification?.code === BusinessClassificationCodes.NonJeweler;\r\n }\r\n\r\n public companyLoaded = new BehaviorSubject (false);\r\n\r\n public companyApiDomain = environment.membershipApiURL + '/api/companies';\r\n public company: Company;\r\n\r\n public addressAdded = new Subject ();\r\n constructor(\r\n private http: HttpClient,\r\n private shippingUserDataService: ShippingUserDataService,\r\n private accountUserDataService: AccountUserDataService,\r\n private paymentMethodService: PaymentMethodService,\r\n private analyticsService: AnalyticsService\r\n ) {\r\n super(http);\r\n this.apiDomain = environment.membershipApiURL;\r\n this.endpoint = 'companies';\r\n this.alert = new AlertType('', false, '');\r\n }\r\n\r\n /**\r\n * Alert flag for alert component which will be triggered from other components.\r\n */\r\n public alert: AlertType;\r\n\r\n /**\r\n * Make http request for specific item\r\n *\r\n * @param refId Reference Id of the user logged in\r\n */\r\n getCompanyProfile(forceLoad: boolean = false): Observable {\r\n if (!this.company || forceLoad) {\r\n return this.http.get (`${this.getFullEndpointUrl()}/profile`)\r\n .pipe(\r\n map(res => new Company(res)),\r\n tap(company => {\r\n this.company = company;\r\n if (!!company.analyticsDeactivated) {\r\n this.analyticsService.disableAnalytics();\r\n }\r\n this.companyLoaded.next(true);\r\n }),\r\n delayWhen(company => {\r\n const ignoreFailRequest = catchError(() => of(null));\r\n const requests: Observable [] = [this.accountUserDataService.loadUserData().pipe(ignoreFailRequest)];\r\n if (company.isSubscriptionActive(BusinessServiceType.Shipping)) {\r\n requests.push(this.paymentMethodService.fetch(company.companyId).pipe(ignoreFailRequest));\r\n requests.push(this.shippingUserDataService.loadUserData().pipe(ignoreFailRequest));\r\n }\r\n return forkJoin(requests);\r\n })\r\n );\r\n } else {\r\n return of(this.company);\r\n }\r\n }\r\n\r\n /**\r\n * Validates FEIN Id value.\r\n *\r\n * @param feinId FEIN Id of the Company.\r\n */\r\n validateFeinId(feinId: string) {\r\n return this.http\r\n .get<{\r\n federalTaxIdentificationNumber: string;\r\n feinIdExists: boolean;\r\n }>(`${this.companyApiDomain}/ValidateFeinId?feinId=${feinId}`);\r\n }\r\n\r\n /**\r\n * Updates person with company relationship.\r\n *\r\n * @param company Company to associate person with.\r\n */\r\n associatePersonWithCompany(company) {\r\n return this.http.post (`${this.getFullEndpointUrl()}/associateCompany`, company);\r\n }\r\n\r\n hasCompanyAddress() {\r\n return this.company && this.company.address && !!this.company.address.addressLine1;\r\n }\r\n\r\n isCarePlanJeweler(): boolean {\r\n return this.company && this.company.isCarePlanJeweler();\r\n }\r\n isCarePlanRepairCenter(): boolean {\r\n return this.company && this.company.isCarePlanRepairCenter();\r\n }\r\n\r\n getParnetAffiliation(affiliationType: MarketplacePartnerAffiliationType): MarketplacePartnerAffiliation {\r\n if (this.companyExists) {\r\n return this.companyDetails.getPartnerAffiliation(affiliationType);\r\n }\r\n\r\n return undefined;\r\n }\r\n\r\n hasShipmentPreference(): boolean {\r\n const company = this.companyDetails;\r\n const shipmentPreference = company.subscriptions.find(sub => sub.serviceType === BusinessServiceType.Shipping &&\r\n (sub.preferredShipmentProviders || sub.submitterRegistrationId) && sub.avgShipmentsPerWeek.length > 0);\r\n\r\n return !!shipmentPreference || company.companySource === RegistrationSource.IShipJM;\r\n }\r\n\r\n getCompanyLogo() {\r\n return this.http.get(`${this.getFullEndpointUrl()}/${this.company.id}/logos`, {responseType: 'blob'});\r\n }\r\n\r\n uploadCompanyLogo(formData: FormData): Observable {\r\n return this.http.post (`${this.getFullEndpointUrl()}/${this.company.id}/logos`, formData, {\r\n headers: new HttpHeaders({\r\n uploadFile: 'true'\r\n }),\r\n responseType: 'text' as 'json'\r\n });\r\n }\r\n\r\n /**\r\n * Requests shipping for BA user and user's company\r\n *\r\n * @param companyId User's company ID\r\n */\r\n public requestShipping(companyId: string): Observable {\r\n return this.http.put (`${this.getFullEndpointUrl()}/requestshipping/${companyId}`, null);\r\n }\r\n\r\n searchCompaniesByName(searchTerm: string, skip: number, pageSize: number): Observable > {\r\n return this.http.post >(`${this.getFullEndpointUrl()}/search`, {\r\n filter: `contains(name,'${searchTerm}')`,\r\n orderBy: 'CreatedOn desc',\r\n skip,\r\n top: pageSize\r\n });\r\n }\r\n}\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { GoogleTagManagerEvent } from '../models/gtm.model';\r\n\r\n@Injectable()\r\nexport class GTMService {\r\n private isLoaded = false;\r\n private gtmId: string;\r\n\r\n constructor() {\r\n this.gtmId = environment.gtmId;\r\n }\r\n\r\n public addGTM() {\r\n if (this.isLoaded) {\r\n return;\r\n }\r\n\r\n // add script in begining of head\r\n this.pushOnDataLayer({\r\n 'gtm.start': new Date().getTime(),\r\n event: 'gtm.js'\r\n });\r\n\r\n const gtmScript = document.createElement('script');\r\n gtmScript.async = true;\r\n gtmScript.src = `//www.googletagmanager.com/gtm.js?id=${this.gtmId}`;\r\n document.head.insertBefore(gtmScript, document.head.firstChild);\r\n\r\n // add iframe in body\r\n const iframe = document.createElement('iframe');\r\n iframe.setAttribute(\r\n 'src',\r\n `//www.googletagmanager.com/ns.html?id=${this.gtmId}`\r\n );\r\n iframe.style.width = '0';\r\n iframe.style.height = '0';\r\n iframe.style.display = 'none';\r\n iframe.style.visibility = 'hidden';\r\n\r\n const noscript = document.createElement('noscript');\r\n noscript.appendChild(iframe);\r\n\r\n document.body.insertBefore(noscript, document.body.firstChild);\r\n this.isLoaded = true;\r\n }\r\n\r\n public getDataLayerRef() {\r\n window['dataLayer'] = window['dataLayer'] || [];\r\n return window['dataLayer'];\r\n }\r\n\r\n private pushOnDataLayer(obj: object) {\r\n const dataLayer = this.getDataLayerRef();\r\n dataLayer.push(obj);\r\n }\r\n\r\n public pushTag(item: GoogleTagManagerEvent) {\r\n if (!this.isLoaded) {\r\n this.addGTM();\r\n }\r\n this.pushOnDataLayer(item);\r\n }\r\n\r\n public pushTags(items: GoogleTagManagerEvent[]) {\r\n if (!this.isLoaded) {\r\n this.addGTM();\r\n }\r\n items.forEach(item => this.pushOnDataLayer(item));\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { Observable } from 'rxjs';\r\nimport { AddressSearchResult } from '../models/address-search-result';\r\n\r\nimport { AddressLayoutResult, AddressValidationResult } from '../models/address-layout';\r\nimport { CountryCode } from '../../appraisal/enums/country-code';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AddressService {\r\n\r\n private addressApiUrl = environment.riskApiURL + '/api' + '/addresses';\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n search(addressQueryModel: {\r\n query: string,\r\n country: string,\r\n id?: string,\r\n secondaryAddress?: string\r\n }): Observable {\r\n if (addressQueryModel.country === 'US') {\r\n addressQueryModel.country = 'USA';\r\n }\r\n return this.http\r\n .post (`${this.addressApiUrl}/search`, addressQueryModel);\r\n }\r\n\r\n verify(address: AddressLayoutResult): Observable {\r\n if (address.country === 'US') {\r\n address.country = 'USA';\r\n }\r\n return this.http\r\n .post (`${this.addressApiUrl}/validate`, address);\r\n }\r\n\r\n searchByZipCode(zipCode: string): Observable<{\r\n city: string,\r\n state: string,\r\n zipCode: string\r\n }> {\r\n const url = environment.riskApiURL + `/api/zipcodes/search`;\r\n return this.http.post<{\r\n city: string,\r\n state: string,\r\n zipCode: string\r\n }>(url, { zipCode });\r\n }\r\n\r\n countryAlpha2ToAlpha3(countryId: string): string {\r\n switch (countryId) {\r\n case 'US':\r\n return CountryCode.USA;\r\n case 'CA':\r\n return CountryCode.CAN;\r\n default:\r\n return countryId;\r\n }\r\n }\r\n\r\n countryAlpha3ToAlpha2(countryId: string): string {\r\n switch (countryId) {\r\n case CountryCode.USA:\r\n return 'US';\r\n case CountryCode.CAN:\r\n return 'CA';\r\n default:\r\n return countryId;\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { CompanyService } from './company.service';\r\n\r\n@Injectable()\r\nexport class CompanyDocumentsService {\r\n\r\n /**\r\n * Base url of the API (domain)\r\n */\r\n public apiDomain: string;\r\n\r\n /**\r\n * Name of the endpoint which will be used\r\n */\r\n public endpoint: string;\r\n\r\n constructor(\r\n private http: HttpClient,\r\n private companyService: CompanyService\r\n ) {\r\n this.apiDomain = environment.membershipApiURL;\r\n this.endpoint = 'documents';\r\n }\r\n\r\n uploadLogo(formData: FormData): Observable {\r\n const url = `${this.apiDomain}/api/companies/${this.companyService.company.id}/logos`;\r\n const uploadOptions = {\r\n headers: new HttpHeaders({ 'uploadFile': 'true' })\r\n };\r\n\r\n return this.http.post (url, formData, uploadOptions);\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'z-message-spinner',\r\n templateUrl: './message-spinner.component.html',\r\n styleUrls: ['./message-spinner.component.scss']\r\n})\r\nexport class MessageSpinnerComponent {\r\n message: string;\r\n}\r\n","