{"version":3,"sources":["Core/Api/UserManagement/Api.ts","Core/ConfigUtility/ConfigUtility.tsx","Core/Utility/Utility.tsx","Context/AuthContext.ts","components/Layout/AppMenu/AppMenu.tsx","assets/images/logo.png","components/Styled/Logo/Logo.tsx","components/Layout/AdminLayout/Sidebar/Sidebar.tsx","components/Forms/FormControl/FormControl.tsx","components/Forms/FormControl/index.js","Core/Api/Kopp/Api.ts","components/UserManagement/LoginForm/LoginForm.Style.ts","Core/NotificationUtility/NotificationUtility.tsx","Core/TokenUtility/TokenUtility.tsx","Core/LoaderUtility/LoaderUtility.tsx","Core/Api/SecuredAxios.tsx","Core/Api/Kopp/SecuredKoppClient.ts","components/UserManagement/LoginForm/LoginFormHandler.ts","Core/ValidationUtility/ValidationUtility.tsx","components/ReCaptcha/ReCaptcha.tsx","Core/LoginUtility/LoginUtility.tsx","components/SubmitButton/SubmitButton.tsx","components/UserManagement/LoginForm/LoginForm.tsx","Pages/LoginPage/LoginPage.tsx","components/UserManagement/Logout/Logout.tsx","components/UserManagement/Logout/LogoutHandler.ts","Pages/LogoutPage/LogoutPage.tsx","assets/images/Landing_Page_Graphic.png","assets/images/KWL_Banking_Information.jpg","Pages/HomePage/HomeDescription/HomeDescription.tsx","Core/Api/Payment/Api.ts","Core/Api/SecuredUMATokenAxios.tsx","Core/Api/Payment/SecuredPaymentClient.ts","components/UserManagement/Profile/CreditCardRegistrationForm/CreditCardRegistrationFormHandler.ts","components/Payment/CardRegistrationNotificationView/CardRegistrationNotificationView.tsx","components/Styled/ScreenHelper.ts","components/Styled/Layout.Styled.tsx","components/Payment/CardRegistrationNotificationView/CardRegistrationNotificationContent/CardRegistrationNotificationContent.tsx","components/Schedule/ArrivalSchedule/ArrivalScheduleForm/ArrivalScheduleForm.Style.ts","Core/Api/APMProxy/Api.ts","Core/Api/APMProxy/SecuredAPMProxyClient.ts","components/Schedule/ArrivalSchedule/ArrivalScheduleHandler.tsx","components/Schedule/ArrivalSchedule/ArrivalScheduleDataTable/ArrivalScheduleDataTable.tsx","components/Schedule/ArrivalSchedule/ArrivalScheduleForm/ArrivalScheduleForm.tsx","components/Schedule/ArrivalSchedule/ArrivalSchedule.tsx","components/Schedule/StrippingSchedule/StrippingScheduleHandler.ts","components/Schedule/StrippingSchedule/StrippingScheduleForm/StrippingSchedule.Style.ts","components/Schedule/StrippingSchedule/StrippingScheduleDataTable/StrippingScheduleDataTable.tsx","components/Schedule/StrippingSchedule/StrippingScheduleForm/StrippingScheduleForm.tsx","components/Schedule/StrippingSchedule/StrippingSchedule.tsx","Pages/HomePage/HomePage.Style.ts","Pages/HomePage/HomeRightSection/HomeRightSection.tsx","Pages/HomePage/HomePage.tsx","components/Layout/CenteredPageContainer/CenteredPageContainer.tsx","Pages/ArrivalSchedulePage/ArrivalSchedulePage.tsx","Core/Api/UserManagement/SecuredUserManagementClient.ts","components/Registration/EmailConfirmationForm/EmailConfirmationHandler.ts","components/Registration/EmailConfirmationForm/EmailConfirmation.Stlye.tsx","components/Registration/EmailConfirmationForm/EmailConfirmationForm.tsx","Pages/RegistrationPage/EmailConfirmationPage/EmailConfirmationPage.tsx","components/Registration/RegistrationWizard/RegistrationWizardForm/RegistrationWizardHandler.ts","components/Forms/MaskedInput/MaskedInput.tsx","components/Registration/RegistrationWizard/RegistrationWizardForm/RegistrationWizardForm.Styled.tsx","Core/FormUtility/FormUtility.tsx","components/Information/TermsAndConditionsView/TermsAndConditionsView.tsx","components/Forms/TermsAndConditionLink/TermsAndConditionLink.tsx","components/Registration/RegistrationWizard/RegistrationWizardForm/RegistrationWizardForm.tsx","Pages/RegistrationWizardPage/RegistrationWizardPage.tsx","components/Transactions/TransactionsHistoryView/TransactionsHistoryHandler.ts","components/Transactions/TransactionsHistoryView/TransactionsHistoryView.tsx","Pages/TransactionHistoryPage/TransactionHistoryPage.tsx","components/UserManagement/ForgetPassword/LoginForgetPasswordForm/LoginForgetPasswordFormHandler.ts","components/UserManagement/ForgetPassword/LoginForgetPasswordForm/LoginForgetPasswordForm.tsx","Pages/ForgetPasswordPage/ForgetPasswordPage.tsx","Pages/Schedule/StrippingSchedulePage/StrippingSchedulePage.tsx","components/CargoCharges/CargoChargesSearchBar/CargoChargesSearchBar.Style.ts","components/Forms/ShowIfTrue/ShowIfTrue.tsx","components/Forms/DateInJamaicaLabel/DateInJamaicaLabel.tsx","components/CargoCharges/CargoChargesSearchBar/CargoChargesSearchBar.tsx","components/CargoCharges/CargoCharges.Style.ts","components/CargoCharges/CargoChargesResults/CargoChargesResults.tsx","Context/CartContext.ts","components/CargoCharges/CargoChargesResults/CargoChargeItem/CargoChargeItemHandler.ts","components/CartManagement/CartHandler.ts","components/CargoCharges/CargoChargesForm/CargoChargesFormHandler.ts","components/CartManagement/CartItemListItem/CartItemListItem.tsx","components/CartManagement/CartItemListItem/CartItemChangeDateForm/CartItemChangeDateForm.tsx","components/CargoCharges/CargoChargesResults/CargoChargeItem/CargoChargeItem.tsx","components/CargoCharges/CargoChargesForm/ProceedToCartButton/ProceedToCartButton.tsx","components/CargoCharges/CargoChargesForm/CargoChargesForm.tsx","Pages/CargoChargesPage/CargoChargesPage.tsx","components/UserManagement/ForgetPassword/ForgetPasswordCompleteForm/ForgetPasswordCompleteFormHandler.ts","components/CartManagement/CartOverviewView/CartOverviewView.Style.tsx","components/UserManagement/ForgetPassword/ForgetPasswordCompleteForm/ForgetPasswordCompleteForm.tsx","components/Registration/ResendEmailConfirmationForm/ResendEmailConfirmation.Style.tsx","components/Registration/ResendEmailConfirmationForm/ResendEmailConfirmationForm.tsx","Pages/ResendEmailConfirmationPage/ResendEmailConfirmationPage.tsx","components/UserManagement/Profile/UpdateUserProfileForm/UpdateUserProfileForm.Style.ts","components/UserManagement/Profile/UpdateUserProfileForm/UpdateUserProfileFormHandler.ts","components/UserManagement/Profile/UpdateUserProfileForm/UpdateUserProfileForm.tsx","components/UserManagement/Profile/ResetPasswordForm/ResetPasswordFormHandler.ts","components/UserManagement/Profile/ResetPasswordForm/ResetPasswordForm.Style.ts","components/UserManagement/Profile/ResetPasswordForm/ResetPasswordForm.tsx","components/LogRocketErrorMonitor/LogRocketErrorMonitor.tsx","components/UserManagement/Profile/CreditCardRegistrationForm/TerritorySelector/TerritorySelector.tsx","components/UserManagement/Profile/UserProfileTabbed/UserPrfileTab.Style.ts","components/Payment/ThreeDSecureView/ThreeDSecureHandler.ts","components/Payment/ThreeDSecureView/ThreeDSecureView.tsx","components/UserManagement/Profile/CreditCardRegistrationForm/CreditCardRegistrationForm.tsx","components/UserManagement/Profile/CreditCardRegistrationForm/CreditCardConfirmation/CreditCardConfirmation.tsx","components/UserManagement/Profile/CreditCardRegistrationForm/UpdateCreditCardForm/UpdateCreditCardForm.tsx","components/UserManagement/Profile/CreditCardRegistrationForm/DeleteCreditCard/DeleteCreditCard.tsx","components/UserManagement/Profile/CreditCardRegistrationForm/CreditCardRegisteredList/CardInfo/CardInfo.Style.tsx","components/UserManagement/Profile/CreditCardRegistrationForm/CreditCardRegisteredList/CardInfo/CardInfo.tsx","components/UserManagement/Profile/CreditCardRegistrationForm/CreditCardRegisteredList/CreditCardRegisteredList.tsx","components/UserManagement/Profile/CreditCardRegistrationForm/CreditCardOverview/CreditCardOverview.tsx","components/UserManagement/Profile/UserProfileTabbed/UserProfileTabbed.tsx","components/CartManagement/CartOverviewView/CartOverviewView.tsx","components/Payment/CheckoutForm/UserDataWrapper/UserDataWrapper.tsx","Pages/CartOverviewPage/CartOverviewPage.tsx","components/Payment/CheckoutForm/CheckoutFooter/CheckoutFooter.tsx","assets/images/creditcardcheckout.png","assets/images/vbv_mcsc_logo.png","components/Payment/CheckoutForm/CheckoutHandler.ts","components/Payment/CheckoutForm/CardSelectForm/CardSelectForm.tsx","components/Payment/CheckoutForm/CheckoutForm.tsx","Pages/CheckoutPage/CheckoutPage.tsx","components/Layout/BlankCenteredLogoLayout/BlankCenteredLogoLayout.Style.ts","components/Layout/MenuAvatar/MenuAvatar.tsx","components/Layout/UserBar/UserBar.tsx","components/Layout/UserBar/CartBadge/CartBadge.tsx","components/Layout/LoginBar/LoginBar.tsx","components/Layout/AuthBar/AuthBar.tsx","components/Layout/ClassicLayout/TopBar/TopBar.tsx","components/Layout/BlankCenteredLogoLayout/BlankCenteredLogoLayout.tsx","components/Information/NotFoundView/NotFoundView.tsx","Pages/NotFoundPage/NotFoundPage.tsx","components/Layout/BlankLeftLogoLayout/BlankLeftLogoLayout.Style.ts","components/Layout/BlankLeftLogoLayout/BlankLeftLogoLayout.tsx","assets/images/shopping.gif","assets/images/paymentSpinner.gif","components/Payment/PaymentProcessingView/PaymentProcesingView.Styled.tsx","components/Payment/PaymentProcessingView/PaymentProcessingView.tsx","Pages/PaymentProcessingPage/PaymentProcessingPage.tsx","components/Payment/CheckoutConfirmation/ConfirmationDetail/ConfirmationDetail.Styled.ts","components/Payment/CheckoutConfirmation/ConfirmationDetail/ConfirmationDetail.tsx","components/Payment/CheckoutConfirmation/OrderDetail/OrderDetail.Styled.ts","components/Payment/CheckoutConfirmation/OrderDetail/OrderDetail.tsx","components/Payment/CheckoutConfirmation/PaymentInformation/PaymentInformation.Styled.ts","components/Payment/CheckoutConfirmation/PaymentInformation/CheckoutConfirmationHandler.ts","components/Payment/CheckoutConfirmation/PaymentInformation/PaymentInformation.tsx","components/Payment/CheckoutConfirmation/CheckoutConfirmation.Styled.ts","components/Payment/CheckoutConfirmation/CheckoutConfirmation.tsx","assets/images/PaymentCheck.png","Pages/CheckoutConfirmationPage/CheckoutConfirmationPage.tsx","Pages/ThreeDSecurePage/ThreeDSecurePage.tsx","components/Payment/GeneralPaymentError/GeneralPaymentError.tsx","assets/images/Receipt.png","Pages/GeneralPaymentErrrorPage/GeneralPaymentErrrorPage.tsx","components/Information/PrivacyPolicyView/PrivacyPolicyView.tsx","Pages/PrivacyPolicyPage/PrivacyPolicyPage.tsx","Pages/TermsAndConditionsPage/TermsAndConditionsPage.tsx","components/Layout/EmptyLayout/EmptyLayout.tsx","components/TrackedBolManagement/TrackedBolDetailView/TrackedBolDetailView.Style.ts","components/TrackedBolManagement/TrackedBolDetailView/TrackedBolDetailViewHandler.tsx","components/Forms/BolFilesEditor/BolFileItem/BolFileItem.tsx","components/Forms/BolFilesEditor/UploadFileForm/TrackedBolFileHandler.ts","components/Forms/BolFilesEditor/BolFilesEditor.tsx","components/Forms/SimpleSelect/SimpleSelect.tsx","components/Forms/BolFilesEditor/UploadFileForm/UploadFileForm.tsx","components/TrackedBolManagement/TrackedBolDetailView/TrackedBolDetailView.tsx","Pages/TrackedBolDetailViewPage/TrackedBolDetailViewPage.Style.ts","Pages/TrackedBolDetailViewPage/TrackedBolDetailViewPage.tsx","components/TrackedBolManagement/TrackedBolSearchForm/TrackedBolSearchBar/TrackedBolSearchBar.tsx","components/TrackedBolManagement/TrackedBolSearchForm/TrackedBolSearchFormHandler.ts","components/TrackedBolManagement/TrackedBolSearchForm/TrackedBolSearchResults/TrackedBolTermsConditionsLink/TrackedBolTermsConditionText/TrackedBolTermsConditionText.tsx","components/TrackedBolManagement/TrackedBolSearchForm/TrackedBolSearchResults/TrackedBolTermsConditionsLink/TrackedBolTermsConditionsLink.tsx","components/TrackedBolManagement/TrackedBolSearchForm/TrackedBolSearchResults/TrackedBolSearchResults.tsx","components/TrackedBolManagement/TrackedBolSearchForm/TrackedBolSearchResults/TrackedBolSearchItem/TrackedBolSearchItem.tsx","components/TrackedBolManagement/TrackedBolSupplementaryInfoForm/TrackedBolSupplementaryInfoFormHandler.tsx","components/TrackedBolManagement/TrackedBolSupplementaryInfoForm/TrackedBolSupplementaryInfoForm.tsx","components/TrackedBolManagement/TrackedBolSearchForm/TrackedBolSearchForm.tsx","Pages/TrackedBolSearchFormPage/TrackedBolSearchFormPage.Style.tsx","Pages/TrackedBolSearchFormPage/TrackedBolSearchFormPage.tsx","components/Forms/DataGrid/TableFilterContextProvider/TableFilterContext/TableFilterContext.tsx","components/Forms/DataGrid/TableFilterContextProvider/TableFilterContextProvider.tsx","components/Forms/DataGrid/SimpleTable/SimpleTable.tsx","Core/TableUtility/TableUtility.tsx","components/TrackedBolManagement/TrackedBolOverview/TrackedBolHandler.ts","components/TrackedBolManagement/TrackedBolOverview/TrackedBolTable/TrackedBolTable.tsx","components/Forms/DataGrid/FilterFieldWrapper/FilterFieldWrapper.tsx","components/Forms/DataGrid/FilterSelectbox/FilterSelectbox.tsx","components/Forms/DataGrid/FilterTextbox/FilterTextbox.tsx","components/TrackedBolManagement/TrackedBolOverview/TrackedBolSearchBar/TrackedBolGenerateReportButton/TrackedBolGenerateReportButton.tsx","components/TrackedBolManagement/TrackedBolOverview/TrackedBolSearchBar/TrackedBolSearchBar.tsx","components/TrackedBolManagement/TrackedBolOverview/TrackedBolOverview.tsx","Pages/TrackedBolOverviewPage/TrackedBolOverviewPage.Style.tsx","Pages/TrackedBolOverviewPage/TrackedBolOverviewPage.tsx","components/CustomerBolOverview/CustomerBolOverview.tsx","components/CustomerBolOverview/CustomerBolHandler.ts","components/CustomerBolOverview/CustomerBolTable/CustomerBolTable.tsx","components/CustomerBolOverview/CustomerBolCharge/CustomerBolCharge.tsx","Pages/CustomerBolPage/CustomerBolPage.Style.tsx","Pages/CustomerBolPage/CustomerBolPage.tsx","Pages/CustomerBolDetailPage/CustomerBolDetailPage.tsx","Core/AppRoutes.tsx","components/Layout/Footer/Footer.tsx","components/Layout/AdminLayout/AdminLayout.tsx","components/Layout/ClassicLayout/ClassicLayout.tsx","components/Layout/LoginLayout/LoginLayout.Style.ts","components/Layout/LoginLayout/LoginLayout.tsx","components/Layout/MainContent/MainContent.tsx","components/Layout/MainContent/GatedRoute/GatedRoute.tsx","components/Layout/MainContent/RoutesRenderer/RoutesRenderer.tsx","components/UserManagement/AuthContextProvider/AuthContextProvider.tsx","components/ErrorMonitor/ErrorMonitor.tsx","components/Feedback/Feedback.tsx","components/CartManagement/CartContextProvider/CartContextProvider.tsx","components/NavigationEventMonitor/NavigationEventMonitor.tsx","components/Payment/GeneralNotificationView/GeneralNotificationHandler.ts","components/Payment/GeneralNotificationView/GeneralNotificationView.tsx","components/SmartlookErrorMonitor/SmartlookErrorMonitor.tsx","components/App/app.tsx","components/App/index.tsx","serviceWorker.ts","index.tsx","components/Layout/SslSealBadge/SslSealBadge.tsx","assets/images/Powered-by-FAC_web.jpg","assets/images/vbv_mcsc_logo.gif"],"names":["CompanyRegistrationModelEmailConfirmationMethod","IndividualRegistrationEmailConfirmationMethod","name","random","ConfigUtility","this","globalConfig","Promise","resolve","configString","sessionStorage","getItem","config","JSON","parse","axios","get","method","headers","then","x","data","window","value","UserReturnModel","constructor","id","userName","fullName","email","emailConfirmed","roles","firstName","lastName","mobileNumber","property","hasOwnProperty","init","_data","Array","isArray","item","push","result","toJSON","clone","json","AuthorizationTokenInfo","authorizationToken","authorizationInfo","UserAuthorizationInfo","fromJS","undefined","userId","expiryDate","lifetimeInMinutes","UserDataModel","isAuthenticated","customerNames","customerCode","SendEmailAddressConfirmationModel","username","emailAddress","ErrorResultModel","message","modelSate","key","ConfirmEmailAddressModel","code","RoleReturnModel","EditUserModel","IndividualConsigneeReturnModel","primaryUserEmailAddress","tRN","addressLine1","addressLine2","addressLine3","parish","postalCode","country","mobilePhoneNumber","SwaggerException","Error","status","response","super","isSwaggerException","obj","throwException","isAxiosError","Utility","enumeration","list","enumToMap","forEach","y","text","map","Map","isNaN","Number","val","set","modelState","messages","messageList","length","reason","genericMessage","ErrorMessage","console","log","ModelState","BuildErrorListItems","Errors","errorResponse","errorMessage","path","match","matchPath","routes","some","isPathOrSubpathAMatch","hideInMainMenu","isSubPathVisible","AppRoutes","parentPath","fullPath","combinePath","getAppRoutesWithFullPath","args","reduce","previousPath","nextpath","indexOf","replace","user","requiredOperations","requiredOperation","operations","foundOperation","filter","toString","max","Math","floor","date","getSync","format","Display","DateFormat","moment","parseZone","utcOffset","StandardTimeZone","StandardTimeZoneString","current","add","DateTimeFormat","TimeFormat","telephone","Contact","Telephone","Email","fax","Fax","siteKey","ReCaptcha","obj1","obj2","_","isEqual","p","Compare","fn","retriesLeft","intervalMs","reject","catch","error","setTimeout","retry","newGuid","c","r","AuthContext","React","createContext","Update","SubMenu","ItemGroup","AppMenuWithoutRouter","props","context","state","RenderNavLink","menu","type","icon","title","to","RenderChildMenuItems","menuItems","menuItem","getMenuItem","HasOperations","onTitleClick","history","Element","Item","clickEventHandler","onClick","GetTitle","matchInfo","exact","activeClass","CheckIfPathMatched","skip","className","startsWith","render","overflowedIndicator","style","fontSize","mode","e","domEvent","stopPropagation","theme","contextType","AppMenu","withRouter","SLogo","styled","div","LogoImg","disableLinking","Logo","linkUrl","Sider","Sidebar","collapsible","Form","FormControl","children","getFieldDecorator","rest","CartStatus","FilterType","JoinType","TrackedBolServiceCategory","TrackedBolStatus","Operations","StyleLoginForm","TextLinksFormItem","GetCartCommandRequest","CartItem","createdBy","createdById","creationDate","modifiedBy","modifiedById","modificationDate","rowVersion","itemReference","pickupDate","updateDate","cost","additionalInfo","cartId","cart","Cart","total","cartItems","i","GetCartCommandResponse","RemoveFromCartCommandRequest","RemoveFromCartCommandResponse","UpsertToCartCommandRequest","UpsertToCartCommandResponse","CloseActiveCartCommandRequest","CloseActiveCartCommandResponse","EmptyCartCommandRequest","EmptyCartCommandResponse","LoginCommandRequest","password","reCaptchaToken","SlimUser","shortId","firstname","lastname","phoneNumber","sessionId","umaid","groups","LoginCommandResponse","fullname","loggedIn","accessTokenExpiresIn","accessToken","Filter","field","filterType","joinType","groupFilters","OrderBy","ascending","GetFilteredTrackedBolForLoggedInUserQueryRequest","pageNumber","amountPerPage","filters","orderBy","Department","Company","Employee","departmentId","department","companyId","company","TrackedBolHistory","trackedBolId","trackedBol","serviceCategory","comment","declarationNumber","estimatedValue","receiptNumber","orderReferenceNumber","paymentAmount","gatePassNumber","pickUpDate","notificationGenerated","gatePassResponse","customsRelease","currentStatusForCustomer","TrackedBol","TrackedBolFileType","description","TrackedBolFile","bolFileTypeId","bolFileType","fileId","bolReferenceNumber","cngReferenceNumber","bolNumber","userFullName","mobile","vessel","voyage","wharehouseLocation","shipperName","consigneeName","cargoDescription","numberOfPieces","referredEmployeeId","referredEmployee","isFlaggedInApm","arrivalDate","currentStatus","tariffCodeDescription","trackedBolHistories","bolFiles","GetFilteredTrackedBolForLoggedInUserQueryResponse","results","count","GetFilteredTrackedBolForAdminQueryResponse","GetTrackedBolDetailsByIdCommandRequest","GetTrackedBolDetailsByIdCommandResponse","UpdateTrackedBolCommandResponse","UpdateTrackedBolStatusCommandResponse","TrackedBolFileModel","AddTrackedBolRequestModel","tariffCodeDescriptionIds","AddTrackedBolCommandRequest","addTrackedBolRequests","AddTrackedBolResponseModel","cnGRef","successful","AddTrackedBolCommandResponse","trackedBols","failedToAddAll","SlimTrackedBol","GetTrackedBolDetailsByBolReferenceCommandResponse","TrackedBolDescription","GetFilteredTrackedBolDescriptionForLoggedUserQueryResponse","UpdateTrackedBolSupplementaryInfoRequestModel","UpdateTrackedBolSupplementaryInfoRequest","trackedBolSupplementaryInfo","UpdateTrackedBolSupplementaryInfoResponse","GetCustomerTrackedBolReportRequest","GetFilteredTrackedBolFileTypeForLoggedInUserQueryRequest","GetFilteredTrackedBolFileTypeForLoggedInUserQueryResponse","Stream","canRead","canSeek","canTimeout","canWrite","position","readTimeout","writeTimeout","GetTrackedBolFileByIdQueryResponse","file","extension","mimeType","NotificationUtility","duration","shouldPersist","showNotification","notificationList","notifications","notice","close","splice","hash","CreateKey","sameNotificationsOfType","sameNotification","oldestOrNonPersistent","TokenUtility","Config","koppTokenString","Cookies","KoppTokenCookieName","jwtDecode","TokenPropertyKeys","UMATokenName","koppToken","UserName","Id","EmailAddress","expirationTime","unix","FirstName","LastName","SessionId","CustomerCode","mobilePhone","MobilePhone","umaExpirationTime","UMATokenExpirationName","Roles","expirationDateUnixString","Date","now","LoaderUtility","hider","loading","getSecuredAxiosInstance","SecuredAxios","Object","assign","disableToken","handleSecurityError","ShowLoader","HideLoader","GetErrorDetails","create","interceptors","request","use","a","appConfig","baseURL","baseUrlConfigName","DefaultRequestTimeout","timeout","CorrelationIdHeader","GetOrGenerateCorrleationId","GetSessionId","showLoading","destroy","errorDetails","statusCode","HandleSecurityErrors","handleGeneralError","eventMarker","HandleErrors","hide","show","SecuredKoppClient","baseUrl","instance","jsonParseReviver","getCart","body","cancelToken","url_","options_","stringify","url","_error","_response","processGetCart","_headers","k","resultData200","removeFromCart","processRemoveFromCart","upsertToCart","processUpsertToCart","closeActiveCart","processCloseActiveCart","emptyCart","processEmptyCart","logout","processLogout","login","processLogin","refreshUMAToken","processRefreshUMAToken","getFilteredTrackedBolForLoggedInUser","processGetFilteredTrackedBolForLoggedInUser","getFilteredTrackedBolForAdmin","processGetFilteredTrackedBolForAdmin","getTrackedBolDetailsById","processGetTrackedBolDetailsById","updateTrackedBol","processUpdateTrackedBol","updateTrackedBolStatus","processUpdateTrackedBolStatus","addTrackedBol","processAddTrackedBol","getTrackedBolDetailsByBolReference","processGetTrackedBolDetailsByBolReference","getFilteredTrackedBolDescriptionForLoggedUser","processGetFilteredTrackedBolDescriptionForLoggedUser","updateTrackedBolSupplementaryInfo","processUpdateTrackedBolSupplementaryInfo","getCustomerTrackedBolReport","responseType","processGetCustomerTrackedBolReport","contentDisposition","fileNameMatch","exec","fileName","getCustomerTrackedBolReport2","processGetCustomerTrackedBolReport2","getFilteredTrackedBolFileTypeForLoggedInUser","processGetFilteredTrackedBolFileTypeForLoggedInUser","getTrackedBolFileById","encodeURIComponent","processGetTrackedBolFileById","getTrackedBolFileById2","processGetTrackedBolFileById2","axiosInstance","newValue","KoppApiBaseUrl","LoginFormHandler","RequestLogin","LoginformModel","client","setItem","ValidationUtility","required","pattern","renderStrongPasswordErrorMessages","textAlign","form","validator","rule","callback","getFieldValue","fields","validateFields","force","isInteger","isBefore","cardTypeField","CreditCardNumberValiatorMethodGenerator","transform","cardTypesDictionary","is","validateExpiryDate","fileTypes","finalMessage","uploadedFilesTypes","find","cardNumber","cardTypeValue","split","join","getCardTypeDictionary","cardType","test","expiryDateValue","currentDate","currentTwoDigitYear","getFullYear","substr","currentMonth","getMonth","expiryMonth","expiryYear","recaptchaRef","verifyCallback","onChange","reset","setValueToNull","onExpiredCallback","RecaptchaItem","ref","elementID","reCaptchaID","sitekey","ReCaptureSiteKey","onloadCallback","expiredCallback","Helmet","src","async","defer","LoginUtility","useState","disabled","setDisabled","setIcon","debounce","event","call","disableTime","propsWithoutDisabledTime","loadingStyle","Icon","Input","BaseLoginForm","Component","loginFormHandler","recaptchaInstance","resetRecaptcha","resetFields","isLoggedIn","handleSubmit","bind","createRef","componentDidMount","setState","preventDefault","validateFieldsAndScroll","err","values","ResetLoginAttemptCount","IncrementLoginAttempt","finally","GetLoginAttemptCount","location","ShouldRedirectTo","from","onSubmit","rules","prefix","color","placeholder","Password","visibilityToggle","getRequired","valuePropName","SubmitButton","htmlType","pathname","LoginForm","TallCol","LoginPage","noPermission","warning","align","xs","sm","md","LogoutWithoutRouter","logoutHandler","LogoutHandler","isLogout","removeRetainBOLCookie","cookies","keys","includes","RetainBOLsCookieName","remove","RequesLogout","Logout","LogoutPageWithoutRouter","LogoutPage","BaseHomeDescription","register","nagivateToClickNCollect","getCharges","columnStyle","margin","span","lg","offset","justify","gutter","marginBottom","xl","width","height","marginRight","landing_page_graphic","alt","border","borderRadius","padding","marginTop","textAlignLast","size","display","marginLeft","href","kwl_banking_info","download","HomeDescription","BillOfLadingData","bolReferenceNumbers","bolStorageToDate","BillOfLadingChargeDto","chargeName","amount","BillOfLadingDto","bolData","charges","PaymentMethodDto","_discriminator","CreditCardPaymentMethodDto","PayPalPaymentMethodDto","BolCharge","chargeType","chargeAmount","chargeCurrency","quantity","BolData","handling","bolReference","itemNumber","consignee","voyageNumber","lineName","orderReference","equipment","berth","storageDueDate","BillingAddressDto","countryName","city","stateCode","province","zipOrPostalCode","countryCode","middleName","BillOfLadingReceiptDto","cashierId","totalAmount","totalAmountPaid","paymentCurrency","receiptDate","errors","paymentMethod","totalAmountCurrency","creditCardType","creditCardNumberLastDigits","billingAddress","authorizationCode","paymentDate","ThreeDSecureAcsFormParams","acsUrl","parPayload","merchantReferenceNumber","termUrl","BillOfLadingPaymentResponse","receipt","paymentRefenceNumber","isPaymentSuccessful","threeDSecureAcsFormParams","errorCode","PaymentSummaryDto","paymentId","paymentReferenceNumber","isSucessful","currencyCode","totalInJmd","jmdExchangeRate","cardNumberLastFourDigits","receiptType","isReceiptEmailSent","receiptStatusCode","receiptStatusDetail","PaymentSummaryDtoPagedResult","pageIndex","pageSize","pageCount","itemCount","page","AddressDto","CreditCardDetailsDto","cardTypeId","cardCurrencyCode","cardName","cardNumberFirstFourDigits","cvv","expiry","expiryYear2Digits","GetBillOfLadingPaymentResponse","paymentDetails","billOfLadings","BillPaymentResponse","cardDetails","paymentCardId","BeginBillPaymentRequest","shippingAddress","shouldTokenize","userEmailAddress","userMobilePhone","browserUserAgent","BeginBillPaymentResponse","htmlCode","success","BeginRegisterCreditCardRequest","saveTokenizeCard","BeginRegisterCreditCardResponse","CreditCardRegistrationDto","isConfirmationAttemptsExceeded","isConfirmed","wasSaved","ConfirmCreditCardRegistrationRequestBody","amountCharged","ReferenceValueDto","VerifyFirstAtlanticPaymentResponse","requestHost","referenceNumber","getSecuredUMATokenAxiosInstance","SecuredUMATokenAxios","umaTokenExpirationDate","GetUMATokenExpirationDate","umaToken","GetUMAToken","Authorization","SecuredPaymentClient","billofladingPayments","authorization","processBillofladingPayments","resultData201","_responseText","getBillOfLadingPayments","processGetBillOfLadingPayments","threeDSecure","processThreeDSecure","getBillOfLadingPayment","processGetBillOfLadingPayment","completeBillPayment","processCompleteBillPayment","beginBillPayment","processBeginBillPayment","beginRegisterCreditCard","processBeginRegisterCreditCard","getCreditCardRegistrations","processGetCreditCardRegistrations","result200","getSingleCreditCardRegistration","processGetSingleCreditCardRegistration","creditcardRegistrations","processCreditcardRegistrations","deleteCreditCardRegistration","processDeleteCreditCardRegistration","confirmCreditCardRegistration","processConfirmCreditCardRegistration","updateCreditCardBillingAddress","processUpdateCreditCardBillingAddress","processNotifications","creditcardTypes","processCreditcardTypes","creditcardCurrencies","processCreditcardCurrencies","authentication","paRes","mD","content_","FormData","append","processAuthentication","verifyPayment","merID","acqID","orderID","responseCode","reasonCode","reasonCodeDesc","referenceNo","paddedCardNo","authCode","cVV2Result","shipToFirstName","shipToLastName","shipToAddress1","shipToAddress2","shipToCity","shipToState","shipToCountry","shipToTelephone","shipToEMail","billToFirstName","billToLastName","billToAddress1","billToAddress2","billToCity","billToState","billToCountry","billToTelephone","billToEMail","originalResponseCode","signature","signatureMethod","tokenizedPAN","processVerifyPayment","verifyCard","processVerifyCard","PaymentApiBaseUrl","CreditCardRegistrationFormHandler","RegisterCreditCard","beginBillPaymentRequest","formatError","ConfirmCreditCard","GetRegisteredCreditCard","DeleteCreditCard","UpdateCreditCard","address","GetCreditCardTypes","GetCreditCardCurrency","CardRegistrationNotificationView","handler","userNeverShowRegAgainCookie","visible","setNeverCheckAgainCookie","hideModal","NeverShowCardRegAgainCookieName","wasNeverCookieSet","Boolean","userLogged","showAgain","showAgainForSesion","shownCardRegistrationForTheDay","hasCards","secure","expires","toDate","getModalButtons","footer","closable","ScreenHelper","RightAlignRow","LeftAlignRow","CenterAlignRow","centeredRowAttributes","PageContainerColLayout","PageContainerRow","up","down","PageContainerCol","PageTitle","TitleColSize","xxl","TitleCol","HeaderRow","BorderlessCollapse","CardRegistrationNotificationContent","StyleArrivalScheduleForm","BolChargesResponseDto","bolReferenceNos","bolExtraData","shipName","BolListData","bilReference","itemNo","bolType","released","approved","clickAndGo","tallyStatus","customerName","ExchangeRateResponseDto","ExchangeRate","rate","StrippingScheduleResponseDto","StrippingSchedule","containerNumber","scheduledDateAndTime","stripStartDateAndTime","stripEndDateAndTime","stripLocation","processCode","category","VesselScheduleResponseDto","VesselSchedule","imoCode","arrivalDateTime","expectedArrivalDateTime","GenerateGatePassResponseDto","ordreference","gatePassDate","gptype","customer","bilNumber","reportdate","clickngo","orderType","cnsign","cnsadd","Datum","marks","packtype","quanremain","quanapplied","FlagBolAsClickAndGoResponseDto","reportedDate","billReferences","GetBLbyConsigneeResponseDto","trn","ApmReceiptResponseDto","SecuredAPMProxyClient","getBillOfLadingCharges","storageToDate","processGetBillOfLadingCharges","getBillOfLadingInfo","processGetBillOfLadingInfo","getCurrentExchangeRates","processGetCurrentExchangeRates","getStrippingSchedule","stripDate","processGetStrippingSchedule","getVesselSchedule","processGetVesselSchedule","generateGatePass","customerRelease","processGenerateGatePass","flagBolAsClickAndGo","isClickAndGo","processFlagBolAsClickAndGo","getBLbyConsignee","processGetBLbyConsignee","getBillOfLadingPaymentReceipt","client_ID","client_Secret","processGetBillOfLadingPaymentReceipt","APMProxyApiBaseUrl","ArrivalScheduleHandler","GetArrivalSchedule","arrivalSchedule","Table","ArrivalScheduleDataTable","columns","dataIndex","isHomeMode","searchDate","dateSearched","float","dataSource","listItems","pagination","DatePicker","BaseArrivalScheduleForm","arrivalScheduleFormHandler","dataTable","dataTableList","checkBothFields","getArrivalSchedule","toISOString","hideError","vesselScheduleDataList","vesselArrivalSchedule","element","ToDateString","homeMode","dateFormat","ArrivalScheduleForm","ArrivalSchedule","homePageIsStarted","StrippingScheduleHandler","GetStrippingSchedule","strippingScheduleModel","DisableToken","expectedStrippingDate","StyleStrippingScheduleForm","Col","StrippingScheduleDataTable","renderDateInTable","strippingScheduleHandler","expandAll","record","index","displaySchedule","schedule","Panel","rows","grouped","accumulator","ToDateTimeString","activeKey","header","forceRender","searchContainer","image","PRESENTED_IMAGE_SIMPLE","BaseStrippingScheduleForm","checkFields","searchContainerNumber","getStrippingSchedules","today","strippingSchedule","allowClear","StrippingScheduleForm","Header","Content","Footer","ImportantInfo","BaseHomeRightSection","useContext","HomeRightSection","HomePage","CenteredPageContainer","renderContent","centered","defaultProps","ArrivalSchedulePage","SecuredUserManagementClient","administration_Users","processAdministration_Users","administration_GetUserById","processAdministration_GetUserById","administration_GetUserByName","processAdministration_GetUserByName","administration_SetUserPassword","passwordModel","processAdministration_SetUserPassword","authentication_CreateToken","authenticateUserModel","processAuthentication_CreateToken","authentication_AuthenticateUser","processAuthentication_AuthenticateUser","authentication_AuthenticateToken","processAuthentication_AuthenticateToken","authentication_SendResetPasswordToken","processAuthentication_SendResetPasswordToken","authentication_SendResetPasswordUrl","processAuthentication_SendResetPasswordUrl","authentication_ResetPassword","resetPasswordModel","processAuthentication_ResetPassword","registration_CompanySignUp","companyRegistrationModel","processRegistration_CompanySignUp","registration_IndividualSignUp","individualRegistrationModel","processRegistration_IndividualSignUp","registration_SendEmailAddressConfirmationUrl","model","processRegistration_SendEmailAddressConfirmationUrl","registration_SendEmailAddressConfirmationToken","processRegistration_SendEmailAddressConfirmationToken","registration_ConfirmEmail","processRegistration_ConfirmEmail","resultData400","registration_ConfirmEmailAddress","processRegistration_ConfirmEmailAddress","roles_GetRole","processRoles_GetRole","roles_DeleteRole","processRoles_DeleteRole","roles_GetAllRoles","processRoles_GetAllRoles","roles_Create","processRoles_Create","roles_AssignRolesToUser","rolesToAssign","processRoles_AssignRolesToUser","userManagement_ChangePassword","processUserManagement_ChangePassword","userManagement_GetUserDetails","processUserManagement_GetUserDetails","userManagement_UpdateUserDetails","editUserModel","processUserManagement_UpdateUserDetails","userManagement_GetConsigneeDetails","processUserManagement_GetConsigneeDetails","userManagement_UpdateConsigneeDetails","updateModel","processUserManagement_UpdateConsigneeDetails","UserManagementApiBaseUrl","EmailConfirmationHandler","ResendConfirmationCode","ConfirmRegistration","confirmationCode","InputColLayout","InputLayout","labelCol","wrapperCol","StyleEmailConfirmationForm","EmailConfirmationFormWithoutFormAndRouter","emailConfirmationHandler","handleResendCode","handleConfirmation","confirmationcode","layout","getType","label","EmailConfirmationFormWithoutRouter","EmailConfirmationForm","EmailConfirmationPage","RegistrationWizardHandler","RegisterIndividualUser","emailConfirmationMethod","Token","MaskedInput","nextProps","classNames","LeftAlignUl","ColLayout","ReCaptchaColLayout","FormUtility","convertToOptionArray","CanadaProvinces","Option","showSearch","getCanadaProvices","USSates","getUSStates","Parishes","getParishes","fontWeight","Countries","countries","month","year","input","TermsAndConditionsViewWithoutRouter","goBack","showBack","internalLinked","Address","TermsAndConditionsView","TermsAndConditionLink","showModal","onCancel","overflowY","BaseRegistrationWizardForm","individualRegistrationHandler","compareToFirstPassword","onFormSubmit","confirmTrue","ex","renderPasswordErrorMessage","getPattern","mask","alwaysShowMask","tabIndex","parishSelector","validateOtherFields","getCompareField","getCheckBoxChecked","initialValue","RegistrationWizardFormWithoutRoute","RegistrationWizardForm","RegistrationWizardPage","TransactionsHistoryHandler","GetTransactionsHistory","RangePicker","BaseTransactionsHistoryView","fieldValidator","searchText","dateRange","isInString","arr","str","String","toLowerCase","isInDateRange","start","end","isBetween","time","filteredTransaction","filterTransactionData","paymentIds","ids","string","ToTimeString","filterText","startDate","filterDate","endDate","filtered","transactions","transaction","separator","renderItem","backgroundColor","TransactionsHistoryViewWithoutRouter","TransactionsHistoryView","TransactionHistoryPage","LoginForgetPasswordHandler","SendResetPasswordToken","BaseLoginForgetPasswordForm","loginForgetPasswordHandler","info","LoginForgetPasswordFormWithoutRoute","LoginForgetPasswordForm","ForgetPasswordPage","StrippingSchedulePage","StyleCargoChargesSearch","ButtonColLayout","xxs","ShowIfTrue","condition","currentTimezone","LongDateFormat","BaseCargoChargesSearchBar","formItemLayout","inputColSize","onSearch","localTimeZone","fullDate","storageDate","localizedDate","ConvertToStandardTimezone","search","landingNumberToolTip","pickupDateToolTip","colon","renderExtraFooter","DateInJamaicaLabel","selectedDate","disabledDate","getDisableBOLDates","alignItems","justifyContent","DisableDates","CargoChargesSearchBarWithoutRouter","CargoChargesSearchBar","StyleCargoChargesResultContainer","StyleCargoChargesRow","StyleCargoChargesPanel","CollapsePanel","CargoChargesResults","slice","reverse","cargoCharge","updatePickupDate","removeShipment","CartContext","CargoChargeItemHandler","UpsertToCart","cartItem","RemoveFromCart","CartHandler","GetCart","EmptyCart","CargoChargesHandler","GetBillOfLadingCharges","cargoSeach","storagetoDate","refNumber","parseFloat","toFixed","GetRawBillOfLadingCharges","CartItemListItem","cargoChargesHandler","cargoChargeItemHandler","chargeTableColums","updating","updateCartItemDate","UpdateCartItemIfStale","UpdateCartItem","me","bolSearch","cargoChargesResults","isRemoved","cartResult","updateCart","cargoChargesError","showMessage","renderChargeItems","cargeItem","StyledTable","newDate","renderCurrentIcon","spin","isValid","isSameOrAfter","twoToneColor","borderColor","actions","Meta","overflow","bordered","UpdatedDate","CartItemChangeDateFormWithoutForms","popoverRef","hour","getPopupDomNode","innerHTML","renderPopoverTitle","destroyTooltipOnHide","trigger","content","renderForm","showPopup","buttonSize","buttonText","help","CartItemChangeDateForm","CargoChargeItem","panelColLayout","isInCart","addToCart","buttonPressed","isUpdated","toUpperCase","isBolNumberAlreadyInCart","componentDidUpdate","prevProps","pervState","renderCharges","updatedCargoCharges","expandIcon","isActive","rotate","expandIconPosition","ProceedToCartButton","goToCartPage","BaseCargoChargesForm","retainBOLCookieName","bolQueryParamName","colLayout","SearchBar_Search","queryData","URLSearchParams","has","tomorrow","QueryString","bolNo","tempDate","customerCodebolNo","cargoSearch","foundBol","existingBol","newList","cargo","checkoutButtonRoute","setRetainBOLCookieName","prevState","hideCheckoutButton","CargoChargesFormWithoutRouter","CargoChargesForm","CargoChargesPage","ForgetPasswordCompleteFormHandler","ResetPassword","resetPassword","ForgetPasswordCompleteFormWithoutRouterAndForm","individualForgetPasswordCompleteHandler","validateNewPassword","capsCount","smallCount","numberCount","symbolCount","validateToNextPassword","resendForgetPassword","passwordResetToken","newPassword","confirmPassword","passChangeSuccess","passwordStrength","labelAlign","getStrongPassword","textOverflow","ForgetPasswordCompleteFormWithoutRouter","ForgetPasswordCompleteForm","EmailColLayout","StyleResendEmailConfirmationForm","BaseResendEmailConfirmationForm","resendEmailConfirmationHandler","BaseResendEmailConfirmationFormWithoutRoute","ResendEmailConfirmationForm","ResendEmailConfirmationPage","UpdateUserProfileFormHandler","RequestGetUserProfile","userProfile","UpdateUserProfile","BaseUpdateUserProfileForm","updateUserProfileFormHandler","_isMounted","displayUserDetails","profile","nameValidation","profileInfo","UpdateUserProfileFormWithoutRouter","UpdateUserProfileForm","ResetPassowrdFormHandler","changePasswordBindingModel","BaseResetPasswordForm","resetPassowrdFormHandler","passwordPrompt","placement","ResetPasswordFormWithoutRouter","ResetPasswordForm","LOGROCKET_IGNORE_CLASS","LogRocketErrorMonitor","LogRocket","Enabled","LogrocketFuzzySanitizer","setup","FilteredWords","requestSanitizer","responseSanitizer","AppName","network","setupLogRocketReact","TerritorySelector","setTerritory","validatorMessage","UpdateValueName","RegistrationValueName","selectorType","labelName","stateSelector","provinceSelector","maxTagCount","intialValue","formDecorator","Tabs","StyleUserProfileTab","ThreeDSecureHandler","CheckIfPaymentCompleted","ThreeDSecureViewWithRouter","currentHandler","iframeRef","threeDSecureHandler","recievedIFrameMessage","origin","sterilizedString","onSuccess","canNavigate","apiResponse","onFailure","formId","uniqueId","verificationResponse","html","contentWindow","parent","addEventListener","listen","action","block","locationListenCallback","componentWillUnmount","clearTimeout","removeEventListener","when","minHeight","ThreeDSecureView","BaseCreditCardRegistrationForm","creditCardRegistrationFormHandler","VerificationModal","confirmCardModal","onRegistered","registered","onSuccessfulVerification","confirmCardModalConfig","okText","onOk","onFailedVerification","cardTypes","cardCurrencies","getCardType","getCardCurrency","cancelButton","currency","expiryParts","getExpiryDateParts","cardTypeSelector","cardCurrencySelector","CustomCheckbox","destroyOnClose","headStyle","getCreditCardNumber","getIsValidExpiryDate","countrySelector","CreditCardRegistrationFormWithoutRouter","CreditCardRegistrationForm","BaseCreditCardConfirmation","onConfirm","confirmed","confirmCancelClicked","cardIdConfirm","regId","paddingTop","getChargedAmount","CreditCardConfirmationWithoutRouter","CreditCardConfirmation","BaseUpdateCreditCardForm","onUpdated","updated","setTerritoryName","territory","UpdateCard","alignSelf","UpdateCreditCardFormWithoutRouter","UpdateCreditCardForm","DeleteCreditCardWithoutRouterAndForm","onDelete","deleted","DeleteCard","cardIdDel","cancelText","DeleteCreditCardWithoutRouter","CardInforFormStyle","CardInfo","confirmCardMessage","collectRegIdEdit","onConfirmCancel","confirmedClicked","editButton","registrationId","renderCardImage","cardFirstDigits","reloadCardList","borderTop","paddingBottom","verticalAlign","BaseCreditCardRegisteredList","DisplayCreditCardList","details","collectCardDetails","card","getUpdateDetails","DisplayCardRegistrationForm","cardDetail","CreditCardRegisteredListWithoutRouter","CreditCardRegisteredList","BaseCreditCardOverview","regClicked","CloseRegistrationForm","DisplayCardEditForm","editClicked","CloseCardEditForm","getCardDetails","getBillAddress","getConfirmId","confirmClicked","regIdEdit","regIdConfirm","reload","chargeButton","reloadList","CreditCardOverviewWithoutRouter","CreditCardOverview","BaseUserProfileTabbed","TabPane","defaultActiveKey","tabPosition","tab","UserProfileTabbedWithoutRouter","UserProfileTabbed","CartOverviewViewWithoutRouter","waitMessage","getRegisteredCards","isCardRegistered","renderCartItem","renderTotalFooter","GoToCheckoutPage","borderBottom","checkoutButton","itemLayout","CartOverviewView","UserDataWrapper","CartOverviewPage","CheckoutFooter","CheckoutHandler","makePayment","CashierId","CardSelectFormWithoutRouterAndForm","RaiseValidation","updateHack","checkBoxChanged","formChanged","getFieldsValue","selectedCard","cardId","confirmedCards","isAuthorize","termsCon","onCardDetailsChanged","cards","active","onBlur","optionLabelProp","ShowCardRegistartionError","setFields","CardSelectFormWithoutRouter","CardSelectForm","CheckoutFormWithoutRouterAndForm","checkoutHandler","cardSelectFormRef","CardOptionsChanged","option","usingSavedCard","currentTabKey","SelectedCardDetailsChanged","slectedCard","submitSavedCardDetailsForm","bols","paymentRequest","selectCardFormUpdateHack","submitCardDetailsForm","cardFirstFourDigits","cardLastFourDigits","confirmedCard","l","gotAllInfo","cardRetry","cardTypeRetry","bolRetry","getBolInfo","bol","charge","pull","CheckoutCardImage","accordion","showArrow","getCardNumberTransform","VerifiedByImage","CheckoutWithoutRouter","CheckoutForm","CheckoutPage","CenteredContent","MainLogo","logoSvg","MenuAvatar","UserBarWithoutRouter","redirectToCartPage","shape","Divider","UserBar","CartBadge","LoginBar","AuthBar","TopBar","order","BlankCenteredLogoLayout","animationDuration","NotFoundViewWithoutRouter","shouldNotRender","handleHome","handleLogin","isMatch","checkIfPageShouldRender","appRoutesWithout404","route","left","top","lineHeight","paddingLeft","paddingRight","zIndex","fontFamily","NotFoundView","NotFoundPage","BlankLeftLogoLayout","PaymentText","h1","PaymentProcessingViewWithoutRouter","notReplaceAction","ExecutePayment","requestState","hasTriedAlready","cartAnimationGif","paymentSpinnerGif","PaymentProcessingView","PaymentProcessingPage","RightColLayout","LeftColLayout","TableCol","HeaderCol","ConfirmationDetail","paymentResponse","BolNumberLayout","KWLReferenceLayout","VesselLayout","StoragetoDateLayout","ChargesLayout","OrderTotalHeaderLayout","OrderTotalLayout","OrderTotalHeaderCol","OrderTotalCol","HeaderTitle","OrderRow","OrderDetail","totalChargeAmount","getTotalChargeAmount","receiptDetails","sum","amountFound","FiveSpanColLayout","FourSpanColLayout","TotalColLayout","PaymentTotalHeaderCol","PaymentTotalCol","TableValueCol","PaymentRow","CheckoutConfirmationHandler","CloseCart","PaymentInformation","cartHandler","getCharge","chargeFound","TransactionType","CheckoutCompleteLayout","ButtonLayout","CheckoutComplete","CheckoutConfirmationWithoutRouterAndForm","ContactTel","ContactEmail","CheckoutConfirmationWithoutRouter","CheckoutConfirmation","CheckoutConfirmationPage","ThreeDSecurePage","GeneralPaymentErrorWithoutRouterAndForm","generateErrorMessage","errorDisplay","GeneralPaymentErrorWithoutRouter","GeneralPaymentError","GeneralPaymentErrrorPage","PrivacyPolicyView","PrivacyPolicyPage","TermsAndConditionsPage","EmptyLayout","Row","GenColLayout","StatusHistoryColLayout","TrackedBolDetailRow","TrackedBolDetailViewHandler","GetTrackedBolById","Container","fileUrl","fileType","readonly","onRemoveItem","TrackedBolFileHandler","GetBolFileTypes","drawVisible","setDrawVisiable","setFileTypes","useEffect","getTrackedBolFileTypes","onItemRemoved","containerStyle","AddButtonStyle","BolFileItem","itemStyle","onClose","onFileAdded","SimpleSelect","buildSelectOptions","options","allowUndefinedValue","optionFilterProp","UploadFileFormWithoutForm","getBase64","update","reader","FileReader","readAsDataURL","FileList","originFileObj","onload","onerror","voidmethod","accept","beforeUpload","multiple","UploadFileForm","BaseTrackedBolDetailView","trackedBolDetails","borderBottomColor","prev","substring","displayType","thousandSeparator","BolFilesEditor","TrackedBolDetailView","PageColLayout","TrackedBolDetailViewPage","BaseTrackedBolSearchBar","TrackedBolSearchBarWithoutRouter","TrackedBolSearchBar","TrackedBolSearchFormHandler","GetBillOfLading","trackedBolSearch","vesselName","isClickNGo","GetTrackedBolByBolReference","bolRef","AddTrackedBol","TrackedBolTermsConditionText","TrackedBolTermsConditionsLink","TrackedBolSearchResults","target","checked","checkBoxText","onDeleteClicked","onEditClicked","onEditTrackedBol","TrackedBolSearchItem","removeItem","startCase","TrackedBolSupplementaryInfoFormHandler","GetTrackedBolDesciptions","UpdateTrackedBolSupplementaryInfo","BaseTrackedBolSupplementaryInfoForm","getTariffCodeDescription","setFieldsValue","trackedBolWithSupplementaryinfo","onComplete","tariffCodeDescriptions","otherOption","pop","tarriffCodeDescriptions","filteredTarriffCodeDescriptions","isUserIdFileUploaded","files","drawerHeader","column","background","filterTarriffCodes","newFilter","toLocaleLowerCase","maskClosable","enumToSelectionOptionArray","drawerVisible","filterOption","TrackedBolSupplementaryInfoFormWithoutRouter","TrackedBolSupplementaryInfoForm","BaseTrackedBolSearchForm","Search","trackecBolNumber","trim","trackedBolExists","exists","showDrawer","listOfTrackedBols","f","addTrackedBolToList","existingBolIndex","findIndex","successfulAddedtoListNotice","successBols","failedBols","showResult","TrackedBolSearchFormWithoutRouter","TrackedBolSearchForm","TrackedBolSearchFormPage","TableFilterContext","TableFilterContextProvider","tableRequest","updateTableRequest","Provider","SimpleTable","tableRef","isLoading","TableChange","debouce","sorter","extra","pager","equals","currentTableRequest","Contains","GetTableRequest","GetData","cloneDeep","refresh","dataFetcher","rowKey","row","tableKey","RandomNumber","TrackedBolHandler","GetTrackedBol","UpdateTrackedBol","GenerateReport","TrackedBolTable","canEdit","onShowEditDrawer","Submitted","UserInterventionRequired","updateSuplimentaryForm","FilterFieldWrapper","filterId","UpdateFilter","filterValue","GetCleanContextFilters","newFilters","CreateFilterList","unshift","RemoveOldFilters","filterFields","markedFilter","Or","filterJoin","And","FilterSelectbox","filterValueList","Equal","FilterTextbox","currentTarget","TrackedBolGenerateReportButton","getStatus","statuses","trackedBolStatuses","BaseTrackedBolOverview","goToRegisterBL","TrackedBolOverviewForm","TrackedBolOverview","TrackedBolOverviewPage","CustomerBolOverviewBase","detailedClicked","CustomerBolOverview","CustomerBolHandler","GetCustomerBol","CustomerBolTable","customerBolHandler","getCustomerBols","customerBol","customerBols","CustomerBolChargeBase","CustomerBolCharge","CustomerBolPage","CustomerBolDetailPage","redirect","component","Is_Autenticated","hyperLinkStyle","hidden","SslSealBadge","AppVersion","AdminLayout","ClassicLayout","LoginLayout","MainContent","GatedRoute","Route","RoutesRenderer","renderRoute","defaultLayout","parentLayout","currentLayout","wrapInLayout","childRoute","CurrentLayout","matchProps","AuthContextProvider","currentUser","shouldRenderChildren","updateUserBasedOnToken","newUser","GetUserFromCookies","userCheckInterval","setInterval","KoppTokenCookieCheckIntervalMs","clearInterval","hasUserCookieChanged","tokenUser","cookie","userCookie","IdentifyUserInLogRocket","IdentifyUserInSmartLook","isSame","identify","SmartLook","SmartLookClient","ErrorMonitor","Wrapper","EnableBugSnag","bugsnagClient","bugsnag","BugSnagApiKey","bugsnagReact","getPlugin","Feedback","Userback","access_token","UserBackApiKey","script","document","createElement","EnableUserBack","appendChild","CartContextProvider","newCart","getCartForUser","NavigationEventMonitorWithRouter","componentWillReceiveProps","CloseNonPersistentNotifications","NavigationEventMonitor","GeneralNotificationHandler","GetNotification","GeneralNotificationView","handleClose","messageOfTheDayCookie","ShowMessageOfTheDayCookieName","SmartlookErrorMonitor","ProjectKey","myHistory","H","App","titleTemplate","defaultTitle","hostname","ReactDOM","getElementById","navigator","serviceWorker","ready","registration","unregister","master","fac","cursor","eval"],"mappings":"gOAklFYA,EAMAC,E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AAQ,IAAMxF,IAAK2+C,iEACjC,wDAAK72D,MAAO,CAAE0d,OAAQ,IAAMxF,IAAK4+C,sEACjC,wDACE92D,MAAO,CAAE+2D,OAAQ,WACjB7+C,IAAI,+DACJ7Y,QAAS/L,GAAK0jE,KAAK,gBACnBn5C,IAAI,qCAMGjgB,8DAAW+zD,cAAc,KAAM,K,unVClC/B,QAA0B,gD,iCCA1B,8hG","file":"static/js/main.9b3f6b23.chunk.js","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n//----------------------\n// \n// Generated using the NSwag toolchain v13.8.2.0 (NJsonSchema v10.2.1.0 (Newtonsoft.Json v12.0.0.0)) (http://NSwag.org)\n// \n//----------------------\n// ReSharper disable InconsistentNaming\n\nimport axios, { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios';\n\nexport class Client {\n private instance: AxiosInstance;\n private baseUrl: string;\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(baseUrl?: string, instance?: AxiosInstance) {\n this.instance = instance ? instance : axios.create();\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"https://localhost:16030\";\n }\n\n /**\n * @return OK\n */\n administration_Users( cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Administration/users\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processAdministration_Users(_response);\n });\n }\n\n protected processAdministration_Users(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = UserReturnModel.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n administration_GetUserById(id: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Administration/user/{Id}\";\n if (id === undefined || id === null)\n throw new Error(\"The parameter 'id' must be defined.\");\n url_ = url_.replace(\"{Id}\", encodeURIComponent(\"\" + id));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processAdministration_GetUserById(_response);\n });\n }\n\n protected processAdministration_GetUserById(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = UserReturnModel.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n administration_GetUserByName(username: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Administration/user/{username}\";\n if (username === undefined || username === null)\n throw new Error(\"The parameter 'username' must be defined.\");\n url_ = url_.replace(\"{username}\", encodeURIComponent(\"\" + username));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processAdministration_GetUserByName(_response);\n });\n }\n\n protected processAdministration_GetUserByName(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = UserReturnModel.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n administration_SetUserPassword(passwordModel: SetPasswordModel , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Administration/user/SetUserPassword\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(passwordModel);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processAdministration_SetUserPassword(_response);\n });\n }\n\n protected processAdministration_SetUserPassword(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = resultData200 !== undefined ? resultData200 : null;\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n authentication_CreateToken(authenticateUserModel: AuthenticateUserModel , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Authentication/CreateToken\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(authenticateUserModel);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processAuthentication_CreateToken(_response);\n });\n }\n\n protected processAuthentication_CreateToken(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = AuthorizationTokenInfo.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n authentication_AuthenticateUser(authenticateUserModel: AuthenticateUserModel , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Authentication/AuthenticateUser\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(authenticateUserModel);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processAuthentication_AuthenticateUser(_response);\n });\n }\n\n protected processAuthentication_AuthenticateUser(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = UserDataModel.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n authentication_AuthenticateToken( cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Authentication/AuthenticateToken\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processAuthentication_AuthenticateToken(_response);\n });\n }\n\n protected processAuthentication_AuthenticateToken(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = UserDataModel.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n authentication_SendResetPasswordToken(emailAddress: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Authentication/SendResetPasswordToken\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(emailAddress);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processAuthentication_SendResetPasswordToken(_response);\n });\n }\n\n protected processAuthentication_SendResetPasswordToken(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = resultData200 !== undefined ? resultData200 : null;\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n authentication_SendResetPasswordUrl(emailAddress: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Authentication/SendResetPasswordUrl\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(emailAddress);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processAuthentication_SendResetPasswordUrl(_response);\n });\n }\n\n protected processAuthentication_SendResetPasswordUrl(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = resultData200 !== undefined ? resultData200 : null;\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n authentication_ResetPassword(resetPasswordModel: ResetPasswordModel , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Authentication/ResetPassword\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(resetPasswordModel);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processAuthentication_ResetPassword(_response);\n });\n }\n\n protected processAuthentication_ResetPassword(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = resultData200 !== undefined ? resultData200 : null;\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n registration_CompanySignUp(companyRegistrationModel: CompanyRegistrationModel , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Registration/RegisterCompany\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(companyRegistrationModel);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processRegistration_CompanySignUp(_response);\n });\n }\n\n protected processRegistration_CompanySignUp(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = SendEmailAddressConfirmationModel.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n registration_IndividualSignUp(individualRegistrationModel: IndividualRegistration , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Registration/RegisterIndividual\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(individualRegistrationModel);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processRegistration_IndividualSignUp(_response);\n });\n }\n\n protected processRegistration_IndividualSignUp(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = SendEmailAddressConfirmationModel.fromJS(resultData200);\n return result200;\n } else if (status === 201) {\n const _responseText = response.data;\n let result201: any = null;\n let resultData201 = _responseText;\n result201 = SendEmailAddressConfirmationModel.fromJS(resultData201);\n return result201;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n registration_SendEmailAddressConfirmationUrl(model: SendEmailAddressConfirmationModel , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Registration/SendEmailAddressConfirmationUrl\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(model);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processRegistration_SendEmailAddressConfirmationUrl(_response);\n });\n }\n\n protected processRegistration_SendEmailAddressConfirmationUrl(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = resultData200 !== undefined ? resultData200 : null;\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n registration_SendEmailAddressConfirmationToken(model: SendEmailAddressConfirmationModel , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Registration/SendEmailAddressConfirmationToken\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(model);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processRegistration_SendEmailAddressConfirmationToken(_response);\n });\n }\n\n protected processRegistration_SendEmailAddressConfirmationToken(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = resultData200 !== undefined ? resultData200 : null;\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param userId (optional) \n * @param code (optional) \n * @return OK\n */\n registration_ConfirmEmail(userId: string | null | undefined, code: string | null | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Registration/ConfirmEmail?\";\n if (userId !== undefined && userId !== null)\n url_ += \"userId=\" + encodeURIComponent(\"\" + userId) + \"&\";\n if (code !== undefined && code !== null)\n url_ += \"code=\" + encodeURIComponent(\"\" + code) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processRegistration_ConfirmEmail(_response);\n });\n }\n\n protected processRegistration_ConfirmEmail(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = resultData200 !== undefined ? resultData200 : null;\n return result200;\n } else if (status === 400) {\n const _responseText = response.data;\n let result400: any = null;\n let resultData400 = _responseText;\n result400 = ErrorResultModel.fromJS(resultData400);\n return throwException(\"BadRequest\", status, _responseText, _headers, result400);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n registration_ConfirmEmailAddress(model: ConfirmEmailAddressModel , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Registration/ConfirmEmailAddress\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(model);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processRegistration_ConfirmEmailAddress(_response);\n });\n }\n\n protected processRegistration_ConfirmEmailAddress(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n return Promise.resolve(null);\n } else if (status === 400) {\n const _responseText = response.data;\n let result400: any = null;\n let resultData400 = _responseText;\n result400 = resultData400 !== undefined ? resultData400 : null;\n return throwException(\"BadRequest\", status, _responseText, _headers, result400);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n roles_GetRole(id: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/roles/{Id}\";\n if (id === undefined || id === null)\n throw new Error(\"The parameter 'id' must be defined.\");\n url_ = url_.replace(\"{Id}\", encodeURIComponent(\"\" + id));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processRoles_GetRole(_response);\n });\n }\n\n protected processRoles_GetRole(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = RoleReturnModel.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n roles_DeleteRole(id: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/roles/{Id}\";\n if (id === undefined || id === null)\n throw new Error(\"The parameter 'id' must be defined.\");\n url_ = url_.replace(\"{Id}\", encodeURIComponent(\"\" + id));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"DELETE\",\n url: url_,\n headers: {\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processRoles_DeleteRole(_response);\n });\n }\n\n protected processRoles_DeleteRole(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n return Promise.resolve(null);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n roles_GetAllRoles( cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/roles\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processRoles_GetAllRoles(_response);\n });\n }\n\n protected processRoles_GetAllRoles(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = RoleReturnModel.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n roles_Create(model: CreateRoleBindingModel , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/roles/create\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(model);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processRoles_Create(_response);\n });\n }\n\n protected processRoles_Create(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = RoleReturnModel.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n roles_AssignRolesToUser(id: string, rolesToAssign: string[] , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/roles/user/{id}/roles\";\n if (id === undefined || id === null)\n throw new Error(\"The parameter 'id' must be defined.\");\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(rolesToAssign);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processRoles_AssignRolesToUser(_response);\n });\n }\n\n protected processRoles_AssignRolesToUser(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = RoleReturnModel.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n userManagement_ChangePassword(model: ChangePasswordBindingModel , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/UserManagement/ChangePassword\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(model);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processUserManagement_ChangePassword(_response);\n });\n }\n\n protected processUserManagement_ChangePassword(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = resultData200 !== undefined ? resultData200 : null;\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n userManagement_GetUserDetails( cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/UserManagement/GetUserDetails\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processUserManagement_GetUserDetails(_response);\n });\n }\n\n protected processUserManagement_GetUserDetails(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = EditUserModel.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n userManagement_UpdateUserDetails(editUserModel: EditUserModel , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/UserManagement/UpdateUserDetails\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(editUserModel);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processUserManagement_UpdateUserDetails(_response);\n });\n }\n\n protected processUserManagement_UpdateUserDetails(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = resultData200 !== undefined ? resultData200 : null;\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n userManagement_GetConsigneeDetails( cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/UserManagement/GetConsigneeDetails\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processUserManagement_GetConsigneeDetails(_response);\n });\n }\n\n protected processUserManagement_GetConsigneeDetails(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = IndividualConsigneeReturnModel.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return OK\n */\n userManagement_UpdateConsigneeDetails(updateModel: IndividualConsigneePartialUpdateModel1 , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/UserManagement/UpdateConsigneeDetails\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(updateModel);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json\",\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processUserManagement_UpdateConsigneeDetails(_response);\n });\n }\n\n protected processUserManagement_UpdateConsigneeDetails(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n return Promise.resolve(null);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n}\n\nexport class UserReturnModel implements IUserReturnModel {\n id?: string | undefined;\n userName?: string | undefined;\n fullName?: string | undefined;\n email?: string | undefined;\n emailConfirmed?: boolean | undefined;\n roles?: string[] | undefined;\n firstName?: string | undefined;\n lastName?: string | undefined;\n mobileNumber?: string | undefined;\n\n constructor(data?: IUserReturnModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"Id\"];\n this.userName = _data[\"UserName\"];\n this.fullName = _data[\"FullName\"];\n this.email = _data[\"Email\"];\n this.emailConfirmed = _data[\"EmailConfirmed\"];\n if (Array.isArray(_data[\"Roles\"])) {\n this.roles = [] as any;\n for (let item of _data[\"Roles\"])\n this.roles!.push(item);\n }\n this.firstName = _data[\"FirstName\"];\n this.lastName = _data[\"LastName\"];\n this.mobileNumber = _data[\"MobileNumber\"];\n }\n }\n\n static fromJS(data: any): UserReturnModel {\n data = typeof data === 'object' ? data : {};\n let result = new UserReturnModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"Id\"] = this.id;\n data[\"UserName\"] = this.userName;\n data[\"FullName\"] = this.fullName;\n data[\"Email\"] = this.email;\n data[\"EmailConfirmed\"] = this.emailConfirmed;\n if (Array.isArray(this.roles)) {\n data[\"Roles\"] = [];\n for (let item of this.roles)\n data[\"Roles\"].push(item);\n }\n data[\"FirstName\"] = this.firstName;\n data[\"LastName\"] = this.lastName;\n data[\"MobileNumber\"] = this.mobileNumber;\n return data; \n }\n\n clone(): UserReturnModel {\n const json = this.toJSON();\n let result = new UserReturnModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface IUserReturnModel {\n id?: string | undefined;\n userName?: string | undefined;\n fullName?: string | undefined;\n email?: string | undefined;\n emailConfirmed?: boolean | undefined;\n roles?: string[] | undefined;\n firstName?: string | undefined;\n lastName?: string | undefined;\n mobileNumber?: string | undefined;\n}\n\nexport class SetPasswordModel implements ISetPasswordModel {\n userId!: string;\n newPassword!: string;\n confirmPassword!: string;\n userName!: string;\n name?: string | undefined;\n\n constructor(data?: ISetPasswordModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.userId = _data[\"UserId\"];\n this.newPassword = _data[\"NewPassword\"];\n this.confirmPassword = _data[\"ConfirmPassword\"];\n this.userName = _data[\"UserName\"];\n this.name = _data[\"Name\"];\n }\n }\n\n static fromJS(data: any): SetPasswordModel {\n data = typeof data === 'object' ? data : {};\n let result = new SetPasswordModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"UserId\"] = this.userId;\n data[\"NewPassword\"] = this.newPassword;\n data[\"ConfirmPassword\"] = this.confirmPassword;\n data[\"UserName\"] = this.userName;\n data[\"Name\"] = this.name;\n return data; \n }\n\n clone(): SetPasswordModel {\n const json = this.toJSON();\n let result = new SetPasswordModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface ISetPasswordModel {\n userId: string;\n newPassword: string;\n confirmPassword: string;\n userName: string;\n name?: string | undefined;\n}\n\nexport class AuthenticateUserModel implements IAuthenticateUserModel {\n userName!: string;\n password!: string;\n\n constructor(data?: IAuthenticateUserModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.userName = _data[\"UserName\"];\n this.password = _data[\"Password\"];\n }\n }\n\n static fromJS(data: any): AuthenticateUserModel {\n data = typeof data === 'object' ? data : {};\n let result = new AuthenticateUserModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"UserName\"] = this.userName;\n data[\"Password\"] = this.password;\n return data; \n }\n\n clone(): AuthenticateUserModel {\n const json = this.toJSON();\n let result = new AuthenticateUserModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface IAuthenticateUserModel {\n userName: string;\n password: string;\n}\n\nexport class AuthorizationTokenInfo implements IAuthorizationTokenInfo {\n authorizationToken?: string | undefined;\n authorizationInfo?: UserAuthorizationInfo | undefined;\n\n constructor(data?: IAuthorizationTokenInfo) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.authorizationInfo = data.authorizationInfo && !(data.authorizationInfo).toJSON ? new UserAuthorizationInfo(data.authorizationInfo) : this.authorizationInfo; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.authorizationToken = _data[\"AuthorizationToken\"];\n this.authorizationInfo = _data[\"AuthorizationInfo\"] ? UserAuthorizationInfo.fromJS(_data[\"AuthorizationInfo\"]) : undefined;\n }\n }\n\n static fromJS(data: any): AuthorizationTokenInfo {\n data = typeof data === 'object' ? data : {};\n let result = new AuthorizationTokenInfo();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"AuthorizationToken\"] = this.authorizationToken;\n data[\"AuthorizationInfo\"] = this.authorizationInfo ? this.authorizationInfo.toJSON() : undefined;\n return data; \n }\n\n clone(): AuthorizationTokenInfo {\n const json = this.toJSON();\n let result = new AuthorizationTokenInfo();\n result.init(json);\n return result;\n }\n}\n\nexport interface IAuthorizationTokenInfo {\n authorizationToken?: string | undefined;\n authorizationInfo?: IUserAuthorizationInfo | undefined;\n}\n\nexport class UserAuthorizationInfo implements IUserAuthorizationInfo {\n userId?: string | undefined;\n userName?: string | undefined;\n expiryDate?: string | undefined;\n roles?: string[] | undefined;\n lifetimeInMinutes?: number | undefined;\n\n constructor(data?: IUserAuthorizationInfo) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.userId = _data[\"UserId\"];\n this.userName = _data[\"UserName\"];\n this.expiryDate = _data[\"ExpiryDate\"];\n if (Array.isArray(_data[\"Roles\"])) {\n this.roles = [] as any;\n for (let item of _data[\"Roles\"])\n this.roles!.push(item);\n }\n this.lifetimeInMinutes = _data[\"LifetimeInMinutes\"];\n }\n }\n\n static fromJS(data: any): UserAuthorizationInfo {\n data = typeof data === 'object' ? data : {};\n let result = new UserAuthorizationInfo();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"UserId\"] = this.userId;\n data[\"UserName\"] = this.userName;\n data[\"ExpiryDate\"] = this.expiryDate;\n if (Array.isArray(this.roles)) {\n data[\"Roles\"] = [];\n for (let item of this.roles)\n data[\"Roles\"].push(item);\n }\n data[\"LifetimeInMinutes\"] = this.lifetimeInMinutes;\n return data; \n }\n\n clone(): UserAuthorizationInfo {\n const json = this.toJSON();\n let result = new UserAuthorizationInfo();\n result.init(json);\n return result;\n }\n}\n\nexport interface IUserAuthorizationInfo {\n userId?: string | undefined;\n userName?: string | undefined;\n expiryDate?: string | undefined;\n roles?: string[] | undefined;\n lifetimeInMinutes?: number | undefined;\n}\n\nexport class UserDataModel implements IUserDataModel {\n isAuthenticated?: boolean | undefined;\n authorizationToken?: string | undefined;\n authorizationInfo?: UserAuthorizationInfo | undefined;\n userId?: string | undefined;\n userName?: string | undefined;\n fullName?: string | undefined;\n mobileNumber?: string | undefined;\n email?: string | undefined;\n firstName?: string | undefined;\n lastName?: string | undefined;\n customerNames?: string[] | undefined;\n roles?: string[] | undefined;\n customerCode?: string | undefined;\n\n constructor(data?: IUserDataModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.authorizationInfo = data.authorizationInfo && !(data.authorizationInfo).toJSON ? new UserAuthorizationInfo(data.authorizationInfo) : this.authorizationInfo; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.isAuthenticated = _data[\"IsAuthenticated\"];\n this.authorizationToken = _data[\"AuthorizationToken\"];\n this.authorizationInfo = _data[\"AuthorizationInfo\"] ? UserAuthorizationInfo.fromJS(_data[\"AuthorizationInfo\"]) : undefined;\n this.userId = _data[\"UserId\"];\n this.userName = _data[\"UserName\"];\n this.fullName = _data[\"FullName\"];\n this.mobileNumber = _data[\"MobileNumber\"];\n this.email = _data[\"Email\"];\n this.firstName = _data[\"FirstName\"];\n this.lastName = _data[\"LastName\"];\n if (Array.isArray(_data[\"CustomerNames\"])) {\n this.customerNames = [] as any;\n for (let item of _data[\"CustomerNames\"])\n this.customerNames!.push(item);\n }\n if (Array.isArray(_data[\"Roles\"])) {\n this.roles = [] as any;\n for (let item of _data[\"Roles\"])\n this.roles!.push(item);\n }\n this.customerCode = _data[\"CustomerCode\"];\n }\n }\n\n static fromJS(data: any): UserDataModel {\n data = typeof data === 'object' ? data : {};\n let result = new UserDataModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"IsAuthenticated\"] = this.isAuthenticated;\n data[\"AuthorizationToken\"] = this.authorizationToken;\n data[\"AuthorizationInfo\"] = this.authorizationInfo ? this.authorizationInfo.toJSON() : undefined;\n data[\"UserId\"] = this.userId;\n data[\"UserName\"] = this.userName;\n data[\"FullName\"] = this.fullName;\n data[\"MobileNumber\"] = this.mobileNumber;\n data[\"Email\"] = this.email;\n data[\"FirstName\"] = this.firstName;\n data[\"LastName\"] = this.lastName;\n if (Array.isArray(this.customerNames)) {\n data[\"CustomerNames\"] = [];\n for (let item of this.customerNames)\n data[\"CustomerNames\"].push(item);\n }\n if (Array.isArray(this.roles)) {\n data[\"Roles\"] = [];\n for (let item of this.roles)\n data[\"Roles\"].push(item);\n }\n data[\"CustomerCode\"] = this.customerCode;\n return data; \n }\n\n clone(): UserDataModel {\n const json = this.toJSON();\n let result = new UserDataModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface IUserDataModel {\n isAuthenticated?: boolean | undefined;\n authorizationToken?: string | undefined;\n authorizationInfo?: IUserAuthorizationInfo | undefined;\n userId?: string | undefined;\n userName?: string | undefined;\n fullName?: string | undefined;\n mobileNumber?: string | undefined;\n email?: string | undefined;\n firstName?: string | undefined;\n lastName?: string | undefined;\n customerNames?: string[] | undefined;\n roles?: string[] | undefined;\n customerCode?: string | undefined;\n}\n\nexport class ResetPasswordModel implements IResetPasswordModel {\n emailAddress!: string;\n passwordResetToken!: string;\n password!: string;\n confirmPassword!: string;\n\n constructor(data?: IResetPasswordModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.emailAddress = _data[\"EmailAddress\"];\n this.passwordResetToken = _data[\"PasswordResetToken\"];\n this.password = _data[\"Password\"];\n this.confirmPassword = _data[\"ConfirmPassword\"];\n }\n }\n\n static fromJS(data: any): ResetPasswordModel {\n data = typeof data === 'object' ? data : {};\n let result = new ResetPasswordModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"EmailAddress\"] = this.emailAddress;\n data[\"PasswordResetToken\"] = this.passwordResetToken;\n data[\"Password\"] = this.password;\n data[\"ConfirmPassword\"] = this.confirmPassword;\n return data; \n }\n\n clone(): ResetPasswordModel {\n const json = this.toJSON();\n let result = new ResetPasswordModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface IResetPasswordModel {\n emailAddress: string;\n passwordResetToken: string;\n password: string;\n confirmPassword: string;\n}\n\nexport class CompanyRegistrationModel implements ICompanyRegistrationModel {\n primaryUser?: CreateUserBindingModel | undefined;\n company?: CompanyConsigneeBindingModel | undefined;\n emailConfirmationMethod!: CompanyRegistrationModelEmailConfirmationMethod;\n\n constructor(data?: ICompanyRegistrationModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.primaryUser = data.primaryUser && !(data.primaryUser).toJSON ? new CreateUserBindingModel(data.primaryUser) : this.primaryUser; \n this.company = data.company && !(data.company).toJSON ? new CompanyConsigneeBindingModel(data.company) : this.company; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.primaryUser = _data[\"PrimaryUser\"] ? CreateUserBindingModel.fromJS(_data[\"PrimaryUser\"]) : undefined;\n this.company = _data[\"Company\"] ? CompanyConsigneeBindingModel.fromJS(_data[\"Company\"]) : undefined;\n this.emailConfirmationMethod = _data[\"EmailConfirmationMethod\"];\n }\n }\n\n static fromJS(data: any): CompanyRegistrationModel {\n data = typeof data === 'object' ? data : {};\n let result = new CompanyRegistrationModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"PrimaryUser\"] = this.primaryUser ? this.primaryUser.toJSON() : undefined;\n data[\"Company\"] = this.company ? this.company.toJSON() : undefined;\n data[\"EmailConfirmationMethod\"] = this.emailConfirmationMethod;\n return data; \n }\n\n clone(): CompanyRegistrationModel {\n const json = this.toJSON();\n let result = new CompanyRegistrationModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface ICompanyRegistrationModel {\n primaryUser?: ICreateUserBindingModel | undefined;\n company?: ICompanyConsigneeBindingModel | undefined;\n emailConfirmationMethod: CompanyRegistrationModelEmailConfirmationMethod;\n}\n\nexport class CreateUserBindingModel implements ICreateUserBindingModel {\n email!: string;\n firstName!: string;\n lastName!: string;\n mobileNumber!: string;\n password!: string;\n confirmPassword!: string;\n\n constructor(data?: ICreateUserBindingModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.email = _data[\"Email\"];\n this.firstName = _data[\"FirstName\"];\n this.lastName = _data[\"LastName\"];\n this.mobileNumber = _data[\"MobileNumber\"];\n this.password = _data[\"Password\"];\n this.confirmPassword = _data[\"ConfirmPassword\"];\n }\n }\n\n static fromJS(data: any): CreateUserBindingModel {\n data = typeof data === 'object' ? data : {};\n let result = new CreateUserBindingModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"Email\"] = this.email;\n data[\"FirstName\"] = this.firstName;\n data[\"LastName\"] = this.lastName;\n data[\"MobileNumber\"] = this.mobileNumber;\n data[\"Password\"] = this.password;\n data[\"ConfirmPassword\"] = this.confirmPassword;\n return data; \n }\n\n clone(): CreateUserBindingModel {\n const json = this.toJSON();\n let result = new CreateUserBindingModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface ICreateUserBindingModel {\n email: string;\n firstName: string;\n lastName: string;\n mobileNumber: string;\n password: string;\n confirmPassword: string;\n}\n\nexport class CompanyConsigneeBindingModel implements ICompanyConsigneeBindingModel {\n companyName!: string;\n companyAddress!: string;\n companyPhone!: string;\n companyEmail!: string;\n companyTRN!: string;\n\n constructor(data?: ICompanyConsigneeBindingModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.companyName = _data[\"CompanyName\"];\n this.companyAddress = _data[\"CompanyAddress\"];\n this.companyPhone = _data[\"CompanyPhone\"];\n this.companyEmail = _data[\"CompanyEmail\"];\n this.companyTRN = _data[\"CompanyTRN\"];\n }\n }\n\n static fromJS(data: any): CompanyConsigneeBindingModel {\n data = typeof data === 'object' ? data : {};\n let result = new CompanyConsigneeBindingModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"CompanyName\"] = this.companyName;\n data[\"CompanyAddress\"] = this.companyAddress;\n data[\"CompanyPhone\"] = this.companyPhone;\n data[\"CompanyEmail\"] = this.companyEmail;\n data[\"CompanyTRN\"] = this.companyTRN;\n return data; \n }\n\n clone(): CompanyConsigneeBindingModel {\n const json = this.toJSON();\n let result = new CompanyConsigneeBindingModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface ICompanyConsigneeBindingModel {\n companyName: string;\n companyAddress: string;\n companyPhone: string;\n companyEmail: string;\n companyTRN: string;\n}\n\nexport class SendEmailAddressConfirmationModel implements ISendEmailAddressConfirmationModel {\n readonly username?: string | undefined;\n emailAddress!: string;\n\n constructor(data?: ISendEmailAddressConfirmationModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n (this).username = _data[\"Username\"];\n this.emailAddress = _data[\"EmailAddress\"];\n }\n }\n\n static fromJS(data: any): SendEmailAddressConfirmationModel {\n data = typeof data === 'object' ? data : {};\n let result = new SendEmailAddressConfirmationModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"Username\"] = this.username;\n data[\"EmailAddress\"] = this.emailAddress;\n return data; \n }\n\n clone(): SendEmailAddressConfirmationModel {\n const json = this.toJSON();\n let result = new SendEmailAddressConfirmationModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface ISendEmailAddressConfirmationModel {\n username?: string | undefined;\n emailAddress: string;\n}\n\nexport class IndividualRegistration implements IIndividualRegistration {\n customerCode?: string | undefined;\n primaryUser?: CreateUserBindingModel | undefined;\n tRN!: string;\n addressLine1?: string | undefined;\n addressLine2?: string | undefined;\n addressLine3?: string | undefined;\n parish?: string | undefined;\n postalCode?: string | undefined;\n country?: string | undefined;\n emailConfirmationMethod!: IndividualRegistrationEmailConfirmationMethod;\n\n constructor(data?: IIndividualRegistration) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.primaryUser = data.primaryUser && !(data.primaryUser).toJSON ? new CreateUserBindingModel(data.primaryUser) : this.primaryUser; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.customerCode = _data[\"CustomerCode\"];\n this.primaryUser = _data[\"PrimaryUser\"] ? CreateUserBindingModel.fromJS(_data[\"PrimaryUser\"]) : undefined;\n this.tRN = _data[\"TRN\"];\n this.addressLine1 = _data[\"AddressLine1\"];\n this.addressLine2 = _data[\"AddressLine2\"];\n this.addressLine3 = _data[\"AddressLine3\"];\n this.parish = _data[\"Parish\"];\n this.postalCode = _data[\"PostalCode\"];\n this.country = _data[\"Country\"];\n this.emailConfirmationMethod = _data[\"EmailConfirmationMethod\"];\n }\n }\n\n static fromJS(data: any): IndividualRegistration {\n data = typeof data === 'object' ? data : {};\n let result = new IndividualRegistration();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"CustomerCode\"] = this.customerCode;\n data[\"PrimaryUser\"] = this.primaryUser ? this.primaryUser.toJSON() : undefined;\n data[\"TRN\"] = this.tRN;\n data[\"AddressLine1\"] = this.addressLine1;\n data[\"AddressLine2\"] = this.addressLine2;\n data[\"AddressLine3\"] = this.addressLine3;\n data[\"Parish\"] = this.parish;\n data[\"PostalCode\"] = this.postalCode;\n data[\"Country\"] = this.country;\n data[\"EmailConfirmationMethod\"] = this.emailConfirmationMethod;\n return data; \n }\n\n clone(): IndividualRegistration {\n const json = this.toJSON();\n let result = new IndividualRegistration();\n result.init(json);\n return result;\n }\n}\n\nexport interface IIndividualRegistration {\n customerCode?: string | undefined;\n primaryUser?: ICreateUserBindingModel | undefined;\n tRN: string;\n addressLine1?: string | undefined;\n addressLine2?: string | undefined;\n addressLine3?: string | undefined;\n parish?: string | undefined;\n postalCode?: string | undefined;\n country?: string | undefined;\n emailConfirmationMethod: IndividualRegistrationEmailConfirmationMethod;\n}\n\nexport class ErrorResultModel implements IErrorResultModel {\n message?: string | undefined;\n modelSate?: { [key: string]: string[]; } | undefined;\n\n constructor(data?: IErrorResultModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.message = _data[\"Message\"];\n if (_data[\"ModelSate\"]) {\n this.modelSate = {} as any;\n for (let key in _data[\"ModelSate\"]) {\n if (_data[\"ModelSate\"].hasOwnProperty(key))\n this.modelSate![key] = _data[\"ModelSate\"][key] !== undefined ? _data[\"ModelSate\"][key] : [];\n }\n }\n }\n }\n\n static fromJS(data: any): ErrorResultModel {\n data = typeof data === 'object' ? data : {};\n let result = new ErrorResultModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"Message\"] = this.message;\n if (this.modelSate) {\n data[\"ModelSate\"] = {};\n for (let key in this.modelSate) {\n if (this.modelSate.hasOwnProperty(key))\n data[\"ModelSate\"][key] = this.modelSate[key];\n }\n }\n return data; \n }\n\n clone(): ErrorResultModel {\n const json = this.toJSON();\n let result = new ErrorResultModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface IErrorResultModel {\n message?: string | undefined;\n modelSate?: { [key: string]: string[]; } | undefined;\n}\n\nexport class ConfirmEmailAddressModel implements IConfirmEmailAddressModel {\n username!: string;\n code!: string;\n\n constructor(data?: IConfirmEmailAddressModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.username = _data[\"Username\"];\n this.code = _data[\"Code\"];\n }\n }\n\n static fromJS(data: any): ConfirmEmailAddressModel {\n data = typeof data === 'object' ? data : {};\n let result = new ConfirmEmailAddressModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"Username\"] = this.username;\n data[\"Code\"] = this.code;\n return data; \n }\n\n clone(): ConfirmEmailAddressModel {\n const json = this.toJSON();\n let result = new ConfirmEmailAddressModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface IConfirmEmailAddressModel {\n username: string;\n code: string;\n}\n\nexport class RoleReturnModel implements IRoleReturnModel {\n id?: string | undefined;\n name?: string | undefined;\n\n constructor(data?: IRoleReturnModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"Id\"];\n this.name = _data[\"Name\"];\n }\n }\n\n static fromJS(data: any): RoleReturnModel {\n data = typeof data === 'object' ? data : {};\n let result = new RoleReturnModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"Id\"] = this.id;\n data[\"Name\"] = this.name;\n return data; \n }\n\n clone(): RoleReturnModel {\n const json = this.toJSON();\n let result = new RoleReturnModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface IRoleReturnModel {\n id?: string | undefined;\n name?: string | undefined;\n}\n\nexport class CreateRoleBindingModel implements ICreateRoleBindingModel {\n name!: string;\n\n constructor(data?: ICreateRoleBindingModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.name = _data[\"Name\"];\n }\n }\n\n static fromJS(data: any): CreateRoleBindingModel {\n data = typeof data === 'object' ? data : {};\n let result = new CreateRoleBindingModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"Name\"] = this.name;\n return data; \n }\n\n clone(): CreateRoleBindingModel {\n const json = this.toJSON();\n let result = new CreateRoleBindingModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface ICreateRoleBindingModel {\n name: string;\n}\n\nexport class ChangePasswordBindingModel implements IChangePasswordBindingModel {\n oldPassword!: string;\n newPassword!: string;\n confirmPassword!: string;\n\n constructor(data?: IChangePasswordBindingModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.oldPassword = _data[\"OldPassword\"];\n this.newPassword = _data[\"NewPassword\"];\n this.confirmPassword = _data[\"ConfirmPassword\"];\n }\n }\n\n static fromJS(data: any): ChangePasswordBindingModel {\n data = typeof data === 'object' ? data : {};\n let result = new ChangePasswordBindingModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"OldPassword\"] = this.oldPassword;\n data[\"NewPassword\"] = this.newPassword;\n data[\"ConfirmPassword\"] = this.confirmPassword;\n return data; \n }\n\n clone(): ChangePasswordBindingModel {\n const json = this.toJSON();\n let result = new ChangePasswordBindingModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface IChangePasswordBindingModel {\n oldPassword: string;\n newPassword: string;\n confirmPassword: string;\n}\n\nexport class EditUserModel implements IEditUserModel {\n firstName!: string;\n lastName!: string;\n mobileNumber!: string;\n userId?: string | undefined;\n\n constructor(data?: IEditUserModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.firstName = _data[\"FirstName\"];\n this.lastName = _data[\"LastName\"];\n this.mobileNumber = _data[\"MobileNumber\"];\n this.userId = _data[\"UserId\"];\n }\n }\n\n static fromJS(data: any): EditUserModel {\n data = typeof data === 'object' ? data : {};\n let result = new EditUserModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"FirstName\"] = this.firstName;\n data[\"LastName\"] = this.lastName;\n data[\"MobileNumber\"] = this.mobileNumber;\n data[\"UserId\"] = this.userId;\n return data; \n }\n\n clone(): EditUserModel {\n const json = this.toJSON();\n let result = new EditUserModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface IEditUserModel {\n firstName: string;\n lastName: string;\n mobileNumber: string;\n userId?: string | undefined;\n}\n\nexport class IndividualConsigneeReturnModel implements IIndividualConsigneeReturnModel {\n primaryUserEmailAddress?: string | undefined;\n firstName?: string | undefined;\n lastName?: string | undefined;\n customerCode?: string | undefined;\n tRN?: string | undefined;\n addressLine1?: string | undefined;\n addressLine2?: string | undefined;\n addressLine3?: string | undefined;\n parish?: string | undefined;\n postalCode?: string | undefined;\n country?: string | undefined;\n mobilePhoneNumber?: string | undefined;\n\n constructor(data?: IIndividualConsigneeReturnModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.primaryUserEmailAddress = _data[\"PrimaryUserEmailAddress\"];\n this.firstName = _data[\"FirstName\"];\n this.lastName = _data[\"LastName\"];\n this.customerCode = _data[\"CustomerCode\"];\n this.tRN = _data[\"TRN\"];\n this.addressLine1 = _data[\"AddressLine1\"];\n this.addressLine2 = _data[\"AddressLine2\"];\n this.addressLine3 = _data[\"AddressLine3\"];\n this.parish = _data[\"Parish\"];\n this.postalCode = _data[\"PostalCode\"];\n this.country = _data[\"Country\"];\n this.mobilePhoneNumber = _data[\"MobilePhoneNumber\"];\n }\n }\n\n static fromJS(data: any): IndividualConsigneeReturnModel {\n data = typeof data === 'object' ? data : {};\n let result = new IndividualConsigneeReturnModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"PrimaryUserEmailAddress\"] = this.primaryUserEmailAddress;\n data[\"FirstName\"] = this.firstName;\n data[\"LastName\"] = this.lastName;\n data[\"CustomerCode\"] = this.customerCode;\n data[\"TRN\"] = this.tRN;\n data[\"AddressLine1\"] = this.addressLine1;\n data[\"AddressLine2\"] = this.addressLine2;\n data[\"AddressLine3\"] = this.addressLine3;\n data[\"Parish\"] = this.parish;\n data[\"PostalCode\"] = this.postalCode;\n data[\"Country\"] = this.country;\n data[\"MobilePhoneNumber\"] = this.mobilePhoneNumber;\n return data; \n }\n\n clone(): IndividualConsigneeReturnModel {\n const json = this.toJSON();\n let result = new IndividualConsigneeReturnModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface IIndividualConsigneeReturnModel {\n primaryUserEmailAddress?: string | undefined;\n firstName?: string | undefined;\n lastName?: string | undefined;\n customerCode?: string | undefined;\n tRN?: string | undefined;\n addressLine1?: string | undefined;\n addressLine2?: string | undefined;\n addressLine3?: string | undefined;\n parish?: string | undefined;\n postalCode?: string | undefined;\n country?: string | undefined;\n mobilePhoneNumber?: string | undefined;\n}\n\nexport class IndividualConsigneePartialUpdateModel1 implements IIndividualConsigneePartialUpdateModel1 {\n firstName!: string;\n lastName!: string;\n tRN!: string;\n addressLine1?: string | undefined;\n addressLine2?: string | undefined;\n parish?: string | undefined;\n mobilePhoneNumber?: string | undefined;\n customerCode?: string | undefined;\n\n constructor(data?: IIndividualConsigneePartialUpdateModel1) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.firstName = _data[\"FirstName\"];\n this.lastName = _data[\"LastName\"];\n this.tRN = _data[\"TRN\"];\n this.addressLine1 = _data[\"AddressLine1\"];\n this.addressLine2 = _data[\"AddressLine2\"];\n this.parish = _data[\"Parish\"];\n this.mobilePhoneNumber = _data[\"MobilePhoneNumber\"];\n this.customerCode = _data[\"CustomerCode\"];\n }\n }\n\n static fromJS(data: any): IndividualConsigneePartialUpdateModel1 {\n data = typeof data === 'object' ? data : {};\n let result = new IndividualConsigneePartialUpdateModel1();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"FirstName\"] = this.firstName;\n data[\"LastName\"] = this.lastName;\n data[\"TRN\"] = this.tRN;\n data[\"AddressLine1\"] = this.addressLine1;\n data[\"AddressLine2\"] = this.addressLine2;\n data[\"Parish\"] = this.parish;\n data[\"MobilePhoneNumber\"] = this.mobilePhoneNumber;\n data[\"CustomerCode\"] = this.customerCode;\n return data; \n }\n\n clone(): IndividualConsigneePartialUpdateModel1 {\n const json = this.toJSON();\n let result = new IndividualConsigneePartialUpdateModel1();\n result.init(json);\n return result;\n }\n}\n\nexport interface IIndividualConsigneePartialUpdateModel1 {\n firstName: string;\n lastName: string;\n tRN: string;\n addressLine1?: string | undefined;\n addressLine2?: string | undefined;\n parish?: string | undefined;\n mobilePhoneNumber?: string | undefined;\n customerCode?: string | undefined;\n}\n\nexport enum CompanyRegistrationModelEmailConfirmationMethod {\n None = \"None\",\n Url = \"Url\",\n Token = \"Token\",\n}\n\nexport enum IndividualRegistrationEmailConfirmationMethod {\n None = \"None\",\n Url = \"Url\",\n Token = \"Token\",\n}\n\nexport class SwaggerException extends Error {\n message: string;\n status: number;\n response: string;\n headers: { [key: string]: any; };\n result: any;\n\n constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any) {\n super();\n\n this.message = message;\n this.status = status;\n this.response = response;\n this.headers = headers;\n this.result = result;\n }\n\n protected isSwaggerException = true;\n\n static isSwaggerException(obj: any): obj is SwaggerException {\n return obj.isSwaggerException === true;\n }\n}\n\nfunction throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): any {\n throw new SwaggerException(message, status, response, headers, result);\n}\n\nfunction isAxiosError(obj: any | undefined): obj is AxiosError {\n return obj && obj.isAxiosError === true;\n}","import Config from '../Config.json';\nimport axios from 'axios';\nimport {random} from 'lodash';\n\n//generate a random name for config \nconst name = \"Config\" + random(123233,false);\n\nexport default class ConfigUtility {\n public static get(): Promise {\n\n // Actually have to use the Config object to ensure it get imported\n if (Config?.EnableBugSnag) {\n }\n\n if(this.globalConfig) {\n return Promise.resolve(this.globalConfig as typeof Config);\n }\n\n const configString = sessionStorage.getItem('config');\n if (!configString) {\n return axios.get(`/Config.json?v=${name}`,{ method:'POST' ,headers: {'Cache-Control': 'max-age=10'}}).then(x => {\n this.globalConfig = x.data;\n //sessionStorage.setItem('config', JSON.stringify(x.data));\n return x.data;\n });\n } else {\n const config = JSON.parse(configString);\n return Promise.resolve(config as typeof Config);\n }\n }\n\n public static getSync(): typeof Config | undefined {\n\n if(this.globalConfig) {\n return this.globalConfig ;\n }\n\n const configString = sessionStorage.getItem('config');\n\n if (!configString) {\n return undefined;\n }\n\n const config = JSON.parse(configString);\n this.globalConfig = config;\n return config;\n }\n\n static get globalConfig(): typeof Config {\n return (window as any)[name];\n }\n\n static set globalConfig(value: typeof Config) {\n (window as any)[name] = value;\n }\n}\n","import { SlimUser } from '../Api/Kopp/Api';\nimport _, { random } from 'lodash';\nimport React from 'react';\nimport { AuthUser } from 'Core/models/AuthUser';\nimport moment, { Moment } from 'moment';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport { ErrorResultModel } from 'Core/Api/UserManagement/Api';\nimport AppRoute from 'Core/models/AppRoute';\nimport TokenUtility from 'Core/TokenUtility';\nimport { matchPath } from 'react-router-dom';\n\nexport default class Utility {\n\n public static enumToSelectionOptionArray(enumeration: any): { text: string; value: any }[] {\n const list: { text: string; value: any }[] = [];\n this.enumToMap(enumeration).forEach((x, y) => list.push({ text: x, value: y }));\n return list;\n }\n\n public static enumToMap(enumeration: any): Map {\n const map = new Map();\n for (let key in enumeration) {\n //TypeScript does not allow enum keys to be numeric\n if (!isNaN(Number(key))) continue;\n\n const val = enumeration[key] as string | number;\n\n //TypeScript does not allow enum value to be null or undefined\n if (val !== undefined && val !== null) map.set(key, val);\n }\n return map;\n }\n\n\n static BuildErrorListItems(modelState: { [key: string]: string[] } | undefined) {\n let messages: string[] = [];\n // Get messages from modelState\n for (const key in modelState) {\n if (modelState.hasOwnProperty(key)) {\n const messageList = modelState[key];\n if (messageList.length > 0) messages.push(messageList[0]);\n }\n }\n\n // Create a list React Node for display\n return (\n
    \n {messages.map(x => (\n
  • {x}
  • \n ))}\n
\n );\n }\n\n static voidmethod(): void {\n\n }\n\n public static formatError(reason: any, genericMessage?: string) {\n\n if (reason?.response) {\n\n if (reason?.response?.ModelState) {\n const messageNode = Utility.BuildErrorListItems(reason.response.ModelState);\n throw messageNode;\n }\n\n if (reason?.response?.status >= 400 && reason?.response?.status < 500) {\n if (reason.response.data) {\n\n if (reason.response.data.Errors) {\n const messageNode = Utility.BuildErrorListItems(reason.response.data.Errors);\n throw messageNode;\n }\n\n if (reason.response.Errors) {\n const messageNode = Utility.BuildErrorListItems(reason.response.data.Errors);\n throw messageNode;\n }\n\n if (reason.response.data?.ErrorMessage) {\n throw reason.response.data?.ErrorMessage;\n }\n\n if (reason.response.data?.message) {\n throw reason.response.data?.message;\n }\n\n const errorResponse = ErrorResultModel.fromJS(reason.response.data) as ErrorResultModel;\n errorResponse.modelSate = reason.response.data.ModelState;\n const messageNode = Utility.BuildErrorListItems(errorResponse.modelSate);\n throw messageNode;\n }\n else if (reason.errorMessage) {\n throw Error(reason.errorMessage);\n }\n else {\n console.log(reason);\n throw genericMessage || \"An error occured while handling operation. If problem persists please contact the administrator.\";\n }\n }\n } else if (reason?.ErrorMessage) {\n throw reason.ErrorMessage;\n } else {\n console.log(reason);\n throw genericMessage || \" An error occured while handling operation. If problem persists please contact the administrator.\";\n }\n return {} as T;\n }\n\n public static isPathOrSubpathAMatch(path: string, match: AppRoute): boolean {\n return (\n !!matchPath(path, match) ||\n (match.routes?.some(x => Utility.isPathOrSubpathAMatch(path, x)) ?? false)\n );\n }\n\n public static isSubPathVisible(match: AppRoute): boolean {\n return (\n !match.hideInMainMenu ||\n (match.routes?.some(x => Utility.isSubPathVisible(x)) ?? false)\n );\n }\n\n public static getAppRoutesWithFullPath(AppRoutes?: AppRoute[], parentPath: string = ''): AppRoute[] | undefined {\n return AppRoutes?.map(x => {\n const fullPath = Utility.combinePath(parentPath, x.path as string);\n return { ...x, path: fullPath, routes: Utility.getAppRoutesWithFullPath(x.routes, fullPath) }\n });\n }\n\n public static combinePath(...args: string[]) {\n let path = args[0];\n\n if (!args[0]) {\n return args[1] || args[0];\n }\n\n return (\n args\n .reduce((previousPath: string, nextpath: string) => {\n return nextpath.indexOf('/') === 0 && nextpath === '/'\n ? previousPath\n : previousPath + '/' + nextpath;\n }, '')\n // this is not an ideal solutions but it should work for now\n .replace('//', '/')\n );\n }\n\n public static HasOperations(user: AuthUser, requiredOperations: string[]) {\n // if no operations are supplied, it is a public page\n if (!requiredOperations || requiredOperations.length === 0) {\n return true;\n }\n\n // if operations are supplied and the user is not logged in, they need to login\n if ((user === null || user === undefined) && requiredOperations.length > 0) {\n return false;\n }\n\n // search through all required operations to see if the user has all of them\n\n for (const requiredOperation of requiredOperations) {\n if (user && user.operations && user.operations.length > 0) {\n const foundOperation = user.operations.filter(x => x.toString() === requiredOperation);\n\n // an operation that was required was not in the users list, they don't have permission\n if (!foundOperation || foundOperation.length === 0) {\n return false;\n }\n } else {\n // the user has no operations so it must be that the need permission\n return false;\n }\n }\n\n // to reach this point means that all operations needed where found in the users operations\n return true;\n }\n\n public static RandomNumber(max) {\n return Math.floor(Math.random() * Math.floor(max));\n }\n\n public static ToDateString(date: Moment): string {\n const config = ConfigUtility.getSync();\n if ((date as Moment).format != undefined) {\n return (date as Moment).format(config?.Display.DateFormat);\n } else {\n return moment(date).format(config?.Display.DateFormat);\n }\n }\n\n public static ConvertToStandardTimezone(date: Moment) {\n const config = ConfigUtility.getSync();\n return moment.parseZone(date.utcOffset(config?.Display.StandardTimeZone ?? -5).format(\"YYYY-MM-DDTHH:mm:ss.sss\") + config?.Display.StandardTimeZoneString ?? \"-05:00\");\n }\n\n public static getDisableBOLDates() {\n const config = ConfigUtility.getSync();\n if ((moment().utcOffset() / 60) > config!.Display!.StandardTimeZone) {\n return (current) => current ? (current && current < moment().add(-1, \"day\")) : (false);\n } else {\n return (current) => current ? (current && current < moment().add(-1, \"day\")) : (false);\n }\n }\n\n public static ToDateTimeString(date: Moment | string): string {\n const config = ConfigUtility.getSync();\n if ((date as Moment).format != undefined) {\n return (date as Moment).format(config?.Display.DateTimeFormat);\n } else {\n return moment(date).format(config?.Display.DateTimeFormat);\n }\n }\n\n public static ToTimeString(date: Moment | string): string {\n const config = ConfigUtility.getSync();\n if ((date as Moment).format != undefined) {\n return (date as Moment).format(config?.Display.TimeFormat);\n } else {\n return moment(date).format(config?.Display.TimeFormat);\n }\n }\n\n public static ContactTel(): string {\n const config = ConfigUtility.getSync();\n const telephone = config?.Contact?.Telephone;\n return !telephone ? \"\" : telephone;\n }\n public static ContactEmail(): string {\n const config = ConfigUtility.getSync();\n const email = config?.Contact?.Email;\n return !email ? \"\" : email;\n }\n public static ContactFax(): string {\n const config = ConfigUtility.getSync();\n const fax = config?.Contact?.Fax;\n return !fax ? \"\" : fax;\n }\n\n public static ReCaptureSiteKey(): string {\n const config = ConfigUtility.getSync();\n const siteKey = config?.ReCaptcha.siteKey;\n return !siteKey ? \"\" : siteKey;\n }\n\n /**\n * https://gist.github.com/nicbell/6081098#file-object-compare-js\n *\n * @static\n * @param {*} obj1\n * @param {*} obj2\n * @returns\n * @memberof Utility\n */\n public static Compare(obj1, obj2) {\n return _.isEqual(obj1, obj2);\n // Loop through properties in object 1\n // tslint:disable-next-line:forin\n }\n\n public static myCompare(obj1, obj2) {\n // tslint:disable-next-line:forin prefer-const \n for (let p in obj1) {\n // Check property exists on both objects\n if (obj1.hasOwnProperty(p) !== obj2.hasOwnProperty(p)) {\n return false;\n }\n\n switch (typeof obj1[p]) {\n // Deep compare objects\n case 'object':\n if (!Utility.Compare(obj1[p], obj2[p])) {\n return false;\n }\n break;\n // Compare function code\n case 'function':\n if (\n // tslint:disable-next-line:triple-equals\n typeof obj2[p] === 'undefined' ||\n // tslint:disable-next-line:triple-equals\n // eslint-disable-next-line eqeqeq\n (p != 'compare' && obj1[p].toString() != obj2[p].toString())\n ) {\n return false;\n }\n break;\n // Compare values\n default:\n // tslint:disable-next-line:triple-equals\n if (obj1[p] !== obj2[p]) {\n return false;\n }\n }\n }\n\n // Check object 2 for any extra properties\n // tslint:disable-next-line:prefer-const\n for (let p in obj2) {\n if (!obj2.hasOwnProperty(p)) {\n continue;\n }\n if (!obj1.hasOwnProperty(p)) {\n return false;\n }\n }\n return true;\n }\n\n\n public static retry(fn: Promise, retriesLeft = 5, intervalMs = 1000): Promise {\n return new Promise((resolve, reject) => {\n fn\n .then(resolve)\n .catch((error) => {\n setTimeout(() => {\n if (retriesLeft === 1) {\n // reject('maximum retries exceeded');\n reject(error);\n return;\n }\n\n // Passing on \"reject\" is the important part\n Utility.retry(fn, intervalMs, retriesLeft - 1).then(resolve, reject);\n }, intervalMs);\n });\n });\n }\n\n static GetOrGenerateCorrleationId(): any {\n return Utility.newGuid();\n }\n\n\n static newGuid() {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n var r = Math.random() * 16 | 0,\n v = c == 'x' ? r : (r & 0x3 | 0x8);\n return v.toString(16);\n });\n }\n\n constructor() { }\n}\n","import React, { useDebugValue } from 'react';\nimport { UpdatableContext } from './UpdatableContext';\nimport { AuthUser } from 'Core/models/AuthUser';\n\nconst data = undefined;\nconst Update = () => {};\n\nconst AuthContext = React.createContext>({ data, Update });\n\nexport default AuthContext;\n","import * as React from 'react';\nimport { Menu as AntdMenu, Icon } from 'antd';\nimport AppRoute from '../../../Core/models/AppRoute';\nimport { NavLink, withRouter, RouteComponentProps, matchPath } from 'react-router-dom';\nimport Utility from '../../../Core/Utility';\nimport logo from '../../../assets/images/logo.svg';\nimport AuthContext from 'Context/AuthContext';\nimport { SlimUser } from 'Core/Api/Kopp/Api';\nimport { AuthUser } from 'Core/models/AuthUser';\nconst SubMenu = AntdMenu.SubMenu;\nconst MenuItemGroup = AntdMenu.ItemGroup;\n\nexport declare type MenuMode =\n | 'vertical'\n | 'vertical-left'\n | 'vertical-right'\n | 'horizontal'\n | 'inline';\n\nexport interface Props extends RouteComponentProps {\n children?: React.ReactNode;\n menu: AppRoute[];\n mode?: MenuMode;\n menuItemStyle?: React.CSSProperties;\n}\n\nexport interface State { }\n\nclass AppMenuWithoutRouter extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n RenderNavLink(menu: AppRoute, fullPath: string = ''): React.ReactNode {\n if (menu.hideInMainMenu) {\n return;\n }\n\n return (\n \n {menu.title}\n \n \n );\n }\n\n RenderChildMenuItems(menuItems: AppRoute[], parentPath: string = ''): React.ReactNode {\n return menuItems.map((menuItem: AppRoute) => this.getMenuItem(menuItem, parentPath));\n }\n\n getMenuItem(menu: AppRoute, parentPath: string = ''): React.ReactNode {\n const user = this.context.data as AuthUser;\n if (menu.hideInMainMenu || !Utility.HasOperations(user, menu.requiredOperations || [])) {\n return null;\n }\n\n // Get full url of this link including the parent path (sub-path are always relative to parent path)\n const fullPath = Utility.combinePath(parentPath, menu.path as string);\n\n const onTitleClick = () => this.props.history.push(fullPath);\n\n // If this route is a parent route, it should be a SubMenu, else a MenuItem\n let Element: any = menu.routes ? SubMenu : AntdMenu.Item;\n //let Element: any = menu.routes && menu.routes.some(x => Utility.isSubPathVisible(x)) ? SubMenu : AntdMenu.Item;\n\n let clickEventHandler = menu.routes\n ? { onTitleClick: onTitleClick }\n : { onClick: onTitleClick };\n // this is added to Element that for SubMenu's we can link to the correct path\n\n // Setting the title for the menu (for parent-menus will have to get the icon seperately)\n const title: any = menu.routes ? this.GetTitle(menu) : menu.title;\n\n // Need to be aware if we are act this current path (or parent path) so as to highlight the menu item\n const matchInfo = { path: this.props.match.path, exact: true };\n const isMatch = this.CheckIfPathMatched(fullPath, matchInfo);\n const activeClass = isMatch ? 'ant-menu-item-selected' : '';\n\n // if menu skip, don't show this route, just render the children\n if (menu.skip) {\n return menu.routes\n ? this.RenderChildMenuItems(menu.routes as any, fullPath)\n : this.RenderNavLink(menu, fullPath);\n } else {\n return (\n \n {menu.routes\n ? this.RenderChildMenuItems(menu.routes as any, fullPath)\n : this.RenderNavLink(menu, fullPath)}\n \n );\n }\n }\n\n /**\n * Check if the path or a sub-path is the current path\n * @param path\n * @param match current location { path, exact, strict }\n */\n CheckIfPathMatched(path: any, match: any) {\n return (\n !!matchPath(path, match) || ((match.path as string).startsWith(path) && path !== match.path)\n );\n }\n\n /**\n * Gets the title especially if it has a icon\n *\n * @param {AppRoute} menu\n * @returns {ReactNode}\n * @memberof AppMenuWithoutRouter\n */\n GetTitle(menu: AppRoute): any {\n return (\n \n {menu.title}\n \n );\n }\n\n render() {\n return (\n }\n mode={this.props.mode}\n onClick={e => e.domEvent.stopPropagation()}\n theme=\"light\">\n {this.props.menu.map(item => this.getMenuItem(item))}\n \n );\n }\n}\n\nconst AppMenu = withRouter(AppMenuWithoutRouter);\nexport default AppMenu;\n","export default __webpack_public_path__ + \"static/media/logo.6d45e4a9.png\";","import * as React from 'react';\nimport LogoImg from '../../../assets/images/logo.png';\nimport { NavLink } from 'react-router-dom';\nimport styled, { StyledComponent } from 'styled-components';\nexport interface LogoProps {\n linkUrl?: string;\n disableLinking?: boolean;\n}\n\nconst SLogo = styled.div`\n height: 44px;\n background: url(${LogoImg});\n background-size: contain;\n background-position: center center;\n background-repeat: no-repeat;\n cursor: ${(props: LogoProps) => (props.disableLinking ? 'inherit' : 'pointer')};\n margin: 16px;\n`;\n\nexport default class Logo extends React.PureComponent {\n public render() {\n return (\n \n {!this.props.disableLinking && }\n \n );\n }\n}\n","import * as React from 'react';\nimport { Layout } from 'antd';\nimport { AppRoutes } from '../../../../Core/AppRoutes';\nimport logo from '../../../assets/images/logo.svg';\nimport AppRoute from '../../../../Core/models/AppRoute';\nimport AppMenu from '../../AppMenu';\nimport Logo from '../../../Styled/Logo';\nconst { Sider } = Layout;\nexport interface Props {\n children?: React.ReactNode;\n menu: AppRoute[];\n}\n\nexport interface State { }\n\nexport default class Sidebar extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return (\n \n \n \n \n );\n }\n}\n","import React from 'react';\nimport antd from 'antd';\nimport { GetFieldDecoratorOptions } from 'antd/lib/form/Form';\nimport { FormItemProps } from 'antd/lib/form';\n\nconst { Form } = antd;\nexport interface Props extends GetFieldDecoratorOptions, FormItemProps {\n children: any;\n getFieldDecorator: any;\n name: string;\n}\n\nconst FormControl = ({ children, getFieldDecorator, name, ...rest }: Props) => (\n {getFieldDecorator(name, rest)(children)}\n);\n\nexport default FormControl;\n","import FormControl from './FormControl';\n\nexport default FormControl;\n","/* tslint:disable */\n/* eslint-disable */\n//----------------------\n// \n// Generated using the NSwag toolchain v13.8.2.0 (NJsonSchema v10.2.1.0 (Newtonsoft.Json v12.0.0.0)) (http://NSwag.org)\n// \n//----------------------\n// ReSharper disable InconsistentNaming\n\nimport axios, { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios';\n\nexport interface IClient {\n /**\n * @param body (optional) \n * @return Success\n */\n getCart(body: GetCartCommandRequest | undefined): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n removeFromCart(body: RemoveFromCartCommandRequest | undefined): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n upsertToCart(body: UpsertToCartCommandRequest | undefined): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n closeActiveCart(body: CloseActiveCartCommandRequest | undefined): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n emptyCart(body: EmptyCartCommandRequest | undefined): Promise;\n /**\n * @return Success\n */\n logout(): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n login(body: LoginCommandRequest | undefined): Promise;\n /**\n * @return Success\n */\n refreshUMAToken(): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n getFilteredTrackedBolForLoggedInUser(body: GetFilteredTrackedBolForLoggedInUserQueryRequest | undefined): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n getFilteredTrackedBolForAdmin(body: GetFilteredTrackedBolForAdminQueryRequest | undefined): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n getTrackedBolDetailsById(body: GetTrackedBolDetailsByIdCommandRequest | undefined): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n updateTrackedBol(body: UpdateTrackedBolCommandRequest | undefined): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n updateTrackedBolStatus(body: UpdateTrackedBolStatusCommandRequest | undefined): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n addTrackedBol(body: AddTrackedBolCommandRequest | undefined): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n getTrackedBolDetailsByBolReference(body: GetTrackedBolDetailsByBolReferenceCommandRequest | undefined): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n getFilteredTrackedBolDescriptionForLoggedUser(body: GetFilteredTrackedBolDescriptionForLoggedUserQueryRequest | undefined): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n updateTrackedBolSupplementaryInfo(body: UpdateTrackedBolSupplementaryInfoRequest | undefined): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n getCustomerTrackedBolReport(body: GetCustomerTrackedBolReportRequest | undefined): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n getCustomerTrackedBolReport2(body: GetCustomerTrackedBolReportRequest | undefined): Promise;\n /**\n * @param body (optional) \n * @return Success\n */\n getFilteredTrackedBolFileTypeForLoggedInUser(body: GetFilteredTrackedBolFileTypeForLoggedInUserQueryRequest | undefined): Promise;\n /**\n * @return Success\n */\n getTrackedBolFileById(id: string | null): Promise;\n /**\n * @return Success\n */\n getTrackedBolFileById2(id: string | null): Promise;\n}\n\nexport class Client implements IClient {\n private instance: AxiosInstance;\n private baseUrl: string;\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(baseUrl?: string, instance?: AxiosInstance) {\n this.instance = instance ? instance : axios.create();\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n getCart(body: GetCartCommandRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Cart/GetCart\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetCart(_response);\n });\n }\n\n protected processGetCart(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = GetCartCommandResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n removeFromCart(body: RemoveFromCartCommandRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Cart/RemoveFromCart\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processRemoveFromCart(_response);\n });\n }\n\n protected processRemoveFromCart(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = RemoveFromCartCommandResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n upsertToCart(body: UpsertToCartCommandRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Cart/UpsertToCart\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processUpsertToCart(_response);\n });\n }\n\n protected processUpsertToCart(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = UpsertToCartCommandResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n closeActiveCart(body: CloseActiveCartCommandRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Cart/CloseActiveCart\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processCloseActiveCart(_response);\n });\n }\n\n protected processCloseActiveCart(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = CloseActiveCartCommandResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n emptyCart(body: EmptyCartCommandRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Cart/EmptyCart\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processEmptyCart(_response);\n });\n }\n\n protected processEmptyCart(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = EmptyCartCommandResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return Success\n */\n logout( cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Security/Logout\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"POST\",\n url: url_,\n headers: {\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processLogout(_response);\n });\n }\n\n protected processLogout(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n return Promise.resolve(null);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n login(body: LoginCommandRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Security/Login\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processLogin(_response);\n });\n }\n\n protected processLogin(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = LoginCommandResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return Success\n */\n refreshUMAToken( cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/Security/RefreshUMAToken\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"POST\",\n url: url_,\n headers: {\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processRefreshUMAToken(_response);\n });\n }\n\n protected processRefreshUMAToken(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = LoginCommandResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n getFilteredTrackedBolForLoggedInUser(body: GetFilteredTrackedBolForLoggedInUserQueryRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/TrackedBol/GetFilteredTrackedBolForLoggedInUser\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetFilteredTrackedBolForLoggedInUser(_response);\n });\n }\n\n protected processGetFilteredTrackedBolForLoggedInUser(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = GetFilteredTrackedBolForLoggedInUserQueryResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n getFilteredTrackedBolForAdmin(body: GetFilteredTrackedBolForAdminQueryRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/TrackedBol/GetFilteredTrackedBolForAdmin\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetFilteredTrackedBolForAdmin(_response);\n });\n }\n\n protected processGetFilteredTrackedBolForAdmin(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = GetFilteredTrackedBolForAdminQueryResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n getTrackedBolDetailsById(body: GetTrackedBolDetailsByIdCommandRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/TrackedBol/GetTrackedBolDetailsById\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetTrackedBolDetailsById(_response);\n });\n }\n\n protected processGetTrackedBolDetailsById(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = GetTrackedBolDetailsByIdCommandResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n updateTrackedBol(body: UpdateTrackedBolCommandRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/TrackedBol/UpdateTrackedBol\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processUpdateTrackedBol(_response);\n });\n }\n\n protected processUpdateTrackedBol(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = UpdateTrackedBolCommandResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n updateTrackedBolStatus(body: UpdateTrackedBolStatusCommandRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/TrackedBol/UpdateTrackedBolStatus\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processUpdateTrackedBolStatus(_response);\n });\n }\n\n protected processUpdateTrackedBolStatus(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = UpdateTrackedBolStatusCommandResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n addTrackedBol(body: AddTrackedBolCommandRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/TrackedBol/AddTrackedBol\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processAddTrackedBol(_response);\n });\n }\n\n protected processAddTrackedBol(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = AddTrackedBolCommandResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n getTrackedBolDetailsByBolReference(body: GetTrackedBolDetailsByBolReferenceCommandRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/TrackedBol/GetTrackedBolDetailsByBolReference\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetTrackedBolDetailsByBolReference(_response);\n });\n }\n\n protected processGetTrackedBolDetailsByBolReference(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = GetTrackedBolDetailsByBolReferenceCommandResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n getFilteredTrackedBolDescriptionForLoggedUser(body: GetFilteredTrackedBolDescriptionForLoggedUserQueryRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/TrackedBol/GetFilteredTrackedBolDescriptionForLoggedUser\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetFilteredTrackedBolDescriptionForLoggedUser(_response);\n });\n }\n\n protected processGetFilteredTrackedBolDescriptionForLoggedUser(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = GetFilteredTrackedBolDescriptionForLoggedUserQueryResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n updateTrackedBolSupplementaryInfo(body: UpdateTrackedBolSupplementaryInfoRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/TrackedBol/UpdateTrackedBolSupplementaryInfo\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processUpdateTrackedBolSupplementaryInfo(_response);\n });\n }\n\n protected processUpdateTrackedBolSupplementaryInfo(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = UpdateTrackedBolSupplementaryInfoResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n getCustomerTrackedBolReport(body: GetCustomerTrackedBolReportRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/TrackedBol/GetCustomerTrackedBolReport\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n responseType: \"blob\",\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetCustomerTrackedBolReport(_response);\n });\n }\n\n protected processGetCustomerTrackedBolReport(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200 || status === 206) {\n const contentDisposition = response.headers ? response.headers[\"content-disposition\"] : undefined;\n const fileNameMatch = contentDisposition ? /filename=\"?([^\"]*?)\"?(;|$)/g.exec(contentDisposition) : undefined;\n const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;\n return Promise.resolve({ fileName: fileName, status: status, data: response.data as Blob, headers: _headers });\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n getCustomerTrackedBolReport2(body: GetCustomerTrackedBolReportRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/TrackedBol/GetCustomerTrackedBolReport\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n responseType: \"blob\",\n method: \"HEAD\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetCustomerTrackedBolReport2(_response);\n });\n }\n\n protected processGetCustomerTrackedBolReport2(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200 || status === 206) {\n const contentDisposition = response.headers ? response.headers[\"content-disposition\"] : undefined;\n const fileNameMatch = contentDisposition ? /filename=\"?([^\"]*?)\"?(;|$)/g.exec(contentDisposition) : undefined;\n const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;\n return Promise.resolve({ fileName: fileName, status: status, data: response.data as Blob, headers: _headers });\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param body (optional) \n * @return Success\n */\n getFilteredTrackedBolFileTypeForLoggedInUser(body: GetFilteredTrackedBolFileTypeForLoggedInUserQueryRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/TrackedBolFile/GetFilteredTrackedBolFileTypeForLoggedInUser\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetFilteredTrackedBolFileTypeForLoggedInUser(_response);\n });\n }\n\n protected processGetFilteredTrackedBolFileTypeForLoggedInUser(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = GetFilteredTrackedBolFileTypeForLoggedInUserQueryResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return Success\n */\n getTrackedBolFileById(id: string | null , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/TrackedBolFile/GetTrackedBolFileById/{id}\";\n if (id === undefined || id === null)\n throw new Error(\"The parameter 'id' must be defined.\");\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetTrackedBolFileById(_response);\n });\n }\n\n protected processGetTrackedBolFileById(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = GetTrackedBolFileByIdQueryResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return Success\n */\n getTrackedBolFileById2(id: string | null , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/api/TrackedBolFile/GetTrackedBolFileById/{id}\";\n if (id === undefined || id === null)\n throw new Error(\"The parameter 'id' must be defined.\");\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"HEAD\",\n url: url_,\n headers: {\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetTrackedBolFileById2(_response);\n });\n }\n\n protected processGetTrackedBolFileById2(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = GetTrackedBolFileByIdQueryResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n}\n\nexport class GetCartCommandRequest implements IGetCartCommandRequest {\n\n constructor(data?: IGetCartCommandRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n }\n\n static fromJS(data: any): GetCartCommandRequest {\n data = typeof data === 'object' ? data : {};\n let result = new GetCartCommandRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n return data; \n }\n\n clone(): GetCartCommandRequest {\n const json = this.toJSON();\n let result = new GetCartCommandRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetCartCommandRequest {\n}\n\nexport enum CartStatus {\n Finialized = \"Finialized\",\n Active = \"Active\",\n}\n\nexport class CartItem implements ICartItem {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n itemReference?: string | undefined;\n pickupDate?: string;\n updateDate?: string | undefined;\n name?: string | undefined;\n cost?: number;\n additionalInfo?: string | undefined;\n cartId?: string;\n cart?: Cart;\n\n constructor(data?: ICartItem) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.cart = data.cart && !(data.cart).toJSON ? new Cart(data.cart) : this.cart; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.createdBy = _data[\"createdBy\"];\n this.createdById = _data[\"createdById\"];\n this.creationDate = _data[\"creationDate\"];\n this.modifiedBy = _data[\"modifiedBy\"];\n this.modifiedById = _data[\"modifiedById\"];\n this.modificationDate = _data[\"modificationDate\"];\n this.rowVersion = _data[\"rowVersion\"];\n this.itemReference = _data[\"itemReference\"];\n this.pickupDate = _data[\"pickupDate\"];\n this.updateDate = _data[\"updateDate\"];\n this.name = _data[\"name\"];\n this.cost = _data[\"cost\"];\n this.additionalInfo = _data[\"additionalInfo\"];\n this.cartId = _data[\"cartId\"];\n this.cart = _data[\"cart\"] ? Cart.fromJS(_data[\"cart\"]) : undefined;\n }\n }\n\n static fromJS(data: any): CartItem {\n data = typeof data === 'object' ? data : {};\n let result = new CartItem();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"createdBy\"] = this.createdBy;\n data[\"createdById\"] = this.createdById;\n data[\"creationDate\"] = this.creationDate;\n data[\"modifiedBy\"] = this.modifiedBy;\n data[\"modifiedById\"] = this.modifiedById;\n data[\"modificationDate\"] = this.modificationDate;\n data[\"rowVersion\"] = this.rowVersion;\n data[\"itemReference\"] = this.itemReference;\n data[\"pickupDate\"] = this.pickupDate;\n data[\"updateDate\"] = this.updateDate;\n data[\"name\"] = this.name;\n data[\"cost\"] = this.cost;\n data[\"additionalInfo\"] = this.additionalInfo;\n data[\"cartId\"] = this.cartId;\n data[\"cart\"] = this.cart ? this.cart.toJSON() : undefined;\n return data; \n }\n\n clone(): CartItem {\n const json = this.toJSON();\n let result = new CartItem();\n result.init(json);\n return result;\n }\n}\n\nexport interface ICartItem {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n itemReference?: string | undefined;\n pickupDate?: string;\n updateDate?: string | undefined;\n name?: string | undefined;\n cost?: number;\n additionalInfo?: string | undefined;\n cartId?: string;\n cart?: ICart;\n}\n\nexport class Cart implements ICart {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n userId?: string;\n total?: number;\n status?: CartStatus;\n cartItems?: CartItem[] | undefined;\n\n constructor(data?: ICart) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.cartItems) {\n this.cartItems = [];\n for (let i = 0; i < data.cartItems.length; i++) {\n let item = data.cartItems[i];\n this.cartItems[i] = item && !(item).toJSON ? new CartItem(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.createdBy = _data[\"createdBy\"];\n this.createdById = _data[\"createdById\"];\n this.creationDate = _data[\"creationDate\"];\n this.modifiedBy = _data[\"modifiedBy\"];\n this.modifiedById = _data[\"modifiedById\"];\n this.modificationDate = _data[\"modificationDate\"];\n this.rowVersion = _data[\"rowVersion\"];\n this.userId = _data[\"userId\"];\n this.total = _data[\"total\"];\n this.status = _data[\"status\"];\n if (Array.isArray(_data[\"cartItems\"])) {\n this.cartItems = [] as any;\n for (let item of _data[\"cartItems\"])\n this.cartItems!.push(CartItem.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): Cart {\n data = typeof data === 'object' ? data : {};\n let result = new Cart();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"createdBy\"] = this.createdBy;\n data[\"createdById\"] = this.createdById;\n data[\"creationDate\"] = this.creationDate;\n data[\"modifiedBy\"] = this.modifiedBy;\n data[\"modifiedById\"] = this.modifiedById;\n data[\"modificationDate\"] = this.modificationDate;\n data[\"rowVersion\"] = this.rowVersion;\n data[\"userId\"] = this.userId;\n data[\"total\"] = this.total;\n data[\"status\"] = this.status;\n if (Array.isArray(this.cartItems)) {\n data[\"cartItems\"] = [];\n for (let item of this.cartItems)\n data[\"cartItems\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): Cart {\n const json = this.toJSON();\n let result = new Cart();\n result.init(json);\n return result;\n }\n}\n\nexport interface ICart {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n userId?: string;\n total?: number;\n status?: CartStatus;\n cartItems?: ICartItem[] | undefined;\n}\n\nexport class GetCartCommandResponse implements IGetCartCommandResponse {\n cart?: Cart;\n\n constructor(data?: IGetCartCommandResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.cart = data.cart && !(data.cart).toJSON ? new Cart(data.cart) : this.cart; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.cart = _data[\"cart\"] ? Cart.fromJS(_data[\"cart\"]) : undefined;\n }\n }\n\n static fromJS(data: any): GetCartCommandResponse {\n data = typeof data === 'object' ? data : {};\n let result = new GetCartCommandResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"cart\"] = this.cart ? this.cart.toJSON() : undefined;\n return data; \n }\n\n clone(): GetCartCommandResponse {\n const json = this.toJSON();\n let result = new GetCartCommandResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetCartCommandResponse {\n cart?: ICart;\n}\n\nexport class RemoveFromCartCommandRequest implements IRemoveFromCartCommandRequest {\n itemReference?: string | undefined;\n\n constructor(data?: IRemoveFromCartCommandRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.itemReference = _data[\"itemReference\"];\n }\n }\n\n static fromJS(data: any): RemoveFromCartCommandRequest {\n data = typeof data === 'object' ? data : {};\n let result = new RemoveFromCartCommandRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"itemReference\"] = this.itemReference;\n return data; \n }\n\n clone(): RemoveFromCartCommandRequest {\n const json = this.toJSON();\n let result = new RemoveFromCartCommandRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IRemoveFromCartCommandRequest {\n itemReference?: string | undefined;\n}\n\nexport class RemoveFromCartCommandResponse implements IRemoveFromCartCommandResponse {\n cart?: Cart;\n\n constructor(data?: IRemoveFromCartCommandResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.cart = data.cart && !(data.cart).toJSON ? new Cart(data.cart) : this.cart; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.cart = _data[\"cart\"] ? Cart.fromJS(_data[\"cart\"]) : undefined;\n }\n }\n\n static fromJS(data: any): RemoveFromCartCommandResponse {\n data = typeof data === 'object' ? data : {};\n let result = new RemoveFromCartCommandResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"cart\"] = this.cart ? this.cart.toJSON() : undefined;\n return data; \n }\n\n clone(): RemoveFromCartCommandResponse {\n const json = this.toJSON();\n let result = new RemoveFromCartCommandResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IRemoveFromCartCommandResponse {\n cart?: ICart;\n}\n\nexport class UpsertToCartCommandRequest implements IUpsertToCartCommandRequest {\n itemReference?: string | undefined;\n pickupDate?: string | undefined;\n cost?: number | undefined;\n additionalInfo?: string | undefined;\n\n constructor(data?: IUpsertToCartCommandRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.itemReference = _data[\"itemReference\"];\n this.pickupDate = _data[\"pickupDate\"];\n this.cost = _data[\"cost\"];\n this.additionalInfo = _data[\"additionalInfo\"];\n }\n }\n\n static fromJS(data: any): UpsertToCartCommandRequest {\n data = typeof data === 'object' ? data : {};\n let result = new UpsertToCartCommandRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"itemReference\"] = this.itemReference;\n data[\"pickupDate\"] = this.pickupDate;\n data[\"cost\"] = this.cost;\n data[\"additionalInfo\"] = this.additionalInfo;\n return data; \n }\n\n clone(): UpsertToCartCommandRequest {\n const json = this.toJSON();\n let result = new UpsertToCartCommandRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IUpsertToCartCommandRequest {\n itemReference?: string | undefined;\n pickupDate?: string | undefined;\n cost?: number | undefined;\n additionalInfo?: string | undefined;\n}\n\nexport class UpsertToCartCommandResponse implements IUpsertToCartCommandResponse {\n cart?: Cart;\n\n constructor(data?: IUpsertToCartCommandResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.cart = data.cart && !(data.cart).toJSON ? new Cart(data.cart) : this.cart; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.cart = _data[\"cart\"] ? Cart.fromJS(_data[\"cart\"]) : undefined;\n }\n }\n\n static fromJS(data: any): UpsertToCartCommandResponse {\n data = typeof data === 'object' ? data : {};\n let result = new UpsertToCartCommandResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"cart\"] = this.cart ? this.cart.toJSON() : undefined;\n return data; \n }\n\n clone(): UpsertToCartCommandResponse {\n const json = this.toJSON();\n let result = new UpsertToCartCommandResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IUpsertToCartCommandResponse {\n cart?: ICart;\n}\n\nexport class CloseActiveCartCommandRequest implements ICloseActiveCartCommandRequest {\n\n constructor(data?: ICloseActiveCartCommandRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n }\n\n static fromJS(data: any): CloseActiveCartCommandRequest {\n data = typeof data === 'object' ? data : {};\n let result = new CloseActiveCartCommandRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n return data; \n }\n\n clone(): CloseActiveCartCommandRequest {\n const json = this.toJSON();\n let result = new CloseActiveCartCommandRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface ICloseActiveCartCommandRequest {\n}\n\nexport class CloseActiveCartCommandResponse implements ICloseActiveCartCommandResponse {\n\n constructor(data?: ICloseActiveCartCommandResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n }\n\n static fromJS(data: any): CloseActiveCartCommandResponse {\n data = typeof data === 'object' ? data : {};\n let result = new CloseActiveCartCommandResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n return data; \n }\n\n clone(): CloseActiveCartCommandResponse {\n const json = this.toJSON();\n let result = new CloseActiveCartCommandResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface ICloseActiveCartCommandResponse {\n}\n\nexport class EmptyCartCommandRequest implements IEmptyCartCommandRequest {\n\n constructor(data?: IEmptyCartCommandRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n }\n\n static fromJS(data: any): EmptyCartCommandRequest {\n data = typeof data === 'object' ? data : {};\n let result = new EmptyCartCommandRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n return data; \n }\n\n clone(): EmptyCartCommandRequest {\n const json = this.toJSON();\n let result = new EmptyCartCommandRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IEmptyCartCommandRequest {\n}\n\nexport class EmptyCartCommandResponse implements IEmptyCartCommandResponse {\n cart?: Cart;\n\n constructor(data?: IEmptyCartCommandResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.cart = data.cart && !(data.cart).toJSON ? new Cart(data.cart) : this.cart; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.cart = _data[\"cart\"] ? Cart.fromJS(_data[\"cart\"]) : undefined;\n }\n }\n\n static fromJS(data: any): EmptyCartCommandResponse {\n data = typeof data === 'object' ? data : {};\n let result = new EmptyCartCommandResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"cart\"] = this.cart ? this.cart.toJSON() : undefined;\n return data; \n }\n\n clone(): EmptyCartCommandResponse {\n const json = this.toJSON();\n let result = new EmptyCartCommandResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IEmptyCartCommandResponse {\n cart?: ICart;\n}\n\nexport class LoginCommandRequest implements ILoginCommandRequest {\n username?: string | undefined;\n password?: string | undefined;\n reCaptchaToken?: string | undefined;\n\n constructor(data?: ILoginCommandRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.username = _data[\"username\"];\n this.password = _data[\"password\"];\n this.reCaptchaToken = _data[\"reCaptchaToken\"];\n }\n }\n\n static fromJS(data: any): LoginCommandRequest {\n data = typeof data === 'object' ? data : {};\n let result = new LoginCommandRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"username\"] = this.username;\n data[\"password\"] = this.password;\n data[\"reCaptchaToken\"] = this.reCaptchaToken;\n return data; \n }\n\n clone(): LoginCommandRequest {\n const json = this.toJSON();\n let result = new LoginCommandRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface ILoginCommandRequest {\n username?: string | undefined;\n password?: string | undefined;\n reCaptchaToken?: string | undefined;\n}\n\nexport class SlimUser implements ISlimUser {\n id?: string;\n shortId?: string | undefined;\n firstname?: string | undefined;\n lastname?: string | undefined;\n phoneNumber?: string | undefined;\n sessionId?: string | undefined;\n username?: string | undefined;\n email?: string | undefined;\n operations?: Operations[] | undefined;\n roles?: string[] | undefined;\n umaid?: string | undefined;\n customerCode?: string | undefined;\n fullName?: string | undefined;\n groups?: string[] | undefined;\n\n constructor(data?: ISlimUser) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.shortId = _data[\"shortId\"];\n this.firstname = _data[\"firstname\"];\n this.lastname = _data[\"lastname\"];\n this.phoneNumber = _data[\"phoneNumber\"];\n this.sessionId = _data[\"sessionId\"];\n this.username = _data[\"username\"];\n this.email = _data[\"email\"];\n if (Array.isArray(_data[\"operations\"])) {\n this.operations = [] as any;\n for (let item of _data[\"operations\"])\n this.operations!.push(item);\n }\n if (Array.isArray(_data[\"roles\"])) {\n this.roles = [] as any;\n for (let item of _data[\"roles\"])\n this.roles!.push(item);\n }\n this.umaid = _data[\"umaid\"];\n this.customerCode = _data[\"customerCode\"];\n this.fullName = _data[\"fullName\"];\n if (Array.isArray(_data[\"groups\"])) {\n this.groups = [] as any;\n for (let item of _data[\"groups\"])\n this.groups!.push(item);\n }\n }\n }\n\n static fromJS(data: any): SlimUser {\n data = typeof data === 'object' ? data : {};\n let result = new SlimUser();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"shortId\"] = this.shortId;\n data[\"firstname\"] = this.firstname;\n data[\"lastname\"] = this.lastname;\n data[\"phoneNumber\"] = this.phoneNumber;\n data[\"sessionId\"] = this.sessionId;\n data[\"username\"] = this.username;\n data[\"email\"] = this.email;\n if (Array.isArray(this.operations)) {\n data[\"operations\"] = [];\n for (let item of this.operations)\n data[\"operations\"].push(item);\n }\n if (Array.isArray(this.roles)) {\n data[\"roles\"] = [];\n for (let item of this.roles)\n data[\"roles\"].push(item);\n }\n data[\"umaid\"] = this.umaid;\n data[\"customerCode\"] = this.customerCode;\n data[\"fullName\"] = this.fullName;\n if (Array.isArray(this.groups)) {\n data[\"groups\"] = [];\n for (let item of this.groups)\n data[\"groups\"].push(item);\n }\n return data; \n }\n\n clone(): SlimUser {\n const json = this.toJSON();\n let result = new SlimUser();\n result.init(json);\n return result;\n }\n}\n\nexport interface ISlimUser {\n id?: string;\n shortId?: string | undefined;\n firstname?: string | undefined;\n lastname?: string | undefined;\n phoneNumber?: string | undefined;\n sessionId?: string | undefined;\n username?: string | undefined;\n email?: string | undefined;\n operations?: Operations[] | undefined;\n roles?: string[] | undefined;\n umaid?: string | undefined;\n customerCode?: string | undefined;\n fullName?: string | undefined;\n groups?: string[] | undefined;\n}\n\nexport class LoginCommandResponse implements ILoginCommandResponse {\n username?: string | undefined;\n fullname?: string | undefined;\n loggedIn?: boolean;\n accessTokenExpiresIn?: number;\n accessToken?: string | undefined;\n user?: SlimUser;\n\n constructor(data?: ILoginCommandResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.user = data.user && !(data.user).toJSON ? new SlimUser(data.user) : this.user; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.username = _data[\"username\"];\n this.fullname = _data[\"fullname\"];\n this.loggedIn = _data[\"loggedIn\"];\n this.accessTokenExpiresIn = _data[\"accessTokenExpiresIn\"];\n this.accessToken = _data[\"accessToken\"];\n this.user = _data[\"user\"] ? SlimUser.fromJS(_data[\"user\"]) : undefined;\n }\n }\n\n static fromJS(data: any): LoginCommandResponse {\n data = typeof data === 'object' ? data : {};\n let result = new LoginCommandResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"username\"] = this.username;\n data[\"fullname\"] = this.fullname;\n data[\"loggedIn\"] = this.loggedIn;\n data[\"accessTokenExpiresIn\"] = this.accessTokenExpiresIn;\n data[\"accessToken\"] = this.accessToken;\n data[\"user\"] = this.user ? this.user.toJSON() : undefined;\n return data; \n }\n\n clone(): LoginCommandResponse {\n const json = this.toJSON();\n let result = new LoginCommandResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface ILoginCommandResponse {\n username?: string | undefined;\n fullname?: string | undefined;\n loggedIn?: boolean;\n accessTokenExpiresIn?: number;\n accessToken?: string | undefined;\n user?: ISlimUser;\n}\n\nexport enum FilterType {\n Contains = \"Contains\",\n GreaterThan = \"GreaterThan\",\n GreaterThanOrEqualTo = \"GreaterThanOrEqualTo\",\n LessThan = \"LessThan\",\n LessThanOrEqualTo = \"LessThanOrEqualTo\",\n Equal = \"Equal\",\n Group = \"Group\",\n}\n\nexport enum JoinType {\n And = \"and\",\n Or = \"or\",\n}\n\nexport class Filter implements IFilter {\n field?: string | undefined;\n filterType?: FilterType;\n value?: string | undefined;\n joinType?: JoinType;\n groupFilters?: Filter[] | undefined;\n\n constructor(data?: IFilter) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.groupFilters) {\n this.groupFilters = [];\n for (let i = 0; i < data.groupFilters.length; i++) {\n let item = data.groupFilters[i];\n this.groupFilters[i] = item && !(item).toJSON ? new Filter(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.field = _data[\"field\"];\n this.filterType = _data[\"filterType\"];\n this.value = _data[\"value\"];\n this.joinType = _data[\"joinType\"];\n if (Array.isArray(_data[\"groupFilters\"])) {\n this.groupFilters = [] as any;\n for (let item of _data[\"groupFilters\"])\n this.groupFilters!.push(Filter.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): Filter {\n data = typeof data === 'object' ? data : {};\n let result = new Filter();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"field\"] = this.field;\n data[\"filterType\"] = this.filterType;\n data[\"value\"] = this.value;\n data[\"joinType\"] = this.joinType;\n if (Array.isArray(this.groupFilters)) {\n data[\"groupFilters\"] = [];\n for (let item of this.groupFilters)\n data[\"groupFilters\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): Filter {\n const json = this.toJSON();\n let result = new Filter();\n result.init(json);\n return result;\n }\n}\n\nexport interface IFilter {\n field?: string | undefined;\n filterType?: FilterType;\n value?: string | undefined;\n joinType?: JoinType;\n groupFilters?: IFilter[] | undefined;\n}\n\nexport class OrderBy implements IOrderBy {\n field?: string | undefined;\n ascending?: boolean;\n\n constructor(data?: IOrderBy) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.field = _data[\"field\"];\n this.ascending = _data[\"ascending\"];\n }\n }\n\n static fromJS(data: any): OrderBy {\n data = typeof data === 'object' ? data : {};\n let result = new OrderBy();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"field\"] = this.field;\n data[\"ascending\"] = this.ascending;\n return data; \n }\n\n clone(): OrderBy {\n const json = this.toJSON();\n let result = new OrderBy();\n result.init(json);\n return result;\n }\n}\n\nexport interface IOrderBy {\n field?: string | undefined;\n ascending?: boolean;\n}\n\nexport class GetFilteredTrackedBolForLoggedInUserQueryRequest implements IGetFilteredTrackedBolForLoggedInUserQueryRequest {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: Filter[] | undefined;\n orderBy?: OrderBy[] | undefined;\n\n constructor(data?: IGetFilteredTrackedBolForLoggedInUserQueryRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.filters) {\n this.filters = [];\n for (let i = 0; i < data.filters.length; i++) {\n let item = data.filters[i];\n this.filters[i] = item && !(item).toJSON ? new Filter(item) : item;\n }\n }\n if (data.orderBy) {\n this.orderBy = [];\n for (let i = 0; i < data.orderBy.length; i++) {\n let item = data.orderBy[i];\n this.orderBy[i] = item && !(item).toJSON ? new OrderBy(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.pageNumber = _data[\"pageNumber\"];\n this.amountPerPage = _data[\"amountPerPage\"];\n if (Array.isArray(_data[\"filters\"])) {\n this.filters = [] as any;\n for (let item of _data[\"filters\"])\n this.filters!.push(Filter.fromJS(item));\n }\n if (Array.isArray(_data[\"orderBy\"])) {\n this.orderBy = [] as any;\n for (let item of _data[\"orderBy\"])\n this.orderBy!.push(OrderBy.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): GetFilteredTrackedBolForLoggedInUserQueryRequest {\n data = typeof data === 'object' ? data : {};\n let result = new GetFilteredTrackedBolForLoggedInUserQueryRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"pageNumber\"] = this.pageNumber;\n data[\"amountPerPage\"] = this.amountPerPage;\n if (Array.isArray(this.filters)) {\n data[\"filters\"] = [];\n for (let item of this.filters)\n data[\"filters\"].push(item.toJSON());\n }\n if (Array.isArray(this.orderBy)) {\n data[\"orderBy\"] = [];\n for (let item of this.orderBy)\n data[\"orderBy\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): GetFilteredTrackedBolForLoggedInUserQueryRequest {\n const json = this.toJSON();\n let result = new GetFilteredTrackedBolForLoggedInUserQueryRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetFilteredTrackedBolForLoggedInUserQueryRequest {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: IFilter[] | undefined;\n orderBy?: IOrderBy[] | undefined;\n}\n\nexport class Department implements IDepartment {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n name?: string | undefined;\n\n constructor(data?: IDepartment) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.createdBy = _data[\"createdBy\"];\n this.createdById = _data[\"createdById\"];\n this.creationDate = _data[\"creationDate\"];\n this.modifiedBy = _data[\"modifiedBy\"];\n this.modifiedById = _data[\"modifiedById\"];\n this.modificationDate = _data[\"modificationDate\"];\n this.rowVersion = _data[\"rowVersion\"];\n this.name = _data[\"name\"];\n }\n }\n\n static fromJS(data: any): Department {\n data = typeof data === 'object' ? data : {};\n let result = new Department();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"createdBy\"] = this.createdBy;\n data[\"createdById\"] = this.createdById;\n data[\"creationDate\"] = this.creationDate;\n data[\"modifiedBy\"] = this.modifiedBy;\n data[\"modifiedById\"] = this.modifiedById;\n data[\"modificationDate\"] = this.modificationDate;\n data[\"rowVersion\"] = this.rowVersion;\n data[\"name\"] = this.name;\n return data; \n }\n\n clone(): Department {\n const json = this.toJSON();\n let result = new Department();\n result.init(json);\n return result;\n }\n}\n\nexport interface IDepartment {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n name?: string | undefined;\n}\n\nexport class Company implements ICompany {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n name?: string | undefined;\n\n constructor(data?: ICompany) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.createdBy = _data[\"createdBy\"];\n this.createdById = _data[\"createdById\"];\n this.creationDate = _data[\"creationDate\"];\n this.modifiedBy = _data[\"modifiedBy\"];\n this.modifiedById = _data[\"modifiedById\"];\n this.modificationDate = _data[\"modificationDate\"];\n this.rowVersion = _data[\"rowVersion\"];\n this.name = _data[\"name\"];\n }\n }\n\n static fromJS(data: any): Company {\n data = typeof data === 'object' ? data : {};\n let result = new Company();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"createdBy\"] = this.createdBy;\n data[\"createdById\"] = this.createdById;\n data[\"creationDate\"] = this.creationDate;\n data[\"modifiedBy\"] = this.modifiedBy;\n data[\"modifiedById\"] = this.modifiedById;\n data[\"modificationDate\"] = this.modificationDate;\n data[\"rowVersion\"] = this.rowVersion;\n data[\"name\"] = this.name;\n return data; \n }\n\n clone(): Company {\n const json = this.toJSON();\n let result = new Company();\n result.init(json);\n return result;\n }\n}\n\nexport interface ICompany {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n name?: string | undefined;\n}\n\nexport class Employee implements IEmployee {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n firstName?: string | undefined;\n lastName?: string | undefined;\n departmentId?: string | undefined;\n department?: Department;\n companyId?: string | undefined;\n company?: Company;\n readonly name?: string | undefined;\n\n constructor(data?: IEmployee) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.department = data.department && !(data.department).toJSON ? new Department(data.department) : this.department; \n this.company = data.company && !(data.company).toJSON ? new Company(data.company) : this.company; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.createdBy = _data[\"createdBy\"];\n this.createdById = _data[\"createdById\"];\n this.creationDate = _data[\"creationDate\"];\n this.modifiedBy = _data[\"modifiedBy\"];\n this.modifiedById = _data[\"modifiedById\"];\n this.modificationDate = _data[\"modificationDate\"];\n this.rowVersion = _data[\"rowVersion\"];\n this.firstName = _data[\"firstName\"];\n this.lastName = _data[\"lastName\"];\n this.departmentId = _data[\"departmentId\"];\n this.department = _data[\"department\"] ? Department.fromJS(_data[\"department\"]) : undefined;\n this.companyId = _data[\"companyId\"];\n this.company = _data[\"company\"] ? Company.fromJS(_data[\"company\"]) : undefined;\n (this).name = _data[\"name\"];\n }\n }\n\n static fromJS(data: any): Employee {\n data = typeof data === 'object' ? data : {};\n let result = new Employee();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"createdBy\"] = this.createdBy;\n data[\"createdById\"] = this.createdById;\n data[\"creationDate\"] = this.creationDate;\n data[\"modifiedBy\"] = this.modifiedBy;\n data[\"modifiedById\"] = this.modifiedById;\n data[\"modificationDate\"] = this.modificationDate;\n data[\"rowVersion\"] = this.rowVersion;\n data[\"firstName\"] = this.firstName;\n data[\"lastName\"] = this.lastName;\n data[\"departmentId\"] = this.departmentId;\n data[\"department\"] = this.department ? this.department.toJSON() : undefined;\n data[\"companyId\"] = this.companyId;\n data[\"company\"] = this.company ? this.company.toJSON() : undefined;\n data[\"name\"] = this.name;\n return data; \n }\n\n clone(): Employee {\n const json = this.toJSON();\n let result = new Employee();\n result.init(json);\n return result;\n }\n}\n\nexport interface IEmployee {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n firstName?: string | undefined;\n lastName?: string | undefined;\n departmentId?: string | undefined;\n department?: IDepartment;\n companyId?: string | undefined;\n company?: ICompany;\n name?: string | undefined;\n}\n\nexport enum TrackedBolServiceCategory {\n Agent = \"Agent\",\n FullService = \"FullService\",\n}\n\nexport enum TrackedBolStatus {\n Submitted = \"Submitted\",\n UserInterventionRequired = \"UserInterventionRequired\",\n Accepted = \"Accepted\",\n Declared = \"Declared\",\n ReadyForPaymentPreInspection = \"ReadyForPaymentPreInspection\",\n PaidPreInspection = \"PaidPreInspection\",\n Inspected = \"Inspected\",\n ReadyForPaymentPostInspection = \"ReadyForPaymentPostInspection\",\n PaidPostInspection = \"PaidPostInspection\",\n ReadyForPickUp = \"ReadyForPickUp\",\n Exited = \"Exited\",\n}\n\nexport class TrackedBolHistory implements ITrackedBolHistory {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n trackedBolId?: string;\n trackedBol?: TrackedBol;\n status?: TrackedBolStatus;\n serviceCategory?: TrackedBolServiceCategory;\n comment?: string | undefined;\n declarationNumber?: string | undefined;\n estimatedValue?: number | undefined;\n receiptNumber?: string | undefined;\n orderReferenceNumber?: string | undefined;\n paymentAmount?: number | undefined;\n gatePassNumber?: string | undefined;\n pickUpDate?: string | undefined;\n notificationGenerated?: boolean | undefined;\n gatePassResponse?: string | undefined;\n customsRelease?: string | undefined;\n readonly currentStatusForCustomer?: string | undefined;\n\n constructor(data?: ITrackedBolHistory) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.trackedBol = data.trackedBol && !(data.trackedBol).toJSON ? new TrackedBol(data.trackedBol) : this.trackedBol; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.createdBy = _data[\"createdBy\"];\n this.createdById = _data[\"createdById\"];\n this.creationDate = _data[\"creationDate\"];\n this.modifiedBy = _data[\"modifiedBy\"];\n this.modifiedById = _data[\"modifiedById\"];\n this.modificationDate = _data[\"modificationDate\"];\n this.rowVersion = _data[\"rowVersion\"];\n this.trackedBolId = _data[\"trackedBolId\"];\n this.trackedBol = _data[\"trackedBol\"] ? TrackedBol.fromJS(_data[\"trackedBol\"]) : undefined;\n this.status = _data[\"status\"];\n this.serviceCategory = _data[\"serviceCategory\"];\n this.comment = _data[\"comment\"];\n this.declarationNumber = _data[\"declarationNumber\"];\n this.estimatedValue = _data[\"estimatedValue\"];\n this.receiptNumber = _data[\"receiptNumber\"];\n this.orderReferenceNumber = _data[\"orderReferenceNumber\"];\n this.paymentAmount = _data[\"paymentAmount\"];\n this.gatePassNumber = _data[\"gatePassNumber\"];\n this.pickUpDate = _data[\"pickUpDate\"];\n this.notificationGenerated = _data[\"notificationGenerated\"];\n this.gatePassResponse = _data[\"gatePassResponse\"];\n this.customsRelease = _data[\"customsRelease\"];\n (this).currentStatusForCustomer = _data[\"currentStatusForCustomer\"];\n }\n }\n\n static fromJS(data: any): TrackedBolHistory {\n data = typeof data === 'object' ? data : {};\n let result = new TrackedBolHistory();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"createdBy\"] = this.createdBy;\n data[\"createdById\"] = this.createdById;\n data[\"creationDate\"] = this.creationDate;\n data[\"modifiedBy\"] = this.modifiedBy;\n data[\"modifiedById\"] = this.modifiedById;\n data[\"modificationDate\"] = this.modificationDate;\n data[\"rowVersion\"] = this.rowVersion;\n data[\"trackedBolId\"] = this.trackedBolId;\n data[\"trackedBol\"] = this.trackedBol ? this.trackedBol.toJSON() : undefined;\n data[\"status\"] = this.status;\n data[\"serviceCategory\"] = this.serviceCategory;\n data[\"comment\"] = this.comment;\n data[\"declarationNumber\"] = this.declarationNumber;\n data[\"estimatedValue\"] = this.estimatedValue;\n data[\"receiptNumber\"] = this.receiptNumber;\n data[\"orderReferenceNumber\"] = this.orderReferenceNumber;\n data[\"paymentAmount\"] = this.paymentAmount;\n data[\"gatePassNumber\"] = this.gatePassNumber;\n data[\"pickUpDate\"] = this.pickUpDate;\n data[\"notificationGenerated\"] = this.notificationGenerated;\n data[\"gatePassResponse\"] = this.gatePassResponse;\n data[\"customsRelease\"] = this.customsRelease;\n data[\"currentStatusForCustomer\"] = this.currentStatusForCustomer;\n return data; \n }\n\n clone(): TrackedBolHistory {\n const json = this.toJSON();\n let result = new TrackedBolHistory();\n result.init(json);\n return result;\n }\n}\n\nexport interface ITrackedBolHistory {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n trackedBolId?: string;\n trackedBol?: ITrackedBol;\n status?: TrackedBolStatus;\n serviceCategory?: TrackedBolServiceCategory;\n comment?: string | undefined;\n declarationNumber?: string | undefined;\n estimatedValue?: number | undefined;\n receiptNumber?: string | undefined;\n orderReferenceNumber?: string | undefined;\n paymentAmount?: number | undefined;\n gatePassNumber?: string | undefined;\n pickUpDate?: string | undefined;\n notificationGenerated?: boolean | undefined;\n gatePassResponse?: string | undefined;\n customsRelease?: string | undefined;\n currentStatusForCustomer?: string | undefined;\n}\n\nexport class TrackedBolFileType implements ITrackedBolFileType {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n name?: string | undefined;\n description?: string | undefined;\n\n constructor(data?: ITrackedBolFileType) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.createdBy = _data[\"createdBy\"];\n this.createdById = _data[\"createdById\"];\n this.creationDate = _data[\"creationDate\"];\n this.modifiedBy = _data[\"modifiedBy\"];\n this.modifiedById = _data[\"modifiedById\"];\n this.modificationDate = _data[\"modificationDate\"];\n this.rowVersion = _data[\"rowVersion\"];\n this.name = _data[\"name\"];\n this.description = _data[\"description\"];\n }\n }\n\n static fromJS(data: any): TrackedBolFileType {\n data = typeof data === 'object' ? data : {};\n let result = new TrackedBolFileType();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"createdBy\"] = this.createdBy;\n data[\"createdById\"] = this.createdById;\n data[\"creationDate\"] = this.creationDate;\n data[\"modifiedBy\"] = this.modifiedBy;\n data[\"modifiedById\"] = this.modifiedById;\n data[\"modificationDate\"] = this.modificationDate;\n data[\"rowVersion\"] = this.rowVersion;\n data[\"name\"] = this.name;\n data[\"description\"] = this.description;\n return data; \n }\n\n clone(): TrackedBolFileType {\n const json = this.toJSON();\n let result = new TrackedBolFileType();\n result.init(json);\n return result;\n }\n}\n\nexport interface ITrackedBolFileType {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n name?: string | undefined;\n description?: string | undefined;\n}\n\nexport class TrackedBolFile implements ITrackedBolFile {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n name?: string | undefined;\n bolFileTypeId?: string;\n bolFileType?: TrackedBolFileType;\n trackedBol?: TrackedBol;\n trackedBolId?: string | undefined;\n fileId?: string | undefined;\n\n constructor(data?: ITrackedBolFile) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.bolFileType = data.bolFileType && !(data.bolFileType).toJSON ? new TrackedBolFileType(data.bolFileType) : this.bolFileType; \n this.trackedBol = data.trackedBol && !(data.trackedBol).toJSON ? new TrackedBol(data.trackedBol) : this.trackedBol; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.createdBy = _data[\"createdBy\"];\n this.createdById = _data[\"createdById\"];\n this.creationDate = _data[\"creationDate\"];\n this.modifiedBy = _data[\"modifiedBy\"];\n this.modifiedById = _data[\"modifiedById\"];\n this.modificationDate = _data[\"modificationDate\"];\n this.rowVersion = _data[\"rowVersion\"];\n this.name = _data[\"name\"];\n this.bolFileTypeId = _data[\"bolFileTypeId\"];\n this.bolFileType = _data[\"bolFileType\"] ? TrackedBolFileType.fromJS(_data[\"bolFileType\"]) : undefined;\n this.trackedBol = _data[\"trackedBol\"] ? TrackedBol.fromJS(_data[\"trackedBol\"]) : undefined;\n this.trackedBolId = _data[\"trackedBolId\"];\n this.fileId = _data[\"fileId\"];\n }\n }\n\n static fromJS(data: any): TrackedBolFile {\n data = typeof data === 'object' ? data : {};\n let result = new TrackedBolFile();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"createdBy\"] = this.createdBy;\n data[\"createdById\"] = this.createdById;\n data[\"creationDate\"] = this.creationDate;\n data[\"modifiedBy\"] = this.modifiedBy;\n data[\"modifiedById\"] = this.modifiedById;\n data[\"modificationDate\"] = this.modificationDate;\n data[\"rowVersion\"] = this.rowVersion;\n data[\"name\"] = this.name;\n data[\"bolFileTypeId\"] = this.bolFileTypeId;\n data[\"bolFileType\"] = this.bolFileType ? this.bolFileType.toJSON() : undefined;\n data[\"trackedBol\"] = this.trackedBol ? this.trackedBol.toJSON() : undefined;\n data[\"trackedBolId\"] = this.trackedBolId;\n data[\"fileId\"] = this.fileId;\n return data; \n }\n\n clone(): TrackedBolFile {\n const json = this.toJSON();\n let result = new TrackedBolFile();\n result.init(json);\n return result;\n }\n}\n\nexport interface ITrackedBolFile {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n name?: string | undefined;\n bolFileTypeId?: string;\n bolFileType?: ITrackedBolFileType;\n trackedBol?: ITrackedBol;\n trackedBolId?: string | undefined;\n fileId?: string | undefined;\n}\n\nexport class TrackedBol implements ITrackedBol {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n bolReferenceNumber?: string | undefined;\n cngReferenceNumber?: string | undefined;\n bolNumber?: string | undefined;\n description?: string | undefined;\n userId?: string | undefined;\n userName?: string | undefined;\n userFullName?: string | undefined;\n mobile?: string | undefined;\n vessel?: string | undefined;\n voyage?: string | undefined;\n wharehouseLocation?: string | undefined;\n shipperName?: string | undefined;\n consigneeName?: string | undefined;\n cargoDescription?: string | undefined;\n numberOfPieces?: string[] | undefined;\n referredEmployeeId?: string | undefined;\n referredEmployee?: Employee;\n serviceCategory?: TrackedBolServiceCategory;\n value?: number | undefined;\n isFlaggedInApm?: boolean;\n arrivalDate?: string | undefined;\n currentStatus?: TrackedBolStatus;\n tariffCodeDescription?: { [key: string]: string; } | undefined;\n trackedBolHistories?: TrackedBolHistory[] | undefined;\n bolFiles?: TrackedBolFile[] | undefined;\n readonly currentStatusForCustomer?: string | undefined;\n\n constructor(data?: ITrackedBol) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.referredEmployee = data.referredEmployee && !(data.referredEmployee).toJSON ? new Employee(data.referredEmployee) : this.referredEmployee; \n if (data.trackedBolHistories) {\n this.trackedBolHistories = [];\n for (let i = 0; i < data.trackedBolHistories.length; i++) {\n let item = data.trackedBolHistories[i];\n this.trackedBolHistories[i] = item && !(item).toJSON ? new TrackedBolHistory(item) : item;\n }\n }\n if (data.bolFiles) {\n this.bolFiles = [];\n for (let i = 0; i < data.bolFiles.length; i++) {\n let item = data.bolFiles[i];\n this.bolFiles[i] = item && !(item).toJSON ? new TrackedBolFile(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.createdBy = _data[\"createdBy\"];\n this.createdById = _data[\"createdById\"];\n this.creationDate = _data[\"creationDate\"];\n this.modifiedBy = _data[\"modifiedBy\"];\n this.modifiedById = _data[\"modifiedById\"];\n this.modificationDate = _data[\"modificationDate\"];\n this.rowVersion = _data[\"rowVersion\"];\n this.bolReferenceNumber = _data[\"bolReferenceNumber\"];\n this.cngReferenceNumber = _data[\"cngReferenceNumber\"];\n this.bolNumber = _data[\"bolNumber\"];\n this.description = _data[\"description\"];\n this.userId = _data[\"userId\"];\n this.userName = _data[\"userName\"];\n this.userFullName = _data[\"userFullName\"];\n this.mobile = _data[\"mobile\"];\n this.vessel = _data[\"vessel\"];\n this.voyage = _data[\"voyage\"];\n this.wharehouseLocation = _data[\"wharehouseLocation\"];\n this.shipperName = _data[\"shipperName\"];\n this.consigneeName = _data[\"consigneeName\"];\n this.cargoDescription = _data[\"cargoDescription\"];\n if (Array.isArray(_data[\"numberOfPieces\"])) {\n this.numberOfPieces = [] as any;\n for (let item of _data[\"numberOfPieces\"])\n this.numberOfPieces!.push(item);\n }\n this.referredEmployeeId = _data[\"referredEmployeeId\"];\n this.referredEmployee = _data[\"referredEmployee\"] ? Employee.fromJS(_data[\"referredEmployee\"]) : undefined;\n this.serviceCategory = _data[\"serviceCategory\"];\n this.value = _data[\"value\"];\n this.isFlaggedInApm = _data[\"isFlaggedInApm\"];\n this.arrivalDate = _data[\"arrivalDate\"];\n this.currentStatus = _data[\"currentStatus\"];\n if (_data[\"tariffCodeDescription\"]) {\n this.tariffCodeDescription = {} as any;\n for (let key in _data[\"tariffCodeDescription\"]) {\n if (_data[\"tariffCodeDescription\"].hasOwnProperty(key))\n this.tariffCodeDescription![key] = _data[\"tariffCodeDescription\"][key];\n }\n }\n if (Array.isArray(_data[\"trackedBolHistories\"])) {\n this.trackedBolHistories = [] as any;\n for (let item of _data[\"trackedBolHistories\"])\n this.trackedBolHistories!.push(TrackedBolHistory.fromJS(item));\n }\n if (Array.isArray(_data[\"bolFiles\"])) {\n this.bolFiles = [] as any;\n for (let item of _data[\"bolFiles\"])\n this.bolFiles!.push(TrackedBolFile.fromJS(item));\n }\n (this).currentStatusForCustomer = _data[\"currentStatusForCustomer\"];\n }\n }\n\n static fromJS(data: any): TrackedBol {\n data = typeof data === 'object' ? data : {};\n let result = new TrackedBol();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"createdBy\"] = this.createdBy;\n data[\"createdById\"] = this.createdById;\n data[\"creationDate\"] = this.creationDate;\n data[\"modifiedBy\"] = this.modifiedBy;\n data[\"modifiedById\"] = this.modifiedById;\n data[\"modificationDate\"] = this.modificationDate;\n data[\"rowVersion\"] = this.rowVersion;\n data[\"bolReferenceNumber\"] = this.bolReferenceNumber;\n data[\"cngReferenceNumber\"] = this.cngReferenceNumber;\n data[\"bolNumber\"] = this.bolNumber;\n data[\"description\"] = this.description;\n data[\"userId\"] = this.userId;\n data[\"userName\"] = this.userName;\n data[\"userFullName\"] = this.userFullName;\n data[\"mobile\"] = this.mobile;\n data[\"vessel\"] = this.vessel;\n data[\"voyage\"] = this.voyage;\n data[\"wharehouseLocation\"] = this.wharehouseLocation;\n data[\"shipperName\"] = this.shipperName;\n data[\"consigneeName\"] = this.consigneeName;\n data[\"cargoDescription\"] = this.cargoDescription;\n if (Array.isArray(this.numberOfPieces)) {\n data[\"numberOfPieces\"] = [];\n for (let item of this.numberOfPieces)\n data[\"numberOfPieces\"].push(item);\n }\n data[\"referredEmployeeId\"] = this.referredEmployeeId;\n data[\"referredEmployee\"] = this.referredEmployee ? this.referredEmployee.toJSON() : undefined;\n data[\"serviceCategory\"] = this.serviceCategory;\n data[\"value\"] = this.value;\n data[\"isFlaggedInApm\"] = this.isFlaggedInApm;\n data[\"arrivalDate\"] = this.arrivalDate;\n data[\"currentStatus\"] = this.currentStatus;\n if (this.tariffCodeDescription) {\n data[\"tariffCodeDescription\"] = {};\n for (let key in this.tariffCodeDescription) {\n if (this.tariffCodeDescription.hasOwnProperty(key))\n data[\"tariffCodeDescription\"][key] = this.tariffCodeDescription[key];\n }\n }\n if (Array.isArray(this.trackedBolHistories)) {\n data[\"trackedBolHistories\"] = [];\n for (let item of this.trackedBolHistories)\n data[\"trackedBolHistories\"].push(item.toJSON());\n }\n if (Array.isArray(this.bolFiles)) {\n data[\"bolFiles\"] = [];\n for (let item of this.bolFiles)\n data[\"bolFiles\"].push(item.toJSON());\n }\n data[\"currentStatusForCustomer\"] = this.currentStatusForCustomer;\n return data; \n }\n\n clone(): TrackedBol {\n const json = this.toJSON();\n let result = new TrackedBol();\n result.init(json);\n return result;\n }\n}\n\nexport interface ITrackedBol {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n bolReferenceNumber?: string | undefined;\n cngReferenceNumber?: string | undefined;\n bolNumber?: string | undefined;\n description?: string | undefined;\n userId?: string | undefined;\n userName?: string | undefined;\n userFullName?: string | undefined;\n mobile?: string | undefined;\n vessel?: string | undefined;\n voyage?: string | undefined;\n wharehouseLocation?: string | undefined;\n shipperName?: string | undefined;\n consigneeName?: string | undefined;\n cargoDescription?: string | undefined;\n numberOfPieces?: string[] | undefined;\n referredEmployeeId?: string | undefined;\n referredEmployee?: IEmployee;\n serviceCategory?: TrackedBolServiceCategory;\n value?: number | undefined;\n isFlaggedInApm?: boolean;\n arrivalDate?: string | undefined;\n currentStatus?: TrackedBolStatus;\n tariffCodeDescription?: { [key: string]: string; } | undefined;\n trackedBolHistories?: ITrackedBolHistory[] | undefined;\n bolFiles?: ITrackedBolFile[] | undefined;\n currentStatusForCustomer?: string | undefined;\n}\n\nexport class GetFilteredTrackedBolForLoggedInUserQueryResponse implements IGetFilteredTrackedBolForLoggedInUserQueryResponse {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: Filter[] | undefined;\n orderBy?: OrderBy[] | undefined;\n results?: TrackedBol[] | undefined;\n count?: number;\n\n constructor(data?: IGetFilteredTrackedBolForLoggedInUserQueryResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.filters) {\n this.filters = [];\n for (let i = 0; i < data.filters.length; i++) {\n let item = data.filters[i];\n this.filters[i] = item && !(item).toJSON ? new Filter(item) : item;\n }\n }\n if (data.orderBy) {\n this.orderBy = [];\n for (let i = 0; i < data.orderBy.length; i++) {\n let item = data.orderBy[i];\n this.orderBy[i] = item && !(item).toJSON ? new OrderBy(item) : item;\n }\n }\n if (data.results) {\n this.results = [];\n for (let i = 0; i < data.results.length; i++) {\n let item = data.results[i];\n this.results[i] = item && !(item).toJSON ? new TrackedBol(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.pageNumber = _data[\"pageNumber\"];\n this.amountPerPage = _data[\"amountPerPage\"];\n if (Array.isArray(_data[\"filters\"])) {\n this.filters = [] as any;\n for (let item of _data[\"filters\"])\n this.filters!.push(Filter.fromJS(item));\n }\n if (Array.isArray(_data[\"orderBy\"])) {\n this.orderBy = [] as any;\n for (let item of _data[\"orderBy\"])\n this.orderBy!.push(OrderBy.fromJS(item));\n }\n if (Array.isArray(_data[\"results\"])) {\n this.results = [] as any;\n for (let item of _data[\"results\"])\n this.results!.push(TrackedBol.fromJS(item));\n }\n this.count = _data[\"count\"];\n }\n }\n\n static fromJS(data: any): GetFilteredTrackedBolForLoggedInUserQueryResponse {\n data = typeof data === 'object' ? data : {};\n let result = new GetFilteredTrackedBolForLoggedInUserQueryResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"pageNumber\"] = this.pageNumber;\n data[\"amountPerPage\"] = this.amountPerPage;\n if (Array.isArray(this.filters)) {\n data[\"filters\"] = [];\n for (let item of this.filters)\n data[\"filters\"].push(item.toJSON());\n }\n if (Array.isArray(this.orderBy)) {\n data[\"orderBy\"] = [];\n for (let item of this.orderBy)\n data[\"orderBy\"].push(item.toJSON());\n }\n if (Array.isArray(this.results)) {\n data[\"results\"] = [];\n for (let item of this.results)\n data[\"results\"].push(item.toJSON());\n }\n data[\"count\"] = this.count;\n return data; \n }\n\n clone(): GetFilteredTrackedBolForLoggedInUserQueryResponse {\n const json = this.toJSON();\n let result = new GetFilteredTrackedBolForLoggedInUserQueryResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetFilteredTrackedBolForLoggedInUserQueryResponse {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: IFilter[] | undefined;\n orderBy?: IOrderBy[] | undefined;\n results?: ITrackedBol[] | undefined;\n count?: number;\n}\n\nexport class GetFilteredTrackedBolForAdminQueryRequest implements IGetFilteredTrackedBolForAdminQueryRequest {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: Filter[] | undefined;\n orderBy?: OrderBy[] | undefined;\n\n constructor(data?: IGetFilteredTrackedBolForAdminQueryRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.filters) {\n this.filters = [];\n for (let i = 0; i < data.filters.length; i++) {\n let item = data.filters[i];\n this.filters[i] = item && !(item).toJSON ? new Filter(item) : item;\n }\n }\n if (data.orderBy) {\n this.orderBy = [];\n for (let i = 0; i < data.orderBy.length; i++) {\n let item = data.orderBy[i];\n this.orderBy[i] = item && !(item).toJSON ? new OrderBy(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.pageNumber = _data[\"pageNumber\"];\n this.amountPerPage = _data[\"amountPerPage\"];\n if (Array.isArray(_data[\"filters\"])) {\n this.filters = [] as any;\n for (let item of _data[\"filters\"])\n this.filters!.push(Filter.fromJS(item));\n }\n if (Array.isArray(_data[\"orderBy\"])) {\n this.orderBy = [] as any;\n for (let item of _data[\"orderBy\"])\n this.orderBy!.push(OrderBy.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): GetFilteredTrackedBolForAdminQueryRequest {\n data = typeof data === 'object' ? data : {};\n let result = new GetFilteredTrackedBolForAdminQueryRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"pageNumber\"] = this.pageNumber;\n data[\"amountPerPage\"] = this.amountPerPage;\n if (Array.isArray(this.filters)) {\n data[\"filters\"] = [];\n for (let item of this.filters)\n data[\"filters\"].push(item.toJSON());\n }\n if (Array.isArray(this.orderBy)) {\n data[\"orderBy\"] = [];\n for (let item of this.orderBy)\n data[\"orderBy\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): GetFilteredTrackedBolForAdminQueryRequest {\n const json = this.toJSON();\n let result = new GetFilteredTrackedBolForAdminQueryRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetFilteredTrackedBolForAdminQueryRequest {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: IFilter[] | undefined;\n orderBy?: IOrderBy[] | undefined;\n}\n\nexport class GetFilteredTrackedBolForAdminQueryResponse implements IGetFilteredTrackedBolForAdminQueryResponse {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: Filter[] | undefined;\n orderBy?: OrderBy[] | undefined;\n results?: TrackedBol[] | undefined;\n count?: number;\n\n constructor(data?: IGetFilteredTrackedBolForAdminQueryResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.filters) {\n this.filters = [];\n for (let i = 0; i < data.filters.length; i++) {\n let item = data.filters[i];\n this.filters[i] = item && !(item).toJSON ? new Filter(item) : item;\n }\n }\n if (data.orderBy) {\n this.orderBy = [];\n for (let i = 0; i < data.orderBy.length; i++) {\n let item = data.orderBy[i];\n this.orderBy[i] = item && !(item).toJSON ? new OrderBy(item) : item;\n }\n }\n if (data.results) {\n this.results = [];\n for (let i = 0; i < data.results.length; i++) {\n let item = data.results[i];\n this.results[i] = item && !(item).toJSON ? new TrackedBol(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.pageNumber = _data[\"pageNumber\"];\n this.amountPerPage = _data[\"amountPerPage\"];\n if (Array.isArray(_data[\"filters\"])) {\n this.filters = [] as any;\n for (let item of _data[\"filters\"])\n this.filters!.push(Filter.fromJS(item));\n }\n if (Array.isArray(_data[\"orderBy\"])) {\n this.orderBy = [] as any;\n for (let item of _data[\"orderBy\"])\n this.orderBy!.push(OrderBy.fromJS(item));\n }\n if (Array.isArray(_data[\"results\"])) {\n this.results = [] as any;\n for (let item of _data[\"results\"])\n this.results!.push(TrackedBol.fromJS(item));\n }\n this.count = _data[\"count\"];\n }\n }\n\n static fromJS(data: any): GetFilteredTrackedBolForAdminQueryResponse {\n data = typeof data === 'object' ? data : {};\n let result = new GetFilteredTrackedBolForAdminQueryResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"pageNumber\"] = this.pageNumber;\n data[\"amountPerPage\"] = this.amountPerPage;\n if (Array.isArray(this.filters)) {\n data[\"filters\"] = [];\n for (let item of this.filters)\n data[\"filters\"].push(item.toJSON());\n }\n if (Array.isArray(this.orderBy)) {\n data[\"orderBy\"] = [];\n for (let item of this.orderBy)\n data[\"orderBy\"].push(item.toJSON());\n }\n if (Array.isArray(this.results)) {\n data[\"results\"] = [];\n for (let item of this.results)\n data[\"results\"].push(item.toJSON());\n }\n data[\"count\"] = this.count;\n return data; \n }\n\n clone(): GetFilteredTrackedBolForAdminQueryResponse {\n const json = this.toJSON();\n let result = new GetFilteredTrackedBolForAdminQueryResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetFilteredTrackedBolForAdminQueryResponse {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: IFilter[] | undefined;\n orderBy?: IOrderBy[] | undefined;\n results?: ITrackedBol[] | undefined;\n count?: number;\n}\n\nexport class GetTrackedBolDetailsByIdCommandRequest implements IGetTrackedBolDetailsByIdCommandRequest {\n id?: string | undefined;\n\n constructor(data?: IGetTrackedBolDetailsByIdCommandRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n }\n }\n\n static fromJS(data: any): GetTrackedBolDetailsByIdCommandRequest {\n data = typeof data === 'object' ? data : {};\n let result = new GetTrackedBolDetailsByIdCommandRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n return data; \n }\n\n clone(): GetTrackedBolDetailsByIdCommandRequest {\n const json = this.toJSON();\n let result = new GetTrackedBolDetailsByIdCommandRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetTrackedBolDetailsByIdCommandRequest {\n id?: string | undefined;\n}\n\nexport class GetTrackedBolDetailsByIdCommandResponse implements IGetTrackedBolDetailsByIdCommandResponse {\n trackedBol?: TrackedBol;\n\n constructor(data?: IGetTrackedBolDetailsByIdCommandResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.trackedBol = data.trackedBol && !(data.trackedBol).toJSON ? new TrackedBol(data.trackedBol) : this.trackedBol; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.trackedBol = _data[\"trackedBol\"] ? TrackedBol.fromJS(_data[\"trackedBol\"]) : undefined;\n }\n }\n\n static fromJS(data: any): GetTrackedBolDetailsByIdCommandResponse {\n data = typeof data === 'object' ? data : {};\n let result = new GetTrackedBolDetailsByIdCommandResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"trackedBol\"] = this.trackedBol ? this.trackedBol.toJSON() : undefined;\n return data; \n }\n\n clone(): GetTrackedBolDetailsByIdCommandResponse {\n const json = this.toJSON();\n let result = new GetTrackedBolDetailsByIdCommandResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetTrackedBolDetailsByIdCommandResponse {\n trackedBol?: ITrackedBol;\n}\n\nexport class UpdateTrackedBolCommandRequest implements IUpdateTrackedBolCommandRequest {\n id?: string | undefined;\n bolReferenceNumber?: string | undefined;\n bolNumber?: string | undefined;\n userId?: string | undefined;\n userName?: string | undefined;\n userFullName?: string | undefined;\n vessel?: string | undefined;\n voyage?: string | undefined;\n wharehouseLocation?: string | undefined;\n arrivalDate?: string | undefined;\n serviceCategory?: TrackedBolServiceCategory;\n\n constructor(data?: IUpdateTrackedBolCommandRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.bolReferenceNumber = _data[\"bolReferenceNumber\"];\n this.bolNumber = _data[\"bolNumber\"];\n this.userId = _data[\"userId\"];\n this.userName = _data[\"userName\"];\n this.userFullName = _data[\"userFullName\"];\n this.vessel = _data[\"vessel\"];\n this.voyage = _data[\"voyage\"];\n this.wharehouseLocation = _data[\"wharehouseLocation\"];\n this.arrivalDate = _data[\"arrivalDate\"];\n this.serviceCategory = _data[\"serviceCategory\"];\n }\n }\n\n static fromJS(data: any): UpdateTrackedBolCommandRequest {\n data = typeof data === 'object' ? data : {};\n let result = new UpdateTrackedBolCommandRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"bolReferenceNumber\"] = this.bolReferenceNumber;\n data[\"bolNumber\"] = this.bolNumber;\n data[\"userId\"] = this.userId;\n data[\"userName\"] = this.userName;\n data[\"userFullName\"] = this.userFullName;\n data[\"vessel\"] = this.vessel;\n data[\"voyage\"] = this.voyage;\n data[\"wharehouseLocation\"] = this.wharehouseLocation;\n data[\"arrivalDate\"] = this.arrivalDate;\n data[\"serviceCategory\"] = this.serviceCategory;\n return data; \n }\n\n clone(): UpdateTrackedBolCommandRequest {\n const json = this.toJSON();\n let result = new UpdateTrackedBolCommandRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IUpdateTrackedBolCommandRequest {\n id?: string | undefined;\n bolReferenceNumber?: string | undefined;\n bolNumber?: string | undefined;\n userId?: string | undefined;\n userName?: string | undefined;\n userFullName?: string | undefined;\n vessel?: string | undefined;\n voyage?: string | undefined;\n wharehouseLocation?: string | undefined;\n arrivalDate?: string | undefined;\n serviceCategory?: TrackedBolServiceCategory;\n}\n\nexport class UpdateTrackedBolCommandResponse implements IUpdateTrackedBolCommandResponse {\n trackedBol?: TrackedBol;\n\n constructor(data?: IUpdateTrackedBolCommandResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.trackedBol = data.trackedBol && !(data.trackedBol).toJSON ? new TrackedBol(data.trackedBol) : this.trackedBol; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.trackedBol = _data[\"trackedBol\"] ? TrackedBol.fromJS(_data[\"trackedBol\"]) : undefined;\n }\n }\n\n static fromJS(data: any): UpdateTrackedBolCommandResponse {\n data = typeof data === 'object' ? data : {};\n let result = new UpdateTrackedBolCommandResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"trackedBol\"] = this.trackedBol ? this.trackedBol.toJSON() : undefined;\n return data; \n }\n\n clone(): UpdateTrackedBolCommandResponse {\n const json = this.toJSON();\n let result = new UpdateTrackedBolCommandResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IUpdateTrackedBolCommandResponse {\n trackedBol?: ITrackedBol;\n}\n\nexport class UpdateTrackedBolStatusCommandRequest implements IUpdateTrackedBolStatusCommandRequest {\n trackedBolId?: string;\n newStatus?: TrackedBolStatus;\n comment?: string | undefined;\n declarationNumber?: string | undefined;\n estimatedValue?: number | undefined;\n receiptNumber?: string | undefined;\n orderReferenceNumber?: string | undefined;\n customsRelease?: string | undefined;\n paymentAmount?: number | undefined;\n gatePassNumber?: string | undefined;\n pickUpDate?: string | undefined;\n\n constructor(data?: IUpdateTrackedBolStatusCommandRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.trackedBolId = _data[\"trackedBolId\"];\n this.newStatus = _data[\"newStatus\"];\n this.comment = _data[\"comment\"];\n this.declarationNumber = _data[\"declarationNumber\"];\n this.estimatedValue = _data[\"estimatedValue\"];\n this.receiptNumber = _data[\"receiptNumber\"];\n this.orderReferenceNumber = _data[\"orderReferenceNumber\"];\n this.customsRelease = _data[\"customsRelease\"];\n this.paymentAmount = _data[\"paymentAmount\"];\n this.gatePassNumber = _data[\"gatePassNumber\"];\n this.pickUpDate = _data[\"pickUpDate\"];\n }\n }\n\n static fromJS(data: any): UpdateTrackedBolStatusCommandRequest {\n data = typeof data === 'object' ? data : {};\n let result = new UpdateTrackedBolStatusCommandRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"trackedBolId\"] = this.trackedBolId;\n data[\"newStatus\"] = this.newStatus;\n data[\"comment\"] = this.comment;\n data[\"declarationNumber\"] = this.declarationNumber;\n data[\"estimatedValue\"] = this.estimatedValue;\n data[\"receiptNumber\"] = this.receiptNumber;\n data[\"orderReferenceNumber\"] = this.orderReferenceNumber;\n data[\"customsRelease\"] = this.customsRelease;\n data[\"paymentAmount\"] = this.paymentAmount;\n data[\"gatePassNumber\"] = this.gatePassNumber;\n data[\"pickUpDate\"] = this.pickUpDate;\n return data; \n }\n\n clone(): UpdateTrackedBolStatusCommandRequest {\n const json = this.toJSON();\n let result = new UpdateTrackedBolStatusCommandRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IUpdateTrackedBolStatusCommandRequest {\n trackedBolId?: string;\n newStatus?: TrackedBolStatus;\n comment?: string | undefined;\n declarationNumber?: string | undefined;\n estimatedValue?: number | undefined;\n receiptNumber?: string | undefined;\n orderReferenceNumber?: string | undefined;\n customsRelease?: string | undefined;\n paymentAmount?: number | undefined;\n gatePassNumber?: string | undefined;\n pickUpDate?: string | undefined;\n}\n\nexport class UpdateTrackedBolStatusCommandResponse implements IUpdateTrackedBolStatusCommandResponse {\n trackedBol?: TrackedBol;\n\n constructor(data?: IUpdateTrackedBolStatusCommandResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.trackedBol = data.trackedBol && !(data.trackedBol).toJSON ? new TrackedBol(data.trackedBol) : this.trackedBol; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.trackedBol = _data[\"trackedBol\"] ? TrackedBol.fromJS(_data[\"trackedBol\"]) : undefined;\n }\n }\n\n static fromJS(data: any): UpdateTrackedBolStatusCommandResponse {\n data = typeof data === 'object' ? data : {};\n let result = new UpdateTrackedBolStatusCommandResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"trackedBol\"] = this.trackedBol ? this.trackedBol.toJSON() : undefined;\n return data; \n }\n\n clone(): UpdateTrackedBolStatusCommandResponse {\n const json = this.toJSON();\n let result = new UpdateTrackedBolStatusCommandResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IUpdateTrackedBolStatusCommandResponse {\n trackedBol?: ITrackedBol;\n}\n\nexport class TrackedBolFileModel implements ITrackedBolFileModel {\n id?: string;\n fileId?: string | undefined;\n name?: string | undefined;\n bolFileTypeId?: string;\n data?: string | undefined;\n\n constructor(data?: ITrackedBolFileModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.fileId = _data[\"fileId\"];\n this.name = _data[\"name\"];\n this.bolFileTypeId = _data[\"bolFileTypeId\"];\n this.data = _data[\"data\"];\n }\n }\n\n static fromJS(data: any): TrackedBolFileModel {\n data = typeof data === 'object' ? data : {};\n let result = new TrackedBolFileModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"fileId\"] = this.fileId;\n data[\"name\"] = this.name;\n data[\"bolFileTypeId\"] = this.bolFileTypeId;\n data[\"data\"] = this.data;\n return data; \n }\n\n clone(): TrackedBolFileModel {\n const json = this.toJSON();\n let result = new TrackedBolFileModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface ITrackedBolFileModel {\n id?: string;\n fileId?: string | undefined;\n name?: string | undefined;\n bolFileTypeId?: string;\n data?: string | undefined;\n}\n\nexport class AddTrackedBolRequestModel implements IAddTrackedBolRequestModel {\n bolReferenceNumber?: string | undefined;\n bolNumber?: string | undefined;\n description?: string | undefined;\n userId?: string | undefined;\n userName?: string | undefined;\n userFullName?: string | undefined;\n mobile?: string | undefined;\n vessel?: string | undefined;\n voyage?: string | undefined;\n wharehouseLocation?: string | undefined;\n arrivalDate?: string | undefined;\n currentStatus?: TrackedBolStatus;\n tariffCodeDescriptionIds?: string[] | undefined;\n value?: number | undefined;\n bolFiles?: TrackedBolFileModel[] | undefined;\n shipperName?: string | undefined;\n cargoDescription?: string | undefined;\n consigneeName?: string | undefined;\n serviceCategory?: TrackedBolServiceCategory;\n numberOfPieces?: string[] | undefined;\n\n constructor(data?: IAddTrackedBolRequestModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.bolFiles) {\n this.bolFiles = [];\n for (let i = 0; i < data.bolFiles.length; i++) {\n let item = data.bolFiles[i];\n this.bolFiles[i] = item && !(item).toJSON ? new TrackedBolFileModel(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.bolReferenceNumber = _data[\"bolReferenceNumber\"];\n this.bolNumber = _data[\"bolNumber\"];\n this.description = _data[\"description\"];\n this.userId = _data[\"userId\"];\n this.userName = _data[\"userName\"];\n this.userFullName = _data[\"userFullName\"];\n this.mobile = _data[\"mobile\"];\n this.vessel = _data[\"vessel\"];\n this.voyage = _data[\"voyage\"];\n this.wharehouseLocation = _data[\"wharehouseLocation\"];\n this.arrivalDate = _data[\"arrivalDate\"];\n this.currentStatus = _data[\"currentStatus\"];\n if (Array.isArray(_data[\"tariffCodeDescriptionIds\"])) {\n this.tariffCodeDescriptionIds = [] as any;\n for (let item of _data[\"tariffCodeDescriptionIds\"])\n this.tariffCodeDescriptionIds!.push(item);\n }\n this.value = _data[\"value\"];\n if (Array.isArray(_data[\"bolFiles\"])) {\n this.bolFiles = [] as any;\n for (let item of _data[\"bolFiles\"])\n this.bolFiles!.push(TrackedBolFileModel.fromJS(item));\n }\n this.shipperName = _data[\"shipperName\"];\n this.cargoDescription = _data[\"cargoDescription\"];\n this.consigneeName = _data[\"consigneeName\"];\n this.serviceCategory = _data[\"serviceCategory\"];\n if (Array.isArray(_data[\"numberOfPieces\"])) {\n this.numberOfPieces = [] as any;\n for (let item of _data[\"numberOfPieces\"])\n this.numberOfPieces!.push(item);\n }\n }\n }\n\n static fromJS(data: any): AddTrackedBolRequestModel {\n data = typeof data === 'object' ? data : {};\n let result = new AddTrackedBolRequestModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"bolReferenceNumber\"] = this.bolReferenceNumber;\n data[\"bolNumber\"] = this.bolNumber;\n data[\"description\"] = this.description;\n data[\"userId\"] = this.userId;\n data[\"userName\"] = this.userName;\n data[\"userFullName\"] = this.userFullName;\n data[\"mobile\"] = this.mobile;\n data[\"vessel\"] = this.vessel;\n data[\"voyage\"] = this.voyage;\n data[\"wharehouseLocation\"] = this.wharehouseLocation;\n data[\"arrivalDate\"] = this.arrivalDate;\n data[\"currentStatus\"] = this.currentStatus;\n if (Array.isArray(this.tariffCodeDescriptionIds)) {\n data[\"tariffCodeDescriptionIds\"] = [];\n for (let item of this.tariffCodeDescriptionIds)\n data[\"tariffCodeDescriptionIds\"].push(item);\n }\n data[\"value\"] = this.value;\n if (Array.isArray(this.bolFiles)) {\n data[\"bolFiles\"] = [];\n for (let item of this.bolFiles)\n data[\"bolFiles\"].push(item.toJSON());\n }\n data[\"shipperName\"] = this.shipperName;\n data[\"cargoDescription\"] = this.cargoDescription;\n data[\"consigneeName\"] = this.consigneeName;\n data[\"serviceCategory\"] = this.serviceCategory;\n if (Array.isArray(this.numberOfPieces)) {\n data[\"numberOfPieces\"] = [];\n for (let item of this.numberOfPieces)\n data[\"numberOfPieces\"].push(item);\n }\n return data; \n }\n\n clone(): AddTrackedBolRequestModel {\n const json = this.toJSON();\n let result = new AddTrackedBolRequestModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface IAddTrackedBolRequestModel {\n bolReferenceNumber?: string | undefined;\n bolNumber?: string | undefined;\n description?: string | undefined;\n userId?: string | undefined;\n userName?: string | undefined;\n userFullName?: string | undefined;\n mobile?: string | undefined;\n vessel?: string | undefined;\n voyage?: string | undefined;\n wharehouseLocation?: string | undefined;\n arrivalDate?: string | undefined;\n currentStatus?: TrackedBolStatus;\n tariffCodeDescriptionIds?: string[] | undefined;\n value?: number | undefined;\n bolFiles?: ITrackedBolFileModel[] | undefined;\n shipperName?: string | undefined;\n cargoDescription?: string | undefined;\n consigneeName?: string | undefined;\n serviceCategory?: TrackedBolServiceCategory;\n numberOfPieces?: string[] | undefined;\n}\n\nexport class AddTrackedBolCommandRequest implements IAddTrackedBolCommandRequest {\n addTrackedBolRequests?: AddTrackedBolRequestModel[] | undefined;\n\n constructor(data?: IAddTrackedBolCommandRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.addTrackedBolRequests) {\n this.addTrackedBolRequests = [];\n for (let i = 0; i < data.addTrackedBolRequests.length; i++) {\n let item = data.addTrackedBolRequests[i];\n this.addTrackedBolRequests[i] = item && !(item).toJSON ? new AddTrackedBolRequestModel(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n if (Array.isArray(_data[\"addTrackedBolRequests\"])) {\n this.addTrackedBolRequests = [] as any;\n for (let item of _data[\"addTrackedBolRequests\"])\n this.addTrackedBolRequests!.push(AddTrackedBolRequestModel.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): AddTrackedBolCommandRequest {\n data = typeof data === 'object' ? data : {};\n let result = new AddTrackedBolCommandRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n if (Array.isArray(this.addTrackedBolRequests)) {\n data[\"addTrackedBolRequests\"] = [];\n for (let item of this.addTrackedBolRequests)\n data[\"addTrackedBolRequests\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): AddTrackedBolCommandRequest {\n const json = this.toJSON();\n let result = new AddTrackedBolCommandRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IAddTrackedBolCommandRequest {\n addTrackedBolRequests?: IAddTrackedBolRequestModel[] | undefined;\n}\n\nexport class AddTrackedBolResponseModel implements IAddTrackedBolResponseModel {\n cnGRef?: string | undefined;\n bolNumber?: string | undefined;\n successful?: boolean;\n errorMessage?: string | undefined;\n\n constructor(data?: IAddTrackedBolResponseModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.cnGRef = _data[\"cnGRef\"];\n this.bolNumber = _data[\"bolNumber\"];\n this.successful = _data[\"successful\"];\n this.errorMessage = _data[\"errorMessage\"];\n }\n }\n\n static fromJS(data: any): AddTrackedBolResponseModel {\n data = typeof data === 'object' ? data : {};\n let result = new AddTrackedBolResponseModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"cnGRef\"] = this.cnGRef;\n data[\"bolNumber\"] = this.bolNumber;\n data[\"successful\"] = this.successful;\n data[\"errorMessage\"] = this.errorMessage;\n return data; \n }\n\n clone(): AddTrackedBolResponseModel {\n const json = this.toJSON();\n let result = new AddTrackedBolResponseModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface IAddTrackedBolResponseModel {\n cnGRef?: string | undefined;\n bolNumber?: string | undefined;\n successful?: boolean;\n errorMessage?: string | undefined;\n}\n\nexport class AddTrackedBolCommandResponse implements IAddTrackedBolCommandResponse {\n trackedBols?: AddTrackedBolResponseModel[] | undefined;\n failedToAddAll?: boolean;\n\n constructor(data?: IAddTrackedBolCommandResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.trackedBols) {\n this.trackedBols = [];\n for (let i = 0; i < data.trackedBols.length; i++) {\n let item = data.trackedBols[i];\n this.trackedBols[i] = item && !(item).toJSON ? new AddTrackedBolResponseModel(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n if (Array.isArray(_data[\"trackedBols\"])) {\n this.trackedBols = [] as any;\n for (let item of _data[\"trackedBols\"])\n this.trackedBols!.push(AddTrackedBolResponseModel.fromJS(item));\n }\n this.failedToAddAll = _data[\"failedToAddAll\"];\n }\n }\n\n static fromJS(data: any): AddTrackedBolCommandResponse {\n data = typeof data === 'object' ? data : {};\n let result = new AddTrackedBolCommandResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n if (Array.isArray(this.trackedBols)) {\n data[\"trackedBols\"] = [];\n for (let item of this.trackedBols)\n data[\"trackedBols\"].push(item.toJSON());\n }\n data[\"failedToAddAll\"] = this.failedToAddAll;\n return data; \n }\n\n clone(): AddTrackedBolCommandResponse {\n const json = this.toJSON();\n let result = new AddTrackedBolCommandResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IAddTrackedBolCommandResponse {\n trackedBols?: IAddTrackedBolResponseModel[] | undefined;\n failedToAddAll?: boolean;\n}\n\nexport class GetTrackedBolDetailsByBolReferenceCommandRequest implements IGetTrackedBolDetailsByBolReferenceCommandRequest {\n bolReference?: string | undefined;\n\n constructor(data?: IGetTrackedBolDetailsByBolReferenceCommandRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.bolReference = _data[\"bolReference\"];\n }\n }\n\n static fromJS(data: any): GetTrackedBolDetailsByBolReferenceCommandRequest {\n data = typeof data === 'object' ? data : {};\n let result = new GetTrackedBolDetailsByBolReferenceCommandRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"bolReference\"] = this.bolReference;\n return data; \n }\n\n clone(): GetTrackedBolDetailsByBolReferenceCommandRequest {\n const json = this.toJSON();\n let result = new GetTrackedBolDetailsByBolReferenceCommandRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetTrackedBolDetailsByBolReferenceCommandRequest {\n bolReference?: string | undefined;\n}\n\nexport class SlimTrackedBol implements ISlimTrackedBol {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n bolReferenceNumber?: string | undefined;\n bolNumber?: string | undefined;\n vessel?: string | undefined;\n voyage?: string | undefined;\n wharehouseLocation?: string | undefined;\n arrivalDate?: string | undefined;\n currentStatus?: TrackedBolStatus;\n readonly currentStatusForCustomer?: string | undefined;\n\n constructor(data?: ISlimTrackedBol) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.createdBy = _data[\"createdBy\"];\n this.createdById = _data[\"createdById\"];\n this.creationDate = _data[\"creationDate\"];\n this.modifiedBy = _data[\"modifiedBy\"];\n this.modifiedById = _data[\"modifiedById\"];\n this.modificationDate = _data[\"modificationDate\"];\n this.rowVersion = _data[\"rowVersion\"];\n this.bolReferenceNumber = _data[\"bolReferenceNumber\"];\n this.bolNumber = _data[\"bolNumber\"];\n this.vessel = _data[\"vessel\"];\n this.voyage = _data[\"voyage\"];\n this.wharehouseLocation = _data[\"wharehouseLocation\"];\n this.arrivalDate = _data[\"arrivalDate\"];\n this.currentStatus = _data[\"currentStatus\"];\n (this).currentStatusForCustomer = _data[\"currentStatusForCustomer\"];\n }\n }\n\n static fromJS(data: any): SlimTrackedBol {\n data = typeof data === 'object' ? data : {};\n let result = new SlimTrackedBol();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"createdBy\"] = this.createdBy;\n data[\"createdById\"] = this.createdById;\n data[\"creationDate\"] = this.creationDate;\n data[\"modifiedBy\"] = this.modifiedBy;\n data[\"modifiedById\"] = this.modifiedById;\n data[\"modificationDate\"] = this.modificationDate;\n data[\"rowVersion\"] = this.rowVersion;\n data[\"bolReferenceNumber\"] = this.bolReferenceNumber;\n data[\"bolNumber\"] = this.bolNumber;\n data[\"vessel\"] = this.vessel;\n data[\"voyage\"] = this.voyage;\n data[\"wharehouseLocation\"] = this.wharehouseLocation;\n data[\"arrivalDate\"] = this.arrivalDate;\n data[\"currentStatus\"] = this.currentStatus;\n data[\"currentStatusForCustomer\"] = this.currentStatusForCustomer;\n return data; \n }\n\n clone(): SlimTrackedBol {\n const json = this.toJSON();\n let result = new SlimTrackedBol();\n result.init(json);\n return result;\n }\n}\n\nexport interface ISlimTrackedBol {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n bolReferenceNumber?: string | undefined;\n bolNumber?: string | undefined;\n vessel?: string | undefined;\n voyage?: string | undefined;\n wharehouseLocation?: string | undefined;\n arrivalDate?: string | undefined;\n currentStatus?: TrackedBolStatus;\n currentStatusForCustomer?: string | undefined;\n}\n\nexport class GetTrackedBolDetailsByBolReferenceCommandResponse implements IGetTrackedBolDetailsByBolReferenceCommandResponse {\n trackedBol?: SlimTrackedBol;\n\n constructor(data?: IGetTrackedBolDetailsByBolReferenceCommandResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.trackedBol = data.trackedBol && !(data.trackedBol).toJSON ? new SlimTrackedBol(data.trackedBol) : this.trackedBol; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.trackedBol = _data[\"trackedBol\"] ? SlimTrackedBol.fromJS(_data[\"trackedBol\"]) : undefined;\n }\n }\n\n static fromJS(data: any): GetTrackedBolDetailsByBolReferenceCommandResponse {\n data = typeof data === 'object' ? data : {};\n let result = new GetTrackedBolDetailsByBolReferenceCommandResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"trackedBol\"] = this.trackedBol ? this.trackedBol.toJSON() : undefined;\n return data; \n }\n\n clone(): GetTrackedBolDetailsByBolReferenceCommandResponse {\n const json = this.toJSON();\n let result = new GetTrackedBolDetailsByBolReferenceCommandResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetTrackedBolDetailsByBolReferenceCommandResponse {\n trackedBol?: ISlimTrackedBol;\n}\n\nexport class GetFilteredTrackedBolDescriptionForLoggedUserQueryRequest implements IGetFilteredTrackedBolDescriptionForLoggedUserQueryRequest {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: Filter[] | undefined;\n orderBy?: OrderBy[] | undefined;\n\n constructor(data?: IGetFilteredTrackedBolDescriptionForLoggedUserQueryRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.filters) {\n this.filters = [];\n for (let i = 0; i < data.filters.length; i++) {\n let item = data.filters[i];\n this.filters[i] = item && !(item).toJSON ? new Filter(item) : item;\n }\n }\n if (data.orderBy) {\n this.orderBy = [];\n for (let i = 0; i < data.orderBy.length; i++) {\n let item = data.orderBy[i];\n this.orderBy[i] = item && !(item).toJSON ? new OrderBy(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.pageNumber = _data[\"pageNumber\"];\n this.amountPerPage = _data[\"amountPerPage\"];\n if (Array.isArray(_data[\"filters\"])) {\n this.filters = [] as any;\n for (let item of _data[\"filters\"])\n this.filters!.push(Filter.fromJS(item));\n }\n if (Array.isArray(_data[\"orderBy\"])) {\n this.orderBy = [] as any;\n for (let item of _data[\"orderBy\"])\n this.orderBy!.push(OrderBy.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): GetFilteredTrackedBolDescriptionForLoggedUserQueryRequest {\n data = typeof data === 'object' ? data : {};\n let result = new GetFilteredTrackedBolDescriptionForLoggedUserQueryRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"pageNumber\"] = this.pageNumber;\n data[\"amountPerPage\"] = this.amountPerPage;\n if (Array.isArray(this.filters)) {\n data[\"filters\"] = [];\n for (let item of this.filters)\n data[\"filters\"].push(item.toJSON());\n }\n if (Array.isArray(this.orderBy)) {\n data[\"orderBy\"] = [];\n for (let item of this.orderBy)\n data[\"orderBy\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): GetFilteredTrackedBolDescriptionForLoggedUserQueryRequest {\n const json = this.toJSON();\n let result = new GetFilteredTrackedBolDescriptionForLoggedUserQueryRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetFilteredTrackedBolDescriptionForLoggedUserQueryRequest {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: IFilter[] | undefined;\n orderBy?: IOrderBy[] | undefined;\n}\n\nexport class TrackedBolDescription implements ITrackedBolDescription {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n name?: string | undefined;\n description?: string | undefined;\n\n constructor(data?: ITrackedBolDescription) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.createdBy = _data[\"createdBy\"];\n this.createdById = _data[\"createdById\"];\n this.creationDate = _data[\"creationDate\"];\n this.modifiedBy = _data[\"modifiedBy\"];\n this.modifiedById = _data[\"modifiedById\"];\n this.modificationDate = _data[\"modificationDate\"];\n this.rowVersion = _data[\"rowVersion\"];\n this.name = _data[\"name\"];\n this.description = _data[\"description\"];\n }\n }\n\n static fromJS(data: any): TrackedBolDescription {\n data = typeof data === 'object' ? data : {};\n let result = new TrackedBolDescription();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"createdBy\"] = this.createdBy;\n data[\"createdById\"] = this.createdById;\n data[\"creationDate\"] = this.creationDate;\n data[\"modifiedBy\"] = this.modifiedBy;\n data[\"modifiedById\"] = this.modifiedById;\n data[\"modificationDate\"] = this.modificationDate;\n data[\"rowVersion\"] = this.rowVersion;\n data[\"name\"] = this.name;\n data[\"description\"] = this.description;\n return data; \n }\n\n clone(): TrackedBolDescription {\n const json = this.toJSON();\n let result = new TrackedBolDescription();\n result.init(json);\n return result;\n }\n}\n\nexport interface ITrackedBolDescription {\n id?: string;\n createdBy?: string | undefined;\n createdById?: string | undefined;\n creationDate?: string | undefined;\n modifiedBy?: string | undefined;\n modifiedById?: string | undefined;\n modificationDate?: string | undefined;\n rowVersion?: string | undefined;\n name?: string | undefined;\n description?: string | undefined;\n}\n\nexport class GetFilteredTrackedBolDescriptionForLoggedUserQueryResponse implements IGetFilteredTrackedBolDescriptionForLoggedUserQueryResponse {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: Filter[] | undefined;\n orderBy?: OrderBy[] | undefined;\n results?: TrackedBolDescription[] | undefined;\n count?: number;\n\n constructor(data?: IGetFilteredTrackedBolDescriptionForLoggedUserQueryResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.filters) {\n this.filters = [];\n for (let i = 0; i < data.filters.length; i++) {\n let item = data.filters[i];\n this.filters[i] = item && !(item).toJSON ? new Filter(item) : item;\n }\n }\n if (data.orderBy) {\n this.orderBy = [];\n for (let i = 0; i < data.orderBy.length; i++) {\n let item = data.orderBy[i];\n this.orderBy[i] = item && !(item).toJSON ? new OrderBy(item) : item;\n }\n }\n if (data.results) {\n this.results = [];\n for (let i = 0; i < data.results.length; i++) {\n let item = data.results[i];\n this.results[i] = item && !(item).toJSON ? new TrackedBolDescription(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.pageNumber = _data[\"pageNumber\"];\n this.amountPerPage = _data[\"amountPerPage\"];\n if (Array.isArray(_data[\"filters\"])) {\n this.filters = [] as any;\n for (let item of _data[\"filters\"])\n this.filters!.push(Filter.fromJS(item));\n }\n if (Array.isArray(_data[\"orderBy\"])) {\n this.orderBy = [] as any;\n for (let item of _data[\"orderBy\"])\n this.orderBy!.push(OrderBy.fromJS(item));\n }\n if (Array.isArray(_data[\"results\"])) {\n this.results = [] as any;\n for (let item of _data[\"results\"])\n this.results!.push(TrackedBolDescription.fromJS(item));\n }\n this.count = _data[\"count\"];\n }\n }\n\n static fromJS(data: any): GetFilteredTrackedBolDescriptionForLoggedUserQueryResponse {\n data = typeof data === 'object' ? data : {};\n let result = new GetFilteredTrackedBolDescriptionForLoggedUserQueryResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"pageNumber\"] = this.pageNumber;\n data[\"amountPerPage\"] = this.amountPerPage;\n if (Array.isArray(this.filters)) {\n data[\"filters\"] = [];\n for (let item of this.filters)\n data[\"filters\"].push(item.toJSON());\n }\n if (Array.isArray(this.orderBy)) {\n data[\"orderBy\"] = [];\n for (let item of this.orderBy)\n data[\"orderBy\"].push(item.toJSON());\n }\n if (Array.isArray(this.results)) {\n data[\"results\"] = [];\n for (let item of this.results)\n data[\"results\"].push(item.toJSON());\n }\n data[\"count\"] = this.count;\n return data; \n }\n\n clone(): GetFilteredTrackedBolDescriptionForLoggedUserQueryResponse {\n const json = this.toJSON();\n let result = new GetFilteredTrackedBolDescriptionForLoggedUserQueryResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetFilteredTrackedBolDescriptionForLoggedUserQueryResponse {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: IFilter[] | undefined;\n orderBy?: IOrderBy[] | undefined;\n results?: ITrackedBolDescription[] | undefined;\n count?: number;\n}\n\nexport class UpdateTrackedBolSupplementaryInfoRequestModel implements IUpdateTrackedBolSupplementaryInfoRequestModel {\n id?: string | undefined;\n bolReferenceNumber?: string | undefined;\n bolNumber?: string | undefined;\n userId?: string | undefined;\n tariffCodeDescriptionIds?: string[] | undefined;\n value?: number | undefined;\n bolFiles?: TrackedBolFileModel[] | undefined;\n serviceCategory?: TrackedBolServiceCategory;\n\n constructor(data?: IUpdateTrackedBolSupplementaryInfoRequestModel) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.bolFiles) {\n this.bolFiles = [];\n for (let i = 0; i < data.bolFiles.length; i++) {\n let item = data.bolFiles[i];\n this.bolFiles[i] = item && !(item).toJSON ? new TrackedBolFileModel(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.bolReferenceNumber = _data[\"bolReferenceNumber\"];\n this.bolNumber = _data[\"bolNumber\"];\n this.userId = _data[\"userId\"];\n if (Array.isArray(_data[\"tariffCodeDescriptionIds\"])) {\n this.tariffCodeDescriptionIds = [] as any;\n for (let item of _data[\"tariffCodeDescriptionIds\"])\n this.tariffCodeDescriptionIds!.push(item);\n }\n this.value = _data[\"value\"];\n if (Array.isArray(_data[\"bolFiles\"])) {\n this.bolFiles = [] as any;\n for (let item of _data[\"bolFiles\"])\n this.bolFiles!.push(TrackedBolFileModel.fromJS(item));\n }\n this.serviceCategory = _data[\"serviceCategory\"];\n }\n }\n\n static fromJS(data: any): UpdateTrackedBolSupplementaryInfoRequestModel {\n data = typeof data === 'object' ? data : {};\n let result = new UpdateTrackedBolSupplementaryInfoRequestModel();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"bolReferenceNumber\"] = this.bolReferenceNumber;\n data[\"bolNumber\"] = this.bolNumber;\n data[\"userId\"] = this.userId;\n if (Array.isArray(this.tariffCodeDescriptionIds)) {\n data[\"tariffCodeDescriptionIds\"] = [];\n for (let item of this.tariffCodeDescriptionIds)\n data[\"tariffCodeDescriptionIds\"].push(item);\n }\n data[\"value\"] = this.value;\n if (Array.isArray(this.bolFiles)) {\n data[\"bolFiles\"] = [];\n for (let item of this.bolFiles)\n data[\"bolFiles\"].push(item.toJSON());\n }\n data[\"serviceCategory\"] = this.serviceCategory;\n return data; \n }\n\n clone(): UpdateTrackedBolSupplementaryInfoRequestModel {\n const json = this.toJSON();\n let result = new UpdateTrackedBolSupplementaryInfoRequestModel();\n result.init(json);\n return result;\n }\n}\n\nexport interface IUpdateTrackedBolSupplementaryInfoRequestModel {\n id?: string | undefined;\n bolReferenceNumber?: string | undefined;\n bolNumber?: string | undefined;\n userId?: string | undefined;\n tariffCodeDescriptionIds?: string[] | undefined;\n value?: number | undefined;\n bolFiles?: ITrackedBolFileModel[] | undefined;\n serviceCategory?: TrackedBolServiceCategory;\n}\n\nexport class UpdateTrackedBolSupplementaryInfoRequest implements IUpdateTrackedBolSupplementaryInfoRequest {\n trackedBolSupplementaryInfo?: UpdateTrackedBolSupplementaryInfoRequestModel;\n\n constructor(data?: IUpdateTrackedBolSupplementaryInfoRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.trackedBolSupplementaryInfo = data.trackedBolSupplementaryInfo && !(data.trackedBolSupplementaryInfo).toJSON ? new UpdateTrackedBolSupplementaryInfoRequestModel(data.trackedBolSupplementaryInfo) : this.trackedBolSupplementaryInfo; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.trackedBolSupplementaryInfo = _data[\"trackedBolSupplementaryInfo\"] ? UpdateTrackedBolSupplementaryInfoRequestModel.fromJS(_data[\"trackedBolSupplementaryInfo\"]) : undefined;\n }\n }\n\n static fromJS(data: any): UpdateTrackedBolSupplementaryInfoRequest {\n data = typeof data === 'object' ? data : {};\n let result = new UpdateTrackedBolSupplementaryInfoRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"trackedBolSupplementaryInfo\"] = this.trackedBolSupplementaryInfo ? this.trackedBolSupplementaryInfo.toJSON() : undefined;\n return data; \n }\n\n clone(): UpdateTrackedBolSupplementaryInfoRequest {\n const json = this.toJSON();\n let result = new UpdateTrackedBolSupplementaryInfoRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IUpdateTrackedBolSupplementaryInfoRequest {\n trackedBolSupplementaryInfo?: IUpdateTrackedBolSupplementaryInfoRequestModel;\n}\n\nexport class UpdateTrackedBolSupplementaryInfoResponse implements IUpdateTrackedBolSupplementaryInfoResponse {\n trackedBol?: TrackedBol;\n\n constructor(data?: IUpdateTrackedBolSupplementaryInfoResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.trackedBol = data.trackedBol && !(data.trackedBol).toJSON ? new TrackedBol(data.trackedBol) : this.trackedBol; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.trackedBol = _data[\"trackedBol\"] ? TrackedBol.fromJS(_data[\"trackedBol\"]) : undefined;\n }\n }\n\n static fromJS(data: any): UpdateTrackedBolSupplementaryInfoResponse {\n data = typeof data === 'object' ? data : {};\n let result = new UpdateTrackedBolSupplementaryInfoResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"trackedBol\"] = this.trackedBol ? this.trackedBol.toJSON() : undefined;\n return data; \n }\n\n clone(): UpdateTrackedBolSupplementaryInfoResponse {\n const json = this.toJSON();\n let result = new UpdateTrackedBolSupplementaryInfoResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IUpdateTrackedBolSupplementaryInfoResponse {\n trackedBol?: ITrackedBol;\n}\n\nexport class GetCustomerTrackedBolReportRequest implements IGetCustomerTrackedBolReportRequest {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: Filter[] | undefined;\n orderBy?: OrderBy[] | undefined;\n\n constructor(data?: IGetCustomerTrackedBolReportRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.filters) {\n this.filters = [];\n for (let i = 0; i < data.filters.length; i++) {\n let item = data.filters[i];\n this.filters[i] = item && !(item).toJSON ? new Filter(item) : item;\n }\n }\n if (data.orderBy) {\n this.orderBy = [];\n for (let i = 0; i < data.orderBy.length; i++) {\n let item = data.orderBy[i];\n this.orderBy[i] = item && !(item).toJSON ? new OrderBy(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.pageNumber = _data[\"pageNumber\"];\n this.amountPerPage = _data[\"amountPerPage\"];\n if (Array.isArray(_data[\"filters\"])) {\n this.filters = [] as any;\n for (let item of _data[\"filters\"])\n this.filters!.push(Filter.fromJS(item));\n }\n if (Array.isArray(_data[\"orderBy\"])) {\n this.orderBy = [] as any;\n for (let item of _data[\"orderBy\"])\n this.orderBy!.push(OrderBy.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): GetCustomerTrackedBolReportRequest {\n data = typeof data === 'object' ? data : {};\n let result = new GetCustomerTrackedBolReportRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"pageNumber\"] = this.pageNumber;\n data[\"amountPerPage\"] = this.amountPerPage;\n if (Array.isArray(this.filters)) {\n data[\"filters\"] = [];\n for (let item of this.filters)\n data[\"filters\"].push(item.toJSON());\n }\n if (Array.isArray(this.orderBy)) {\n data[\"orderBy\"] = [];\n for (let item of this.orderBy)\n data[\"orderBy\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): GetCustomerTrackedBolReportRequest {\n const json = this.toJSON();\n let result = new GetCustomerTrackedBolReportRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetCustomerTrackedBolReportRequest {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: IFilter[] | undefined;\n orderBy?: IOrderBy[] | undefined;\n}\n\nexport class GetFilteredTrackedBolFileTypeForLoggedInUserQueryRequest implements IGetFilteredTrackedBolFileTypeForLoggedInUserQueryRequest {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: Filter[] | undefined;\n orderBy?: OrderBy[] | undefined;\n\n constructor(data?: IGetFilteredTrackedBolFileTypeForLoggedInUserQueryRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.filters) {\n this.filters = [];\n for (let i = 0; i < data.filters.length; i++) {\n let item = data.filters[i];\n this.filters[i] = item && !(item).toJSON ? new Filter(item) : item;\n }\n }\n if (data.orderBy) {\n this.orderBy = [];\n for (let i = 0; i < data.orderBy.length; i++) {\n let item = data.orderBy[i];\n this.orderBy[i] = item && !(item).toJSON ? new OrderBy(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.pageNumber = _data[\"pageNumber\"];\n this.amountPerPage = _data[\"amountPerPage\"];\n if (Array.isArray(_data[\"filters\"])) {\n this.filters = [] as any;\n for (let item of _data[\"filters\"])\n this.filters!.push(Filter.fromJS(item));\n }\n if (Array.isArray(_data[\"orderBy\"])) {\n this.orderBy = [] as any;\n for (let item of _data[\"orderBy\"])\n this.orderBy!.push(OrderBy.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): GetFilteredTrackedBolFileTypeForLoggedInUserQueryRequest {\n data = typeof data === 'object' ? data : {};\n let result = new GetFilteredTrackedBolFileTypeForLoggedInUserQueryRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"pageNumber\"] = this.pageNumber;\n data[\"amountPerPage\"] = this.amountPerPage;\n if (Array.isArray(this.filters)) {\n data[\"filters\"] = [];\n for (let item of this.filters)\n data[\"filters\"].push(item.toJSON());\n }\n if (Array.isArray(this.orderBy)) {\n data[\"orderBy\"] = [];\n for (let item of this.orderBy)\n data[\"orderBy\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): GetFilteredTrackedBolFileTypeForLoggedInUserQueryRequest {\n const json = this.toJSON();\n let result = new GetFilteredTrackedBolFileTypeForLoggedInUserQueryRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetFilteredTrackedBolFileTypeForLoggedInUserQueryRequest {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: IFilter[] | undefined;\n orderBy?: IOrderBy[] | undefined;\n}\n\nexport class GetFilteredTrackedBolFileTypeForLoggedInUserQueryResponse implements IGetFilteredTrackedBolFileTypeForLoggedInUserQueryResponse {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: Filter[] | undefined;\n orderBy?: OrderBy[] | undefined;\n results?: TrackedBolFileType[] | undefined;\n count?: number;\n\n constructor(data?: IGetFilteredTrackedBolFileTypeForLoggedInUserQueryResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.filters) {\n this.filters = [];\n for (let i = 0; i < data.filters.length; i++) {\n let item = data.filters[i];\n this.filters[i] = item && !(item).toJSON ? new Filter(item) : item;\n }\n }\n if (data.orderBy) {\n this.orderBy = [];\n for (let i = 0; i < data.orderBy.length; i++) {\n let item = data.orderBy[i];\n this.orderBy[i] = item && !(item).toJSON ? new OrderBy(item) : item;\n }\n }\n if (data.results) {\n this.results = [];\n for (let i = 0; i < data.results.length; i++) {\n let item = data.results[i];\n this.results[i] = item && !(item).toJSON ? new TrackedBolFileType(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.pageNumber = _data[\"pageNumber\"];\n this.amountPerPage = _data[\"amountPerPage\"];\n if (Array.isArray(_data[\"filters\"])) {\n this.filters = [] as any;\n for (let item of _data[\"filters\"])\n this.filters!.push(Filter.fromJS(item));\n }\n if (Array.isArray(_data[\"orderBy\"])) {\n this.orderBy = [] as any;\n for (let item of _data[\"orderBy\"])\n this.orderBy!.push(OrderBy.fromJS(item));\n }\n if (Array.isArray(_data[\"results\"])) {\n this.results = [] as any;\n for (let item of _data[\"results\"])\n this.results!.push(TrackedBolFileType.fromJS(item));\n }\n this.count = _data[\"count\"];\n }\n }\n\n static fromJS(data: any): GetFilteredTrackedBolFileTypeForLoggedInUserQueryResponse {\n data = typeof data === 'object' ? data : {};\n let result = new GetFilteredTrackedBolFileTypeForLoggedInUserQueryResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"pageNumber\"] = this.pageNumber;\n data[\"amountPerPage\"] = this.amountPerPage;\n if (Array.isArray(this.filters)) {\n data[\"filters\"] = [];\n for (let item of this.filters)\n data[\"filters\"].push(item.toJSON());\n }\n if (Array.isArray(this.orderBy)) {\n data[\"orderBy\"] = [];\n for (let item of this.orderBy)\n data[\"orderBy\"].push(item.toJSON());\n }\n if (Array.isArray(this.results)) {\n data[\"results\"] = [];\n for (let item of this.results)\n data[\"results\"].push(item.toJSON());\n }\n data[\"count\"] = this.count;\n return data; \n }\n\n clone(): GetFilteredTrackedBolFileTypeForLoggedInUserQueryResponse {\n const json = this.toJSON();\n let result = new GetFilteredTrackedBolFileTypeForLoggedInUserQueryResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetFilteredTrackedBolFileTypeForLoggedInUserQueryResponse {\n pageNumber?: number;\n amountPerPage?: number;\n filters?: IFilter[] | undefined;\n orderBy?: IOrderBy[] | undefined;\n results?: ITrackedBolFileType[] | undefined;\n count?: number;\n}\n\nexport class Stream implements IStream {\n readonly canRead?: boolean;\n readonly canSeek?: boolean;\n readonly canTimeout?: boolean;\n readonly canWrite?: boolean;\n readonly length?: number;\n position?: number;\n readTimeout?: number;\n writeTimeout?: number;\n\n constructor(data?: IStream) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n (this).canRead = _data[\"canRead\"];\n (this).canSeek = _data[\"canSeek\"];\n (this).canTimeout = _data[\"canTimeout\"];\n (this).canWrite = _data[\"canWrite\"];\n (this).length = _data[\"length\"];\n this.position = _data[\"position\"];\n this.readTimeout = _data[\"readTimeout\"];\n this.writeTimeout = _data[\"writeTimeout\"];\n }\n }\n\n static fromJS(data: any): Stream {\n data = typeof data === 'object' ? data : {};\n let result = new Stream();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"canRead\"] = this.canRead;\n data[\"canSeek\"] = this.canSeek;\n data[\"canTimeout\"] = this.canTimeout;\n data[\"canWrite\"] = this.canWrite;\n data[\"length\"] = this.length;\n data[\"position\"] = this.position;\n data[\"readTimeout\"] = this.readTimeout;\n data[\"writeTimeout\"] = this.writeTimeout;\n return data; \n }\n\n clone(): Stream {\n const json = this.toJSON();\n let result = new Stream();\n result.init(json);\n return result;\n }\n}\n\nexport interface IStream {\n canRead?: boolean;\n canSeek?: boolean;\n canTimeout?: boolean;\n canWrite?: boolean;\n length?: number;\n position?: number;\n readTimeout?: number;\n writeTimeout?: number;\n}\n\nexport class GetTrackedBolFileByIdQueryResponse implements IGetTrackedBolFileByIdQueryResponse {\n file?: Stream;\n name?: string | undefined;\n extension?: string | undefined;\n mimeType?: string | undefined;\n\n constructor(data?: IGetTrackedBolFileByIdQueryResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.file = data.file && !(data.file).toJSON ? new Stream(data.file) : this.file; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.file = _data[\"file\"] ? Stream.fromJS(_data[\"file\"]) : undefined;\n this.name = _data[\"name\"];\n this.extension = _data[\"extension\"];\n this.mimeType = _data[\"mimeType\"];\n }\n }\n\n static fromJS(data: any): GetTrackedBolFileByIdQueryResponse {\n data = typeof data === 'object' ? data : {};\n let result = new GetTrackedBolFileByIdQueryResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"file\"] = this.file ? this.file.toJSON() : undefined;\n data[\"name\"] = this.name;\n data[\"extension\"] = this.extension;\n data[\"mimeType\"] = this.mimeType;\n return data; \n }\n\n clone(): GetTrackedBolFileByIdQueryResponse {\n const json = this.toJSON();\n let result = new GetTrackedBolFileByIdQueryResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetTrackedBolFileByIdQueryResponse {\n file?: IStream;\n name?: string | undefined;\n extension?: string | undefined;\n mimeType?: string | undefined;\n}\n\nexport enum Operations {\n Create_Meal_Plan = \"Create Meal Plan\",\n Is_Autenticated = \"Is Autenticated\",\n View_Tracked_Bol = \"View Tracked Bol\",\n Edit_Tracked_Bol = \"Edit Tracked Bol\",\n Move_Traced_Bol_Status_Back = \"Move Traced Bol Status Back\",\n Has_Customer_Code = \"Has Customer Code\",\n Create_Employee = \"Create Employee\",\n View_Employee = \"View Employee\",\n Edit_Employee = \"Edit Employee\",\n Delete_Employee = \"Delete Employee\",\n}\n\nexport interface FileResponse {\n data: Blob;\n status: number;\n fileName?: string;\n headers?: { [name: string]: any };\n}\n\nexport class SwaggerException extends Error {\n message: string;\n status: number;\n response: string;\n headers: { [key: string]: any; };\n result: any;\n\n constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any) {\n super();\n\n this.message = message;\n this.status = status;\n this.response = response;\n this.headers = headers;\n this.result = result;\n }\n\n protected isSwaggerException = true;\n\n static isSwaggerException(obj: any): obj is SwaggerException {\n return obj.isSwaggerException === true;\n }\n}\n\nfunction throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): any {\n if (result !== null && result !== undefined)\n throw result;\n else\n throw new SwaggerException(message, status, response, headers, null);\n}\n\nfunction isAxiosError(obj: any | undefined): obj is AxiosError {\n return obj && obj.isAxiosError === true;\n}","import * as React from 'react';\nimport antd from 'antd';\nimport { FormComponentProps } from 'antd/lib/form';\nimport styled from 'styled-components';\nimport FormControl from '../../Forms/FormControl';\n\nconst { Form } = antd;\n\nexport const StyleLoginForm = styled(Form)`\n max-width: 300px;\n min-width: 300px;\n\n text-align: center;\n\n .login-form-button {\n width: 100%;\n }\n`;\n\nexport const TextLinksFormItem = styled(Form.Item)`\njustifyContent: \"center\";\nalignItems: \"center\";\n .ant-form-item-control {\n line-height: 20px;\n }\n\n button {\n margin-top: 10px;\n margin-bottom: 10px;\n }\n`;\n","import React from 'react';\nimport { notification, List, Button } from 'antd';\nimport _ from 'lodash';\nimport { IconType } from 'antd/lib/notification';\nimport moment, { Moment } from 'moment';\nimport hash from 'object-hash';\n\ninterface Notification {\n key: string;\n type: IconType;\n message?: React.ReactNode;\n description?: React.ReactNode;\n shouldPersist?: boolean;\n}\n\nexport default class NotificationUtility {\n // success notification\n public static success(\n message: React.ReactNode,\n description: React.ReactNode,\n duration?: number,\n shouldPersist?: boolean\n ) {\n NotificationUtility.showNotification('success', message, description, duration, shouldPersist);\n }\n\n // error notification\n public static error(\n message: React.ReactNode,\n description: React.ReactNode,\n duration?: number,\n shouldPersist?: boolean\n ) {\n NotificationUtility.showNotification('error', message, description, duration, shouldPersist);\n }\n\n // info notification\n public static info(\n message: React.ReactNode,\n description: React.ReactNode,\n duration?: number,\n shouldPersist?: boolean\n ) {\n NotificationUtility.showNotification('info', message, description, duration, shouldPersist);\n }\n\n // warning notification\n public static warning(\n message: React.ReactNode,\n description: React.ReactNode,\n duration?: number,\n shouldPersist?: boolean\n ) {\n NotificationUtility.showNotification('warning', message, description, duration, shouldPersist);\n }\n\n public static CloseNonPersistentNotifications() {\n const notificationList = NotificationUtility.notifications;\n notificationList\n .filter(x => !x.shouldPersist)\n .forEach(notice => {\n notification.close(notice.key);\n notificationList.splice(notificationList.indexOf(notice));\n });\n }\n\n private static notifications: Notification[] = [];\n\n private static CreateKey(\n type: string,\n message: React.ReactNode,\n description: React.ReactNode\n ): string {\n return hash((type as string) + hash(message) + hash(description));\n }\n\n private static showNotification(\n type: IconType,\n message: React.ReactNode,\n description: React.ReactNode,\n duration?: number,\n shouldPersist?: boolean\n ) {\n // If notification was already shown, remove and show again\n // Should only show two of the same type of message (should remove the oldest)\n const key = NotificationUtility.CreateKey(type, message, description);\n\n const notificationList = NotificationUtility.notifications;\n const sameNotificationsOfType = notificationList.filter(x => x.type === type);\n\n if (sameNotificationsOfType.length > 1) {\n // have to do housekeeping\n const sameNotification = sameNotificationsOfType.filter(x => x.key === key);\n\n if (sameNotification.length) {\n // Remove the old one and the new one will be added\n notification.close(key);\n notificationList.splice(notificationList.indexOf(sameNotification[0]), 1);\n } else {\n // If we have two persist message, then remove the oldest one.\n let oldestOrNonPersistent: Notification | undefined = sameNotificationsOfType[0];\n if (sameNotificationsOfType[0].shouldPersist) {\n oldestOrNonPersistent = sameNotificationsOfType[1].shouldPersist\n ? sameNotificationsOfType[0]\n : sameNotificationsOfType[1];\n }\n\n notification.close(oldestOrNonPersistent!.key);\n notificationList.splice(notificationList.indexOf(oldestOrNonPersistent!), 1);\n }\n }\n notificationList.push({ type, key, message, description, shouldPersist });\n notification[type]({ key, message, description, duration: shouldPersist ? 0 : duration, className: \"notification-\" + type });\n }\n}\n","import * as React from 'react';\nimport Cookies from 'js-cookie';\nimport jwtDecode from 'jwt-decode';\nimport moment from 'moment';\nimport { AuthUser } from 'Core/models/AuthUser.js';\nimport ConfigUtility from 'Core/ConfigUtility';\n\n\nexport default class TokenUtility {\n public static GetUMAToken() {\n // Get cookie if it exist, if not\n // assume token is not required\n let Config = ConfigUtility.getSync()!;\n\n let koppTokenString = Cookies.get(Config.KoppTokenCookieName);\n\n if (!koppTokenString) {\n return undefined;\n }\n\n let koppToken = jwtDecode(koppTokenString) as any;\n return koppToken[Config.TokenPropertyKeys.UMATokenName];\n }\n\n public static GetUserFromCookies() {\n // Get cookie if it exist, if not\n // assume token is not required\n let Config = ConfigUtility.getSync()!;\n let koppTokenString = Cookies.get(Config?.KoppTokenCookieName || \"notthere\");\n\n if (!koppTokenString) {\n return undefined;\n }\n\n let koppToken = jwtDecode(koppTokenString) as any;\n\n if (!koppToken) {\n return undefined;\n }\n\n let user: AuthUser = {};\n user.username = koppToken[Config.TokenPropertyKeys.UserName];\n user.id = koppToken[Config.TokenPropertyKeys.Id];\n user.email = koppToken[Config.TokenPropertyKeys.EmailAddress];\n user.expirationTime = moment.unix(koppToken[Config.TokenPropertyKeys.expirationTime]);\n user.firstname = koppToken[Config.TokenPropertyKeys.FirstName];\n user.lastname = koppToken[Config.TokenPropertyKeys.LastName];\n //user.operations = koppToken[Config.TokenPropertyKeys.];\n user.sessionId = koppToken[Config.TokenPropertyKeys.SessionId];\n user.umaid = koppToken[Config.TokenPropertyKeys.UMATokenName];\n user.customerCode = koppToken[Config.TokenPropertyKeys.CustomerCode];\n user.mobilePhone = koppToken[Config.TokenPropertyKeys.MobilePhone];\n user.umaExpirationTime =\n koppToken[Config.TokenPropertyKeys.UMATokenExpirationName] &&\n moment.unix(koppToken[Config.TokenPropertyKeys.UMATokenExpirationName]);\n user.roles = koppToken[Config.TokenPropertyKeys.Roles];\n user.operations = koppToken[Config.TokenPropertyKeys.Operations];\n\n return user;\n }\n\n public static GetUMATokenExpirationDate(config?: typeof Config) {\n // Get cookie if it exist, if not\n // assume token is not required\n let Config = ConfigUtility.getSync()!;\n config = config ? config : Config;\n let koppTokenString = Cookies.get(config?.KoppTokenCookieName || \"nontthere\");\n\n if (!koppTokenString) {\n return null;\n }\n\n let koppToken = jwtDecode(koppTokenString) as any;\n var expirationDateUnixString = koppToken[Config?.TokenPropertyKeys.UMATokenExpirationName];\n var expirationDate = moment.unix(expirationDateUnixString);\n return expirationDate;\n }\n\n\n public static GetSessionId(config?: typeof Config) {\n // Get cookie if it exist, if not\n // assume token is not required\n let Config = ConfigUtility.getSync()!;\n config = config ? config : Config;\n let koppTokenString = Cookies.get(config?.KoppTokenCookieName || \"nontthere\");\n\n if (!koppTokenString) {\n return Date.now().toString();\n }\n\n let koppToken = jwtDecode(koppTokenString) as any;\n var sessionId = koppToken[Config?.TokenPropertyKeys.SessionId];\n return sessionId;\n }\n}\n","import * as React from \"react\";\nimport { message } from \"antd\";\n\n\nexport default class LoaderUtility {\n\n private static count: number = 0;\n private static hider: any;\n\n\n public static show() {\n ++LoaderUtility.count;\n\n if (LoaderUtility.count && !LoaderUtility.hider) {\n // hider was not set so nothing is been shown\n LoaderUtility.hider = message.loading('', 0);\n }\n }\n\n public static hide() {\n\n LoaderUtility.count--;\n\n if (LoaderUtility.count <= 0 && LoaderUtility.hider) {\n LoaderUtility.hider();\n LoaderUtility.hider = undefined;\n }\n }\n\n\n public static reset() {\n LoaderUtility.count = 0;\n if (LoaderUtility.hider) {\n LoaderUtility.hider();\n }\n LoaderUtility.hider = undefined;\n }\n\n}\n","import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';\nimport { message, notification } from 'antd';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport React, { Fragment } from 'react';\nimport NotificationUtility from 'Core/NotificationUtility';\nimport TokenUtility from 'Core/TokenUtility';\nimport { uniqueId } from 'lodash';\nimport Utility from 'Core/Utility';\nimport LoaderUtility from 'Core/LoaderUtility';\n\nconst Config = ConfigUtility.getSync()!;\n\nexport interface ErrorDetails {\n statusCode?: number;\n message?: string;\n eventMarker?: string;\n}\n\nexport interface ExtendedAxios extends AxiosInstance {\n ShowLoader: (config: any) => void;\n HideLoader: (config: any) => void;\n handleSecurityError?: boolean;\n baseUrlConfigName?: string;\n showLoading?: boolean;\n handleGeneralError?: boolean;\n disableToken?: boolean;\n GetErrorDetails(error: any);\n}\n// tslint:disable-next-line:prefer-object-spread\nconst getSecuredAxiosInstance: () => ExtendedAxios = () => {\n const SecuredAxios: ExtendedAxios = Object.assign(\n {\n disableToken: false,\n handleSecurityError: true,\n ShowLoader: () => { },\n HideLoader: () => { },\n GetErrorDetails: () => { },\n },\n axios.create({})\n );\n\n SecuredAxios.interceptors.request.use(\n async config => {\n // turning on loader\n const appConfig = await ConfigUtility.get();\n config.baseURL = appConfig[SecuredAxios.baseUrlConfigName!];\n config.timeout = (await ConfigUtility.get()).DefaultRequestTimeout || 60000;\n SecuredAxios.ShowLoader(config);\n\n // Add Correlation ID header\n config.headers[appConfig.CorrelationIdHeader] = Utility.GetOrGenerateCorrleationId();\n config.headers[appConfig[\"SessionIdHeader\"] ?? \"SessionId\"] = TokenUtility.GetSessionId();\n\n return config;\n },\n error => {\n // Do something with error\n return Promise.reject(error);\n }\n );\n\n SecuredAxios.interceptors.response.use(\n response => {\n SecuredAxios.HideLoader(response.config);\n return response;\n },\n (error: { config: AxiosRequestConfig; response: AxiosResponse }) => {\n HideAllLoaders();\n HandleSecurityErrors(error);\n HandleErrors(error);\n return Promise.reject(error);\n }\n );\n\n function HideAllLoaders() {\n if (SecuredAxios.showLoading) {\n message.destroy();\n }\n }\n\n function HandleSecurityErrors(error: {\n config: AxiosRequestConfig;\n response: AxiosResponse;\n }) {\n if (SecuredAxios.handleSecurityError) {\n const errorDetails = SecuredAxios.GetErrorDetails(error);\n if (errorDetails.statusCode === 403) {\n NotificationUtility.error(\n 'You do not have permission to access that operation. You can try login in with different credentials that do.',\n '',\n 0,\n true\n );\n }\n if (errorDetails.statusCode === 401) {\n NotificationUtility.error(\n 'You were inactive for a long time and need to login again. Please login to continue',\n '',\n 0,\n true\n );\n }\n }\n }\n\n function HandleErrors(error: { config: AxiosRequestConfig; response: AxiosResponse }) {\n if (SecuredAxios.handleGeneralError) {\n const errorDetails = SecuredAxios.GetErrorDetails(error);\n\n switch (errorDetails.statusCode) {\n case 400:\n NotificationUtility.error(errorDetails.message, '', 0, true);\n\n break;\n\n case 800:\n NotificationUtility.error(\n 'Had a problem making that last request, please ensure you are connected to the internet.',\n '',\n 0,\n true\n );\n break;\n\n case 403:\n case 401:\n // It is a security error and will be handled somewhere else\n break;\n\n default:\n NotificationUtility.error(\n 'Oops...Something Went Wrong',\n <>\n

\n Somthing happend on that last request. Please contact administrator with this error\n code:\n

\n

{errorDetails.eventMarker}

\n ,\n 0,\n true\n );\n break;\n }\n }\n }\n\n SecuredAxios.GetErrorDetails = function (error: any) {\n return (error.response || { data: { statusCode: 800, eventMarker: '1111-1111-1111-1111' } })\n .data as ErrorDetails; // here we handle the senario if the issue is client side and we don't get back the response object\n };\n\n SecuredAxios.HideLoader = function (config: any) {\n LoaderUtility.hide();\n };\n\n SecuredAxios.ShowLoader = function ShowLoader(config: any) {\n LoaderUtility.show();\n };\n\n return SecuredAxios;\n};\n\nexport default getSecuredAxiosInstance;\n","import { Client } from './Api';\nimport getSecuredAxiosInstance, { ExtendedAxios } from '../SecuredAxios';\nimport ConfigUtility from 'Core/ConfigUtility';\n\n\nexport class SecuredKoppClient extends Client {\n public axiosInstance: ExtendedAxios;\n\n public get handleGeneralError(): boolean | undefined {\n return this.axiosInstance.handleGeneralError;\n }\n\n public set handleGeneralError(newValue: boolean | undefined) {\n this.axiosInstance.handleGeneralError = newValue;\n }\n\n public get handleSecurityError(): boolean | undefined {\n return this.axiosInstance.handleSecurityError;\n }\n\n public set handleSecurityError(newValue: boolean | undefined) {\n this.axiosInstance.handleSecurityError = newValue;\n }\n\n public get showLoading(): boolean | undefined {\n return this.axiosInstance.showLoading;\n }\n\n public set showLoading(newValue: boolean | undefined) {\n this.axiosInstance.showLoading = newValue;\n }\n\n constructor() {\n const Config = ConfigUtility.getSync()!;\n const axiosInstance = getSecuredAxiosInstance();\n super(Config?.KoppApiBaseUrl, axiosInstance);\n this.axiosInstance = axiosInstance;\n this.axiosInstance.baseUrlConfigName = \"KoppApiBaseUrl\";\n\n }\n}\n","import { LoginFormModel } from './Models/LoginFormModel';\nimport { SecuredKoppClient } from '../../../Core/Api/Kopp/SecuredKoppClient';\nimport { SlimUser, LoginCommandRequest } from '../../../Core/Api/Kopp/Api';\n\nexport class LoginFormHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n RequestLogin(LoginformModel: LoginFormModel): Promise {\n const client = new SecuredKoppClient();\n const request = new LoginCommandRequest();\n request.init(LoginformModel);\n client.showLoading = true;\n client.handleGeneralError = true;\n return client.login(request).then(x => {\n // the user is logged in. store access token\n // and user object for reference\n if (x.accessToken && x.loggedIn) {\n //sessionStorage.setItem('token', x.accessToken);\n }\n\n if (x.user) {\n sessionStorage.setItem('user', JSON.stringify(x.user));\n }\n return x.user;\n });\n }\n}\n","import * as React from 'react';\nimport { FilterType, ITrackedBolFileModel, ITrackedBolFileType, JoinType } from '../Api/Kopp/Api';\nimport equals from 'lodash/isEqual';\nimport { ValidationRule } from 'antd/lib/form';\nimport { WrappedFormUtils } from 'antd/lib/form/Form';\nimport { Moment } from 'moment';\n\nexport default class ValidationUtility {\n public static getRequired(message: React.ReactNode): ValidationRule[] {\n return [{ required: true, message: message }];\n }\n\n public static getPattern(pattern: RegExp, message: React.ReactNode): ValidationRule[] {\n return [{ pattern: pattern, message: message }];\n }\n\n public static getType(type: string, message: React.ReactNode): ValidationRule[] {\n return [{ type: type, message: message }];\n }\n\n public static getStrongPassword() {\n return [\n {\n pattern: /(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{6,}/,\n message: this.renderStrongPasswordErrorMessages(),\n },\n ];\n }\n\n public static renderStrongPasswordErrorMessages() {\n return (\n
    \n
  • Password must contain at least one number
  • \n
  • One lowercase and one uppercase letter
  • \n
  • At least six characters that are letters, numbers or the underscore
  • \n
\n );\n }\n\n public static getName(): Array {\n return [\n { required: true, message: 'Please enter both your first and last names' },\n { max: 30, message: 'Limit of 30 characters' },\n ];\n }\n\n public static getMobilenumber(): ValidationRule[] {\n return [\n { required: true, message: 'Please enter a mobile number' },\n { pattern: /[0-9]{3}-[0-9]{3}-[0-9]{4}/, message: 'Please enter valid Mobile Number' },\n ];\n }\n\n public static getAddress(): ValidationRule[] {\n return [\n { required: true, message: 'Please enter an address' },\n { max: 255, message: 'You have character limit' },\n ];\n }\n\n public static getCompareField(\n form: WrappedFormUtils,\n field: string,\n message: React.ReactNode\n ): ValidationRule[] {\n const validator = (rule, value, callback) => {\n if (value && value !== form.getFieldValue(field)) {\n callback(message);\n } else {\n callback();\n }\n };\n\n return [\n {\n validator: validator,\n },\n ];\n }\n\n public static validateOtherFields(\n form: WrappedFormUtils,\n field: string | string[]\n ): ValidationRule[] {\n const validator = (rule, value, callback) => {\n if (value) {\n // if fields is a single string, turn it into an array\n const fields = (field as Array).map != undefined\n ? (field as Array)\n : ([field] as Array);\n form.validateFields(fields, { force: true });\n }\n callback();\n };\n\n return [\n {\n validator: validator,\n },\n ];\n }\n\n public static getCheckBoxChecked(message: string): ValidationRule[] {\n const validator = (rule, value, callback) => {\n if (!value) {\n callback(message);\n } else {\n callback();\n }\n };\n\n return [\n {\n validator: validator,\n },\n ];\n }\n\n public static getIsANumber(message?: string): ValidationRule[] {\n const validator = (rule, value, callback) => {\n if (Number.isInteger(value)) {\n callback(message || 'This is not a valid number');\n }\n callback();\n };\n\n return [\n {\n validator: validator,\n },\n ];\n }\n\n public static getNotInThePassDate(message?: string): ValidationRule[] {\n message = message ?? \"You cannot select a date in the past for Jamaica\";\n const validator = (rule, value, callback) => {\n if (!value) {\n callback();\n return;\n }\n let valueAsMoment = value as Moment;\n\n if (valueAsMoment) {\n let valueInJamaica = valueAsMoment.utcOffset(-5, false);\n\n if (valueInJamaica.isBefore(undefined, \"day\")) {\n callback(message);\n } else {\n callback();\n }\n\n }\n\n\n };\n\n return [\n {\n validator: validator,\n },\n ];\n }\n\n public static getCreditCardNumber(\n form: WrappedFormUtils,\n cardTypeField: string\n ): ValidationRule[] {\n const validator = ValidationUtility.CreditCardNumberValiatorMethodGenerator(\n form,\n cardTypeField\n );\n\n return [\n {\n validator: validator,\n },\n ];\n }\n\n /**\n * This is a message that reutnrs a valiator method (used in ant.design)\n * to validate the card number against the card type selected.\n *\n * @static\n * @memberof ValidationUtility\n * @returns Validator\n */\n public static CreditCardNumberValiatorMethodGenerator = (\n form: WrappedFormUtils,\n cardTypeField: string\n ) => (rule, value, callback) => {\n let cardNumber: string = '';\n\n if (!value) {\n callback('Please enter a valid card number.');\n return;\n }\n\n let cardTypeValue = form.getFieldValue(cardTypeField);\n\n // If you don't have the card type value, then you can't validate yet\n if (!cardTypeValue || cardTypeValue == 'undefined') {\n callback();\n return;\n }\n\n // Done to accomodate for spacing because of mask applied\n let cardNumberInput = value;\n let splitCardNumber = cardNumberInput.split(' ');\n cardNumber = splitCardNumber.join('');\n\n let cardTypesDictionary = ValidationUtility.getCardTypeDictionary();\n\n // Check the patterns\n for (const cardType in cardTypesDictionary) {\n if (cardTypesDictionary.hasOwnProperty(cardType)) {\n const value = cardTypesDictionary[cardType];\n value.is = value.pattern.test(cardNumber);\n }\n }\n\n let cardType = cardTypesDictionary[cardTypeValue];\n\n if (!cardType) {\n throw Error('Trying to Validate a card type that is not defined: ' + cardTypeValue);\n }\n\n if (cardType.is) {\n callback();\n } else {\n callback(cardType.message);\n }\n };\n\n static getCardNumberTransform() {\n const transform = (value: string | undefined) => {\n return value?.replace(/\\s*/g, '');;\n };\n\n return [{ transform }];\n }\n\n static getCardTypeDictionary() {\n let cardTypesDictionary: { [key: string]: { pattern: RegExp; is: Boolean; message: string } };\n\n cardTypesDictionary = {};\n cardTypesDictionary['VISA'] = {\n pattern: /^(?:4[0-9]{12}(?:[0-9]{3})?)$/,\n is: false,\n message: 'Please provide a valid Visa number!',\n };\n cardTypesDictionary['MASTERCARD'] = {\n pattern: /^(?:5[1-5][0-9]{2}|222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$/,\n is: false,\n message: 'Please provide a valid MasterCard number!',\n };\n cardTypesDictionary['KEYCARD'] = {\n pattern: /^(?:7[0-9]{15})$/,\n is: false,\n message: 'Please provide a valid Keycard number!',\n };\n cardTypesDictionary['a'] = {\n pattern: /^(?:3[47][0-9]{13})$/,\n is: false,\n message: 'Please provide a valid American Express number!',\n };\n cardTypesDictionary['d'] = {\n pattern: /^(?:6(?:011|5[0-9][0-9])[0-9]{12})$/,\n is: false,\n message: 'Please provide a valid Discovery number!',\n };\n return cardTypesDictionary;\n }\n\n public static validateExpiryDate = () => (rule, value, callback) => {\n // let expiryDate: number;\n\n if (!value) {\n callback('Please enter an Expiry Date!');\n }\n\n const expiryDateValue = value;\n\n if (!expiryDateValue || expiryDateValue === 'undefined') {\n callback();\n return;\n }\n\n // getting split values\n const currentDate = new Date();\n const currentTwoDigitYear = currentDate.getFullYear().toString().substr(-2);;\n const currentMonth = currentDate.getMonth() + 1;\n\n const expiryMonth = expiryDateValue.split('/', 1)[0];\n const splitExpiry = expiryDateValue.split('/');\n const expiryYear = splitExpiry[1];\n\n //checking if both month & date are invalid\n if (expiryYear < currentTwoDigitYear && (expiryYear <= currentTwoDigitYear && expiryMonth < currentMonth) || expiryYear < currentTwoDigitYear && expiryMonth > 12) {\n callback('Please enter valid Expiry Date!');\n }\n // check if year is valid\n else if (expiryYear < currentTwoDigitYear) {\n callback('Please enter valid Expiry Date!');\n }\n // checking if month less than current month in current year or less(which would make year also invalid)\n else if (expiryYear <= currentTwoDigitYear && expiryMonth < currentMonth) {\n callback('Please enter valid Expiry Date!');\n }\n\n //checking if expiry month is greater than 12 while year is valid\n else if (expiryMonth > 12 && expiryYear >= currentTwoDigitYear) {\n callback('Please enter valid Expiry Date!');\n }\n\n callback();\n };\n\n // static getExpiryDatePattern() {\n // let expiryDatePattern: { [key: string]: { pattern: RegExp; is: Boolean; message: string } };\n\n // expiryDatePattern = {};\n // expiryDatePattern[''] = {\n // pattern: /^(0[1-9]|1[0-2])\\/?([0-9]{4})$/,\n // is: false,\n // message: 'Please provide a valid Expiry Date!',\n // };\n // }\n\n public static getIsValidExpiryDate(): ValidationRule[] {\n const validator = ValidationUtility.validateExpiryDate();\n\n return [\n {\n validator,\n },\n ];\n }\n\n public static getChargedAmount() {\n return [\n {\n pattern: /^[0-9]+\\.[0-9]+$/,\n message: 'Only numbers and one decimal sign is accepted',\n },\n ];\n }\n\n public static getBolFileIdRequired(\n fileTypes?: ITrackedBolFileType[],\n message?: React.ReactNode\n ): ValidationRule[] {\n\n let finalMessage = message ?? \"Identification is required\"\n const validator = async (rule, value: ITrackedBolFileModel[], callback) => {\n\n // Don't show if value is empty\n if (!value || !value.length) callback();\n\n let uploadedFilesTypes: ITrackedBolFileType[] = [];\n\n //match all uploaded file with a fileType\n for (var i = 0; i < value.length; ++i) {\n let match = fileTypes?.find(x => x.id == value[i].bolFileTypeId);\n uploadedFilesTypes.push(match!);\n }\n\n //return true if fileType of any identification exists \n const hasIdFile = uploadedFilesTypes.some(x => {\n if (x.name == \"Drivers Licence\" || x.name == \"National ID\" || x.name == \"Passport\") {\n return true;\n }\n else {\n return false;\n }\n });\n\n if (!hasIdFile) callback(finalMessage);\n else callback();\n };\n\n return [\n {\n validator: validator,\n },\n ];\n }\n}\n","import * as React from \"react\";\nimport { Helmet } from 'react-helmet';\nimport Utility from \"Core/Utility\";\nimport Recaptcha from 'react-recaptcha';\nimport Form, { FormComponentProps } from \"antd/lib/form\";\n\nexport interface Props {\n children?: React.ReactNode\n onChange?: Function;\n reCaptchaID: string;\n}\n\nexport interface State {\n}\n\nexport default class ReCaptcha extends React.Component {\n recaptchaRef = React.createRef();\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n };\n\n verifyCallback = (response) => {\n const { onChange } = this.props;\n\n //updates application about the recaptcha state onVerify and set field value to response\n if (onChange) {\n onChange(response);\n };\n };\n\n reset = () => {\n if (this.recaptchaRef.current) {\n this.recaptchaRef.current.reset();\n }\n this.setValueToNull();\n }\n\n setValueToNull() {\n const { onChange } = this.props;\n\n //updates application about the recaptcha state on expiry and resets the field value\n if (onChange) {\n onChange();\n }\n }\n\n onExpiredCallback = () => {\n this.setValueToNull();\n };\n\n //onloadCallback & render=explicit is to get back a reponse in verifyCallback\n RecaptchaItem = { }}\n verifyCallback={this.verifyCallback}\n expiredCallback={this.onExpiredCallback}\n />\n\n render() {\n return (\n <>\n \n \n \n {this.RecaptchaItem}\n \n )\n }\n}\n","import * as React from \"react\";\n\nexport default class LoginUtility {\n\n private static count: number = 0;\n\n\n public static IncrementLoginAttempt() {\n ++LoginUtility.count;\n }\n\n public static GetLoginAttemptCount() {\n return LoginUtility.count;\n }\n\n public static ResetLoginAttemptCount() {\n LoginUtility.count = 0;\n }\n\n}\n","import { Icon } from 'antd';\nimport Button, { ButtonProps } from 'antd/lib/button/button';\nimport { debounce } from 'lodash';\nimport React, { SyntheticEvent, useState, CSSProperties } from 'react';\nimport styled from 'styled-components';\n\nconst Wrap = styled.div``;\n\ninterface Props extends ButtonProps {\n children?: React.ReactNode;\n disableTime?: number;\n loadingStyle?: CSSProperties;\n}\n\nexport default (props: Props) => {\n let [disabled, setDisabled] = useState(props.disabled)\n let [icon, setIcon] = useState(props.icon);\n let onClick = debounce((event: React.MouseEvent) => {\n setDisabled(true);\n props.onClick?.call(null, event);\n setIcon(\"loading\");\n setTimeout(x => {\n setIcon(props.icon);\n setDisabled(props.disabled);\n }, props.disableTime ?? 5000);\n }, 100);\n let { disableTime, ...propsWithoutDisabledTime } = props;\n return

\n

\n \n :\n <>\n
\n

\n\n Use any of our electronic payment options to pay for Any Shipment, from Anywhere in the world, at\n Any Time of the day or night.

\n\n With one login, you can use multiple KWL eServices options including out pick up service, Click N Collect, and the electronic payment options — your eServices login\n credentials can be used to access the Mobile App and webPay.

\n

\n
\n\n
\n

\n

    \n

    \n \n

    \n
  1. \n

    Click N Collect –

    \n Click N Collect is cargo clearance made easier. Kingston Wharves or your agent will\n handle the entire clearance process on your behalf. Simply pay online and schedule your\n pick up at your convenience.\n\n
  2. \n
    \n
  3. KW Web Pay - Simply Register and pay for your shipment.
  4. \n
    \n
  5. Mobile App - Pay for any shipment, any time, once you have a bill of lading number.\n
    \n
    \n\n \n Get it on Google Play\n \n
    \n
  6. \n
  7. \n

    \n Bank Transfer to the KWL account. We recommend this option for orders/bills of ladings required after\n 24-48 hours. Download the KWL Banking Information here or contact customer.services@kwljm.com.\n After payment, send email confirmation to kwfinance@kwljm.com and customer.services@kwljm.com to ensure the payment is\n applied to your order.\n

    \n
  8. \n
\n

\n
\n \n\n }\n \n \n \n\n \n \n \n\n\n \n )\n }\n}\n\nconst HomeDescription = withRouter(BaseHomeDescription);\n\nexport default HomeDescription;\n\n","/* tslint:disable */\n/* eslint-disable */\n//----------------------\n// \n// Generated using the NSwag toolchain v13.8.2.0 (NJsonSchema v10.2.1.0 (Newtonsoft.Json v12.0.0.0)) (http://NSwag.org)\n// \n//----------------------\n// ReSharper disable InconsistentNaming\n\nimport axios, { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios';\n\nexport interface IClient {\n /**\n * Processes a Bill of Lading Payment\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @param body (optional) The request.\n * @return Success\n */\n billofladingPayments(authorization: string, body: ExecuteBillOfLadingPaymentRequest | undefined): Promise;\n /**\n * Gets the Bill of Lading payments.\n * @param userId (optional) The id of the user who made the payment.\n * @param pageSize (optional) Gets or sets the size of the page. Defaults to 10.\n * @param pageIndex (optional) Gets or sets the zero-based page index. Default to 0.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n getBillOfLadingPayments(userId: string | null | undefined, pageSize: number | null | undefined, pageIndex: number | null | undefined, authorization: string): Promise;\n /**\n * Processes a Bill of Lading payment via 3d Secure.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @param body (optional) The request.\n * @return Success\n */\n threeDSecure(authorization: string, body: CompleteThreeDSecureBolPaymentRequest | undefined): Promise;\n /**\n * Gets the Bill of Lading payment by Payment Reference Number.\n * @param paymentReferenceNumber The payment reference number.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n getBillOfLadingPayment(paymentReferenceNumber: string | null, authorization: string): Promise;\n /**\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @param body (optional) \n * @return Success\n */\n completeBillPayment(authorization: string, body: CompleteThreeDSecurePaymentRequest | undefined): Promise;\n /**\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @param body (optional) \n * @return Success\n */\n beginBillPayment(authorization: string, body: BeginBillPaymentRequest | undefined): Promise;\n /**\n * Registers a credit card.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @param body (optional) The credit card details\n * @return Success\n */\n beginRegisterCreditCard(authorization: string, body: BeginRegisterCreditCardRequest | undefined): Promise;\n /**\n * Gets the credit card registrations by user ID.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n getCreditCardRegistrations(userId: string, authorization: string): Promise;\n /**\n * Gets the credit card registration by ID.\n * @param id The registration id\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n getSingleCreditCardRegistration(id: number, authorization: string): Promise;\n /**\n * Gets the credit card registration by ID.\n * @param id The registration id\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n creditcardRegistrations(id: number, authorization: string): Promise;\n /**\n * Deletes the credit card registration by ID.\n * @param id The registration ID.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n deleteCreditCardRegistration(id: number, authorization: string): Promise;\n /**\n * Confirms the credit card registration by providing the random amount that was charged.\n * @param id The registration ID.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @param body (optional) The request body containing the amount charged.\n * @return Success\n */\n confirmCreditCardRegistration(id: number, authorization: string, body: ConfirmCreditCardRegistrationRequestBody | undefined): Promise;\n /**\n * Updates the credit card billing address.\n * @param id registration ID.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @param body (optional) The billing address.\n * @return Success\n */\n updateCreditCardBillingAddress(id: number, authorization: string, body: AddressDto | undefined): Promise;\n /**\n * @return Success\n */\n notifications(): Promise;\n /**\n * Gets the list of supported credit card types.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n creditcardTypes(authorization: string): Promise;\n /**\n * Gets the list of supported credit card currencies.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n creditcardCurrencies(authorization: string): Promise;\n /**\n * Web Hook that is called by the 3DS authenticating bank\n with the result of the user's 3DS authentication, that was captured during credit card payment\n * @param paRes (optional) \n * @param mD (optional) \n * @return Success\n */\n authentication(paRes: string | undefined, mD: string | undefined): Promise;\n /**\n * @param cashierId (optional) \n * @param merID (optional) \n * @param acqID (optional) \n * @param orderID (optional) \n * @param responseCode (optional) \n * @param reasonCode (optional) \n * @param reasonCodeDesc (optional) \n * @param referenceNo (optional) \n * @param paddedCardNo (optional) \n * @param authCode (optional) \n * @param cVV2Result (optional) \n * @param shipToFirstName (optional) \n * @param shipToLastName (optional) \n * @param shipToAddress1 (optional) \n * @param shipToAddress2 (optional) \n * @param shipToCity (optional) \n * @param shipToState (optional) \n * @param shipToCountry (optional) \n * @param shipToTelephone (optional) \n * @param shipToEMail (optional) \n * @param billToFirstName (optional) \n * @param billToLastName (optional) \n * @param billToAddress1 (optional) \n * @param billToAddress2 (optional) \n * @param billToCity (optional) \n * @param billToState (optional) \n * @param billToCountry (optional) \n * @param billToTelephone (optional) \n * @param billToEMail (optional) \n * @param originalResponseCode (optional) \n * @param signature (optional) \n * @param signatureMethod (optional) \n * @param tokenizedPAN (optional) \n * @return Success\n */\n verifyPayment(cashierId: string | null | undefined, merID: string | null | undefined, acqID: string | null | undefined, orderID: string | null | undefined, responseCode: string | null | undefined, reasonCode: string | null | undefined, reasonCodeDesc: string | null | undefined, referenceNo: string | null | undefined, paddedCardNo: string | null | undefined, authCode: string | null | undefined, cVV2Result: string | null | undefined, shipToFirstName: string | null | undefined, shipToLastName: string | null | undefined, shipToAddress1: string | null | undefined, shipToAddress2: string | null | undefined, shipToCity: string | null | undefined, shipToState: string | null | undefined, shipToCountry: string | null | undefined, shipToTelephone: string | null | undefined, shipToEMail: string | null | undefined, billToFirstName: string | null | undefined, billToLastName: string | null | undefined, billToAddress1: string | null | undefined, billToAddress2: string | null | undefined, billToCity: string | null | undefined, billToState: string | null | undefined, billToCountry: string | null | undefined, billToTelephone: string | null | undefined, billToEMail: string | null | undefined, originalResponseCode: string | null | undefined, signature: string | null | undefined, signatureMethod: string | null | undefined, tokenizedPAN: string | null | undefined): Promise;\n /**\n * @param merID (optional) \n * @param acqID (optional) \n * @param orderID (optional) \n * @param responseCode (optional) \n * @param tokenizedPAN (optional) \n * @param reasonCode (optional) \n * @param reasonCodeDesc (optional) \n * @param referenceNo (optional) \n * @param paddedCardNo (optional) \n * @param authCode (optional) \n * @param cVV2Result (optional) \n * @param shipToFirstName (optional) \n * @param shipToLastName (optional) \n * @param shipToAddress1 (optional) \n * @param shipToAddress2 (optional) \n * @param shipToCity (optional) \n * @param shipToState (optional) \n * @param shipToCountry (optional) \n * @param shipToTelephone (optional) \n * @param shipToEMail (optional) \n * @param billToFirstName (optional) \n * @param billToLastName (optional) \n * @param billToAddress1 (optional) \n * @param billToAddress2 (optional) \n * @param billToCity (optional) \n * @param billToState (optional) \n * @param billToCountry (optional) \n * @param billToTelephone (optional) \n * @param billToEMail (optional) \n * @param originalResponseCode (optional) \n * @param signature (optional) \n * @param signatureMethod (optional) \n * @return Success\n */\n verifyCard(merID: string | null | undefined, acqID: string | null | undefined, orderID: string | null | undefined, responseCode: string | null | undefined, tokenizedPAN: string | null | undefined, reasonCode: string | null | undefined, reasonCodeDesc: string | null | undefined, referenceNo: string | null | undefined, paddedCardNo: string | null | undefined, authCode: string | null | undefined, cVV2Result: string | null | undefined, shipToFirstName: string | null | undefined, shipToLastName: string | null | undefined, shipToAddress1: string | null | undefined, shipToAddress2: string | null | undefined, shipToCity: string | null | undefined, shipToState: string | null | undefined, shipToCountry: string | null | undefined, shipToTelephone: string | null | undefined, shipToEMail: string | null | undefined, billToFirstName: string | null | undefined, billToLastName: string | null | undefined, billToAddress1: string | null | undefined, billToAddress2: string | null | undefined, billToCity: string | null | undefined, billToState: string | null | undefined, billToCountry: string | null | undefined, billToTelephone: string | null | undefined, billToEMail: string | null | undefined, originalResponseCode: string | null | undefined, signature: string | null | undefined, signatureMethod: string | null | undefined): Promise;\n}\n\nexport class Client implements IClient {\n private instance: AxiosInstance;\n private baseUrl: string;\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(baseUrl?: string, instance?: AxiosInstance) {\n this.instance = instance ? instance : axios.create();\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\n }\n\n /**\n * Processes a Bill of Lading Payment\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @param body (optional) The request.\n * @return Success\n */\n billofladingPayments(authorization: string, body: ExecuteBillOfLadingPaymentRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/billoflading-payments\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Authorization\": authorization !== undefined && authorization !== null ? \"\" + authorization : \"\",\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processBillofladingPayments(_response);\n });\n }\n\n protected processBillofladingPayments(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = BillOfLadingPaymentResponse.fromJS(resultData200);\n return result200;\n } else if (status === 201) {\n const _responseText = response.data;\n let result201: any = null;\n let resultData201 = _responseText;\n result201 = BillOfLadingPaymentResponse.fromJS(resultData201);\n return result201;\n } else if (status === 400) {\n const _responseText = response.data;\n let result400: any = null;\n let resultData400 = _responseText;\n result400 = resultData400 !== undefined ? resultData400 : null;\n return throwException(\"Bad Request\", status, _responseText, _headers, result400);\n } else if (status === 403) {\n const _responseText = response.data;\n let result403: any = null;\n let resultData403 = _responseText;\n result403 = resultData403 !== undefined ? resultData403 : null;\n return throwException(\"Forbidden\", status, _responseText, _headers, result403);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 502) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Gets the Bill of Lading payments.\n * @param userId (optional) The id of the user who made the payment.\n * @param pageSize (optional) Gets or sets the size of the page. Defaults to 10.\n * @param pageIndex (optional) Gets or sets the zero-based page index. Default to 0.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n getBillOfLadingPayments(userId: string | null | undefined, pageSize: number | null | undefined, pageIndex: number | null | undefined, authorization: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/billoflading-payments?\";\n if (userId !== undefined && userId !== null)\n url_ += \"UserId=\" + encodeURIComponent(\"\" + userId) + \"&\";\n if (pageSize !== undefined && pageSize !== null)\n url_ += \"PageSize=\" + encodeURIComponent(\"\" + pageSize) + \"&\";\n if (pageIndex !== undefined && pageIndex !== null)\n url_ += \"PageIndex=\" + encodeURIComponent(\"\" + pageIndex) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Authorization\": authorization !== undefined && authorization !== null ? \"\" + authorization : \"\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetBillOfLadingPayments(_response);\n });\n }\n\n protected processGetBillOfLadingPayments(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = PaymentSummaryDtoPagedResult.fromJS(resultData200);\n return result200;\n } else if (status === 400) {\n const _responseText = response.data;\n let result400: any = null;\n let resultData400 = _responseText;\n result400 = resultData400 !== undefined ? resultData400 : null;\n return throwException(\"Bad Request\", status, _responseText, _headers, result400);\n } else if (status === 403) {\n const _responseText = response.data;\n let result403: any = null;\n let resultData403 = _responseText;\n result403 = resultData403 !== undefined ? resultData403 : null;\n return throwException(\"Forbidden\", status, _responseText, _headers, result403);\n } else if (status === 404) {\n const _responseText = response.data;\n return throwException(\"Not Found\", status, _responseText, _headers);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Processes a Bill of Lading payment via 3d Secure.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @param body (optional) The request.\n * @return Success\n */\n threeDSecure(authorization: string, body: CompleteThreeDSecureBolPaymentRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/billoflading-payments/threeDSecure\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Authorization\": authorization !== undefined && authorization !== null ? \"\" + authorization : \"\",\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processThreeDSecure(_response);\n });\n }\n\n protected processThreeDSecure(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = BillOfLadingPaymentResponse.fromJS(resultData200);\n return result200;\n } else if (status === 201) {\n const _responseText = response.data;\n let result201: any = null;\n let resultData201 = _responseText;\n result201 = BillOfLadingPaymentResponse.fromJS(resultData201);\n return result201;\n } else if (status === 400) {\n const _responseText = response.data;\n let result400: any = null;\n let resultData400 = _responseText;\n result400 = resultData400 !== undefined ? resultData400 : null;\n return throwException(\"Bad Request\", status, _responseText, _headers, result400);\n } else if (status === 403) {\n const _responseText = response.data;\n let result403: any = null;\n let resultData403 = _responseText;\n result403 = resultData403 !== undefined ? resultData403 : null;\n return throwException(\"Forbidden\", status, _responseText, _headers, result403);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 502) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Gets the Bill of Lading payment by Payment Reference Number.\n * @param paymentReferenceNumber The payment reference number.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n getBillOfLadingPayment(paymentReferenceNumber: string | null, authorization: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/billoflading-payments/{paymentReferenceNumber}\";\n if (paymentReferenceNumber === undefined || paymentReferenceNumber === null)\n throw new Error(\"The parameter 'paymentReferenceNumber' must be defined.\");\n url_ = url_.replace(\"{paymentReferenceNumber}\", encodeURIComponent(\"\" + paymentReferenceNumber));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"HEAD\",\n url: url_,\n headers: {\n \"Authorization\": authorization !== undefined && authorization !== null ? \"\" + authorization : \"\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetBillOfLadingPayment(_response);\n });\n }\n\n protected processGetBillOfLadingPayment(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = GetBillOfLadingPaymentResponse.fromJS(resultData200);\n return result200;\n } else if (status === 400) {\n const _responseText = response.data;\n let result400: any = null;\n let resultData400 = _responseText;\n result400 = resultData400 !== undefined ? resultData400 : null;\n return throwException(\"Bad Request\", status, _responseText, _headers, result400);\n } else if (status === 403) {\n const _responseText = response.data;\n let result403: any = null;\n let resultData403 = _responseText;\n result403 = resultData403 !== undefined ? resultData403 : null;\n return throwException(\"Forbidden\", status, _responseText, _headers, result403);\n } else if (status === 404) {\n const _responseText = response.data;\n return throwException(\"Not Found\", status, _responseText, _headers);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @param body (optional) \n * @return Success\n */\n completeBillPayment(authorization: string, body: CompleteThreeDSecurePaymentRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/billoflading-payments/CompleteBillPayment\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Authorization\": authorization !== undefined && authorization !== null ? \"\" + authorization : \"\",\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processCompleteBillPayment(_response);\n });\n }\n\n protected processCompleteBillPayment(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = BillPaymentResponse.fromJS(resultData200);\n return result200;\n } else if (status === 201) {\n const _responseText = response.data;\n let result201: any = null;\n let resultData201 = _responseText;\n result201 = BillPaymentResponse.fromJS(resultData201);\n return result201;\n } else if (status === 400) {\n const _responseText = response.data;\n return throwException(\"Bad Request\", status, _responseText, _headers);\n } else if (status === 403) {\n const _responseText = response.data;\n let result403: any = null;\n let resultData403 = _responseText;\n result403 = resultData403 !== undefined ? resultData403 : null;\n return throwException(\"Forbidden\", status, _responseText, _headers, result403);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 502) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @param body (optional) \n * @return Success\n */\n beginBillPayment(authorization: string, body: BeginBillPaymentRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/billoflading-payments/beginBillPayment\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Authorization\": authorization !== undefined && authorization !== null ? \"\" + authorization : \"\",\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processBeginBillPayment(_response);\n });\n }\n\n protected processBeginBillPayment(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = BeginBillPaymentResponse.fromJS(resultData200);\n return result200;\n } else if (status === 400) {\n const _responseText = response.data;\n let result400: any = null;\n let resultData400 = _responseText;\n result400 = resultData400 !== undefined ? resultData400 : null;\n return throwException(\"Bad Request\", status, _responseText, _headers, result400);\n } else if (status === 403) {\n const _responseText = response.data;\n let result403: any = null;\n let resultData403 = _responseText;\n result403 = resultData403 !== undefined ? resultData403 : null;\n return throwException(\"Forbidden\", status, _responseText, _headers, result403);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Registers a credit card.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @param body (optional) The credit card details\n * @return Success\n */\n beginRegisterCreditCard(authorization: string, body: BeginRegisterCreditCardRequest | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/creditcard-registrations\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Authorization\": authorization !== undefined && authorization !== null ? \"\" + authorization : \"\",\n \"Content-Type\": \"application/json-patch+json\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processBeginRegisterCreditCard(_response);\n });\n }\n\n protected processBeginRegisterCreditCard(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = BeginRegisterCreditCardResponse.fromJS(resultData200);\n return result200;\n } else if (status === 400) {\n const _responseText = response.data;\n let result400: any = null;\n let resultData400 = _responseText;\n result400 = resultData400 !== undefined ? resultData400 : null;\n return throwException(\"Bad Request\", status, _responseText, _headers, result400);\n } else if (status === 403) {\n const _responseText = response.data;\n let result403: any = null;\n let resultData403 = _responseText;\n result403 = resultData403 !== undefined ? resultData403 : null;\n return throwException(\"Forbidden\", status, _responseText, _headers, result403);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Gets the credit card registrations by user ID.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n getCreditCardRegistrations(userId: string, authorization: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/creditcard-registrations?\";\n if (userId === undefined || userId === null)\n throw new Error(\"The parameter 'userId' must be defined and cannot be null.\");\n else\n url_ += \"UserId=\" + encodeURIComponent(\"\" + userId) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Authorization\": authorization !== undefined && authorization !== null ? \"\" + authorization : \"\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetCreditCardRegistrations(_response);\n });\n }\n\n protected processGetCreditCardRegistrations(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n if (Array.isArray(resultData200)) {\n result200 = [] as any;\n for (let item of resultData200)\n result200!.push(CreditCardRegistrationDto.fromJS(item));\n }\n return result200;\n } else if (status === 400) {\n const _responseText = response.data;\n let result400: any = null;\n let resultData400 = _responseText;\n result400 = resultData400 !== undefined ? resultData400 : null;\n return throwException(\"Bad Request\", status, _responseText, _headers, result400);\n } else if (status === 403) {\n const _responseText = response.data;\n let result403: any = null;\n let resultData403 = _responseText;\n result403 = resultData403 !== undefined ? resultData403 : null;\n return throwException(\"Forbidden\", status, _responseText, _headers, result403);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Gets the credit card registration by ID.\n * @param id The registration id\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n getSingleCreditCardRegistration(id: number, authorization: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/creditcard-registrations/{id}\";\n if (id === undefined || id === null)\n throw new Error(\"The parameter 'id' must be defined.\");\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Authorization\": authorization !== undefined && authorization !== null ? \"\" + authorization : \"\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetSingleCreditCardRegistration(_response);\n });\n }\n\n protected processGetSingleCreditCardRegistration(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = CreditCardRegistrationDto.fromJS(resultData200);\n return result200;\n } else if (status === 400) {\n const _responseText = response.data;\n let result400: any = null;\n let resultData400 = _responseText;\n result400 = resultData400 !== undefined ? resultData400 : null;\n return throwException(\"Bad Request\", status, _responseText, _headers, result400);\n } else if (status === 403) {\n const _responseText = response.data;\n let result403: any = null;\n let resultData403 = _responseText;\n result403 = resultData403 !== undefined ? resultData403 : null;\n return throwException(\"Forbidden\", status, _responseText, _headers, result403);\n } else if (status === 404) {\n const _responseText = response.data;\n return throwException(\"Not Found\", status, _responseText, _headers);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Gets the credit card registration by ID.\n * @param id The registration id\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n creditcardRegistrations(id: number, authorization: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/creditcard-registrations/{id}\";\n if (id === undefined || id === null)\n throw new Error(\"The parameter 'id' must be defined.\");\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"HEAD\",\n url: url_,\n headers: {\n \"Authorization\": authorization !== undefined && authorization !== null ? \"\" + authorization : \"\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processCreditcardRegistrations(_response);\n });\n }\n\n protected processCreditcardRegistrations(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = CreditCardRegistrationDto.fromJS(resultData200);\n return result200;\n } else if (status === 400) {\n const _responseText = response.data;\n let result400: any = null;\n let resultData400 = _responseText;\n result400 = resultData400 !== undefined ? resultData400 : null;\n return throwException(\"Bad Request\", status, _responseText, _headers, result400);\n } else if (status === 403) {\n const _responseText = response.data;\n let result403: any = null;\n let resultData403 = _responseText;\n result403 = resultData403 !== undefined ? resultData403 : null;\n return throwException(\"Forbidden\", status, _responseText, _headers, result403);\n } else if (status === 404) {\n const _responseText = response.data;\n return throwException(\"Not Found\", status, _responseText, _headers);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Deletes the credit card registration by ID.\n * @param id The registration ID.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n deleteCreditCardRegistration(id: number, authorization: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/creditcard-registrations/{id}\";\n if (id === undefined || id === null)\n throw new Error(\"The parameter 'id' must be defined.\");\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"DELETE\",\n url: url_,\n headers: {\n \"Authorization\": authorization !== undefined && authorization !== null ? \"\" + authorization : \"\",\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processDeleteCreditCardRegistration(_response);\n });\n }\n\n protected processDeleteCreditCardRegistration(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n return Promise.resolve(null);\n } else if (status === 400) {\n const _responseText = response.data;\n let result400: any = null;\n let resultData400 = _responseText;\n result400 = resultData400 !== undefined ? resultData400 : null;\n return throwException(\"Bad Request\", status, _responseText, _headers, result400);\n } else if (status === 403) {\n const _responseText = response.data;\n let result403: any = null;\n let resultData403 = _responseText;\n result403 = resultData403 !== undefined ? resultData403 : null;\n return throwException(\"Forbidden\", status, _responseText, _headers, result403);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Confirms the credit card registration by providing the random amount that was charged.\n * @param id The registration ID.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @param body (optional) The request body containing the amount charged.\n * @return Success\n */\n confirmCreditCardRegistration(id: number, authorization: string, body: ConfirmCreditCardRegistrationRequestBody | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/creditcard-registrations/{id}/confirmation\";\n if (id === undefined || id === null)\n throw new Error(\"The parameter 'id' must be defined.\");\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Authorization\": authorization !== undefined && authorization !== null ? \"\" + authorization : \"\",\n \"Content-Type\": \"application/json-patch+json\",\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processConfirmCreditCardRegistration(_response);\n });\n }\n\n protected processConfirmCreditCardRegistration(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n return Promise.resolve(null);\n } else if (status === 400) {\n const _responseText = response.data;\n let result400: any = null;\n let resultData400 = _responseText;\n result400 = resultData400 !== undefined ? resultData400 : null;\n return throwException(\"Bad Request\", status, _responseText, _headers, result400);\n } else if (status === 403) {\n const _responseText = response.data;\n let result403: any = null;\n let resultData403 = _responseText;\n result403 = resultData403 !== undefined ? resultData403 : null;\n return throwException(\"Forbidden\", status, _responseText, _headers, result403);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Updates the credit card billing address.\n * @param id registration ID.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @param body (optional) The billing address.\n * @return Success\n */\n updateCreditCardBillingAddress(id: number, authorization: string, body: AddressDto | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/creditcard-registrations/{id}/billing-address\";\n if (id === undefined || id === null)\n throw new Error(\"The parameter 'id' must be defined.\");\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(body);\n\n let options_ = {\n data: content_,\n method: \"PUT\",\n url: url_,\n headers: {\n \"Authorization\": authorization !== undefined && authorization !== null ? \"\" + authorization : \"\",\n \"Content-Type\": \"application/json-patch+json\",\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processUpdateCreditCardBillingAddress(_response);\n });\n }\n\n protected processUpdateCreditCardBillingAddress(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n return Promise.resolve(null);\n } else if (status === 400) {\n const _responseText = response.data;\n let result400: any = null;\n let resultData400 = _responseText;\n result400 = resultData400 !== undefined ? resultData400 : null;\n return throwException(\"Bad Request\", status, _responseText, _headers, result400);\n } else if (status === 403) {\n const _responseText = response.data;\n let result403: any = null;\n let resultData403 = _responseText;\n result403 = resultData403 !== undefined ? resultData403 : null;\n return throwException(\"Forbidden\", status, _responseText, _headers, result403);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @return Success\n */\n notifications( cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/notifications\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processNotifications(_response);\n });\n }\n\n protected processNotifications(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = resultData200 !== undefined ? resultData200 : null;\n return result200;\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Gets the list of supported credit card types.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n creditcardTypes(authorization: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/reference-values/creditcard-types\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Authorization\": authorization !== undefined && authorization !== null ? \"\" + authorization : \"\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processCreditcardTypes(_response);\n });\n }\n\n protected processCreditcardTypes(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n if (Array.isArray(resultData200)) {\n result200 = [] as any;\n for (let item of resultData200)\n result200!.push(ReferenceValueDto.fromJS(item));\n }\n return result200;\n } else if (status === 403) {\n const _responseText = response.data;\n let result403: any = null;\n let resultData403 = _responseText;\n result403 = resultData403 !== undefined ? resultData403 : null;\n return throwException(\"Forbidden\", status, _responseText, _headers, result403);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Gets the list of supported credit card currencies.\n * @param authorization Bearer authorization token e.g. \"Bearer [token]\"\n * @return Success\n */\n creditcardCurrencies(authorization: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/reference-values/creditcard-currencies\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Authorization\": authorization !== undefined && authorization !== null ? \"\" + authorization : \"\",\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processCreditcardCurrencies(_response);\n });\n }\n\n protected processCreditcardCurrencies(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n if (Array.isArray(resultData200)) {\n result200 = [] as any;\n for (let item of resultData200)\n result200!.push(ReferenceValueDto.fromJS(item));\n }\n return result200;\n } else if (status === 403) {\n const _responseText = response.data;\n let result403: any = null;\n let resultData403 = _responseText;\n result403 = resultData403 !== undefined ? resultData403 : null;\n return throwException(\"Forbidden\", status, _responseText, _headers, result403);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Web Hook that is called by the 3DS authenticating bank\n with the result of the user's 3DS authentication, that was captured during credit card payment\n * @param paRes (optional) \n * @param mD (optional) \n * @return Success\n */\n authentication(paRes: string | undefined, mD: string | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/3dsecure/authentication\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = new FormData();\n if (paRes === null || paRes === undefined)\n throw new Error(\"The parameter 'paRes' cannot be null.\");\n else\n content_.append(\"PaRes\", paRes.toString());\n if (mD === null || mD === undefined)\n throw new Error(\"The parameter 'mD' cannot be null.\");\n else\n content_.append(\"MD\", mD.toString());\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processAuthentication(_response);\n });\n }\n\n protected processAuthentication(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = resultData200 !== undefined ? resultData200 : null;\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param cashierId (optional) \n * @param merID (optional) \n * @param acqID (optional) \n * @param orderID (optional) \n * @param responseCode (optional) \n * @param reasonCode (optional) \n * @param reasonCodeDesc (optional) \n * @param referenceNo (optional) \n * @param paddedCardNo (optional) \n * @param authCode (optional) \n * @param cVV2Result (optional) \n * @param shipToFirstName (optional) \n * @param shipToLastName (optional) \n * @param shipToAddress1 (optional) \n * @param shipToAddress2 (optional) \n * @param shipToCity (optional) \n * @param shipToState (optional) \n * @param shipToCountry (optional) \n * @param shipToTelephone (optional) \n * @param shipToEMail (optional) \n * @param billToFirstName (optional) \n * @param billToLastName (optional) \n * @param billToAddress1 (optional) \n * @param billToAddress2 (optional) \n * @param billToCity (optional) \n * @param billToState (optional) \n * @param billToCountry (optional) \n * @param billToTelephone (optional) \n * @param billToEMail (optional) \n * @param originalResponseCode (optional) \n * @param signature (optional) \n * @param signatureMethod (optional) \n * @param tokenizedPAN (optional) \n * @return Success\n */\n verifyPayment(cashierId: string | null | undefined, merID: string | null | undefined, acqID: string | null | undefined, orderID: string | null | undefined, responseCode: string | null | undefined, reasonCode: string | null | undefined, reasonCodeDesc: string | null | undefined, referenceNo: string | null | undefined, paddedCardNo: string | null | undefined, authCode: string | null | undefined, cVV2Result: string | null | undefined, shipToFirstName: string | null | undefined, shipToLastName: string | null | undefined, shipToAddress1: string | null | undefined, shipToAddress2: string | null | undefined, shipToCity: string | null | undefined, shipToState: string | null | undefined, shipToCountry: string | null | undefined, shipToTelephone: string | null | undefined, shipToEMail: string | null | undefined, billToFirstName: string | null | undefined, billToLastName: string | null | undefined, billToAddress1: string | null | undefined, billToAddress2: string | null | undefined, billToCity: string | null | undefined, billToState: string | null | undefined, billToCountry: string | null | undefined, billToTelephone: string | null | undefined, billToEMail: string | null | undefined, originalResponseCode: string | null | undefined, signature: string | null | undefined, signatureMethod: string | null | undefined, tokenizedPAN: string | null | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/3dsecure/verify-payment?\";\n if (cashierId !== undefined && cashierId !== null)\n url_ += \"CashierId=\" + encodeURIComponent(\"\" + cashierId) + \"&\";\n if (merID !== undefined && merID !== null)\n url_ += \"MerID=\" + encodeURIComponent(\"\" + merID) + \"&\";\n if (acqID !== undefined && acqID !== null)\n url_ += \"AcqID=\" + encodeURIComponent(\"\" + acqID) + \"&\";\n if (orderID !== undefined && orderID !== null)\n url_ += \"OrderID=\" + encodeURIComponent(\"\" + orderID) + \"&\";\n if (responseCode !== undefined && responseCode !== null)\n url_ += \"ResponseCode=\" + encodeURIComponent(\"\" + responseCode) + \"&\";\n if (reasonCode !== undefined && reasonCode !== null)\n url_ += \"ReasonCode=\" + encodeURIComponent(\"\" + reasonCode) + \"&\";\n if (reasonCodeDesc !== undefined && reasonCodeDesc !== null)\n url_ += \"ReasonCodeDesc=\" + encodeURIComponent(\"\" + reasonCodeDesc) + \"&\";\n if (referenceNo !== undefined && referenceNo !== null)\n url_ += \"ReferenceNo=\" + encodeURIComponent(\"\" + referenceNo) + \"&\";\n if (paddedCardNo !== undefined && paddedCardNo !== null)\n url_ += \"PaddedCardNo=\" + encodeURIComponent(\"\" + paddedCardNo) + \"&\";\n if (authCode !== undefined && authCode !== null)\n url_ += \"AuthCode=\" + encodeURIComponent(\"\" + authCode) + \"&\";\n if (cVV2Result !== undefined && cVV2Result !== null)\n url_ += \"CVV2Result=\" + encodeURIComponent(\"\" + cVV2Result) + \"&\";\n if (shipToFirstName !== undefined && shipToFirstName !== null)\n url_ += \"ShipToFirstName=\" + encodeURIComponent(\"\" + shipToFirstName) + \"&\";\n if (shipToLastName !== undefined && shipToLastName !== null)\n url_ += \"ShipToLastName=\" + encodeURIComponent(\"\" + shipToLastName) + \"&\";\n if (shipToAddress1 !== undefined && shipToAddress1 !== null)\n url_ += \"ShipToAddress1=\" + encodeURIComponent(\"\" + shipToAddress1) + \"&\";\n if (shipToAddress2 !== undefined && shipToAddress2 !== null)\n url_ += \"ShipToAddress2=\" + encodeURIComponent(\"\" + shipToAddress2) + \"&\";\n if (shipToCity !== undefined && shipToCity !== null)\n url_ += \"ShipToCity=\" + encodeURIComponent(\"\" + shipToCity) + \"&\";\n if (shipToState !== undefined && shipToState !== null)\n url_ += \"ShipToState=\" + encodeURIComponent(\"\" + shipToState) + \"&\";\n if (shipToCountry !== undefined && shipToCountry !== null)\n url_ += \"ShipToCountry=\" + encodeURIComponent(\"\" + shipToCountry) + \"&\";\n if (shipToTelephone !== undefined && shipToTelephone !== null)\n url_ += \"ShipToTelephone=\" + encodeURIComponent(\"\" + shipToTelephone) + \"&\";\n if (shipToEMail !== undefined && shipToEMail !== null)\n url_ += \"ShipToEMail=\" + encodeURIComponent(\"\" + shipToEMail) + \"&\";\n if (billToFirstName !== undefined && billToFirstName !== null)\n url_ += \"BillToFirstName=\" + encodeURIComponent(\"\" + billToFirstName) + \"&\";\n if (billToLastName !== undefined && billToLastName !== null)\n url_ += \"BillToLastName=\" + encodeURIComponent(\"\" + billToLastName) + \"&\";\n if (billToAddress1 !== undefined && billToAddress1 !== null)\n url_ += \"BillToAddress1=\" + encodeURIComponent(\"\" + billToAddress1) + \"&\";\n if (billToAddress2 !== undefined && billToAddress2 !== null)\n url_ += \"BillToAddress2=\" + encodeURIComponent(\"\" + billToAddress2) + \"&\";\n if (billToCity !== undefined && billToCity !== null)\n url_ += \"BillToCity=\" + encodeURIComponent(\"\" + billToCity) + \"&\";\n if (billToState !== undefined && billToState !== null)\n url_ += \"BillToState=\" + encodeURIComponent(\"\" + billToState) + \"&\";\n if (billToCountry !== undefined && billToCountry !== null)\n url_ += \"BillToCountry=\" + encodeURIComponent(\"\" + billToCountry) + \"&\";\n if (billToTelephone !== undefined && billToTelephone !== null)\n url_ += \"BillToTelephone=\" + encodeURIComponent(\"\" + billToTelephone) + \"&\";\n if (billToEMail !== undefined && billToEMail !== null)\n url_ += \"BillToEMail=\" + encodeURIComponent(\"\" + billToEMail) + \"&\";\n if (originalResponseCode !== undefined && originalResponseCode !== null)\n url_ += \"OriginalResponseCode=\" + encodeURIComponent(\"\" + originalResponseCode) + \"&\";\n if (signature !== undefined && signature !== null)\n url_ += \"Signature=\" + encodeURIComponent(\"\" + signature) + \"&\";\n if (signatureMethod !== undefined && signatureMethod !== null)\n url_ += \"SignatureMethod=\" + encodeURIComponent(\"\" + signatureMethod) + \"&\";\n if (tokenizedPAN !== undefined && tokenizedPAN !== null)\n url_ += \"TokenizedPAN=\" + encodeURIComponent(\"\" + tokenizedPAN) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"POST\",\n url: url_,\n headers: {\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processVerifyPayment(_response);\n });\n }\n\n protected processVerifyPayment(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = VerifyFirstAtlanticPaymentResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * @param merID (optional) \n * @param acqID (optional) \n * @param orderID (optional) \n * @param responseCode (optional) \n * @param tokenizedPAN (optional) \n * @param reasonCode (optional) \n * @param reasonCodeDesc (optional) \n * @param referenceNo (optional) \n * @param paddedCardNo (optional) \n * @param authCode (optional) \n * @param cVV2Result (optional) \n * @param shipToFirstName (optional) \n * @param shipToLastName (optional) \n * @param shipToAddress1 (optional) \n * @param shipToAddress2 (optional) \n * @param shipToCity (optional) \n * @param shipToState (optional) \n * @param shipToCountry (optional) \n * @param shipToTelephone (optional) \n * @param shipToEMail (optional) \n * @param billToFirstName (optional) \n * @param billToLastName (optional) \n * @param billToAddress1 (optional) \n * @param billToAddress2 (optional) \n * @param billToCity (optional) \n * @param billToState (optional) \n * @param billToCountry (optional) \n * @param billToTelephone (optional) \n * @param billToEMail (optional) \n * @param originalResponseCode (optional) \n * @param signature (optional) \n * @param signatureMethod (optional) \n * @return Success\n */\n verifyCard(merID: string | null | undefined, acqID: string | null | undefined, orderID: string | null | undefined, responseCode: string | null | undefined, tokenizedPAN: string | null | undefined, reasonCode: string | null | undefined, reasonCodeDesc: string | null | undefined, referenceNo: string | null | undefined, paddedCardNo: string | null | undefined, authCode: string | null | undefined, cVV2Result: string | null | undefined, shipToFirstName: string | null | undefined, shipToLastName: string | null | undefined, shipToAddress1: string | null | undefined, shipToAddress2: string | null | undefined, shipToCity: string | null | undefined, shipToState: string | null | undefined, shipToCountry: string | null | undefined, shipToTelephone: string | null | undefined, shipToEMail: string | null | undefined, billToFirstName: string | null | undefined, billToLastName: string | null | undefined, billToAddress1: string | null | undefined, billToAddress2: string | null | undefined, billToCity: string | null | undefined, billToState: string | null | undefined, billToCountry: string | null | undefined, billToTelephone: string | null | undefined, billToEMail: string | null | undefined, originalResponseCode: string | null | undefined, signature: string | null | undefined, signatureMethod: string | null | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/3dsecure/verify-card?\";\n if (merID !== undefined && merID !== null)\n url_ += \"MerID=\" + encodeURIComponent(\"\" + merID) + \"&\";\n if (acqID !== undefined && acqID !== null)\n url_ += \"AcqID=\" + encodeURIComponent(\"\" + acqID) + \"&\";\n if (orderID !== undefined && orderID !== null)\n url_ += \"OrderID=\" + encodeURIComponent(\"\" + orderID) + \"&\";\n if (responseCode !== undefined && responseCode !== null)\n url_ += \"ResponseCode=\" + encodeURIComponent(\"\" + responseCode) + \"&\";\n if (tokenizedPAN !== undefined && tokenizedPAN !== null)\n url_ += \"TokenizedPAN=\" + encodeURIComponent(\"\" + tokenizedPAN) + \"&\";\n if (reasonCode !== undefined && reasonCode !== null)\n url_ += \"ReasonCode=\" + encodeURIComponent(\"\" + reasonCode) + \"&\";\n if (reasonCodeDesc !== undefined && reasonCodeDesc !== null)\n url_ += \"ReasonCodeDesc=\" + encodeURIComponent(\"\" + reasonCodeDesc) + \"&\";\n if (referenceNo !== undefined && referenceNo !== null)\n url_ += \"ReferenceNo=\" + encodeURIComponent(\"\" + referenceNo) + \"&\";\n if (paddedCardNo !== undefined && paddedCardNo !== null)\n url_ += \"PaddedCardNo=\" + encodeURIComponent(\"\" + paddedCardNo) + \"&\";\n if (authCode !== undefined && authCode !== null)\n url_ += \"AuthCode=\" + encodeURIComponent(\"\" + authCode) + \"&\";\n if (cVV2Result !== undefined && cVV2Result !== null)\n url_ += \"CVV2Result=\" + encodeURIComponent(\"\" + cVV2Result) + \"&\";\n if (shipToFirstName !== undefined && shipToFirstName !== null)\n url_ += \"ShipToFirstName=\" + encodeURIComponent(\"\" + shipToFirstName) + \"&\";\n if (shipToLastName !== undefined && shipToLastName !== null)\n url_ += \"ShipToLastName=\" + encodeURIComponent(\"\" + shipToLastName) + \"&\";\n if (shipToAddress1 !== undefined && shipToAddress1 !== null)\n url_ += \"ShipToAddress1=\" + encodeURIComponent(\"\" + shipToAddress1) + \"&\";\n if (shipToAddress2 !== undefined && shipToAddress2 !== null)\n url_ += \"ShipToAddress2=\" + encodeURIComponent(\"\" + shipToAddress2) + \"&\";\n if (shipToCity !== undefined && shipToCity !== null)\n url_ += \"ShipToCity=\" + encodeURIComponent(\"\" + shipToCity) + \"&\";\n if (shipToState !== undefined && shipToState !== null)\n url_ += \"ShipToState=\" + encodeURIComponent(\"\" + shipToState) + \"&\";\n if (shipToCountry !== undefined && shipToCountry !== null)\n url_ += \"ShipToCountry=\" + encodeURIComponent(\"\" + shipToCountry) + \"&\";\n if (shipToTelephone !== undefined && shipToTelephone !== null)\n url_ += \"ShipToTelephone=\" + encodeURIComponent(\"\" + shipToTelephone) + \"&\";\n if (shipToEMail !== undefined && shipToEMail !== null)\n url_ += \"ShipToEMail=\" + encodeURIComponent(\"\" + shipToEMail) + \"&\";\n if (billToFirstName !== undefined && billToFirstName !== null)\n url_ += \"BillToFirstName=\" + encodeURIComponent(\"\" + billToFirstName) + \"&\";\n if (billToLastName !== undefined && billToLastName !== null)\n url_ += \"BillToLastName=\" + encodeURIComponent(\"\" + billToLastName) + \"&\";\n if (billToAddress1 !== undefined && billToAddress1 !== null)\n url_ += \"BillToAddress1=\" + encodeURIComponent(\"\" + billToAddress1) + \"&\";\n if (billToAddress2 !== undefined && billToAddress2 !== null)\n url_ += \"BillToAddress2=\" + encodeURIComponent(\"\" + billToAddress2) + \"&\";\n if (billToCity !== undefined && billToCity !== null)\n url_ += \"BillToCity=\" + encodeURIComponent(\"\" + billToCity) + \"&\";\n if (billToState !== undefined && billToState !== null)\n url_ += \"BillToState=\" + encodeURIComponent(\"\" + billToState) + \"&\";\n if (billToCountry !== undefined && billToCountry !== null)\n url_ += \"BillToCountry=\" + encodeURIComponent(\"\" + billToCountry) + \"&\";\n if (billToTelephone !== undefined && billToTelephone !== null)\n url_ += \"BillToTelephone=\" + encodeURIComponent(\"\" + billToTelephone) + \"&\";\n if (billToEMail !== undefined && billToEMail !== null)\n url_ += \"BillToEMail=\" + encodeURIComponent(\"\" + billToEMail) + \"&\";\n if (originalResponseCode !== undefined && originalResponseCode !== null)\n url_ += \"OriginalResponseCode=\" + encodeURIComponent(\"\" + originalResponseCode) + \"&\";\n if (signature !== undefined && signature !== null)\n url_ += \"Signature=\" + encodeURIComponent(\"\" + signature) + \"&\";\n if (signatureMethod !== undefined && signatureMethod !== null)\n url_ += \"SignatureMethod=\" + encodeURIComponent(\"\" + signatureMethod) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"POST\",\n url: url_,\n headers: {\n \"Accept\": \"text/plain\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processVerifyCard(_response);\n });\n }\n\n protected processVerifyCard(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = VerifyFirstAtlanticPaymentResponse.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n}\n\nexport class BillOfLadingData implements IBillOfLadingData {\n /** Gets or sets the BOL reference numbers. */\n bolReferenceNumbers!: string[] | undefined;\n /** Gets or sets the BOL storage to date. */\n bolStorageToDate!: string;\n\n constructor(data?: IBillOfLadingData) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n if (Array.isArray(_data[\"bolReferenceNumbers\"])) {\n this.bolReferenceNumbers = [] as any;\n for (let item of _data[\"bolReferenceNumbers\"])\n this.bolReferenceNumbers!.push(item);\n }\n this.bolStorageToDate = _data[\"bolStorageToDate\"];\n }\n }\n\n static fromJS(data: any): BillOfLadingData {\n data = typeof data === 'object' ? data : {};\n let result = new BillOfLadingData();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n if (Array.isArray(this.bolReferenceNumbers)) {\n data[\"bolReferenceNumbers\"] = [];\n for (let item of this.bolReferenceNumbers)\n data[\"bolReferenceNumbers\"].push(item);\n }\n data[\"bolStorageToDate\"] = this.bolStorageToDate;\n return data; \n }\n\n clone(): BillOfLadingData {\n const json = this.toJSON();\n let result = new BillOfLadingData();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBillOfLadingData {\n /** Gets or sets the BOL reference numbers. */\n bolReferenceNumbers: string[] | undefined;\n /** Gets or sets the BOL storage to date. */\n bolStorageToDate: string;\n}\n\nexport class BillOfLadingChargeDto implements IBillOfLadingChargeDto {\n /** Gets or sets the name of the charge. */\n chargeName!: string | undefined;\n /** Gets or sets the charge amount. */\n amount!: number;\n\n constructor(data?: IBillOfLadingChargeDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.chargeName = _data[\"chargeName\"];\n this.amount = _data[\"amount\"];\n }\n }\n\n static fromJS(data: any): BillOfLadingChargeDto {\n data = typeof data === 'object' ? data : {};\n let result = new BillOfLadingChargeDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"chargeName\"] = this.chargeName;\n data[\"amount\"] = this.amount;\n return data; \n }\n\n clone(): BillOfLadingChargeDto {\n const json = this.toJSON();\n let result = new BillOfLadingChargeDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBillOfLadingChargeDto {\n /** Gets or sets the name of the charge. */\n chargeName: string | undefined;\n /** Gets or sets the charge amount. */\n amount: number;\n}\n\nexport class BillOfLadingDto implements IBillOfLadingDto {\n /** Gets or sets the BOL number. */\n bolNumber!: string | undefined;\n bolData!: BillOfLadingData;\n /** Gets or sets the BOL charges. */\n charges!: BillOfLadingChargeDto[] | undefined;\n\n constructor(data?: IBillOfLadingDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.bolData = data.bolData && !(data.bolData).toJSON ? new BillOfLadingData(data.bolData) : this.bolData; \n if (data.charges) {\n this.charges = [];\n for (let i = 0; i < data.charges.length; i++) {\n let item = data.charges[i];\n this.charges[i] = item && !(item).toJSON ? new BillOfLadingChargeDto(item) : item;\n }\n }\n }\n if (!data) {\n this.bolData = new BillOfLadingData();\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.bolNumber = _data[\"bolNumber\"];\n this.bolData = _data[\"bolData\"] ? BillOfLadingData.fromJS(_data[\"bolData\"]) : new BillOfLadingData();\n if (Array.isArray(_data[\"charges\"])) {\n this.charges = [] as any;\n for (let item of _data[\"charges\"])\n this.charges!.push(BillOfLadingChargeDto.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): BillOfLadingDto {\n data = typeof data === 'object' ? data : {};\n let result = new BillOfLadingDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"bolNumber\"] = this.bolNumber;\n data[\"bolData\"] = this.bolData ? this.bolData.toJSON() : undefined;\n if (Array.isArray(this.charges)) {\n data[\"charges\"] = [];\n for (let item of this.charges)\n data[\"charges\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): BillOfLadingDto {\n const json = this.toJSON();\n let result = new BillOfLadingDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBillOfLadingDto {\n /** Gets or sets the BOL number. */\n bolNumber: string | undefined;\n bolData: IBillOfLadingData;\n /** Gets or sets the BOL charges. */\n charges: IBillOfLadingChargeDto[] | undefined;\n}\n\nexport class PaymentMethodDto implements IPaymentMethodDto {\n\n protected _discriminator: string;\n\n constructor(data?: IPaymentMethodDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n this._discriminator = \"PaymentMethodDto\";\n }\n\n init(_data?: any) {\n }\n\n static fromJS(data: any): PaymentMethodDto {\n data = typeof data === 'object' ? data : {};\n if (data[\"$type\"] === \"CreditCardPaymentMethodDto\") {\n let result = new CreditCardPaymentMethodDto();\n result.init(data);\n return result;\n }\n if (data[\"$type\"] === \"PayPalPaymentMethodDto\") {\n let result = new PayPalPaymentMethodDto();\n result.init(data);\n return result;\n }\n let result = new PaymentMethodDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"$type\"] = this._discriminator; \n return data; \n }\n\n clone(): PaymentMethodDto {\n const json = this.toJSON();\n let result = new PaymentMethodDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IPaymentMethodDto {\n}\n\n/** Request to execute a Bill of Lading Payment */\nexport class ExecuteBillOfLadingPaymentRequest implements IExecuteBillOfLadingPaymentRequest {\n /** Gets or sets the list bill of lading charges. */\n billOfLadings?: BillOfLadingDto[] | undefined;\n /** Gets or sets the payment total. */\n total?: number;\n /** Gets or sets the payment total in Jamaican dollars. */\n totalInJmd?: number | undefined;\n paymentMethod!: PaymentMethodDto;\n /** Gets or sets the payment currency code. */\n currencyCode?: string | undefined;\n /** Gets or sets the JMD exchange rate for the payment currency. */\n jmdExchangeRate?: number;\n /** Gets or sets the user identifier. */\n userId!: string | undefined;\n /** Gets or sets the user's email address. */\n userEmailAddress!: string | undefined;\n /** Gets or sets the user's mobile phone. */\n userMobilePhone!: string | undefined;\n /** Gets or sets the browser user agent. */\n browserUserAgent?: string | undefined;\n\n constructor(data?: IExecuteBillOfLadingPaymentRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.billOfLadings) {\n this.billOfLadings = [];\n for (let i = 0; i < data.billOfLadings.length; i++) {\n let item = data.billOfLadings[i];\n this.billOfLadings[i] = item && !(item).toJSON ? new BillOfLadingDto(item) : item;\n }\n }\n }\n if (!data) {\n this.paymentMethod = new PaymentMethodDto();\n }\n }\n\n init(_data?: any) {\n if (_data) {\n if (Array.isArray(_data[\"billOfLadings\"])) {\n this.billOfLadings = [] as any;\n for (let item of _data[\"billOfLadings\"])\n this.billOfLadings!.push(BillOfLadingDto.fromJS(item));\n }\n this.total = _data[\"total\"];\n this.totalInJmd = _data[\"totalInJmd\"];\n this.paymentMethod = _data[\"paymentMethod\"] ? PaymentMethodDto.fromJS(_data[\"paymentMethod\"]) : new PaymentMethodDto();\n this.currencyCode = _data[\"currencyCode\"];\n this.jmdExchangeRate = _data[\"jmdExchangeRate\"];\n this.userId = _data[\"userId\"];\n this.userEmailAddress = _data[\"userEmailAddress\"];\n this.userMobilePhone = _data[\"userMobilePhone\"];\n this.browserUserAgent = _data[\"browserUserAgent\"];\n }\n }\n\n static fromJS(data: any): ExecuteBillOfLadingPaymentRequest {\n data = typeof data === 'object' ? data : {};\n let result = new ExecuteBillOfLadingPaymentRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n if (Array.isArray(this.billOfLadings)) {\n data[\"billOfLadings\"] = [];\n for (let item of this.billOfLadings)\n data[\"billOfLadings\"].push(item.toJSON());\n }\n data[\"total\"] = this.total;\n data[\"totalInJmd\"] = this.totalInJmd;\n data[\"paymentMethod\"] = this.paymentMethod ? this.paymentMethod.toJSON() : undefined;\n data[\"currencyCode\"] = this.currencyCode;\n data[\"jmdExchangeRate\"] = this.jmdExchangeRate;\n data[\"userId\"] = this.userId;\n data[\"userEmailAddress\"] = this.userEmailAddress;\n data[\"userMobilePhone\"] = this.userMobilePhone;\n data[\"browserUserAgent\"] = this.browserUserAgent;\n return data; \n }\n\n clone(): ExecuteBillOfLadingPaymentRequest {\n const json = this.toJSON();\n let result = new ExecuteBillOfLadingPaymentRequest();\n result.init(json);\n return result;\n }\n}\n\n/** Request to execute a Bill of Lading Payment */\nexport interface IExecuteBillOfLadingPaymentRequest {\n /** Gets or sets the list bill of lading charges. */\n billOfLadings?: IBillOfLadingDto[] | undefined;\n /** Gets or sets the payment total. */\n total?: number;\n /** Gets or sets the payment total in Jamaican dollars. */\n totalInJmd?: number | undefined;\n paymentMethod: PaymentMethodDto;\n /** Gets or sets the payment currency code. */\n currencyCode?: string | undefined;\n /** Gets or sets the JMD exchange rate for the payment currency. */\n jmdExchangeRate?: number;\n /** Gets or sets the user identifier. */\n userId: string | undefined;\n /** Gets or sets the user's email address. */\n userEmailAddress: string | undefined;\n /** Gets or sets the user's mobile phone. */\n userMobilePhone: string | undefined;\n /** Gets or sets the browser user agent. */\n browserUserAgent?: string | undefined;\n}\n\nexport class BolCharge implements IBolCharge {\n /** Gets or sets the type of the charge. */\n chargeType?: string | undefined;\n /** Gets or sets the charge amount. */\n chargeAmount?: number | undefined;\n /** Gets the charge currency. */\n readonly chargeCurrency?: string | undefined;\n quantity?: number;\n\n constructor(data?: IBolCharge) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.chargeType = _data[\"chargeType\"];\n this.chargeAmount = _data[\"chargeAmount\"];\n (this).chargeCurrency = _data[\"chargeCurrency\"];\n this.quantity = _data[\"quantity\"];\n }\n }\n\n static fromJS(data: any): BolCharge {\n data = typeof data === 'object' ? data : {};\n let result = new BolCharge();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"chargeType\"] = this.chargeType;\n data[\"chargeAmount\"] = this.chargeAmount;\n data[\"chargeCurrency\"] = this.chargeCurrency;\n data[\"quantity\"] = this.quantity;\n return data; \n }\n\n clone(): BolCharge {\n const json = this.toJSON();\n let result = new BolCharge();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBolCharge {\n /** Gets or sets the type of the charge. */\n chargeType?: string | undefined;\n /** Gets or sets the charge amount. */\n chargeAmount?: number | undefined;\n /** Gets the charge currency. */\n chargeCurrency?: string | undefined;\n quantity?: number;\n}\n\nexport class BolData implements IBolData {\n handling?: number;\n /** Gets or sets the BOL reference. */\n bolReference?: string | undefined;\n /** Gets or sets the BOL number. */\n bolNumber?: string | undefined;\n /** Gets or sets the item number. */\n itemNumber?: string | undefined;\n /** Gets or sets the consignee. */\n consignee?: string | undefined;\n /** Gets or sets the vessel. */\n vessel?: string | undefined;\n /** Gets or sets the voyage number. */\n voyageNumber?: string | undefined;\n /** Gets or sets the arrival date. */\n arrivalDate?: string | undefined;\n /** Gets or sets the name of the line. */\n lineName?: string | undefined;\n /** Gets or sets the order reference. */\n orderReference?: string | undefined;\n /** Gets or sets the equipment. */\n equipment?: string | undefined;\n /** Gets or sets the location. */\n location?: string | undefined;\n /** Gets or sets the description. */\n description?: string | undefined;\n /** Gets or sets the berth. */\n berth?: string | undefined;\n /** Gets or sets the storage due date. */\n storageDueDate?: string | undefined;\n /** Gets or sets the charges. */\n charges?: BolCharge[] | undefined;\n\n constructor(data?: IBolData) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.charges) {\n this.charges = [];\n for (let i = 0; i < data.charges.length; i++) {\n let item = data.charges[i];\n this.charges[i] = item && !(item).toJSON ? new BolCharge(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.handling = _data[\"handling\"];\n this.bolReference = _data[\"bolReference\"];\n this.bolNumber = _data[\"bolNumber\"];\n this.itemNumber = _data[\"itemNumber\"];\n this.consignee = _data[\"consignee\"];\n this.vessel = _data[\"vessel\"];\n this.voyageNumber = _data[\"voyageNumber\"];\n this.arrivalDate = _data[\"arrivalDate\"];\n this.lineName = _data[\"lineName\"];\n this.orderReference = _data[\"orderReference\"];\n this.equipment = _data[\"equipment\"];\n this.location = _data[\"location\"];\n this.description = _data[\"description\"];\n this.berth = _data[\"berth\"];\n this.storageDueDate = _data[\"storageDueDate\"];\n if (Array.isArray(_data[\"charges\"])) {\n this.charges = [] as any;\n for (let item of _data[\"charges\"])\n this.charges!.push(BolCharge.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): BolData {\n data = typeof data === 'object' ? data : {};\n let result = new BolData();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"handling\"] = this.handling;\n data[\"bolReference\"] = this.bolReference;\n data[\"bolNumber\"] = this.bolNumber;\n data[\"itemNumber\"] = this.itemNumber;\n data[\"consignee\"] = this.consignee;\n data[\"vessel\"] = this.vessel;\n data[\"voyageNumber\"] = this.voyageNumber;\n data[\"arrivalDate\"] = this.arrivalDate;\n data[\"lineName\"] = this.lineName;\n data[\"orderReference\"] = this.orderReference;\n data[\"equipment\"] = this.equipment;\n data[\"location\"] = this.location;\n data[\"description\"] = this.description;\n data[\"berth\"] = this.berth;\n data[\"storageDueDate\"] = this.storageDueDate;\n if (Array.isArray(this.charges)) {\n data[\"charges\"] = [];\n for (let item of this.charges)\n data[\"charges\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): BolData {\n const json = this.toJSON();\n let result = new BolData();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBolData {\n handling?: number;\n /** Gets or sets the BOL reference. */\n bolReference?: string | undefined;\n /** Gets or sets the BOL number. */\n bolNumber?: string | undefined;\n /** Gets or sets the item number. */\n itemNumber?: string | undefined;\n /** Gets or sets the consignee. */\n consignee?: string | undefined;\n /** Gets or sets the vessel. */\n vessel?: string | undefined;\n /** Gets or sets the voyage number. */\n voyageNumber?: string | undefined;\n /** Gets or sets the arrival date. */\n arrivalDate?: string | undefined;\n /** Gets or sets the name of the line. */\n lineName?: string | undefined;\n /** Gets or sets the order reference. */\n orderReference?: string | undefined;\n /** Gets or sets the equipment. */\n equipment?: string | undefined;\n /** Gets or sets the location. */\n location?: string | undefined;\n /** Gets or sets the description. */\n description?: string | undefined;\n /** Gets or sets the berth. */\n berth?: string | undefined;\n /** Gets or sets the storage due date. */\n storageDueDate?: string | undefined;\n /** Gets or sets the charges. */\n charges?: IBolCharge[] | undefined;\n}\n\nexport class BillingAddressDto implements IBillingAddressDto {\n /** Gets or sets the name of the country. */\n countryName?: string | undefined;\n addressLine1!: string | undefined;\n addressLine2?: string | undefined;\n city!: string | undefined;\n /** Gets or sets the 2-character state code. Required if country specified is USA or Canada. Must be null otherwise. */\n stateCode?: string | undefined;\n /** Gets or sets the province. Required for all countries except USA and Canada. Must be null otherwise */\n province?: string | undefined;\n /** Gets or sets the zip or postal code. Required for USA and Canada */\n zipOrPostalCode?: string | undefined;\n /** Gets or sets the 2-character country code. */\n countryCode!: string | undefined;\n telephone!: string | undefined;\n firstName!: string | undefined;\n middleName?: string | undefined;\n lastName!: string | undefined;\n readonly fullName?: string | undefined;\n\n constructor(data?: IBillingAddressDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.countryName = _data[\"countryName\"];\n this.addressLine1 = _data[\"addressLine1\"];\n this.addressLine2 = _data[\"addressLine2\"];\n this.city = _data[\"city\"];\n this.stateCode = _data[\"stateCode\"];\n this.province = _data[\"province\"];\n this.zipOrPostalCode = _data[\"zipOrPostalCode\"];\n this.countryCode = _data[\"countryCode\"];\n this.telephone = _data[\"telephone\"];\n this.firstName = _data[\"firstName\"];\n this.middleName = _data[\"middleName\"];\n this.lastName = _data[\"lastName\"];\n (this).fullName = _data[\"fullName\"];\n }\n }\n\n static fromJS(data: any): BillingAddressDto {\n data = typeof data === 'object' ? data : {};\n let result = new BillingAddressDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"countryName\"] = this.countryName;\n data[\"addressLine1\"] = this.addressLine1;\n data[\"addressLine2\"] = this.addressLine2;\n data[\"city\"] = this.city;\n data[\"stateCode\"] = this.stateCode;\n data[\"province\"] = this.province;\n data[\"zipOrPostalCode\"] = this.zipOrPostalCode;\n data[\"countryCode\"] = this.countryCode;\n data[\"telephone\"] = this.telephone;\n data[\"firstName\"] = this.firstName;\n data[\"middleName\"] = this.middleName;\n data[\"lastName\"] = this.lastName;\n data[\"fullName\"] = this.fullName;\n return data; \n }\n\n clone(): BillingAddressDto {\n const json = this.toJSON();\n let result = new BillingAddressDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBillingAddressDto {\n /** Gets or sets the name of the country. */\n countryName?: string | undefined;\n addressLine1: string | undefined;\n addressLine2?: string | undefined;\n city: string | undefined;\n /** Gets or sets the 2-character state code. Required if country specified is USA or Canada. Must be null otherwise. */\n stateCode?: string | undefined;\n /** Gets or sets the province. Required for all countries except USA and Canada. Must be null otherwise */\n province?: string | undefined;\n /** Gets or sets the zip or postal code. Required for USA and Canada */\n zipOrPostalCode?: string | undefined;\n /** Gets or sets the 2-character country code. */\n countryCode: string | undefined;\n telephone: string | undefined;\n firstName: string | undefined;\n middleName?: string | undefined;\n lastName: string | undefined;\n fullName?: string | undefined;\n}\n\nexport class BillOfLadingReceiptDto implements IBillOfLadingReceiptDto {\n /** Gets or sets the calling platform */\n cashierId?: string | undefined;\n /** Gets or sets the receipt number. */\n receiptNumber?: string | undefined;\n /** Gets or sets the total amount of the bill. */\n totalAmount?: number | undefined;\n /** Gets or sets the total amount paid. */\n totalAmountPaid?: number;\n /** Gets or sets the payment currency code. */\n paymentCurrency?: string | undefined;\n /** Gets or sets the receipt date. */\n receiptDate?: string | undefined;\n /** Gets or sets the list of errors. */\n errors?: string[] | undefined;\n /** Gets or sets the BOL data. */\n data?: BolData[] | undefined;\n /** Gets or sets the payment method i.e. 'Credit Card' or 'PayPal' */\n paymentMethod?: string | undefined;\n /** Gets or sets the currency of total amount. */\n totalAmountCurrency?: string | undefined;\n /** Gets or sets the type of the credit card. */\n creditCardType?: string | undefined;\n /** Gets or sets last digits of the credit card number. */\n creditCardNumberLastDigits?: string | undefined;\n billingAddress?: BillingAddressDto;\n /** Gets or sets the credit card payment authorization code. */\n authorizationCode?: string | undefined;\n /** Gets or sets the payment date. */\n paymentDate?: string;\n\n constructor(data?: IBillOfLadingReceiptDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.data) {\n this.data = [];\n for (let i = 0; i < data.data.length; i++) {\n let item = data.data[i];\n this.data[i] = item && !(item).toJSON ? new BolData(item) : item;\n }\n }\n this.billingAddress = data.billingAddress && !(data.billingAddress).toJSON ? new BillingAddressDto(data.billingAddress) : this.billingAddress; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.cashierId = _data[\"cashierId\"];\n this.receiptNumber = _data[\"receiptNumber\"];\n this.totalAmount = _data[\"totalAmount\"];\n this.totalAmountPaid = _data[\"totalAmountPaid\"];\n this.paymentCurrency = _data[\"paymentCurrency\"];\n this.receiptDate = _data[\"receiptDate\"];\n if (Array.isArray(_data[\"errors\"])) {\n this.errors = [] as any;\n for (let item of _data[\"errors\"])\n this.errors!.push(item);\n }\n if (Array.isArray(_data[\"data\"])) {\n this.data = [] as any;\n for (let item of _data[\"data\"])\n this.data!.push(BolData.fromJS(item));\n }\n this.paymentMethod = _data[\"paymentMethod\"];\n this.totalAmountCurrency = _data[\"totalAmountCurrency\"];\n this.creditCardType = _data[\"creditCardType\"];\n this.creditCardNumberLastDigits = _data[\"creditCardNumberLastDigits\"];\n this.billingAddress = _data[\"billingAddress\"] ? BillingAddressDto.fromJS(_data[\"billingAddress\"]) : undefined;\n this.authorizationCode = _data[\"authorizationCode\"];\n this.paymentDate = _data[\"paymentDate\"];\n }\n }\n\n static fromJS(data: any): BillOfLadingReceiptDto {\n data = typeof data === 'object' ? data : {};\n let result = new BillOfLadingReceiptDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"cashierId\"] = this.cashierId;\n data[\"receiptNumber\"] = this.receiptNumber;\n data[\"totalAmount\"] = this.totalAmount;\n data[\"totalAmountPaid\"] = this.totalAmountPaid;\n data[\"paymentCurrency\"] = this.paymentCurrency;\n data[\"receiptDate\"] = this.receiptDate;\n if (Array.isArray(this.errors)) {\n data[\"errors\"] = [];\n for (let item of this.errors)\n data[\"errors\"].push(item);\n }\n if (Array.isArray(this.data)) {\n data[\"data\"] = [];\n for (let item of this.data)\n data[\"data\"].push(item.toJSON());\n }\n data[\"paymentMethod\"] = this.paymentMethod;\n data[\"totalAmountCurrency\"] = this.totalAmountCurrency;\n data[\"creditCardType\"] = this.creditCardType;\n data[\"creditCardNumberLastDigits\"] = this.creditCardNumberLastDigits;\n data[\"billingAddress\"] = this.billingAddress ? this.billingAddress.toJSON() : undefined;\n data[\"authorizationCode\"] = this.authorizationCode;\n data[\"paymentDate\"] = this.paymentDate;\n return data; \n }\n\n clone(): BillOfLadingReceiptDto {\n const json = this.toJSON();\n let result = new BillOfLadingReceiptDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBillOfLadingReceiptDto {\n /** Gets or sets the calling platform */\n cashierId?: string | undefined;\n /** Gets or sets the receipt number. */\n receiptNumber?: string | undefined;\n /** Gets or sets the total amount of the bill. */\n totalAmount?: number | undefined;\n /** Gets or sets the total amount paid. */\n totalAmountPaid?: number;\n /** Gets or sets the payment currency code. */\n paymentCurrency?: string | undefined;\n /** Gets or sets the receipt date. */\n receiptDate?: string | undefined;\n /** Gets or sets the list of errors. */\n errors?: string[] | undefined;\n /** Gets or sets the BOL data. */\n data?: IBolData[] | undefined;\n /** Gets or sets the payment method i.e. 'Credit Card' or 'PayPal' */\n paymentMethod?: string | undefined;\n /** Gets or sets the currency of total amount. */\n totalAmountCurrency?: string | undefined;\n /** Gets or sets the type of the credit card. */\n creditCardType?: string | undefined;\n /** Gets or sets last digits of the credit card number. */\n creditCardNumberLastDigits?: string | undefined;\n billingAddress?: IBillingAddressDto;\n /** Gets or sets the credit card payment authorization code. */\n authorizationCode?: string | undefined;\n /** Gets or sets the payment date. */\n paymentDate?: string;\n}\n\n/** Represents the 3D Secure Form that allows the user to enter validate their 3D secure credentials */\nexport class ThreeDSecureAcsFormParams implements IThreeDSecureAcsFormParams {\n /** Gets or sets the ACS URL. */\n acsUrl?: string | undefined;\n /** Gets or sets the PAR payload. */\n parPayload?: string | undefined;\n /** Gets or sets the merchant reference number. */\n merchantReferenceNumber?: string | undefined;\n /** Gets or sets the term URL. */\n termUrl?: string | undefined;\n\n constructor(data?: IThreeDSecureAcsFormParams) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.acsUrl = _data[\"acsUrl\"];\n this.parPayload = _data[\"parPayload\"];\n this.merchantReferenceNumber = _data[\"merchantReferenceNumber\"];\n this.termUrl = _data[\"termUrl\"];\n }\n }\n\n static fromJS(data: any): ThreeDSecureAcsFormParams {\n data = typeof data === 'object' ? data : {};\n let result = new ThreeDSecureAcsFormParams();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"acsUrl\"] = this.acsUrl;\n data[\"parPayload\"] = this.parPayload;\n data[\"merchantReferenceNumber\"] = this.merchantReferenceNumber;\n data[\"termUrl\"] = this.termUrl;\n return data; \n }\n\n clone(): ThreeDSecureAcsFormParams {\n const json = this.toJSON();\n let result = new ThreeDSecureAcsFormParams();\n result.init(json);\n return result;\n }\n}\n\n/** Represents the 3D Secure Form that allows the user to enter validate their 3D secure credentials */\nexport interface IThreeDSecureAcsFormParams {\n /** Gets or sets the ACS URL. */\n acsUrl?: string | undefined;\n /** Gets or sets the PAR payload. */\n parPayload?: string | undefined;\n /** Gets or sets the merchant reference number. */\n merchantReferenceNumber?: string | undefined;\n /** Gets or sets the term URL. */\n termUrl?: string | undefined;\n}\n\n/** BillOfLadingPaymentResponse class */\nexport class BillOfLadingPaymentResponse implements IBillOfLadingPaymentResponse {\n receipt?: BillOfLadingReceiptDto;\n /** Gets or sets the payment refence number. */\n paymentRefenceNumber?: string | undefined;\n /** Gets or sets a value indicating whether the payment was successful. */\n isPaymentSuccessful?: boolean;\n threeDSecureAcsFormParams?: ThreeDSecureAcsFormParams;\n /** Gets or sets the payment error code if there was a payment error. */\n errorCode?: string | undefined;\n\n constructor(data?: IBillOfLadingPaymentResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.receipt = data.receipt && !(data.receipt).toJSON ? new BillOfLadingReceiptDto(data.receipt) : this.receipt; \n this.threeDSecureAcsFormParams = data.threeDSecureAcsFormParams && !(data.threeDSecureAcsFormParams).toJSON ? new ThreeDSecureAcsFormParams(data.threeDSecureAcsFormParams) : this.threeDSecureAcsFormParams; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.receipt = _data[\"receipt\"] ? BillOfLadingReceiptDto.fromJS(_data[\"receipt\"]) : undefined;\n this.paymentRefenceNumber = _data[\"paymentRefenceNumber\"];\n this.isPaymentSuccessful = _data[\"isPaymentSuccessful\"];\n this.threeDSecureAcsFormParams = _data[\"threeDSecureAcsFormParams\"] ? ThreeDSecureAcsFormParams.fromJS(_data[\"threeDSecureAcsFormParams\"]) : undefined;\n this.errorCode = _data[\"errorCode\"];\n }\n }\n\n static fromJS(data: any): BillOfLadingPaymentResponse {\n data = typeof data === 'object' ? data : {};\n let result = new BillOfLadingPaymentResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"receipt\"] = this.receipt ? this.receipt.toJSON() : undefined;\n data[\"paymentRefenceNumber\"] = this.paymentRefenceNumber;\n data[\"isPaymentSuccessful\"] = this.isPaymentSuccessful;\n data[\"threeDSecureAcsFormParams\"] = this.threeDSecureAcsFormParams ? this.threeDSecureAcsFormParams.toJSON() : undefined;\n data[\"errorCode\"] = this.errorCode;\n return data; \n }\n\n clone(): BillOfLadingPaymentResponse {\n const json = this.toJSON();\n let result = new BillOfLadingPaymentResponse();\n result.init(json);\n return result;\n }\n}\n\n/** BillOfLadingPaymentResponse class */\nexport interface IBillOfLadingPaymentResponse {\n receipt?: IBillOfLadingReceiptDto;\n /** Gets or sets the payment refence number. */\n paymentRefenceNumber?: string | undefined;\n /** Gets or sets a value indicating whether the payment was successful. */\n isPaymentSuccessful?: boolean;\n threeDSecureAcsFormParams?: IThreeDSecureAcsFormParams;\n /** Gets or sets the payment error code if there was a payment error. */\n errorCode?: string | undefined;\n}\n\nexport class PaymentSummaryDto implements IPaymentSummaryDto {\n /** Gets or sets the payment identifier. */\n paymentId?: number;\n /** Gets or sets the user identifier. */\n userId?: string | undefined;\n /** Gets or sets the payment reference number. */\n paymentReferenceNumber?: string | undefined;\n /** Gets or sets the payment method. Either \"CreditCard\" or \"PayPal\" */\n paymentMethod?: string | undefined;\n /** Gets or sets the payment date. */\n paymentDate?: string;\n isSucessful?: boolean;\n /** Gets or sets the error code. */\n errorCode?: string | undefined;\n /** Gets or sets the total payment amount. */\n total?: number;\n /** Gets or sets the currency code of payment. */\n currencyCode?: string | undefined;\n /** Gets or sets the payment total in Jamaican Dollars. */\n totalInJmd?: number;\n /** Gets or sets the Jamaican dollar exchange rate of the payment currency. */\n jmdExchangeRate?: number;\n /** Gets or sets the last four digits of the credit card number. */\n cardNumberLastFourDigits?: string | undefined;\n /** Gets or sets the type of the credit card: \"VISA\", \"MASTERCARD\" or \"KEYCARD\" */\n cardType?: string | undefined;\n /** Gets or sets the receipt number. */\n receiptNumber?: string | undefined;\n /** Gets or sets the type of the receipt, e.g. \"APM\" */\n receiptType?: string | undefined;\n /** Gets or sets a value indicating whether the receipt email was sent. */\n isReceiptEmailSent?: boolean;\n /** Gets or sets the receipt status code, i.e. \"GENERATION_ERROR\", \"SEND_ERROR\" or \"SENT\" */\n receiptStatusCode?: string | undefined;\n /** Gets or sets the receipt status detail. */\n receiptStatusDetail?: string | undefined;\n\n constructor(data?: IPaymentSummaryDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.paymentId = _data[\"paymentId\"];\n this.userId = _data[\"userId\"];\n this.paymentReferenceNumber = _data[\"paymentReferenceNumber\"];\n this.paymentMethod = _data[\"paymentMethod\"];\n this.paymentDate = _data[\"paymentDate\"];\n this.isSucessful = _data[\"isSucessful\"];\n this.errorCode = _data[\"errorCode\"];\n this.total = _data[\"total\"];\n this.currencyCode = _data[\"currencyCode\"];\n this.totalInJmd = _data[\"totalInJmd\"];\n this.jmdExchangeRate = _data[\"jmdExchangeRate\"];\n this.cardNumberLastFourDigits = _data[\"cardNumberLastFourDigits\"];\n this.cardType = _data[\"cardType\"];\n this.receiptNumber = _data[\"receiptNumber\"];\n this.receiptType = _data[\"receiptType\"];\n this.isReceiptEmailSent = _data[\"isReceiptEmailSent\"];\n this.receiptStatusCode = _data[\"receiptStatusCode\"];\n this.receiptStatusDetail = _data[\"receiptStatusDetail\"];\n }\n }\n\n static fromJS(data: any): PaymentSummaryDto {\n data = typeof data === 'object' ? data : {};\n let result = new PaymentSummaryDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"paymentId\"] = this.paymentId;\n data[\"userId\"] = this.userId;\n data[\"paymentReferenceNumber\"] = this.paymentReferenceNumber;\n data[\"paymentMethod\"] = this.paymentMethod;\n data[\"paymentDate\"] = this.paymentDate;\n data[\"isSucessful\"] = this.isSucessful;\n data[\"errorCode\"] = this.errorCode;\n data[\"total\"] = this.total;\n data[\"currencyCode\"] = this.currencyCode;\n data[\"totalInJmd\"] = this.totalInJmd;\n data[\"jmdExchangeRate\"] = this.jmdExchangeRate;\n data[\"cardNumberLastFourDigits\"] = this.cardNumberLastFourDigits;\n data[\"cardType\"] = this.cardType;\n data[\"receiptNumber\"] = this.receiptNumber;\n data[\"receiptType\"] = this.receiptType;\n data[\"isReceiptEmailSent\"] = this.isReceiptEmailSent;\n data[\"receiptStatusCode\"] = this.receiptStatusCode;\n data[\"receiptStatusDetail\"] = this.receiptStatusDetail;\n return data; \n }\n\n clone(): PaymentSummaryDto {\n const json = this.toJSON();\n let result = new PaymentSummaryDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IPaymentSummaryDto {\n /** Gets or sets the payment identifier. */\n paymentId?: number;\n /** Gets or sets the user identifier. */\n userId?: string | undefined;\n /** Gets or sets the payment reference number. */\n paymentReferenceNumber?: string | undefined;\n /** Gets or sets the payment method. Either \"CreditCard\" or \"PayPal\" */\n paymentMethod?: string | undefined;\n /** Gets or sets the payment date. */\n paymentDate?: string;\n isSucessful?: boolean;\n /** Gets or sets the error code. */\n errorCode?: string | undefined;\n /** Gets or sets the total payment amount. */\n total?: number;\n /** Gets or sets the currency code of payment. */\n currencyCode?: string | undefined;\n /** Gets or sets the payment total in Jamaican Dollars. */\n totalInJmd?: number;\n /** Gets or sets the Jamaican dollar exchange rate of the payment currency. */\n jmdExchangeRate?: number;\n /** Gets or sets the last four digits of the credit card number. */\n cardNumberLastFourDigits?: string | undefined;\n /** Gets or sets the type of the credit card: \"VISA\", \"MASTERCARD\" or \"KEYCARD\" */\n cardType?: string | undefined;\n /** Gets or sets the receipt number. */\n receiptNumber?: string | undefined;\n /** Gets or sets the type of the receipt, e.g. \"APM\" */\n receiptType?: string | undefined;\n /** Gets or sets a value indicating whether the receipt email was sent. */\n isReceiptEmailSent?: boolean;\n /** Gets or sets the receipt status code, i.e. \"GENERATION_ERROR\", \"SEND_ERROR\" or \"SENT\" */\n receiptStatusCode?: string | undefined;\n /** Gets or sets the receipt status detail. */\n receiptStatusDetail?: string | undefined;\n}\n\nexport class PaymentSummaryDtoPagedResult implements IPaymentSummaryDtoPagedResult {\n /** Gets the zero-based page index. */\n readonly pageIndex?: number;\n /** Gets the page size of the result. */\n readonly pageSize?: number;\n /** Gets the total number of pages. */\n readonly pageCount?: number;\n /** Gets the total number of items matched by the query. */\n readonly itemCount?: number;\n /** Gets the current page data. */\n readonly page?: PaymentSummaryDto[] | undefined;\n\n constructor(data?: IPaymentSummaryDtoPagedResult) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.page) {\n this.page = [];\n for (let i = 0; i < data.page.length; i++) {\n let item = data.page[i];\n this.page[i] = item && !(item).toJSON ? new PaymentSummaryDto(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n (this).pageIndex = _data[\"pageIndex\"];\n (this).pageSize = _data[\"pageSize\"];\n (this).pageCount = _data[\"pageCount\"];\n (this).itemCount = _data[\"itemCount\"];\n if (Array.isArray(_data[\"page\"])) {\n (this).page = [] as any;\n for (let item of _data[\"page\"])\n (this).page!.push(PaymentSummaryDto.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): PaymentSummaryDtoPagedResult {\n data = typeof data === 'object' ? data : {};\n let result = new PaymentSummaryDtoPagedResult();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"pageIndex\"] = this.pageIndex;\n data[\"pageSize\"] = this.pageSize;\n data[\"pageCount\"] = this.pageCount;\n data[\"itemCount\"] = this.itemCount;\n if (Array.isArray(this.page)) {\n data[\"page\"] = [];\n for (let item of this.page)\n data[\"page\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): PaymentSummaryDtoPagedResult {\n const json = this.toJSON();\n let result = new PaymentSummaryDtoPagedResult();\n result.init(json);\n return result;\n }\n}\n\nexport interface IPaymentSummaryDtoPagedResult {\n /** Gets the zero-based page index. */\n pageIndex?: number;\n /** Gets the page size of the result. */\n pageSize?: number;\n /** Gets the total number of pages. */\n pageCount?: number;\n /** Gets the total number of items matched by the query. */\n itemCount?: number;\n /** Gets the current page data. */\n page?: IPaymentSummaryDto[] | undefined;\n}\n\nexport class AddressDto implements IAddressDto {\n addressLine1!: string | undefined;\n addressLine2?: string | undefined;\n city!: string | undefined;\n /** Gets or sets the 2-character state code. Required if country specified is USA or Canada. Must be null otherwise. */\n stateCode?: string | undefined;\n /** Gets or sets the province. Required for all countries except USA and Canada. Must be null otherwise */\n province?: string | undefined;\n /** Gets or sets the zip or postal code. Required for USA and Canada */\n zipOrPostalCode?: string | undefined;\n /** Gets or sets the 2-character country code. */\n countryCode!: string | undefined;\n telephone!: string | undefined;\n firstName!: string | undefined;\n middleName?: string | undefined;\n lastName!: string | undefined;\n readonly fullName?: string | undefined;\n\n constructor(data?: IAddressDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.addressLine1 = _data[\"addressLine1\"];\n this.addressLine2 = _data[\"addressLine2\"];\n this.city = _data[\"city\"];\n this.stateCode = _data[\"stateCode\"];\n this.province = _data[\"province\"];\n this.zipOrPostalCode = _data[\"zipOrPostalCode\"];\n this.countryCode = _data[\"countryCode\"];\n this.telephone = _data[\"telephone\"];\n this.firstName = _data[\"firstName\"];\n this.middleName = _data[\"middleName\"];\n this.lastName = _data[\"lastName\"];\n (this).fullName = _data[\"fullName\"];\n }\n }\n\n static fromJS(data: any): AddressDto {\n data = typeof data === 'object' ? data : {};\n let result = new AddressDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"addressLine1\"] = this.addressLine1;\n data[\"addressLine2\"] = this.addressLine2;\n data[\"city\"] = this.city;\n data[\"stateCode\"] = this.stateCode;\n data[\"province\"] = this.province;\n data[\"zipOrPostalCode\"] = this.zipOrPostalCode;\n data[\"countryCode\"] = this.countryCode;\n data[\"telephone\"] = this.telephone;\n data[\"firstName\"] = this.firstName;\n data[\"middleName\"] = this.middleName;\n data[\"lastName\"] = this.lastName;\n data[\"fullName\"] = this.fullName;\n return data; \n }\n\n clone(): AddressDto {\n const json = this.toJSON();\n let result = new AddressDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IAddressDto {\n addressLine1: string | undefined;\n addressLine2?: string | undefined;\n city: string | undefined;\n /** Gets or sets the 2-character state code. Required if country specified is USA or Canada. Must be null otherwise. */\n stateCode?: string | undefined;\n /** Gets or sets the province. Required for all countries except USA and Canada. Must be null otherwise */\n province?: string | undefined;\n /** Gets or sets the zip or postal code. Required for USA and Canada */\n zipOrPostalCode?: string | undefined;\n /** Gets or sets the 2-character country code. */\n countryCode: string | undefined;\n telephone: string | undefined;\n firstName: string | undefined;\n middleName?: string | undefined;\n lastName: string | undefined;\n fullName?: string | undefined;\n}\n\nexport class CreditCardDetailsDto implements ICreditCardDetailsDto {\n /** Gets or sets the card type ID. Valid values are: \"VISA\", \"MASTERCARD\" and \"KEYCARD\" */\n cardTypeId!: string | undefined;\n /** Gets or sets the card 3-character currency code. */\n cardCurrencyCode!: string | undefined;\n /** Gets or sets the name on the credit card. */\n cardName?: string | undefined;\n cardNumber!: string | undefined;\n readonly cardNumberFirstFourDigits?: string | undefined;\n readonly cardNumberLastFourDigits?: string | undefined;\n cvv!: string | undefined;\n /** Gets or sets the 2-digit expiry month, e.g. 04 for April. */\n expiryMonth!: string | undefined;\n /** Gets or sets the 4-digit expiry year, e.g. 2020. */\n expiryYear!: string | undefined;\n readonly expiry?: string | undefined;\n readonly expiryYear2Digits?: string | undefined;\n billingAddress!: AddressDto;\n\n constructor(data?: ICreditCardDetailsDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.billingAddress = data.billingAddress && !(data.billingAddress).toJSON ? new AddressDto(data.billingAddress) : this.billingAddress; \n }\n if (!data) {\n this.billingAddress = new AddressDto();\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.cardTypeId = _data[\"cardTypeId\"];\n this.cardCurrencyCode = _data[\"cardCurrencyCode\"];\n this.cardName = _data[\"cardName\"];\n this.cardNumber = _data[\"cardNumber\"];\n (this).cardNumberFirstFourDigits = _data[\"cardNumberFirstFourDigits\"];\n (this).cardNumberLastFourDigits = _data[\"cardNumberLastFourDigits\"];\n this.cvv = _data[\"cvv\"];\n this.expiryMonth = _data[\"expiryMonth\"];\n this.expiryYear = _data[\"expiryYear\"];\n (this).expiry = _data[\"expiry\"];\n (this).expiryYear2Digits = _data[\"expiryYear2Digits\"];\n this.billingAddress = _data[\"billingAddress\"] ? AddressDto.fromJS(_data[\"billingAddress\"]) : new AddressDto();\n }\n }\n\n static fromJS(data: any): CreditCardDetailsDto {\n data = typeof data === 'object' ? data : {};\n let result = new CreditCardDetailsDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"cardTypeId\"] = this.cardTypeId;\n data[\"cardCurrencyCode\"] = this.cardCurrencyCode;\n data[\"cardName\"] = this.cardName;\n data[\"cardNumber\"] = this.cardNumber;\n data[\"cardNumberFirstFourDigits\"] = this.cardNumberFirstFourDigits;\n data[\"cardNumberLastFourDigits\"] = this.cardNumberLastFourDigits;\n data[\"cvv\"] = this.cvv;\n data[\"expiryMonth\"] = this.expiryMonth;\n data[\"expiryYear\"] = this.expiryYear;\n data[\"expiry\"] = this.expiry;\n data[\"expiryYear2Digits\"] = this.expiryYear2Digits;\n data[\"billingAddress\"] = this.billingAddress ? this.billingAddress.toJSON() : undefined;\n return data; \n }\n\n clone(): CreditCardDetailsDto {\n const json = this.toJSON();\n let result = new CreditCardDetailsDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface ICreditCardDetailsDto {\n /** Gets or sets the card type ID. Valid values are: \"VISA\", \"MASTERCARD\" and \"KEYCARD\" */\n cardTypeId: string | undefined;\n /** Gets or sets the card 3-character currency code. */\n cardCurrencyCode: string | undefined;\n /** Gets or sets the name on the credit card. */\n cardName?: string | undefined;\n cardNumber: string | undefined;\n cardNumberFirstFourDigits?: string | undefined;\n cardNumberLastFourDigits?: string | undefined;\n cvv: string | undefined;\n /** Gets or sets the 2-digit expiry month, e.g. 04 for April. */\n expiryMonth: string | undefined;\n /** Gets or sets the 4-digit expiry year, e.g. 2020. */\n expiryYear: string | undefined;\n expiry?: string | undefined;\n expiryYear2Digits?: string | undefined;\n billingAddress: IAddressDto;\n}\n\nexport class CompleteThreeDSecureBolPaymentRequest implements ICompleteThreeDSecureBolPaymentRequest {\n paymentReferenceNumber!: string | undefined;\n userEmailAddress!: string | undefined;\n creditCardDetails!: CreditCardDetailsDto;\n userId!: string | undefined;\n\n constructor(data?: ICompleteThreeDSecureBolPaymentRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.creditCardDetails = data.creditCardDetails && !(data.creditCardDetails).toJSON ? new CreditCardDetailsDto(data.creditCardDetails) : this.creditCardDetails; \n }\n if (!data) {\n this.creditCardDetails = new CreditCardDetailsDto();\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.paymentReferenceNumber = _data[\"paymentReferenceNumber\"];\n this.userEmailAddress = _data[\"userEmailAddress\"];\n this.creditCardDetails = _data[\"creditCardDetails\"] ? CreditCardDetailsDto.fromJS(_data[\"creditCardDetails\"]) : new CreditCardDetailsDto();\n this.userId = _data[\"userId\"];\n }\n }\n\n static fromJS(data: any): CompleteThreeDSecureBolPaymentRequest {\n data = typeof data === 'object' ? data : {};\n let result = new CompleteThreeDSecureBolPaymentRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"paymentReferenceNumber\"] = this.paymentReferenceNumber;\n data[\"userEmailAddress\"] = this.userEmailAddress;\n data[\"creditCardDetails\"] = this.creditCardDetails ? this.creditCardDetails.toJSON() : undefined;\n data[\"userId\"] = this.userId;\n return data; \n }\n\n clone(): CompleteThreeDSecureBolPaymentRequest {\n const json = this.toJSON();\n let result = new CompleteThreeDSecureBolPaymentRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface ICompleteThreeDSecureBolPaymentRequest {\n paymentReferenceNumber: string | undefined;\n userEmailAddress: string | undefined;\n creditCardDetails: ICreditCardDetailsDto;\n userId: string | undefined;\n}\n\nexport class GetBillOfLadingPaymentResponse implements IGetBillOfLadingPaymentResponse {\n paymentDetails?: PaymentSummaryDto;\n billOfLadings?: BillOfLadingDto[] | undefined;\n\n constructor(data?: IGetBillOfLadingPaymentResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.paymentDetails = data.paymentDetails && !(data.paymentDetails).toJSON ? new PaymentSummaryDto(data.paymentDetails) : this.paymentDetails; \n if (data.billOfLadings) {\n this.billOfLadings = [];\n for (let i = 0; i < data.billOfLadings.length; i++) {\n let item = data.billOfLadings[i];\n this.billOfLadings[i] = item && !(item).toJSON ? new BillOfLadingDto(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.paymentDetails = _data[\"paymentDetails\"] ? PaymentSummaryDto.fromJS(_data[\"paymentDetails\"]) : undefined;\n if (Array.isArray(_data[\"billOfLadings\"])) {\n this.billOfLadings = [] as any;\n for (let item of _data[\"billOfLadings\"])\n this.billOfLadings!.push(BillOfLadingDto.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): GetBillOfLadingPaymentResponse {\n data = typeof data === 'object' ? data : {};\n let result = new GetBillOfLadingPaymentResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"paymentDetails\"] = this.paymentDetails ? this.paymentDetails.toJSON() : undefined;\n if (Array.isArray(this.billOfLadings)) {\n data[\"billOfLadings\"] = [];\n for (let item of this.billOfLadings)\n data[\"billOfLadings\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): GetBillOfLadingPaymentResponse {\n const json = this.toJSON();\n let result = new GetBillOfLadingPaymentResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetBillOfLadingPaymentResponse {\n paymentDetails?: IPaymentSummaryDto;\n billOfLadings?: IBillOfLadingDto[] | undefined;\n}\n\nexport class CompleteThreeDSecurePaymentRequest implements ICompleteThreeDSecurePaymentRequest {\n paymentReferenceNumber!: string | undefined;\n userEmailAddress!: string | undefined;\n creditCardDetails!: CreditCardDetailsDto;\n userId!: string | undefined;\n\n constructor(data?: ICompleteThreeDSecurePaymentRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.creditCardDetails = data.creditCardDetails && !(data.creditCardDetails).toJSON ? new CreditCardDetailsDto(data.creditCardDetails) : this.creditCardDetails; \n }\n if (!data) {\n this.creditCardDetails = new CreditCardDetailsDto();\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.paymentReferenceNumber = _data[\"paymentReferenceNumber\"];\n this.userEmailAddress = _data[\"userEmailAddress\"];\n this.creditCardDetails = _data[\"creditCardDetails\"] ? CreditCardDetailsDto.fromJS(_data[\"creditCardDetails\"]) : new CreditCardDetailsDto();\n this.userId = _data[\"userId\"];\n }\n }\n\n static fromJS(data: any): CompleteThreeDSecurePaymentRequest {\n data = typeof data === 'object' ? data : {};\n let result = new CompleteThreeDSecurePaymentRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"paymentReferenceNumber\"] = this.paymentReferenceNumber;\n data[\"userEmailAddress\"] = this.userEmailAddress;\n data[\"creditCardDetails\"] = this.creditCardDetails ? this.creditCardDetails.toJSON() : undefined;\n data[\"userId\"] = this.userId;\n return data; \n }\n\n clone(): CompleteThreeDSecurePaymentRequest {\n const json = this.toJSON();\n let result = new CompleteThreeDSecurePaymentRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface ICompleteThreeDSecurePaymentRequest {\n paymentReferenceNumber: string | undefined;\n userEmailAddress: string | undefined;\n creditCardDetails: ICreditCardDetailsDto;\n userId: string | undefined;\n}\n\nexport class BillPaymentResponse implements IBillPaymentResponse {\n /** Gets or sets the payment refence number. */\n paymentRefenceNumber?: string | undefined;\n /** Gets or sets a value indicating whether the payment was successful. */\n isPaymentSuccessful?: boolean;\n threeDSecureAcsFormParams?: ThreeDSecureAcsFormParams;\n /** Gets or sets the payment error code if there was a payment error. */\n errorCode?: string | undefined;\n\n constructor(data?: IBillPaymentResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.threeDSecureAcsFormParams = data.threeDSecureAcsFormParams && !(data.threeDSecureAcsFormParams).toJSON ? new ThreeDSecureAcsFormParams(data.threeDSecureAcsFormParams) : this.threeDSecureAcsFormParams; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.paymentRefenceNumber = _data[\"paymentRefenceNumber\"];\n this.isPaymentSuccessful = _data[\"isPaymentSuccessful\"];\n this.threeDSecureAcsFormParams = _data[\"threeDSecureAcsFormParams\"] ? ThreeDSecureAcsFormParams.fromJS(_data[\"threeDSecureAcsFormParams\"]) : undefined;\n this.errorCode = _data[\"errorCode\"];\n }\n }\n\n static fromJS(data: any): BillPaymentResponse {\n data = typeof data === 'object' ? data : {};\n let result = new BillPaymentResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"paymentRefenceNumber\"] = this.paymentRefenceNumber;\n data[\"isPaymentSuccessful\"] = this.isPaymentSuccessful;\n data[\"threeDSecureAcsFormParams\"] = this.threeDSecureAcsFormParams ? this.threeDSecureAcsFormParams.toJSON() : undefined;\n data[\"errorCode\"] = this.errorCode;\n return data; \n }\n\n clone(): BillPaymentResponse {\n const json = this.toJSON();\n let result = new BillPaymentResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBillPaymentResponse {\n /** Gets or sets the payment refence number. */\n paymentRefenceNumber?: string | undefined;\n /** Gets or sets a value indicating whether the payment was successful. */\n isPaymentSuccessful?: boolean;\n threeDSecureAcsFormParams?: IThreeDSecureAcsFormParams;\n /** Gets or sets the payment error code if there was a payment error. */\n errorCode?: string | undefined;\n}\n\nexport class CreditCardPaymentMethodDto extends PaymentMethodDto implements ICreditCardPaymentMethodDto {\n cardDetails?: CreditCardDetailsDto;\n paymentCardId?: number | undefined;\n\n constructor(data?: ICreditCardPaymentMethodDto) {\n super(data);\n if (data) {\n this.cardDetails = data.cardDetails && !(data.cardDetails).toJSON ? new CreditCardDetailsDto(data.cardDetails) : this.cardDetails; \n }\n this._discriminator = \"CreditCardPaymentMethodDto\";\n }\n\n init(_data?: any) {\n super.init(_data);\n if (_data) {\n this.cardDetails = _data[\"cardDetails\"] ? CreditCardDetailsDto.fromJS(_data[\"cardDetails\"]) : undefined;\n this.paymentCardId = _data[\"paymentCardId\"];\n }\n }\n\n static fromJS(data: any): CreditCardPaymentMethodDto {\n data = typeof data === 'object' ? data : {};\n let result = new CreditCardPaymentMethodDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"cardDetails\"] = this.cardDetails ? this.cardDetails.toJSON() : undefined;\n data[\"paymentCardId\"] = this.paymentCardId;\n super.toJSON(data);\n return data; \n }\n\n clone(): CreditCardPaymentMethodDto {\n const json = this.toJSON();\n let result = new CreditCardPaymentMethodDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface ICreditCardPaymentMethodDto extends IPaymentMethodDto {\n cardDetails?: ICreditCardDetailsDto;\n paymentCardId?: number | undefined;\n}\n\nexport class BeginBillPaymentRequest implements IBeginBillPaymentRequest {\n cashierId!: string | undefined;\n billOfLadings?: BillOfLadingDto[] | undefined;\n shippingAddress?: AddressDto;\n /** Gets or sets the payment total. */\n total?: number;\n shouldTokenize?: boolean;\n /** Gets or sets the payment total in Jamaican dollars. */\n totalInJmd?: number | undefined;\n paymentMethod!: CreditCardPaymentMethodDto;\n /** Gets or sets the payment currency code. */\n currencyCode?: string | undefined;\n /** Gets or sets the JMD exchange rate for the payment currency. */\n jmdExchangeRate?: number;\n /** Gets or sets the user identifier. */\n userId!: string | undefined;\n /** Gets or sets the user's email address. */\n userEmailAddress!: string | undefined;\n /** Gets or sets the user's mobile phone. */\n userMobilePhone!: string | undefined;\n /** Gets or sets the browser user agent. */\n browserUserAgent?: string | undefined;\n\n constructor(data?: IBeginBillPaymentRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.billOfLadings) {\n this.billOfLadings = [];\n for (let i = 0; i < data.billOfLadings.length; i++) {\n let item = data.billOfLadings[i];\n this.billOfLadings[i] = item && !(item).toJSON ? new BillOfLadingDto(item) : item;\n }\n }\n this.shippingAddress = data.shippingAddress && !(data.shippingAddress).toJSON ? new AddressDto(data.shippingAddress) : this.shippingAddress; \n }\n if (!data) {\n this.paymentMethod = new CreditCardPaymentMethodDto();\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.cashierId = _data[\"cashierId\"];\n if (Array.isArray(_data[\"billOfLadings\"])) {\n this.billOfLadings = [] as any;\n for (let item of _data[\"billOfLadings\"])\n this.billOfLadings!.push(BillOfLadingDto.fromJS(item));\n }\n this.shippingAddress = _data[\"shippingAddress\"] ? AddressDto.fromJS(_data[\"shippingAddress\"]) : undefined;\n this.total = _data[\"total\"];\n this.shouldTokenize = _data[\"shouldTokenize\"];\n this.totalInJmd = _data[\"totalInJmd\"];\n this.paymentMethod = _data[\"paymentMethod\"] ? CreditCardPaymentMethodDto.fromJS(_data[\"paymentMethod\"]) : new CreditCardPaymentMethodDto();\n this.currencyCode = _data[\"currencyCode\"];\n this.jmdExchangeRate = _data[\"jmdExchangeRate\"];\n this.userId = _data[\"userId\"];\n this.userEmailAddress = _data[\"userEmailAddress\"];\n this.userMobilePhone = _data[\"userMobilePhone\"];\n this.browserUserAgent = _data[\"browserUserAgent\"];\n }\n }\n\n static fromJS(data: any): BeginBillPaymentRequest {\n data = typeof data === 'object' ? data : {};\n let result = new BeginBillPaymentRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"cashierId\"] = this.cashierId;\n if (Array.isArray(this.billOfLadings)) {\n data[\"billOfLadings\"] = [];\n for (let item of this.billOfLadings)\n data[\"billOfLadings\"].push(item.toJSON());\n }\n data[\"shippingAddress\"] = this.shippingAddress ? this.shippingAddress.toJSON() : undefined;\n data[\"total\"] = this.total;\n data[\"shouldTokenize\"] = this.shouldTokenize;\n data[\"totalInJmd\"] = this.totalInJmd;\n data[\"paymentMethod\"] = this.paymentMethod ? this.paymentMethod.toJSON() : undefined;\n data[\"currencyCode\"] = this.currencyCode;\n data[\"jmdExchangeRate\"] = this.jmdExchangeRate;\n data[\"userId\"] = this.userId;\n data[\"userEmailAddress\"] = this.userEmailAddress;\n data[\"userMobilePhone\"] = this.userMobilePhone;\n data[\"browserUserAgent\"] = this.browserUserAgent;\n return data; \n }\n\n clone(): BeginBillPaymentRequest {\n const json = this.toJSON();\n let result = new BeginBillPaymentRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBeginBillPaymentRequest {\n cashierId: string | undefined;\n billOfLadings?: IBillOfLadingDto[] | undefined;\n shippingAddress?: IAddressDto;\n /** Gets or sets the payment total. */\n total?: number;\n shouldTokenize?: boolean;\n /** Gets or sets the payment total in Jamaican dollars. */\n totalInJmd?: number | undefined;\n paymentMethod: CreditCardPaymentMethodDto;\n /** Gets or sets the payment currency code. */\n currencyCode?: string | undefined;\n /** Gets or sets the JMD exchange rate for the payment currency. */\n jmdExchangeRate?: number;\n /** Gets or sets the user identifier. */\n userId: string | undefined;\n /** Gets or sets the user's email address. */\n userEmailAddress: string | undefined;\n /** Gets or sets the user's mobile phone. */\n userMobilePhone: string | undefined;\n /** Gets or sets the browser user agent. */\n browserUserAgent?: string | undefined;\n}\n\nexport class BeginBillPaymentResponse implements IBeginBillPaymentResponse {\n errorCode?: string | undefined;\n htmlCode?: string | undefined;\n success?: boolean;\n paymentRefenceNumber?: string | undefined;\n message?: string | undefined;\n receipt?: BillOfLadingReceiptDto;\n\n constructor(data?: IBeginBillPaymentResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.receipt = data.receipt && !(data.receipt).toJSON ? new BillOfLadingReceiptDto(data.receipt) : this.receipt; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.errorCode = _data[\"errorCode\"];\n this.htmlCode = _data[\"htmlCode\"];\n this.success = _data[\"success\"];\n this.paymentRefenceNumber = _data[\"paymentRefenceNumber\"];\n this.message = _data[\"message\"];\n this.receipt = _data[\"receipt\"] ? BillOfLadingReceiptDto.fromJS(_data[\"receipt\"]) : undefined;\n }\n }\n\n static fromJS(data: any): BeginBillPaymentResponse {\n data = typeof data === 'object' ? data : {};\n let result = new BeginBillPaymentResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"errorCode\"] = this.errorCode;\n data[\"htmlCode\"] = this.htmlCode;\n data[\"success\"] = this.success;\n data[\"paymentRefenceNumber\"] = this.paymentRefenceNumber;\n data[\"message\"] = this.message;\n data[\"receipt\"] = this.receipt ? this.receipt.toJSON() : undefined;\n return data; \n }\n\n clone(): BeginBillPaymentResponse {\n const json = this.toJSON();\n let result = new BeginBillPaymentResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBeginBillPaymentResponse {\n errorCode?: string | undefined;\n htmlCode?: string | undefined;\n success?: boolean;\n paymentRefenceNumber?: string | undefined;\n message?: string | undefined;\n receipt?: IBillOfLadingReceiptDto;\n}\n\nexport class BeginRegisterCreditCardRequest implements IBeginRegisterCreditCardRequest {\n userId!: string | undefined;\n userEmailAddress!: string | undefined;\n cardDetails!: CreditCardDetailsDto;\n saveTokenizeCard?: boolean | undefined;\n\n constructor(data?: IBeginRegisterCreditCardRequest) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.cardDetails = data.cardDetails && !(data.cardDetails).toJSON ? new CreditCardDetailsDto(data.cardDetails) : this.cardDetails; \n }\n if (!data) {\n this.cardDetails = new CreditCardDetailsDto();\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.userId = _data[\"userId\"];\n this.userEmailAddress = _data[\"userEmailAddress\"];\n this.cardDetails = _data[\"cardDetails\"] ? CreditCardDetailsDto.fromJS(_data[\"cardDetails\"]) : new CreditCardDetailsDto();\n this.saveTokenizeCard = _data[\"saveTokenizeCard\"];\n }\n }\n\n static fromJS(data: any): BeginRegisterCreditCardRequest {\n data = typeof data === 'object' ? data : {};\n let result = new BeginRegisterCreditCardRequest();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"userId\"] = this.userId;\n data[\"userEmailAddress\"] = this.userEmailAddress;\n data[\"cardDetails\"] = this.cardDetails ? this.cardDetails.toJSON() : undefined;\n data[\"saveTokenizeCard\"] = this.saveTokenizeCard;\n return data; \n }\n\n clone(): BeginRegisterCreditCardRequest {\n const json = this.toJSON();\n let result = new BeginRegisterCreditCardRequest();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBeginRegisterCreditCardRequest {\n userId: string | undefined;\n userEmailAddress: string | undefined;\n cardDetails: ICreditCardDetailsDto;\n saveTokenizeCard?: boolean | undefined;\n}\n\nexport class BeginRegisterCreditCardResponse implements IBeginRegisterCreditCardResponse {\n errorCode?: string | undefined;\n htmlCode?: string | undefined;\n success?: boolean;\n paymentRefenceNumber?: string | undefined;\n message?: string | undefined;\n\n constructor(data?: IBeginRegisterCreditCardResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.errorCode = _data[\"errorCode\"];\n this.htmlCode = _data[\"htmlCode\"];\n this.success = _data[\"success\"];\n this.paymentRefenceNumber = _data[\"paymentRefenceNumber\"];\n this.message = _data[\"message\"];\n }\n }\n\n static fromJS(data: any): BeginRegisterCreditCardResponse {\n data = typeof data === 'object' ? data : {};\n let result = new BeginRegisterCreditCardResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"errorCode\"] = this.errorCode;\n data[\"htmlCode\"] = this.htmlCode;\n data[\"success\"] = this.success;\n data[\"paymentRefenceNumber\"] = this.paymentRefenceNumber;\n data[\"message\"] = this.message;\n return data; \n }\n\n clone(): BeginRegisterCreditCardResponse {\n const json = this.toJSON();\n let result = new BeginRegisterCreditCardResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBeginRegisterCreditCardResponse {\n errorCode?: string | undefined;\n htmlCode?: string | undefined;\n success?: boolean;\n paymentRefenceNumber?: string | undefined;\n message?: string | undefined;\n}\n\nexport class CreditCardRegistrationDto implements ICreditCardRegistrationDto {\n id?: number;\n userId?: string | undefined;\n cardNumberFirstFourDigits?: string | undefined;\n cardNumberLastFourDigits?: string | undefined;\n cardName?: string | undefined;\n cardTypeId?: string | undefined;\n cardCurrencyCode?: string | undefined;\n isConfirmationAttemptsExceeded?: boolean;\n isConfirmed?: boolean;\n wasSaved?: boolean;\n billingAddress?: AddressDto;\n\n constructor(data?: ICreditCardRegistrationDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.billingAddress = data.billingAddress && !(data.billingAddress).toJSON ? new AddressDto(data.billingAddress) : this.billingAddress; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.userId = _data[\"userId\"];\n this.cardNumberFirstFourDigits = _data[\"cardNumberFirstFourDigits\"];\n this.cardNumberLastFourDigits = _data[\"cardNumberLastFourDigits\"];\n this.cardName = _data[\"cardName\"];\n this.cardTypeId = _data[\"cardTypeId\"];\n this.cardCurrencyCode = _data[\"cardCurrencyCode\"];\n this.isConfirmationAttemptsExceeded = _data[\"isConfirmationAttemptsExceeded\"];\n this.isConfirmed = _data[\"isConfirmed\"];\n this.wasSaved = _data[\"wasSaved\"];\n this.billingAddress = _data[\"billingAddress\"] ? AddressDto.fromJS(_data[\"billingAddress\"]) : undefined;\n }\n }\n\n static fromJS(data: any): CreditCardRegistrationDto {\n data = typeof data === 'object' ? data : {};\n let result = new CreditCardRegistrationDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"userId\"] = this.userId;\n data[\"cardNumberFirstFourDigits\"] = this.cardNumberFirstFourDigits;\n data[\"cardNumberLastFourDigits\"] = this.cardNumberLastFourDigits;\n data[\"cardName\"] = this.cardName;\n data[\"cardTypeId\"] = this.cardTypeId;\n data[\"cardCurrencyCode\"] = this.cardCurrencyCode;\n data[\"isConfirmationAttemptsExceeded\"] = this.isConfirmationAttemptsExceeded;\n data[\"isConfirmed\"] = this.isConfirmed;\n data[\"wasSaved\"] = this.wasSaved;\n data[\"billingAddress\"] = this.billingAddress ? this.billingAddress.toJSON() : undefined;\n return data; \n }\n\n clone(): CreditCardRegistrationDto {\n const json = this.toJSON();\n let result = new CreditCardRegistrationDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface ICreditCardRegistrationDto {\n id?: number;\n userId?: string | undefined;\n cardNumberFirstFourDigits?: string | undefined;\n cardNumberLastFourDigits?: string | undefined;\n cardName?: string | undefined;\n cardTypeId?: string | undefined;\n cardCurrencyCode?: string | undefined;\n isConfirmationAttemptsExceeded?: boolean;\n isConfirmed?: boolean;\n wasSaved?: boolean;\n billingAddress?: IAddressDto;\n}\n\nexport class ConfirmCreditCardRegistrationRequestBody implements IConfirmCreditCardRegistrationRequestBody {\n amountCharged!: number;\n\n constructor(data?: IConfirmCreditCardRegistrationRequestBody) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.amountCharged = _data[\"amountCharged\"];\n }\n }\n\n static fromJS(data: any): ConfirmCreditCardRegistrationRequestBody {\n data = typeof data === 'object' ? data : {};\n let result = new ConfirmCreditCardRegistrationRequestBody();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"amountCharged\"] = this.amountCharged;\n return data; \n }\n\n clone(): ConfirmCreditCardRegistrationRequestBody {\n const json = this.toJSON();\n let result = new ConfirmCreditCardRegistrationRequestBody();\n result.init(json);\n return result;\n }\n}\n\nexport interface IConfirmCreditCardRegistrationRequestBody {\n amountCharged: number;\n}\n\nexport class ReferenceValueDto implements IReferenceValueDto {\n id?: string | undefined;\n description?: string | undefined;\n\n constructor(data?: IReferenceValueDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.id = _data[\"id\"];\n this.description = _data[\"description\"];\n }\n }\n\n static fromJS(data: any): ReferenceValueDto {\n data = typeof data === 'object' ? data : {};\n let result = new ReferenceValueDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"id\"] = this.id;\n data[\"description\"] = this.description;\n return data; \n }\n\n clone(): ReferenceValueDto {\n const json = this.toJSON();\n let result = new ReferenceValueDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IReferenceValueDto {\n id?: string | undefined;\n description?: string | undefined;\n}\n\nexport class VerifyFirstAtlanticPaymentResponse implements IVerifyFirstAtlanticPaymentResponse {\n errorCode?: string | undefined;\n paymentRefenceNumber?: string | undefined;\n success?: boolean;\n message?: string | undefined;\n receipt?: BillOfLadingReceiptDto;\n requestHost?: string | undefined;\n\n constructor(data?: IVerifyFirstAtlanticPaymentResponse) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n this.receipt = data.receipt && !(data.receipt).toJSON ? new BillOfLadingReceiptDto(data.receipt) : this.receipt; \n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.errorCode = _data[\"errorCode\"];\n this.paymentRefenceNumber = _data[\"paymentRefenceNumber\"];\n this.success = _data[\"success\"];\n this.message = _data[\"message\"];\n this.receipt = _data[\"receipt\"] ? BillOfLadingReceiptDto.fromJS(_data[\"receipt\"]) : undefined;\n this.requestHost = _data[\"requestHost\"];\n }\n }\n\n static fromJS(data: any): VerifyFirstAtlanticPaymentResponse {\n data = typeof data === 'object' ? data : {};\n let result = new VerifyFirstAtlanticPaymentResponse();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"errorCode\"] = this.errorCode;\n data[\"paymentRefenceNumber\"] = this.paymentRefenceNumber;\n data[\"success\"] = this.success;\n data[\"message\"] = this.message;\n data[\"receipt\"] = this.receipt ? this.receipt.toJSON() : undefined;\n data[\"requestHost\"] = this.requestHost;\n return data; \n }\n\n clone(): VerifyFirstAtlanticPaymentResponse {\n const json = this.toJSON();\n let result = new VerifyFirstAtlanticPaymentResponse();\n result.init(json);\n return result;\n }\n}\n\nexport interface IVerifyFirstAtlanticPaymentResponse {\n errorCode?: string | undefined;\n paymentRefenceNumber?: string | undefined;\n success?: boolean;\n message?: string | undefined;\n receipt?: IBillOfLadingReceiptDto;\n requestHost?: string | undefined;\n}\n\nexport class PayPalPaymentMethodDto extends PaymentMethodDto implements IPayPalPaymentMethodDto {\n referenceNumber?: string | undefined;\n\n constructor(data?: IPayPalPaymentMethodDto) {\n super(data);\n this._discriminator = \"PayPalPaymentMethodDto\";\n }\n\n init(_data?: any) {\n super.init(_data);\n if (_data) {\n this.referenceNumber = _data[\"referenceNumber\"];\n }\n }\n\n static fromJS(data: any): PayPalPaymentMethodDto {\n data = typeof data === 'object' ? data : {};\n let result = new PayPalPaymentMethodDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"referenceNumber\"] = this.referenceNumber;\n super.toJSON(data);\n return data; \n }\n\n clone(): PayPalPaymentMethodDto {\n const json = this.toJSON();\n let result = new PayPalPaymentMethodDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IPayPalPaymentMethodDto extends IPaymentMethodDto {\n referenceNumber?: string | undefined;\n}\n\nexport class SwaggerException extends Error {\n message: string;\n status: number;\n response: string;\n headers: { [key: string]: any; };\n result: any;\n\n constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any) {\n super();\n\n this.message = message;\n this.status = status;\n this.response = response;\n this.headers = headers;\n this.result = result;\n }\n\n protected isSwaggerException = true;\n\n static isSwaggerException(obj: any): obj is SwaggerException {\n return obj.isSwaggerException === true;\n }\n}\n\nfunction throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): any {\n if (result !== null && result !== undefined)\n throw result;\n else\n throw new SwaggerException(message, status, response, headers, null);\n}\n\nfunction isAxiosError(obj: any | undefined): obj is AxiosError {\n return obj && obj.isAxiosError === true;\n}","import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';\nimport { message, notification } from 'antd';\nimport { SecuredKoppClient } from '../Api/Kopp/SecuredKoppClient';\nimport { withRouter, StaticRouter } from 'react-router-dom';\nimport ConfigUtility from '../ConfigUtility';\nimport LoaderUtility from '../LoaderUtility/LoaderUtility'\n\nimport TokenUtility from '../TokenUtility';\nimport React, { Fragment } from 'react';\n\nimport { ExtendedAxios, ErrorDetails } from './SecuredAxios';\nimport NotificationUtility from 'Core/NotificationUtility';\nimport { uniqueId, random } from 'lodash';\nimport Utility from 'Core/Utility';\n\nconst getSecuredUMATokenAxiosInstance: () => ExtendedAxios = () => {\n let SecuredUMATokenAxios: ExtendedAxios = Object.assign(\n {\n disableToken: false,\n handleSecurityError: true,\n ShowLoader: config => { },\n HideLoader: config => { },\n GetErrorDetails: () => { },\n baseUrlConfigName: '',\n },\n axios.create({\n timeout: 30000,\n })\n );\n\n SecuredUMATokenAxios.interceptors.request.use(\n async config => {\n // turning on loader\n SecuredUMATokenAxios.ShowLoader(config);\n const appConfig = await ConfigUtility.get();\n config.baseURL = appConfig[SecuredUMATokenAxios.baseUrlConfigName!];\n\n // Add Correlation ID header\n config.headers[appConfig.CorrelationIdHeader] = Utility.GetOrGenerateCorrleationId();\n config.headers[appConfig[\"SessionIdHeader\"] ?? \"SessionId\"] = TokenUtility.GetSessionId();\n\n const umaTokenExpirationDate = TokenUtility.GetUMATokenExpirationDate();\n if (umaTokenExpirationDate && umaTokenExpirationDate.isBefore()) {\n // Need to get a new token\n const client = new SecuredKoppClient();\n client.showLoading = false;\n client.handleGeneralError = false;\n client.handleSecurityError = false;\n try {\n // This will update the cookie that has the token\n const response = await client.refreshUMAToken();\n } catch (error) { }\n }\n\n if (!SecuredUMATokenAxios.disableToken) {\n const umaToken = TokenUtility.GetUMAToken();\n // Add header if exist\n config.headers.Authorization = 'Bearer ' + umaToken;\n }\n\n return config;\n },\n error => {\n // Do something with error\n return Promise.reject(error);\n }\n );\n\n SecuredUMATokenAxios.interceptors.response.use(\n response => {\n SecuredUMATokenAxios.HideLoader(response.config);\n return response;\n },\n (error: { config: AxiosRequestConfig; response: AxiosResponse }) => {\n HideAllLoaders();\n HandleSecurityErrors(error);\n HandleErrors(error);\n return Promise.reject(error);\n }\n );\n\n function HideAllLoaders() {\n if (SecuredUMATokenAxios.showLoading) {\n message.destroy();\n }\n }\n\n function HandleSecurityErrors(error: {\n config: AxiosRequestConfig;\n response: AxiosResponse;\n }) {\n if (SecuredUMATokenAxios.handleSecurityError) {\n const errorDetails = SecuredUMATokenAxios.GetErrorDetails(error);\n if (errorDetails.statusCode === 403) {\n NotificationUtility.error('You do not have permission to access that operation. You can try logining with credentials that do.', '', 0, true);\n\n }\n if (errorDetails.statusCode === 401) {\n NotificationUtility.error('You were inactive for a long time and need to login again. Please login to continue', '', 0, true);\n }\n }\n }\n\n function HandleErrors(error: { config: AxiosRequestConfig; response: AxiosResponse }) {\n if (SecuredUMATokenAxios.handleGeneralError) {\n const errorDetails = SecuredUMATokenAxios.GetErrorDetails(error);\n\n switch (errorDetails.statusCode) {\n case 400:\n NotificationUtility.error(errorDetails.message, '', 0, true);\n break;\n\n case 800:\n NotificationUtility.error('Had a problem making that last request, please ensure you are connected to the internet.', '', 0, true);\n break;\n\n case 403:\n case 401:\n // It is a security error and will be handled somewhere else\n break;\n\n default:\n NotificationUtility.error('Oops...Something Went Wrong',\n (\n <>\n

\n Somthing happend on that last request. Please contact administrator with this\n error code:\n

\n

{errorDetails.eventMarker}

\n \n ),\n 0, true);\n break;\n }\n }\n }\n\n SecuredUMATokenAxios.GetErrorDetails = function (error: any) {\n return (error.response || { data: { statusCode: 800, eventMarker: '1111-1111-1111-1111' } })\n .data as ErrorDetails; // here we handle the senario if the issue is client side and we don't get back the response object\n };\n\n SecuredUMATokenAxios.HideLoader = function (config: any) {\n LoaderUtility.hide()\n };\n\n\n SecuredUMATokenAxios.ShowLoader = function ShowLoader(config: any) {\n LoaderUtility.show();\n };\n\n return SecuredUMATokenAxios;\n};\n\nexport default getSecuredUMATokenAxiosInstance;\n","import { Client } from './Api';\nimport { ExtendedAxios } from '../SecuredAxios';\nimport getSecuredUMATokenAxiosInstance from '../SecuredUMATokenAxios';\nimport ConfigUtility from 'Core/ConfigUtility';\n\n\nexport class SecuredPaymentClient extends Client {\n public axiosInstance: ExtendedAxios;\n\n public get DisableToken(): boolean | undefined {\n return this.axiosInstance.disableToken;\n }\n\n public set DisableToken(newValue: boolean | undefined) {\n this.axiosInstance.disableToken = newValue;\n }\n public get handleGeneralError(): boolean | undefined {\n return this.axiosInstance.handleGeneralError;\n }\n\n public set handleGeneralError(newValue: boolean | undefined) {\n this.axiosInstance.handleGeneralError = newValue;\n }\n\n public get handleSecurityError(): boolean | undefined {\n return this.axiosInstance.handleSecurityError;\n }\n\n public set handleSecurityError(newValue: boolean | undefined) {\n this.axiosInstance.handleSecurityError = newValue;\n }\n\n public get showLoading(): boolean | undefined {\n return this.axiosInstance.showLoading;\n }\n\n public set showLoading(newValue: boolean | undefined) {\n this.axiosInstance.showLoading = newValue;\n }\n\n constructor() {\n const Config = ConfigUtility.getSync()!;\n\n const axios = getSecuredUMATokenAxiosInstance();\n super(Config?.PaymentApiBaseUrl, axios);\n this.axiosInstance = axios;\n this.axiosInstance.baseUrlConfigName = \"PaymentApiBaseUrl\";\n }\n}\n","import { SecuredPaymentClient } from 'Core/Api/Payment/SecuredPaymentClient';\nimport {\n BeginBillPaymentRequest,\n ConfirmCreditCardRegistrationRequestBody,\n AddressDto,\n ReferenceValueDto,\n IReferenceValueDto,\n IBeginBillPaymentRequest,\n IBeginRegisterCreditCardRequest,\n BeginRegisterCreditCardRequest,\n} from 'Core/Api/Payment/Api';\nimport TokenUtility from 'Core/TokenUtility';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport Utility from 'Core/Utility';\n\nexport class CreditCardRegistrationFormHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n //REGISTER A CARD CARD\n async RegisterCreditCard(request: IBeginRegisterCreditCardRequest) {\n let client = new SecuredPaymentClient();\n client.showLoading = true;\n client.handleGeneralError = false;\n\n var config = await ConfigUtility.get();\n var authorization = TokenUtility.GetUMAToken();\n\n var beginBillPaymentRequest = new BeginRegisterCreditCardRequest(request);\n return client\n .beginRegisterCreditCard('Bearer ' + authorization, beginBillPaymentRequest)\n .catch(x => Utility.formatError(x, \"Failed to register card.\"));\n }\n\n //CONFIRM CREDIT CARD\n ConfirmCreditCard(id: number, body: ConfirmCreditCardRegistrationRequestBody) {\n let client = new SecuredPaymentClient();\n client.showLoading = true;\n const authorization = 'Bearer ' + TokenUtility.GetUMAToken();\n\n return client\n .confirmCreditCardRegistration(id, authorization, body)\n .catch(x => Utility.formatError(x));\n }\n\n //GET LISTED CREDIT CARD(S) BY USER ID\n GetRegisteredCreditCard(userId: string) {\n let client = new SecuredPaymentClient();\n client.showLoading = true;\n const authorization = 'Bearer ' + TokenUtility.GetUMAToken();\n\n return client.getCreditCardRegistrations(userId, authorization).catch((reason: any) => {\n if (reason.response?.status >= 400 && reason.response?.status < 500) {\n throw Error(reason.errorMessage);\n } else {\n throw Error('Error while retriving card information.');\n }\n });\n }\n\n //DELETE/REMOVE CREDIT CARD\n DeleteCreditCard(id: number) {\n let client = new SecuredPaymentClient();\n client.showLoading = true;\n const authorization = 'Bearer ' + TokenUtility.GetUMAToken();\n\n return client.deleteCreditCardRegistration(id, authorization).catch((reason: any) => {\n if (reason.response.status >= 400 && reason.response.status < 500) {\n throw Error(reason.errorMessage);\n } else {\n throw Error('Error while trying to delete card.');\n }\n });\n }\n\n //UPDATE CREDIT CARD BILLING ADDRESS\n UpdateCreditCard(id: number, address: AddressDto) {\n let client = new SecuredPaymentClient();\n client.showLoading = true;\n const authorization = 'Bearer ' + TokenUtility.GetUMAToken();\n return client\n .updateCreditCardBillingAddress(id, authorization, address)\n .catch((reason: any) => {\n if (reason.response.status >= 400 && reason.response.status < 500) {\n throw Error(reason.errorMessage);\n } else {\n throw Error('Error while trying to register card.');\n }\n });\n }\n\n //GET LIST OF APPROVED CARD TYPES\n async GetCreditCardTypes(): Promise> {\n let client = new SecuredPaymentClient();\n client.showLoading = true;\n var cardType: IReferenceValueDto;\n client.handleGeneralError = false;\n\n var config = await ConfigUtility.get();\n var authorization = TokenUtility.GetUMAToken();\n\n return client.creditcardTypes('Bearer ' + authorization);\n }\n\n //GET LIST OF APPROVED CARD CURRENCIES - called by web hook 3d secure\n async GetCreditCardCurrency(): Promise> {\n const client = new SecuredPaymentClient();\n client.showLoading = true;\n var cardCurrency: IReferenceValueDto;\n client.handleGeneralError = false;\n\n var config = await ConfigUtility.get();\n var authorization = TokenUtility.GetUMAToken();\n\n return client.creditcardCurrencies('Bearer ' + authorization);\n }\n}\n","import * as React from 'react';\nimport { Modal, Button } from 'antd';\nimport AuthContext from 'Context/AuthContext';\nimport { CreditCardRegistrationFormHandler } from 'components/UserManagement/Profile/CreditCardRegistrationForm/CreditCardRegistrationFormHandler';\nimport Cookies from 'js-cookie';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport moment from 'moment';\nimport { CardRegistrationNotificationContent } from '.';\n\nexport interface Props {\n children?: React.ReactNode;\n showAgainForSesion?: boolean;\n}\n\nexport interface State {\n visible: boolean;\n}\n\nexport default class CardRegistrationNotificationView extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n handler: CreditCardRegistrationFormHandler;\n userNeverShowRegAgainCookie: string;\n constructor(props: Props) {\n super(props);\n\n this.state = { visible: false };\n this.handler = new CreditCardRegistrationFormHandler(props);\n this.setNeverCheckAgainCookie = this.setNeverCheckAgainCookie.bind(this);\n this.hideModal = this.hideModal.bind(this);\n this.userNeverShowRegAgainCookie = '';\n }\n\n\n async componentDidMount() {\n const config = await ConfigUtility.get();\n\n //set cookie name to be unique based on user id\n this.userNeverShowRegAgainCookie = config.NeverShowCardRegAgainCookieName + '_' + this.context.data?.id;\n\n const wasNeverCookieSet = Boolean(Cookies.get(this.userNeverShowRegAgainCookie) || false);\n const userLogged = !!this.context.data;\n const user = this.context.data;\n const showAgain = this.props.showAgainForSesion || !(this.context.data?.shownCardRegistrationForTheDay ?? false);\n console.log(\"user info\", user, userLogged, wasNeverCookieSet, showAgain);\n if (userLogged && user) {\n this.handler.GetRegisteredCreditCard(user?.id!).then(x => {\n const hasCards = !!x.length;\n if (userLogged && !wasNeverCookieSet && !hasCards && showAgain) {\n this.setState({ visible: true });\n }\n }).catch(() => { });\n }\n }\n\n async setNeverCheckAgainCookie() {\n const config = await ConfigUtility.get();\n\n Cookies.set(this.userNeverShowRegAgainCookie, 'true',\n { secure: true, expires: moment().add(999, \"years\").toDate() });\n this.setState({ visible: false });\n\n }\n\n hideModal() {\n // Update user to say that they have seen the warning for the day/session\n if (this.context.data) {\n this.context.data.shownCardRegistrationForTheDay = true;\n this.context.Update(this.context.data);\n }\n\n this.setState({ visible: false });\n }\n\n getModalButtons() {\n return [, ];\n }\n\n render() {\n return (\n <>\n \n \n \n \n );\n }\n}\n","import * as Media from 'styled-media-helper';\nconst sizes = {\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n};\n\nconst ScreenHelper = new Media(sizes);\nexport default ScreenHelper;\n","import antd, { Form, Collapse, Row, Col, PageHeader } from 'antd';\nimport styled from 'styled-components';\nimport ScreenHelper from './ScreenHelper';\nimport { ColSize } from 'antd/lib/col';\n\nexport const RightAlignRow = styled(Row)`\n text-align: right;\n`;\n\nexport const LeftAlignRow = styled(Row)`\n text-align: left;\n`;\n\nexport const CenterAlignRow = styled(Row)`\n text-align: center;\n`;\n\nexport const centeredRowAttributes: { type: any; justify: any; align: any } = {\n type: 'flex',\n justify: 'center',\n align: 'middle',\n};\n\ndeclare type ColSpanType = ColSize;\n\nexport const PageContainerColLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 10,\n offset: 0,\n },\n lg: {\n span: 10,\n offset: 0,\n },\n md: {\n span: 12,\n offset: 0,\n },\n sm: {\n span: 24,\n offset: 0,\n },\n xs: {\n span: 24,\n offset: 0,\n },\n};\n\nexport const PageContainerRow = styled(Row)`\n ${ScreenHelper.up('lg', 'xl')`\n margin-top: 20px;\n padding-top: 10px;\n `}\n\n ${ScreenHelper.down('lg', 'sm')`\n margin-top: 10px;\n padding-top: 0px;\n `}\n`;\n\nexport const PageContainerCol = styled(Col)`\n text-align: center;\n\n ${ScreenHelper.up('lg', 'xl')`\n`}\n\n ${ScreenHelper.down('lg', 'sm')`\n padding-left: 0px;\n padding-right: 0px;\n `}\n`;\n\nexport const PageTitle = styled(PageHeader)`\n &.ant-page-header {\n .ant-page-header-title-view {\n .ant-page-header-title-view-title {\n font-size: 2em;\n }\n }\n padding: 16px 24px 16px 0px;\n background-color: #f8f8f8;\n }\n`;\n\nexport const TitleColSize: { [key: string]: ColSpanType } = {\n xxl: {\n span: 8,\n offset: 7,\n },\n xl: {\n span: 8,\n offset: 7,\n },\n lg: {\n span: 8,\n offset: 7,\n },\n md: {\n span: 8,\n offset: 6,\n },\n sm: {\n span: 20,\n offset: 2,\n },\n xs: {\n span: 20,\n offset: 2,\n },\n};\n\nexport const TitleCol = styled(Col)`\n`;\n\nexport const HeaderRow = styled(Row)`\n background-color: #f8f8f8;\n width: 100%;\n margin-top: 10px;\n margin-bottom: 10px;\n`;\n\nexport const BorderlessCollapse = styled(Collapse)`\n border: 0px;\n\n div.ant-collapse-item {\n border: 0px;\n }\n`;\n","import * as React from 'react';\nimport { LeftAlignRow } from 'components/Styled/Layout.Styled';\nimport { Col } from 'antd';\nimport { Link } from 'react-router-dom';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nexport default class CardRegistrationNotificationContent extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return (\n <>\n \n \n

\n Card registration is required as a one-time verification (confirmation of ownership)\n of each card being used for payments. As part of the process, a refundable\n transaction amount between $1.00 and $5.00 will be debited to your card.\n

\n

\n To begin the process, go to{' '}\n Register & Verify Card under the user profile menu,\n enter and submit your card information.\n

\n

\n To complete the process, retrieve the amount that was charged to your card by\n contacting your bank and return to the Register & Verify Card page to enter the\n amount in the “Confirm Card” field.\n

\n \n
\n \n );\n }\n}\n","import antd, { Col } from 'antd';\nimport styled from 'styled-components';\nimport { ColSize } from 'antd/lib/grid/col';\nconst { Form } = antd;\n\n\nexport const StyleArrivalScheduleForm = styled(Form)`\n // max-width: 600px;\n // min-width: 300px;\n`;\n\ndeclare type ColSpanType = ColSize;\n\nexport const ScheduleColSize: { [key: string]: ColSpanType } = {\n lg: {\n span: 18,\n offset: 3,\n },\n sm: {\n span: 24,\n },\n};\n\nexport const ScheduleCol = styled(Col)`\n\npadding: 0px;\nmargin: 0px;\ntext-align: center;\n\n`;\n","/* tslint:disable */\n/* eslint-disable */\n//----------------------\n// \n// Generated using the NSwag toolchain v13.8.2.0 (NJsonSchema v10.2.1.0 (Newtonsoft.Json v12.0.0.0)) (http://NSwag.org)\n// \n//----------------------\n// ReSharper disable InconsistentNaming\n\nimport axios, { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios';\n\nexport interface IClient {\n /**\n * Gets the bill of lading charges.\n * @param bolNumber Gets or sets the bol number.\n * @param storageToDate Gets or sets the storage to date. Format must be yyyymmdd e.g 20180718\n * @return Success\n */\n getBillOfLadingCharges(bolNumber: string, storageToDate: string): Promise;\n /**\n * Gets the bill of lading charges without verification test.\n * @param bolNumber Gets or sets the bol number.\n * @param storageToDate Gets or sets the storage to date. Format must be yyyymmdd e.g 20180718\n * @return Success\n */\n getBillOfLadingInfo(bolNumber: string, storageToDate: string): Promise;\n /**\n * Gets the current APM exchange rates.\n * @return Success\n */\n getCurrentExchangeRates(): Promise;\n /**\n * Gets the stripping schedule.\n * @param containerNumber (optional) Gets or sets the container number.\n * @param stripDate (optional) Gets or sets the strip date. Format must be yyyymmdd e.g 20180718\n * @return Success\n */\n getStrippingSchedule(containerNumber: string | null | undefined, stripDate: string | null | undefined): Promise;\n /**\n * Gets the vessel schedule.\n * @param shipName (optional) Gets or sets the name of the ship.\n * @param arrivalDate (optional) Gets or sets the arrival date. Format must be yyyymmdd e.g 20180718\n * @return Success\n */\n getVesselSchedule(shipName: string | null | undefined, arrivalDate: string | null | undefined): Promise;\n /**\n * Gets the vessel schedule.\n * @param orderReference (optional) \n * @param customerRelease (optional) \n * @return Success\n */\n generateGatePass(orderReference: string | null | undefined, customerRelease: string | null | undefined): Promise;\n /**\n * Flags or Unflags a BOL as a ClickNGo BOL.\n * @param isClickAndGo (optional) \n * @param bolNumber (optional) \n * @return Success\n */\n flagBolAsClickAndGo(isClickAndGo: boolean | null | undefined, bolNumber: string | null | undefined): Promise;\n /**\n * Gets BL for a Consignee schedule (by customer number\n * @param customerCode (optional) \n * @return Success\n */\n getBLbyConsignee(customerCode: string | null | undefined): Promise;\n /**\n * Gets the bill of lading payment receipt.\n * @param request (optional) The request.\n * @param client_ID API Client ID\n * @param client_Secret API Client Secret\n * @return Success\n */\n getBillOfLadingPaymentReceipt(request: ApmRecieptRequestDto | null | undefined, client_ID: any, client_Secret: any): Promise;\n}\n\nexport class Client implements IClient {\n private instance: AxiosInstance;\n private baseUrl: string;\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(baseUrl?: string, instance?: AxiosInstance) {\n this.instance = instance ? instance : axios.create();\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"/\";\n }\n\n /**\n * Gets the bill of lading charges.\n * @param bolNumber Gets or sets the bol number.\n * @param storageToDate Gets or sets the storage to date. Format must be yyyymmdd e.g 20180718\n * @return Success\n */\n getBillOfLadingCharges(bolNumber: string, storageToDate: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/ApmServices/GetBillOfLadingCharges?\";\n if (bolNumber === undefined || bolNumber === null)\n throw new Error(\"The parameter 'bolNumber' must be defined and cannot be null.\");\n else\n url_ += \"BolNumber=\" + encodeURIComponent(\"\" + bolNumber) + \"&\";\n if (storageToDate === undefined || storageToDate === null)\n throw new Error(\"The parameter 'storageToDate' must be defined and cannot be null.\");\n else\n url_ += \"StorageToDate=\" + encodeURIComponent(\"\" + storageToDate) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetBillOfLadingCharges(_response);\n });\n }\n\n protected processGetBillOfLadingCharges(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 400) {\n const _responseText = response.data;\n return throwException(\"Bad Request\", status, _responseText, _headers);\n } else if (status === 502) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = BolChargesResponseDto.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Gets the bill of lading charges without verification test.\n * @param bolNumber Gets or sets the bol number.\n * @param storageToDate Gets or sets the storage to date. Format must be yyyymmdd e.g 20180718\n * @return Success\n */\n getBillOfLadingInfo(bolNumber: string, storageToDate: string , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/ApmServices/GetBillOfLadingInfo?\";\n if (bolNumber === undefined || bolNumber === null)\n throw new Error(\"The parameter 'bolNumber' must be defined and cannot be null.\");\n else\n url_ += \"BolNumber=\" + encodeURIComponent(\"\" + bolNumber) + \"&\";\n if (storageToDate === undefined || storageToDate === null)\n throw new Error(\"The parameter 'storageToDate' must be defined and cannot be null.\");\n else\n url_ += \"StorageToDate=\" + encodeURIComponent(\"\" + storageToDate) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetBillOfLadingInfo(_response);\n });\n }\n\n protected processGetBillOfLadingInfo(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 400) {\n const _responseText = response.data;\n return throwException(\"Bad Request\", status, _responseText, _headers);\n } else if (status === 502) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = BolChargesResponseDto.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Gets the current APM exchange rates.\n * @return Success\n */\n getCurrentExchangeRates( cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/ApmServices/GetCurrentExchangeRates\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetCurrentExchangeRates(_response);\n });\n }\n\n protected processGetCurrentExchangeRates(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 400) {\n const _responseText = response.data;\n return throwException(\"Bad Request\", status, _responseText, _headers);\n } else if (status === 502) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = ExchangeRateResponseDto.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Gets the stripping schedule.\n * @param containerNumber (optional) Gets or sets the container number.\n * @param stripDate (optional) Gets or sets the strip date. Format must be yyyymmdd e.g 20180718\n * @return Success\n */\n getStrippingSchedule(containerNumber: string | null | undefined, stripDate: string | null | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/ApmServices/GetStrippingSchedule?\";\n if (containerNumber !== undefined && containerNumber !== null)\n url_ += \"ContainerNumber=\" + encodeURIComponent(\"\" + containerNumber) + \"&\";\n if (stripDate !== undefined && stripDate !== null)\n url_ += \"StripDate=\" + encodeURIComponent(\"\" + stripDate) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetStrippingSchedule(_response);\n });\n }\n\n protected processGetStrippingSchedule(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 400) {\n const _responseText = response.data;\n return throwException(\"Bad Request\", status, _responseText, _headers);\n } else if (status === 502) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = StrippingScheduleResponseDto.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Gets the vessel schedule.\n * @param shipName (optional) Gets or sets the name of the ship.\n * @param arrivalDate (optional) Gets or sets the arrival date. Format must be yyyymmdd e.g 20180718\n * @return Success\n */\n getVesselSchedule(shipName: string | null | undefined, arrivalDate: string | null | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/ApmServices/GetVesselSchedule?\";\n if (shipName !== undefined && shipName !== null)\n url_ += \"ShipName=\" + encodeURIComponent(\"\" + shipName) + \"&\";\n if (arrivalDate !== undefined && arrivalDate !== null)\n url_ += \"ArrivalDate=\" + encodeURIComponent(\"\" + arrivalDate) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetVesselSchedule(_response);\n });\n }\n\n protected processGetVesselSchedule(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 400) {\n const _responseText = response.data;\n return throwException(\"Bad Request\", status, _responseText, _headers);\n } else if (status === 502) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = VesselScheduleResponseDto.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Gets the vessel schedule.\n * @param orderReference (optional) \n * @param customerRelease (optional) \n * @return Success\n */\n generateGatePass(orderReference: string | null | undefined, customerRelease: string | null | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/ApmServices/GenerateGatePass?\";\n if (orderReference !== undefined && orderReference !== null)\n url_ += \"OrderReference=\" + encodeURIComponent(\"\" + orderReference) + \"&\";\n if (customerRelease !== undefined && customerRelease !== null)\n url_ += \"CustomerRelease=\" + encodeURIComponent(\"\" + customerRelease) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGenerateGatePass(_response);\n });\n }\n\n protected processGenerateGatePass(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 400) {\n const _responseText = response.data;\n return throwException(\"Bad Request\", status, _responseText, _headers);\n } else if (status === 502) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = GenerateGatePassResponseDto.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Flags or Unflags a BOL as a ClickNGo BOL.\n * @param isClickAndGo (optional) \n * @param bolNumber (optional) \n * @return Success\n */\n flagBolAsClickAndGo(isClickAndGo: boolean | null | undefined, bolNumber: string | null | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/ApmServices/FlagBolAsClickAndGo?\";\n if (isClickAndGo !== undefined && isClickAndGo !== null)\n url_ += \"IsClickAndGo=\" + encodeURIComponent(\"\" + isClickAndGo) + \"&\";\n if (bolNumber !== undefined && bolNumber !== null)\n url_ += \"BolNumber=\" + encodeURIComponent(\"\" + bolNumber) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processFlagBolAsClickAndGo(_response);\n });\n }\n\n protected processFlagBolAsClickAndGo(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 400) {\n const _responseText = response.data;\n return throwException(\"Bad Request\", status, _responseText, _headers);\n } else if (status === 502) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = FlagBolAsClickAndGoResponseDto.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Gets BL for a Consignee schedule (by customer number\n * @param customerCode (optional) \n * @return Success\n */\n getBLbyConsignee(customerCode: string | null | undefined , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/ApmServices/GetBLbyConsignee?\";\n if (customerCode !== undefined && customerCode !== null)\n url_ += \"CustomerCode=\" + encodeURIComponent(\"\" + customerCode) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = {\n method: \"GET\",\n url: url_,\n headers: {\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetBLbyConsignee(_response);\n });\n }\n\n protected processGetBLbyConsignee(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 400) {\n const _responseText = response.data;\n return throwException(\"Bad Request\", status, _responseText, _headers);\n } else if (status === 502) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = GetBLbyConsigneeResponseDto.fromJS(resultData200);\n return result200;\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n\n /**\n * Gets the bill of lading payment receipt.\n * @param request (optional) The request.\n * @param client_ID API Client ID\n * @param client_Secret API Client Secret\n * @return Success\n */\n getBillOfLadingPaymentReceipt(request: ApmRecieptRequestDto | null | undefined, client_ID: any, client_Secret: any , cancelToken?: CancelToken | undefined): Promise {\n let url_ = this.baseUrl + \"/v1/ApmServices/GetBillOfLadingPaymentReceipt\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = JSON.stringify(request);\n\n let options_ = {\n data: content_,\n method: \"POST\",\n url: url_,\n headers: {\n \"Client-ID\": client_ID !== undefined && client_ID !== null ? \"\" + client_ID : \"\",\n \"Client-Secret\": client_Secret !== undefined && client_Secret !== null ? \"\" + client_Secret : \"\",\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n },\n cancelToken\n };\n\n return this.instance.request(options_).catch((_error: any) => {\n if (isAxiosError(_error) && _error.response) {\n return _error.response;\n } else {\n throw _error;\n }\n }).then((_response: AxiosResponse) => {\n return this.processGetBillOfLadingPaymentReceipt(_response);\n });\n }\n\n protected processGetBillOfLadingPaymentReceipt(response: AxiosResponse): Promise {\n const status = response.status;\n let _headers: any = {};\n if (response.headers && typeof response.headers === \"object\") {\n for (let k in response.headers) {\n if (response.headers.hasOwnProperty(k)) {\n _headers[k] = response.headers[k];\n }\n }\n }\n if (status === 400) {\n const _responseText = response.data;\n return throwException(\"Bad Request\", status, _responseText, _headers);\n } else if (status === 502) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 500) {\n const _responseText = response.data;\n return throwException(\"Server Error\", status, _responseText, _headers);\n } else if (status === 200) {\n const _responseText = response.data;\n let result200: any = null;\n let resultData200 = _responseText;\n result200 = ApmReceiptResponseDto.fromJS(resultData200);\n return result200;\n } else if (status === 401) {\n const _responseText = response.data;\n return throwException(\"Unauthorized\", status, _responseText, _headers);\n } else if (status !== 200 && status !== 204) {\n const _responseText = response.data;\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\n }\n return Promise.resolve(null);\n }\n}\n\nexport class BolChargesResponseDto implements IBolChargesResponseDto {\n bolReferenceNos?: string[] | undefined;\n bolExtraData?: BolListData[] | undefined;\n storageDueDate?: string | undefined;\n shipName?: string | undefined;\n arrivalDate?: string | undefined;\n errors?: string[] | undefined;\n data?: BolCharge[] | undefined;\n\n constructor(data?: IBolChargesResponseDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.bolExtraData) {\n this.bolExtraData = [];\n for (let i = 0; i < data.bolExtraData.length; i++) {\n let item = data.bolExtraData[i];\n this.bolExtraData[i] = item && !(item).toJSON ? new BolListData(item) : item;\n }\n }\n if (data.data) {\n this.data = [];\n for (let i = 0; i < data.data.length; i++) {\n let item = data.data[i];\n this.data[i] = item && !(item).toJSON ? new BolCharge(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n if (Array.isArray(_data[\"bolReferenceNos\"])) {\n this.bolReferenceNos = [] as any;\n for (let item of _data[\"bolReferenceNos\"])\n this.bolReferenceNos!.push(item);\n }\n if (Array.isArray(_data[\"bolExtraData\"])) {\n this.bolExtraData = [] as any;\n for (let item of _data[\"bolExtraData\"])\n this.bolExtraData!.push(BolListData.fromJS(item));\n }\n this.storageDueDate = _data[\"storageDueDate\"];\n this.shipName = _data[\"shipName\"];\n this.arrivalDate = _data[\"arrivalDate\"];\n if (Array.isArray(_data[\"errors\"])) {\n this.errors = [] as any;\n for (let item of _data[\"errors\"])\n this.errors!.push(item);\n }\n if (Array.isArray(_data[\"data\"])) {\n this.data = [] as any;\n for (let item of _data[\"data\"])\n this.data!.push(BolCharge.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): BolChargesResponseDto {\n data = typeof data === 'object' ? data : {};\n let result = new BolChargesResponseDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n if (Array.isArray(this.bolReferenceNos)) {\n data[\"bolReferenceNos\"] = [];\n for (let item of this.bolReferenceNos)\n data[\"bolReferenceNos\"].push(item);\n }\n if (Array.isArray(this.bolExtraData)) {\n data[\"bolExtraData\"] = [];\n for (let item of this.bolExtraData)\n data[\"bolExtraData\"].push(item.toJSON());\n }\n data[\"storageDueDate\"] = this.storageDueDate;\n data[\"shipName\"] = this.shipName;\n data[\"arrivalDate\"] = this.arrivalDate;\n if (Array.isArray(this.errors)) {\n data[\"errors\"] = [];\n for (let item of this.errors)\n data[\"errors\"].push(item);\n }\n if (Array.isArray(this.data)) {\n data[\"data\"] = [];\n for (let item of this.data)\n data[\"data\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): BolChargesResponseDto {\n const json = this.toJSON();\n let result = new BolChargesResponseDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBolChargesResponseDto {\n bolReferenceNos?: string[] | undefined;\n bolExtraData?: IBolListData[] | undefined;\n storageDueDate?: string | undefined;\n shipName?: string | undefined;\n arrivalDate?: string | undefined;\n errors?: string[] | undefined;\n data?: IBolCharge[] | undefined;\n}\n\nexport class BolListData implements IBolListData {\n bilReference?: string | undefined;\n bolNumber?: string | undefined;\n itemNo?: string | undefined;\n bolType?: string | undefined;\n description?: string | undefined;\n released?: boolean | undefined;\n approved?: boolean | undefined;\n clickAndGo?: boolean | undefined;\n tallyStatus?: string | undefined;\n customerName?: string | undefined;\n shipperName?: string | undefined;\n numberOfPieces?: string[] | undefined;\n\n constructor(data?: IBolListData) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.bilReference = _data[\"bilReference\"];\n this.bolNumber = _data[\"bolNumber\"];\n this.itemNo = _data[\"itemNo\"];\n this.bolType = _data[\"bolType\"];\n this.description = _data[\"description\"];\n this.released = _data[\"released\"];\n this.approved = _data[\"approved\"];\n this.clickAndGo = _data[\"clickAndGo\"];\n this.tallyStatus = _data[\"tallyStatus\"];\n this.customerName = _data[\"customerName\"];\n this.shipperName = _data[\"shipperName\"];\n if (Array.isArray(_data[\"numberOfPieces\"])) {\n this.numberOfPieces = [] as any;\n for (let item of _data[\"numberOfPieces\"])\n this.numberOfPieces!.push(item);\n }\n }\n }\n\n static fromJS(data: any): BolListData {\n data = typeof data === 'object' ? data : {};\n let result = new BolListData();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"bilReference\"] = this.bilReference;\n data[\"bolNumber\"] = this.bolNumber;\n data[\"itemNo\"] = this.itemNo;\n data[\"bolType\"] = this.bolType;\n data[\"description\"] = this.description;\n data[\"released\"] = this.released;\n data[\"approved\"] = this.approved;\n data[\"clickAndGo\"] = this.clickAndGo;\n data[\"tallyStatus\"] = this.tallyStatus;\n data[\"customerName\"] = this.customerName;\n data[\"shipperName\"] = this.shipperName;\n if (Array.isArray(this.numberOfPieces)) {\n data[\"numberOfPieces\"] = [];\n for (let item of this.numberOfPieces)\n data[\"numberOfPieces\"].push(item);\n }\n return data; \n }\n\n clone(): BolListData {\n const json = this.toJSON();\n let result = new BolListData();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBolListData {\n bilReference?: string | undefined;\n bolNumber?: string | undefined;\n itemNo?: string | undefined;\n bolType?: string | undefined;\n description?: string | undefined;\n released?: boolean | undefined;\n approved?: boolean | undefined;\n clickAndGo?: boolean | undefined;\n tallyStatus?: string | undefined;\n customerName?: string | undefined;\n shipperName?: string | undefined;\n numberOfPieces?: string[] | undefined;\n}\n\nexport class BolCharge implements IBolCharge {\n chargeType?: string | undefined;\n chargeAmount?: number | undefined;\n\n constructor(data?: IBolCharge) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.chargeType = _data[\"chargeType\"];\n this.chargeAmount = _data[\"chargeAmount\"];\n }\n }\n\n static fromJS(data: any): BolCharge {\n data = typeof data === 'object' ? data : {};\n let result = new BolCharge();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"chargeType\"] = this.chargeType;\n data[\"chargeAmount\"] = this.chargeAmount;\n return data; \n }\n\n clone(): BolCharge {\n const json = this.toJSON();\n let result = new BolCharge();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBolCharge {\n chargeType?: string | undefined;\n chargeAmount?: number | undefined;\n}\n\nexport class ExchangeRateResponseDto implements IExchangeRateResponseDto {\n errors?: string[] | undefined;\n data?: ExchangeRate[] | undefined;\n\n constructor(data?: IExchangeRateResponseDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.data) {\n this.data = [];\n for (let i = 0; i < data.data.length; i++) {\n let item = data.data[i];\n this.data[i] = item && !(item).toJSON ? new ExchangeRate(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n if (Array.isArray(_data[\"errors\"])) {\n this.errors = [] as any;\n for (let item of _data[\"errors\"])\n this.errors!.push(item);\n }\n if (Array.isArray(_data[\"data\"])) {\n this.data = [] as any;\n for (let item of _data[\"data\"])\n this.data!.push(ExchangeRate.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): ExchangeRateResponseDto {\n data = typeof data === 'object' ? data : {};\n let result = new ExchangeRateResponseDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n if (Array.isArray(this.errors)) {\n data[\"errors\"] = [];\n for (let item of this.errors)\n data[\"errors\"].push(item);\n }\n if (Array.isArray(this.data)) {\n data[\"data\"] = [];\n for (let item of this.data)\n data[\"data\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): ExchangeRateResponseDto {\n const json = this.toJSON();\n let result = new ExchangeRateResponseDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IExchangeRateResponseDto {\n errors?: string[] | undefined;\n data?: IExchangeRate[] | undefined;\n}\n\nexport class ExchangeRate implements IExchangeRate {\n currencyCode?: string | undefined;\n rate?: number | undefined;\n\n constructor(data?: IExchangeRate) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.currencyCode = _data[\"currencyCode\"];\n this.rate = _data[\"rate\"];\n }\n }\n\n static fromJS(data: any): ExchangeRate {\n data = typeof data === 'object' ? data : {};\n let result = new ExchangeRate();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"currencyCode\"] = this.currencyCode;\n data[\"rate\"] = this.rate;\n return data; \n }\n\n clone(): ExchangeRate {\n const json = this.toJSON();\n let result = new ExchangeRate();\n result.init(json);\n return result;\n }\n}\n\nexport interface IExchangeRate {\n currencyCode?: string | undefined;\n rate?: number | undefined;\n}\n\nexport class StrippingScheduleResponseDto implements IStrippingScheduleResponseDto {\n errors?: string[] | undefined;\n data?: StrippingSchedule[] | undefined;\n\n constructor(data?: IStrippingScheduleResponseDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.data) {\n this.data = [];\n for (let i = 0; i < data.data.length; i++) {\n let item = data.data[i];\n this.data[i] = item && !(item).toJSON ? new StrippingSchedule(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n if (Array.isArray(_data[\"errors\"])) {\n this.errors = [] as any;\n for (let item of _data[\"errors\"])\n this.errors!.push(item);\n }\n if (Array.isArray(_data[\"data\"])) {\n this.data = [] as any;\n for (let item of _data[\"data\"])\n this.data!.push(StrippingSchedule.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): StrippingScheduleResponseDto {\n data = typeof data === 'object' ? data : {};\n let result = new StrippingScheduleResponseDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n if (Array.isArray(this.errors)) {\n data[\"errors\"] = [];\n for (let item of this.errors)\n data[\"errors\"].push(item);\n }\n if (Array.isArray(this.data)) {\n data[\"data\"] = [];\n for (let item of this.data)\n data[\"data\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): StrippingScheduleResponseDto {\n const json = this.toJSON();\n let result = new StrippingScheduleResponseDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IStrippingScheduleResponseDto {\n errors?: string[] | undefined;\n data?: IStrippingSchedule[] | undefined;\n}\n\nexport class StrippingSchedule implements IStrippingSchedule {\n containerNumber?: string | undefined;\n shipName?: string | undefined;\n scheduledDateAndTime?: string | undefined;\n stripStartDateAndTime?: string | undefined;\n stripEndDateAndTime?: string | undefined;\n stripLocation?: string | undefined;\n processCode?: string | undefined;\n status?: string | undefined;\n category?: string | undefined;\n\n constructor(data?: IStrippingSchedule) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.containerNumber = _data[\"containerNumber\"];\n this.shipName = _data[\"shipName\"];\n this.scheduledDateAndTime = _data[\"scheduledDateAndTime\"];\n this.stripStartDateAndTime = _data[\"stripStartDateAndTime\"];\n this.stripEndDateAndTime = _data[\"stripEndDateAndTime\"];\n this.stripLocation = _data[\"stripLocation\"];\n this.processCode = _data[\"processCode\"];\n this.status = _data[\"status\"];\n this.category = _data[\"category\"];\n }\n }\n\n static fromJS(data: any): StrippingSchedule {\n data = typeof data === 'object' ? data : {};\n let result = new StrippingSchedule();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"containerNumber\"] = this.containerNumber;\n data[\"shipName\"] = this.shipName;\n data[\"scheduledDateAndTime\"] = this.scheduledDateAndTime;\n data[\"stripStartDateAndTime\"] = this.stripStartDateAndTime;\n data[\"stripEndDateAndTime\"] = this.stripEndDateAndTime;\n data[\"stripLocation\"] = this.stripLocation;\n data[\"processCode\"] = this.processCode;\n data[\"status\"] = this.status;\n data[\"category\"] = this.category;\n return data; \n }\n\n clone(): StrippingSchedule {\n const json = this.toJSON();\n let result = new StrippingSchedule();\n result.init(json);\n return result;\n }\n}\n\nexport interface IStrippingSchedule {\n containerNumber?: string | undefined;\n shipName?: string | undefined;\n scheduledDateAndTime?: string | undefined;\n stripStartDateAndTime?: string | undefined;\n stripEndDateAndTime?: string | undefined;\n stripLocation?: string | undefined;\n processCode?: string | undefined;\n status?: string | undefined;\n category?: string | undefined;\n}\n\nexport class VesselScheduleResponseDto implements IVesselScheduleResponseDto {\n errors?: string[] | undefined;\n data?: VesselSchedule[] | undefined;\n\n constructor(data?: IVesselScheduleResponseDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.data) {\n this.data = [];\n for (let i = 0; i < data.data.length; i++) {\n let item = data.data[i];\n this.data[i] = item && !(item).toJSON ? new VesselSchedule(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n if (Array.isArray(_data[\"errors\"])) {\n this.errors = [] as any;\n for (let item of _data[\"errors\"])\n this.errors!.push(item);\n }\n if (Array.isArray(_data[\"data\"])) {\n this.data = [] as any;\n for (let item of _data[\"data\"])\n this.data!.push(VesselSchedule.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): VesselScheduleResponseDto {\n data = typeof data === 'object' ? data : {};\n let result = new VesselScheduleResponseDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n if (Array.isArray(this.errors)) {\n data[\"errors\"] = [];\n for (let item of this.errors)\n data[\"errors\"].push(item);\n }\n if (Array.isArray(this.data)) {\n data[\"data\"] = [];\n for (let item of this.data)\n data[\"data\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): VesselScheduleResponseDto {\n const json = this.toJSON();\n let result = new VesselScheduleResponseDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IVesselScheduleResponseDto {\n errors?: string[] | undefined;\n data?: IVesselSchedule[] | undefined;\n}\n\nexport class VesselSchedule implements IVesselSchedule {\n shipName?: string | undefined;\n imoCode?: string | undefined;\n arrivalDateTime?: string | undefined;\n expectedArrivalDateTime?: string | undefined;\n lineName?: string | undefined;\n\n constructor(data?: IVesselSchedule) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.shipName = _data[\"shipName\"];\n this.imoCode = _data[\"imoCode\"];\n this.arrivalDateTime = _data[\"arrivalDateTime\"];\n this.expectedArrivalDateTime = _data[\"expectedArrivalDateTime\"];\n this.lineName = _data[\"lineName\"];\n }\n }\n\n static fromJS(data: any): VesselSchedule {\n data = typeof data === 'object' ? data : {};\n let result = new VesselSchedule();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"shipName\"] = this.shipName;\n data[\"imoCode\"] = this.imoCode;\n data[\"arrivalDateTime\"] = this.arrivalDateTime;\n data[\"expectedArrivalDateTime\"] = this.expectedArrivalDateTime;\n data[\"lineName\"] = this.lineName;\n return data; \n }\n\n clone(): VesselSchedule {\n const json = this.toJSON();\n let result = new VesselSchedule();\n result.init(json);\n return result;\n }\n}\n\nexport interface IVesselSchedule {\n shipName?: string | undefined;\n imoCode?: string | undefined;\n arrivalDateTime?: string | undefined;\n expectedArrivalDateTime?: string | undefined;\n lineName?: string | undefined;\n}\n\nexport class GenerateGatePassResponseDto implements IGenerateGatePassResponseDto {\n ordreference?: string | undefined;\n gatePassNumber?: string | undefined;\n gatePassDate?: string | undefined;\n gptype?: string | undefined;\n customer?: string | undefined;\n address?: string | undefined;\n bilReference?: string | undefined;\n bilNumber?: string | undefined;\n itemNumber?: string | undefined;\n vessel?: string | undefined;\n voyage?: string | undefined;\n reportdate?: string | undefined;\n berth?: string | undefined;\n clickngo?: boolean | undefined;\n data?: Datum[] | undefined;\n orderType?: string | undefined;\n cnsign?: string | undefined;\n cnsadd?: string | undefined;\n error?: string[] | undefined;\n\n constructor(data?: IGenerateGatePassResponseDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.data) {\n this.data = [];\n for (let i = 0; i < data.data.length; i++) {\n let item = data.data[i];\n this.data[i] = item && !(item).toJSON ? new Datum(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.ordreference = _data[\"ordreference\"];\n this.gatePassNumber = _data[\"gatePassNumber\"];\n this.gatePassDate = _data[\"gatePassDate\"];\n this.gptype = _data[\"gptype\"];\n this.customer = _data[\"customer\"];\n this.address = _data[\"address\"];\n this.bilReference = _data[\"bilReference\"];\n this.bilNumber = _data[\"bilNumber\"];\n this.itemNumber = _data[\"itemNumber\"];\n this.vessel = _data[\"vessel\"];\n this.voyage = _data[\"voyage\"];\n this.reportdate = _data[\"reportdate\"];\n this.berth = _data[\"berth\"];\n this.clickngo = _data[\"clickngo\"];\n if (Array.isArray(_data[\"data\"])) {\n this.data = [] as any;\n for (let item of _data[\"data\"])\n this.data!.push(Datum.fromJS(item));\n }\n this.orderType = _data[\"orderType\"];\n this.cnsign = _data[\"cnsign\"];\n this.cnsadd = _data[\"cnsadd\"];\n if (Array.isArray(_data[\"error\"])) {\n this.error = [] as any;\n for (let item of _data[\"error\"])\n this.error!.push(item);\n }\n }\n }\n\n static fromJS(data: any): GenerateGatePassResponseDto {\n data = typeof data === 'object' ? data : {};\n let result = new GenerateGatePassResponseDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"ordreference\"] = this.ordreference;\n data[\"gatePassNumber\"] = this.gatePassNumber;\n data[\"gatePassDate\"] = this.gatePassDate;\n data[\"gptype\"] = this.gptype;\n data[\"customer\"] = this.customer;\n data[\"address\"] = this.address;\n data[\"bilReference\"] = this.bilReference;\n data[\"bilNumber\"] = this.bilNumber;\n data[\"itemNumber\"] = this.itemNumber;\n data[\"vessel\"] = this.vessel;\n data[\"voyage\"] = this.voyage;\n data[\"reportdate\"] = this.reportdate;\n data[\"berth\"] = this.berth;\n data[\"clickngo\"] = this.clickngo;\n if (Array.isArray(this.data)) {\n data[\"data\"] = [];\n for (let item of this.data)\n data[\"data\"].push(item.toJSON());\n }\n data[\"orderType\"] = this.orderType;\n data[\"cnsign\"] = this.cnsign;\n data[\"cnsadd\"] = this.cnsadd;\n if (Array.isArray(this.error)) {\n data[\"error\"] = [];\n for (let item of this.error)\n data[\"error\"].push(item);\n }\n return data; \n }\n\n clone(): GenerateGatePassResponseDto {\n const json = this.toJSON();\n let result = new GenerateGatePassResponseDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGenerateGatePassResponseDto {\n ordreference?: string | undefined;\n gatePassNumber?: string | undefined;\n gatePassDate?: string | undefined;\n gptype?: string | undefined;\n customer?: string | undefined;\n address?: string | undefined;\n bilReference?: string | undefined;\n bilNumber?: string | undefined;\n itemNumber?: string | undefined;\n vessel?: string | undefined;\n voyage?: string | undefined;\n reportdate?: string | undefined;\n berth?: string | undefined;\n clickngo?: boolean | undefined;\n data?: IDatum[] | undefined;\n orderType?: string | undefined;\n cnsign?: string | undefined;\n cnsadd?: string | undefined;\n error?: string[] | undefined;\n}\n\nexport class Datum implements IDatum {\n description?: string | undefined;\n marks?: string | undefined;\n packtype?: string | undefined;\n quanremain?: number | undefined;\n quanapplied?: number | undefined;\n\n constructor(data?: IDatum) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.description = _data[\"description\"];\n this.marks = _data[\"marks\"];\n this.packtype = _data[\"packtype\"];\n this.quanremain = _data[\"quanremain\"];\n this.quanapplied = _data[\"quanapplied\"];\n }\n }\n\n static fromJS(data: any): Datum {\n data = typeof data === 'object' ? data : {};\n let result = new Datum();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"description\"] = this.description;\n data[\"marks\"] = this.marks;\n data[\"packtype\"] = this.packtype;\n data[\"quanremain\"] = this.quanremain;\n data[\"quanapplied\"] = this.quanapplied;\n return data; \n }\n\n clone(): Datum {\n const json = this.toJSON();\n let result = new Datum();\n result.init(json);\n return result;\n }\n}\n\nexport interface IDatum {\n description?: string | undefined;\n marks?: string | undefined;\n packtype?: string | undefined;\n quanremain?: number | undefined;\n quanapplied?: number | undefined;\n}\n\nexport class FlagBolAsClickAndGoResponseDto implements IFlagBolAsClickAndGoResponseDto {\n status?: string | undefined;\n vessel?: string | undefined;\n reportedDate?: string | undefined;\n voyage?: string | undefined;\n billReferences?: string[] | undefined;\n errors?: string[] | undefined;\n data?: string[] | undefined;\n\n constructor(data?: IFlagBolAsClickAndGoResponseDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.status = _data[\"status\"];\n this.vessel = _data[\"vessel\"];\n this.reportedDate = _data[\"reportedDate\"];\n this.voyage = _data[\"voyage\"];\n if (Array.isArray(_data[\"billReferences\"])) {\n this.billReferences = [] as any;\n for (let item of _data[\"billReferences\"])\n this.billReferences!.push(item);\n }\n if (Array.isArray(_data[\"errors\"])) {\n this.errors = [] as any;\n for (let item of _data[\"errors\"])\n this.errors!.push(item);\n }\n if (Array.isArray(_data[\"data\"])) {\n this.data = [] as any;\n for (let item of _data[\"data\"])\n this.data!.push(item);\n }\n }\n }\n\n static fromJS(data: any): FlagBolAsClickAndGoResponseDto {\n data = typeof data === 'object' ? data : {};\n let result = new FlagBolAsClickAndGoResponseDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"status\"] = this.status;\n data[\"vessel\"] = this.vessel;\n data[\"reportedDate\"] = this.reportedDate;\n data[\"voyage\"] = this.voyage;\n if (Array.isArray(this.billReferences)) {\n data[\"billReferences\"] = [];\n for (let item of this.billReferences)\n data[\"billReferences\"].push(item);\n }\n if (Array.isArray(this.errors)) {\n data[\"errors\"] = [];\n for (let item of this.errors)\n data[\"errors\"].push(item);\n }\n if (Array.isArray(this.data)) {\n data[\"data\"] = [];\n for (let item of this.data)\n data[\"data\"].push(item);\n }\n return data; \n }\n\n clone(): FlagBolAsClickAndGoResponseDto {\n const json = this.toJSON();\n let result = new FlagBolAsClickAndGoResponseDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IFlagBolAsClickAndGoResponseDto {\n status?: string | undefined;\n vessel?: string | undefined;\n reportedDate?: string | undefined;\n voyage?: string | undefined;\n billReferences?: string[] | undefined;\n errors?: string[] | undefined;\n data?: string[] | undefined;\n}\n\nexport class GetBLbyConsigneeResponseDto implements IGetBLbyConsigneeResponseDto {\n customerName?: string | undefined;\n trn?: string | undefined;\n customerCode?: string | undefined;\n errors?: string[] | undefined;\n data?: BolListData[] | undefined;\n\n constructor(data?: IGetBLbyConsigneeResponseDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.data) {\n this.data = [];\n for (let i = 0; i < data.data.length; i++) {\n let item = data.data[i];\n this.data[i] = item && !(item).toJSON ? new BolListData(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.customerName = _data[\"customerName\"];\n this.trn = _data[\"trn\"];\n this.customerCode = _data[\"customerCode\"];\n if (Array.isArray(_data[\"errors\"])) {\n this.errors = [] as any;\n for (let item of _data[\"errors\"])\n this.errors!.push(item);\n }\n if (Array.isArray(_data[\"data\"])) {\n this.data = [] as any;\n for (let item of _data[\"data\"])\n this.data!.push(BolListData.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): GetBLbyConsigneeResponseDto {\n data = typeof data === 'object' ? data : {};\n let result = new GetBLbyConsigneeResponseDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"customerName\"] = this.customerName;\n data[\"trn\"] = this.trn;\n data[\"customerCode\"] = this.customerCode;\n if (Array.isArray(this.errors)) {\n data[\"errors\"] = [];\n for (let item of this.errors)\n data[\"errors\"].push(item);\n }\n if (Array.isArray(this.data)) {\n data[\"data\"] = [];\n for (let item of this.data)\n data[\"data\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): GetBLbyConsigneeResponseDto {\n const json = this.toJSON();\n let result = new GetBLbyConsigneeResponseDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IGetBLbyConsigneeResponseDto {\n customerName?: string | undefined;\n trn?: string | undefined;\n customerCode?: string | undefined;\n errors?: string[] | undefined;\n data?: IBolListData[] | undefined;\n}\n\nexport class ApmRecieptRequestDto implements IApmRecieptRequestDto {\n /** Gets or sets the BOL items. */\n bolItems?: BolItem[] | undefined;\n /** Gets or sets the total amount. */\n totalAmount?: number | undefined;\n /** Gets or sets the type of the payment, 'CreditCard or PayPal' */\n paymentType?: string | undefined;\n cashierId!: string;\n\n constructor(data?: IApmRecieptRequestDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.bolItems) {\n this.bolItems = [];\n for (let i = 0; i < data.bolItems.length; i++) {\n let item = data.bolItems[i];\n this.bolItems[i] = item && !(item).toJSON ? new BolItem(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n if (Array.isArray(_data[\"bolItems\"])) {\n this.bolItems = [] as any;\n for (let item of _data[\"bolItems\"])\n this.bolItems!.push(BolItem.fromJS(item));\n }\n this.totalAmount = _data[\"totalAmount\"];\n this.paymentType = _data[\"paymentType\"];\n this.cashierId = _data[\"cashierId\"];\n }\n }\n\n static fromJS(data: any): ApmRecieptRequestDto {\n data = typeof data === 'object' ? data : {};\n let result = new ApmRecieptRequestDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n if (Array.isArray(this.bolItems)) {\n data[\"bolItems\"] = [];\n for (let item of this.bolItems)\n data[\"bolItems\"].push(item.toJSON());\n }\n data[\"totalAmount\"] = this.totalAmount;\n data[\"paymentType\"] = this.paymentType;\n data[\"cashierId\"] = this.cashierId;\n return data; \n }\n\n clone(): ApmRecieptRequestDto {\n const json = this.toJSON();\n let result = new ApmRecieptRequestDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IApmRecieptRequestDto {\n /** Gets or sets the BOL items. */\n bolItems?: IBolItem[] | undefined;\n /** Gets or sets the total amount. */\n totalAmount?: number | undefined;\n /** Gets or sets the type of the payment, 'CreditCard or PayPal' */\n paymentType?: string | undefined;\n cashierId: string;\n}\n\nexport class BolItem implements IBolItem {\n /** Gets or sets the BOL reference numbers. */\n bolReferenceNumbers?: string[] | undefined;\n /** Gets or sets the BOL storage to date. */\n bolStorageToDate?: string | undefined;\n\n constructor(data?: IBolItem) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n if (Array.isArray(_data[\"bolReferenceNumbers\"])) {\n this.bolReferenceNumbers = [] as any;\n for (let item of _data[\"bolReferenceNumbers\"])\n this.bolReferenceNumbers!.push(item);\n }\n this.bolStorageToDate = _data[\"bolStorageToDate\"];\n }\n }\n\n static fromJS(data: any): BolItem {\n data = typeof data === 'object' ? data : {};\n let result = new BolItem();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n if (Array.isArray(this.bolReferenceNumbers)) {\n data[\"bolReferenceNumbers\"] = [];\n for (let item of this.bolReferenceNumbers)\n data[\"bolReferenceNumbers\"].push(item);\n }\n data[\"bolStorageToDate\"] = this.bolStorageToDate;\n return data; \n }\n\n clone(): BolItem {\n const json = this.toJSON();\n let result = new BolItem();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBolItem {\n /** Gets or sets the BOL reference numbers. */\n bolReferenceNumbers?: string[] | undefined;\n /** Gets or sets the BOL storage to date. */\n bolStorageToDate?: string | undefined;\n}\n\nexport class ApmReceiptResponseDto implements IApmReceiptResponseDto {\n receiptNumber?: string | undefined;\n totalAmount?: number | undefined;\n receiptDate?: string | undefined;\n errors?: string[] | undefined;\n data?: BolData[] | undefined;\n\n constructor(data?: IApmReceiptResponseDto) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.data) {\n this.data = [];\n for (let i = 0; i < data.data.length; i++) {\n let item = data.data[i];\n this.data[i] = item && !(item).toJSON ? new BolData(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.receiptNumber = _data[\"receiptNumber\"];\n this.totalAmount = _data[\"totalAmount\"];\n this.receiptDate = _data[\"receiptDate\"];\n if (Array.isArray(_data[\"errors\"])) {\n this.errors = [] as any;\n for (let item of _data[\"errors\"])\n this.errors!.push(item);\n }\n if (Array.isArray(_data[\"data\"])) {\n this.data = [] as any;\n for (let item of _data[\"data\"])\n this.data!.push(BolData.fromJS(item));\n }\n }\n }\n\n static fromJS(data: any): ApmReceiptResponseDto {\n data = typeof data === 'object' ? data : {};\n let result = new ApmReceiptResponseDto();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"receiptNumber\"] = this.receiptNumber;\n data[\"totalAmount\"] = this.totalAmount;\n data[\"receiptDate\"] = this.receiptDate;\n if (Array.isArray(this.errors)) {\n data[\"errors\"] = [];\n for (let item of this.errors)\n data[\"errors\"].push(item);\n }\n if (Array.isArray(this.data)) {\n data[\"data\"] = [];\n for (let item of this.data)\n data[\"data\"].push(item.toJSON());\n }\n return data; \n }\n\n clone(): ApmReceiptResponseDto {\n const json = this.toJSON();\n let result = new ApmReceiptResponseDto();\n result.init(json);\n return result;\n }\n}\n\nexport interface IApmReceiptResponseDto {\n receiptNumber?: string | undefined;\n totalAmount?: number | undefined;\n receiptDate?: string | undefined;\n errors?: string[] | undefined;\n data?: IBolData[] | undefined;\n}\n\nexport class BolData implements IBolData {\n bolReference?: string | undefined;\n bolNumber?: string | undefined;\n itemNumber?: string | undefined;\n consignee?: string | undefined;\n vessel?: string | undefined;\n voyageNumber?: string | undefined;\n arrivalDate?: string | undefined;\n lineName?: string | undefined;\n orderReference?: string | undefined;\n equipment?: string | undefined;\n location?: string | undefined;\n description?: string | undefined;\n berth?: string | undefined;\n storageDueDate?: string | undefined;\n charges?: BolCharge[] | undefined;\n customerName?: string | undefined;\n numberOfPieces?: string[] | undefined;\n\n constructor(data?: IBolData) {\n if (data) {\n for (var property in data) {\n if (data.hasOwnProperty(property))\n (this)[property] = (data)[property];\n }\n if (data.charges) {\n this.charges = [];\n for (let i = 0; i < data.charges.length; i++) {\n let item = data.charges[i];\n this.charges[i] = item && !(item).toJSON ? new BolCharge(item) : item;\n }\n }\n }\n }\n\n init(_data?: any) {\n if (_data) {\n this.bolReference = _data[\"bolReference\"];\n this.bolNumber = _data[\"bolNumber\"];\n this.itemNumber = _data[\"itemNumber\"];\n this.consignee = _data[\"consignee\"];\n this.vessel = _data[\"vessel\"];\n this.voyageNumber = _data[\"voyageNumber\"];\n this.arrivalDate = _data[\"arrivalDate\"];\n this.lineName = _data[\"lineName\"];\n this.orderReference = _data[\"orderReference\"];\n this.equipment = _data[\"equipment\"];\n this.location = _data[\"location\"];\n this.description = _data[\"description\"];\n this.berth = _data[\"berth\"];\n this.storageDueDate = _data[\"storageDueDate\"];\n if (Array.isArray(_data[\"charges\"])) {\n this.charges = [] as any;\n for (let item of _data[\"charges\"])\n this.charges!.push(BolCharge.fromJS(item));\n }\n this.customerName = _data[\"customerName\"];\n if (Array.isArray(_data[\"numberOfPieces\"])) {\n this.numberOfPieces = [] as any;\n for (let item of _data[\"numberOfPieces\"])\n this.numberOfPieces!.push(item);\n }\n }\n }\n\n static fromJS(data: any): BolData {\n data = typeof data === 'object' ? data : {};\n let result = new BolData();\n result.init(data);\n return result;\n }\n\n toJSON(data?: any) {\n data = typeof data === 'object' ? data : {};\n data[\"bolReference\"] = this.bolReference;\n data[\"bolNumber\"] = this.bolNumber;\n data[\"itemNumber\"] = this.itemNumber;\n data[\"consignee\"] = this.consignee;\n data[\"vessel\"] = this.vessel;\n data[\"voyageNumber\"] = this.voyageNumber;\n data[\"arrivalDate\"] = this.arrivalDate;\n data[\"lineName\"] = this.lineName;\n data[\"orderReference\"] = this.orderReference;\n data[\"equipment\"] = this.equipment;\n data[\"location\"] = this.location;\n data[\"description\"] = this.description;\n data[\"berth\"] = this.berth;\n data[\"storageDueDate\"] = this.storageDueDate;\n if (Array.isArray(this.charges)) {\n data[\"charges\"] = [];\n for (let item of this.charges)\n data[\"charges\"].push(item.toJSON());\n }\n data[\"customerName\"] = this.customerName;\n if (Array.isArray(this.numberOfPieces)) {\n data[\"numberOfPieces\"] = [];\n for (let item of this.numberOfPieces)\n data[\"numberOfPieces\"].push(item);\n }\n return data; \n }\n\n clone(): BolData {\n const json = this.toJSON();\n let result = new BolData();\n result.init(json);\n return result;\n }\n}\n\nexport interface IBolData {\n bolReference?: string | undefined;\n bolNumber?: string | undefined;\n itemNumber?: string | undefined;\n consignee?: string | undefined;\n vessel?: string | undefined;\n voyageNumber?: string | undefined;\n arrivalDate?: string | undefined;\n lineName?: string | undefined;\n orderReference?: string | undefined;\n equipment?: string | undefined;\n location?: string | undefined;\n description?: string | undefined;\n berth?: string | undefined;\n storageDueDate?: string | undefined;\n charges?: IBolCharge[] | undefined;\n customerName?: string | undefined;\n numberOfPieces?: string[] | undefined;\n}\n\nexport class SwaggerException extends Error {\n message: string;\n status: number;\n response: string;\n headers: { [key: string]: any; };\n result: any;\n\n constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any) {\n super();\n\n this.message = message;\n this.status = status;\n this.response = response;\n this.headers = headers;\n this.result = result;\n }\n\n protected isSwaggerException = true;\n\n static isSwaggerException(obj: any): obj is SwaggerException {\n return obj.isSwaggerException === true;\n }\n}\n\nfunction throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): any {\n if (result !== null && result !== undefined)\n throw result;\n else\n throw new SwaggerException(message, status, response, headers, null);\n}\n\nfunction isAxiosError(obj: any | undefined): obj is AxiosError {\n return obj && obj.isAxiosError === true;\n}","import { Client } from './Api';\nimport getSecuredAxiosInstance, { ExtendedAxios } from '../SecuredAxios';\nimport getSecuredUMATokenAxiosInstance from '../SecuredUMATokenAxios';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport { cloneDeep } from 'lodash';\n\n\nexport class SecuredAPMProxyClient extends Client {\n public axiosInstance: ExtendedAxios;\n\n public get DisableToken(): boolean | undefined {\n return this.axiosInstance.disableToken;\n }\n\n public set DisableToken(newValue: boolean | undefined) {\n this.axiosInstance.disableToken = newValue;\n }\n\n public get handleGeneralError(): boolean | undefined {\n return this.axiosInstance.handleGeneralError;\n }\n\n public set handleGeneralError(newValue: boolean | undefined) {\n this.axiosInstance.handleGeneralError = newValue;\n }\n\n public get handleSecurityError(): boolean | undefined {\n return this.axiosInstance.handleSecurityError;\n }\n\n public set handleSecurityError(newValue: boolean | undefined) {\n this.axiosInstance.handleSecurityError = newValue;\n }\n\n public get showLoading(): boolean | undefined {\n return this.axiosInstance.showLoading;\n }\n\n public set showLoading(newValue: boolean | undefined) {\n this.axiosInstance.showLoading = newValue;\n }\n\n constructor() {\n const Config = ConfigUtility.getSync()!;\n \n // This creates a new instance for this client\n const axios = getSecuredUMATokenAxiosInstance();\n super(Config?.APMProxyApiBaseUrl, axios);\n this.axiosInstance = axios;\n this.axiosInstance.baseUrlConfigName = \"APMProxyApiBaseUrl\";\n \n }\n}\n","import { ArrivalScheduleModel } from './Models/ArrivalScheduleModel';\nimport { SecuredAPMProxyClient } from '../../../Core/Api/APMProxy/SecuredAPMProxyClient';\nimport moment from 'moment';\nimport { orderBy } from 'lodash';\n\nexport class ArrivalScheduleHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n GetArrivalSchedule(arrivalSchedule: ArrivalScheduleModel): Promise {\n const client = new SecuredAPMProxyClient();\n client.showLoading = true;\n client.handleGeneralError = false;\n const arrivalDate = !arrivalSchedule.arrivalDateTime\n ? undefined\n : moment(arrivalSchedule.arrivalDateTime)\n .format('YYYYMMDD')\n .toString();\n const shipName = arrivalSchedule['shipName'];\n\n return client.getVesselSchedule(shipName, arrivalDate).then(x => {\n return orderBy(x.data, x => x.arrivalDateTime);\n });\n }\n}\n","import * as React from 'react';\nimport antd from 'antd';\nimport { ArrivalScheduleHandler } from '../ArrivalScheduleHandler';\nimport moment from 'moment';\nimport { ArrivalScheduleModel } from '../Models/ArrivalScheduleModel';\nimport { NavLink } from 'react-router-dom';\nimport Utility from 'Core/Utility';\nexport interface Props {\n children?: React.ReactNode;\n listItems?: any;\n dateSearched?: any;\n isHomeMode?: boolean;\n shipName?: string;\n}\n\nexport interface State { }\n\nconst { Table } = antd;\nexport default class ArrivalScheduleDataTable extends React.Component {\n private columns = [\n {\n title: 'ETA',\n dataIndex: 'expectedArrivalDateTime',\n key: 'expectedArrivalDateTime',\n },\n {\n title: 'VESSEL',\n dataIndex: 'shipName',\n key: 'shipName',\n },\n ];\n\n constructor(props: Props) {\n super(props);\n }\n\n render() {\n const pageSize = this.props.isHomeMode ? 3 : 10;\n const searchDate = this.props.dateSearched;\n return (\n
\n

Showing results for:  

\n

{searchDate || 'All Dates'}

\n {this.props.isHomeMode === true ? (\n More Details\n ) : (\n

{this.props.shipName || 'All Vessels'}

\n )}\n pageSize ? { pageSize: pageSize } : false}\n />\n
\n );\n }\n}\n","import antd, { notification, Table, message, Row, Col } from 'antd';\nimport { FormComponentProps } from 'antd/lib/form';\nimport * as React from 'react';\nimport { RouteProps } from 'react-router-dom';\nimport FormControl from '../../../Forms/FormControl';\nimport { StyleArrivalScheduleForm } from './ArrivalScheduleForm.Style';\nimport { ArrivalScheduleHandler } from '../ArrivalScheduleHandler';\nimport { ArrivalScheduleModel } from '../Models/ArrivalScheduleModel';\nimport ArrivalScheduleDataTable from '../ArrivalScheduleDataTable/ArrivalScheduleDataTable';\nimport moment from 'moment';\nimport Utility from 'Core/Utility';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport NotificationUtility from 'Core/NotificationUtility';\nimport { SubmitButton } from 'components/SubmitButton';\n\nconst { Form, Icon, Input, Button, DatePicker } = antd;\n\nexport interface Props extends FormComponentProps, RouteProps {\n children?: React.ReactNode;\n homeMode?: boolean;\n}\n\nexport interface State {\n listItems: ArrivalScheduleModel[];\n dateSearched: string;\n shipName: string;\n}\n\nclass BaseArrivalScheduleForm extends React.Component {\n arrivalScheduleFormHandler: ArrivalScheduleHandler;\n public dataTable: ArrivalScheduleModel = {};\n public dataTableList: ArrivalScheduleModel[] = [{}];\n\n constructor(props: Props) {\n super(props);\n this.arrivalScheduleFormHandler = new ArrivalScheduleHandler(props);\n this.state = {\n listItems: [],\n dateSearched: '',\n shipName: '',\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.getArrivalSchedule = this.getArrivalSchedule.bind(this);\n }\n\n componentDidMount() {\n const values: ArrivalScheduleModel = { arrivalDateTime: moment().toISOString() }\n this.getArrivalSchedule(values, true);\n }\n\n // validate confirm either field has a value\n checkBothFields = (rule: any, value: any, callback: any) => {\n const { form } = this.props;\n const expectedArrivalDateTime = form.getFieldValue('arrivalDateTime');\n const shipName = form.getFieldValue('shipName');\n if (!expectedArrivalDateTime && !shipName) {\n callback('Both fields can not be empty!');\n } else {\n callback();\n }\n };\n\n handleSubmit(e: React.FormEvent) {\n e.preventDefault();\n this.props.form.validateFieldsAndScroll((err, values) => {\n\n if (!err) {\n this.getArrivalSchedule(values)\n\n }\n });\n }\n\n getArrivalSchedule(values: ArrivalScheduleModel, hideError: boolean = false) {\n const vesselScheduleDataList: any = [];\n\n this.arrivalScheduleFormHandler\n .GetArrivalSchedule(values)\n .then((vesselArrivalSchedule: any) => {\n if (vesselArrivalSchedule.length > 0) {\n vesselArrivalSchedule.forEach((element: any) => {\n element.expectedArrivalDateTime = Utility.ToDateString(moment(element.expectedArrivalDateTime));\n vesselScheduleDataList.push(element);\n });\n this.setState({\n listItems: vesselScheduleDataList,\n dateSearched: !values.arrivalDateTime ? '' : Utility.ToDateString(moment(values.arrivalDateTime)),\n shipName: values.shipName ?? \"All Vessels\"\n });\n } else {\n this.setState({\n listItems: [],\n dateSearched: !values.arrivalDateTime ? '' : Utility.ToDateString(moment(values.arrivalDateTime)),\n shipName: values.shipName ?? \"All Vessels\"\n });\n if (!this.props.homeMode && !hideError) {\n NotificationUtility.error('Error', 'No Vessel Reports found', 3, true);\n }\n }\n })\n .catch((error: any) => {\n if (!this.props.homeMode) {\n NotificationUtility.error('Error', 'An error occured trying to retrieve Vessel Schedules', 30, true)\n }\n });\n }\n\n render() {\n const { getFieldDecorator } = this.props.form;\n let state: { from?: any; noPermission?: boolean } = {};\n\n if (this.props.location) {\n state = this.props.location.state || {};\n }\n const config = ConfigUtility.getSync();\n const dateFormat = config?.Display?.DateFormat;\n\n return (\n \n {this.props.homeMode === true ? (\n

Vessel Schedule

\n ) : (\n
\n \n \n \n \n \n \n \n Search\n {/* */}\n \n
\n )}\n \n
\n );\n }\n}\n\nconst ArrivalScheduleForm = Form.create({\n name: 'ArrivalSchedule',\n})(BaseArrivalScheduleForm);\n\nexport default ArrivalScheduleForm;\n","import * as React from \"react\";\nimport antd, { Row, Col } from 'antd';\nimport ArrivalScheduleForm from './ArrivalScheduleForm/ArrivalScheduleForm';\nexport interface Props {\n children?: React.ReactNode\n homePageIsStarted?: boolean;\n}\n\nexport interface State {\n}\n\nconst { Table, Button } = antd;\nexport default class ArrivalSchedule extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n return (\n
\n \n \n \n \n \n
\n )\n }\n}\n","import { SecuredAPMProxyClient } from '../../../Core/Api/APMProxy/SecuredAPMProxyClient';\nimport { StrippingScheduleModel } from './Models/StrippingScheduleModel';\nimport moment from 'moment';\n\nexport class StrippingScheduleHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n GetStrippingSchedule(strippingScheduleModel: StrippingScheduleModel) {\n const client = new SecuredAPMProxyClient();\n client.showLoading = true;\n client.DisableToken = true;\n client.handleGeneralError = false;\n const expectedStrippingDate = !strippingScheduleModel.stripDate\n ? undefined\n : moment(strippingScheduleModel.stripDate).format('YYYYMMDD');\n const containerNumber = strippingScheduleModel['containerNumber'];\n return client.getStrippingSchedule(containerNumber, expectedStrippingDate).then(response => {\n return response.data;\n });\n }\n}\n","import antd from 'antd';\nimport styled from 'styled-components';\nimport Col, { ColSize } from 'antd/lib/col';\nconst { Form } = antd;\n\nexport const StyleStrippingScheduleForm = styled(Form)`\n // max-width: 600px;\n // min-width: 300px;\n`;\n\ndeclare type ColSpanType = ColSize;\n\nexport const ScheduleColSize: { [key: string]: ColSpanType } = {\n lg: {\n span: 18,\n offset: 3,\n },\n sm: {\n span: 24,\n },\n};\n\nexport const ScheduleCol = styled(Col)`\n\npadding: 0px;\nmargin: 0px;\ntext-align: center;\n\n.searchButton{\n // float: right\n}\n\n`;","import React from 'react';\nimport { Collapse, Table, Empty, Row, Col, Button } from 'antd';\nimport { StrippingScheduleHandler } from '../StrippingScheduleHandler';\nimport { StrippingScheduleModel } from '../Models/StrippingScheduleModel';\nimport moment from 'moment';\nimport { NavLink } from 'react-router-dom';\nimport Utility from 'Core/Utility';\nimport { tsObjectKeyword } from '@babel/types';\nimport { ArrowsAltOutline } from '@ant-design/icons';\n\nexport interface Props {\n children?: React.ReactNode;\n schedule?: any;\n searchDate?: any;\n searchContainer?: any;\n isHomeMode?: boolean;\n}\n\nexport interface State { expandAll: string }\n\nexport default class StrippingScheduleDataTable extends React.Component {\n private columns = [\n { title: 'Container #', dataIndex: 'containerNumber', key: 'containerNumber' },\n {\n title: 'Date',\n dataIndex: 'scheduledDateAndTime',\n key: 'scheduledDateAndTime',\n render: this.renderDateInTable,\n },\n { title: 'Status', dataIndex: 'status', key: 'status' },\n { title: 'Category', dataIndex: 'category', key: 'category' },\n ];\n\n private strippingScheduleHandler: StrippingScheduleHandler;\n\n constructor(props: Props) {\n super(props);\n this.strippingScheduleHandler = new StrippingScheduleHandler(props);\n this.state = { expandAll: \"normal\" };\n }\n\n renderDateInTable(text, record, index) {\n return Utility.ToDateString(moment(text));\n }\n\n displaySchedule(schedule) {\n const pageSize = this.props.isHomeMode ? 1 : 5;\n const { Panel } = Collapse;\n const rows: JSX.Element[] = [];\n //group data by location\n var grouped = (schedule || []).reduce((accumulator, obj) => {\n const key: string = obj['stripLocation'] as string;\n if (!accumulator[key]) {\n accumulator[key] = [];\n }\n //format schedule date\n obj.scheduledDateAndTime = Utility.ToDateTimeString(moment(obj.scheduledDateAndTime));\n accumulator[key].push(obj);\n return accumulator;\n }, {});\n\n //add each grouped data to a table\n Object.keys(grouped).map((i: any) => {\n const data = grouped[i];\n\n if (this.state.expandAll == \"expand\") {\n rows.push(\n
this.setState({ expandAll: \"normal\" })}>\n \n \n \n \n \n \n );\n }\n else if (this.state.expandAll == \"collapse\") {\n rows.push(\n
this.setState({ expandAll: \"normal\" })}>\n \n \n
\n \n \n \n\n );\n }\n else {\n rows.push(\n \n \n
\n \n \n );\n }\n return rows;\n });\n\n return rows;\n }\n\n render() {\n return (\n // {this.props.isHomeMode ? this.displaySchedule(this.state.schedule) : this.displaySchedule(this.props.schedule)}\n
\n {this.props.isHomeMode === true ? (\n \n
\n {' '}\n

\n Showing results for: {this.props.searchDate}\n

\n More Details\n {' '}\n \n ) : (\n \n \n

\n Showing results: {this.props.searchDate || 'All Dates'}{' '}\n

\n

{this.props.searchContainer || 'All Locations'}

\n \n \n \n \n \n )}\n \n \n {this.props.schedule && this.props.schedule.length > 0 ? (\n this.displaySchedule(this.props.schedule)\n ) : (\n \n )}\n \n \n \n );\n }\n}\n","import React from 'react';\nimport { FormComponentProps } from 'antd/lib/form';\nimport { Form, Input, Icon, Button, DatePicker, notification, Row } from 'antd';\nimport FormControl from '../../../Forms/FormControl';\nimport { RouteProps, NavLink } from 'react-router-dom';\nimport { StrippingScheduleModel } from '../Models/StrippingScheduleModel';\nimport { StrippingScheduleHandler } from '../StrippingScheduleHandler';\nimport { StyleStrippingScheduleForm } from './StrippingSchedule.Style';\nimport StrippingScheduleDataTable from '../StrippingScheduleDataTable/StrippingScheduleDataTable';\nimport moment from 'moment';\nimport Utility from 'Core/Utility';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport NotificationUtility from 'Core/NotificationUtility';\nimport { SubmitButton } from 'components/SubmitButton';\n\nexport interface Props extends FormComponentProps, RouteProps {\n children?: React.ReactNode;\n homeMode?: boolean;\n}\n\nexport interface State {\n schedule?: StrippingScheduleModel[];\n searchDate: string;\n searchContainerNumber?: string;\n}\n\nclass BaseStrippingScheduleForm extends React.Component {\n strippingScheduleHandler: StrippingScheduleHandler;\n public dataTable: StrippingScheduleModel = {};\n\n constructor(props: Props) {\n super(props);\n this.strippingScheduleHandler = new StrippingScheduleHandler(props);\n this.state = {\n schedule: [],\n searchDate: '',\n searchContainerNumber: '',\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.getStrippingSchedules = this.getStrippingSchedules.bind(this);\n }\n\n checkFields = (rule: any, value: any, callback: any) => {\n const { form } = this.props;\n const containerNumber = form.getFieldValue('containerNumber');\n const stripDate = form.getFieldValue('stripDate');\n if (!containerNumber && !stripDate) {\n callback('Both fields cannot be empty!');\n } else {\n callback();\n }\n };\n\n componentDidMount() {\n\n const today = new Date(Date.now());\n const values: StrippingScheduleModel = {\n stripDate: moment(today.toISOString())\n .format('YYYYMMDD')\n .toString()\n };\n this.getStrippingSchedules(values, true);\n\n }\n\n handleSubmit(e: React.FormEvent) {\n e.preventDefault();\n this.props.form.validateFieldsAndScroll((error, values) => {\n\n if (!error) {\n this.getStrippingSchedules(values);\n }\n });\n }\n\n getStrippingSchedules(values: StrippingScheduleModel, hideError: boolean = false) {\n\n this.strippingScheduleHandler\n .GetStrippingSchedule(values)\n .then((strippingSchedule: any) => {\n if (strippingSchedule.length > 0) {\n this.setState({\n schedule: strippingSchedule,\n searchDate: !values.stripDate ? '' : Utility.ToDateString(moment(values.stripDate)),\n searchContainerNumber: values.containerNumber,\n });\n } else {\n this.setState({\n schedule: [],\n searchDate: !values.stripDate ? '' : Utility.ToDateString(moment(values.stripDate)),\n searchContainerNumber: values.containerNumber,\n });\n if (!this.props.homeMode && !hideError) {\n NotificationUtility.error('Error', 'No container schedules found', 30, true)\n\n }\n }\n })\n .catch((error: any) => {\n if (!this.props.homeMode) {\n NotificationUtility.error('Error', 'An error occured trying to retrieve Container Schedules', 30, true)\n }\n\n });\n }\n\n render() {\n const { getFieldDecorator } = this.props.form;\n const config = ConfigUtility.getSync();\n const dateFormat = config?.Display?.DateFormat;\n\n return (\n \n {this.props.homeMode === true ? (\n

Container Schedule

\n ) : (\n
\n \n \n \n \n \n \n \n Search\n {/* */}\n \n
\n )}\n\n \n
\n );\n }\n}\n\nconst StrippingScheduleForm = Form.create({\n name: 'StrippingScheduleForm',\n})(BaseStrippingScheduleForm);\n\nexport default StrippingScheduleForm;\n","import React from \"react\";\nimport { Row, Col } from \"antd\";\nimport StrippingScheduleForm from \"./StrippingScheduleForm/StrippingScheduleForm\";\n\nexport interface Props {\n children?: React.ReactNode\n homePageIsStarted?: boolean;\n}\n\nexport interface State {\n}\n\nexport default class StrippingSchedule extends React.Component {\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n return (\n
\n \n
\n \n \n \n \n )\n }\n}","import * as React from 'react';\nimport { Layout, Row } from 'antd';\nimport styled from 'styled-components';\nimport ScreenHelper from '../../components/Styled/ScreenHelper';\n\nconst { Header, Content, Footer } = Layout;\n\nexport const ImportantInfo = styled.div`\n font-size: \"1em\";\n ${ScreenHelper.down('md')`\n margin-right: 10px;\n margin-left: 5px;\n `};\n\n ${ScreenHelper.down('sm')`\n margin-right: 100px;\n margin-left: 5px;\n`}\n`;\n","import React, { useContext, useState } from 'react';\nimport { RouteComponentProps, NavLink, withRouter } from 'react-router-dom';\nimport { Button, Icon, Row, Col } from 'antd';\nimport AuthContext from 'Context/AuthContext';\nimport ArrivalSchedule from 'components/Schedule/ArrivalSchedule';\nimport StrippingSchedule from 'components/Schedule/StrippingSchedule';\nimport { ImportantInfo } from '../HomePage.Style';\n\n\ninterface Props extends RouteComponentProps {\n}\n\nconst BaseHomeRightSection = (props: Props) => {\n const context = useContext(AuthContext);\n const [homeMode, setHomeMode] = useState(true)\n\n const login = (e: React.FormEvent) => {\n e.preventDefault();\n props.history.push('/login');\n }\n\n const columnStyle = {\n marginLeft: '30px 30px 5px 30px',\n };\n\n const loginColumnStyle = {\n margin: '40px 0px 5px 30px', // margin: top right bottom left;\n };\n\n\n\n return \n {\n context.data != undefined ?\n \n \n \n \n \n \n \n \n \n \n \n \n : \n \n

\n \n

\n

Already Registered? Confirm email

\n Resend email confirmation code\n\n
\n

\n

Important:
\n Registered Mobile App Users are to login using their existing username and password; you will be unable to reuse the same personal data to sign up here.\n

\n
\n
\n \n }\n ;\n}\n\nconst HomeRightSection = withRouter(BaseHomeRightSection);\n\nexport default HomeRightSection;","import * as React from 'react';\nimport antd, { Row, Col, Divider } from 'antd';\nimport HomeDescription from './HomeDescription';\nimport Search from 'antd/lib/input/Search';\nimport ArrivalSchedule from '../../components/Schedule/ArrivalSchedule/ArrivalSchedule';\n// import StrippingSchedule from '../../components/Schedule/StrippingSchedule'\nimport StrippingScheduleForm from '../../components/Schedule/StrippingSchedule';\nimport { NavLink } from 'react-router-dom';\nimport CardRegistrationNotificationView from 'components/Payment/CardRegistrationNotificationView';\nimport { Helmet } from 'react-helmet';\nimport HomeRightSection from './HomeRightSection/HomeRightSection';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {\n homeMode: boolean;\n}\n\nexport default class HomePage extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {\n homeMode: true,\n };\n }\n\n componentDidMount() {\n this.setState({ homeMode: true });\n }\n\n render() {\n return (\n <>\n
\n \n Home\n \n \n
\n

Welcome to the Kingston Wharves eServices Portal

\n \n \n \n \n \n \n \n \n );\n }\n}\n\nconst rowStyle = {\n margin: '30px 30px 5px 30px',\n};\n\nconst borderedRowStype = {\n borderRight: '3px gray solid',\n};\n\n////bill lading seach component - USE CONDITIONAL RENDERING TO SHOW LIST THIS WHEN LOGGED IN OR LOGGED OUT & TO SHOW SEARCH OR\n////THE LIST OF BILL OF LADING.\nexport function BillLadingSeach() {\n const { Button, Row, Col } = antd;\n return (\n
\n \n
\n \n \n \n \n \n \n \n \n \n );\n}\n","import * as React from \"react\";\nimport { PageContainerRow, PageTitle, HeaderRow, TitleCol, TitleColSize, centeredRowAttributes, PageContainerCol, PageContainerColLayout } from \"components/Styled/Layout.Styled\";\nimport { Row, Col } from \"antd\";\nimport styled from \"styled-components\";\nimport { Helmet } from \"react-helmet\";\nimport { ColSize } from \"antd/lib/col\";\n\ndeclare type ColSpanType = ColSize;\nexport interface Props {\n children?: React.ReactNode\n title?: string;\n centered?: boolean;\n size?: ({ [key: string]: ColSpanType });\n}\n\nexport interface State {\n}\n\n\nconst TallCol = styled(Col)`\n height: 100%;\n min-height: 200px;\n`;\n\nexport default class CenteredPageContainer extends React.Component {\n static defaultProps: Props = {\n centered: true,\n }\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n\n\n renderContent(centered?: boolean): React.ReactNode {\n\n if (centered) {\n return (\n \n \n {this.props.children}\n \n \n )\n }\n else {\n return this.props.children;\n }\n\n }\n\n render() {\n return (\n <>\n \n \n \n \n \n \n {this.props.title}\n \n \n \n \n \n \n \n \n {this.renderContent(this.props.centered)}\n \n \n \n )\n }\n}\n","import { Col, Row, Alert, notification } from 'antd';\nimport * as React from 'react';\nimport { RouteProps } from 'react-router-dom';\nimport styled from 'styled-components';\nimport { HeaderRow, TitleCol, TitleColSize, PageTitle } from 'components/Styled/Layout.Styled';\nimport CenteredPageContainer from 'components/Layout/CenteredPageContainer';\nimport ArrivalScheduleForm from 'components/Schedule/ArrivalSchedule/ArrivalScheduleForm/ArrivalScheduleForm';\n\nexport interface Props extends RouteProps {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nconst TallCol = styled(Col)`\n height: 100%;\n min-height: 200px;\n`;\n\nexport default class ArrivalSchedulePage extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return (\n \n \n \n \n \n );\n }\n}","import { Client } from './Api';\nimport { ExtendedAxios } from '../SecuredAxios';\nimport getSecuredUMATokenAxiosInstance from '../SecuredUMATokenAxios';\nimport ConfigUtility from 'Core/ConfigUtility';\n\nexport class SecuredUserManagementClient extends Client {\n public axiosInstance: ExtendedAxios;\n\n public get DisableToken(): boolean | undefined {\n return this.axiosInstance.disableToken;\n }\n\n public set DisableToken(newValue: boolean | undefined) {\n this.axiosInstance.disableToken = newValue;\n }\n\n public get handleGeneralError(): boolean | undefined {\n return this.axiosInstance.handleGeneralError;\n }\n\n public set handleGeneralError(newValue: boolean | undefined) {\n this.axiosInstance.handleGeneralError = newValue;\n }\n\n public get handleSecurityError(): boolean | undefined {\n return this.axiosInstance.handleSecurityError;\n }\n\n public set handleSecurityError(newValue: boolean | undefined) {\n this.axiosInstance.handleSecurityError = newValue;\n }\n\n public get showLoading(): boolean | undefined {\n return this.axiosInstance.showLoading;\n }\n\n public set showLoading(newValue: boolean | undefined) {\n this.axiosInstance.showLoading = newValue;\n }\n\n constructor() {\n const Config = ConfigUtility.getSync()!;\n\n // This creates a new instance for this client\n const axios = getSecuredUMATokenAxiosInstance();\n super(Config?.UserManagementApiBaseUrl, axios);\n this.axiosInstance = axios;\n this.axiosInstance.baseUrlConfigName = \"UserManagementApiBaseUrl\";\n\n }\n}\n","import { SecuredUserManagementClient } from 'Core/Api/UserManagement/SecuredUserManagementClient';\nimport {\n SendEmailAddressConfirmationModel,\n ConfirmEmailAddressModel,\n} from 'Core/Api/UserManagement/Api';\nimport Utility from 'Core/Utility';\n\nexport class EmailConfirmationHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n ResendConfirmationCode(userName: string) {\n let client = new SecuredUserManagementClient();\n client.showLoading = true;\n let request = new SendEmailAddressConfirmationModel();\n request.emailAddress = userName;\n\n return client.registration_SendEmailAddressConfirmationToken(request).\n catch(Utility.formatError);\n }\n\n ConfirmRegistration(userName: string, confirmationCode: string) {\n let client = new SecuredUserManagementClient();\n client.showLoading = true;\n let request = new ConfirmEmailAddressModel();\n request.username = userName;\n request.code = confirmationCode;\n return client\n .registration_ConfirmEmailAddress(request)\n .catch(Utility.formatError);\n }\n}\n\ninterface UserApiError {\n ErrorMessage: string;\n}\n","import { ColSize } from \"antd/lib/col\";\nimport Form from \"antd/lib/form\";\nimport styled from \"styled-components\";\nimport ScreenHelper from \"components/Styled/ScreenHelper\";\n\ndeclare type ColSpanType = ColSize;\n\nexport const InputColLayout: { [key: string]: ColSpanType } = {\n xs: { span: 22, offset: 1 },\n sm: { span: 22, offset: 1 },\n md: { span: 12, offset: 6 },\n lg: { span: 12, offset: 6 },\n xl: { span: 12, offset: 6 },\n};\n\n\nexport const ButtonColLayout: { [key: string]: ColSpanType } = {\n xs: { span: 22, offset: 0 },\n sm: { span: 22, offset: 0 },\n md: { span: 8, offset: 8 },\n lg: { span: 8, offset: 8 },\n xl: { span: 8, offset: 8 },\n};\n\nexport const InputLayout = {\n labelCol: {\n xs: { span: 24, },\n sm: { span: 24, },\n md: { span: 24, },\n lg: { span: 6, },\n xl: { span: 6, },\n },\n wrapperCol: {\n xs: { span: 22 },\n sm: { span: 22, },\n md: { span: 22, },\n lg: { span: 18, },\n xl: { span: 18, },\n },\n};\n\nexport const StyleEmailConfirmationForm = styled(Form)`\n\n\n ${ScreenHelper.down('sm')`\n max-width: 300px;\n min-width: 300px;\n `};\n\n .emailConfirmationBtn{\n justify-content: center;\n align-items: center\n text-align: center;\n };\n\n .resendEmailBtn{ \n // margin-bottom: 10px; \n ${ScreenHelper.up('md')`\n width: 50%\n `};\n \n };\n\n .confirmEmailBtn{ \n margin-bottom: 10px; \n ${ScreenHelper.up('md')`\n width: 40%\n `};\n };\n\n`;","import React from 'react';\nimport { FormComponentProps } from 'antd/lib/form';\nimport FormControl from 'components/Forms/FormControl';\nimport { Form, Input, Button, Row, Col, Icon, notification, Tooltip } from 'antd';\nimport { EmailConfirmationHandler } from './EmailConfirmationHandler';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { Redirect, NavLink } from 'react-router-dom';\nimport { ErrorResultModel } from 'Core/Api/UserManagement/Api';\nimport { InputColLayout, ButtonColLayout, StyleEmailConfirmationForm, InputLayout } from './EmailConfirmation.Stlye';\nimport ValidationUtility from 'Core/ValidationUtility';\nimport NotificationUtility from 'Core/NotificationUtility';\n\nexport interface Props extends RouteComponentProps, FormComponentProps {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nclass EmailConfirmationFormWithoutFormAndRouter extends React.Component {\n emailConfirmationHandler: EmailConfirmationHandler;\n\n constructor(props: Props) {\n super(props);\n this.emailConfirmationHandler = new EmailConfirmationHandler(props);\n this.state = {};\n }\n\n handleResendCode = (e: React.FormEvent) => {\n e.preventDefault();\n\n this.props.form.validateFields(['username'], (errors, value) => {\n if (!errors) {\n this.emailConfirmationHandler\n .ResendConfirmationCode(value.username)\n .then(() => {\n NotificationUtility.success(\n 'Successful Resent',\n 'Confirmation code has been resent, kindly check your email.',\n 25,\n true\n );\n })\n .catch((error: any) => {\n NotificationUtility.error(\n 'Issue Resending Email Confirmation Token',\n error.message ?? error,\n 30,\n true\n );\n });\n }\n });\n };\n\n handleConfirmation = (e: React.FormEvent) => {\n e.preventDefault();\n\n this.props.form.validateFieldsAndScroll((errors, value) => {\n if (!errors) {\n this.emailConfirmationHandler\n .ConfirmRegistration(value.username, value.confirmationcode)\n .then(() => {\n this.props.history.push('/login');\n NotificationUtility.success(\n 'Successfully Confirmed',\n 'You have successfully confirmed your account.',\n 10,\n true\n );\n })\n .catch((error: any) => {\n NotificationUtility.error('Issue Confirming Email', error.message || error, 30, true);\n });\n }\n });\n };\n\n render() {\n const { getFieldDecorator } = this.props.form;\n\n return (\n \n

\n An email has been sent to your email, please enter the confirmation code provided along\n with your email.\n

\n \n }\n size=\"default\"\n />\n \n \n } />\n \n \n
\n \n \n \n \n \n \n \n \n
\n

\n Already Registered? Sign in here\n

\n \n \n \n );\n }\n}\n\nconst EmailConfirmationFormWithoutRouter = Form.create({\n name: 'EmailConfirmationForm',\n})(EmailConfirmationFormWithoutFormAndRouter);\n\nconst EmailConfirmationForm = withRouter(EmailConfirmationFormWithoutRouter);\n\nexport default EmailConfirmationForm;\n","import * as React from 'react';\nimport { Row, Col } from 'antd';\nimport EmailConfirmationForm from 'components/Registration/EmailConfirmationForm';\nimport CenteredPageContainer from 'components/Layout/CenteredPageContainer';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nexport default class EmailConfirmationPage extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return (\n \n \n \n \n \n );\n }\n}\n","import {\n IndividualRegistration,\n IndividualRegistrationEmailConfirmationMethod,\n ErrorResultModel,\n} from 'Core/Api/UserManagement/Api';\nimport { SecuredUserManagementClient } from 'Core/Api/UserManagement/SecuredUserManagementClient';\nimport { SwaggerException } from 'Core/Api/Kopp/Api';\nimport Utility from 'Core/Utility';\nexport class RegistrationWizardHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n RegisterIndividualUser(obj: IndividualRegistration) {\n let client = new SecuredUserManagementClient();\n client.showLoading = true;\n obj.emailConfirmationMethod = IndividualRegistrationEmailConfirmationMethod.Token;\n\n return client.registration_IndividualSignUp(obj).catch(Utility.formatError);\n }\n}\n","import * as React from 'react';\nimport ReactInputMask from 'react-input-mask';\nimport { InputProps } from 'antd/lib/input';\n\ninterface Props extends InputProps {\n /**\n * Mask string. Format characters are:\n * * `9`: `0-9`\n * * `a`: `A-Z, a-z`\n * * `\\*`: `A-Z, a-z, 0-9`\n *\n * Any character can be escaped with backslash, which usually will appear as double backslash in JS strings.\n * For example, German phone mask with unremoveable prefix +49 will look like `mask=\"+4\\\\9 99 999 99\"` or `mask={\"+4\\\\\\\\9 99 999 99\"}`\n */\n mask: string;\n /**\n * Character to cover unfilled editable parts of mask. Default character is \"_\". If set to null, unfilled parts will be empty, like in ordinary input.\n */\n maskChar?: string | null;\n /**\n * Defines format characters with characters as keys and corresponding RegExp string as values. Default ones:\n * ```\n * {\n * \"9\": \"[0-9]\",\n * \"a\": \"[A-Za-z]\",\n * \"*\": \"[A-Za-z0-9]\"\n * }```\n */\n formatChars?: { [key: string]: string };\n /**\n * Show mask even in empty input without focus.\n */\n alwaysShowMask?: boolean;\n /**\n * Use inputRef instead of ref if you need input node to manage focus, selection, etc.\n */\n inputRef?: React.Ref;\n}\n\nexport interface State {\n value: any;\n classNames?: string;\n}\n\nexport default class MaskedInput extends React.Component {\n static getDerivedStateFromProps(nextProps) {\n // Should be a controlled component.\n if ('value' in nextProps) {\n return {\n ...(nextProps.value || {}),\n };\n }\n return null;\n }\n\n constructor(props: Props) {\n super(props);\n\n this.state = { value: this.props.value, classNames: 'ant-input ' + this.props.className };\n }\n\n render() {\n var { className, ...rest } = this.props;\n return ;\n }\n}\n","import antd, { Form, Collapse, Row, Col } from 'antd';\nimport * as React from 'react';\nimport styled from 'styled-components';\nimport ScreenHelper from '../../../Styled/ScreenHelper';\nimport { ColSize } from 'antd/lib/col';\n\nexport const LeftAlignUl = styled('ul')`\n text-align: left;\n`;\n\ndeclare type ColSpanType = ColSize;\n\nexport const ColLayout: { [key: string]: ColSpanType } = {\n xs: { span: 22, offset: 1 },\n sm: { span: 22, offset: 1 },\n md: { span: 10, offset: 1 },\n lg: { span: 10, offset: 1 },\n xl: { span: 10, offset: 1 },\n};\n\nexport const ReCaptchaColLayout: { [key: string]: ColSpanType } = {\n xs: { span: 8, offset: 1 },\n sm: { span: 16, offset: 1 },\n md: { span: 10, offset: 6 },\n lg: { span: 10, offset: 6 },\n xl: { span: 10, offset: 6 },\n};\n","import * as React from 'react';\nimport CanadaProvinces from '../Data/canadian-provinces.json';\nimport USSates from '../Data/states.json';\nimport Parishes from '../Data/jamaican-parishes.json';\nimport { Select } from 'antd';\nimport moment from 'moment';\nimport Countries from '../Data/countries.json';\n\nexport default class FormUtility {\n\n //Get canada provinces\n static getCanadaProvices(): Array<{ value: string; text: string }> {\n return this.convertToOptionArray(CanadaProvinces);\n }\n\n //Select component with canada province option\n public static provinceSelector() {\n const { Option } = Select;\n return (\n \n );\n }\n\n //Get states\n static getUSStates(): Array<{ value: string; text: string }> {\n return this.convertToOptionArray(USSates);\n }\n\n //Select component with states option\n public static stateSelector() {\n const { Option } = Select;\n return (\n \n );\n }\n\n //Get parishes\n static getParishes(): Array<{ value: string; text: string }> {\n return this.convertToOptionArray(Parishes);\n }\n\n //Select component with parish option\n public static parishSelector() {\n const { Option } = Select;\n return (\n \n );\n }\n\n //Select component with country option\n public static countrySelector() {\n const { Option } = Select;\n return (\n \n );\n }\n\n public static getExpiryDateParts(value?: string): { month: string; year: string } | undefined {\n if (value === undefined) {\n return undefined;\n }\n const expiryMonth = value!.split('/', 1)[0];\n const expiryYear = moment(value!.split('/')[1], 'YY').format('YYYY');\n return { month: expiryMonth, year: expiryYear };\n }\n\n private static convertToOptionArray(input: any) {\n const data = new Array<{ value: string; text: string }>();\n for (const value in input) {\n if (input.hasOwnProperty(value)) {\n const text = input[value];\n data.push({ value, text });\n }\n }\n return data;\n }\n}\n","import * as React from 'react';\nimport { LeftAlignRow } from 'components/Styled/Layout.Styled';\nimport { Col, Row, Button } from 'antd';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport { withRouter, RouteComponentProps } from 'react-router';\n\n\n\nexport interface Props extends RouteComponentProps {\n children?: React.ReactNode;\n}\n\nexport interface State {}\n\nexport class TermsAndConditionsViewWithoutRouter extends React.Component {\n\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n this.goBack = this.goBack.bind(this);\n }\n\n goBack() {\n this.props.history.goBack();\n }\n\n render() {\n const config = ConfigUtility.getSync();\n const showBack = this.props.location.state?.internalLinked as boolean || false;\n return (\n <>\n \n \n

DELIVERY POLICY

\n

\n Delivery of cargo is contingent upon the payment of all relevant charges, production\n of original document and the goods being released by the Jamaica Customs.\n

\n

EXPORT RESTRICTIONS

\n

\n At this time Kingston Wharves Limited is unable to facilitate the payment of export\n charges over the Internet.\n

\n

SECURITY

\n

\n Clients who use the Kingston Wharves Limited E- Payment Facility are responsible for\n the security of their user name and/or password. Should they inadvertently let someone\n else know their user name and/or password they should contact Kingston Wharves Limited\n immediately to change their user name and/or password, before any third party damages\n may occur.\n

\n

\n Credit card fraud and misuse is a growing problem. In the event anyone has access to\n your credit cards and uses them to pay any charges in your name and address, with or\n without your permission, Kingston Wharves will not be liable.\n

\n

\n Our web site has security measures in place to protect against the loss, misuse, and\n alteration of the information under our control. Only certain employees have access to\n the information you provide us. The Certification Authority Verisign, also certifies\n this site; our customers communicate securely using the Secure Sockets Layer (SSL -\n 128bit) technology, the standard for secure communications on the Web.\n

\n

\n Kingston Wharves will not be responsible for any business lost (including loss of\n profits, revenue, contracts, anticipated savings, data, goodwill or wasted\n expenditure) or any other indirect or consequential loss that is not reasonably\n foreseeable.\n

\n

REFUND RETURN & CANCELLATION POLICY

\n

\n The Customer Service Manager will review all requests for refunds or cancellations, on\n a case-by-case basis and funds will be returned via the medium in which it was\n received. If you have any questions about the privacy statement or refund policy, the\n practices of this application, or your dealings with the application, you may contact:\n

\n \n \n \n \n \n \n

Customer Service Manager

\n \n \n \n {config?.Contact.Address}\n \n \n Telephone: {config?.Contact.Telephone}\n \n \n Fax: {config?.Contact.Fax}\n \n \n email: {config?.Contact.Email}\n \n \n \n \n \n

KWL will respond to customer service queries within two business days.

\n \n \n {showBack && \n \n \n \n }\n \n );\n }\n}\n\nconst TermsAndConditionsView = withRouter(TermsAndConditionsViewWithoutRouter);\nexport default TermsAndConditionsView;","import * as React from 'react';\nimport { Popover, Modal, Button } from 'antd';\nimport TermsAndConditionsView from 'components/Information/TermsAndConditionsView';\nimport { Link } from 'react-router-dom';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {\n showModal: boolean;\n}\n\nexport default class TermsAndConditionLink extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = { showModal: false };\n this.showModal = this.showModal.bind(this);\n this.hideModal = this.hideModal.bind(this);\n }\n\n showModal() {\n this.setState({ showModal: true });\n }\n\n hideModal() {\n this.setState({ showModal: false });\n }\n render() {\n return (\n <>\n \n Terms & Conditions\n \n \n Cancel\n ,\n ]}>\n
\n \n
\n \n \n );\n }\n}\n","import * as React from 'react';\nimport antd, {\n Form,\n Icon,\n Input,\n Button,\n Checkbox,\n Row,\n Col,\n Select,\n notification,\n message,\n Popover,\n} from 'antd';\nimport { FormComponentProps } from 'antd/lib/form';\nimport { IndividualRegistration } from 'Core/Api/UserManagement/Api';\nimport { RegistrationWizardHandler } from './RegistrationWizardHandler';\nimport { RouteComponentProps, withRouter, Route } from 'react-router';\n// import ReactInputMask from 'react-input-mask';\nimport MaskedInput from 'components/Forms/MaskedInput';\nimport FormControl from 'components/Forms/FormControl';\nimport { NavLink, Link } from 'react-router-dom';\nimport ValidationUtility from 'Core/ValidationUtility';\nimport { LeftAlignUl, ColLayout, ReCaptchaColLayout } from './RegistrationWizardForm.Styled';\nimport FormUtility from 'Core/FormUtility';\nimport TermsAndConditionsView from 'components/Information/TermsAndConditionsView';\nimport TermsAndConditionLink from 'components/Forms/TermsAndConditionLink';\nimport NotificationUtility from 'Core/NotificationUtility';\nimport ReCaptcha from '../../../ReCaptcha/ReCaptcha';\nimport { SubmitButton } from 'components/SubmitButton';\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode;\n}\n\nexport interface State {\n confirmTrue: boolean;\n}\n\nclass BaseRegistrationWizardForm extends React.Component {\n individualRegistrationHandler: RegistrationWizardHandler;\n recaptchaInstance;\n\n constructor(props: Props) {\n super(props);\n this.individualRegistrationHandler = new RegistrationWizardHandler(props);\n this.onFormSubmit = this.onFormSubmit.bind(this);\n this.recaptchaInstance = React.createRef();\n\n this.state = {\n confirmTrue: false,\n };\n }\n\n componentDidMount() {\n this.setState({});\n }\n\n onFormSubmit(event: React.FormEvent) {\n event.preventDefault();\n\n this.props.form.validateFieldsAndScroll((error, values: IndividualRegistration) => {\n if (!error) {\n this.individualRegistrationHandler\n .RegisterIndividualUser(values)\n .then(() => {\n NotificationUtility.success(\n 'Registration Success',\n 'Registration was successful, email confirmation token sent to email.',\n 1000,\n true\n );\n\n //route to email confirmation after successful registration submission\n this.props.history.push('/emailconfirmation');\n })\n .catch(x => {\n NotificationUtility.error('Issue With Registration', x.message || x, 1000, true);\n })\n .finally(() => {\n //reset recaptcha\n try {\n this.resetRecaptcha();\n } catch (ex) { }\n });\n }\n // console.log(typeof (values.primaryUser))//seen as an object\n });\n }\n\n resetRecaptcha = () => {\n if (this.recaptchaInstance.current) {\n this.recaptchaInstance.current.reset();\n this.props.form.resetFields(['reCaptchaToken']);\n }\n };\n\n //validate confirm password\n compareToFirstPassword = (rule, value, callback) => {\n const { form } = this.props;\n if (value && value !== form.getFieldValue('primaryUser.password')) {\n callback('Two passwords that you enter is inconsistent!');\n } else {\n callback();\n }\n };\n\n renderPasswordErrorMessage() {\n return (\n \n
  • Password must contain at least one number
  • \n
  • One lowercase and one uppercase letter
  • \n
  • At least six characters that are letters, numbers or the underscore
  • \n
    \n\n\n );\n }\n\n render() {\n const { getFieldDecorator, ...form } = this.props.form;\n\n return (\n \n
    \n \n \n {/* First Page */}\n \n \n }\n mask=\"999-999-999\"\n alwaysShowMask={true}\n className=\"Sumperess\"\n placeholder=\"TRN\"\n tabIndex={1}\n />\n \n\n \n }\n placeholder=\"First Name\"\n />\n \n\n \n }\n placeholder=\"Address 1\"\n />\n \n\n \n \n \n {FormUtility.parishSelector()}\n \n \n\n \n \n }\n placeholder=\"Postal Code\"\n />\n \n \n\n \n \n \n }\n placeholder=\"Password\"\n />\n \n\n\n\n \n\n \n\n \n }\n placeholder=\"Email\"\n />\n \n\n \n }\n placeholder=\"LastName\"\n />\n \n\n \n }\n placeholder=\"Address 2\"\n />\n \n\n {/* Second Page */}\n \n }\n mask=\"999-999-9999\"\n alwaysShowMask={true}\n className=\"Sumperess\"\n placeholder=\"Mobile Number\"\n />\n \n\n \n \n }\n placeholder=\"Confirm Password\"\n />\n \n \n \n\n {/* ReCAPTcha */}\n \n \n \n \n \n \n \n\n \n \n \n {getFieldDecorator('termsCon', {\n rules: [\n ...ValidationUtility.getCheckBoxChecked(\n 'Please Agree to the Terms and Conditions!'\n ),\n ],\n valuePropName: 'checked',\n initialValue: false,\n })( I Accept)}\n \n \n \n \n \n Complete Sign Up\n

    \n If you already have an account \n \n Login now!\n \n

    \n
    \n \n \n \n );\n }\n}\n\nconst RegistrationWizardFormWithoutRoute = Form.create({\n name: 'RegistrationWizard',\n})(BaseRegistrationWizardForm);\n\nconst RegistrationWizardForm = withRouter(RegistrationWizardFormWithoutRoute);\n\nexport default RegistrationWizardForm;\n","import * as React from \"react\";\nimport antd, { Row, Col } from 'antd';\nimport RegistrationWizardForm from \"../../components/Registration/RegistrationWizard/RegistrationWizardForm\";\nimport CenteredPageContainer from \"components/Layout/CenteredPageContainer\";\n\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nexport default class RegistrationWizardPage extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n return (\n \n \n \n )\n }\n}\n","import { SecuredPaymentClient } from 'Core/Api/Payment/SecuredPaymentClient';\nimport TokenUtility from 'Core/TokenUtility';\nimport ConfigUtility from 'Core/ConfigUtility';\n\nexport class TransactionsHistoryHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n async GetTransactionsHistory(id: string) {\n const client = new SecuredPaymentClient();\n client.showLoading = true;\n client.DisableToken = true;\n var config = await ConfigUtility.get();\n var authorization = TokenUtility.GetUMAToken();\n\n return client.getBillOfLadingPayments(id, 1000, 1, 'Bearer ' + authorization);\n }\n}\n","import * as React from 'react';\nimport AuthContext from 'Context/AuthContext';\nimport { TransactionsHistoryHandler } from './TransactionsHistoryHandler';\nimport { Table, Row, Col, Input, DatePicker, Button, Icon, Card, List } from 'antd';\nimport moment, { Moment } from 'moment';\nimport { string } from 'prop-types';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport FormControl from 'components/Forms/FormControl';\nimport Form, { FormComponentProps } from 'antd/lib/form';\nimport { start } from 'repl';\nimport Utility from 'Core/Utility';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport { stat } from 'fs';\nimport { SubmitButton } from 'components/SubmitButton';\n// import ValidationUtility from 'Core/ValidationUtility';\nconst { RangePicker } = DatePicker;\nconst config = ConfigUtility.getSync();\nconst dateFormat = config?.Display?.DateFormat;\n\nexport interface Props extends RouteComponentProps, FormComponentProps {\n children?: React.ReactNode;\n}\n\nexport interface State {\n ids?: string[];\n data: [{\n paymentId: string;\n totalInJmd: string;\n paymentDate: string;\n time: string;\n paymentMethod: string;\n }];\n\n filteredTransaction: [{\n paymentId: string;\n totalInJmd: string;\n paymentDate: string;\n time: string;\n paymentMethod: string;\n }];\n}\n\nclass BaseTransactionsHistoryView extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n\n handler: TransactionsHistoryHandler;\n private columns = [\n {\n title: 'Payment Reference Number',\n dataIndex: 'paymentId',\n key: 'paymentId',\n },\n {\n title: 'Amount',\n dataIndex: 'totalInJmd',\n key: 'totalInJmd',\n },\n {\n title: 'Date',\n dataIndex: 'paymentDate',\n key: 'paymentDate',\n },\n {\n title: 'Time',\n dataIndex: 'time',\n key: 'time',\n },\n {\n title: 'Method',\n dataIndex: 'paymentMethod',\n key: 'paymentMethod',\n },\n ];\n constructor(props: Props) {\n super(props);\n this.handler = new TransactionsHistoryHandler(props);\n this.state = {\n data: [{\n paymentId: '',\n totalInJmd: '',\n paymentDate: '',\n time: '',\n paymentMethod: '',\n }],\n filteredTransaction: [{\n paymentId: '',\n totalInJmd: '',\n paymentDate: '',\n time: '',\n paymentMethod: '',\n }]\n };\n\n //empty filteredTransaction of intitial value before setting\n this.state.filteredTransaction.splice(0, this.state.filteredTransaction.length)\n\n this.filterTransactionData = this.filterTransactionData.bind(this);\n }\n\n componentDidMount() {\n this.handler\n .GetTransactionsHistory(this.context.data?.id ?? \"\")\n .then(x => {\n if (x.page) {\n const paymentIds = x.page.map(y => y.paymentId?.toString() ?? \"\");\n this.setState({ ids: paymentIds });\n const data: any = [{\n paymentId: string,\n totalInJmd: string,\n paymentDate: string,\n time: string,\n paymentMethod: string,\n }];\n let totalInJmd: string;\n let paymentDate: string;\n let time: string;\n let paymentMethod: string;\n let paymentId: string;\n\n x.page.forEach((a: any) => {\n paymentDate = Utility.ToDateString(moment(a?.paymentDate));\n time = Utility.ToTimeString(moment(a?.paymentDate));\n totalInJmd = a?.totalInJmd + ' JMD';\n paymentMethod = a?.paymentMethod;\n paymentId = a?.receiptNumber;\n\n data.push({\n paymentId,\n totalInJmd,\n paymentDate,\n time,\n paymentMethod,\n });\n });\n\n\n if (x.itemCount != null && x.itemCount > 0) {\n this.setState({\n data,\n filteredTransaction: data.filter(x => x.paymentId != string)\n })\n }\n }\n })\n .catch(x => console.log(x));\n }\n\n fieldValidator = (rule: any, value: any, callback: any) => {\n const { form } = this.props;\n var searchText = form.getFieldValue('filterText');\n var dateRange = form.getFieldValue('filterDate');\n if (!searchText && !dateRange) {\n callback('Both fields cannot be null');\n } else {\n callback();\n }\n };\n\n isInString = (arr, str: string) => {\n if (!str) {\n return arr;\n } else {\n return arr.map((value: string) => {\n return String(value).toLowerCase();\n }).find((value: String) => {\n return value.includes(str.toLowerCase());\n });\n }\n }\n isInDateRange = (paymentDate: Moment, start: Moment, end: Moment) => {\n return (!start && !end) ? true : paymentDate.isBetween(start, end, 'days', '[]');\n }\n\n filterTransactionData(e: React.FormEvent) {\n e.preventDefault();\n this.props.form.validateFieldsAndScroll((error, values) => {\n if (!error) {\n const searchText = values.filterText;\n const startDate: Moment = (values.filterDate !== undefined && values.filterDate.length > 0) ? values.filterDate[0] : null;\n const endDate: Moment = (values.filterDate !== undefined && values.filterDate.length > 0) ? values.filterDate[1] : null;\n\n let filtered: any = [{\n paymentId: string,\n totalInJmd: string,\n paymentDate: string,\n time: string,\n paymentMethod: string,\n }];\n\n let transactions = [...this.state.data];\n if (!searchText && !startDate && !endDate) {\n filtered = transactions;\n } else\n filtered = transactions.filter((transaction) => {\n var paymentDate = moment(transaction.paymentDate, dateFormat);\n return (\n (this.isInDateRange(paymentDate, startDate, endDate) && this.isInString(Object.values(transaction), searchText)));\n });\n this.setState({ filteredTransaction: filtered });\n }\n });\n }\n\n render() {\n const data = this.state.filteredTransaction;\n const { getFieldDecorator } = this.props.form;\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Search\n \n \n \n \n \n \n {/* */}\n {/* */}\n \n \n
    \n \n
    \n \n {`${moment(item.paymentDate).format(\"DD/MM/YYYY\")} ${item.time}`} \n \n \n Receipt: #{item.paymentId}\n {item.totalInJmd}\n \n \n \n \n }\n />\n \n \n \n \n );\n }\n}\n\nconst TransactionsHistoryViewWithoutRouter = Form.create({\n name: 'TransactionsHistoryView'\n})(BaseTransactionsHistoryView);\n\nconst TransactionsHistoryView = withRouter(TransactionsHistoryViewWithoutRouter);\n\nexport default TransactionsHistoryView;","import * as React from 'react';\nimport TransactionsHistoryView from '../../components/Transactions/TransactionsHistoryView';\nimport CenteredPageContainer from 'components/Layout/CenteredPageContainer';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nexport default class TransactionHistoryPage extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return (\n \n \n \n )\n }\n}\n","import { SecuredUserManagementClient } from \"Core/Api/UserManagement/SecuredUserManagementClient\";\nimport Utility from \"Core/Utility\";\nimport { ErrorResultModel } from \"Core/Api/UserManagement/Api\";\n\n\nexport class LoginForgetPasswordHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n SendResetPasswordToken(email: string) {\n let client = new SecuredUserManagementClient();\n return client.authentication_SendResetPasswordToken(email).\n catch(Utility.formatError);\n }\n}\n","import * as React from 'react';\nimport { Form, Row, Col, Input, Icon, Button, notification } from 'antd';\nimport FormControl from 'components/Forms/FormControl';\nimport { FormComponentProps } from 'antd/lib/form';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { LoginForgetPasswordHandler } from './LoginForgetPasswordFormHandler';\nimport { NavLink } from 'react-router-dom';\nimport NotificationUtility from 'Core/NotificationUtility';\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nclass BaseLoginForgetPasswordForm extends React.Component {\n loginForgetPasswordHandler: LoginForgetPasswordHandler;\n constructor(props: Props) {\n super(props);\n this.onFormSubmit = this.onFormSubmit.bind(this);\n this.loginForgetPasswordHandler = new LoginForgetPasswordHandler(props);\n\n this.state = {};\n }\n\n onFormSubmit(event: React.FormEvent) {\n event.preventDefault();\n\n this.props.form.validateFieldsAndScroll((error, values: any) => {\n if (!error) {\n this.loginForgetPasswordHandler\n .SendResetPasswordToken(values.emailAddress)\n .then((x: any) => {\n NotificationUtility.info('Sent verification token to email address', x, 30, true);\n\n //route to forget password confirmation page after sending token to email \n this.props.history.push('/forget-password-complete');\n })\n .catch(x => {\n NotificationUtility.error('Error While Sending Email Token', x.message ?? x, 30, true);\n });\n }\n });\n }\n\n render() {\n const { getFieldDecorator, ...formProps } = this.props.form;\n const InputLayout = {\n labelCol: {\n xs: { span: 24, },\n sm: { span: 24, },\n md: { span: 24, },\n lg: { span: 5, },\n xl: { span: 5, },\n },\n wrapperCol: {\n xs: { span: 22 },\n sm: { span: 22, },\n md: { span: 22, },\n lg: { span: 19, },\n xl: { span: 19, },\n },\n };\n return (\n
    \n \n
    \n

    Forgot Password

    \n

    Enter email below to receive your password reset token

    \n \n \n \n \n \n }\n placeholder=\"Email\"\n />\n \n \n \n\n \n \n \n \n \n \n \n \n \n

    \n Already received your reset token?{' '}\n Click Here\n

    \n \n \n \n \n \n );\n }\n}\n\nconst LoginForgetPasswordFormWithoutRoute = Form.create({\n name: 'LoginForgetPassword',\n})(BaseLoginForgetPasswordForm);\n\nconst LoginForgetPasswordForm = withRouter(LoginForgetPasswordFormWithoutRoute);\n\nexport default LoginForgetPasswordForm;\n","import * as React from \"react\";\nimport { Row, Col } from \"antd\";\nimport LoginForgetPasswordForm from \"components/UserManagement/ForgetPassword/LoginForgetPasswordForm\";\nimport { Helmet } from \"react-helmet\";\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nexport default class ForgetPasswordPage extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n return (\n \n Forget Password\n \n \n \n \n )\n }\n}\n","import React from \"react\";\nimport { Row, Col } from \"antd\";\nimport styled from 'styled-components';\nimport StrippingSchedule from \"components/Schedule/StrippingSchedule\";\nimport CenteredPageContainer from \"components/Layout/CenteredPageContainer\";\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nconst TallCol = styled(Col)`\n height: 100%;\n min-height: 200px;\n`;\n\n\nexport default class StrippingSchedulePage extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n return (\n \n \n \n )\n }\n}\n","import antd, { Form, Collapse, Row } from 'antd';\nimport styled from 'styled-components';\nimport CollapsePanel from 'antd/lib/collapse/CollapsePanel';\nimport { ColSize } from 'antd/lib/col';\n\ndeclare type ColSpanType = ColSize;\n\n//in use\nexport const StyleCargoChargesSearch = styled(Form)`\n // margin: 80px;\n display: inline;\n background-color: orange;\n\n button {\n width: 150px;\n }\n`;\n\nexport const ButtonColLayout: { [key: string]: ColSpanType } = {\n xxs: { span: 18 },\n xs: { span: 18 },\n sm: { span: 18 },\n md: { span: 18 },\n lg: { span: 10 },\n xl: { span: 8 },\n xxl: { span: 8 },\n};","import * as React from 'react';\n\nexport interface Props {\n children?: React.ReactNode;\n condition?: boolean | any;\n}\n\nexport interface State {}\n\nexport default class ShowIfTrue extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return <>{this.props.condition && this.props.children};\n }\n}\n","import React from 'react';\nimport { Moment } from 'moment';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport moment from 'moment';\nimport ShowIfTrue from '../ShowIfTrue';\ninterface Props {\n date?: Moment;\n\n}\n\nexport default ({ date }: Props) => {\n let config = ConfigUtility.getSync();\n let currentTimezone = moment().utcOffset() / 60;\n return ;\n}","import * as React from 'react';\nimport { Row, Col, Form, Button, DatePicker, Input, Tooltip, Icon, Layout } from 'antd';\nimport FilterTextbox from 'components/Forms/DataGrid/FilterTextbox';\nimport InfoIcon from 'components/Forms/InfoIcon';\nimport FormControl from 'components/Forms/FormControl';\nimport { FormComponentProps } from 'antd/lib/form';\nimport { RouteComponentProps, withRouter } from 'react-router-dom';\nimport { StyleCargoChargesSearch as StyleCargoChargesSearchForm, ButtonColLayout } from './CargoChargesSearchBar.Style';\nimport moment, { Moment } from 'moment';\nimport { centeredRowAttributes } from 'components/Styled/Layout.Styled';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport AuthContext from 'Context/AuthContext';\nimport { SubmitButton } from 'components/SubmitButton';\nimport ShowIfTrue from 'components/Forms/ShowIfTrue';\nimport Utility from 'Core/Utility';\nimport { DateInJamaicaLabel } from 'components/Forms/DateInJamaicaLabel';\n// import { InfoCircleOutlined } from '@ant-design/icons';\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode;\n search(bolNumber: string, storageDate: Moment): any; //pass search model\n}\n\nexport interface State {\n localTimeZone?: number;\n selectedDate?: Moment;\n}\n\nclass BaseCargoChargesSearchBar extends React.Component {\n static contextType = AuthContext;\n config = ConfigUtility.getSync();\n context!: React.ContextType;\n constructor(props: Props) {\n super(props);\n this.onSearch = this.onSearch.bind(this);\n\n this.state = {};\n }\n\n formItemLayout = {\n labelCol: {\n xs: { span: 24 },\n sm: { span: 8 },\n },\n wrapperCol: {\n xs: { span: 24 },\n sm: { span: 16 },\n },\n };\n\n inputColSize = {\n xs: { span: 20 },\n sm: { span: 20 },\n //: md={{ spa,: 8, offset: 8 }}\n lg: { span: 15 },\n xl: { span: 15 },\n };\n\n componentDidMount() {\n this.setState({ localTimeZone: moment().utcOffset() / 60 });\n }\n\n onSearch(event: React.FormEvent) {\n event.preventDefault();\n\n this.props.form.validateFieldsAndScroll((error, values: any) => {\n if (!error) {\n let fullDate = values.storageDate as Moment;\n // Converts the time to the country (Jamaica in this case) timezone\n let localizedDate = Utility.ConvertToStandardTimezone(fullDate);\n\n this.props.search(values.bolNumber, localizedDate);\n this.props.form.resetFields();\n }\n });\n }\n\n\n\n //NEED A CLEAR SEARCH BAR\n render() {\n // var {SearchBar_Search} = this.props;\n const { getFieldDecorator } = this.props.form;\n const config = ConfigUtility.getSync();\n const dateFormat = config?.Display?.DateFormat;\n const landingNumberToolTip = (\n

    \n {`A Bill of Lading number is a unique number used to identify the cargo you have shipped. This number is provided to you by your shipping agent`}\n

    \n );\n const pickupDateToolTip = (\n

    \n {`Select the date you intend to pick-up your cargo. This date is used to calculate all charges that are due up to that date`}\n

    \n );\n\n return (\n //
    \n \n \n
    \n \n \n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n
    Your Time Zone places you outside of Jamaica.
    Pickup Date selected will be converted to the Jamaican equivalent.
    \n \n \n \n \n {/* */}\n \n \n \n\n } placeholder=\"Select a Pickup Date\" onChange={(date) => this.setState({ selectedDate: date?.clone() ?? undefined })} className=\"datePicker\" format={dateFormat} disabledDate={Utility.getDisableBOLDates()} />\n\n \n \n \n \n \n \n \n \n\n \n \n \n \n \n Search BL\n \n \n {/* {this.context.data?.customerCode ? */}\n {/* \n \n \n \n */}\n {/* :\n null\n } */}\n \n \n \n \n );\n }\n\n DisableDates() {\n if (this.state.localTimeZone! > this.config!.Display!.StandardTimeZone) {\n return (current) => current ? (current && current < moment().add(-2, \"day\")) : (false);\n } else {\n return (current) => current ? (current && current < moment().add(-1, \"day\")) : (false);\n }\n }\n}\n\nconst CargoChargesSearchBarWithoutRouter = Form.create({\n name: 'CargoChargesSearchBar',\n})(BaseCargoChargesSearchBar);\n\nconst CargoChargesSearchBar = withRouter(CargoChargesSearchBarWithoutRouter);\n\nexport default CargoChargesSearchBar;\n","import antd, { Form, Collapse, Row, Col } from 'antd';\nimport styled from 'styled-components';\nimport ScreenHelper from 'components/Styled/ScreenHelper';\nimport CollapsePanel from 'antd/lib/collapse/CollapsePanel';\n\nexport const StyleCargoChargesForm = styled(Form)`\n ${ScreenHelper.up('lg', 'xl')`\n font-size: 17px; \n margin-top: 50px;\n }\n`}\n`;\n\n//in use - results\nexport const StyleCargoChargesResultContainer = styled(Col)`\n margin-top: 30px;\n ${ScreenHelper.down('sm', 'xs')`\n margin-top: 20px;\n `}\n }\n`;\n\n//in use - form\nexport const StyleCargoChargesRow = styled(Row)`\n margin-bottom: 20px;\n .datePicker {\n width: 100%;\n }\n\n ${ScreenHelper.down('sm', 'xs')`\nmargin-top: 15px;\n }\n `}\n`;\n\n//in use - list\nexport const StyleCargoChargesPanel = styled(CollapsePanel)`\n ${ScreenHelper.up('lg', 'xl')`\n font-size: 17px; \n .ant-collapse-content > .ant-collapse-content-box {\n padding: 14px 45px 14px;\n }\n `}\n\n .table-header {\n font-size: 17px;\n }\n`;\n\nexport const StyleCargoChargesCollapse = styled(Collapse)`\n text-align: left;\n`;\n","import * as React from 'react';\nimport { Card, Form, Row, Col, Collapse, Table, Button, Icon, Empty } from 'antd';\nimport { BolChargesResponseDto } from 'Core/Api/APMProxy/Api';\nimport { CargoChargesHandler } from '../CargoChargesForm/CargoChargesFormHandler';\nimport { IBolCharge } from 'Core/Api/Payment/Api';\nimport {\n StyleCargoChargesCollapse,\n StyleCargoChargesPanel,\n StyleCargoChargesResultContainer,\n} from '../CargoCharges.Style';\nimport CargoChargesResultModel, { CargesModel } from './CargoChargesResultsModel';\nimport moment, { Moment } from 'moment';\nimport { CargoChargeItem } from '.';\nimport { RouteComponentProps, withRouter } from 'react-router-dom';\n\nexport interface Props {\n children?: React.ReactNode;\n results: Array;\n updatePickupDate: (string, Moment) => void;\n removeShipment: (cargo: CargoChargesResultModel) => void;\n}\n\nexport interface State {\n data: Array;\n}\n\nexport default class CargoChargesResults extends React.Component {\n constructor(props: Props) {\n super(props);\n }\n\n render() {\n return (\n <>\n {!this.props.results || this.props.results!.length <= 0 ? (\n \n ) : (\n \n {this.props.results.slice(0).reverse().map((cargoCharge, key) => (\n \n ))}\n \n )}\n \n );\n }\n}\n","import React, { useDebugValue } from 'react';\nimport { UpdatableContext } from './UpdatableContext';\nimport { Cart } from 'Core/Api/Kopp/Api';\n\nconst data = undefined;\nconst Update = () => {};\n\nconst CartContext = React.createContext>({ data, Update });\n\nexport default CartContext;\n","import { SecuredKoppClient } from \"Core/Api/Kopp/SecuredKoppClient\";\nimport CargoChargesResultModel from \"../CargoChargesResultsModel\";\nimport { UpsertToCartCommandRequest, RemoveFromCartCommandRequest } from \"Core/Api/Kopp/Api\";\n\nexport class CargoChargeItemHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n UpsertToCart(cartItem: CargoChargesResultModel) {\n const client = new SecuredKoppClient();\n client.showLoading = true;\n client.handleGeneralError = false;\n let request = new UpsertToCartCommandRequest();\n request.itemReference = cartItem.bolNumber;\n request.pickupDate = cartItem.storageDueDate?.toISOString(true);\n request.additionalInfo = JSON.stringify(cartItem.charges);\n request.cost = cartItem.total;\n return client.upsertToCart(request);\n }\n\n RemoveFromCart(cartItem: CargoChargesResultModel) {\n const client = new SecuredKoppClient();\n client.showLoading = true;\n client.handleGeneralError = false;\n let request = new RemoveFromCartCommandRequest();\n request.itemReference = cartItem.bolNumber;\n return client.removeFromCart(request);\n }\n}\n","import { SecuredKoppClient } from '../../Core/Api/Kopp/SecuredKoppClient';\nimport {\n SlimUser,\n LoginCommandRequest,\n CartItem,\n UpsertToCartCommandRequest,\n RemoveFromCartCommandRequest,\n EmptyCartCommandRequest,\n} from '../../Core/Api/Kopp/Api';\nimport { Cart, GetCartCommandRequest, GetCartCommandResponse } from '../../Core/Api/Kopp/Api';\n\nexport class CartHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n GetCart(): Promise {\n const client = new SecuredKoppClient();\n const request = new GetCartCommandRequest();\n\n client.showLoading = false;\n client.handleSecurityError = false;\n client.handleGeneralError = false;\n return client.getCart(request).catch(x => {\n //Assume user not logged in and handle the error here\n return undefined;\n });\n }\n\n UpsertToCart(cartItem: CartItem) {\n const client = new SecuredKoppClient();\n client.showLoading = true;\n client.handleGeneralError = true;\n let request = new UpsertToCartCommandRequest();\n request.itemReference = cartItem.itemReference;\n request.pickupDate = cartItem.pickupDate;\n request.additionalInfo = cartItem.additionalInfo;\n request.cost = cartItem.cost;\n return client.upsertToCart(request);\n }\n\n RemoveFromCart(itemReference: string) {\n const client = new SecuredKoppClient();\n client.showLoading = true;\n client.handleGeneralError = true;\n let request = new RemoveFromCartCommandRequest();\n request.itemReference = itemReference;\n return client.removeFromCart(request);\n }\n\n EmptyCart() {\n const client = new SecuredKoppClient();\n client.showLoading = true;\n client.handleGeneralError = true;\n const request = new EmptyCartCommandRequest();\n return client.emptyCart(request);\n }\n}\n","import Utility from 'Core/Utility';\nimport { SecuredAPMProxyClient } from 'Core/Api/APMProxy/SecuredAPMProxyClient';\nimport { SwaggerException, BolChargesResponseDto } from 'Core/Api/APMProxy/Api';\nimport CargoChargesSearchModel from '../CargoChargesSearchBar/CCSearchBarModel';\n// import CargoChargesResultModel, { CargesModel } from \"../CargoChargesResults/CargoChargesResultsModel\";\nimport CargoChargesResultModel from '../CargoChargesResults/CargoChargesResultsModel';\nimport moment from 'moment';\n\nexport class CargoChargesHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n GetBillOfLadingCharges(cargoSeach: CargoChargesSearchModel): Promise {\n let client = new SecuredAPMProxyClient();\n client.showLoading = true;\n\n var results: CargoChargesResultModel;\n const storagetoDate = cargoSeach.storageToDate.format('YYYYMMDD');\n return client.getBillOfLadingCharges(cargoSeach.bolNumber, storagetoDate).then(x => {\n if (x.errors !== undefined && x.errors.length) {\n throw Error(x.errors[0]);\n }\n\n if (x.bolReferenceNos !== undefined && x.data !== undefined) {\n results = {\n bolNumber: cargoSeach.bolNumber,\n refNumber: x.bolReferenceNos[0],\n storageDueDate: moment.parseZone(cargoSeach.storageToDate),\n charges: x.data,\n total: Number.parseFloat(x.data.reduce((p, c) => p + c.chargeAmount!, 0).toFixed(2)),\n };\n }\n return results;\n });\n }\n\n GetRawBillOfLadingCharges(cargoSeach: CargoChargesSearchModel): Promise {\n let client = new SecuredAPMProxyClient();\n client.showLoading = true;\n\n var results: CargoChargesResultModel;\n const storagetoDate = cargoSeach.storageToDate.format('YYYYMMDD');\n return client.getBillOfLadingCharges(cargoSeach.bolNumber, storagetoDate);\n }\n}\n","import * as React from 'react';\nimport { CartItem, Cart } from 'Core/Api/Kopp/Api';\nimport { List, Button, Collapse, Row, Col, message, Table, Tooltip, Icon, Popover } from 'antd';\nimport { BorderlessCollapse } from 'components/Styled/Layout.Styled';\nimport moment, { Moment } from 'moment';\nimport { CargesModel } from 'components/CargoCharges/CargoChargesResults/CargoChargesResultsModel';\nimport { ColumnProps } from 'antd/lib/table';\nimport { CartHandler } from '../CartHandler';\nimport { CargoChargesHandler } from 'components/CargoCharges/CargoChargesForm/CargoChargesFormHandler';\nimport { CargoChargeItemHandler } from 'components/CargoCharges/CargoChargesResults/CargoChargeItem/CargoChargeItemHandler';\nimport Utility from 'Core/Utility';\nimport { CartItemChangeDateForm } from '.';\nimport NotificationUtility from 'Core/NotificationUtility';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport styled from \"styled-components\";\n\nexport interface Props {\n cartItem: CartItem;\n updateCart(cart?: Cart);\n}\n\nexport interface State {\n cartItem?: CartItem;\n updating: boolean;\n isRemoved?: boolean;\n}\n\nexport default class CartItemListItem extends React.Component {\n handler: CartHandler;\n config = ConfigUtility.getSync();\n\n cargoChargesHandler: CargoChargesHandler;\n cargoChargeItemHandler: CargoChargeItemHandler;\n constructor(props: Props) {\n super(props);\n this.handler = new CartHandler(props);\n this.cargoChargesHandler = new CargoChargesHandler(props);\n this.cargoChargeItemHandler = new CargoChargeItemHandler(props);\n const cartItem = props.cartItem;\n this.state = { cartItem, updating: false };\n this.updateCartItemDate = this.updateCartItemDate.bind(this);\n }\n\n chargeTableColums: Array> = [\n {\n title: 'Charge',\n dataIndex: 'chargeType',\n key: 'chargeType',\n },\n {\n title: 'Amount',\n dataIndex: 'chargeAmount',\n key: 'chargeAmount',\n },\n ];\n\n componentDidMount() {\n this.UpdateCartItemIfStale(this.props.cartItem);\n }\n\n UpdateCartItemIfStale(cartItem: CartItem) {\n // Will always check cart item on coming to page.\n this.UpdateCartItem(cartItem);\n\n }\n\n private UpdateCartItem(cartItem: CartItem) {\n const pickupDate = moment.parseZone(cartItem.pickupDate);\n if (pickupDate.isBefore(moment.now(), 'day')) {\n cartItem.pickupDate = Utility.ConvertToStandardTimezone(moment()).toISOString(true);\n }\n this.setState({ updating: true });\n const me = this; // ensuring that we don't lose what this is\n // since we are going to nest twice\n // We are going to search for the bol charges then (if successful),\n // update the cart on the server with it then (if successful) update\n // or client with it..\n const bolSearch = { bolNumber: cartItem.itemReference!, storageToDate: moment.parseZone(cartItem.pickupDate) };\n return this.cargoChargesHandler\n .GetBillOfLadingCharges(bolSearch)\n .then(cargoChargesResults => {\n\n if (cargoChargesResults.total == 0) {\n me.removeFromCart(me.props.cartItem, false);\n NotificationUtility.info(\"Cart Item Removed\", \"Item that was in cart has no charge and was removed\");\n this.setState({ updating: false });\n }\n\n // while getting information, I have been removed\n if (this.state.isRemoved) { return; }\n\n me.cargoChargeItemHandler\n .UpsertToCart(cargoChargesResults)\n .then(cartResult => {\n this.props.updateCart(cartResult.cart);\n this.setState({ updating: false });\n })\n .catch(x => {\n this.setState({ updating: false });\n });\n })\n .catch(cargoChargesError => {\n this.setState({ updating: false });\n });\n }\n\n removeFromCart(cartItem: CartItem, showMessage: boolean = true) {\n\n this.handler.RemoveFromCart(cartItem.itemReference!).then(x => {\n this.setState({ isRemoved: true }, () => {\n this.props.updateCart(x.cart);\n if (showMessage) {\n // message.info('Item Removed from Cart.');\n NotificationUtility.info(\n 'Item Removed',\n 'Item was successfully removed from the cart.',\n 25,\n true\n );\n }\n }\n );\n });\n }\n\n renderChargeItems(additionalInfo: string | undefined): React.ReactNode {\n if (!additionalInfo) {\n return <>;\n }\n\n let cargeItem: CargesModel[];\n try {\n cargeItem = JSON.parse(additionalInfo);\n } catch (err) {\n return <>;\n }\n\n const StyledTable = styled((props) =>
    )`\n && tbody > tr > td {\n border-bottom: 0px solid #f0f0f0;\n }\n `;\n\n return (\n 3 && {}}\n dataSource={cargeItem}\n columns={this.chargeTableColums}\n />\n );\n }\n\n updateCartItemDate(newDate: Moment) {\n const cart = this.props.cartItem;\n cart.pickupDate = newDate.toISOString(true);\n this.UpdateCartItem(cart).then(x => {\n // message.success('Updated Pick-up date');\n NotificationUtility.info(\n 'Updated Pick-up date',\n \"Cart item's Pick-up date was successfully updated.\",\n 25,\n true\n );\n });\n }\n\n renderCurrentIcon() {\n // If you are updating then show a spinner\n if (this.state.updating) {\n return (\n \n \n \n );\n }\n\n const updateDate = moment(this.props.cartItem.updateDate);\n // Now that you are finished updating, you either are upto date or something when wrong\n if (updateDate.isValid() && updateDate.isSameOrAfter(moment.now(), 'day')) {\n return (\n \n \n \n );\n } else {\n return (\n \n Charges may be different because this is not update.{' '}\n \n e.stopPropagation() == undefined &&\n this.UpdateCartItemIfStale(this.props.cartItem)\n }>\n Refresh\n \n

    \n }>\n \n \n );\n }\n }\n\n render() {\n let cartItem = this.props.cartItem;\n return (\n this.removeFromCart(cartItem)} style={{ border: \"0px\" }} size=\"large\">]}>\n \n \n
    \n Pick-up Date: {Utility.ToDateString(moment.parseZone(cartItem.pickupDate))}\n \n \n \n {cartItem.updateDate && Utility.ToDateString(moment(cartItem.updateDate))}\n {this.renderCurrentIcon()}\n \n \n JMD$ {cartItem.cost}\n \n \n }>\n {this.renderChargeItems(cartItem.additionalInfo)}\n \n \n }\n />\n \n );\n }\n}\n","import * as React from 'react';\nimport Form, { FormComponentProps } from 'antd/lib/form';\nimport { Row, Col, DatePicker, Button, Tooltip, Icon, Popover } from 'antd';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport FormControl from 'components/Forms/FormControl';\nimport moment, { Moment } from 'moment';\nimport { ButtonSize } from 'antd/lib/button';\nimport Utility from 'Core/Utility';\nimport { DateInJamaicaLabel } from 'components/Forms/DateInJamaicaLabel';\nimport ShowIfTrue from 'components/Forms/ShowIfTrue';\n\nexport interface Props extends FormComponentProps {\n children?: React.ReactNode;\n currentDate?: Moment;\n UpdatedDate: (date: Moment) => void;\n buttonText?: string;\n buttonSize?: ButtonSize;\n\n}\n\nexport interface State {\n showPopup?: boolean;\n selectedDate?: Moment\n}\n\nexport class CartItemChangeDateFormWithoutForms extends React.Component {\n config = ConfigUtility.getSync();\n static defaultProps: Props = {\n buttonText: \"Change Pickup Date \",\n UpdatedDate: () => { },\n form: {} as any,\n buttonSize: \"small\",\n }\n\n popoverRef: React.Ref;\n\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n this.popoverRef = React.createRef();\n }\n\n\n onSubmit(event: React.FormEvent) {\n event.preventDefault();\n\n this.props.form.validateFieldsAndScroll((error, values: any) => {\n if (!error) {\n let fullDate = values.pickupDate as Moment;\n fullDate = fullDate.clone().set(\"hour\", moment().hour());\n let localizedDate: Moment | undefined = undefined;\n\n if (fullDate.utcOffset() != this.config!.Display.StandardTimeZone * 60) {\n localizedDate = fullDate.clone().utcOffset(this.config?.Display.StandardTimeZone ?? -5);\n } else {\n localizedDate = fullDate.clone();\n }\n\n this.props.UpdatedDate(localizedDate);\n ((this.popoverRef as any).current.getPopupDomNode() as HTMLDivElement).innerHTML = \"\";\n }\n });\n\n }\n\n renderPopoverTitle() {\n return (\n <>\n
    e.stopPropagation()}>\n Change Pickup Date\n You can change the pickup date for this item. This may incur additional charges.Your Time Zone places you outside of Jamaica. Pickup Date selected will be converted to the Jamaican equivalent.}>\n \n \n
    \n \n );\n }\n\n render() {\n return (\n \n \n \n );\n }\n\n renderForm() {\n const { getFieldDecorator } = this.props.form;\n const config = ConfigUtility.getSync();\n const dateFormat = config?.Display?.DateFormat;\n\n return (\n e.stopPropagation()} onSubmit={(e) => !(e.stopPropagation() != undefined) && this.onSubmit(e)} layout=\"inline\">\n \n
    \n Your Time Zone places you outside of Jamaica. Pickup Date selected will be converted to the Jamaican equivalent.\n \n \n \n \n }\n name=\"pickupDate\">\n this.setState({ selectedDate: date ?? undefined })}\n className=\"datePicker\"\n format={dateFormat}\n placeholder=\"Select new date\"\n disabledDate={Utility.getDisableBOLDates()}\n />\n \n\n \n \n \n \n );\n }\n}\n\nconst CartItemChangeDateForm = Form.create({\n name: \"CartItemChangeDateForm\"\n})(CartItemChangeDateFormWithoutForms);\n\nexport default CartItemChangeDateForm;","import * as React from \"react\";\nimport { Row, Col, Collapse, Icon, Button, message, Tooltip, Tag } from \"antd\";\nimport { StyleCargoChargesPanel } from \"components/CargoCharges/CargoCharges.Style\";\nimport { result, debounce } from \"lodash\";\nimport moment, { Moment } from \"moment\";\nimport CargoChargesResultModel, { CargesModel } from \"../CargoChargesResultsModel\";\nimport CartContext from \"Context/CartContext\";\nimport { SyntheticEvent } from \"react\";\nimport { CargoChargeItemHandler } from \"./CargoChargeItemHandler\";\nimport { centeredRowAttributes } from \"components/Styled/Layout.Styled\";\nimport Column from \"antd/lib/table/Column\";\nimport Table, { ColumnProps } from \"antd/lib/table\";\nimport Utility from \"Core/Utility\";\nimport NotificationUtility from 'Core/NotificationUtility';\nimport { CartItemChangeDateForm } from \"components/CartManagement/CartItemListItem\";\n\nexport interface Props {\n cargoCharge: CargoChargesResultModel\n children?: React.ReactNode,\n updatePickupDate: (string, Moment) => void;\n removeShipment: (cargo: CargoChargesResultModel) => void;\n}\n\nexport interface State {\n isInCart: boolean;\n}\n\n\n\nexport default class CargoChargeItem extends React.Component {\n static contextType = CartContext;\n context!: React.ContextType;\n handler: CargoChargeItemHandler;\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n isInCart: false\n }\n this.addToCart = debounce(this.addToCart.bind(this), 1000);\n this.removeFromCart = debounce(this.removeFromCart.bind(this), 1000);\n this.handler = new CargoChargeItemHandler(props);\n this.updateCartItemDate = this.updateCartItemDate.bind(this);\n this.removeShipment = this.removeShipment.bind(this);\n }\n panelColLayout = {\n xs: { span: 24 },\n sm: { span: 24 },\n lg: { span: 24 },\n xl: { span: 24 },\n }\n\n removeFromCart(event: SyntheticEvent) {\n event.stopPropagation();\n this.handler.RemoveFromCart(this.props.cargoCharge).then(x => {\n this.context.Update(x.cart);\n NotificationUtility.info('Cart Updated', '', 5, true);\n });\n }\n\n addToCart(event: SyntheticEvent): boolean {\n event.stopPropagation();\n return this.UpsertToCart(this.props.cargoCharge, \"Add\");\n }\n\n private UpsertToCart(cargoCharge: CargoChargesResultModel, buttonPressed: string) {\n let isUpdated: boolean = false;\n let total = cargoCharge.total;\n if (Number(total) > 0) {\n this.handler.UpsertToCart(cargoCharge).then(x => {\n this.context.Update(x.cart);\n if (buttonPressed == \"Update\") {\n NotificationUtility.info(\n 'Pick-up Date Updated',\n `Shipment with BOL ${cargoCharge.bolNumber?.toUpperCase()} pick-up date was updated in the cart.`,\n 5,\n true);\n }\n else {\n NotificationUtility.success(\n 'Item Added To Cart',\n `Shipment with BOL ${cargoCharge.bolNumber?.toUpperCase()} was added to the cart.`,\n 5,\n true);\n }\n });\n isUpdated = true;\n } else {\n NotificationUtility.warning(\"No Charge\", \"Shipments with charge of zero cannot be added to the cart\", 5, true);\n }\n\n return isUpdated;\n }\n\n componentDidMount() {\n if (this.isBolNumberAlreadyInCart()) {\n this.setState({ isInCart: true });\n }\n }\n\n componentDidUpdate(prevProps: Props, pervState: State) {\n if (this.isBolNumberAlreadyInCart() && !this.state.isInCart) {\n this.setState({ isInCart: true });\n }\n\n if (!this.isBolNumberAlreadyInCart() && this.state.isInCart) {\n this.setState({ isInCart: false });\n }\n }\n\n isBolNumberAlreadyInCart() {\n return !!this.context.data?.cartItems?.filter(x => x.itemReference == this.props.cargoCharge.bolNumber).length;\n }\n\n renderCharges(charges: Array | undefined) {\n\n if (!charges) {\n return <>;\n }\n\n const chargeTableColums: Array> = [\n {\n title: 'Charge',\n dataIndex: 'chargeType',\n key: 'chargeType',\n },\n {\n title: 'Amount',\n dataIndex: 'chargeAmount',\n key: 'chargeAmount',\n },\n ];\n\n return (\n \n pagination={charges.length < 3 && false}\n dataSource={charges}\n columns={chargeTableColums}\n />\n );\n }\n\n updateCartItemDate(newDate: Moment) {\n const updatedCargoCharges = this.props.cargoCharge;\n updatedCargoCharges.storageDueDate = newDate;\n\n if (this.state.isInCart) {\n this.UpsertToCart(updatedCargoCharges, \"Update\");\n } else {\n this.props.updatePickupDate(updatedCargoCharges.bolNumber, newDate);\n }\n\n }\n removeShipment(e: React.FormEvent) {\n e.preventDefault();\n this.props.removeShipment(this.props.cargoCharge);\n }\n\n render() {\n let result = this.props.cargoCharge;\n return (\n \n \n (\n \n )}\n expandIconPosition=\"left\">\n \n \n \n

    Bill of Lading:
    {result.bolNumber?.toUpperCase()}

    \n \n \n

    Pickup Date:
    {Utility.ToDateString(moment(result.storageDueDate))}

    \n \n \n

    Total:
    JMD$ {result.total}

    \n \n \n \n \n \n {\n this.state.isInCart ?\n In Cart\n :\n \n }\n \n {this.state.isInCart ? <> :\n <>\n \n \n \n\n }\n \n \n\n }\n key={result.bolNumber!}>\n \n \n Breakdown of Charges\n \n \n {this.renderCharges(result.charges)}\n \n \n \n \n )\n }\n}\n","import * as React from \"react\";\nimport { Row, Col, Button } from \"antd\";\nimport CartContext from \"Context/CartContext\";\n\nexport interface Props {\n children?: React.ReactNode,\n goToCartPage: Function\n}\n\nexport interface State {\n}\n\nexport default class ProceedToCartButton extends React.Component {\n static contextType = CartContext;\n context!: React.ContextType;\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n const { goToCartPage } = this.props;\n const context = this.context.data?.cartItems?.length;\n return (\n \n \n \n \n \n )\n }\n}\n","import * as React from 'react';\nimport Cookies from 'js-cookie';\nimport CargoChargesSearchBar from '../CargoChargesSearchBar';\nimport { Row, Col, Form, message, Button } from 'antd';\nimport CargoChargesResults from '../CargoChargesResults';\nimport { CargoChargesHandler } from './CargoChargesFormHandler';\nimport { FormComponentProps } from 'antd/lib/form';\nimport { RouteComponentProps, withRouter, NavLink } from 'react-router-dom';\nimport CargoChargesSearchModel from '../CargoChargesSearchBar/CCSearchBarModel';\nimport { StyleCargoChargesRow } from '../CargoCharges.Style';\nimport CargoChargesResultModel from '../CargoChargesResults/CargoChargesResultsModel';\nimport moment, { Moment } from 'moment';\nimport Utility from 'Core/Utility';\nimport AuthContext from 'Context/AuthContext';\nimport NotificationUtility from 'Core/NotificationUtility';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport ProceedToCartButton from './ProceedToCartButton';\nimport * as QueryString from \"query-string\";\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode;\n checkoutButtonRoute?: string;\n hideCheckoutButton?: boolean;\n}\n\nexport interface State {\n results: Array;\n customerCodebolNo?: string\n\n}\n\nclass BaseCargoChargesForm extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n cargoChargesHandler: CargoChargesHandler;\n retainBOLCookieName: string;\n\n bolQueryParamName = 'boln';\n\n constructor(props: Props) {\n super(props);\n this.cargoChargesHandler = new CargoChargesHandler(props);\n this.SearchBar_Search = this.SearchBar_Search.bind(this);\n this.removeShipment = this.removeShipment.bind(this);\n this.goToCartPage = this.goToCartPage.bind(this);\n this.retainBOLCookieName = '';\n this.state = {\n results: [],\n };\n }\n\n componentDidMount() {\n const queryData = new URLSearchParams(this.props.location.search);\n\n if (queryData.has(this.bolQueryParamName) && queryData.get(this.bolQueryParamName)) {\n const bolNumber = queryData.get(this.bolQueryParamName)!;\n const tomorrow = moment().add(1, \"d\");\n this.SearchBar_Search(bolNumber, tomorrow);\n\n }\n\n if (QueryString.parse(this.props.location.search) !== undefined) {\n const { bolNo } = QueryString.parse(this.props.location.search);\n if (bolNo != null || bolNo != undefined) {\n let tempDate = moment();\n this.SearchBar_Search(bolNo, tempDate);\n this.setState({ customerCodebolNo: bolNo })\n }\n else {\n //NotificationUtility.error(\"No Bill of Laden with that number found.\", \"\", 30, true);\n //TODO: CHANGE TO CLICK N GO PAGE WHEN IT IS OFFICIALLY CREATED\n // this.props.history.push(\"/home\");\n }\n }\n\n }\n\n //remember to pass data down\n SearchBar_Search(bolNumber: string, storageToDate: Moment) {\n var cargoSearch: CargoChargesSearchModel;\n cargoSearch = {\n bolNumber: this.state.customerCodebolNo ? this.state.customerCodebolNo : bolNumber,\n storageToDate: this.state.customerCodebolNo ? moment() : storageToDate,\n };\n\n this.cargoChargesHandler\n .GetBillOfLadingCharges(cargoSearch)\n .then(foundBol => {\n const { results } = this.state;\n const existingBol = results.filter(x => x.bolNumber?.toLowerCase() === foundBol.bolNumber?.toLowerCase());\n var total = foundBol!.total ?? 0;\n foundBol.bolNumber = foundBol.bolNumber?.toUpperCase();\n if (foundBol && total <= 0) {\n // charge is 0, cannot add it.\n NotificationUtility.info(\n 'Already Paid',\n `BOL ${foundBol.bolNumber?.toUpperCase()} has already been paid in full.`,\n 25,\n true\n );\n if (existingBol?.length) {\n this.setState({ results: results.filter(x => x.bolNumber?.toLowerCase() !== foundBol.bolNumber?.toLowerCase()) })\n }\n return;\n }\n\n if (existingBol && existingBol.length > 0) {\n // was already in the list, updating the list\n const newList = results.filter(x => x.bolNumber !== foundBol.bolNumber);\n this.setState({ results: [...newList, foundBol] });\n // message.info(`Updated Shipment ${foundBol.bolNumber}`);\n NotificationUtility.info(\n 'Shipment Updated',\n `Updated pick-up date for shipment with BOL ${foundBol.bolNumber?.toUpperCase()}.`,\n 7,\n true\n );\n } else {\n this.setState({ results: [...results, foundBol] });\n if (!this.state.customerCodebolNo) {\n NotificationUtility.success(\n 'Shipment Added To List',\n `New Shipment ${foundBol.bolNumber?.toUpperCase()} was added to list.`,\n 7,\n true\n );\n }\n }\n })\n .catch(() => {\n NotificationUtility.error('No related BOLs found', '', 30, true)\n\n });\n }\n\n removeShipment(cargo: CargoChargesResultModel) {\n this.setState({ results: this.state.results.filter(x => x !== cargo) });\n NotificationUtility.info(\n 'Shipment Removed To List',\n `Shipment ${cargo.bolNumber} was removed from the list.`,\n 25,\n true\n );\n }\n\n colLayout = {\n lg: { span: 13 },\n sm: { span: 24 },\n };\n\n goToCartPage(): void {\n this.props.history.push(this.props.checkoutButtonRoute ?? '/cart');\n }\n\n async setRetainBOLCookieName() {\n const config = await ConfigUtility.get();\n this.retainBOLCookieName = config.RetainBOLsCookieName + '_' + this.context.data?.id;\n }\n\n componentDidUpdate(prevProps: Props, prevState: State) {\n // if (this.context.data?.id) {\n // if (this.state.results.length > 0) {\n // Cookies.set(this.retainBOLCookieName, Object.assign({}, this.state.results), { secure: true });\n // }\n // } else {\n // Cookies.remove(this.retainBOLCookieName);\n // }\n }\n\n\n\n render() {\n return (\n <>\n {this.state.customerCodebolNo ?\n null\n :\n \n \n

    \n Have you registered a card? If you haven't, please register your card \n here\n

    \n \n \n }\n \n \n \n {this.state.customerCodebolNo ?\n null :\n \n }\n {/* result only appear when there is data to present */}\n \n \n \n \n \n {!this.props.hideCheckoutButton &&\n \n \n }\n \n \n \n );\n }\n}\n\nconst CargoChargesFormWithoutRouter = Form.create({\n name: 'CargoChargesSearchBar',\n})(BaseCargoChargesForm);\n\nconst CargoChargesForm = withRouter(CargoChargesFormWithoutRouter);\n\nexport default CargoChargesForm;\n","import * as React from \"react\";\nimport CargoChargesForm from \"components/CargoCharges/CargoChargesForm\";\nimport { Row, Col } from \"antd\";\nimport CenteredPageContainer from \"components/Layout/CenteredPageContainer\";\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nexport default class CargoChargesPage extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n return (\n \n \n \n )\n }\n}\n","import * as React from 'react';\nimport { SecuredUserManagementClient } from 'Core/Api/UserManagement/SecuredUserManagementClient';\nimport Utility from 'Core/Utility';\nimport { ErrorResultModel, ResetPasswordModel } from 'Core/Api/UserManagement/Api';\n\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {\n EmailAddress: string;\n CurrentPassword: string;\n NewPassword: string;\n ConfirmPassword: string;\n}\n\n\nclass ForgetPasswordCompleteFormHandler extends React.Component {\n\n ResetPassword(resetPassword: ResetPasswordModel) {\n let client = new SecuredUserManagementClient();\n client.showLoading = true;\n return client.authentication_ResetPassword(resetPassword)\n .catch(Utility.formatError);\n }\n\n}\n\nexport default ForgetPasswordCompleteFormHandler;\n\n\n\n","import antd, { Form, Collapse, Row, Col } from 'antd';\nimport styled from 'styled-components';\nimport ScreenHelper from '../../../components/Styled/ScreenHelper';\nimport { ColSize } from 'antd/lib/col';\n\nexport const PageContainerRow = styled(Row)`\n ${ScreenHelper.up('lg', 'xl')`\n margin-top: 20px;\n padding-top: 10px;\n `}\n\n ${ScreenHelper.down('lg', 'sm')`\n margin-top: 10px;\n padding-top: 0px;\n `}\n`;\n\ndeclare type ColSpanType = ColSize;\n\nexport const PageContainerColLayout: { [key: string]: ColSpanType } = {\n lg: {\n span: 13,\n offset: 6,\n },\n sm: {\n span: 24,\n },\n};\n\nexport const PageContainerCol = styled(Col)`\n ${ScreenHelper.up('lg', 'xl')`\n padding-left: 10px;\n padding-right:10px;\n`}\n\n ${ScreenHelper.down('lg', 'sm')`\n padding-left: 0px;\n padding-right: 0px;\n `}\n`;\n\nexport const BorderlessCollapse = styled(Collapse)`\n border: 0px;\n\n div.ant-collapse-item {\n border: 0px;\n }\n`;\n","import * as React from 'react';\nimport { FormComponentProps } from 'antd/lib/form/Form';\nimport FormControl from 'components/Forms/FormControl/FormControl';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport ForgetPasswordCompleteFormHandler from './ForgetPasswordCompleteFormHandler';\nimport { ResetPasswordModel } from 'Core/Api/UserManagement/Api';\nimport { FormItemProps } from 'antd/lib/form';\nimport { Button, Form, Input, notification, Icon, Row, Col } from 'antd';\nimport { PageContainerRow } from 'components/CartManagement/CartOverviewView/CartOverviewView.Style';\nimport {\n PageContainerCol,\n PageContainerColLayout,\n CenterAlignRow,\n centeredRowAttributes,\n LeftAlignRow,\n} from 'components/Styled/Layout.Styled';\nimport { NavLink } from 'react-router-dom';\nimport ValidationUtility from 'Core/ValidationUtility';\nimport NotificationUtility from 'Core/NotificationUtility';\nimport { Helmet } from 'react-helmet';\n\nexport interface Props extends FormItemProps, FormComponentProps, RouteComponentProps {\n children?: React.ReactNode;\n}\n\nexport interface State {\n emailAddress: string;\n passwordResetToken: string;\n newPassword: string;\n confirmPassword: string;\n confirmTrue: boolean;\n passChangeSuccess: false;\n errorMessage: string;\n passwordStrength: string;\n placeholder: string;\n}\n\nclass ForgetPasswordCompleteFormWithoutRouterAndForm extends React.Component<\n Props & FormComponentProps,\n State\n> {\n individualForgetPasswordCompleteHandler: ForgetPasswordCompleteFormHandler;\n constructor(props: Props & FormComponentProps) {\n super(props);\n this.individualForgetPasswordCompleteHandler = new ForgetPasswordCompleteFormHandler(props);\n this.state = {\n emailAddress: '',\n passwordResetToken: '',\n newPassword: '',\n confirmPassword: '',\n confirmTrue: false,\n passChangeSuccess: false,\n errorMessage: '',\n passwordStrength: '',\n placeholder: '',\n };\n this.validateToNextPassword = this.validateToNextPassword.bind(this);\n this.compareToFirstPassword = this.compareToFirstPassword.bind(this);\n this.handleSubmit = this.handleSubmit.bind(this);\n this.validateNewPassword = this.validateNewPassword.bind(this);\n this.resendForgetPassword = this.resendForgetPassword.bind(this);\n }\n\n validateNewPassword = (rule, value, callback) => {\n let password = value;\n let errorMessage;\n let capsCount, smallCount, numberCount, symbolCount;\n if (!password) {\n return null;\n }\n if (password.length < 8) {\n callback('password must be min 8 char');\n } else {\n capsCount = (password.match(/[A-Z]/g) || []).length;\n smallCount = (password.match(/[a-z]/g) || []).length;\n numberCount = (password.match(/[0-9]/g) || []).length;\n symbolCount = (password.match(/\\W/g) || []).length;\n if (capsCount < 1) {\n errorMessage = 'must contain caps';\n } else if (smallCount < 1) {\n errorMessage = 'must contain small';\n } else if (numberCount < 1) {\n errorMessage = 'must contain number';\n } else if (symbolCount < 1) {\n errorMessage = 'must contain symbol';\n }\n callback(errorMessage);\n }\n };\n\n validateToNextPassword = (rule, value, callback) => {\n const { form } = this.props;\n if (value && this.state.confirmTrue) {\n form.validateFields(['primaryUser.confirmPassword'], { force: true });\n }\n callback();\n };\n\n compareToFirstPassword = (rule, value, callback) => {\n const { form } = this.props;\n if (value && value !== form.getFieldValue('primaryUser.password')) {\n callback('Two passwords that you enter are inconsistent!');\n } else {\n callback();\n }\n };\n\n handleSubmit = (e: React.FormEvent) => {\n e.preventDefault();\n this.props.form.validateFieldsAndScroll((err, values: ResetPasswordModel) => {\n if (!err) {\n this.individualForgetPasswordCompleteHandler\n .ResetPassword(values)\n .then(() => {\n NotificationUtility.success(\n 'Success',\n 'Submission was successful, your password has been reset successfully',\n 10,\n true\n );\n this.props.history.push('/login');\n })\n .catch(x => {\n NotificationUtility.error('Error Completing Password Reset', x.message ?? x, 20, true);\n });\n }\n });\n };\n\n resendForgetPassword = () => {\n this.props.history.push('/forget-password');\n };\n\n render() {\n const formItemLayout = {\n labelCol: {\n xs: { span: 9 },\n sm: { span: 9 },\n },\n wrapperCol: {\n sm: { span: 15 },\n },\n };\n\n const { getFieldDecorator } = this.props.form;\n\n return (\n \n \n Forget Password Confirmation\n \n \n \n \n \n

    \n The token has been sent to your email, please enter email address, token and your\n new password. If you didn't get a email or the token has expired, you can send\n another token here.\n

    \n \n \n \n \n \n \n }\n placeholder=\"\"\n />\n \n\n \n \n \n\n \n \n }\n placeholder=\"Password\"\n />\n \n\n \n \n }\n placeholder=\"Confirm Password\"\n />\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n );\n }\n}\n\nconst ForgetPasswordCompleteFormWithoutRouter = Form.create({\n name: 'forgetpasswordcompleteform',\n})(ForgetPasswordCompleteFormWithoutRouterAndForm);\n\nconst ForgetPasswordCompleteForm = withRouter(ForgetPasswordCompleteFormWithoutRouter);\n\nexport default ForgetPasswordCompleteForm;\n","import { ColSize } from \"antd/lib/col\";\nimport styled from \"styled-components\";\nimport Form from \"antd/lib/form\";\nimport ScreenHelper from \"components/Styled/ScreenHelper\";\n\ndeclare type ColSpanType = ColSize;\n\nexport const EmailColLayout: { [key: string]: ColSpanType } = {\n xs: { span: 12, offset: 1 },\n sm: { span: 12, offset: 1 },\n md: { span: 12, offset: 1 },\n lg: { span: 24, offset: 1 },\n xl: { span: 24, offset: 1 },\n};\n\n\nexport const ButtonColLayout: { [key: string]: ColSpanType } = {\n xs: { span: 18 },\n sm: { span: 18 },\n md: { span: 18 },\n lg: { span: 10 },\n xl: { span: 10 },\n};\n\nexport const InputLayout = {\n\n labelCol: {\n xs: { span: 24, },\n sm: { span: 24, },\n md: { span: 24, },\n lg: { span: 2, },\n xl: { span: 2, },\n },\n wrapperCol: {\n xs: { span: 22 },\n sm: { span: 22, },\n md: { span: 22, },\n lg: { span: 18, },\n xl: { span: 18, },\n },\n};\n\nexport const StyleResendEmailConfirmationForm = styled(Form)`\n\n${ScreenHelper.down('sm')`\n max-width: 300px;\n min-width: 300px;\n\n text-align: center;\n`}\n.text{\n margin-top: 10px;\n}\n\n.resendEmailBtnRow{ \n justify-content: center;\n align-items: center;\n}\n.resendEmailBtn{ \n margin: 4;\n width: 100%;\n}\n\n.emailFormRow{\n margin-top: 10;\n}\n.emailFormCol{\n width: 100%\n}\n \n`;","import * as React from \"react\";\nimport { Form, Row, Col, Input, Icon, Button, notification } from \"antd\";\nimport FormControl from \"components/Forms/FormControl\";\nimport { FormComponentProps } from \"antd/lib/form\";\nimport { RouteComponentProps, withRouter } from \"react-router-dom\";\nimport { EmailConfirmationHandler } from \"../EmailConfirmationForm/EmailConfirmationHandler\";\nimport { EmailColLayout, ButtonColLayout, StyleResendEmailConfirmationForm, InputLayout } from \"./ResendEmailConfirmation.Style\";\nimport NotificationUtility from \"Core/NotificationUtility\";\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nclass BaseResendEmailConfirmationForm extends React.Component {\n resendEmailConfirmationHandler: EmailConfirmationHandler;\n\n constructor(props: Props) {\n super(props)\n this.resendEmailConfirmationHandler = new EmailConfirmationHandler(props)\n\n this.state = {\n }\n }\n\n\n handleResendCode = (e: React.FormEvent) => {\n e.preventDefault();\n\n this.props.form.validateFieldsAndScroll(['email'], (errors, value) => {\n if (!errors) {\n this.resendEmailConfirmationHandler\n .ResendConfirmationCode(value.email)\n .then(() => {\n NotificationUtility.success('Confirmation code has been resent, kindly check your email.', '', 1000, true);\n\n //route to email confirmation page after successfully sending email confirmation token\n this.props.history.push('/emailconfirmation')\n })\n .catch(x => {\n NotificationUtility.error('An Error Occurred While Resending Confirmation Code.', x.message ?? x, 30, true);\n });\n }\n });\n };\n\n\n render() {\n const { getFieldDecorator } = this.props.form;\n\n return (\n \n \n \n

    \n A new token will be sent to your email, please enter the confirmation code provided on the Email Confirmation Screen.\n

    \n \n \n\n \n \n \n }\n size=\"default\"\n />\n \n \n \n \n \n \n Resend Email Confirmation\n \n \n \n \n )\n }\n}\n\nconst BaseResendEmailConfirmationFormWithoutRoute = Form.create({\n name: 'RegistrationWizard',\n})(BaseResendEmailConfirmationForm);\n\nconst ResendEmailConfirmationForm = withRouter(BaseResendEmailConfirmationFormWithoutRoute);\n\nexport default ResendEmailConfirmationForm;","import * as React from 'react';\nimport ResendEmailConfirmationForm from 'components/Registration/ResendEmailConfirmationForm';\nimport { Row, Col } from 'antd';\nimport CenteredPageContainer from 'components/Layout/CenteredPageContainer';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nexport default class ResendEmailConfirmationPage extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return (\n \n \n \n \n \n );\n }\n}\n","import * as React from 'react';\nimport antd from 'antd';\nimport { FormComponentProps } from 'antd/lib/form';\nimport styled from 'styled-components';\nimport { ColSize } from \"antd/lib/col\";\n\nconst { Form } = antd;\n\nexport const StyleUpdateUserProfileForm = styled(Form)`\n max-width: 300px;\n min-width: 300px;\n\n .login-form-forgot {\n float: right;\n }\n .login-form-button {\n width: 100%;\n }\n`;\n\n\n\ndeclare type ColSpanType = ColSize;\n\nexport const ReadOnlyColLayout: { [key: string]: ColSpanType } = {\n xs: { span: 11, },\n sm: { span: 11, },\n md: { span: 10, },\n lg: { span: 10, },\n xl: { span: 10, },\n};\n\n\nexport const InputColLayout: { [key: string]: ColSpanType } = {\n xs: { span: 22, },\n sm: { span: 22, },\n md: { span: 20, },\n lg: { span: 20, },\n xl: { span: 20, },\n};\n\nexport const OneSpanColLayout: { [key: string]: ColSpanType } = {\n xs: { span: 22, },\n sm: { span: 22, },\n md: { span: 21, },\n lg: { span: 21, },\n xl: { span: 21, },\n};\n\nexport const ButtonColLayout: { [key: string]: ColSpanType } = {\n xs: { span: 2, offset: 4 },\n sm: { span: 2, offset: 4 },\n md: { span: 2, offset: 7 },\n lg: { span: 2, offset: 7 },\n xl: { span: 2, offset: 7 },\n};\n","import {\n ErrorResultModel,\n UserDataModel,\n EditUserModel,\n IEditUserModel,\n IIndividualRegistration,\n IIndividualConsigneeReturnModel,\n IndividualConsigneeReturnModel,\n IndividualConsigneePartialUpdateModel1,\n} from 'Core/Api/UserManagement/Api';\nimport Utility from 'Core/Utility';\nimport { SecuredUserManagementClient } from 'Core/Api/UserManagement/SecuredUserManagementClient';\n\nexport class UpdateUserProfileFormHandler {\n RequestGetUserProfile(): Promise {\n const client = new SecuredUserManagementClient();\n var userProfile: IIndividualConsigneeReturnModel;\n client.DisableToken = false;\n client.showLoading = true;\n client.handleGeneralError = true;\n\n return client.userManagement_GetConsigneeDetails().then(x => {\n if (x.tRN !== undefined) {\n userProfile = {\n primaryUserEmailAddress: x.primaryUserEmailAddress,\n firstName: x.firstName,\n lastName: x.lastName,\n customerCode: x.customerCode,\n tRN: x.tRN,\n addressLine1: x.addressLine1,\n addressLine2: x.addressLine2,\n addressLine3: x.addressLine3,\n parish: x.parish,\n postalCode: x.postalCode,\n country: x.country,\n mobilePhoneNumber: x.mobilePhoneNumber,\n };\n }\n return userProfile;\n });\n }\n\n UpdateUserProfile(updateModel: IndividualConsigneePartialUpdateModel1) {\n const client = new SecuredUserManagementClient();\n\n client.DisableToken = false;\n client.showLoading = true;\n client.handleGeneralError = true;\n\n return client.userManagement_UpdateConsigneeDetails(updateModel)\n .catch(Utility.formatError);\n }\n}\n\nexport default UpdateUserProfileFormHandler;\n","import * as React from 'react';\nimport { Form, Button, Icon, Input, Row, Col, notification, Select } from 'antd';\nimport { FormComponentProps, ValidationRule } from 'antd/lib/form';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { StyleUpdateUserProfileForm, OneSpanColLayout, InputColLayout, ButtonColLayout, ReadOnlyColLayout } from './UpdateUserProfileForm.Style';\nimport { UpdateUserProfileFormHandler } from './UpdateUserProfileFormHandler';\nimport {\n IndividualConsigneePartialUpdateModel1,\n IndividualConsigneeReturnModel,\n IIndividualConsigneeReturnModel,\n} from 'Core/Api/UserManagement/Api';\nimport AuthContext from 'Context/AuthContext';\nimport FormControl from 'components/Forms/FormControl';\nimport MaskedInput from 'components/Forms/MaskedInput';\nimport FormUtility from 'Core/FormUtility';\nimport NotificationUtility from 'Core/NotificationUtility';\nimport { SubmitButton } from 'components/SubmitButton';\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode;\n}\n\nexport interface State {\n userProfile: IIndividualConsigneeReturnModel;\n}\n\nclass BaseUpdateUserProfileForm extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n\n updateUserProfileFormHandler: UpdateUserProfileFormHandler;\n _isMounted: boolean | undefined;\n\n constructor(props: Props) {\n super(props);\n this.updateUserProfileFormHandler = new UpdateUserProfileFormHandler();\n this.displayUserDetails = this.displayUserDetails.bind(this)\n this.state = {\n userProfile: {},\n };\n\n this.handleSubmit = this.handleSubmit.bind(this);\n }\n\n componentDidMount() {\n this.setState({})\n this.displayUserDetails(); //brings back user details to display as default values\n }\n\n handleSubmit(event: React.FormEvent) {\n event.preventDefault();\n\n this.props.form.validateFieldsAndScroll(\n (error, values: IndividualConsigneePartialUpdateModel1) => {\n if (!error) {\n //Set TRN value so that update goes through\n if (this.state.userProfile.tRN !== undefined) {\n // this.state.userProfile.map(trn => (values.tRN = trn.tRN!));\n values.tRN = this.state.userProfile.tRN\n }\n\n this.updateUserProfileFormHandler\n .UpdateUserProfile(values)\n .then(() => {\n NotificationUtility.success('Success', 'Profile Update was successful', 10, true);\n })\n .catch(x => {\n NotificationUtility.error('Error While Updating Profile', x.message ?? x, 30, true);\n });\n }\n }\n );\n }\n\n async displayUserDetails() {\n if (this.context.data?.umaid !== undefined) {\n await this.updateUserProfileFormHandler\n .RequestGetUserProfile()\n .then(profile => {\n console.log(this.context.data?.username)\n console.log('profile', profile)\n\n this.setState({ userProfile: profile });\n console.log('state userprofile', this.state.userProfile)\n\n })\n .catch(x => {\n NotificationUtility.error('Error', 'No Results found', 15, true);\n });\n }\n }\n\n render() {\n const { getFieldDecorator } = this.props.form;\n const { Option } = Select;\n const profile = this.state.userProfile\n\n const nameValidation: ValidationRule[] = [\n { required: true, message: 'Please enter both your first and last names' },\n { max: 30, message: 'Limit of 30 characters' },\n ];\n\n const mobilenumberValidation: ValidationRule[] = [\n { required: true, message: 'Please enter a mobile number' },\n { pattern: /[0-9]{3}-[0-9]{3}-[0-9]{4}/, message: 'Please enter valid Mobile Number' },\n ];\n\n const addressValidation: ValidationRule[] = [\n { required: true, message: 'Please enter an address' },\n { max: 255, message: 'You have character limit' },\n ];\n\n\n const profileInfo =\n <>\n \n \n \n\n \n\n \n \n \n \n }\n disabled\n />\n \n \n \n \n }\n disabled\n />\n \n \n \n \n }\n mask=\"999-999-9999\"\n alwaysShowMask={true}\n className=\"Sumperess\"\n placeholder=\"Mobile Number\"\n />\n \n \n \n \n\n \n \n \n \n }\n placeholder={profile.firstName}\n />\n \n \n \n \n }\n placeholder=\"Last Name\"\n />\n \n \n \n \n\n \n \n \n \n }\n placeholder=\"Address Line 1\"\n />\n \n \n \n \n }\n placeholder=\"Address Line 2\"\n />\n \n \n \n \n\n \n \n {FormUtility.parishSelector()}\n \n \n \n \n \n \n Update Profile\n \n \n \n \n \n \n \n\n return (\n <>\n {this.state.userProfile ?\n profileInfo :\n

    \n }\n \n\n );\n }\n}\n\nconst UpdateUserProfileFormWithoutRouter = Form.create({\n name: 'UpdateUserProfileForm',\n})(BaseUpdateUserProfileForm);\n\nconst UpdateUserProfileForm = withRouter(UpdateUserProfileFormWithoutRouter);\n\nexport default UpdateUserProfileForm;\n","import { SecuredUserManagementClient } from 'Core/Api/UserManagement/SecuredUserManagementClient';\nimport { ResetPasswordModel, ChangePasswordBindingModel } from 'Core/Api/UserManagement/Api';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport TokenUtility from 'Core/TokenUtility';\nimport React from 'react';\nimport { string } from 'prop-types';\nimport Utility from 'Core/Utility';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {\n EmailAddress: string;\n CurrentPassword: string;\n NewPassword: string;\n ConfirmPassword: string;\n}\n\nexport default class ResetPassowrdFormHandler extends React.Component {\n // props: any;\n constructor(props: Props) {\n super(props);\n }\n\n // //CHANGE PASSWORD\n async ResetPassword(changePasswordBindingModel: ChangePasswordBindingModel) {\n const client = new SecuredUserManagementClient();\n client.showLoading = true;\n client.handleGeneralError = true;\n\n // const config = await ConfigUtility.get();\n // const authorization = TokenUtility.GetUMAToken();\n\n return client.userManagement_ChangePassword(changePasswordBindingModel)\n .catch(Utility.formatError);\n }\n}\n","import { ColSize } from \"antd/lib/col\";\n\n\ndeclare type ColSpanType = ColSize;\n\nexport const InputColLayout: { [key: string]: ColSpanType } = {\n xs: { span: 22, },\n sm: { span: 22, },\n md: { span: 22, },\n lg: { span: 10, },\n xl: { span: 10, },\n};\n\nexport const ButtonColLayout: { [key: string]: ColSpanType } = {\n xs: { span: 1, offset: 4 },\n sm: { span: 1, offset: 4 },\n md: { span: 1, offset: 7 },\n lg: { span: 1, offset: 7 },\n xl: { span: 1, offset: 7 },\n};","import React, { Component } from 'react';\nimport { Row, Col, Form, Icon, Input, Button, notification, Tooltip } from 'antd';\nimport FormControl from 'components/Forms/FormControl';\nimport { FormComponentProps } from 'antd/lib/form';\nimport { RouteComponentProps, withRouter } from 'react-router-dom';\nimport ResetPassowrdFormHandler from '../ResetPasswordForm/ResetPasswordFormHandler';\nimport AuthContext from 'Context/AuthContext';\nimport { ChangePasswordBindingModel } from 'Core/Api/UserManagement/Api';\nimport ValidationUtility from 'Core/ValidationUtility';\nimport { InputColLayout, ButtonColLayout } from './ResetPasswordForm.Style';\nimport NotificationUtility from 'Core/NotificationUtility';\nimport { SubmitButton } from 'components/SubmitButton';\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode;\n}\n\nexport interface State {\n password: string;\n newPassword: string;\n confirmPassword: string;\n confirmTrue: boolean;\n passChangeSuccess: false;\n errorMessage: string;\n passwordStrength: string;\n placeholder: string;\n}\n\nclass BaseResetPasswordForm extends Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n resetPassowrdFormHandler: ResetPassowrdFormHandler;\n\n constructor(props: Props) {\n super(props);\n this.resetPassowrdFormHandler = new ResetPassowrdFormHandler(props);\n this.state = {\n password: '',\n newPassword: '',\n confirmPassword: '',\n confirmTrue: false,\n passChangeSuccess: false,\n errorMessage: '',\n passwordStrength: '',\n placeholder: '',\n };\n this.validateToNextPassword = this.validateToNextPassword.bind(this);\n this.compareToFirstPassword = this.compareToFirstPassword.bind(this);\n this.validateNewPassword = this.validateNewPassword.bind(this);\n this.onFormSubmit = this.onFormSubmit.bind(this);\n }\n\n validateNewPassword = (rule, value, callback) => {\n let password = value;\n let errorMessage;\n let capsCount, smallCount, numberCount, symbolCount;\n if (!password) {\n return null;\n }\n if (password.length < 8) {\n callback('password must be min 8 char');\n } else {\n capsCount = (password.match(/[A-Z]/g) || []).length;\n smallCount = (password.match(/[a-z]/g) || []).length;\n numberCount = (password.match(/[0-9]/g) || []).length;\n symbolCount = (password.match(/\\W/g) || []).length;\n if (capsCount < 1) {\n errorMessage = 'must contain caps';\n } else if (smallCount < 1) {\n errorMessage = 'must contain small';\n } else if (numberCount < 1) {\n errorMessage = 'must contain number';\n } else if (symbolCount < 1) {\n errorMessage = 'must contain symbol';\n }\n callback(errorMessage);\n }\n };\n\n validateToNextPassword = (rule, value, callback) => {\n const { form } = this.props;\n if (value && this.state.confirmTrue) {\n form.validateFields(['confirmPassword'], { force: true });\n }\n callback();\n };\n\n compareToFirstPassword = (rule, value, callback) => {\n const { form } = this.props;\n if (value && value !== form.getFieldValue('newPassword')) {\n callback('Two passwords that you enter are inconsistent!');\n } else {\n callback();\n }\n };\n\n onFormSubmit(event: React.FormEvent) {\n event.preventDefault();\n this.props.form.validateFieldsAndScroll((err, values: ChangePasswordBindingModel) => {\n if (err) {\n return;\n }\n this.resetPassowrdFormHandler\n .ResetPassword(values)\n .then(() => {\n NotificationUtility.success(\n 'Success',\n 'Submission was successful, your password has been successfully changed',\n 10,\n true\n );\n\n this.props.form.resetFields();\n })\n .catch(x => {\n NotificationUtility.error('Error', x.message ?? x, 30, true);\n });\n\n });\n }\n\n render() {\n const { getFieldDecorator } = this.props.form;\n const passwordPrompt = (\n

    \n {`A password must have at least 8 characters, with at least one number, one capital letter and one symbol`}\n

    \n );\n\n return (\n \n
    \n \n {/* Reste Password*/}\n \n \n \n }\n placeholder=\"Current Password\"\n />\n \n \n \n \n \n }\n >\n }\n placeholder=\"New Password\"\n />\n\n \n \n \n \n \n }>\n }\n placeholder=\"Confirm New Password\"\n />\n\n \n \n \n \n \n Update Password\n \n \n \n \n \n );\n }\n}\n\nconst ResetPasswordFormWithoutRouter = Form.create({\n name: 'ChangePasswordForm',\n})(BaseResetPasswordForm);\n\nconst ResetPasswordForm = withRouter(ResetPasswordFormWithoutRouter);\n\nexport default ResetPasswordForm;\n","import * as React from 'react';\nimport LogRocket from 'logrocket';\nimport setupLogRocketReact from 'logrocket-react';\nimport ConfigUtility from '../../Core/ConfigUtility';\nimport LogrocketFuzzySanitizer from 'logrocket-fuzzy-search-sanitizer';\n\nconst Config = ConfigUtility.getSync()!;\nexport const LOGROCKET_IGNORE_CLASS = '_lr-hide';\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {}\n\nexport default class LogRocketErrorMonitor extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n componentDidMount() {\n ConfigUtility.get().then(x => {\n if (x.LogRocket.Enabled) {\n // Enable request data sanitization\n const { requestSanitizer, responseSanitizer } = LogrocketFuzzySanitizer.setup(\n x.LogRocket.FilteredWords\n );\n\n LogRocket.init(x.LogRocket.AppName, {\n network: {\n requestSanitizer,\n responseSanitizer,\n },\n });\n setupLogRocketReact(LogRocket);\n }\n });\n }\n\n render() {\n return
    {this.props.children}
    ;\n }\n}\n","import * as React from \"react\";\nimport FormControl from \"components/Forms/FormControl\";\nimport Form, { FormComponentProps } from \"antd/lib/form\";\nimport ValidationUtility from \"Core/ValidationUtility\";\nimport FormUtility from \"Core/FormUtility\";\nimport { Select } from \"antd\";\nimport { WrappedFormUtils } from \"antd/lib/form/Form\";\n\nexport interface Props {\n children?: React.ReactNode;\n intialValue: string;\n countryCode: string;\n formDecorator: any\n}\n\nexport interface State {\n}\n\nexport default class TerritorySelector extends React.Component {\n\n constructor(props: Props) {\n super(props)\n this.setTerritory = this.setTerritory.bind(this);\n\n this.state = {\n }\n }\n\n componentDidMount() {\n this.setState({})\n\n this.setTerritory();\n console.log(this.props.countryCode)\n }\n componentDidUpdate() {\n // this.setTerritory();\n }\n\n setTerritory = () => {\n const { Option } = Select;\n let validatorMessage;\n let UpdateValueName;\n let RegistrationValueName;\n let selectorType;\n let labelName;\n const { countryCode } = this.props\n\n\n //assign values based country code\n if (countryCode === 'US') {\n validatorMessage = 'Please select a State';\n UpdateValueName = 'stateCode';\n RegistrationValueName = 'cardDetails.billingAddress.stateCode';\n selectorType = FormUtility.stateSelector();\n labelName = 'State';\n }\n else if (countryCode === 'CA') {\n validatorMessage = 'Please select a Province';\n UpdateValueName = 'stateCode';\n RegistrationValueName = 'cardDetails.billingAddress.stateCode';\n selectorType = FormUtility.provinceSelector();\n labelName = 'Province';\n }\n else if (countryCode === 'JM') {\n validatorMessage = 'Please select a Parish';\n UpdateValueName = 'province';\n RegistrationValueName = 'cardDetails.billingAddress.province';\n selectorType = FormUtility.parishSelector();\n labelName = 'Parish';\n }\n else {\n validatorMessage = 'Please select a Territory';\n UpdateValueName = 'province';\n RegistrationValueName = 'cardDetails.billingAddress.province';\n selectorType = \n labelName = 'Territory';\n }\n\n return \n {selectorType}\n \n }\n\n render() {\n return (\n <>{this.setTerritory()}\n )\n }\n}","import * as React from 'react';\nimport antd, { Row, Collapse } from 'antd';\nimport styled from 'styled-components';\nimport ScreenHelper from 'components/Styled/ScreenHelper';\nimport Col, { ColSize } from 'antd/lib/col';\n\nconst { Tabs } = antd;\n\nexport const StyleUserProfileTab = styled(Tabs)`\n \n\n// .ant-tabs.ant-tabs-left.ant-tabs-vertical.ant-tabs-line{\n// margin-top:100px;\n// }\n`;\n\nexport const PageContainerRow = styled(Row)`\n ${ScreenHelper.up('lg', 'xl')`\n margin-top: 20px;\n padding-top: 10px;\n `}\n\n ${ScreenHelper.down('lg', 'sm')`\n margin-top: 10px;\n padding-top: 0px;\n `}\n`;\n\ndeclare type ColSpanType = ColSize;\n\nexport const PageContainerColLayout: { [key: string]: ColSpanType } = {\n lg: {\n span: 13,\n offset: 6,\n },\n sm: {\n span: 24,\n },\n};\n\nexport const PageContainerCol = styled(Col)`\ntext-align: center;\n ${ScreenHelper.up('xl')`\n padding-left: 10px;\n padding-right:10px;\n`}\n\n ${ScreenHelper.down('lg', 'sm')`\n padding-left: 0px;\n padding-right: 0px;\n `}\n`;\n\nexport const BorderlessCollapse = styled(Collapse)`\n border: 0px;\n\n div.ant-collapse-item {\n border: 0px;\n }\n`;","import { SecuredPaymentClient } from '../../../Core/Api/Payment/SecuredPaymentClient';\nimport {\n ConfirmCreditCardRegistrationRequestBody,\n AddressDto,\n ReferenceValueDto,\n IReferenceValueDto,\n ExecuteBillOfLadingPaymentRequest,\n BillOfLadingPaymentResponse,\n CompleteThreeDSecureBolPaymentRequest,\n} from '../../../Core/Api/Payment/Api';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport TokenUtility from 'Core/TokenUtility';\n\nexport default class ThreeDSecureHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n CheckIfPaymentCompleted(request: CompleteThreeDSecureBolPaymentRequest) {\n const client = new SecuredPaymentClient();\n client.DisableToken = true;\n client.showLoading = false;\n client.DisableToken = false;\n client.showLoading = false;\n\n const authorization = TokenUtility.GetUMAToken();\n return client.threeDSecure(authorization, request as any).catch(x => {\n console.log('structure returned', JSON.stringify(x));\n if (x.response && x.response.data && x.response.data.errorCode) {\n return x.response.data as BillOfLadingPaymentResponse;\n } else {\n throw Error(\n `Something when wrong with payment process.\nPlease to not attempt to pay again until you have contacted customer service.`\n );\n }\n });\n }\n}\n","import * as React from 'react';\nimport {\n PageContainerRow,\n PageContainerCol,\n} from 'components/UserManagement/Profile/UserProfileTabbed/UserPrfileTab.Style';\nimport { Row, Col } from 'antd';\nimport { ExecuteBillOfLadingPaymentRequest, BillOfLadingPaymentResponse, CompleteThreeDSecureBolPaymentRequest, ICompleteThreeDSecureBolPaymentRequest, SwaggerException, BeginBillPaymentResponse, IVerifyFirstAtlanticPaymentResponse, IBeginRegisterCreditCardResponse, IBeginBillPaymentResponse } from 'Core/Api/Payment/Api';\nimport { withRouter, RouteComponentProps, Prompt } from 'react-router-dom';\nimport paymentSpinnerGif from '../../../assets/images/paymentSpinner.gif';\nimport { uniqueId } from 'lodash';\nimport { ThreeSecureIFrame, IFrameContainer } from './ThreeDSecureView.Styled';\nimport dummy from './dummy.json';\nimport ThreeDSecureHandler from './ThreeDSecureHandler';\nimport { PaymentProcessingModel } from '../PaymentProcessingView/PaymentProcessingModel';\nimport AuthContext from 'Context/AuthContext';\nimport Frame from 'react-frame-component';\nimport ConfigUtility from '../../../Core/ConfigUtility/ConfigUtility';\nimport Config from '../../../Core/Config.json';\nimport renderHTML from 'react-render-html';\nimport TransactionHistoryPage from 'Pages/TransactionHistoryPage';\n\nexport interface Props extends RouteComponentProps {\n children?: React.ReactNode;\n verificationResponse?: IBeginRegisterCreditCardResponse;\n onSuccess?: Function;\n onFailure?: Function;\n}\n\nexport interface State {\n formId?: string;\n html?: string;\n locationListenCallback?: Function;\n canNavigate?: boolean;\n apiResponse?: any;\n}\n\nclass ThreeDSecureViewWithRouter extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n currentHandler;\n iframeRef: React.RefObject;\n threeDSecureHandler: ThreeDSecureHandler;\n\n\n constructor(props: Props) {\n super(props);\n\n this.state = {\n formId: uniqueId(\"form\")\n };\n this.iframeRef = React.createRef();\n this.threeDSecureHandler = new ThreeDSecureHandler(props);\n }\n\n componentDidMount() {\n let request: IBeginBillPaymentResponse | IBeginRegisterCreditCardResponse;\n\n if (this.props.verificationResponse) {\n request = this.props.verificationResponse;\n } else {\n request = this.props.location.state as BeginBillPaymentResponse;\n }\n this.setState({ html: request.htmlCode });\n this.iframeRef.current?.contentWindow?.parent.addEventListener(\"message\", this.recievedIFrameMessage);\n\n const callback = this.props.history.listen((location, action) => {\n console.log(\"in listener\");\n if (action != \"REPLACE\") {\n console.log(\"Will block navigation\");\n this.props.history.block();\n }\n });\n this.setState({ locationListenCallback: callback });\n\n }\n\n componentDidUpdate(prevProps: Props, prevState: State) {\n if (this.state.apiResponse != prevState.apiResponse) {\n this.props.history.replace('/payment-complete', this.state.apiResponse);\n }\n }\n\n recievedIFrameMessage = (e: MessageEvent) => {\n let config = ConfigUtility.getSync();\n if (!!!e.origin && e.origin as any != config?.PaymentApiBaseUrl) {\n return;\n }\n\n if (e.data && e.data.indexOf && (e.data as string)[\"indexOf\"](\"success\") !== -1) {\n var sterilizedString = (e.data as string).replace('\\n', \"\");\n var response = JSON.parse(sterilizedString) as IVerifyFirstAtlanticPaymentResponse;\n\n if (response.success) {\n if (this.props.onSuccess) {\n this.props.onSuccess(response);\n } else {\n this.setState({ canNavigate: true, apiResponse: response });\n }\n\n } else {\n if (this.props.onFailure) {\n this.props.onFailure(response);\n } else {\n this.setState({ canNavigate: true, }, () => {\n this.props.history.replace('/payment-error', response);\n });\n }\n }\n }\n }\n\n componentWillUnmount() {\n try {\n clearTimeout(this.currentHandler);\n this.iframeRef.current?.contentWindow?.parent.removeEventListener(\"message\", this.recievedIFrameMessage)\n this.state.locationListenCallback?.call(this);\n\n } catch {\n\n }\n }\n\n render() {\n const request = this.props.location.state as PaymentProcessingModel;\n return (\n \n \n\n \n \n
    \n

    Please wait...

    \n \n \n \n \n \n );\n }\n}\n\nconst ThreeDSecureView = withRouter(ThreeDSecureViewWithRouter);\nexport default ThreeDSecureView;\n","import * as React from 'react';\nimport {\n Form,\n Row,\n Col,\n Input,\n Icon,\n Select,\n Button,\n Switch,\n Modal,\n Checkbox,\n Tooltip,\n Card,\n} from 'antd';\nimport { FormComponentProps } from 'antd/lib/form';\nimport { RouteComponentProps } from 'react-router-dom';\nimport FormControl from 'components/Forms/FormControl';\nimport MaskedInput from 'components/Forms/MaskedInput';\nimport { withRouter } from 'react-router';\nimport { CreditCardRegistrationFormHandler } from './CreditCardRegistrationFormHandler';\nimport {\n ReferenceValueDto,\n IReferenceValueDto,\n BeginRegisterCreditCardResponse,\n IBeginRegisterCreditCardRequest,\n} from 'Core/Api/Payment/Api';\nimport TokenUtility from 'Core/TokenUtility';\nimport AuthContext from 'Context/AuthContext';\nimport { validate } from '@babel/types';\nimport { element } from 'prop-types';\nimport FormUtility from 'Core/FormUtility';\nimport ValidationUtility from 'Core/ValidationUtility';\nimport { LOGROCKET_IGNORE_CLASS } from 'components/LogRocketErrorMonitor/LogRocketErrorMonitor';\nimport TerritorySelector from './TerritorySelector';\nimport NotificationUtility from 'Core/NotificationUtility';\nimport ThreeDSecureView from 'components/Payment/ThreeDSecureView';\nimport { SubmitButton } from 'components/SubmitButton';\nimport styled from 'styled-components';\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode;\n cancelButton(): any;\n registered(): any;\n}\n\nexport interface State {\n cardTypes: IReferenceValueDto[];\n cardCurrencies: IReferenceValueDto[];\n verificationResponse?: BeginRegisterCreditCardResponse;\n confirmCardModalConfig?: any;\n}\n\nclass BaseCreditCardRegistrationForm extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n creditCardRegistrationFormHandler: CreditCardRegistrationFormHandler;\n VerificationModal = React.createRef();\n confirmCardModal: { destroy: () => void; } | undefined = undefined;\n\n constructor(props: Props) {\n super(props);\n this.creditCardRegistrationFormHandler = new CreditCardRegistrationFormHandler(props);\n this.onFormSubmit = this.onFormSubmit.bind(this);\n this.onCancel = this.onCancel.bind(this);\n // this.getCardType = this.getCardType.bind(this);\n // this.getCardCurrency = this.getCardCurrency.bind(this);\n\n this.state = {\n cardTypes: [],\n cardCurrencies: [],\n };\n }\n\n componentWillUnmount() {\n this.confirmCardModal?.destroy();\n }\n\n componentDidMount() {\n this.setState({});\n this.getCardType();\n this.getCardCurrency();\n }\n\n onCancel() {\n this.props.cancelButton();\n }\n onRegistered = () => {\n this.props.registered();\n };\n\n getCardType() {\n this.creditCardRegistrationFormHandler\n .GetCreditCardTypes()\n .then(type => {\n if (type !== undefined) {\n this.setState({ cardTypes: type });\n }\n })\n .catch(x => { });\n }\n\n getCardCurrency() {\n\n this.creditCardRegistrationFormHandler\n .GetCreditCardCurrency()\n .then(currency => {\n if (currency !== undefined) {\n this.setState({ cardCurrencies: currency });\n }\n })\n .catch(x => { });\n }\n\n onSuccessfulVerification = () => {\n const confirmCardPrompt = (\n

    \n To complete the Registration & Verification process, please retrieve the
    \n amount charged to your card by contacting your bank and then return
    \n to the Register & Verify screen.\n

    );\n\n let confirmCardModalConfig = {\n title: 'Card Details Entry Complete',\n content: confirmCardPrompt,\n okText: 'I understand',\n onOk: () => {\n NotificationUtility.success('Card Registration Successful', 'Card Details Entry Completed Successfully.', 10, true);\n this.onRegistered();\n }\n };\n\n this.setState({ confirmCardModalConfig });\n\n };\n\n onFailedVerification = error => {\n NotificationUtility.error('Payment Verification Failed', error?.message ?? \"A Failure occured when attempting to verify the payment.\", 10, true);\n this.setState({ verificationResponse: undefined });\n };\n\n onFormSubmit(event: React.FormEvent) {\n event.preventDefault();\n\n this.props.form.validateFieldsAndScroll((error, values: IBeginRegisterCreditCardRequest) => {\n if (!error) {\n // set expiry month & year\n if (values.cardDetails !== undefined) {\n const expiryParts = FormUtility.getExpiryDateParts(values.cardDetails.expiry);\n values.cardDetails.expiryMonth = expiryParts?.month!;\n values.cardDetails.expiryYear = expiryParts?.year!;\n }\n\n // remove spacing in card number from masking\n if (values !== undefined) {\n const cardNum = values.cardDetails.cardNumber;\n const cardNumSplit = cardNum!.split(' ');\n const cardNumber = cardNumSplit.join('');\n values.cardDetails.cardNumber = cardNumber;\n }\n\n // set user id and email address\n if (this.context.data) {\n values.userId = this.context.data.id!;\n values.userEmailAddress = this.context.data.email!;\n }\n\n // Collect province/territory value outside of JM beacuase the select's tags mode places data in array format\n if (\n values.cardDetails.billingAddress.province &&\n values.cardDetails.billingAddress.countryCode !== 'JM'\n ) {\n values.cardDetails.billingAddress.province =\n values.cardDetails.billingAddress.province[0];\n }\n\n this.creditCardRegistrationFormHandler\n .RegisterCreditCard(values)\n .then(x => {\n this.setState({ verificationResponse: x as BeginRegisterCreditCardResponse });\n })\n .catch(x => {\n NotificationUtility.error('Card Registration Failed', x.message || x, 25, true);\n });\n }\n });\n }\n\n render() {\n const { getFieldDecorator } = this.props.form;\n const { form } = this.props;\n const { Option } = Select;\n\n const cardTypeSelector = (\n \n );\n\n const cardCurrencySelector = (\n \n );\n\n const CustomCheckbox = styled(Checkbox) <{ backgroundColor: any }>`\n ${props =>\n props.backgroundColor && `\n & .ant-checkbox .ant-checkbox-inner {\n background-color: ${props.backgroundColor};\n border-color: ${props.backgroundColor};\n }\n \n `}\n `;\n\n return (\n <>\n \n {this.state.confirmCardModalConfig?.content}\n
    \n\n \n \n \n\n \n
    \n \n\n {/* Card Details */}\n \n\n \n \n \n }\n placeholder=\"Cardholder\"\n />\n \n \n \n Save Card for faster Checkout }\n valuePropName=\"checked\">\n\n \n\n \n \n \n\n {/* Credit Card Type*/}\n \n \n \n }\n mask=\"9999 9999 9999 9999\"\n alwaysShowMask={true}\n placeholder=\"Card Number\"\n />\n \n \n\n \n \n {cardTypeSelector}\n \n \n \n\n \n {/* Card Currency */}\n \n \n {cardCurrencySelector}\n \n \n\n {/* Expiry Date */}\n \n \n }\n mask=\"99/99\"\n alwaysShowMask={true}\n className=\"Sumperess\"\n placeholder=\"Card Number\"\n />\n \n \n\n {/* CVV2/CVCV2 */}\n \n \n }\n mask=\"999\"\n className=\"Sumperess\"\n placeholder=\"CVV2/CVC2\"\n />\n \n \n \n \n\n


    \n\n {/* Card Billing Details */}\n \n\n \n {/* Card Holder's Name */}\n \n \n }\n placeholder=\"First Name\"\n />\n \n \n \n \n }\n placeholder=\"Middle Name\"\n />\n \n \n \n \n }\n placeholder=\"Last Name\"\n />\n \n \n \n {/* Address Line 1 */}\n \n \n \n }\n placeholder=\"Address Line 1\"\n />\n \n \n \n\n {/* Address Line 2 */}\n \n \n \n }\n placeholder=\"Address Line 2\"\n />\n \n \n \n\n \n {/* Country */}\n \n \n {FormUtility.countrySelector()}\n \n \n\n {/* City */}\n \n \n }\n placeholder=\"City\"\n />\n \n \n\n \n {/* Parish - STATE(USES STATE) IF USE/CANADA; PARISH(USES PROVINCE) FOR JAMAICA; PROVINCE FOR EVERWHERE ELSE*/}\n \n \n \n\n \n {/* Zip/Postal Code */}\n \n \n }\n placeholder=\"ZIP/Postal Code\"\n />\n \n \n\n {/* Mobile Number */}\n \n \n }\n mask=\"999-999-9999\"\n alwaysShowMask={true}\n className=\"Sumperess\"\n placeholder=\"Mobile Number\"\n />\n \n \n \n \n\n

    \n\n \n \n Submit Card Details\n \n
    \n \n \n \n \n \n \n \n \n \n \n );\n }\n}\n\nconst CreditCardRegistrationFormWithoutRouter = Form.create({\n name: 'UpdateUserProfileForm',\n})(BaseCreditCardRegistrationForm);\n\nconst CreditCardRegistrationForm = withRouter(CreditCardRegistrationFormWithoutRouter);\n\nexport default CreditCardRegistrationForm;\n","import * as React from \"react\";\nimport { Form, Row, Col, Input, Icon, Button, notification, Tooltip } from \"antd\";\nimport FormControl from \"components/Forms/FormControl\";\nimport ValidationUtility from \"Core/ValidationUtility\";\nimport { FormComponentProps } from \"antd/lib/form\";\nimport { RouteComponentProps, withRouter } from \"react-router-dom\";\nimport { ConfirmCreditCardRegistrationRequestBody, IConfirmCreditCardRegistrationRequestBody, ICreditCardRegistrationDto } from \"Core/Api/Payment/Api\";\nimport AuthContext from \"Context/AuthContext\";\nimport { CreditCardRegistrationFormHandler } from \"../CreditCardRegistrationFormHandler\";\nimport NotificationUtility from \"Core/NotificationUtility\";\nimport { SubmitButton } from \"components/SubmitButton\";\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode\n // cardDetails: Array,\n cardDetails: ICreditCardRegistrationDto,\n regId: number,//card registration number passed down from credit card list for specific form \n cancelButton(): any;\n confirmed(): any;\n}\n\nexport interface State {\n confirmCancelClicked: boolean,\n}\n\nclass BaseCreditCardConfirmation extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n creditCardRegistrationFormHandler: CreditCardRegistrationFormHandler;\n\n constructor(props: Props) {\n super(props)\n this.creditCardRegistrationFormHandler = new CreditCardRegistrationFormHandler(props);\n this.ConfirmCreditCard = this.ConfirmCreditCard.bind(this);\n this.onCancel = this.onCancel.bind(this);\n\n this.state = {\n confirmCancelClicked: false\n }\n }\n\n onConfirm = () => {\n this.onCancel();\n this.props.confirmed();\n }\n\n ConfirmCreditCard(event: React.FormEvent) {\n event.preventDefault();\n\n this.props.form.validateFieldsAndScroll((error, values: ConfirmCreditCardRegistrationRequestBody) => {\n if (!error) {\n //set registration id for card being confirmed\n var i;\n var cardIdConfirm\n var cardDetails = this.props.cardDetails;\n for (i in cardDetails) {\n if (this.props.regId === cardDetails.id) {\n cardIdConfirm = cardDetails.id;\n };\n };\n\n var chargeAmount = new ConfirmCreditCardRegistrationRequestBody({\n amountCharged: values.amountCharged\n })\n\n this.creditCardRegistrationFormHandler\n .ConfirmCreditCard(cardIdConfirm, chargeAmount)\n .then(() => {\n NotificationUtility.success(\n 'Card Registration & Verification Completed',\n `Card ending with ${cardDetails.cardNumberLastFourDigits} has successfully been registered and verified.`,\n 10,\n true\n );\n //reload card list\n this.onConfirm();\n })\n .catch(x => {\n NotificationUtility.error('Confirmation Failed', x.message || x, 30, true);\n });\n }\n })\n }\n\n onCancel() {\n this.props.cancelButton();\n }\n\n render() {\n const { getFieldDecorator } = this.props.form;\n const { form } = this.props;\n\n return (\n
    \n \n
    \n \n\n\n }\n placeholder=\"Charged Amount\"\n />\n \n \n \n \n \n \n \n \n Submit\n \n \n \n \n \n \n )\n }\n}\n\n\nconst CreditCardConfirmationWithoutRouter = Form.create({\n name: 'UpdateUserProfileForm',\n})(BaseCreditCardConfirmation);\n\nconst CreditCardConfirmation = withRouter(CreditCardConfirmationWithoutRouter);\n\nexport default CreditCardConfirmation;","import * as React from \"react\";\nimport { Row, Col, Input, Icon, Select, Button, notification } from \"antd\";\nimport FormControl from \"components/Forms/FormControl\";\nimport ValidationUtility from \"Core/ValidationUtility\";\nimport MaskedInput from \"components/Forms/MaskedInput\";\nimport FormUtility from \"Core/FormUtility\";\nimport Form, { FormComponentProps } from \"antd/lib/form\";\nimport { RouteComponentProps, withRouter } from \"react-router-dom\";\nimport { ICreditCardRegistrationDto, AddressDto, IAddressDto } from \"Core/Api/Payment/Api\";\nimport { CreditCardRegistrationFormHandler } from \"../CreditCardRegistrationFormHandler\";\nimport CreditCardRegisteredList from \"../CreditCardRegisteredList\";\nimport { Route } from \"react-router-dom\";\nimport TerritorySelector from \"../TerritorySelector\";\nimport NotificationUtility from \"Core/NotificationUtility\";\nimport { SubmitButton } from \"components/SubmitButton\";\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode,\n regId: number,\n billingAddress: IAddressDto;\n cancelButton(): any;\n updated(): any;\n}\n\nexport interface State {\n territory: string;\n}\n\nclass BaseUpdateCreditCardForm extends React.Component {\n creditCardRegistrationFormHandler: CreditCardRegistrationFormHandler;\n\n constructor(props: Props) {\n super(props)\n this.creditCardRegistrationFormHandler = new CreditCardRegistrationFormHandler(props);\n this.onCancel = this.onCancel.bind(this);\n this.UpdateCard = this.UpdateCard.bind(this);\n\n this.state = {\n territory: '',\n }\n }\n\n onCancel() {\n this.props.cancelButton();\n }\n\n onUpdated = () => {\n this.props.updated();\n }\n\n componentDidMount() {\n this.setState({})\n }\n\n setTerritoryName = (territory: string) => {\n this.setState({ territory })\n console.log(this.state.territory)\n }\n\n UpdateCard(event: React.FormEvent) {\n event.preventDefault();\n\n this.props.form.validateFieldsAndScroll((error, values: AddressDto) => {\n if (!error) {\n\n //Set province/territory value outside of JM beacuase the select's tags mode places data in array format\n if (values.province && values.countryCode !== 'JM') {\n values.province = values.province[0];\n }\n\n this.creditCardRegistrationFormHandler\n .UpdateCreditCard(this.props.regId, values)\n .then(() => {\n NotificationUtility.success('Card Information Updated',\n 'Registered Card Billing Address has been Updated',\n 10,\n true\n );\n //go back to card list\n this.onUpdated();\n })\n .catch(x => {\n NotificationUtility.error('Card Update Failed', x.message, 30, true);\n });\n }\n })\n }\n\n\n render() {\n const { getFieldDecorator } = this.props.form;\n const { form } = this.props;\n const { Option } = Select;\n const { billingAddress } = this.props\n\n return (\n \n \n \n\n \n \n

    Billing Details

    \n \n \n\n {/* Card Holder's Name */}\n \n \n \n }\n placeholder=\"First Name\"\n />\n \n \n \n \n }\n placeholder=\"Middle Name\"\n />\n \n \n \n \n }\n placeholder=\"Last Name\"\n />\n \n \n \n \n {/* Address Line 1 */}\n \n \n }\n placeholder=\"Address 1\"\n />\n \n \n\n {/* Address Line 2 */}\n \n \n }\n placeholder=\"Address 1\"\n />\n \n \n \n\n {/* Country */}\n \n \n \n {FormUtility.countrySelector()}\n \n \n\n {/* City */}\n \n \n }\n placeholder=\"City\"\n />\n \n \n \n {/* Parish - STATE(USES STATE) IF USE/CANADA; PARISH(USES PROVINCE) FOR JAMAICA; PROVINCE FOR EVERWHERE ELSE*/}\n \n \n\n \n \n\n {/* Mobile Number */}\n \n \n }\n mask=\"999-999-9999\"\n alwaysShowMask={true}\n className=\"Sumperess\"\n placeholder=\"Mobile Number\"\n />\n \n \n\n {/* Zip/Postal Code */}\n \n \n }\n placeholder=\"ZIP/Postal Code\"\n />\n \n \n\n \n \n \n Update Card\n \n \n \n \n \n \n \n \n )\n }\n}\n\nconst UpdateCreditCardFormWithoutRouter = Form.create({\n name: 'UpdateUserProfileForm',\n})(BaseUpdateCreditCardForm);\n\nconst UpdateCreditCardForm = withRouter(UpdateCreditCardFormWithoutRouter);\n\nexport default UpdateCreditCardForm;","import * as React from \"react\";\nimport { Button, notification, Popconfirm, Row, Col } from \"antd\";\nimport { CreditCardRegistrationFormHandler } from \"../CreditCardRegistrationFormHandler\";\nimport { ICreditCardRegistrationDto } from \"Core/Api/Payment/Api\";\nimport CreditCardRegisteredList from \"../CreditCardRegisteredList\";\nimport { Route, RouteComponentProps, withRouter } from \"react-router-dom\";\nimport Form, { FormComponentProps } from \"antd/lib/form\";\nimport NotificationUtility from \"Core/NotificationUtility\";\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode\n // cardDetails: Array,\n cardDetails: ICreditCardRegistrationDto,\n regId: number,\n deleted(): any;\n}\n\nexport interface State {\n}\n\nclass DeleteCreditCardWithoutRouterAndForm extends React.Component {\n creditCardRegistrationFormHandler: CreditCardRegistrationFormHandler;\n\n constructor(props: Props) {\n super(props)\n this.creditCardRegistrationFormHandler = new CreditCardRegistrationFormHandler(props);\n // this.DeleteCard = this.DeleteCard.bind(this);\n this.onDelete = this.onDelete.bind(this);\n\n this.state = {\n }\n }\n\n onDelete = () => {\n this.props.deleted();\n }\n\n DeleteCard = () => {\n if (this.props.cardDetails !== undefined) {\n var i;\n var cardIdDel\n var cardDetails = this.props.cardDetails;\n for (i in cardDetails) {\n //maybe do some more checks, like card type with first & last digits\n if (this.props.regId === cardDetails.id) {\n cardIdDel = cardDetails.id;\n };\n };\n };\n\n if (cardIdDel !== undefined) {\n this.creditCardRegistrationFormHandler\n .DeleteCreditCard(cardIdDel)\n .then(() => {\n NotificationUtility.success('Card Deleted',\n `Card ending with ${cardDetails.cardNumberLastFourDigits} has successfully been deleted.`,\n 10,\n true\n );\n this.onDelete();\n })\n .catch(x => {\n NotificationUtility.error('Failed to Delete Card', x.message, 30, true);\n });\n }\n }\n\n\n render() {\n return (\n \n \n { }}\n okText=\"Yes, I am sure\"\n cancelText=\"No, Do not Delete\"\n >\n \n \n \n \n )\n }\n}\n\n\nconst DeleteCreditCardWithoutRouter = Form.create({\n name: 'UpdateUserProfileForm',\n})(DeleteCreditCardWithoutRouterAndForm);\n\nconst DeleteCreditCard = withRouter(DeleteCreditCardWithoutRouter);\n\nexport default DeleteCreditCard;","import styled from \"styled-components\";\nimport { Form } from \"antd\";\nimport ScreenHelper from \"components/Styled/ScreenHelper\";\n\n//in use\nexport const CardInforFormStyle = styled(Form)`\n .cardInfo{\n text-align: left; \n border: 1px lightgrey solid; \n border-radius: 10px;\n margin-bottom: 10px; \n padding: 10px;\n padding-left: 15px;\n padding-right: 15px; \n\n ${ScreenHelper.down('md')`\n text-align: center;\n vertical-align: middle;\n `}\n }\n\n .cardDetails {\n ${ScreenHelper.up('lg')`\n // margin-top: 25px;\n `}\n }\n\n .cardLogo {\n height: 25%; \n width: 50%;\n color: black;\n \n ${ScreenHelper.down('sm')`\n width: 75%;\n `} \n }\n\n .cardAlignment{\n ${ScreenHelper.up('lg')`\n display: flex;\n align-items: center;\n justify-content: center;\n `} \n }\n\n`;","import * as React from \"react\";\nimport { Form, Row, Col, Tag, Button, Icon, Tooltip } from \"antd\";\nimport { DeleteCreditCard, CreditCardConfirmation } from \"../..\";\nimport { ICreditCardRegistrationDto } from \"Core/Api/Payment/Api\";\nimport { CardInforFormStyle } from \"./CardInfo.Style\";\nimport ButtonGroup from \"antd/lib/button/button-group\";\nimport { FaCcVisa, FaCcMastercard, FaCreditCard } from \"react-icons/fa\";\n\nexport interface Props {\n children?: React.ReactNode\n cardDetails: ICreditCardRegistrationDto\n editButton(regId: number): any;\n reloadCardList(): any;\n}\n\nexport interface State {\n confirmedClicked: boolean,\n}\n\nexport default class CardInfo extends React.Component {\n\n constructor(props: Props) {\n super(props)\n this.collectRegIdEdit = this.collectRegIdEdit.bind(this);\n this.onConfirm = this.onConfirm.bind(this);\n this.onConfirmCancel = this.onConfirmCancel.bind(this);\n\n this.state = {\n confirmedClicked: false,\n }\n }\n\n collectRegIdEdit(regId: number) {\n this.props.editButton(regId);\n }\n\n //check if confirm button is clicked; displayed based on state value \n onConfirm(registrationId: number) {\n if (this.props.cardDetails !== undefined) {\n if (this.props.cardDetails.id === registrationId) {\n this.setState({ confirmedClicked: true })\n }\n }\n }\n\n onConfirmCancel() {\n this.setState({ confirmedClicked: false })\n }\n\n renderCardImage(cardFirstDigits?: string) {\n if (cardFirstDigits?.startsWith(\"4\")) {\n return ;\n }\n\n if (cardFirstDigits?.startsWith(\"5\")) {\n return \n } else {\n return \n }\n }\n\n confirmCardMessage = (\n

    \n A payment has been charged against your card. It is between $1 and $5.\n Please contact your bank to retrieve the value of this charge as it is needed to complete the card confirmation process.\n Click on the \"Confirm\" button to confirm card after retrieving amount from your bank.\n

    \n );\n\n\n render() {\n const { cardDetails, reloadCardList } = this.props;\n return (\n <>\n {/*
    */}\n \n \n
    \n \n \n {this.renderCardImage(cardDetails.cardNumberFirstFourDigits)}\n \n \n
    \n
    \n

    {cardDetails.cardNumberFirstFourDigits} **** **** {this.props.cardDetails.cardNumberLastFourDigits}

    \n

    {cardDetails.cardName}

    \n

    Status: {cardDetails.isConfirmed ?\n Confirmed :\n \n Unconfirmed\n \n }

    \n
    \n
    \n \n\n \n {/* \n \n \n {cardDetails.isConfirmed ? <> :\n \n }\n */}\n\n \n \n {cardDetails.isConfirmed ? <> :\n \n }\n \n \n \n\n \n \n \n \n \n\n \n \n\n {this.state.confirmedClicked ?\n \n \n \n \n \n : null}\n \n \n \n \n )\n }\n}\n","import * as React from 'react';\nimport { Form, Row, Col, Table, Button, Card, Icon, Tag, notification, Popover, Modal } from 'antd';\nimport {\n ICreditCardRegistrationDto,\n ConfirmCreditCardRegistrationRequestBody,\n AddressDto,\n} from 'Core/Api/Payment/Api';\nimport CreditCardConfirmation from '../CreditCardConfirmation';\nimport { FormComponentProps } from 'antd/lib/form';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { CreditCardRegistrationFormHandler } from '../CreditCardRegistrationFormHandler';\nimport AuthContext from 'Context/AuthContext';\nimport DeleteCreditCard from '../DeleteCreditCard';\nimport CardInfo from './CardInfo';\nimport CarRegistrationNotificationView, {\n CardRegistrationNotificationContent,\n} from 'components/Payment/CardRegistrationNotificationView';\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode;\n card(cardDetails2: Array): any;\n getUpdateDetails(regId: number): any;\n chargeButton(regId: number): any;\n reloadList(): any;\n DisplayCardRegistrationForm(): any;\n}\n\nexport interface State {\n cardDetails: Array; //for list state\n confirmedClicked: boolean;\n showModal: boolean;\n}\n\nclass BaseCreditCardRegisteredList extends React.Component {\n creditCardRegistrationFormHandler: CreditCardRegistrationFormHandler;\n static contextType = AuthContext;\n context!: React.ContextType;\n\n constructor(props: Props) {\n super(props);\n this.creditCardRegistrationFormHandler = new CreditCardRegistrationFormHandler(props);\n this.collectRegIdEdit = this.collectRegIdEdit.bind(this);\n this.collectCardDetails = this.collectCardDetails.bind(this);\n\n this.state = {\n cardDetails: [],\n confirmedClicked: false,\n showModal: false\n };\n }\n\n componentDidMount() {\n this.DisplayCreditCardList();\n // this.collectCardDetails();\n }\n\n DisplayCreditCardList = () => {\n // set user id and email address\n var userId;\n if (this.context.data) {\n userId = this.context.data.id!;\n }\n if (userId !== undefined) {\n this.creditCardRegistrationFormHandler\n .GetRegisteredCreditCard(userId)\n .then(details => {\n this.setState({ cardDetails: details });\n this.collectCardDetails();\n })\n .catch(() => { });\n }\n };\n\n // gets card details for card display componenet which passes\n // it on to other components that utilizes it\n collectCardDetails() {\n this.props.card(this.state.cardDetails);\n }\n\n // get card registration id for card update component via card display (parent)\n collectRegIdEdit(regId: number) {\n this.props.getUpdateDetails(regId);\n }\n\n\n\n render() {\n return (\n <>\n \n this.setState({ showModal: false })}>Ok\n ]}>\n \n \n\n \n \n \n \n \n\n {this.state.cardDetails.length > 0 ? (\n this.state.cardDetails.map(cardDetail => (\n \n ))\n ) : (\n <>\n

    No credit cards registered click to register one

    \n\n \n )}\n \n );\n }\n}\n\nconst CreditCardRegisteredListWithoutRouter = Form.create({\n name: 'UpdateUserProfileForm',\n})(BaseCreditCardRegisteredList);\n\nconst CreditCardRegisteredList = withRouter(CreditCardRegisteredListWithoutRouter);\n\nexport default CreditCardRegisteredList;\n","import * as React from \"react\";\nimport { Row, Col, Button, notification } from \"antd\";\nimport CreditCardRegisteredList from \"../CreditCardRegisteredList\";\nimport { CreditCardRegistrationFormHandler } from \"../CreditCardRegistrationFormHandler\";\nimport Form, { FormComponentProps } from \"antd/lib/form\";\nimport { RouteComponentProps, withRouter } from \"react-router\";\nimport { ICreditCardRegistrationDto, IConfirmCreditCardRegistrationRequestBody, ConfirmCreditCardRegistrationRequestBody, AddressDto, IAddressDto } from \"Core/Api/Payment/Api\";\nimport CreditCardRegistrationForm from \"../CreditCardRegistrationForm\";\nimport UpdateCreditCardForm from \"../UpdateCreditCardForm\";\nimport CreditCardConfirmation from \"../CreditCardConfirmation\";\nimport AuthContext from \"Context/AuthContext\";\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode\n}\n\nexport interface State {\n regClicked: boolean,\n cardDetails: Array\n registered: boolean,\n confirmClicked: boolean,\n editClicked: boolean,\n billingAddress: IAddressDto,\n regIdEdit: number;\n regIdConfirm: number;\n reload: boolean;\n}\n\nclass BaseCreditCardOverview extends React.Component {\n creditCardRegistrationFormHandler: CreditCardRegistrationFormHandler;\n static contextType = AuthContext;\n context!: React.ContextType;\n\n constructor(props: Props) {\n super(props)\n\n this.creditCardRegistrationFormHandler = new CreditCardRegistrationFormHandler(props);\n this.DisplayCardRegistrationForm = this.DisplayCardRegistrationForm.bind(this);\n this.CloseRegistrationForm = this.CloseRegistrationForm.bind(this);\n this.DisplayCardEditForm = this.DisplayCardEditForm.bind(this);\n this.getCardDetails = this.getCardDetails.bind(this);\n this.getBillAddress = this.getBillAddress.bind(this);\n this.getConfirmId = this.getConfirmId.bind(this);\n\n this.state = {\n regClicked: false,\n cardDetails: [],\n registered: false,\n confirmClicked: false,\n editClicked: false,\n regIdEdit: 0,\n regIdConfirm: 0,\n reload: false,\n\n billingAddress:\n {\n addressLine1: '',\n addressLine2: '',\n firstName: '',\n middleName: '',\n lastName: '',\n city: '',\n countryCode: '',\n telephone: ''\n }\n }\n }\n\n getCardDetails(cardDetails: Array) {\n this.setState({ cardDetails: cardDetails })\n }\n\n getBillAddress(regId: number) {\n this.setState({ regIdEdit: regId });\n this.state.cardDetails.map(card => {\n if (regId !== undefined && regId == card.id) {\n if (card.billingAddress !== undefined) {\n var i;\n for (i in card.billingAddress) {\n this.setState({ billingAddress: card.billingAddress })\n }\n }\n }\n })\n this.DisplayCardEditForm();\n }\n\n getConfirmId(regId: number) {\n this.setState({ regIdEdit: regId });\n }\n\n componentDidMount() {\n }\n\n\n //display form to register a new credit card on click\n DisplayCardRegistrationForm = () => {\n this.setState({ regClicked: true })\n }\n //close form to register a new credit card on click\n CloseRegistrationForm = () => {\n this.setState({ regClicked: !this.state.regClicked })\n }\n\n //display form to edit registerd credit card billing address on click\n DisplayCardEditForm = () => {\n this.setState({ editClicked: true })\n }\n //close form to to edit registerd credit card billing address on click\n CloseCardEditForm = () => {\n this.setState({ editClicked: false })\n }\n\n render() {\n var page\n\n if (this.state.regClicked && !this.state.editClicked) {\n page = <>\n \n
    \n {/* for registration form */}\n \n \n \n } else if (!this.state.regClicked && !this.state.editClicked) {\n page = <>\n \n {/* list of card registered */}\n \n \n \n \n \n } else if (!this.state.regClicked && this.state.editClicked) {\n page = \n {/* Edit credit card billing address */}\n \n \n \n \n }\n\n\n return (\n <>\n {page}\n \n )\n }\n}\n\n\nconst CreditCardOverviewWithoutRouter = Form.create({\n name: 'UpdateUserProfileForm',\n})(BaseCreditCardOverview);\n\nconst CreditCardOverview = withRouter(CreditCardOverviewWithoutRouter);\n\nexport default CreditCardOverview;","import * as React from 'react';\nimport { Tabs, Row, Col } from 'antd';\nimport UpdateUserProfileForm from '../UpdateUserProfileForm';\nimport ResetPasswordForm from '../ResetPasswordForm/ResetPasswordForm';\nimport CreditCardOverview from '../CreditCardRegistrationForm/CreditCardOverview';\nimport {\n StyleUserProfileTab,\n PageContainerRow,\n PageContainerCol,\n PageContainerColLayout,\n} from './UserPrfileTab.Style';\nimport CenteredPageContainer from 'components/Layout/CenteredPageContainer';\nimport { BrowserRouter as Router, Switch, Route, NavLink, RouteComponentProps, withRouter } from 'react-router-dom';\nimport Form, { FormComponentProps } from 'antd/lib/form';\nimport { createBrowserHistory } from \"history\";\nimport CustomerBolOverview from '../CustomerBolOverview';\nimport AuthContext from 'Context/AuthContext';\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nclass BaseUserProfileTabbed extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n constructor(props: Props) {\n super(props);\n this.profile = this.profile.bind(this);\n\n this.state = {};\n }\n\n profile() {\n const { TabPane } = Tabs;\n return (\n //for now, have to force to refresh on push when an update/confirm/delete/registration of card is made\n // \n //force refresh is refreshing page when i move from tab to tab as well\n \n \n {\n return (\n \n \n \n \n {\n history.push(`/user-profile/${key}`);\n }}>\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n );\n }}\n />\n\n \n \n )\n }\n\n render() {\n return (\n this.profile()\n );\n }\n}\n\n\nconst UserProfileTabbedWithoutRouter = Form.create({\n name: 'UpdateUserProfileForm',\n})(BaseUserProfileTabbed);\n\nconst UserProfileTabbed = withRouter(UserProfileTabbedWithoutRouter);\n\nexport default UserProfileTabbed;","import * as React from 'react';\nimport { List, Row, Col, Collapse, Button, message, Popconfirm, notification, Tooltip, Icon, Card } from 'antd';\nimport { Cart, CartItem } from 'Core/Api/Kopp/Api';\nimport moment from 'moment';\nimport CartContext from 'Context/CartContext';\nimport { NavLink, withRouter, RouteComponentProps } from 'react-router-dom';\nimport { PageContainerRow, PageContainerCol, PageContainerColLayout, BorderlessCollapse } from './CartOverviewView.Style';\nimport { CargesModel } from 'components/CargoCharges/CargoChargesResults/CargoChargesResultsModel';\nimport Table, { ColumnProps } from 'antd/lib/table';\nimport { CartHandler } from '../CartHandler';\nimport CartItemListItem from '../CartItemListItem';\nimport { RightAlignRow } from 'components/Styled/Layout.Styled';\nimport CardRegistrationNotificationView from 'components/Payment/CardRegistrationNotificationView';\nimport { AuthUser } from 'Core/models/AuthUser';\nimport { CreditCardRegistrationFormHandler } from 'components/UserManagement/Profile/CreditCardRegistrationForm/CreditCardRegistrationFormHandler';\nimport NotificationUtility from 'Core/NotificationUtility';\nexport interface Props extends RouteComponentProps {\n children?: React.ReactNode;\n cart?: Cart;\n user?: AuthUser;\n}\n\nexport interface State {\n cart?: Cart;\n isCardRegistered: boolean;\n}\n\nexport class CartOverviewViewWithoutRouter extends React.Component {\n static contextType = CartContext;\n context!: React.ContextType;\n handler: CartHandler;\n creditCardRegistrationFormHandler: CreditCardRegistrationFormHandler;\n\n constructor(props: Props) {\n super(props);\n this.creditCardRegistrationFormHandler = new CreditCardRegistrationFormHandler(props);\n this.getRegisteredCards = this.getRegisteredCards.bind(this);\n\n this.state = {\n cart: props.cart,\n isCardRegistered: false,\n };\n\n this.renderCartItem = this.renderCartItem.bind(this);\n this.renderTotalFooter = this.renderTotalFooter.bind(this);\n this.handler = new CartHandler(props);\n this.updateCart = this.updateCart.bind(this);\n this.GoToCheckoutPage = this.GoToCheckoutPage.bind(this);\n this.emptyCart = this.emptyCart.bind(this);\n }\n\n componentDidUpdate(prevProps: Props, pervState: State) {\n }\n\n componentDidMount() {\n this.getRegisteredCards();\n this.handler.GetCart().then(x => {\n this.context.Update(x?.cart);\n }).catch(() => { });\n\n }\n\n updateCart(cart?: Cart) {\n this.context.Update(cart);\n }\n\n emptyCart() {\n this.handler.EmptyCart()\n .then(x => {\n this.context.Update(x.cart);\n NotificationUtility.info(\n 'Cart Emptied',\n \"All items in the cart was successfully removed.\",\n 25,\n true\n );\n }).catch(() => {\n NotificationUtility.error(\n 'Issue Removing Items',\n \"An error occurred while trying to empty the cart.\",\n 25,\n true\n );\n });\n }\n\n GoToCheckoutPage() {\n this.props.history.replace('/checkout');\n }\n\n renderCartItem(cartItem: CartItem) {\n return (\n \n );\n }\n\n renderTotalFooter() {\n\n if (!this.context?.data?.cartItems?.length) {\n return <>\n }\n\n return (\n \n Total Cost\n JMD$ {this.context?.data?.total}\n \n )\n }\n\n getRegisteredCards() {\n if (this.props.user?.id) {\n this.creditCardRegistrationFormHandler\n .GetRegisteredCreditCard(this.props.user.id)\n .then(x => {\n if (x.filter(card => card.id).length > 0) {\n this.setState({ isCardRegistered: true });\n }\n }).catch(x => { });\n }\n }\n\n waitMessage = (\n
    \n {/*

    Please wait

    */}\n

    Currently doing checks in the background

    \n
    \n );\n\n render() {\n const cart = this.context?.data || new Cart();\n\n var checkoutButton;\n if (this.state.isCardRegistered && cart.cartItems !== undefined) {\n if (cart.cartItems?.length > 0)\n checkoutButton = \n }\n else\n checkoutButton = \n\n \n\n return (\n <>\n \n \n \n

    \n You have {cart.cartItems?.length || \"no\"} {cart.cartItems?.length !== undefined && cart.cartItems?.length !== 1 ? \"items\" : \"item\"} in the cart.\n if you wish to add more items to the cart you can do so on the Get & Pay Charges page.\n

    \n \n \n \n \n {cart?.cartItems?.length ? \n \n : <>}\n \n \n

    \n \n
    \n \n \n \n \n \n

    \n \n
    \n {checkoutButton}\n \n \n \n \n \n )\n }\n}\n\nconst CartOverviewView = withRouter(CartOverviewViewWithoutRouter);\n\nexport default CartOverviewView;","import * as React from 'react';\nimport AuthContext from 'Context/AuthContext';\nimport CheckoutForm from '../CheckoutForm';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nexport default class UserDataWrapper extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n\n const children = React.cloneElement(this.props.children as any, { user: this.context.data });\n\n return <>{children};\n }\n}\n","import * as React from 'react';\nimport { Row, Col } from 'antd';\nimport CartOverviewView from 'components/CartManagement/CartOverviewView';\nimport CenteredPageContainer from 'components/Layout/CenteredPageContainer';\nimport UserDataWrapper from 'components/Payment/CheckoutForm/UserDataWrapper';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nexport default class CartOverviewPage extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return (\n \n \n \n \n \n );\n }\n}\n","import * as React from \"react\";\nimport { Row, Col } from \"antd\";\nimport CartContext from \"Context/CartContext\";\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nexport default class CheckoutFooter extends React.Component {\n static contextType = CartContext;\n context!: React.ContextType;\n\n constructor(props: Props) {\n super(props)\n this.renderTotalFooter = this.renderTotalFooter.bind(this);\n\n this.state = {\n }\n }\n\n renderTotalFooter() {\n\n if (!this.context ?.data ?.cartItems) {\n return <>\n }\n\n return (\n \n Total: $JMD {this.context ?.data ?.total}\n Checkout\n \n )\n }\n\n render() {\n return (\n this.renderTotalFooter()\n )\n }\n}\n","export default __webpack_public_path__ + \"static/media/creditcardcheckout.8b8559bd.png\";","export default __webpack_public_path__ + \"static/media/vbv_mcsc_logo.687bd9c4.png\";","import { SecuredPaymentClient } from '../../../Core/Api/Payment/SecuredPaymentClient';\nimport {\n ConfirmCreditCardRegistrationRequestBody,\n AddressDto,\n ReferenceValueDto,\n IReferenceValueDto,\n ExecuteBillOfLadingPaymentRequest,\n BillOfLadingPaymentResponse,\n BeginBillPaymentResponse,\n BeginBillPaymentRequest,\n} from '../../../Core/Api/Payment/Api';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport TokenUtility from 'Core/TokenUtility';\n\nexport class CheckoutHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n makePayment(request: BeginBillPaymentRequest) {\n const client = new SecuredPaymentClient();\n const config = ConfigUtility.getSync()!;\n request.cashierId = config.CashierId;\n client.DisableToken = true;\n client.showLoading = false;\n // request.paymentMethod['_discriminator'] = 'CreditCardPaymentMethodDto';\n // request.paymentMethod['$type'] = 'CreditCardPaymentMethodDto';\n\n // need to stop JSON.stringify from change type property\n const authorization = TokenUtility.GetUMAToken();\n\n return client.beginBillPayment('Bearer ' + authorization, request);\n }\n}\n","import * as React from 'react';\nimport { FormComponentProps } from 'antd/lib/form';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { Form, Row, Col, Input, Icon, Select, Button, Checkbox, Collapse, Skeleton } from 'antd';\nimport FormControl from 'components/Forms/FormControl';\nimport FormUtility from 'Core/FormUtility';\nimport ValidationUtility from 'Core/ValidationUtility';\nimport MaskedInput from 'components/Forms/MaskedInput';\nimport { CreditCardRegistrationFormHandler } from 'components/UserManagement/Profile/CreditCardRegistrationForm/CreditCardRegistrationFormHandler';\nimport {\n IReferenceValueDto,\n CreditCardRegistrationDto,\n ExecuteBillOfLadingPaymentRequest,\n CreditCardPaymentMethodDto,\n BillOfLadingDto,\n BillOfLadingChargeDto,\n BillOfLadingData,\n BeginBillPaymentRequest,\n ICreditCardRegistrationDto,\n} from 'Core/Api/Payment/Api';\nimport {\n PageContainerRow,\n PageContainerCol,\n PageContainerColLayout,\n} from 'components/CartManagement/CartOverviewView/CartOverviewView.Style';\nimport { PageTitle } from 'components/Styled/Layout.Styled';\nimport CheckoutCardImage from 'assets/images/creditcardcheckout.png';\nimport VerifiedByImage from 'assets/images/vbv_mcsc_logo.png';\nimport { AuthUser } from 'Core/models/AuthUser';\nimport CartContext from 'Context/CartContext';\nimport moment from 'moment';\nimport { CargoChargesHandler } from 'components/CargoCharges/CargoChargesForm/CargoChargesFormHandler';\nimport { CargesModel } from 'components/CargoCharges/CargoChargesResults/CargoChargesResultsModel';\nimport { CheckoutHandler } from './CheckoutHandler';\nimport TermsAndConditionLink from 'components/Forms/TermsAndConditionLink';\nimport Utility from 'Core/Utility';\nimport { LOGROCKET_IGNORE_CLASS } from 'components/LogRocketErrorMonitor/LogRocketErrorMonitor';\nimport { FaCcVisa, FaCcMastercard, FaCreditCard } from 'react-icons/fa';\n\n\nexport type SelectedCard = { card?: ICreditCardRegistrationDto, cvv: string, isAuthorize: boolean };\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode;\n user?: AuthUser;\n confirmedCards?: ICreditCardRegistrationDto[];\n onCardDetailsChanged?: (selectedCard: SelectedCard) => void;\n updateHack?: number;\n}\n\nexport interface State {\n cardCurrencies?: IReferenceValueDto[];\n}\n\nexport class CardSelectFormWithoutRouterAndForm extends React.Component {\n static contextType = CartContext;\n context!: React.ContextType;\n\n constructor(props: Props) {\n super(props);\n\n this.onFormSubmit = this.onFormSubmit.bind(this);\n\n this.state = {\n };\n }\n\n public RaiseValidation = (): PromiseLike => {\n return new Promise(x => {\n this.props.form.validateFields((error, values) => {\n\n Promise.resolve(error);\n })\n }\n )\n }\n\n componentDidUpdate = (prevProps: Props) => {\n if (prevProps.updateHack != this.props.updateHack) {\n this.props.form.validateFieldsAndScroll();\n }\n }\n\n checkBoxChanged = () => {\n let me = this;\n this.props.form.validateFieldsAndScroll((errors, values) => {\n me.formChanged();\n });\n }\n\n formChanged = () => {\n let values = this.props.form.getFieldsValue();\n let card = !!values.cardId ? this.props.confirmedCards?.filter(x => x.id == values.cardId)[0] : undefined;\n let selectedCard: SelectedCard = { card: card, cvv: values.cvv, isAuthorize: values.termsCon };\n this.props.onCardDetailsChanged?.call(this, selectedCard);\n }\n\n onFormSubmit(event: React.FormEvent) {\n event.preventDefault();\n\n this.props.form.validateFieldsAndScroll((error, values: CreditCardPaymentMethodDto) => {\n if (!error) {\n // set expiry month & year\n //this.props.onCardDetailsEntered?.call(this, undefined, null);\n\n }\n });\n }\n\n renderCardImage(cardFirstDigits?: string) {\n if (cardFirstDigits?.startsWith(\"4\")) {\n return ;\n }\n\n if (cardFirstDigits?.startsWith(\"5\")) {\n return \n } else {\n return \n }\n }\n\n render() {\n const { form } = this.props;\n const getFieldDecorator = form.getFieldDecorator;\n const { Option } = Select;\n const cards = this.props.confirmedCards?.filter(x => x.wasSaved) ?? [];\n\n return (\n \n \n\n \n {/* */}\n \n {/* Credit Card Type*/}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n I confirm that I am authorized to use this card.\n \n \n \n \n \n \n \n );\n }\n\n private ShowCardRegistartionError() {\n this.props.form.setFields({\n 'cardDetails.cardNumber': {\n errors: [new Error('Can only use cards that have been registered and confirmed')],\n },\n });\n }\n}\n\nconst CardSelectFormWithoutRouter = Form.create({\n name: 'Checkout',\n})(CardSelectFormWithoutRouterAndForm);\n\nconst CardSelectForm = withRouter(CardSelectFormWithoutRouter);\n\nexport default CardSelectForm;\n","import * as React from 'react';\nimport { FormComponentProps } from 'antd/lib/form';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport { Form, Row, Col, Input, Icon, Select, Button, Checkbox, Collapse, Tooltip, Switch } from 'antd';\nimport FormControl from 'components/Forms/FormControl';\nimport FormUtility from 'Core/FormUtility';\nimport ValidationUtility from 'Core/ValidationUtility';\nimport MaskedInput from 'components/Forms/MaskedInput';\nimport { CreditCardRegistrationFormHandler } from 'components/UserManagement/Profile/CreditCardRegistrationForm/CreditCardRegistrationFormHandler';\nimport {\n IReferenceValueDto,\n CreditCardRegistrationDto,\n ExecuteBillOfLadingPaymentRequest,\n CreditCardPaymentMethodDto,\n BillOfLadingDto,\n BillOfLadingChargeDto,\n BillOfLadingData,\n BeginBillPaymentRequest,\n ICreditCardRegistrationDto,\n ICreditCardPaymentMethodDto,\n CreditCardDetailsDto,\n AddressDto\n} from 'Core/Api/Payment/Api';\nimport {\n PageContainerRow,\n PageContainerCol,\n PageContainerColLayout,\n} from 'components/CartManagement/CartOverviewView/CartOverviewView.Style';\nimport { PageTitle } from 'components/Styled/Layout.Styled';\nimport CheckoutFooter from './CheckoutFooter';\nimport CheckoutCardImage from '../../../assets/images/creditcardcheckout.png';\nimport VerifiedByImage from '../../../assets/images/vbv_mcsc_logo.png';\nimport { AuthUser } from 'Core/models/AuthUser';\nimport CartContext from 'Context/CartContext';\nimport moment from 'moment';\nimport { CargoChargesHandler } from 'components/CargoCharges/CargoChargesForm/CargoChargesFormHandler';\nimport { CargesModel } from 'components/CargoCharges/CargoChargesResults/CargoChargesResultsModel';\nimport { CheckoutHandler } from './CheckoutHandler';\nimport TermsAndConditionLink from 'components/Forms/TermsAndConditionLink';\nimport Utility from 'Core/Utility';\nimport { LOGROCKET_IGNORE_CLASS } from 'components/LogRocketErrorMonitor/LogRocketErrorMonitor';\nimport { CardSelectForm } from './CardSelectForm';\nimport { SelectedCard, CardSelectFormWithoutRouterAndForm } from './CardSelectForm/CardSelectForm';\nimport NotificationUtility from 'Core/NotificationUtility';\nimport ShowIfTrue from 'components/Forms/ShowIfTrue';\nimport { SubmitButton } from 'components/SubmitButton';\nimport CenteredPageContainer from \"components/Layout/CenteredPageContainer\";\nimport styled from 'styled-components';\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode;\n user?: AuthUser;\n}\n\nexport interface State {\n cardTypes: IReferenceValueDto[];\n cardCurrencies: IReferenceValueDto[];\n confirmedCard?: ICreditCardRegistrationDto[];\n bols?: BillOfLadingDto[];\n gotAllInfo: boolean;\n cardRetry: number;\n cardTypeRetry: number;\n bolRetry: number;\n usingSavedCard: boolean;\n slectedCard?: SelectedCard;\n selectCardFormUpdateHack: number;\n currentTabKey?: string;\n paymentRequest?: any;\n}\n\nclass CheckoutFormWithoutRouterAndForm extends React.Component {\n static contextType = CartContext;\n context!: React.ContextType;\n creditCardRegistrationFormHandler: CreditCardRegistrationFormHandler;\n cargoChargesHandler: CargoChargesHandler;\n checkoutHandler: CheckoutHandler;\n cardSelectFormRef;\n\n constructor(props: Props) {\n super(props);\n this.creditCardRegistrationFormHandler = new CreditCardRegistrationFormHandler(props);\n this.checkoutHandler = new CheckoutHandler(props);\n this.cargoChargesHandler = new CargoChargesHandler(props);\n this.getRegisteredCards = this.getRegisteredCards.bind(this);\n this.onFormSubmit = this.onFormSubmit.bind(this);\n\n this.state = {\n cardTypes: [],\n cardCurrencies: [],\n bols: [],\n gotAllInfo: false,\n cardRetry: 0,\n cardTypeRetry: 0,\n bolRetry: 0,\n usingSavedCard: true,\n selectCardFormUpdateHack: 1,\n currentTabKey: \"1\"\n };\n }\n\n componentDidMount() {\n this.getCardType();\n this.getRegisteredCards();\n this.getBolInfo();\n\n }\n\n componentDidUpdate(prevProps: Props, prevState: State) {\n if (prevState.paymentRequest != this.state.paymentRequest) {\n this.props.history.push(\"/payment-processing\", this.state.paymentRequest);\n }\n }\n\n getBolInfo() {\n this.context.data?.cartItems?.forEach(x => {\n const date = moment.parseZone(x.pickupDate);\n const bolNumber = x.itemReference;\n\n Utility.retry(this.cargoChargesHandler\n .GetRawBillOfLadingCharges({ bolNumber: bolNumber!, storageToDate: date }),\n 3,\n 500)\n .then(y => {\n\n // find related cart item because might have to take storageToDate from it.\n const cartItem = this.context.data?.cartItems?.filter(x => x.itemReference === bolNumber)[0];\n\n // Transaform to BillOfLadingDto\n const bol: BillOfLadingDto = new BillOfLadingDto({\n bolNumber: bolNumber!,\n bolData: new BillOfLadingData({ bolReferenceNumbers: y.bolReferenceNos!, bolStorageToDate: x.pickupDate || cartItem?.pickupDate! }),\n charges: y.data!.map((charge: CargesModel) => {\n return new BillOfLadingChargeDto({\n chargeName: charge.chargeType!,\n amount: charge.chargeAmount!\n });\n\n })\n\n });\n this.setState({ bols: [...this.state.bols ?? [], bol] });\n }).catch(error => {\n NotificationUtility.error(\"Please Refresh\", \"An error occurred while retriving important information. Please refresh this page and try again.\");\n })\n\n })\n }\n\n getRegisteredCards() {\n if (this.props.user?.id) {\n Utility.retry(this.creditCardRegistrationFormHandler\n .GetRegisteredCreditCard(this.props.user.id), 3, 500)\n .then(x => {\n const confirmedCard = x.filter(card => card.isConfirmed);\n this.setState({ confirmedCard });\n }).catch(x => { });\n }\n }\n\n getCardType() {\n const repeatableCreditCardTypes = Utility.retry(this.creditCardRegistrationFormHandler\n .GetCreditCardTypes(), 3, 500);\n repeatableCreditCardTypes\n .then(type => {\n if (type !== undefined) {\n this.setState({ cardTypes: type });\n }\n });\n }\n\n CardOptionsChanged = (option) => {\n this.setState({ usingSavedCard: option == \"1\", currentTabKey: option })\n }\n\n SelectedCardDetailsChanged = (slectedCard: SelectedCard) => {\n this.setState({ slectedCard });\n }\n\n onFormSubmit(event: React.FormEvent) {\n event.preventDefault();\n\n\n if (this.state.usingSavedCard) {\n this.submitSavedCardDetailsForm();\n } else {\n this.submitCardDetailsForm();\n }\n\n }\n\n submitSavedCardDetailsForm = () => {\n\n\n var selectedCard = this.state.slectedCard;\n\n // console.log(selectedCard);\n\n if (!selectedCard || !selectedCard?.card || !selectedCard?.cvv || !selectedCard?.isAuthorize) {\n // This hack it to force the selectCardForm to up on a on demand\n // The componentDidUpdate will be called and action will be taken in it.\n // Ref did not work because SelectCardForm is a HOC and FrowardRef did not work.\n this.setState({ selectCardFormUpdateHack: this.state.selectCardFormUpdateHack + 1 })\n return;\n }\n\n // Find registered card for billing information\n let paymentMethod = new CreditCardPaymentMethodDto();\n paymentMethod.paymentCardId = selectedCard?.card.id as any;\n let cardDetails = {\n cardNumber: `${selectedCard.card.cardNumberFirstFourDigits}XXXXXXXX${selectedCard.card.cardNumberLastFourDigits}`,\n cardCurrencyCode: selectedCard.card.cardCurrencyCode,\n cardName: selectedCard.card.cardName,\n expiryYear: moment().add(3, \"y\").year().toString(),\n expiryMonth: \"12\",\n cardTypeId: selectedCard.card.cardTypeId,\n expiry: '2020/20',\n cvv: selectedCard.cvv,\n billingAddress: new AddressDto(selectedCard?.card!.billingAddress!)\n };\n\n paymentMethod.cardDetails = new CreditCardDetailsDto(cardDetails);\n\n const request: BeginBillPaymentRequest = new BeginBillPaymentRequest();\n request.paymentMethod = paymentMethod;\n request.billOfLadings = this.state.bols;\n request.currencyCode = \"JMD\";\n request.jmdExchangeRate = 1;\n request.total = Number.parseFloat(this.context.data?.total!.toFixed(2) ?? \"0\");\n request.totalInJmd = Number.parseFloat(this.context.data?.total!.toFixed(2) ?? \"0\");\n request.userEmailAddress = this.props.user?.email!;\n request.userId = this.props.user?.id!;\n request.userMobilePhone = \"<>\";\n\n this.setState({ paymentRequest: request });\n\n }\n\n submitCardDetailsForm = () => {\n\n this.props.form.validateFieldsAndScroll(\n (error, values: ICreditCardPaymentMethodDto) => {\n\n // find related card for registration\n values.cardDetails!.cardNumber = values.cardDetails!.cardNumber?.split(\" \").join(\"\");\n const cardFirstFourDigits = values.cardDetails!.cardNumber?.substr(0, 4);\n const cardLastFourDigits = values.cardDetails!.cardNumber?.substr(12, 4);\n const card = this.state.confirmedCard?.\n filter(card => card.cardNumberFirstFourDigits === cardFirstFourDigits &&\n card.cardNumberLastFourDigits === cardLastFourDigits)[0];\n if (!card) {\n this.ShowCardRegistartionError();\n return;\n }\n\n if (!error) {\n // set expiry month & year\n if (values.cardDetails !== undefined) {\n const expiryParts = FormUtility.getExpiryDateParts(values.cardDetails.expiry);\n values.cardDetails.expiryMonth = expiryParts?.month!;\n values.cardDetails.expiryYear = expiryParts?.year!;\n }\n\n // Find registered card for billing information\n values.cardDetails!.billingAddress = card?.billingAddress!;\n values.cardDetails!.cardCurrencyCode = card?.cardCurrencyCode!;\n\n const request: BeginBillPaymentRequest = new BeginBillPaymentRequest();\n request.paymentMethod = new CreditCardPaymentMethodDto(values);\n request.billOfLadings = this.state.bols;\n request.currencyCode = \"JMD\";\n request.jmdExchangeRate = 1;\n request.total = Number.parseFloat(this.context.data?.total!.toFixed(2) ?? \"0\");\n request.totalInJmd = Number.parseFloat(this.context.data?.total!.toFixed(2) ?? \"0\");\n request.userEmailAddress = this.props.user?.email!;\n request.userId = this.props.user?.id!;\n request.userMobilePhone = \"<>\";\n request.shouldTokenize = values[\"saveTokenizeCard\"] ?? false;\n\n const callback = this.props.history.listen((l, a) => {\n });\n\n setTimeout(callback, 1000);\n\n this.props.history.replace(\"/payment-processing\", request);\n }\n });\n\n }\n\n\n render() {\n const { form } = this.props;\n const getFieldDecorator = form.getFieldDecorator;\n const { Option } = Select;\n\n const cardTypeSelector = (\n \n );\n\n const CustomCheckbox = styled(Checkbox) <{ backgroundColor: any }>`\n ${props =>\n props.backgroundColor && `\n & .ant-checkbox .ant-checkbox-inner {\n background-color: ${props.backgroundColor};\n }\n `}\n `;\n\n return (\n \n \n {/* */}\n {/* */}\n {/*
    */}\n \n \n
    \n \"\"\n \n \n


    \n \n \n \n Select A Saved Card} key=\"1\" >\n \n \n\n \n \n\n Enter Card Details} key=\"3\" >\n \n \n \n \n\n \n\n \n \n {/* Name on Card */}\n \n \n }\n placeholder=\"Name of Cardholder\"\n />\n \n \n\n {/* Save Card */}\n \n Save Card for faster Checkout }\n valuePropName=\"checked\">\n\n \n \n\n \n \n \n\n \n {/* Card Number */}\n \n \n }\n mask=\"9999 9999 9999 9999\"\n alwaysShowMask={true}\n placeholder=\"Card Number\"\n />\n \n \n\n {/* Credit Card Type*/}\n \n \n {cardTypeSelector}\n \n \n \n\n \n {/* Expiry Date */}\n \n \n }\n mask=\"99/99\"\n alwaysShowMask={true}\n className=\"Sumperess\"\n placeholder=\"Card Number\"\n />\n \n \n\n {/* CVV2/CVCV2 */}\n \n \n }\n mask=\"999\"\n placeholder=\"CVV2/CVC2\"\n type=\"password\" />\n \n \n \n \n \n \n \n \n I confirm that I am authorized to use this card.\n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \"\"\n \n \n\n \n \n

    Your card may be eligible or enrolled in Verified by Visa or MasterCard SecureCode Consumer Authentication programs. After clicking the 'Checkout' button, your Card Issuer may prompt you for your Consumer Authentication password to complete your purchase.

    \n

    By checking out you are agreeing to the Kingston Wharves .

    \n \n \n\n \n\n\n \n \n \n );\n }\n\n private ShowCardRegistartionError() {\n this.props.form.setFields({ \"cardDetails.cardNumber\": { errors: [new Error(\"Can only use cards that have been registered and confirmed\")] } });\n }\n\n}\n\nconst CheckoutWithoutRouter = Form.create({\n name: 'Checkout',\n})(CheckoutFormWithoutRouterAndForm);\n\nconst CheckoutForm = withRouter(CheckoutWithoutRouter);\n\nexport default CheckoutForm;\n","import * as React from 'react';\nimport { Row, Col } from 'antd';\nimport CheckoutForm, { UserDataWrapper } from 'components/Payment/CheckoutForm';\nimport { Helmet } from \"react-helmet\";\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nexport default class CheckoutPage extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return (\n \n Checkout\n \n \n \n \n \n \n );\n }\n}\n","import * as React from 'react';\nimport { Layout, Row } from 'antd';\nimport styled from 'styled-components';\nimport ScreenHelper from '../../Styled/ScreenHelper';\nimport logoSvg from '../../../assets/images/logo.png';\n\nconst { Header, Content, Footer } = Layout;\n\nexport const CenteredContent = styled(Content)`\n height: 100%;\n min-height: 100vh;\n ${ScreenHelper.down('md')`\n padding-top:3vh;\n `}\n ${ScreenHelper.down('sm')`\n padding-top:1vh;\n `}\n ${ScreenHelper.up('lg')`\n padding-top:15vh;\n `}\n`;\n\nexport const MainLogo = styled.div`\n content: '';\n height: 18em;\n width: 21em;\n\n border: none;\n background: url(${logoSvg});\n background-size: contain;\n background-position: center center;\n background-repeat: no-repeat;\n\n ${ScreenHelper.down('md')`\n height: 0em;\n width: 0em;\n `}\n`;\n","import * as React from 'react';\nimport styled from 'styled-components';\nimport { Avatar } from 'antd';\n\n// This is needed because SubMenu styling was throwing of .anticon styles\nconst MenuAvatar = styled(Avatar)`\ni.anticon.anticon {\n margin-right: 0px;\n font-size: 18px;\n }\n}\n\n\n\n\n`;\n\nexport default MenuAvatar;\n","import * as React from 'react';\nimport { Menu, Icon } from 'antd';\nimport { NavLink, RouteComponentProps } from 'react-router-dom';\nimport MenuAvatar from '../MenuAvatar';\nimport styled from 'styled-components';\nimport AuthContext from '../../../Context/AuthContext';\nimport MenuItem from 'antd/lib/menu/MenuItem';\nimport { CartBadge } from '.';\nimport { withRouter } from 'react-router';\n\nexport interface Props extends RouteComponentProps {\n children?: React.ReactNode;\n}\n\nexport interface State {}\n\nexport class UserBarWithoutRouter extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n this.redirectToCartPage = this.redirectToCartPage.bind(this);\n }\n\n redirectToCartPage() {\n this.props.history.push('/cart');\n }\n\n render() {\n return (\n }>\n \n \n  \n {this.context.data ? this.context.data.username : ''}\n \n }>\n \n \n \n User Profile\n \n \n \n \n \n \n Logout\n \n \n \n\n } onTitleClick={this.redirectToCartPage}>\n \n \n \n );\n }\n}\n\nconst UserBar = withRouter(UserBarWithoutRouter);\nexport default UserBar;\n","import * as React from 'react';\nimport { Menu, Badge } from 'antd';\nimport MenuAvatar from '../../MenuAvatar';\nimport { NavLink } from 'react-router-dom';\nimport CartContext from 'Context/CartContext';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nexport default class CartBadge extends React.Component {\n static contextType = CartContext;\n context!: React.ContextType;\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return (\n\n \n \n  \n {/* {this.context.data ? this.context.data.username : ''} */}\n \n\n );\n }\n}\n","import React, { FunctionComponent } from 'react';\nimport { Avatar, Badge, Menu, Icon } from 'antd';\nimport { NavLink } from 'react-router-dom';\nimport MenuAvatar from '../MenuAvatar';\n\nconst LoginBar: FunctionComponent = () => {\n return (\n }>\n \n \n \n \n Login\n \n \n \n }\n />\n \n );\n};\n\nexport default LoginBar;\n","import * as React from 'react';\nimport AuthContext from '../../../Context/AuthContext';\nimport UserBar from '../UserBar';\nimport LoginBar from '../LoginBar';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {}\n\nexport default class AuthBar extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n const userData = this.context.data;\n return !!userData ? : ;\n }\n}\n","import * as React from 'react';\nimport { Layout, Col, Row } from 'antd';\nimport AppMenu from '../../AppMenu';\nimport AppRoute from '../../../../Core/models/AppRoute';\nimport Logo from '../../../Styled/Logo';\nimport UserBar from '../../UserBar';\nimport AuthBar from 'components/Layout/AuthBar';\nimport { CenterAlignRow } from 'components/Styled/Layout.Styled';\nimport AuthContext from 'Context/AuthContext';\n\nconst { Header } = Layout;\n\nexport interface Props {\n children?: React.ReactNode;\n menu: AppRoute[];\n}\n\nexport interface State { isLoggedIn: boolean; }\n\nexport default class TopBar extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = { isLoggedIn: false };\n }\n\n static contextType = AuthContext;\n context!: React.ContextType;\n\n componentDidMount() {\n if (this.context.data) {\n this.setState({ isLoggedIn: true });\n }\n }\n\n render() {\n return (\n
    \n \n \n \n \n \n\n \n
    \n \n \n \n \n \n \n \n \n \n );\n }\n}\n","import * as React from 'react';\nimport { Layout, Row, Col } from 'antd';\nimport { CenteredContent, MainLogo } from './BlankCenteredLogoLayout.Style';\nimport { Link } from 'react-router-dom';\nimport TopBar from '../ClassicLayout/TopBar/TopBar';\nimport { AppRoutes } from 'Core/AppRoutes';\nconst { Header, Content, Footer } = Layout;\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nexport default class BlankCenteredLogoLayout extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return (\n \n \n
    \n \n \n \n \n \n
    \n \n \n {this.props.children}\n \n \n
    \n );\n }\n}\n","import * as React from 'react';\nimport { Row, Col, Button } from 'antd';\nimport { CenterAlignRow } from 'components/Styled/Layout.Styled';\nimport { withRouter, RouteComponentProps } from 'react-router-dom';\nimport { AppRoutes } from 'Core/AppRoutes';\nimport AppRoute from 'Core/models/AppRoute';\nimport { matchPath } from 'react-router';\nimport Utility from 'Core/Utility';\nimport BlankCenteredLogoLayout from 'components/Layout/BlankCenteredLogoLayout';\n\nexport interface Props extends RouteComponentProps {\n children?: React.ReactNode;\n}\n\nexport interface State {\n shouldNotRender: boolean;\n}\n\nexport class NotFoundViewWithoutRouter extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {shouldNotRender: false};\n this.handleHome = this.handleHome.bind(this);\n this.handleLogin = this.handleLogin.bind(this);\n this.isMatch = this.isMatch.bind(this);\n this.checkIfPageShouldRender = this.checkIfPageShouldRender.bind(this);\n }\n\n componentDidMount() {\n this.checkIfPageShouldRender();\n }\n\n checkIfPageShouldRender(){\n const appRoutesWithout404 = AppRoutes.filter(x=> x.path != \"/*\");\n const shouldNotRender = Utility.getAppRoutesWithFullPath(appRoutesWithout404)?.some(x=> this.isMatch(x)) ?? false;\n this.setState({shouldNotRender: shouldNotRender});\n }\n\n componentDidUpdate(nextProps) {\n if (nextProps.location !== this.props.location) {\n this.checkIfPageShouldRender();\n }\n }\n\n isMatch(route: AppRoute): boolean {\n return !!matchPath(this.props.location.pathname, route) || (route.routes?.some(x=> this.isMatch(x)) ?? false);\n }\n\n handleHome(e: React.FormEvent) {\n e.preventDefault();\n this.props.history.push('/Home');\n }\n\n handleLogin(e: React.FormEvent) {\n e.preventDefault();\n this.props.history.push('/login');\n }\n\n render() {\n return (\n !this.state.shouldNotRender &&\n \n \n
    \n \n \n \n \n \n 404\n \n \n \n \n

    WE ARE SORRY, PAGE NOT FOUND

    \n \n \n \n \n \n THE PAGE YOU ARE LOOKING FOR MIGHT HAVE BEEN REMOVED, HAD ITS NAME CHANGED OR\n IS TEMPORARILY UNAVAILABLE.\n

    \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n}\n\nconst NotFoundView = withRouter(NotFoundViewWithoutRouter);\nexport default NotFoundView;\n","import React from 'react';\nimport NotFoundView from 'components/Information/NotFoundView';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {}\n\nexport default class NotFoundPage extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return ;\n }\n}\n","import * as React from 'react';\nimport { Layout, Row } from 'antd';\nimport styled from 'styled-components';\nimport ScreenHelper from '../../Styled/ScreenHelper';\nimport logoSvg from '../../../assets/images/logo.png'\n\nconst { Header, Content, Footer } = Layout;\n\nexport const CenteredContent = styled(Content)`\n height: 100%;\n min-height: 100vh;\n ${ScreenHelper.down('md')`\n padding-top:1vh;\n `}\n ${ScreenHelper.up('md')`\n padding-top:15vh;\n `}\n`;\n\nexport const MainLogo = styled.div`\n height: 10em;\n width: 21em;\n\n border: none;\n background: url(${logoSvg});\n background-size: contain;\n background-position: center center;\n background-repeat: no-repeat;\n\n ${ScreenHelper.down('sm')`\n height: 8em;\n width: 10em;\n `}\n`;\n","import * as React from \"react\";\nimport { Layout, Row } from 'antd';\nimport { CenteredContent, MainLogo } from './BlankLeftLogoLayout.Style';\nconst { Header } = Layout;\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nexport default class BlankLeftLogoLayout extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n return (\n \n
    \n \n
    \n \n \n {this.props.children}\n \n \n
    \n )\n }\n}\n","export default __webpack_public_path__ + \"static/media/shopping.552f5a08.gif\";","export default __webpack_public_path__ + \"static/media/paymentSpinner.46b26bcc.gif\";","import antd, { Form, Collapse, Row, Col, PageHeader } from 'antd';\nimport styled from 'styled-components';\nimport ScreenHelper from '../../Styled/ScreenHelper';\nimport { ColSize } from 'antd/lib/col';\n\nexport const PaymentText = styled.h1`\n font-size: 2em;\n`;\n","import * as React from 'react';\nimport {\n PageContainerRow,\n PageContainerCol,\n} from 'components/UserManagement/Profile/UserProfileTabbed/UserPrfileTab.Style';\nimport { Row, Col } from 'antd';\nimport cartAnimationGif from '../../../assets/images/shopping.gif';\nimport paymentSpinnerGif from '../../../assets/images/paymentSpinner.gif';\nimport { PaymentText } from './PaymentProcesingView.Styled';\nimport { withRouter, RouteComponentProps } from 'react-router';\nimport { CheckoutHandler } from '../CheckoutForm/CheckoutHandler';\nimport {\n ExecuteBillOfLadingPaymentRequest,\n CreditCardPaymentMethodDto,\n BeginBillPaymentRequest\n} from 'Core/Api/Payment/Api';\nimport { PaymentProcessingModel } from './PaymentProcessingModel';\nimport { callbackify } from 'util';\nimport { Prompt } from 'react-router-dom';\nexport interface Props extends RouteComponentProps {\n children?: React.ReactNode;\n}\n\nexport interface State {\n locationListenCallback?: Function;\n canNavigate?: boolean;\n requestState?: any;\n}\n\nclass PaymentProcessingViewWithoutRouter extends React.Component {\n checkoutHandler: CheckoutHandler;\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n this.checkoutHandler = new CheckoutHandler(props);\n this.ExecutePayment = this.ExecutePayment.bind(this);\n }\n\n componentDidMount() {\n console.log(\"in did mount\");\n const callback = this.props.history.listen((location, action) => {\n console.log(\"in listener\");\n if (action != \"REPLACE\") {\n console.log(\"Will block navigation\");\n this.props.history.block();\n }\n });\n this.setState({ locationListenCallback: callback });\n\n this.ExecutePayment();\n\n }\n\n componentDidUpdate(prevProps: Props, prevState: State) {\n if (prevState.requestState != this.state.requestState) {\n this.props.history.replace('/3d-secure', this.state.requestState);\n }\n }\n\n componentWillUnmount() {\n this.state.locationListenCallback?.call(this);\n }\n\n ExecutePayment(hasTriedAlready: boolean = false) {\n const request = this.props.location.state as BeginBillPaymentRequest;\n this.checkoutHandler\n .makePayment(request)\n .then(response => {\n\n if (response.success) {\n\n // Payment may comeback as successful but if the APM receipt is not \n // apart of the message then it should be considered a failure\n this.setState({ canNavigate: true, requestState: response });\n\n } else {\n this.setState({ canNavigate: true, }, () => {\n this.props.history.replace('/payment-error', response);\n\n });\n }\n })\n .catch((reason) => {\n const status = reason?.response?.status ?? 500;\n if ((status == 401 || status == 403) && !hasTriedAlready) {\n // Going to make the call again because the call was unathenticated\n // and only failed because the token sometimes isn't passed or it is \n // and the authentiction service reject it for no reason\n // Should only be possible to try it twice\n console.log(\"Trying payment again\", reason);\n this.ExecutePayment(true);\n\n }\n this.setState({ canNavigate: true, }, () => {\n this.props.history.replace('/payment-error', reason?.response?.data);\n });\n });\n }\n\n notReplaceAction = () => {\n return this.props.history.action != \"REPLACE\";\n }\n\n render() {\n return (\n \n \n \n \n
    \n \n \n \n \n \n \n \n Processing Payment\n \n \n \n \n \n \n \n \n \n \n \n );\n }\n}\n\nconst PaymentProcessingView = withRouter(PaymentProcessingViewWithoutRouter);\nexport default PaymentProcessingView;\n","import * as React from 'react';\nimport PaymentProcessingView from 'components/Payment/PaymentProcessingView';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {}\n\nexport default class PaymentProcessingPage extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return ;\n }\n}\n","import styled from \"styled-components\";\nimport { Col } from \"antd\";\nimport ScreenHelper from \"components/Styled/ScreenHelper\";\nimport { ColSize } from \"antd/lib/col\";\n\n\ndeclare type ColSpanType = ColSize;\nexport const RightColLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 7,\n offset: 0,\n },\n lg: {\n span: 7,\n offset: 0,\n },\n md: {\n span: 7,\n offset: 0,\n },\n sm: {\n span: 10,\n offset: 0\n },\n xs: {\n span: 10,\n offset: 0\n }\n};\n\nexport const LeftColLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 5,\n offset: 0,\n },\n lg: {\n span: 5,\n offset: 0,\n },\n md: {\n span: 5,\n offset: 0,\n },\n sm: {\n span: 10,\n offset: 1\n },\n xs: {\n span: 10,\n offset: 1\n },\n};\n\nexport const TableCol = styled(Col)`\n\nmargin-bottom: 10px;\n\n${ScreenHelper.down('sm', 'xs')`\n margin-bottom: 15px;\n `}\n`;\n\nexport const HeaderCol = styled(Col)`\n\nborder-bottom: solid 1px lightgrey;\n`;\n\n","import * as React from \"react\";\nimport { Row, Col } from \"antd\";\nimport AuthContext from \"Context/AuthContext\";\nimport { TableCol, RightColLayout, LeftColLayout, HeaderCol } from \"./ConfirmationDetail.Styled\";\nimport { IBillOfLadingReceiptDto, IBillOfLadingPaymentResponse, IVerifyFirstAtlanticPaymentResponse } from \"Core/Api/Payment/Api\";\nimport Utility from \"Core/Utility\";\nimport moment from \"moment\";\n\nexport interface Props {\n children?: React.ReactNode,\n paymentResponse?: IVerifyFirstAtlanticPaymentResponse,\n // referenceNumber?: string;\n}\n\nexport interface State {\n}\n\nexport default class ConfirmationDetail extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n const { paymentResponse } = this.props;\n let customerName = paymentResponse?.receipt?.data !== undefined ? paymentResponse.receipt.data[0].consignee : `${this.context.data?.firstname?.toString()} ${this.context.data?.lastname?.toString()}`\n return (\n \n \n \n \n Receipt Number\n \n \n {paymentResponse?.receipt?.receiptNumber}\n \n \n \n \n Customer\n \n \n {customerName}\n \n \n {/* CREATE OWN LAYOUT */}\n \n \n Date & Time of Payment\n \n \n {Utility.ToDateTimeString(moment(paymentResponse?.receipt?.paymentDate))}\n \n \n \n \n Reference\n \n \n {paymentResponse?.paymentRefenceNumber}\n \n \n \n \n )\n }\n}\n","import styled from \"styled-components\";\nimport { Col, Row } from \"antd\";\nimport { ColSize } from \"antd/lib/col\";\nimport ScreenHelper from \"components/Styled/ScreenHelper\";\n\n\ndeclare type ColSpanType = ColSize;\n\nexport const BolNumberLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 6,\n offset: 0,\n },\n lg: {\n span: 6,\n offset: 0,\n },\n md: {\n span: 6,\n offset: 0,\n },\n sm: {\n span: 15,\n offset: 0\n },\n xs: {\n span: 15,\n offset: 0\n }\n};\n\nexport const KWLReferenceLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 4,\n offset: 0,\n },\n lg: {\n span: 4,\n offset: 0,\n },\n md: {\n span: 4,\n offset: 0,\n },\n sm: {\n span: 10,\n offset: 0\n },\n xs: {\n span: 10,\n offset: 0\n },\n};\n\nexport const VesselLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 5,\n offset: 0,\n },\n lg: {\n span: 5,\n offset: 0,\n },\n md: {\n span: 5,\n offset: 0,\n },\n sm: {\n span: 10,\n offset: 1\n },\n xs: {\n span: 10,\n offset: 1\n },\n};\n\nexport const StoragetoDateLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 5,\n offset: 0,\n },\n lg: {\n span: 5,\n offset: 0,\n },\n md: {\n span: 5,\n offset: 0,\n },\n sm: {\n span: 10,\n offset: 0\n },\n xs: {\n span: 10,\n offset: 0\n },\n};\n\n\nexport const ChargesLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 4,\n offset: 0,\n },\n lg: {\n span: 4,\n offset: 0,\n },\n md: {\n span: 4,\n offset: 0,\n },\n sm: {\n span: 10,\n offset: 1\n },\n xs: {\n span: 10,\n offset: 1\n },\n};\n\n\nexport const OrderTotalHeaderLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 5,\n offset: 15,\n },\n lg: {\n span: 5,\n offset: 15,\n },\n md: {\n span: 5,\n offset: 15,\n },\n sm: {\n span: 6,\n offset: 10\n },\n xs: {\n span: 6,\n offset: 10\n },\n};\n\n\nexport const OrderTotalLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 4,\n offset: 0,\n },\n lg: {\n span: 4,\n offset: 0,\n },\n md: {\n span: 4,\n offset: 0,\n },\n sm: {\n span: 5,\n offset: 0\n },\n xs: {\n span: 5,\n offset: 0\n },\n};\n\n\nexport const TableCol = styled(Col)`\n\nmargin-bottom: 10px;\n\n${ScreenHelper.down('sm', 'xs')`\n margin-bottom: 15px;\n `}\n`;\n\nexport const HeaderCol = styled(Col)`\nborder-bottom: solid 1px lightgrey\n`;\n\nexport const OrderTotalHeaderCol = styled(Col)`\nborder-right: solid 1px black;\nbackground-color: lightgray;\nmargin-top: 10px;\n`;\n\nexport const OrderTotalCol = styled(Col)`\nbackground-color: lightgray;\nmargin-top: 10px;\n`;\n\nexport const TableValueCol = styled(Col)`\nmargin-bottom: 10px;\nclear: both;\n`;\n\n\nexport const HeaderTitle = styled.p`\nfloat: left;\nfont-size: 20px;\nfont-weight: bold;\n`;\n\nexport const OrderRow = styled(Row)`\nmargin-bottom: 20px;\n`;\n\n\n","import * as React from \"react\";\nimport { Row, Col } from \"antd\";\nimport { HeaderTitle, OrderRow, TableCol, OrderTotalCol, BolNumberLayout, KWLReferenceLayout, VesselLayout, StoragetoDateLayout, ChargesLayout, OrderTotalLayout, HeaderCol, TableValueCol, OrderTotalHeaderCol, OrderTotalHeaderLayout } from \"./OrderDetail.Styled\";\nimport { IBolData, IBolCharge } from \"Core/Api/Payment/Api\";\nimport Utility from \"Core/Utility\";\nimport moment from \"moment\";\n\nexport interface Props {\n children?: React.ReactNode,\n receiptDetails?: IBolData[]\n}\n\nexport interface State {\n charge: IBolCharge[],\n totalChargeAmount?\n}\n\nexport default class OrderDetail extends React.Component {\n\n constructor(props: Props) {\n super(props)\n this.getCharges = this.getCharges.bind(this);\n\n this.state = {\n charge: [{}],\n totalChargeAmount: 0,\n }\n }\n\n componentDidMount() {\n this.getCharges();\n this.getTotalChargeAmount();\n }\n\n getCharges() {\n if (this.props.receiptDetails) {\n this.props.receiptDetails.map(charges => {\n if (charges.charges) {\n this.setState({ charge: charges.charges })\n }\n }\n )\n }\n }\n\n getTotalChargeAmount() {\n let sum = 0;\n if (this.props.receiptDetails) {\n this.props.receiptDetails?.map(details =>\n details.charges?.map(amountFound => {\n if (amountFound.chargeAmount) {\n sum += amountFound.chargeAmount\n }\n this.setState({ totalChargeAmount: sum })\n }\n\n )\n )\n }\n\n }\n\n render() {\n const { receiptDetails } = this.props;\n return (\n //note that the orderline was done this way so that it could stay in the same col as its \n //header because of aesthetic purposes during mobile view.\n <>\n Order Details:\n {/*A list of bill of ladings selected to be paid for: */}\n \n \n \n \n \n \n Bill of Lading Number\n \n {receiptDetails?.map(details =>\n \n {\n {details ? details.bolNumber : \"N/A\"}\n }\n \n )}\n \n\n \n \n KWL Reference\n \n {receiptDetails?.map(details =>\n \n {\n {details ? details.bolReference : \"N/A\"}\n }\n \n )}\n \n\n \n \n Vessel Arrival Date\n \n {receiptDetails?.map(details =>\n \n {\n {details.arrivalDate ? Utility.ToDateString(moment.parseZone(details.arrivalDate)) : \"N/A\"}\n }\n \n )}\n \n\n \n \n Storage-To-Date\n \n {/* NOT SURE ABOUT THIS VALUE AS CAN BE SEEN FROM THE HEADER VS. VALUE */}\n {receiptDetails?.map(details =>\n \n {\n {details ? Utility.ToDateString(Utility.ConvertToStandardTimezone(moment.parseZone(details.storageDueDate))) : \"N/A\"}\n }\n \n )}\n \n\n \n \n Charges\n \n {receiptDetails?.map(details =>\n \n {details ?\n <>\n {details.charges?.map(charge =>\n ${charge.chargeAmount}\n )}\n :\n N/A\n }\n \n )}\n \n \n \n\n \n \n Order Total\n \n \n {/* this might be overkill */}\n <>{this.state.charge?.[0]?.chargeCurrency} ${this.state.totalChargeAmount}\n\n \n \n \n \n \n )\n }\n}\n","import styled from \"styled-components\";\nimport { Col, Row } from \"antd\";\nimport { ColSize } from \"antd/lib/col\";\nimport ScreenHelper from \"components/Styled/ScreenHelper\";\n\n\ndeclare type ColSpanType = ColSize;\n\nexport const FiveSpanColLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 5,\n offset: 0,\n },\n lg: {\n span: 5,\n offset: 0,\n },\n md: {\n span: 5,\n offset: 0,\n },\n sm: {\n span: 10,\n offset: 0\n },\n xs: {\n span: 10,\n offset: 0\n }\n};\n\nexport const FourSpanColLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 4,\n offset: 0,\n },\n lg: {\n span: 4,\n offset: 0,\n },\n md: {\n span: 4,\n offset: 0,\n },\n sm: {\n span: 10,\n offset: 1\n },\n xs: {\n span: 10,\n offset: 1\n },\n};\n\nexport const TotalColLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 6,\n offset: 18,\n },\n lg: {\n span: 6,\n offset: 18,\n },\n md: {\n span: 6,\n offset: 18,\n },\n sm: {\n span: 6,\n offset: 15\n },\n xs: {\n span: 6,\n offset: 15\n },\n};\n\n\nexport const TableCol = styled(Col)`\n\nmargin-bottom: 10px;\n\n${ScreenHelper.down('sm', 'xs')`\n margin-bottom: 15px;\n `}\n`;\n\nexport const HeaderCol = styled(Col)`\nborder-bottom: solid 1px lightgrey\n`;\n\nexport const PaymentTotalHeaderCol = styled(Col)`\nborder-bottom: solid 1px black;\nbackground-color: lightgray;\n`;\n\nexport const PaymentTotalCol = styled(Col)`\nbackground-color: lightgray;\n`;\n\nexport const TableValueCol = styled(Col)`\nheight: 55px;\n\n${ScreenHelper.down('sm', 'xs')`\nheight: inherit;\n `}\n\n`;\n\nexport const HeaderTitle = styled.p`\nfloat: left;\nfont-size: 20px;\nfont-weight: bold;\n`;\n\nexport const PaymentRow = styled(Row)`\nmargin-bottom: 20px;\n`;\n\n\n","import { SecuredKoppClient } from '../../../../Core/Api/Kopp/SecuredKoppClient';\nimport { CloseActiveCartCommandRequest } from '../../../../Core/Api/Kopp/Api';\nimport ConfigUtility from '../../../../Core/ConfigUtility';\nimport TokenUtility from '../../../../Core/TokenUtility';\n\nexport class CheckoutConfirmationHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n CloseCart() {\n const client = new SecuredKoppClient();\n client.showLoading = false;\n client.handleGeneralError = false;\n\n return client.closeActiveCart(new CloseActiveCartCommandRequest()).then(x => {});\n }\n}\n","import * as React from \"react\";\nimport { Row, Col } from \"antd\";\nimport { TableCol, FiveSpanColLayout, FourSpanColLayout, HeaderCol, PaymentTotalHeaderCol, PaymentTotalCol, TableValueCol, HeaderTitle, PaymentRow, TotalColLayout } from \"./PaymentInformation.Styled\";\nimport { IBillOfLadingPaymentResponse, IBolCharge, IBillOfLadingReceiptDto, IVerifyFirstAtlanticPaymentResponse } from \"Core/Api/Payment/Api\";\nimport CartContext from \"Context/CartContext\";\nimport { CheckoutConfirmationHandler } from \"./CheckoutConfirmationHandler\";\nimport { CartHandler } from \"components/CartManagement/CartHandler\";\nimport ConfigUtility from \"Core/ConfigUtility\";\n\nexport interface Props {\n children?: React.ReactNode,\n receiptDetails?: IVerifyFirstAtlanticPaymentResponse\n}\n\nexport interface State {\n charge: IBolCharge\n\n}\n\nexport default class PaymentInformation extends React.Component {\n static contextType = CartContext;\n context!: React.ContextType;\n handler: CheckoutConfirmationHandler;\n cartHandler: CartHandler;\n\n constructor(props: Props) {\n super(props)\n\n this.getCharge = this.getCharge.bind(this);\n this.state = {\n charge: {}\n }\n this.handler = new CheckoutConfirmationHandler(props);\n this.cartHandler = new CartHandler(props);\n }\n\n\n componentDidMount() {\n this.handler.CloseCart().then(x => {\n this.cartHandler.GetCart().then(y => {\n this.context.Update(y?.cart);\n });\n\n })\n // While this shouldn't fail, it is important not to do anything if it does\n .catch(() => { });\n this.getCharge();\n }\n\n getCharge() {\n if (this.props.receiptDetails?.receipt?.data) {\n this.props.receiptDetails?.receipt?.data.map(charges =>\n charges.charges?.map(chargeFound =>\n this.setState({ charge: chargeFound })\n )\n )\n }\n }\n\n render() {\n const { receiptDetails } = this.props;\n //const { charge } = this.state;\n const config = ConfigUtility.getSync()!;\n return (\n <>\n Payment Information:\n \n \n \n \n \n Payment Method\n \n \n {receiptDetails?.receipt?.paymentMethod}\n \n \n \n \n Card | Last Digit\n \n \n {receiptDetails?.receipt?.creditCardType} | {receiptDetails?.receipt?.creditCardNumberLastDigits}\n \n \n \n \n Authorization Code\n \n \n {receiptDetails?.receipt?.authorizationCode}\n \n \n \n \n Transaction Type\n \n \n {config.TransactionType}\n \n \n\n \n \n Billing Address\n \n \n {`${receiptDetails?.receipt?.billingAddress?.addressLine1} ${receiptDetails?.receipt?.billingAddress?.addressLine2}`}\n \n \n \n \n \n Total Paid (JMD)\n \n \n {receiptDetails?.receipt?.paymentCurrency} ${receiptDetails?.receipt?.totalAmountPaid}\n \n \n \n \n \n )\n }\n}\n","import styled from \"styled-components\";\nimport { Col } from \"antd\";\nimport ScreenHelper from \"components/Styled/ScreenHelper\";\nimport { ColSize } from \"antd/lib/col\";\n\ndeclare type ColSpanType = ColSize;\n\nexport const CheckoutCompleteLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 24,\n offset: 0,\n },\n lg: {\n span: 24,\n offset: 0,\n },\n md: {\n span: 24,\n offset: 0,\n },\n sm: {\n span: 22,\n offset: 1\n },\n xs: {\n span: 22,\n offset: 1\n }\n};\n\nexport const ButtonLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 1,\n offset: 20,\n },\n lg: {\n span: 1,\n offset: 20,\n },\n md: {\n span: 1,\n offset: 20,\n },\n sm: {\n span: 1,\n offset: 14\n },\n xs: {\n span: 1,\n offset: 14\n }\n};\n\n\nexport const CheckoutComplete = styled(Col)`\ntext-align: left\n`;","import * as React from \"react\";\nimport { Row, Col, Button, notification, Icon } from \"antd\";\nimport { NavLink, RouteProps, Redirect, RouteComponentProps } from \"react-router-dom\";\nimport Form, { FormComponentProps } from \"antd/lib/form\";\nimport { BillOfLadingPaymentResponse, IBillOfLadingPaymentResponse, IBolData, IBolCharge, IVerifyFirstAtlanticPaymentResponse } from \"Core/Api/Payment/Api\";\nimport ConfirmationDetail from \"./ConfirmationDetail\";\nimport OrderDetail from \"./OrderDetail\";\nimport PaymentInformation from \"./PaymentInformation\";\nimport AuthContext from \"Context/AuthContext\";\nimport { CheckoutCompleteLayout, CheckoutComplete, ButtonLayout } from \"./CheckoutConfirmation.Styled\";\nimport { withRouter } from \"react-router\";\nimport Utility from \"Core/Utility\";\nimport check from '../../../assets/images/PaymentCheck.png'\nimport NotificationUtility from \"Core/NotificationUtility\";\n\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nclass CheckoutConfirmationWithoutRouterAndForm extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n constructor(props: Props) {\n super(props)\n this.state = {\n }\n }\n\n componentDidMount() {\n let state: IVerifyFirstAtlanticPaymentResponse = {};\n\n const paymentResponse = (this.props.location?.state) as IVerifyFirstAtlanticPaymentResponse;\n if (paymentResponse !== undefined) {\n if (paymentResponse.errorCode === 'EMAIL_CONFIRMATION_ERROR' || paymentResponse.errorCode === 'RECEIPT_GENERATION_ERROR') {\n\n NotificationUtility.warning('Issue Emailing Receipt.', `Payment successful but there was an issue emailing your receipt. Please contact Client Services at ${Utility.ContactTel()} or ${Utility.ContactEmail()} for assistance.`, 0, true)\n }\n }\n\n }\n\n render() {\n const paymentResponse = (this.props.location?.state) as IVerifyFirstAtlanticPaymentResponse;\n return (\n <>\n \n \n

    Thank You!

    \n

    Your payment has been received

    \n \n

    Below are the details of your payment.

    \n
    \n \n \n \n
    \n {/* Receipt Details */}\n \n \n \n \n \n {/* Order Details */}\n \n \n \n \n \n {/* Payment Details */}\n \n \n \n \n \n \n \n \n \n \n \n \n )\n }\n}\n\nconst CheckoutConfirmationWithoutRouter = Form.create({\n name: 'CheckoutConfirmation',\n})(CheckoutConfirmationWithoutRouterAndForm);\n\nconst CheckoutConfirmation = withRouter(CheckoutConfirmationWithoutRouter);\n\nexport default CheckoutConfirmation;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFUAAABZCAIAAADAVf92AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAeESURBVHhe7Zt7bFNVHMd7225tt3Zru+7d7sGA8doGTB6JgZAYjU8EjSCiEAxoxiNAAkbEIJggEYgYNR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WhXh/gA71t1zZ6nX8iTlaKFUp0OFH37VFQkT+wzA9jcfu3f4kau/LdelltooPpPpqcOT+QwR8za3X3vS7r2KWBzjtWVO2ZhS+EuE1fz/S+A/DuDvPOOxf+V1XsEE6lGqDyfq8pXAt+4YvEUjoj8C46LCfcHecFvFtlLHA85K54CVT/jJKqcUmSZHef4Rw0O1qO+XqOD3Qd+O+x36+qJKMhswlZttKuR865PIfhQ77fK466BSD3qahw3Nn3HXxJG2eJrVYoy/RGkpTTHOTU4rwBzIju/94wG9khrcYwUEpKJiDSjaeCSUm/nGE4Pn//4wJ/8Rmwj+xmfBPbBLbX6H4BxicQERdba5AAAAAAElFTkSuQmCC\"","import * as React from \"react\";\nimport CheckoutConfirmation from \"components/Payment/CheckoutConfirmation\";\nimport { Row, Col } from \"antd\";\nimport CenteredPageContainer from \"components/Layout/CenteredPageContainer\";\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nexport default class CheckoutConfirmationPage extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n return (\n \n \n \n )\n }\n}\n","import * as React from 'react';\nimport ThreeDSecureView from 'components/Payment/ThreeDSecureView';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {}\n\nexport default class ThreeDSecurePage extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return ;\n }\n}\n","import * as React from \"react\";\nimport { IBillOfLadingPaymentResponse } from \"Core/Api/Payment/Api\";\nimport { withRouter, RouteComponentProps, NavLink } from \"react-router-dom\";\nimport Form, { FormComponentProps } from \"antd/lib/form\";\nimport { Row, Col, Button } from \"antd\";\nimport receiptErrorPng from '../../../assets/images/Receipt.png'\nimport Utility from \"Core/Utility\";\nimport { CenterAlignRow } from \"components/Styled/Layout.Styled\";\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nclass GeneralPaymentErrorWithoutRouterAndForm extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n componentDidMount() {\n let state: IBillOfLadingPaymentResponse = {};\n }\n\n generateErrorMessage(receipt: IBillOfLadingPaymentResponse): React.ReactNode {\n\n if (receipt) {\n switch (receipt.errorCode) {\n case \"NORMAL_DECLINE\":\n return (<>\n

    The transaction has been declined

    \n )\n case \"INVALID_CVV\":\n return (<>\n

    The CVV was not correct

    \n )\n break;\n case \"CREDITCARD_NOT_REGISTERED\":\n return (<>\n

    This credit card is not registered on this platform

    \n

    please ensure the card is registered and that the card information entered is accurate

    \n )\n break;\n case \"INVALID_BILL_ITEMS\":\n case \"NO_BOL_CHARGES\":\n case \"INCORRECT_PAYMENT_TOTAL\":\n case \"BILL_ALREADY_PAID\":\n case \"APM_NO_RECIEPT\":\n return (<>\n

    There was an error while charging the bill of lading

    \n

    For your safety, we advice that you do not attempt to make another payment until you have spoken to a Customer Care representative

    \n

    Please contact administrator at {Utility.ContactTel()}.

    \n )\n break;\n\n default:\n return (<>\n

    There was an issue with the card details or while making a payment. Please contact your financial institution for further assistance.

    \n )\n break;\n }\n } else {\n return (<>\n

    There was an error begin payment processing. Please check the information you entered and try again.

    \n

    If the error presists

    \n

    Please contact administrator at {Utility.ContactTel()}.

    \n )\n }\n }\n\n render() {\n const receipt = (this.props.location?.state) as IBillOfLadingPaymentResponse;\n\n var errorDisplay;\n errorDisplay =\n <>\n \n \n
    \n \n {this.generateErrorMessage(receipt)}\n {receipt?.paymentRefenceNumber &&

    Reference: {receipt?.paymentRefenceNumber}

    }\n\n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n return (\n <>\n {errorDisplay}\n \n )\n }\n}\n\nconst GeneralPaymentErrorWithoutRouter = Form.create({\n name: 'GeneralPaymentError',\n})(GeneralPaymentErrorWithoutRouterAndForm);\n\nconst GeneralPaymentError = withRouter(GeneralPaymentErrorWithoutRouter);\n\nexport default GeneralPaymentError;","export default \"data:image/png;base64,iVBORw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EEDkAhBA5AIQQOQCEEDkAhBA5AIQQOQCEEDkAhBA5AIQQOQCEEDkAhBA5AIQQOQCEEDkAZIf4PUnkGWgGPv8sAAAAASUVORK5CYII=\"","import * as React from \"react\";\nimport CenteredPageContainer from \"components/Layout/CenteredPageContainer\";\nimport GeneralPaymentError from \"components/Payment/GeneralPaymentError\";\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nexport default class GeneralPaymentErrrorPage extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n return (\n \n \n \n )\n }\n}\n","import * as React from 'react';\nimport { Row, Col } from 'antd';\nimport { RightAlignRow, LeftAlignRow } from 'components/Styled/Layout.Styled';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {}\n\nexport default class PrivacyPolicyView extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return (\n \n \n

    \n Kingston Wharves Limited has a firm commitment to preserve our customers privacy.\n Kingston Wharves Limited does not store the financial information required by the\n payment service providers, or credit card companies. We only store the first four (4)\n and last four (4) digits of your credit card number for verification.\n

    \n

    \n All financial information is transmitted in an encrypted form. Please note that, while\n all attempts are made to secure information transmitted over this application, there is\n a possibility that information being transferred could be observed by a third party\n while in transit.\n

    \n \n \n );\n }\n}\n","import * as React from 'react';\nimport CenteredPageContainer from 'components/Layout/CenteredPageContainer';\nimport PrivacyPolicyView from 'components/Information/PrivacyPolicyView';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {}\n\nexport default class PrivacyPolicyPage extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return (\n \n \n \n );\n }\n}\n","import * as React from 'react';\nimport CenteredPageContainer from 'components/Layout/CenteredPageContainer';\nimport TermsAndConditionsView from 'components/Information/TermsAndConditionsView';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {}\n\nexport default class TermsAndConditionsPage extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return (\n \n \n \n );\n }\n}\n","import * as React from 'react';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {}\n\nexport default class EmptyLayout extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return <>{this.props.children};\n }\n}\n","import * as React from 'react';\nimport antd from 'antd';\nimport styled from 'styled-components';\nimport ScreenHelper from '../../Styled/ScreenHelper';\nimport { ColSize } from 'antd/lib/col';\n\nconst { Row, Col } = antd;\ndeclare type ColSpanType = ColSize;\n\nexport const GenColLayout: { [key: string]: ColSpanType } = {\n xs: { span: 22 },\n sm: { span: 22 },\n md: { span: 22 },\n lg: { span: 7 },\n xl: { span: 9 }\n};\n\nexport const StatusHistoryColLayout: { [key: string]: ColSpanType } = {\n xs: { span: 22 },\n sm: { span: 22 },\n md: { span: 22 },\n lg: { span: 8 },\n xl: { span: 8 }\n};\n\nexport const TrackedBolDetailRow = styled(Row)`\n \n .rowDetail{\n ${ScreenHelper.down('md')`\n margin-bottom: 1em;\n `}\n\n .statusHistoryTitle{\n font-weight: bold;\n font-size: 16px;\n }\n\n .statusHistoryRow{\n text-align: left;\n margin-top: 5; \n background-color: #f8f8f8;\n padding: 10px;\n }\n}\n`;\n\n\n","import { SecuredKoppClient } from 'Core/Api/Kopp/SecuredKoppClient';\nimport { GetTrackedBolDetailsByIdCommandRequest } from 'Core/Api/Kopp/Api';\n\nexport class TrackedBolDetailViewHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n GetTrackedBolById(request: GetTrackedBolDetailsByIdCommandRequest) {\n const client = new SecuredKoppClient();\n\n client.showLoading = true;\n client.handleSecurityError = false;\n client.handleGeneralError = false;\n return client.getTrackedBolDetailsById(request)\n }\n\n}\n","import { Row, Col, Button, Popconfirm } from 'antd';\nimport Item from 'antd/lib/list/Item';\nimport Utility from 'Core/Utility';\nimport React, { CSSProperties, SyntheticEvent } from 'react';\nimport styled from 'styled-components';\nimport { BolFileModel } from '../BolFilesEditor';\nimport IFilterSelectOption from 'components/Forms/DataGrid/FilterSelectbox/IFilterSelectOption';\ninterface Props {\n item: BolFileModel;\n onRemoveItem?: (item: BolFileModel) => void;\n style: CSSProperties;\n fileUrl: string;\n readonly?: boolean;\n fileTypes?: IFilterSelectOption[];\n}\n\nlet Container = styled(Row)`\n padding: 5px 10px;\n border: 1px solid #d9d9d9;\n box-shadow: 0 2px 0 rgb(0 0 0 / 2%);\n border-radius: 4px;\n`;\n\nexport default (props: Props) => {\n\n let onRemoveClicked = (event: any) => {\n event.preventDefault();\n event.stopPropagation();\n props.onRemoveItem?.call(undefined, props.item);\n }\n\n const fileUrl = props.fileUrl + props.item.fileId;\n let fileType = props.fileTypes?.find(x => x.value == props.item.bolFileTypeId);\n\n return (\n \n \n {fileType ? fileType?.text : null}\n \n \n \n {props.item.name}\n \n \n {!props.readonly && \n \n \n \n }\n \n {props.value?.map(x => (\n \n ))}\n \n setDrawVisiable(false)} >\n setDrawVisiable(false)} fileTypes={fileTypes} />\n \n );\n}","import * as React from 'react';\nimport { Select } from 'antd';\nimport { SelectProps } from 'antd/lib/select';\nimport ISelectOption from './ISelectOption';\nconst { Option } = Select;\n\nexport interface Props extends SelectProps {\n options: ISelectOption[];\n allowUndefinedValue?: boolean;\n}\n\nexport interface State { }\n\nexport default class SimpleSelect extends React.Component {\n static defaultProps: Props = {\n options: [],\n showSearch: true,\n allowClear: true,\n placeholder: 'Please select an option',\n optionFilterProp: 'label',\n };\n\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n public buildSelectOptions(options?: ISelectOption[]) {\n options = options ?? [];\n return options.map(x => {\n const value = this.props.allowUndefinedValue ? x.value : x.value ?? x.text;\n return (\n \n );\n });\n }\n\n render() {\n var { options, ...rest } = this.props;\n return ;\n }\n}\n","import { Button, Col, Icon, Input, Row, Upload } from \"antd\";\nimport Form, { FormComponentProps } from \"antd/lib/form\";\nimport { UploadChangeParam, UploadFile } from \"antd/lib/upload/interface\";\nimport IFilterSelectOption from \"components/Forms/DataGrid/FilterSelectbox/IFilterSelectOption\";\nimport FormControl from \"components/Forms/FormControl\";\nimport SimpleSelect from \"components/Forms/SimpleSelect\";\nimport { ButtonColLayout } from \"components/UserManagement/Profile/UpdateUserProfileForm/UpdateUserProfileForm.Style\";\nimport Utility from \"Core/Utility\";\nimport ValidationUtility from \"Core/ValidationUtility\";\nimport * as React from \"react\";\nimport { BolFileModel } from \"../BolFilesEditor\";\nimport { TrackedBolFileHandler } from \"./TrackedBolFileHandler\";\n\nexport interface Props extends FormComponentProps {\n children?: React.ReactNode,\n onFileAdded?: (values: BolFileModel) => void;\n onCancel?: Function;\n fileTypes?: IFilterSelectOption[];\n}\n\nexport interface State {\n fileTypes?: IFilterSelectOption[];\n}\n\nexport class UploadFileFormWithoutForm extends React.Component {\n handler: TrackedBolFileHandler;\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n this.handler = new TrackedBolFileHandler(props);\n }\n\n componentDidMount = () => {\n if (!this.props.fileTypes) {\n this.getTrackedBolFileTypes();\n }\n }\n\n onCancel = () => {\n this.props.onCancel?.call(this);\n }\n\n getTrackedBolFileTypes = () => {\n this.handler.GetBolFileTypes().then(x => {\n const fileTypes: IFilterSelectOption[] =\n x.results?.map(y => ({\n text: y.name!,\n value: y.id!,\n })) ?? [];\n this.setState({ fileTypes });\n })\n }\n\n getBase64(file): Promise {\n return new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.readAsDataURL(file.file ?? file?.FileList[0]?.originFileObj ?? file.file.originFileObj);\n reader.onload = () => resolve(reader.result);\n reader.onerror = error => reject(error);\n });\n }\n\n onSubmit = (event: React.SyntheticEvent) => {\n event.preventDefault();\n event.stopPropagation();\n\n this.props.form.validateFieldsAndScroll((errors, values: { name: string, bolFileTypeId: string, file: UploadChangeParam }) => {\n if (errors) return;\n // convert the file to a base64 string.\n this.getBase64(values.file).then(x => {\n let update: BolFileModel;\n\n update = {\n data: x as string,\n bolFileTypeId: values.bolFileTypeId,\n name: values.file.file.name,\n };\n\n this.props.onFileAdded?.call(this, update);\n })\n });\n\n }\n\n render() {\n const { getFieldDecorator } = this.props.form;\n return (\n
    x.preventDefault() == Utility.voidmethod() && this.onSubmit(x)}>\n \n \n \n\n \n false} multiple={false} >\n \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n \n \n )\n }\n}\n\nconst UploadFileForm = Form.create({\n name: 'UploadFileForm',\n})(UploadFileFormWithoutForm);\n\nexport default UploadFileForm;","import * as React from \"react\";\nimport { Row, Col, Button, List, Card } from \"antd\";\nimport moment from \"moment\";\nimport { TrackedBolDetailRow, GenColLayout, StatusHistoryColLayout } from \"./TrackedBolDetailView.Style\";\nimport { TrackedBolDetailViewHandler } from \"./TrackedBolDetailViewHandler\";\nimport { GetTrackedBolDetailsByIdCommandResponse, GetTrackedBolDetailsByIdCommandRequest, TrackedBol } from \"Core/Api/Kopp/Api\";\nimport NotificationUtility from \"Core/NotificationUtility\";\nimport * as QueryString from \"query-string\";\nimport { RouteComponentProps, withRouter, Redirect } from \"react-router-dom\";\nimport { stat } from \"fs\";\nimport Utility from \"Core/Utility\";\nimport { BolFilesEditor } from \"components/Forms/BolFilesEditor\";\nimport ShowIfTrue from \"components/Forms/ShowIfTrue\";\nimport NumberFormat from \"react-number-format\";\n\nexport interface Props extends RouteComponentProps {\n children?: React.ReactNode\n}\n\nexport interface State {\n trackedBolDetails: GetTrackedBolDetailsByIdCommandResponse;\n}\n\nclass BaseTrackedBolDetailView extends React.Component {\n handler: TrackedBolDetailViewHandler;\n\n constructor(props: Props) {\n super(props)\n this.handler = new TrackedBolDetailViewHandler(props);\n\n this.state = {\n trackedBolDetails: new GetTrackedBolDetailsByIdCommandResponse(),\n }\n }\n\n componentDidMount() {\n if (QueryString.parse(this.props.location.search) !== undefined) {\n const { id } = QueryString.parse(this.props.location.search);\n if (id != null || id != undefined) {\n let request = new GetTrackedBolDetailsByIdCommandRequest();\n request.id = id;\n this.GetTrackedBolById(request);\n }\n else {\n NotificationUtility.info(\"No Bill of Lading with that number found.\", \"\", 30, true);\n //TODO: CHANGE TO CLICK N GO PAGE WHEN IT IS OFFICIALLY CREATED\n this.props.history.push(\"/home\");\n }\n }\n }\n\n GetTrackedBolById(value: GetTrackedBolDetailsByIdCommandRequest) {\n this.handler.GetTrackedBolById(value)\n .then(response => {\n if (response.trackedBol) {\n this.setState({ trackedBolDetails: response });\n // console.log(this.state.trackedBolDetails, \"tracked bol\")\n }\n })\n .catch(() => {\n NotificationUtility.error(\"There was an issue retreiving this Click N Go Details.\", \"\", 0, true);\n this.props.history.push(\"/click-n-go\");\n })\n }\n\n\n render() {\n const { trackedBol } = this.state.trackedBolDetails;\n return (\n \n \n \n \n \n\n \n \n
    \n \n
    \n \n \n Click N Collect #: {trackedBol?.cngReferenceNumber}\n \n \n \n \n Vessel: {trackedBol?.vessel}\n \n \n \n \n \n \n BL #: {trackedBol?.bolNumber}\n \n \n \n \n Voyage: {trackedBol?.voyage ? Utility.ToDateString(trackedBol?.voyage) : null}\n \n \n \n \n \n \n Status: {trackedBol?.currentStatusForCustomer}\n \n \n\n \n \n Arrival Date: {trackedBol?.arrivalDate ? Utility.ToDateString(trackedBol?.arrivalDate) : null}\n \n \n \n \n \n
    \n \n
    \n \n \n Description: {Object.values(trackedBol?.tariffCodeDescription ?? {}).reduce((prev, current) => `${prev}, ${current}`, \"\").substring(1)}\n \n \n \n \n \n Value:\n \n \n \n\n \n \n\n \n\n
    \n \n
    \n \n Files:\n \n \n \n \n \n \n\n \n \n \n
    \n \n
    Status History\n \n \n \n \n
    \n \n
    \n Action: {item.currentStatusForCustomer}\n \n \n DateTime: {item.creationDate ? Utility.ToDateTimeString(item.creationDate) : null}\n \n {item.comment && Comment: {item.comment}}\n\n \n \n }\n />\n \n \n \n \n \n )\n }\n}\n\nconst TrackedBolDetailView = withRouter(BaseTrackedBolDetailView);\n\nexport default TrackedBolDetailView;\n","import * as React from 'react';\nimport antd from 'antd';\nimport styled from 'styled-components';\nimport { ColSize } from 'antd/lib/col';\n\ndeclare type ColSpanType = ColSize;\n\nexport const PageColLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 12,\n offset: 0,\n },\n lg: {\n span: 14,\n offset: 0,\n },\n md: {\n span: 16,\n offset: 0,\n },\n sm: {\n span: 22,\n offset: 1,\n },\n xs: {\n span: 22,\n offset: 1,\n },\n};\n;\n\n\n","import * as React from \"react\";\nimport { Row, Col } from \"antd\";\nimport TrackedBolDetailView from \"components/TrackedBolManagement/TrackedBolDetailView\";\nimport CenteredPageContainer from \"components/Layout/CenteredPageContainer\";\nimport { PageColLayout } from \"./TrackedBolDetailViewPage.Style\";\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nexport default class TrackedBolDetailViewPage extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n return (\n \n \n \n \n \n )\n }\n}\n","import * as React from \"react\";\nimport { Form, Col, Row, Input, Button, Select } from \"antd\";\nimport FormControl from \"components/Forms/FormControl\";\nimport { FormComponentProps } from \"antd/lib/form\";\nimport { RouteComponentProps, withRouter } from \"react-router-dom\";\nimport { SubmitButton } from \"components/SubmitButton\";\nimport { TrackedBolServiceCategory } from \"../../../../Core/Api/Kopp/Api\";\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode\n search(bolNumber: string): any; //pass search result\n}\n\nexport interface State {\n}\n\nclass BaseTrackedBolSearchBar extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n componentDidMount() {\n this.setState({});\n }\n\n onSearch = (event: React.FormEvent) => {\n event.preventDefault();\n this.props.form.validateFieldsAndScroll((error, values: any) => {\n if (!error) {\n\n this.props.search(values.bolNumber);\n this.props.form.resetFields();\n }\n });\n }\n\n\n InputLayout = {\n\n labelCol: {\n xs: { span: 24, },\n sm: { span: 24, },\n md: { span: 24, },\n lg: { span: 6, },\n xl: { span: 6, },\n },\n wrapperCol: {\n xs: { span: 22 },\n sm: { span: 22, },\n md: { span: 22, },\n lg: { span: 17, },\n xl: { span: 17, },\n },\n };\n\n render() {\n const { getFieldDecorator } = this.props.form;\n return (\n
    \n \n \n \n \n \n Search BOL\n \n \n\n \n )\n }\n}\n\nconst TrackedBolSearchBarWithoutRouter = Form.create({\n name: 'TrackedBolSearchBar',\n})(BaseTrackedBolSearchBar);\nconst TrackedBolSearchBar = withRouter(TrackedBolSearchBarWithoutRouter);\nexport default TrackedBolSearchBar;\n","import { SecuredAPMProxyClient } from \"Core/Api/APMProxy/SecuredAPMProxyClient\";\nimport moment from 'moment';\nimport TrackedBolResultModel from \"./TrackedBolResultsModel\";\nimport { SecuredKoppClient } from \"Core/Api/Kopp/SecuredKoppClient\";\nimport { AddTrackedBolCommandRequest, IAddTrackedBolCommandRequest, ISlimUser, AddTrackedBolCommandResponse, GetTrackedBolDetailsByIdCommandRequest, SlimTrackedBol, GetTrackedBolDetailsByBolReferenceCommandRequest, IGetTrackedBolDetailsByBolReferenceCommandRequest, AddTrackedBolRequestModel, IAddTrackedBolRequestModel } from \"Core/Api/Kopp/Api\";\n\nexport class TrackedBolSearchFormHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n GetBillOfLading(trackedBolSearch: string) {\n let client = new SecuredAPMProxyClient();\n client.showLoading = true;\n var results: TrackedBolResultModel;\n const storagetoDate = moment().format('YYYYMMDD');\n return client.getBillOfLadingInfo(trackedBolSearch, storagetoDate).then(x => {\n if (x.errors !== undefined && x.errors.length) {\n throw Error(x.errors[0]);\n }\n if (x !== undefined && x.bolReferenceNos !== undefined) {\n results = {\n bolNumber: trackedBolSearch,\n refNumber: x.bolReferenceNos[0],\n description: x.bolExtraData?.filter(x => x.bilReference)[0].description,\n vesselName: x.shipName,\n voyage: x.arrivalDate,\n isClickNGo: x.bolExtraData?.filter(x => x.bilReference)[0].clickAndGo,\n arrivalDate: moment(storagetoDate, \"YYYYMMDD\"),\n charges: x.data,\n total: x.data?.filter(x => x.chargeType).reduce((p, c) => p + c.chargeAmount!, 0),\n status: \"Valid\", //will update with logic later\n consigneeName:x.bolExtraData?.filter(x=>x.bilReference)[0].customerName,\n shipperName:x.bolExtraData?.filter(x=>x.bilReference)[0].shipperName,\n numberOfPieces:x.bolExtraData?.filter(x=>x.bilReference)[0].numberOfPieces\n };\n }\n\n console.log(\"results\", results);\n return results;\n });\n }\n\n GetTrackedBolByBolReference(bolRef: string) {\n const client = new SecuredKoppClient();\n\n client.showLoading = true;\n client.handleSecurityError = false;\n client.handleGeneralError = false;\n let request: IGetTrackedBolDetailsByBolReferenceCommandRequest = {\n bolReference: bolRef\n };\n return client.getTrackedBolDetailsByBolReference(request as GetTrackedBolDetailsByBolReferenceCommandRequest)\n }\n\n AddTrackedBol(trackedBols: IAddTrackedBolRequestModel[]): Promise {\n\n let client = new SecuredKoppClient();\n client.showLoading = true;\n client.handleGeneralError = true;\n\n let request = new AddTrackedBolCommandRequest({ addTrackedBolRequests: trackedBols });\n\n return client.addTrackedBol(request);\n\n }\n\n //TODO: CREATE METHOD TO EDIT TRACKEDBOL\n}\n\nexport default TrackedBolSearchFormHandler\n","import * as React from \"react\";\nimport { Row, Col } from \"antd\";\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nexport default class TrackedBolTermsConditionText extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n return (\n \n
    \n

    \n I authorize Kingston Wharves Limited (“KWL”) and their respective agents, employees, affiliates,\n directors and officers (collectively referred to as “Service Provider”) to act on my behalf with\n respect to the Express Customs clearance, declaration and payment of any and all Customs charges\n that may be applicable to shipments on my behalf (hereinafter referred to as “the Service”).\n

    \n\n

    \n By signing and submitting this authorization, I acknowledge and agree that:\n

    \n
      \n
    1. \n

      \n Service Provider shall not be obligated to release Cargo sent by or consigned to me until such time\n as I have reimbursed or paid to Service Provider all charges levied by Service Provider and/or paid by Service Provider on my behalf.\n

      \n
    2. \n
    3. \n

      \n Service Provider may in its discretion modify, suspend, restrict access to, or terminate the Service at any\n time without liability or prior notice.\n

      \n
    4. \n
    5. \n

      \n Service Provider is not liable for indirect, special or consequential losses, howsoever caused, arising out of the use of the Service.\n In particular, KWL is not liable for damage to the contents of a shipment where the packing was found to be inadequate for the nature of the goods,\n or where the damage is caused by any reason other than the negligence of KWL.\n

      \n
    6. \n
    7. \n

      \n The Service may not be used for commercial cargo or restricted or prohibited commodities including hazardous materials, live animals,\n perishable items, human remains, wet cargo, precious metals, cash, monetary instruments, high value jewelry, manuscripts, contraband, etc.\n

      \n

      \n Hazardous materials include, but are not limited to explosives; gases (compressed, deeply refrigerated, liquefied or dissolved under pressure);\n flammable and combustible liquids; flammable solids; substances liable to spontaneous combustion; substances that on contact with water emit\n flammable gases; oxidizing substances; organic peroxides, poisonous (toxic) and infectious substances; radioactive nuclear substances; corrosives;\n miscellaneous products, substances or organisms which may reasonably be considered to be dangerous to life, health, property or the environment\n when handled, offered for transport by air or transported by air; goods that are otherwise by their nature or quantity either singly or collectively\n are liable to endanger life or imperil property.\n

      \n\n

      \n I may not cause or attempt to cause Service Provider to receive, inspect or deliver any package containing hazardous materials.\n Moreover, I will be solely liable for all damages that may arise from any accidents or incidents involving hazardous materials.\n

      \n
    8. \n
    9. \n

      \n I authorize to the Jamaica Customs Agency (JCA), its agents and any other Government Authority, and their agents to inspect\n my shipments and if necessary, to detain, confiscate, or destroy shipments that pose a threat to national security, and to seize\n shipments in accordance with the provisions of the Customs Act. In such cases I will defend, indemnify, and hold harmless Service\n Provider from any demands, claims, damages, liabilities, expenses or harms, including attorney’s fees, arising in connection with inspecting,\n detaining, confiscating, storing, and destroying such shipments.\n

      \n

      \n Service Provider will promptly notify me upon learning of a shipment being detained, confiscated, or destroyed.\n I will indemnify, and hold harmless Service Provider from any demands, claims, damages, liabilities, expenses or harms,\n including attorney’s fees, arising in connection with errors or acts of omissions on declarations to JCA. Moreover,\n I will indemnify, and hold harmless Service Provider for any errors made or acts of omissions made by JCA in respect to valuation of shipments.\n Service Provider will have no responsibility or liability in cases where I am found in breach of applicable import laws, quotas, restrictions,\n and permit/licensing requirements.\n

      \n\n
    10. \n
    11. \n

      \n I will defend, indemnify, and hold harmless Service Provider in respect of any penalty levied by the Jamaica Customs Agency\n and in respect of the seizure by the Jamaica Customs Agency of any Cargo sent by or consigned to me.\n

      \n
    12. \n
    \n \n\n \n )\n }\n}\n","import * as React from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { Modal, Button } from \"antd\";\nimport TrackedBolTermsConditionText from \"./TrackedBolTermsConditionText/TrackedBolTermsConditionText\";\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n showModal: boolean;\n}\n\nexport default class TrackedBolTermsConditionsLink extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = { showModal: false };\n }\n\n showModal = () => {\n this.setState({ showModal: true });\n }\n\n hideModal = () => {\n this.setState({ showModal: false });\n }\n render() {\n return (\n <>\n \n Terms and Conditions\n \n \n Cancel\n ,\n ]}>\n
    \n \n
    \n \n \n );\n }\n}\n","import * as React from 'react';\nimport TrackedBolResultModel from '../TrackedBolResultsModel';\nimport { Empty, Row, Col, Button, Checkbox, Tooltip, Icon } from 'antd';\nimport { TrackedBolSearchItem } from '.';\nimport { IAddTrackedBolRequestModel } from 'Core/Api/Kopp/Api';\nimport TrackedBolTermsConditionsLink from './TrackedBolTermsConditionsLink';\nimport { SubmitButton } from 'components/SubmitButton';\n\nexport interface Props {\n children?: React.ReactNode;\n results: IAddTrackedBolRequestModel[];\n addTrackedBol(): any;\n removeShipment: (shipment: IAddTrackedBolRequestModel) => void;\n onEditTrackedBol: (trackedBol: IAddTrackedBolRequestModel) => void;\n}\n\nexport interface State {\n checked: boolean;\n}\n\nexport default class TrackedBolSearchResults extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {\n checked: false,\n };\n }\n\n onChange = e => {\n console.log('checked = ', e.target.checked);\n this.setState({\n checked: e.target.checked,\n });\n };\n\n checkBoxText = (\n <>\n  I accept the \n  and authorize Kingston Wharves Limited (“KWL”) to act on my behalf regarding all actions\n necessary to facilitate the clearance, declaration and payment of any Customs charges that may\n be applicable to Cargo (as defined in the Express Customs Client Agreement) on my behalf.\n \n );\n\n render() {\n return (\n <>\n {!this.props.results || this.props.results!.length <= 0 ? (\n \n ) : (\n <>\n \n \n
    \n

    BL No

    \n \n \n

    Vessel Name

    \n \n \n

    Arrival Date

    \n \n \n

    Status

    \n \n \n

    Service

    \n \n \n

    Consignee Name

    \n \n \n \n \n \n {this.props.results.map((trackedBol, key) => (\n \n ))}\n \n \n \n \n {this.state.checked ? (\n this.checkBoxText\n ) : (\n <>\n {this.checkBoxText} \n \n \n \n \n )}\n \n \n \n {this.state.checked ? (\n \n Submit for Click N Collect Service\n \n ) : (\n \n \n Submit for Click N Collect Service\n \n \n )}\n \n \n \n )}\n \n );\n }\n}\n","import * as React from \"react\";\nimport TrackedBolResultModel, { CargesModel } from \"../../TrackedBolResultsModel\";\nimport { Row, Col, Collapse, Icon, Button, Table } from \"antd\";\nimport CollapsePanel from \"antd/lib/collapse/CollapsePanel\";\nimport Utility from \"Core/Utility\";\nimport moment from \"moment\";\nimport { ColumnProps } from \"antd/lib/table\";\nimport { IAddTrackedBolRequestModel, TrackedBolServiceCategory } from \"Core/Api/Kopp/Api\";\nimport _ from \"lodash\";\n\nexport interface Props {\n children?: React.ReactNode\n trackedBol: IAddTrackedBolRequestModel\n onDeleteClicked?: (trackedBol: IAddTrackedBolRequestModel) => void;\n onEditClicked?: (trackedBol: IAddTrackedBolRequestModel) => void;\n}\n\nexport interface State {\n}\n\nexport default class TrackedBolSearchItem extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n removeItem = (e: React.FormEvent) => {\n e.preventDefault();\n this.props.onDeleteClicked?.call(this, this.props.trackedBol);\n }\n\n renderCharges(charges: Array | undefined) {\n\n if (!charges) {\n return <>;\n }\n\n const chargeTableColums: Array> = [\n {\n title: 'Charge',\n dataIndex: 'chargeType',\n key: 'chargeType',\n },\n {\n title: 'Amount',\n dataIndex: 'chargeAmount',\n key: 'chargeAmount',\n render: text => `$${text}`,\n },\n ];\n\n return (\n \n pagination={charges.length < 3 && false}\n dataSource={charges}\n columns={chargeTableColums}\n />\n );\n }\n\n render() {\n let result = this.props.trackedBol;\n return (\n // \n \n {/* */}\n \n \n \n

    {result.bolNumber?.toUpperCase()}

    \n \n \n

    {result.vessel}

    \n \n \n

    {moment().format(\"YYYY-MM-DD\")}

    \n \n \n

    Valid

    \n \n \n

    {!result.serviceCategory ? '' : _.startCase(TrackedBolServiceCategory[result.serviceCategory])}

    \n \n \n

    {result.consigneeName}

    \n \n \n this.props.onEditClicked?.call(this, this.props.trackedBol)} />\n \n \n \n {/* */}\n \n \n \n \n )\n }\n}\n","import { SecuredKoppClient } from \"Core/Api/Kopp/SecuredKoppClient\";\nimport { GetFilteredTrackedBolFileTypeForLoggedInUserQueryRequest, OrderBy, UpdateTrackedBolSupplementaryInfoRequestModel } from \"Core/Api/Kopp/Api\";\n\n\nexport class TrackedBolSupplementaryInfoFormHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n GetTrackedBolDesciptions() {\n const client = new SecuredKoppClient();\n const request = new GetFilteredTrackedBolFileTypeForLoggedInUserQueryRequest();\n request.amountPerPage = 200;\n client.showLoading = true;\n client.handleGeneralError = true;\n request.orderBy = request.orderBy ?? [];\n request.orderBy.push(new OrderBy({ ascending: true, field: \"Name\" }));\n return client.getFilteredTrackedBolDescriptionForLoggedUser(request);\n }\n\n UpdateTrackedBolSupplementaryInfo(request: UpdateTrackedBolSupplementaryInfoRequestModel) {\n let client = new SecuredKoppClient();\n client.showLoading = true;\n client.handleGeneralError = true;\n\n return client.updateTrackedBolSupplementaryInfo(request);\n }\n\n GetBolFileTypes() {\n const client = new SecuredKoppClient();\n const request = new GetFilteredTrackedBolFileTypeForLoggedInUserQueryRequest();\n request.amountPerPage = 200;\n client.showLoading = true;\n client.handleGeneralError = true;\n return client.getFilteredTrackedBolFileTypeForLoggedInUser(request);\n }\n}\n","import * as React from 'react';\nimport { Drawer, Button, Input, Select, Col, Row, Form, Icon, Divider, Descriptions } from 'antd';\nimport FormControl from \"components/Forms/FormControl\";\nimport { FormComponentProps } from \"antd/lib/form\";\nimport { IAddTrackedBolRequestModel, TrackedBolStatus, AddTrackedBolRequestModel, ITrackedBolFileModel, TrackedBolFileType, ITrackedBolFileType, TrackedBolServiceCategory } from \"Core/Api/Kopp/Api\";\nimport { BolFilesEditor } from \"components/Forms/BolFilesEditor\";\nimport { withRouter, RouteComponentProps } from 'react-router-dom';\nimport { TrackedBolSupplementaryInfoFormHandler } from './TrackedBolSupplementaryInfoFormHandler';\nimport SimpleSelect from 'components/Forms/SimpleSelect';\nimport AuthContext from 'Context/AuthContext';\nimport ISelectOption from 'components/Forms/SimpleSelect/ISelectOption';\nimport NotificationUtility from 'Core/NotificationUtility';\nimport ValidationUtility from 'Core/ValidationUtility';\nimport Utility from 'Core/Utility';\nimport { SubmitButton } from 'components/SubmitButton';\nimport _ from 'lodash';\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode\n drawerVisible: boolean;\n readonly?: boolean;\n trackedBol?: IAddTrackedBolRequestModel;\n onComplete: (value: IAddTrackedBolRequestModel) => void;\n onCancel?: () => void;\n}\n\nexport interface State {\n tarriffCodeDescriptions?: ISelectOption[];\n filteredTarriffCodeDescriptions?: ISelectOption[];\n maskClosable: boolean;\n fileTypes?: ITrackedBolFileType[];\n}\n\nclass BaseTrackedBolSupplementaryInfoForm extends React.Component {\n handler: TrackedBolSupplementaryInfoFormHandler;\n static contextType = AuthContext;\n context!: React.ContextType;\n\n constructor(props: Props) {\n super(props)\n this.handler = new TrackedBolSupplementaryInfoFormHandler(props);\n\n this.state = {\n maskClosable: false,\n }\n };\n\n componentDidMount = () => {\n this.getTariffCodeDescription();\n this.props.form.setFieldsValue(this.props.trackedBol ?? {});\n this.getTrackedBolFileTypes();\n }\n\n handleSubmit = (event: React.FormEvent) => {\n event.preventDefault();\n this.props.form.validateFieldsAndScroll((error, values: IAddTrackedBolRequestModel) => {\n if (!error) {\n\n //TODO: might create a model for just the supplemenatary info\n let trackedBolWithSupplementaryinfo: IAddTrackedBolRequestModel = new AddTrackedBolRequestModel();\n trackedBolWithSupplementaryinfo = {\n value: values.value,\n tariffCodeDescriptionIds: values.tariffCodeDescriptionIds,\n bolFiles: values.bolFiles,\n serviceCategory: values.serviceCategory\n };\n this.props.onComplete({ ...this.props.trackedBol, ...trackedBolWithSupplementaryinfo });\n\n }\n })\n\n };\n\n getTariffCodeDescription = () => {\n return this.handler.GetTrackedBolDesciptions().then(x => {\n let tariffCodeDescriptions: ISelectOption[] =\n x.results?.map(y => ({\n text: y.name!,\n value: y.id!,\n })) ?? [];\n let otherOption = tariffCodeDescriptions.filter(x => x.text?.toString().toLowerCase() == \"other\")?.pop();\n tariffCodeDescriptions = tariffCodeDescriptions.filter(x => !(x.text?.toString().toLowerCase() == \"other\"));\n if (otherOption && tariffCodeDescriptions) {\n tariffCodeDescriptions.push(otherOption);\n }\n this.setState({ tarriffCodeDescriptions: tariffCodeDescriptions, filteredTarriffCodeDescriptions: tariffCodeDescriptions });\n })\n };\n\n getTrackedBolFileTypes = () => {\n this.handler.GetBolFileTypes().then(x => {\n const fileTypes: ITrackedBolFileType[] =\n x.results?.map(y => ({\n id: y.id!,\n name: y.name!,\n })) ?? [];\n this.setState({ fileTypes });\n })\n };\n\n isUserIdFileUploaded = (files: ITrackedBolFileModel[]) => {\n\n let uploadedFilesTypes: ITrackedBolFileType[] = [];\n\n //match all uploaded file with a fileType\n for (var i = 0; i < files.length; ++i) {\n let match = this.state.fileTypes?.find(x => x.id == files[i].bolFileTypeId);\n uploadedFilesTypes.push(match!);\n }\n\n //return true if fileType of any identification exists \n return uploadedFilesTypes.some(x => {\n if (x.name == \"Drivers Licence\" || x.name == \"National ID\" || x.name == \"Passport\") {\n return true;\n }\n else {\n return false;\n }\n })\n };\n\n onCancel = (e) => {\n this.props.onCancel?.call(this);\n }\n\n drawerHeader = (\n \n \n {/* \n {`Details for BL# ${this.props.trackedBol?.bolNumber?.toUpperCase()}`}\n \n \n {`BL#: `}\n {`${this.props.trackedBol?.bolNumber?.toUpperCase()}`}\n \n \n {`Vessel Name: `}\n {`${this.props.trackedBol?.vessel}`}\n \n \n {`Arrival Date: `}\n {`${Utility.ToDateTimeString(this.props.trackedBol?.arrivalDate!)}`}\n \n \n {`Shipper/Agent Name: `}\n {this.props.trackedBol?.shipperName}\n \n \n {`Consignee Name: `}\n {this.props.trackedBol?.consigneeName}\n \n \n {`Description of Cargo: `}\n {this.props.trackedBol?.cargoDescription}\n */}\n\n Details for BL# {this.props.trackedBol?.bolNumber?.toUpperCase()}}>\n {this.props.trackedBol?.bolNumber?.toUpperCase()}\n {this.props.trackedBol?.vessel}\n {Utility.ToDateTimeString(this.props.trackedBol?.arrivalDate!)}\n {this.props.trackedBol?.shipperName}\n {this.props.trackedBol?.consigneeName}\n {this.props.trackedBol?.cargoDescription}\n \n \n \n );\n\n filterTarriffCodes = (filter: string) => {\n var newFilter = this.state.tarriffCodeDescriptions?.filter(x => x.text?.toString().toLocaleLowerCase().includes(filter?.toLowerCase())) ?? this.state.tarriffCodeDescriptions;\n this.setState({ filteredTarriffCodeDescriptions: newFilter });\n }\n\n render() {\n\n const { Option } = Select;\n const serviceCategory = (\n \n );\n\n const { getFieldDecorator } = this.props.form;\n return (\n\n \n
    \n Scanned Copy of National ID is required}\n labelAlign=\"left\"\n name=\"bolFiles\">\n \n \n \n \n \n \n \n \n \n {serviceCategory}\n \n {!this.props.readonly ?\n \n
    \n \n Submit\n \n \n \n \n \n \n \n \n :\n null\n }\n \n \n )\n }\n}\n\nconst TrackedBolSupplementaryInfoFormWithoutRouter = Form.create({\n name: 'TrackedBolSearchBar',\n})(BaseTrackedBolSupplementaryInfoForm);\n\nconst TrackedBolSupplementaryInfoForm = withRouter(TrackedBolSupplementaryInfoFormWithoutRouter)\nexport default TrackedBolSupplementaryInfoForm;\n","import * as React from \"react\";\nimport { Row, Col, message, Form, Button, List } from \"antd\";\nimport TrackedBolSearchBar from \"./TrackedBolSearchBar\";\nimport TrackedBolSearchFormHandler from \"./TrackedBolSearchFormHandler\";\nimport NotificationUtility from \"Core/NotificationUtility\";\nimport { withRouter, RouteComponentProps } from \"react-router-dom\";\nimport { FormComponentProps } from \"antd/lib/form\";\nimport { TrackedBolSearchResults } from \".\";\nimport AuthContext from \"Context/AuthContext\";\nimport { AddTrackedBolRequestModel, IAddTrackedBolRequestModel, AddTrackedBolResponseModel } from \"Core/Api/Kopp/Api\";\nimport moment from 'moment';\nimport TrackedBolSupplementaryInfoForm from \"../TrackedBolSupplementaryInfoForm\";\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode\n}\n\nexport interface State {\n results: IAddTrackedBolRequestModel[],\n showDrawer: boolean,\n showResult: boolean,\n trackedBol?: IAddTrackedBolRequestModel,\n}\n\nclass BaseTrackedBolSearchForm extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n handler: TrackedBolSearchFormHandler;\n constructor(props: Props) {\n super(props)\n this.handler = new TrackedBolSearchFormHandler(props);\n\n this.state = {\n results: [],\n showDrawer: false,\n showResult: false,\n }\n }\n\n //remember to pass data down\n Search = (trackecBolNumber: string) => {\n\n this.handler.GetBillOfLading(trackecBolNumber)\n .then(async foundBol => {\n const { results } = this.state;\n if (results != undefined) {\n const existingBol = results.filter(x => x.bolNumber?.toLowerCase().trim() === foundBol.bolNumber?.toLowerCase().trim());\n console.log(\"found\", foundBol);\n var total = foundBol!.total ?? 0;\n\n\n //check if bol already flagged in apm as click n collect\n if (foundBol.refNumber != null) {\n\n if (foundBol.isClickNGo) {\n NotificationUtility.info(`Shipment with Bill of Lading ${foundBol.bolNumber!.toUpperCase()} already in Click N Collect `\n , '', 30, true)\n }\n else {\n let exists: Boolean = await this.trackedBolExists(foundBol.refNumber, foundBol.bolNumber!);\n\n let result: IAddTrackedBolRequestModel = new AddTrackedBolRequestModel();\n result = {\n bolReferenceNumber: foundBol.refNumber,\n bolNumber: foundBol.bolNumber,\n description: foundBol.description,\n userId: this.context.data?.id,\n userFullName: `${this.context.data?.firstname} ${this.context.data?.lastname}`,\n userName: this.context.data?.username,\n mobile: this.context.data?.mobilePhone,\n vessel: foundBol.vesselName,\n voyage: foundBol.voyage,\n wharehouseLocation: foundBol.wharehouseLocation,\n arrivalDate: moment(foundBol.arrivalDate, \"YYYYMMDD\").toISOString(),\n currentStatus: foundBol.currentStatus,\n //TODO: add extra fields from endpoint\n consigneeName: foundBol.consigneeName,\n cargoDescription: foundBol.description,\n shipperName:foundBol.shipperName,\n numberOfPieces:foundBol.numberOfPieces\n };\n\n if (!exists) {\n\n if (existingBol && existingBol.length > 0) {\n // was already in the list, updating the list\n const newList = results.filter(x => x.bolNumber?.toLowerCase().trim() !== foundBol.bolNumber?.toLowerCase().trim());\n NotificationUtility.info(\n 'Item Already In List',\n `Shipment with Bill of Lading No. ${foundBol.bolNumber?.toUpperCase()} already in list below`,\n 25,\n true\n );\n } else {\n this.showDrawer(result) //call funtion to set drawer visibility to true \n }\n }\n }\n }\n }\n\n })\n .catch((e) => {\n console.log(\"error\", e)\n NotificationUtility.error('Error', 'No related BOLs found', 30, true)\n });\n }\n\n //checks if tracked bol already in kopp db\n trackedBolExists = async (refNumber: string, bolNumber: string) => {\n let exists;\n await this.handler.GetTrackedBolByBolReference(refNumber).then(x => {\n\n if (x.trackedBol != null && x.trackedBol.bolReferenceNumber == refNumber) {\n exists = true;\n NotificationUtility.info(`Shipment with Bill of Lading ${bolNumber.toUpperCase()} already in Click N Collect `\n , '', 30, true)\n }\n })\n .catch((e) => {\n exists = false;\n });\n\n return exists;\n };\n //end of trackedBolExists\n\n listOfTrackedBols = (bols: AddTrackedBolResponseModel[]) => {\n return (\n \n \n \n \n {item.bolNumber?.toUpperCase()}\n \n }\n />\n \n \n )\n };\n removeShipment = (cargo: IAddTrackedBolRequestModel) => {\n this.setState({ results: this.state.results.filter(f => f != cargo) });\n NotificationUtility.info('Shipment Removed', '', 30, true);\n }\n\n //method send passed down to TrackedBolSupplementaryInfoForm component to get supplementary info\n addTrackedBolToList = (trackedBol: IAddTrackedBolRequestModel) => {\n\n let existingBolIndex = this.state.results.findIndex(x => x.bolNumber == trackedBol.bolNumber);\n let newList: any[] = [];\n if (existingBolIndex != -1) {\n newList = this.state.results;\n newList[existingBolIndex] = trackedBol;\n } else {\n newList = [...this.state.results, trackedBol];\n }\n\n this.setState({ results: newList, showDrawer: false, trackedBol: undefined });\n this.successfulAddedtoListNotice();\n }\n\n addTrackedBol = () => {\n this.handler.AddTrackedBol(this.state.results).then(x => {\n\n if (x.failedToAddAll == true) {\n NotificationUtility.error(\n \"There was an issue.\",\n \"No Bill of Lading was added to Click N Collect. Please contact the administrator.\",\n 25,\n true);\n this.props.history.push(\"/click-n-go\");\n }\n else {\n if (x.trackedBols) {\n\n let successBols = x.trackedBols.filter(x => x.successful == true);\n let failedBols = x.trackedBols.filter(x => x.successful == false);\n\n if (successBols.length != 0) {\n\n NotificationUtility.success(\n `Successfully added the following BOL(s) to Click N Collect to be tracked:`,\n this.listOfTrackedBols(successBols),\n 25,\n true\n );\n }\n\n if (failedBols.length != 0) {\n NotificationUtility.warning(\n `Failed To Add BOL(s) To Click N Collect`,\n this.listOfTrackedBols(failedBols),\n 25,\n true\n );\n }\n this.props.history.push(\"/click-n-go\");\n }\n }\n\n })\n .catch(() => {\n NotificationUtility.error(\"Something went wrong\", \"Please contact Admin\", 0, true);\n })\n\n\n }\n //end of addTrackedBol\n\n //buttons to open and close drawer with supplementary info form\n showDrawer = (trackedBol: IAddTrackedBolRequestModel) => {\n this.setState({ showDrawer: true, trackedBol });\n };\n\n //show notification when bol successfully to list (before it is sent to be tracked)\n successfulAddedtoListNotice = (title = 'Shipment Added To List', message = `Shipment ${this.state.trackedBol?.bolNumber?.toUpperCase()} was added to the list.`) => {\n NotificationUtility.success(\n title,\n message,\n 20,\n true);\n }\n\n onCancel = () => {\n this.setState({ showDrawer: false, trackedBol: undefined });\n }\n\n\n render() {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.showDrawer &&\n }\n \n \n \n \n \n )\n }\n}\n\nconst TrackedBolSearchFormWithoutRouter = Form.create({\n name: 'TrackedBolSearchForm',\n})(BaseTrackedBolSearchForm);\nconst TrackedBolSearchForm = withRouter(TrackedBolSearchFormWithoutRouter);\nexport default TrackedBolSearchForm;","import { ColSize } from 'antd/lib/col';\n\ndeclare type ColSpanType = ColSize;\n\nexport const ColLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 14,\n offset: 0,\n },\n lg: {\n span: 14,\n offset: 0,\n },\n md: {\n span: 14,\n offset: 0,\n },\n sm: {\n span: 24,\n offset: 0,\n },\n xs: {\n span: 24,\n offset: 0,\n },\n};\n","import * as React from \"react\";\nimport CenteredPageContainer from \"components/Layout/CenteredPageContainer\";\nimport TrackedBolSearchForm from \"components/TrackedBolManagement/TrackedBolSearchForm/TrackedBolSearchForm\";\nimport { ColLayout } from \"./TrackedBolSearchFormPage.Style\";\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nexport default class TrackedBolSearchFormPage extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n return (\n \n \n \n )\n }\n}\n","import * as React from 'react';\nimport { UpdatableContext } from 'Context/UpdatableContext';\nimport TableRequest from 'Core/TableUtility/Models/TableRequest';\n\nconst data = {};\nconst Update = () => {};\n\nconst TableFilterContext = React.createContext>({ data, Update });\n\nexport default TableFilterContext;\n","import * as React from 'react';\nimport TableRequest from 'Core/TableUtility/Models/TableRequest';\nimport TableFilterContext from './TableFilterContext';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {\n tableRequest?: TableRequest;\n}\n\nexport default class TableFilterContextProvider extends React.Component {\n update: (updateTableRequest: TableRequest) => void;\n\n constructor(props: Props) {\n super(props);\n\n this.state = { tableRequest: { filters: [] } };\n this.update = updateTableRequest => this.setState({ tableRequest: updateTableRequest });\n }\n\n render() {\n return (\n \n {this.props.children}\n \n );\n }\n}\n","import * as React from 'react';\nimport { Table } from 'antd';\nimport {\n TableProps,\n PaginationConfig,\n SorterResult,\n TableCurrentDataSource,\n ColumnProps,\n} from 'antd/lib/table';\nimport equals from 'lodash/isEqual';\nimport cloneDeep from 'lodash/cloneDeep';\nimport TableRequest from 'Core/TableUtility/Models/TableRequest';\nimport { TableFilterContext } from '../TableFilterContextProvider';\nimport TableUtility from 'Core/TableUtility';\nimport Utility from 'Core/Utility';\nimport ITableDataFetcher from './Models/ITableDataFetcher';\nimport debouce from 'lodash/debounce';\n\nexport interface Props {\n children?: React.ReactNode;\n tableKey?: string;\n dataFetcher: ITableDataFetcher;\n columns: Array>;\n}\n\nexport interface State {\n data: DataType[];\n pagination: PaginationConfig;\n isLoading: boolean;\n // maintain a copy of table request\n // This will keep track of all filters, sorting and paging information\n // to be sent to the server\n tableRequest: TableRequest;\n}\nexport default class SimpleTable extends React.Component, State> {\n static defaultProps = {\n tableKey: 'id',\n dataFetcher: [],\n };\n\n static contextType = TableFilterContext;\n context!: React.ContextType;\n tableRef: React.Ref> = null;\n\n constructor(props: Props) {\n super(props);\n\n this.state = {\n data: [],\n pagination: {},\n isLoading: false,\n tableRequest: {},\n };\n this.TableChange = debouce(this.TableChange.bind(this), 10);\n }\n\n /**\n * This method is used to handle filtering and paging for table\n *\n * @param {PaginationConfig} pagination\n * @param {Record} filters\n * @param {SorterResult} sorter\n * @param {TableCurrentDataSource} extra\n * @memberof SimpleTable\n */\n TableChange(\n pagination: PaginationConfig,\n filters: Record,\n sorter: SorterResult,\n extra: TableCurrentDataSource\n ) {\n const pager = { ...this.state.pagination };\n pager.current = pagination.current;\n this.setState({ pagination: pager });\n\n const tableRequest = TableUtility.GetTableRequest(\n pagination,\n filters,\n sorter,\n this.context.data\n );\n this.GetData(tableRequest);\n }\n\n componentDidUpdate(prevProps: Props, pervState: State) {\n // When the state is update, use that to kickoff the request for data\n if (!equals(this.context.data, this.state.tableRequest) && !this.state.isLoading) {\n this.GetData(this.context.data || {});\n }\n // When the state is update, use that to kickoff the request for data\n if (!equals(pervState.tableRequest, this.state.tableRequest)) {\n }\n }\n\n componentDidMount() {\n this.setState({ tableRequest: cloneDeep(this.context.data || {}) });\n this.GetData({});\n }\n\n refresh() {\n this.GetData(this.context.data || {});\n }\n\n GetData(tableRequest: TableRequest | {}) {\n this.setState({ isLoading: true, tableRequest: cloneDeep(tableRequest) }, () => {\n\n this.props.dataFetcher\n .GetData(tableRequest)\n .then(data => {\n const pager = { ...this.state.pagination };\n pager.total = data.count;\n\n this.context.Update(tableRequest);\n this.setState({\n isLoading: false,\n data: data.results || [],\n pagination: pager,\n });\n })\n .catch(reason => {\n this.setState({\n isLoading: false,\n });\n });\n\n });\n\n\n }\n\n render() {\n return (\n \n ref={this.tableRef}\n rowKey={row => row[this.props.tableKey!] || Utility.RandomNumber(292838)}\n dataSource={this.state.data}\n pagination={this.state.pagination}\n loading={this.state.isLoading}\n onChange={this.TableChange}\n {...this.props}\n />\n );\n }\n}\n","import * as React from 'react';\nimport TableRequest from './Models/TableRequest/TableRequest';\nimport {\n ColumnProps,\n PaginationConfig,\n SorterResult,\n TableCurrentDataSource,\n} from 'antd/lib/table';\nimport { FilterType, JoinType } from '../Api/Kopp/Api';\nimport equals from 'lodash/isEqual';\n\nexport default class TableUtility {\n static IsSameTableRequest(data: TableRequest | undefined, tableRequest: TableRequest): boolean {\n if (data === tableRequest || (!data && !tableRequest)) {\n return true;\n }\n\n // if the filters arn't basically the same return\n if ((data!.filters || []).length !== (tableRequest.filters || []).length) {\n return false;\n }\n\n return equals(data, tableRequest);\n }\n /**\n * Create TableRequest from antd table change properties\n * @static\n * @template ModelType\n * @param {PaginationConfig} pagination\n * @param {Record} filters\n * @param {SorterResult} [sorter]\n * @returns {TableRequest}\n * @memberof TableUtility\n */\n public static GetTableRequest(\n pagination: PaginationConfig,\n filters: Record,\n sorter?: SorterResult,\n currentTableRequest?: TableRequest\n ): TableRequest {\n const tableRequest: TableRequest = currentTableRequest || {};\n tableRequest.amountPerPage = pagination.pageSize;\n tableRequest.pageNumber = pagination.current;\n tableRequest.filters = tableRequest.filters || [];\n // Formatting filters\n for (const key in filters) {\n if (filters.hasOwnProperty(key)) {\n const value = filters[key];\n tableRequest.filters.push({\n field: key,\n filterType: FilterType.Contains,\n value: value[0],\n });\n }\n }\n\n // format sorter\n if (sorter && sorter.field) {\n tableRequest.orderBy = tableRequest.orderBy || [];\n tableRequest.orderBy.push({\n field: sorter.field,\n ascending: sorter.order === 'ascend',\n });\n }\n\n return tableRequest;\n }\n}\n","import { SecuredKoppClient } from '../../../Core/Api/Kopp/SecuredKoppClient';\nimport ITableDataFetcher from '../../Forms/DataGrid/SimpleTable/Models/ITableDataFetcher';\nimport ITableDataResponse from '../../Forms/DataGrid/SimpleTable/Models/ITableDataResponse';\nimport {\n GetCustomerTrackedBolReportRequest,\n GetFilteredTrackedBolForLoggedInUserQueryRequest,\n IGetFilteredTrackedBolForLoggedInUserQueryRequest,\n ITrackedBol,\n TrackedBol,\n UpdateTrackedBolSupplementaryInfoRequest,\n UpdateTrackedBolSupplementaryInfoResponse,\n} from '../../../Core/Api/Kopp/Api';\nimport TableRequest from 'Core/TableUtility/Models/TableRequest';\n\nexport default class TrackedBolHandler implements ITableDataFetcher {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n GetData(\n tableRequest: IGetFilteredTrackedBolForLoggedInUserQueryRequest\n ): Promise> {\n return this.GetTrackedBol(tableRequest);\n }\n\n GetTrackedBol(request: IGetFilteredTrackedBolForLoggedInUserQueryRequest) {\n const client = new SecuredKoppClient();\n client.showLoading = false;\n client.handleGeneralError = true;\n return client.getFilteredTrackedBolForLoggedInUser(\n new GetFilteredTrackedBolForLoggedInUserQueryRequest(request)\n );\n }\n\n UpdateTrackedBol(model: ITrackedBol) {\n const client = new SecuredKoppClient();\n client.showLoading = true;\n client.handleGeneralError = true;\n let request = new UpdateTrackedBolSupplementaryInfoRequest({\n trackedBolSupplementaryInfo: model,\n });\n return client.updateTrackedBolSupplementaryInfo(request);\n }\n\n GenerateReport(tableRequest: TableRequest) {\n const client = new SecuredKoppClient();\n const request = new GetCustomerTrackedBolReportRequest(tableRequest);\n return client.getCustomerTrackedBolReport(request);\n }\n}\n","import { Button, Tooltip } from \"antd\";\nimport { ColumnProps } from \"antd/lib/table\";\nimport SimpleTable from \"components/Forms/DataGrid/SimpleTable\";\nimport ShowIfTrue from \"components/Forms/ShowIfTrue\";\nimport TrackedBolSupplementaryInfoForm from \"components/TrackedBolManagement/TrackedBolSupplementaryInfoForm\";\nimport { ITrackedBol, TrackedBol, TrackedBolServiceCategory, TrackedBolStatus } from \"Core/Api/Kopp/Api\";\nimport NotificationUtility from \"Core/NotificationUtility\";\nimport Utility from \"Core/Utility\";\nimport _ from \"lodash\";\nimport * as React from \"react\";\nimport { NavLink } from \"react-router-dom\";\nimport TrackedBolHandler from '../TrackedBolHandler';\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n trackedBol?: TrackedBol;\n showDrawer?: boolean;\n}\n\nexport default class TrackedBolTable extends React.Component\n{\n handler: TrackedBolHandler;\n tableRef = React.createRef>();\n\n columns: Array> = [\n {\n title: 'Click N Collect #',\n key: 'cngReferenceNumber',\n dataIndex: 'cngReferenceNumber'\n },\n {\n title: 'BL #',\n dataIndex: 'bolNumber',\n },\n {\n title: 'Date Submitted',\n dataIndex: 'creationDate',\n render: (text: any) => (!text ? '' : Utility.ToDateTimeString(text))\n },\n {\n title: 'Status',\n dataIndex: 'currentStatusForCustomer',\n },\n {\n title: 'Last Updated Date',\n dataIndex: 'modificationDate',\n render: (text: any) => (!text ? '' : Utility.ToDateTimeString(text))\n },\n {\n title: 'Service Category',\n dataIndex: 'serviceCategory',\n render:(text:TrackedBolStatus,record:TrackedBol,index)=><>{_.startCase(TrackedBolServiceCategory[text])}\n },\n {\n title: 'Consignee Name',\n dataIndex: 'consigneeName',\n },\n {\n title: '',\n render: (text: any, record: TrackedBol, index: number) => {\n return (\n <>\n \n \n \n \n \n \n void;\n}\n\nexport interface State {\n filterId?: number;\n}\n\nexport default class FilterFieldWrapper<\n extendablePropsType extends FilterFieldWrapperProps\n > extends React.Component {\n static defaultProps: FilterFieldWrapperProps = {\n filterType: FilterType.Contains,\n filterJoin: JoinType.And,\n filterFields: '',\n };\n static contextType = TableFilterContext;\n context!: React.ContextType;\n\n constructor(props: extendablePropsType) {\n super(props);\n\n this.state = {\n filterId: Utility.RandomNumber(93823),\n };\n }\n\n UpdateFilter(filterValue: string | any) {\n // remove filters that were added by this control\n const filters = this.GetCleanContextFilters();\n\n // add filters that pertain to this control\n const newFilters = filterValue ? this.CreateFilterList(filterValue) : [];\n filters.unshift(...newFilters);\n\n this.context.data!.filters = filters;\n this.context.Update(this.context.data);\n }\n\n render() {\n return <>{this.props.children};\n }\n\n /**\n * Get the filter from the context object with any previous filters that this\n * control would have added (but keep other filters)\n *\n * @protected\n * @returns {IFilter[]}\n * @memberof FilterFieldWrapper\n */\n protected GetCleanContextFilters(): IFilter[] {\n const tableRequest = this.context.data || { filters: [] };\n const filters = this.RemoveOldFilters(tableRequest.filters || []);\n return filters;\n }\n\n /**\n * Remove filters that this control would have added.\n *\n * @protected\n * @param {IFilter[]} filters\n * @returns {IFilter[]}\n * @memberof FilterFieldWrapper\n */\n protected RemoveOldFilters(filters: IFilter[]): IFilter[] {\n return filters.filter(x => (x as MarkedFilter).filterId !== this.state.filterId);\n }\n\n /**\n * Create a list of filters based on the controls properties\n * and the value(s) that have been passed in\n *\n * @protected\n * @param {*} filterValue\n * @returns {IFilter[]}\n * @memberof FilterFieldWrapper\n */\n protected CreateFilterList(filterValue: any): IFilter[] {\n const filters: IFilter[] = [];\n const filterFields = this.props.filterFields.split(',').map(x => x.trim());\n for (const field of filterFields) {\n const markedFilter = {\n field,\n filterId: this.state.filterId,\n filterType: this.props.filterType,\n joinType: JoinType.Or,\n value: filterValue,\n };\n filters.push(markedFilter);\n }\n return filters;\n }\n}\n","import { Select } from 'antd';\nimport { SelectProps } from 'antd/lib/select';\nimport debounce from 'lodash/debounce';\nimport React, { ChangeEvent } from 'react';\nimport FilterFieldWrapper from '../FilterFieldWrapper';\nimport { FilterFieldWrapperProps } from '../FilterFieldWrapper/FilterFieldWrapper';\nimport IFilterSelectOption from './IFilterSelectOption';\nimport { IFilter, FilterType, JoinType } from 'Core/Api/Kopp/Api';\nconst { Option } = Select;\nexport interface SelectFilterFieldWrapperProps\n extends FilterFieldWrapperProps,\n SelectProps {\n options: IFilterSelectOption[];\n}\n\nexport default class FilterSelectbox extends FilterFieldWrapper {\n static defaultProps: SelectFilterFieldWrapperProps = {\n filterType: FilterType.Equal,\n filterJoin: JoinType.Or,\n options: [],\n filterFields: '',\n };\n\n constructor(props: SelectFilterFieldWrapperProps) {\n super(props);\n this.UpdateFilter = debounce(this.UpdateFilter.bind(this), 700);\n }\n\n /**\n * Create a list of filters based on the controls properties\n * and the value(s) that have been passed in\n *\n * @protected\n * @param {*} filterValue\n * @returns {IFilter[]}\n * @memberof FilterFieldWrapper\n */\n CreateFilterList(filterValue: any): IFilter[] {\n const filterValueList =\n typeof filterValue == 'string' ? [filterValue] : (filterValue as string[]);\n\n const filters: IFilter[] = [];\n const filterFields = this.props.filterFields.split(',').map(x => x.trim());\n for (const value of filterValueList) {\n for (const field of filterFields) {\n const markedFilter = {\n field,\n filterId: this.state.filterId,\n filterType: this.props.filterType,\n joinType: this.props.filterJoin,\n value,\n };\n filters.push(markedFilter);\n }\n }\n return filters;\n }\n\n onChange = (values: string[] | string) => {\n this.UpdateFilter(values);\n };\n\n render() {\n return (\n \n );\n }\n}\n","import React, { ChangeEvent } from 'react';\nimport Input, { InputProps } from 'antd/lib/input';\nimport FilterFieldWrapper from '../FilterFieldWrapper';\nimport { FilterFieldWrapperProps } from '../FilterFieldWrapper/FilterFieldWrapper';\nimport debounce from 'lodash/debounce';\n\nexport interface FilterTextboxProps extends FilterFieldWrapperProps, InputProps {}\n\nexport default class FilterTextbox extends FilterFieldWrapper {\n constructor(props: FilterFieldWrapperProps) {\n super(props);\n this.UpdateFilter = debounce(this.UpdateFilter.bind(this), 700);\n }\n\n onChange = (event: ChangeEvent) => {\n this.UpdateFilter(event.currentTarget.value);\n };\n\n render() {\n return ;\n }\n}\n","import { Button } from 'antd';\nimport TableFilterContext from 'components/Forms/DataGrid/TableFilterContextProvider/TableFilterContext';\nimport React, { useContext } from 'react';\nimport TrackedBolHandler from '../../TrackedBolHandler';\nimport download from 'downloadjs';\nimport NotificationUtility from 'Core/NotificationUtility';\ninterface Props {\n}\n\nconst TrackedBolGenerateReportButton: React.FC = (props) => {\n let context = useContext(TableFilterContext);\n let handler: TrackedBolHandler = new TrackedBolHandler(props);\n const downloadReport = () => {\n handler.GenerateReport(context.data!).then(x => {\n download(x.data, x.fileName, \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\");\n }).catch(err => {\n NotificationUtility.error('Error Generating Report', err.message || err, 1000, true);\n });\n }\n return <> \n ;\n}\n\nexport default TrackedBolGenerateReportButton;","import { Button, Col, Form, Row } from 'antd';\nimport FilterSelectbox from 'components/Forms/DataGrid/FilterSelectbox';\nimport IFilterSelectOption from 'components/Forms/DataGrid/FilterSelectbox/IFilterSelectOption';\nimport FilterTextbox from 'components/Forms/DataGrid/FilterTextbox';\n//import { TableFilterContext } from 'components/Forms/TableFilterContextProvider';\nimport { JoinType, TrackedBolStatus } from 'Core/Api/Kopp/Api';\nimport Utility from 'Core/Utility';\nimport { startCase } from 'lodash';\nimport * as React from 'react';\nimport TrackedBolHandler from '../TrackedBolHandler';\nimport { TrackedBolGenerateReportButton } from './TrackedBolGenerateReportButton';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {\n trackedBolStatuses?: IFilterSelectOption[];\n}\n\nexport default class TrackedBolSearchBar extends React.Component {\n constructor(props: Props) {\n super(props);\n this.state = {};\n }\n\n componentDidMount() {\n this.getStatus();\n }\n\n getStatus = () => {\n let statuses = Utility.enumToSelectionOptionArray(TrackedBolStatus);\n statuses = statuses.map(x => ({ text: startCase(x.text), value: x.value }));\n this.setState({ trackedBolStatuses: statuses });\n };\n\n render() {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n}\n","import Form, { FormComponentProps } from 'antd/lib/form';\nimport { RouteComponentProps, withRouter } from 'react-router';\nimport * as React from 'react';\nimport { Col, Row, Button } from 'antd';\nimport TrackedBolTable from './TrackedBolTable';\nimport TrackedBolSearchBar from './TrackedBolSearchBar';\nimport TableFilterContextProvider from 'components/Forms/DataGrid/TableFilterContextProvider';\n\nexport interface Props extends FormComponentProps, RouteComponentProps {\n children?: React.ReactNode;\n}\n\nexport interface State {\n data: any;\n}\n\nclass BaseTrackedBolOverview extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {\n data: [],\n };\n }\n\n goToRegisterBL = e => {\n e.preventDefault();\n this.props.history.push('/click-n-go/register');\n };\n\n render() {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n}\n\nconst TrackedBolOverviewForm = Form.create({\n name: 'TrackedBolOverview',\n})(BaseTrackedBolOverview);\n\nconst TrackedBolOverview = withRouter(TrackedBolOverviewForm);\nexport default TrackedBolOverview;\n","import antd, { Form, Collapse, Row, Col, PageHeader } from 'antd';\nimport styled from 'styled-components';\nimport { ColSize } from 'antd/lib/col';\n\ndeclare type ColSpanType = ColSize;\n\nexport const ColLayout: { [key: string]: ColSpanType } = {\n xl: {\n span: 20,\n offset: 0,\n },\n lg: {\n span: 20,\n offset: 0,\n },\n md: {\n span: 20,\n offset: 0,\n },\n sm: {\n span: 24,\n offset: 0,\n },\n xs: {\n span: 24,\n offset: 0,\n },\n};\n","import * as React from \"react\";\nimport TrackedBolOverview from \"../../components/TrackedBolManagement/TrackedBolOverview/TrackedBolOverview\";\nimport CenteredPageContainer from \"components/Layout/CenteredPageContainer\";\nimport { ColLayout } from \"./TrackedBolOverviewPage.Style\";\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nexport default class TrackedBolOverviewPage extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n return (\n \n \n \n )\n }\n}\n","import * as React from \"react\";\nimport AuthContext from \"Context/AuthContext\";\nimport { CustomerBolHandler } from \"./CustomerBolHandler\";\nimport { RouteComponentProps, withRouter } from \"react-router-dom\";\nimport { CustomerBolTable, CustomerBolDetail } from \".\";\n\nexport interface Props extends RouteComponentProps {\n children?: React.ReactNode\n}\n\nexport interface State {\n detailedClicked: boolean\n}\n\nclass CustomerBolOverviewBase extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n detailedClicked: false,\n }\n }\n\n componentDidMount() {\n console.log(\"constext\", this.context.data)\n }\n\n render() {\n return (\n \n )\n }\n}\n\nconst CustomerBolOverview = withRouter(CustomerBolOverviewBase);\n\nexport default CustomerBolOverview;","import Utility from 'Core/Utility';\nimport moment from 'moment';\nimport { SecuredAPMProxyClient } from 'Core/Api/APMProxy/SecuredAPMProxyClient';\n\nexport class CustomerBolHandler {\n props: any;\n constructor(props) {\n this.props = props;\n }\n\n GetCustomerBol(customerCode: string) {\n let client = new SecuredAPMProxyClient();\n client.showLoading = true;\n client.handleGeneralError = true;\n\n return client.getBLbyConsignee(customerCode).catch(Utility.formatError);\n }\n\n\n}\n","import * as React from \"react\";\nimport Table, { ColumnProps } from \"antd/lib/table\";\nimport { GetBLbyConsigneeResponseDto, BolListData } from \"Core/Api/APMProxy/Api\";\nimport { NavLink } from \"react-router-dom\";\nimport SimpleTable from \"components/Forms/DataGrid/SimpleTable\";\nimport { CustomerBolHandler } from \"../CustomerBolHandler\";\nimport NotificationUtility from \"Core/NotificationUtility\";\n\nexport interface Props {\n children?: React.ReactNode\n customerCode?: string,\n}\n\nexport interface State {\n customerBols: BolListData[]\n}\n\nexport default class CustomerBolTable extends React.Component {\n customerBolHandler: CustomerBolHandler;\n\n columns: Array> = [\n {\n title: 'BL #',\n key: 'bolNumber',\n render: (text: any, record: BolListData, index: number) => record.bolNumber || record[\"bolReferenceNumber\"]\n },\n {\n title: 'Description',\n dataIndex: 'description',\n width: \"40%\"\n },\n {\n title: 'Click N Collect',\n dataIndex: 'clickAndGo',\n render: (text: boolean) => <>{text == true ? \"Yes\" : \"No\"} \n },\n {\n title: '',\n render: (text: any, record: BolListData, index: number) => <> {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n return (\n \n \n \n \n \n )\n }\n}\n","import * as React from \"react\";\nimport CenteredPageContainer from \"components/Layout/CenteredPageContainer\";\nimport CustomerBolCharge from \"components/CustomerBolOverview/CustomerBolCharge\";\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nexport default class CustomerBolDetailPage extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n render() {\n return (\n \n \n \n )\n }\n}\n","import React from 'react';\nimport LoginPage from '../Pages/LoginPage';\nimport AppRoute, { LayoutType } from './models/AppRoute';\nimport { AdminLayout, ClassicLayout, LoginLayout } from '../components/Layout';\nimport LogoutPage from '../Pages/LogoutPage';\nimport HomePage from '../Pages/HomePage';\nimport UpdateUserProfilePage from '../Pages/UserProfilePage';\nimport ArrivalSchedulePage from '../Pages/ArrivalSchedulePage';\nimport EmailConfirmationPage from '../Pages/RegistrationPage/EmailConfirmationPage';\n\nimport RegistrationWizardPage from '../Pages/RegistrationWizardPage';\nimport TransactionHistoryPage from 'Pages/TransactionHistoryPage';\nimport ForgetPasswordPage from '../Pages/ForgetPasswordPage';\nimport StrippingSchedulePage from 'Pages/Schedule/StrippingSchedulePage';\nimport CargoChargesPage from 'Pages/CargoChargesPage';\nimport ForgetPasswordCompleteForm from 'components/UserManagement/ForgetPassword/ForgetPasswordCompleteForm';\nimport { Operations } from './Api/Kopp/Api';\nimport ResendEmailConfirmationPage from 'Pages/ResendEmailConfirmationPage';\nimport UserProfileTabbed from 'components/UserManagement/Profile/UserProfileTabbed';\nimport CartOverviewPage from 'Pages/CartOverviewPage';\nimport CheckoutPage from 'Pages/CheckoutPage';\nimport ResetPassword from './../components/UserManagement/ForgetPassword/ResetPassword/ResetPassword';\nimport { Layout } from 'antd';\nimport NotFoundPage from '../Pages/NotFoundPage';\nimport BlankCenteredLogoLayout from 'components/Layout/BlankCenteredLogoLayout';\nimport BlankLeftLogoLayout from 'components/Layout/BlankLeftLogoLayout';\nimport PaymentProcessingPage from 'Pages/PaymentProcessingPage';\nimport CheckoutConfirmationPage from 'Pages/CheckoutConfirmationPage';\nimport ThreeDSecurePage from 'Pages/ThreeDSecurePage';\nimport GeneralPaymentErrrorPage from 'Pages/GeneralPaymentErrrorPage';\nimport PrivacyPolicyPage from 'Pages/PrivacyPolicyPage';\nimport TermsAndConditionsPage from 'Pages/TermsAndConditionsPage';\nimport EmptyLayout from 'components/Layout/EmptyLayout';\nimport TrackedBolDetailViewPage from 'Pages/TrackedBolDetailViewPage';\nimport TrackedBolSearchFormPage from 'Pages/TrackedBolSearchFormPage';\nimport TrackedBolOverviewPage from 'Pages/TrackedBolOverviewPage';\nimport CustomerBolPage from 'Pages/CustomerBolPage';\nimport { CustomerBolDetail } from 'components/CustomerBolOverview';\nimport CustomerBolDetailPage from 'Pages/CustomerBolDetailPage';\n\nexport const AppRoutes: AppRoute[] = [\n {\n title: 'Home',\n redirect: 'home',\n path: '/',\n exact: true,\n layout: (props: any) => ,\n icon: 'star',\n skip: true,\n routes: [\n {\n title: 'Home',\n icon: 'home',\n path: 'home',\n exact: true,\n component: HomePage,\n },\n {\n title: 'Email Registration Confirmation',\n icon: 'email',\n layout: (props: any) => ,\n path: 'emailconfirmation',\n hideInMainMenu: true,\n component: EmailConfirmationPage,\n },\n {\n title: 'Resend Email Registration Confirmation Token',\n icon: 'email',\n layout: (props: any) => ,\n path: 'resend-emailconfirmation',\n hideInMainMenu: true,\n component: ResendEmailConfirmationPage,\n },\n {\n title: 'Get & Pay Charges',\n icon: 'dollar',\n layout: (props: any) => ,\n path: 'charges',\n component: CargoChargesPage,\n requiredOperations: [Operations.Is_Autenticated],\n routes: [\n\n ]\n },\n {\n title: 'Customer Bols',\n path: 'customer-bol',\n icon: 'dollar',\n component: CustomerBolPage,\n requiredOperations: [Operations.Is_Autenticated],\n hideInMainMenu: false,\n routes: [\n {\n title: 'Customer Bol Charges',\n path: 'detail',\n component: CustomerBolDetailPage,\n requiredOperations: [Operations.Is_Autenticated],\n hideInMainMenu: true,\n },\n ]\n },\n {\n title: 'Click N Collect',\n icon: 'home',\n path: 'click-n-go',\n hideInMainMenu: false,\n requiredOperations: [Operations.Is_Autenticated],\n layout: (props: any) => ,\n component: TrackedBolOverviewPage,\n routes: [\n {\n title: 'Click N Collect Detail',\n icon: 'dollar',\n hideInMainMenu: true,\n requiredOperations: [Operations.Is_Autenticated],\n layout: (props: any) => ,\n path: 'detail',\n component: TrackedBolDetailViewPage,\n },\n {\n title: 'Register Click N Collect BL',\n icon: 'home',\n hideInMainMenu: true,\n requiredOperations: [Operations.Is_Autenticated],\n path: 'register',\n component: TrackedBolSearchFormPage,\n }\n ]\n },\n {\n title: 'Container Schedule',\n icon: 'schedule',\n layout: (props: any) => ,\n path: 'container-schedule',\n // strict: true,\n component: StrippingSchedulePage,\n },\n {\n title: 'Vessel Schedule',\n icon: 'schedule',\n layout: (props: any) => ,\n path: 'vessel-schedule',\n component: ArrivalSchedulePage,\n },\n {\n title: 'Cart',\n icon: 'cart',\n layout: (props: any) => ,\n path: 'cart',\n component: CartOverviewPage,\n hideInMainMenu: true,\n requiredOperations: [Operations.Is_Autenticated],\n },\n {\n title: 'Contact Us',\n icon: 'phone',\n layout: (props: any) => ,\n hideInMainMenu: true,\n path: 'contact-us',\n component: () =>

    Contact Us

    ,\n },\n {\n title: 'Sign Up',\n icon: 'user-add',\n hideInMainMenu: true,\n layout: (props: any) => ,\n path: 'sign-up',\n component: RegistrationWizardPage,\n },\n {\n title: 'View Transactions History',\n icon: 'history',\n hideInMainMenu: false,\n requiredOperations: [Operations.Is_Autenticated],\n layout: (props: any) => ,\n path: 'transaction-history',\n component: TransactionHistoryPage,\n },\n {\n title: 'Checkout page',\n icon: 'user-add',\n hideInMainMenu: true,\n layout: (props: any) => ,\n path: 'checkout',\n requiredOperations: [Operations.Is_Autenticated],\n component: CheckoutPage,\n },\n {\n title: 'Processing Payment...',\n icon: 'user-add',\n hideInMainMenu: true,\n layout: (props: any) => ,\n path: 'payment-processing',\n requiredOperations: [Operations.Is_Autenticated],\n component: PaymentProcessingPage,\n },\n {\n title: 'Processing Payment...',\n icon: 'user-add',\n hideInMainMenu: true,\n layout: (props: any) => ,\n path: '3d-secure',\n component: ThreeDSecurePage,\n },\n {\n title: 'Checkout Confirmation',\n hideInMainMenu: true,\n layout: (props: any) => ,\n path: 'payment-complete',\n requiredOperations: [Operations.Is_Autenticated],\n component: CheckoutConfirmationPage,\n },\n {\n title: 'Payment Error',\n hideInMainMenu: true,\n layout: (props: any) => ,\n path: 'payment-error',\n requiredOperations: [Operations.Is_Autenticated],\n component: GeneralPaymentErrrorPage,\n },\n {\n title: 'Forget Password',\n icon: 'question',\n hideInMainMenu: true,\n layout: (props: any) => ,\n path: 'forget-password',\n component: ForgetPasswordPage,\n },\n {\n title: 'Forget Password Confirmation',\n icon: 'question',\n hideInMainMenu: true,\n layout: (props: any) => ,\n path: 'forget-password-complete',\n component: ForgetPasswordCompleteForm,\n },\n {\n title: 'User Profile',\n path: 'user-profile',\n icon: 'folder',\n hideInMainMenu: true,\n layout: (props: any) => ,\n exact: true,\n requiredOperations: [Operations.Is_Autenticated],\n component: UserProfileTabbed,\n routes: [\n {\n title: 'Account Information',\n path: 'account-info',\n component: UserProfileTabbed,\n requiredOperations: [Operations.Is_Autenticated],\n hideInMainMenu: true,\n },\n {\n title: 'Reset Password',\n path: 'reset-password',\n component: UserProfileTabbed,\n requiredOperations: [Operations.Is_Autenticated],\n hideInMainMenu: true,\n },\n {\n title: 'Register Credit Card',\n path: 'register-card',\n component: UserProfileTabbed,\n requiredOperations: [Operations.Is_Autenticated],\n hideInMainMenu: true,\n },\n\n ],\n },\n {\n title: 'Logout',\n path: '/logout',\n icon: 'user',\n exact: true,\n hideInMainMenu: true,\n layout: (props: any) => ,\n component: LogoutPage,\n },\n {\n title: 'Privacy Policy',\n path: '/privacy-policy',\n icon: 'user',\n exact: true,\n hideInMainMenu: true,\n component: PrivacyPolicyPage,\n },\n {\n title: 'Terms and Conditions',\n path: '/terms',\n icon: 'user',\n exact: true,\n hideInMainMenu: true,\n component: TermsAndConditionsPage,\n },\n {\n title: 'Login',\n path: '/login',\n icon: 'up',\n hideInMainMenu: true,\n layout: (props: any) => ,\n component: LoginPage,\n },\n ],\n },\n {\n title: '404',\n path: '/*',\n hideInMainMenu: true,\n layout: (props: any) => ,\n component: NotFoundPage,\n },\n];\n","import * as React from 'react';\nimport antd, { Layout } from 'antd';\nimport { Row, Col } from 'antd';\n// import moment = require(\"moment\");\nimport { NavLink, Link } from 'react-router-dom';\nimport moment from 'moment';\nimport { Helmet } from 'react-helmet';\nimport SslSealBadge from '../SslSealBadge';\nimport ConfigUtility from 'Core/ConfigUtility';\n\n\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nconst colStyle = { textAlign: 'left' };\n\nconst hyperLinkStyle = {\n color: '#ffffff',\n};\n\nexport default class Footer extends React.Component {\n\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n const { Footer } = Layout;\n const config = ConfigUtility.getSync();\n const year = moment(Date.now())\n .format('YYYY')\n .toString();\n\n return (\n
    \n \n
    \n \n Copyright © {year}\n \n \n \n \n About Us\n \n \n \n \n Terms & Conditions\n \n \n \n \n \n \n \n \n \n \n \n \n {config?.AppVersion}\n \n \n \n Contact Us\n \n \n \n \n Privacy Policy\n \n \n \n \n \n \n );\n }\n}\n","import { Layout, Row, Col } from 'antd';\nimport * as React from 'react';\nimport Sidebar from './Sidebar';\nimport { AppRoutes } from '../../../Core/AppRoutes';\nimport ILayout from '../../../Core/models/ILayout';\nimport AuthBar from '../AuthBar';\nimport Footer from '../Footer/Footer';\n\nconst { Header } = Layout;\n\nexport interface Props extends ILayout {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nexport default class AdminLayout extends React.Component {\n constructor(props: Props) {\n super(props);\n this.state = {};\n }\n\n public render() {\n return (\n \n \n \n
    \n \n
    \n \n \n \n \n {this.props.children}\n
    \n \n \n );\n }\n}\n","import * as React from 'react';\nimport { Layout, Row, Col } from 'antd';\nimport AppMenu from '../AppMenu';\nimport { AppRoutes } from '../../../Core/AppRoutes';\nimport MainContent from '../MainContent';\nimport TopBar from './TopBar';\nimport ILayout from '../../../Core/models/ILayout';\nimport Footer from '../Footer/Footer';\nconst { Header, Content } = Layout;\n\nexport interface Props extends ILayout {\n children?: React.ReactNode;\n}\n\nexport interface State {}\n\nexport default class ClassicLayout extends React.Component {\n constructor(props: Props) {\n super(props);\n this.state = {};\n }\n\n render() {\n return (\n \n \n \n \n \n
    {this.props.children}\n \n \n \n
    \n \n );\n }\n}\n","import * as React from 'react';\nimport { Layout, Row } from 'antd';\nimport styled from 'styled-components';\nimport ScreenHelper from '../../Styled/ScreenHelper';\nimport logoSvg from '../../../assets/images/logo.png';\n\nconst { Header, Content, Footer } = Layout;\n\nexport const CenteredContent = styled(Content)`\n height: 100%;\n min-height: 100vh;\n ${ScreenHelper.down('md')`\n padding-top:20vh;\n `}\n ${ScreenHelper.up('lg')`\n padding-top:5vh;\n `}\n`;\n\nexport const MainLogo = styled.div`\n height: 18em;\n width: 21em;\n\n border: none;\n background: url(${logoSvg});\n background-size: contain;\n background-position: center center;\n background-repeat: no-repeat;\n\n ${ScreenHelper.down('md')`\n height: 0em;\n width: 0em;\n `}\n`;\n","import * as React from 'react';\nimport { Layout, Row } from 'antd';\nimport { CenteredContent, MainLogo } from './LoginLayout.Style';\nimport { AppRoutes } from '../../../Core/AppRoutes';\nimport TopBar from '../ClassicLayout/TopBar/TopBar';\nconst { Header, Content, Footer } = Layout;\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nexport default class LoginLayout extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return (\n \n \n \n \n \n \n \n {this.props.children}\n \n \n \n );\n }\n}\n","import { Layout, Row } from 'antd';\nimport * as React from 'react';\nimport Sidebar from '../AdminLayout/Sidebar';\nimport { RoutesRenderer } from '../MainContent';\nimport ILayout from '../../../Core/models/ILayout';\nconst { Header, Content, Footer } = Layout;\n\nexport interface Props {\n children?: React.ReactNode;\n layout: React.Component;\n}\n\nexport interface State {}\n\nexport default class MainContent extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n return (\n \n \n \n );\n }\n}\n","import * as React from 'react';\nimport { Route, Redirect, RouteProps } from 'react-router-dom';\nimport AuthContext from '../../../../Context/AuthContext';\nimport Utility from '../../../../Core/Utility';\nimport { AuthUser } from '../../../../Core/models/AuthUser';\n\nexport interface Props extends RouteProps {\n children?: React.ReactNode;\n requiredOperations?: string[];\n render?: any;\n}\n\nexport default class GatedRoute extends Route {\n static contextType = AuthContext;\n context!: React.ContextType;\n\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n const { requiredOperations, render, ...rest } = this.props;\n const user = this.context.data as AuthUser;\n return (\n \n Utility.HasOperations(user, requiredOperations || []) ? (\n render()\n ) : (\n \n )\n }\n />\n );\n }\n}\n","import * as React from 'react';\nimport { Route, Switch, RouteComponentProps, Router } from 'react-router-dom';\nimport { AppRoutes } from '../../../../Core/AppRoutes';\nimport AppRoute, { LayoutType } from '../../../../Core/models/AppRoute';\nimport Utility from '../../../../Core/Utility';\nimport ILayout from '../../../../Core/models/ILayout';\nimport { renderRoutes } from 'react-router-config';\nimport GatedRoute from '../GatedRoute';\nimport { Redirect, withRouter } from 'react-router';\nimport NotFoundPage from 'Pages/NotFoundPage';\n\nexport interface Props {\n defaultLayout: LayoutType;\n lastRoute?: React.ComponentType;\n isDefault?: boolean;\n}\n\nexport interface State {}\n\nexport default class RoutesRenderer extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n const children = AppRoutes.map(route =>\n this.renderRoute(route, undefined, this.props.defaultLayout)\n );\n\n return (\n <>\n {children.map(x => (\n {x}\n ))}\n \n );\n }\n\n renderRoute(\n route: AppRoute,\n parentPath: string | undefined = '',\n parentLayout: LayoutType\n ): { key: any } {\n const fullPath = Utility.combinePath(parentPath, route.path as string);\n const currentLayout = route.layout || parentLayout;\n\n return (\n \n {this.wrapInLayout(route, fullPath, currentLayout)}\n {route.routes &&\n route.routes.map(childRoute => this.renderRoute(childRoute, fullPath, currentLayout))}\n \n );\n }\n\n wrapInLayout(route: AppRoute, fullPath: string, CurrentLayout: LayoutType) {\n return (\n (\n \n {route.redirect && }\n \n \n )}\n />\n );\n }\n}\n\n// const RoutesRenderer = withRouter(RoutesRendererWithoutRouter);\n// export default RoutesRenderer;\n","import * as React from 'react';\nimport AuthContext from '../../../Context/AuthContext';\nimport { SlimUser } from '../../../Core/Api/Kopp/Api';\nimport userInterval from '../../../Core/useInterval';\nimport TokenUtility from 'Core/TokenUtility';\nimport { AuthUser } from 'Core/models/AuthUser';\nimport useInterval from '../../../Core/useInterval';\nimport { cursorTo } from 'readline';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport { withRouter, RouteComponentProps } from 'react-router';\nimport LogRocket from 'logrocket';\nimport Utility from 'Core/Utility';\nimport Cookies from 'js-cookie';\nimport SmartLookClient from 'smartlook-client'\n// This is an example script - don't forget to change it!\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {\n currentUser?: AuthUser;\n shouldRenderChildren?: boolean;\n userCheckInterval?: any;\n userCookie?: string;\n}\n\nexport default class AuthContextProvider extends React.Component {\n update: (newUser: any) => void;\n\n constructor(props: Props) {\n super(props);\n\n this.state = { currentUser: undefined, shouldRenderChildren: false };\n this.updateUserBasedOnToken = this.updateUserBasedOnToken.bind(this);\n this.update = newUser => this.setState({ currentUser: newUser });\n }\n\n async componentDidMount() {\n window.addEventListener('load', this.updateUserBasedOnToken);\n\n const config = await ConfigUtility.get();\n const currentUser = TokenUtility.GetUserFromCookies();\n\n //Peridically check if user data has changed\n const userCheckInterval = setInterval(\n this.updateUserBasedOnToken,\n config.KoppTokenCookieCheckIntervalMs || 2000\n );\n this.setState({ currentUser, shouldRenderChildren: !!currentUser, userCheckInterval });\n }\n\n componentWillUnmount() {\n window.removeEventListener('load', this.updateUserBasedOnToken);\n clearInterval(this.state.userCheckInterval);\n }\n\n updateUserBasedOnToken(): AuthUser | undefined {\n\n if (!this.hasUserCookieChanged()) {\n if (!this.state.shouldRenderChildren) {\n this.setState({ shouldRenderChildren: true });\n }\n return this.state.currentUser;\n }\n\n const tokenUser = TokenUtility.GetUserFromCookies();\n const config = ConfigUtility.getSync();\n\n const currentUser = this.state.currentUser;\n\n if (!tokenUser && !currentUser) {\n let cookie = Cookies.get(config?.KoppTokenCookieName ?? \"notthere\");\n this.setState({ shouldRenderChildren: true, userCookie: cookie });\n return;\n } else if (tokenUser && !currentUser) {\n let cookie = Cookies.get(config?.KoppTokenCookieName ?? \"notthere\");\n\n this.setState({ currentUser: tokenUser, shouldRenderChildren: true, userCookie: cookie });\n this.IdentifyUserInLogRocket(tokenUser, config);\n this.IdentifyUserInSmartLook(tokenUser, config);\n return;\n } else if (!tokenUser?.expirationTime?.isSame(currentUser?.expirationTime)) {\n let cookie = Cookies.get(config?.KoppTokenCookieName ?? \"notthere\");\n this.setState({ currentUser: tokenUser, shouldRenderChildren: true, userCookie: cookie });\n this.IdentifyUserInLogRocket(tokenUser!, config);\n this.IdentifyUserInSmartLook(tokenUser!, config);\n return;\n }\n }\n\n private IdentifyUserInLogRocket(currentUser: AuthUser, config: any = undefined) {\n try {\n if (!config) {\n config = ConfigUtility.getSync()!;\n }\n\n if (config.LogRocket.Enabled) {\n console.log(\"logrocket: \", currentUser.email);\n LogRocket.identify(currentUser.email!, {\n name: currentUser.firstname!,\n email: currentUser.email!,\n // Add your own custom user variables here, ie:\n sessionId: currentUser.sessionId!,\n });\n }\n } catch { }\n }\n\n private IdentifyUserInSmartLook(currentUser: AuthUser, config: any = undefined) {\n try {\n if (!config) {\n config = ConfigUtility.getSync()!;\n }\n\n if (config.SmartLook.Enabled) {\n console.log(\"smartlook: \", currentUser.email);\n SmartLookClient.identify(currentUser.id!, {\n name: currentUser.firstname!,\n email: currentUser.email!,\n // Add your own custom user variables here, ie:\n sessionId: currentUser.sessionId!,\n });\n }\n } catch { }\n }\n\n hasUserCookieChanged(): boolean {\n const config = ConfigUtility.getSync();\n return this.state.userCookie != Cookies.get(config?.KoppTokenCookieName ?? \"notthere\");\n }\n\n render() {\n return (\n \n {this.state.shouldRenderChildren && this.props.children}\n \n );\n }\n}\n\n\n\n\n\n\n","import * as React from 'react';\nimport bugsnag from '@bugsnag/js';\nimport bugsnagReact from '@bugsnag/plugin-react';\nimport ConfigUtility from 'Core/ConfigUtility';\n\nconst Config = ConfigUtility.getSync()!;\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {\n config: any;\n}\n\nexport default class ErrorMonitor extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {\n config: Config\n };\n }\n componentDidMount() {\n ConfigUtility.get().then(x=>\n {\n this.setState({ config: x});\n });\n }\n\n render() {\n let Wrapper = React.Fragment;\n if (Config?.EnableBugSnag) {\n const bugsnagClient = bugsnag(Config.BugSnagApiKey);\n bugsnagClient.use(bugsnagReact, React);\n const ErrorBoundary = bugsnagClient.getPlugin('react');\n Wrapper = ErrorBoundary;\n }\n\n return {this.props.children};\n }\n}\n","import * as React from 'react';\nimport ConfigUtility from 'Core/ConfigUtility';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {}\n\nexport default class Feedback extends React.Component {\n constructor(props: Props) {\n super(props);\n\n this.state = {};\n }\n\n componentDidMount() {\n ConfigUtility.get().then(Config => {\n const Userback = (window as any).Userback || {};\n Userback.access_token = Config.UserBackApiKey;\n const script = document.createElement('script');\n script.type = 'text/javascript';\n script.src = 'https://static.userback.io/widget/v1.js';\n script.async = true;\n (window as any).Userback = Userback;\n\n if (Config.EnableUserBack) {\n document.body.appendChild(script);\n }\n });\n }\n\n render() {\n return {this.props.children};\n }\n}\n","import * as React from 'react';\nimport CartContext from '../../../Context/CartContext';\nimport { Cart } from '../../../Core/Api/Kopp/Api';\nimport { CartHandler } from '../CartHandler';\nimport useInterval from '../../../Core/useInterval';\nimport AuthContext from 'Context/AuthContext';\nimport { AuthUser } from 'Core/models/AuthUser';\nimport { debounce} from 'lodash';\n\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {\n cart?: Cart;\n user?: AuthUser;\n}\n\nexport default class CartContextProvider extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n cartHandler: CartHandler | undefined;\n\n update: (newCart?: Cart) => void;\n\n constructor(props: Props) {\n super(props);\n this.state = { cart: undefined, user : this.context?.data };\n this.update = newCart => this.setState({ cart: newCart });\n this.cartHandler = new CartHandler(props);\n this.getCartForUser = debounce(this.getCartForUser.bind(this),100);\n }\n\n componentDidMount() {}\n\n componentDidUpdate(prevProps: Props, prevState: State) {\n if(this.context.data?.username !== prevState.user?.username && this.context.data)\n {\n this.setState({ user: this.context.data});\n this.getCartForUser();\n }\n }\n\n getCartForUser() {\n this.cartHandler?.GetCart().then(x=> {\n this.setState({cart: x?.cart});\n })\n }\n\n render() {\n return (\n \n {this.props.children}\n \n );\n }\n}\n","import * as React from \"react\";\nimport { RouteComponentProps, withRouter } from \"react-router-dom\";\nimport NotificationUtility from \"Core/NotificationUtility\";\nimport LoaderUtility from \"Core/LoaderUtility\";\n\nexport interface Props extends RouteComponentProps {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nclass NavigationEventMonitorWithRouter extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n componentWillReceiveProps(nextProps) {\n if (nextProps.location !== this.props.location) {\n NotificationUtility.CloseNonPersistentNotifications();\n LoaderUtility.reset()\n }\n }\n\n render() {\n return (\n
    {this.props.children}
    \n )\n }\n}\n\nconst NavigationEventMonitor = withRouter(NavigationEventMonitorWithRouter);\n\nexport default NavigationEventMonitor;\n\n\n","import React from 'react';\nimport { SecuredPaymentClient } from 'Core/Api/Payment/SecuredPaymentClient';\n\nexport class GeneralNotificationHandler {\n GetNotification() {\n let client = new SecuredPaymentClient();\n client.showLoading = false;\n return client.notifications();\n }\n}\n","import React from 'react';\nimport Cookies from 'js-cookie';\nimport moment from 'moment';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport { GeneralNotificationHandler } from './GeneralNotificationHandler';\nimport { Modal, Button, Col } from 'antd';\nimport { LeftAlignRow } from 'components/Styled/Layout.Styled';\nimport AuthContext from 'Context/AuthContext';\nimport { AuthUser } from 'Core/models/AuthUser';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State {\n notice?: string;\n showModal: boolean;\n currentUser?: AuthUser;\n}\n\nexport default class GeneralNotificationView extends React.Component {\n static contextType = AuthContext;\n context!: React.ContextType;\n handler: GeneralNotificationHandler;\n config = ConfigUtility.getSync();\n\n constructor(props: Props) {\n super(props);\n\n this.state = {\n showModal: false,\n notice: '',\n };\n this.handler = new GeneralNotificationHandler();\n }\n\n showNotification() {\n this.handler\n .GetNotification()\n .then(response => {\n const messageOfTheDayCookie = this.config!.ShowMessageOfTheDayCookieName + '_' + this.context.data?.id;\n if (response) {\n if (!Cookies.get(messageOfTheDayCookie) && this.context.data?.id) {\n this.setState({ notice: response, showModal: true });\n Cookies.set(messageOfTheDayCookie, moment.toString(), { secure: true });\n } else {\n if (moment(Cookies.get(messageOfTheDayCookie)).isBefore()) {\n this.setState({ notice: response, showModal: true });\n Cookies.set(messageOfTheDayCookie, moment.toString(), { secure: true });\n }\n }\n }\n })\n .catch(error => console.log('Error: ', error));\n }\n\n\n\n componentDidUpdate(prevProps: Props, prevState: State) {\n\n if (this.context.data?.id !== prevState.currentUser?.id) {\n if (this.context.data?.id) {\n\n this.setState({ currentUser: this.context.data });\n\n if (this.state.currentUser) {\n setTimeout(() => {\n this.showNotification();\n }, 1500);\n }\n\n } else {\n Cookies.remove(this.config!.ShowMessageOfTheDayCookieName + '_' + this.context.data?.id);\n }\n }\n }\n\n handleClose = () => {\n this.setState({ showModal: false });\n };\n\n render() {\n return (\n <>\n {this.props.children}\n Close}\n closable={true}\n title=\"Message of the Day\">\n \n
    \n

    {this.state.notice}

    \n \n \n \n \n );\n }\n}\n","import * as React from \"react\";\nimport ConfigUtility from '../../Core/ConfigUtility';\nimport SmartLookClient from 'smartlook-client'\n\nexport interface Props {\n children?: React.ReactNode\n}\n\nexport interface State {\n}\n\nexport default class SmartlookErrorMonitor extends React.Component {\n\n constructor(props: Props) {\n super(props)\n\n this.state = {\n }\n }\n\n componentDidMount() {\n ConfigUtility.get().then(x => {\n if (x.SmartLook.Enabled) {\n\n SmartLookClient.init(x.SmartLook.ProjectKey);\n }\n });\n }\n\n render() {\n return (\n <>{this.props.children}\n )\n }\n}\n","import { Button } from 'antd';\nimport React, { Component } from 'react';\nimport { AdminLayout, ClassicLayout } from '../Layout';\nimport logo from './../../assets/images/logo.svg';\nimport './app.css';\nimport '../../assets/styles/react-transitions.css';\nimport { BrowserRouter, Switch, Route, Router } from 'react-router-dom';\nimport MainContent, { RoutesRenderer } from '../Layout/MainContent';\nimport AuthContextProvider from '../UserManagement/AuthContextProvider';\nimport './ant-design-overrides.less';\nimport './style-override.less';\nimport * as H from 'history';\n\nimport ErrorMonitor from '../ErrorMonitor';\nimport Feedback from '../Feedback';\nimport CartContextProvider from 'components/CartManagement/CartContextProvider/CartContextProvider';\nimport LogRocketErrorMonitor from 'components/LogRocketErrorMonitor';\nimport NavigationEventMonitor from 'components/NavigationEventMonitor';\nimport GeneralNotificationView from 'components/Payment/GeneralNotificationView';\nimport { Helmet } from 'react-helmet';\nimport SmartlookErrorMonitor from 'components/SmartlookErrorMonitor';\n\nconst myHistory = H.createBrowserHistory();\nclass App extends Component {\n public render() {\n return (\n
    \n \n \n \n \n \n \n \n \n \n \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n }\n}\n\nexport default App;\n","import App from './app';\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read http://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(/^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)\n);\n\ninterface Config {\n onSuccess?: (registration: ServiceWorkerRegistration) => void;\n onUpdate?: (registration: ServiceWorkerRegistration) => void;\n}\n\nexport function register(config?: Config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(\n (process as { env: { [key: string]: string } }).env.PUBLIC_URL,\n window.location.href\n );\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n // tslint:disable-next-line:no-console\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit http://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl: string, config?: Config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n // tslint:disable-next-line:no-console\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See http://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n // tslint:disable-next-line:no-console\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n // tslint:disable-next-line: no-console\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl: string, config?: Config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n // tslint:disable-next-line:no-console\n console.log('No internet connection found. App is running in offline mode.');\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister();\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './components/App';\nimport * as serviceWorker from './serviceWorker';\nimport ConfigUtility from 'Core/ConfigUtility';\nimport LogRocket from 'logrocket';\n\nConfigUtility.get().then(x => {\n // if (x.LogRocket?.Enabled && x.LogRocket?.ReplaceConsole) {\n // (window.console as any) = LogRocket;\n // }\n\n ReactDOM.render(, document.getElementById('root'));\n});\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: http://bit.ly/CRA-PWA\nserviceWorker.unregister();\n","import * as React from 'react';\nimport { Helmet } from 'react-helmet';\nimport ReactInputMask from 'react-input-mask';\nimport fac from 'assets/images/Powered-by-FAC_web.jpg';\nimport master from 'assets/images/vbv_mcsc_logo.gif';\n\nexport interface Props {\n children?: React.ReactNode;\n}\n\nexport interface State { }\n\nconst SslSealBadge: React.FunctionComponent = () => {\n return (\n <>\n \n \n \n \n \n eval('verifySeal()')}\n alt=\"SSL site seal - click to verify\"\n />\n \n );\n};\n\nexport default React.memo(SslSealBadge, () => true);\n","export default __webpack_public_path__ + \"static/media/Powered-by-FAC_web.797b6aff.jpg\";","export default \"data:image/gif;base64,R0lGODdhqAAtAPcAAAAAAIAAAACAAICAAAAAgIAAgACAgMDAwMDcwKbK8EAgAGAgAIAgAKAgAMAgAOAgAABAACBAAEBAAGBAAIBAAKBAAMBAAOBAAABgACBgAEBgAGBgAIBgAKBgAMBgAOBgAACAACCAAECAAGCAAICAAKCAAMCAAOCAAACgACCgAECgAGCgAICgAKCgAMCgAOCgAADAACDAAEDAAGDAAIDAAKDAAMDAAODAAADgACDgAEDgAGDgAIDgAKDgAMDgAODgAAAAQCAAQEAAQGAAQIAAQKAAQMAAQOAAQAAgQCAgQEAgQGAgQIAgQKAgQMAgQOAgQABAQCBAQEBAQGBAQIBAQKBAQMBAQOBAQABgQCBgQEBgQGBgQIBgQKBgQMBgQOBgQACAQCCAQECAQGCAQICAQKCAQMCAQOCAQACgQCCgQECgQGCgQICgQKCgQMCgQOCgQADAQCDAQEDAQGDAQIDAQKDAQMDAQODAQADgQCDgQEDgQGDgQIDgQKDgQMDgQODgQAAAgCAAgEAAgGAAgIAAgKAAgMAAgOAAgAAggCAggEAggGAggIAggKAggMAggOAggABAgCBAgEBAgGBAgIBAgKBAgMBAgOBAgABggCBggEBggGBggIBggKBggMBggOBggACAgCCAgECAgGCAgICAgKCAgMCAgOCAgACggCCggECggGCggICggKCggMCggOCggADAgCDAgEDAgGDAgIDAgKDAgMDAgODAgADggCDggEDggGDggIDggKDggMDggODggAAAwCAAwEAAwGAAwIAAwKAAwMAAwOAAwAAgwCAgwEAgwGAgwIAgwKAgwMAgwOAgwABAwCBAwEBAwGBAwIBAwKBAwMBAwOBAwABgwCBgwEBgwGBgwIBgwKBgwMBgwOBgwACAwCCAwECAwGCAwICAwKCAwMCAwOCAwACgwCCgwECgwGCgwICgwKCgwMCgwOCgwADAwCDAwEDAwGDAwIDAwKDAwP/78KCgpICAgP8AAAD/AP//AAAA//8A/wD//////yH5BAAAAAAALAAAAACoAC0AAAj/AP8JHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8JxkRB4HEmypEmCCBBpOsmypcuJmhAdeEmzpk2B7VTe3Mmz4q+fQIP+sxcpkr2eSJMy/HWnqdOmt/6N06m0qlWC9n7denrHXk5EIq+Kvcq06dFIiMaNjfju06tXQ199+vSuob27D9tecXs0L12LZbvmNLoW4qsre/+9Q3ylLsO2jh8zRtzX7qcrcB8eaMe53QF7ZolSLezwcuLDlO29e/vuqGrW9i5/cg176LvWrRnPnb36revbquO2vhzZ7lREKkFHjRnyrnPXzysPxTv9uUDn16Nnx24xNuLZpq94/2cMN7x407l1KyaPu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