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;;;;;ACjCU;AACM;AACL;AAES;AACK;AACZ;AACJ;AACQ;AACF;AACM;AACR;AACE;AACK;AACF;AACT;AACE;AACF;AACU;AACK;AACQ;AACrB;AACE;AACE;AACS;AACN;AACT;AACM;AACJ;AACF;AACM;AACd;AACK;AACL;AACH;AAC0B;AACZ;AACb;AACA;AACI;AACkH;AACtC;AACX;AACuB;AACN;AAC+C;AACpD;AACkC;AACpB;AAC1B;AACf;AACA;AACS;AAC8B;AACnB;AACQ;AACY;AACd;AACkC;AACxC;AACd;AACpB;AACC;AACE;AACqB;AACiB;AACzC;AAC6B;AACgD;AACN;AAC9B;AACtC;AACM;AACW;AACA;AACpB;AACqC;AACrC;AACwC;AACJ;AACH;AACf;AACK;AAC+B;;;AAoHrI,MAAO92D,YAAY;;;uBAAZA,YAAY;IAAA;EAAA;;;YAAZA;IAAY;EAAA;;;iBATZ,CACT;QACEprC,OAAO,EAAEijG,yEAAsB;QAC/BhjG,QAAQ,EAAE;UAAEujG,2BAA2B,EAAE;QAAK;OAE/C,EACDjqD,sDAAQ,CACT;MAAAhpD,OAAA,GA7GCZ,0DAAY,EACZ81C,wDAAe,EACfqF,2EAAiB,EACjBK,oEAAc,EACdH,4EAAkB,EAClBL,kEAAa,EACb/kC,wDAAW,EACXY,gEAAmB,EACnB2+B,oEAAc,EACdH,0EAAiB,EACjBD,sEAAe,EACfF,sEAAe,EACfK,kEAAa,EACb2F,8EAAmB,EACnBD,wEAAmB,EACnBH,mEAAc,EACdS,wEAAgB,EAChB1F,wEAAgB,EAChBJ,yFAAwB,EACxBH,sEAAe,EACfH,kFAAqB,EACrBO,oEAAc,EACdE,kEAAa,EACb69D,+DAAkB,EAClB99D,2EAAiB,EACjB2F,kEAAa,EACbl7C,0DAAY,EACZszG,0DAAY,EACZt4D,kEAAa,EACbm4D,wEAAgB,EAChBv+D,6EAAkB,EAClB2+D,uDAAc,EACd1+D,iFAAoB;MACpB;MACAc,wDAAe,CAACxlC,OAAO,CAAC,4CAA4C,C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,GAAG,CAChB;EAAEv1B,OAAO,EAAE,UAAU;EAAEmkG,UAAU,EAAEF,UAAU;EAAE3C,IAAI,EAAE;AAAE,CAAE,CAC1D;AAED,IAAImC,kEAAW,CAACC,UAAU,EAAE;EAC1BM,6DAAc,EAAE;;AAGlBI,sEAAA,CAAuB7uE,SAAS,CAAC,CAAC+uE,eAAe,CAACp+F,sDAAS,CAAC,CACzDq+F,KAAK,CAAChiE,GAAG,IAAI/sC,OAAO,CAACC,GAAG,CAAC8sC,GAAG,CAAC,CAAC;;;;;;;;;;ACnBjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sources":["./src/api-authorization/api-authorization.constants.ts","./src/api-authorization/api-authorization.module.ts","./src/api-authorization/authorize.guard.ts","./src/api-authorization/authorize.interceptor.ts","./src/api-authorization/authorize.service.ts","./src/api-authorization/login-menu/login-menu.component.ts","./src/api-authorization/login-menu/login-menu.component.html","./src/api-authorization/login/login.component.ts","./src/api-authorization/login/login.component.html","./src/api-authorization/logout/logout.component.ts","./src/api-authorization/logout/logout.component.html","./src/app/app-routing.module.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/layout/layout.module.ts","./src/app/layout/management/management-header/management-header.component.ts","./src/app/layout/management/management-header/management-header.component.html","./src/app/layout/management/management-layout/management-layout.component.ts","./src/app/layout/management/management-layout/management-layout.component.html","./src/app/layout/presentation/presentation-footer/presentation-footer.component.ts","./src/app/layout/presentation/presentation-footer/presentation-footer.component.html","./src/app/layout/presentation/presentation-header/presentation-header.component.ts","./src/app/layout/presentation/presentation-header/presentation-header.component.html","./src/app/layout/presentation/presentation-layout/presentation-layout.component.ts","./src/app/layout/presentation/presentation-layout/presentation-layout.component.html","./src/app/management/core/constants/agent-type.ts","./src/app/management/core/constants/asterisk-call-direct.ts","./src/app/management/core/constants/billing.constants.ts","./src/app/management/core/constants/bot-training-status-name.ts","./src/app/management/core/constants/call-type.ts","./src/app/management/core/constants/callback-status-constants.ts","./src/app/management/core/constants/channel-behavior-action-type.ts","./src/app/management/core/constants/common.constants.ts","./src/app/management/core/constants/extra-service.constants.ts","./src/app/management/core/constants/filter-operator-type.ts","./src/app/management/core/constants/inbound-billing-type.ts","./src/app/management/core/constants/live-agent-actvity-log-types.ts","./src/app/management/core/constants/live-agent-interaction-types.ts","./src/app/management/core/constants/microservice-instance.constants.ts","./src/app/management/core/constants/payment.constants.ts","./src/app/management/core/constants/screen-size.constants.ts","./src/app/management/core/datasource/inbound-voice-call-data-source.ts","./src/app/management/core/datasource/inbound-voice-pricelist-data-source.ts","./src/app/management/core/datasource/request-status-callback-log.datasource.ts","./src/app/management/core/datasource/sms/inbound-api-request-data-source.ts","./src/app/management/core/datasource/whatsapp/whatsapp-activity-datasource.ts","./src/app/management/core/functions/string-extention.ts","./src/app/management/core/interfaces/whatsapp/whatsapp-message-interactive-content.ts","./src/app/management/core/interfaces/whatsapp/whatsapp-template.interface.ts","./src/app/management/core/services/ai/ai-management.service.ts","./src/app/management/core/services/autopilot/autopilot.service.ts","./src/app/management/core/services/common/action-queue.service.ts","./src/app/management/core/services/common/local-storage.service.ts","./src/app/management/core/services/common/manage-account.service.ts","./src/app/management/core/services/common/payments.service.ts","./src/app/management/core/services/common/recharge-discount.service.ts","./src/app/management/core/services/customers/billing-info.service.ts","./src/app/management/core/services/customers/customer.service.ts","./src/app/management/core/services/customers/customercredit.service.ts","./src/app/management/core/services/inbound/inbound-voice-pricelist.service.ts","./src/app/management/core/services/live-agent/live-agent-statistics.service.ts","./src/app/management/core/services/live-agent/live-agent.service.ts","./src/app/management/core/services/logging/request-trace.service.ts","./src/app/management/core/services/monitoring/monitoring.service.ts","./src/app/management/core/services/survey/survey.service.ts","./src/app/management/core/services/voice/application-phone.service.ts","./src/app/management/core/services/voice/extra-services-pricelist.service.ts","./src/app/management/core/services/whatsapp/whatsapp-statistics.service.ts","./src/app/management/core/services/whatsapp/whatsapp.service.ts","./src/app/management/pipe/pipe.module.ts","./src/app/management/pipe/safe-html.pipe.ts","./src/app/management/shared-payment/make-payment-form.service.ts","./src/app/management/shared-payment/make-payment/make-payment.component.ts","./src/app/management/shared-payment/make-payment/make-payment.component.html","./src/app/management/shared-payment/shared-payment.module.ts","./src/app/management/shared-surveys/checklist/checklist.component.ts","./src/app/management/shared-surveys/checklist/checklist.component.html","./src/app/management/shared-surveys/pending-surveys/pending-survey.component.ts","./src/app/management/shared-surveys/pending-surveys/pending-survey.component.html","./src/app/management/shared-surveys/shared-surveys.module.ts","./src/app/management/shared-surveys/survey/survey.component.ts","./src/app/management/shared-surveys/survey/survey.component.html","./src/app/management/shared/components/activity-history/multi-channel-request-id/multi-channel-request-id.component.ts","./src/app/management/shared/components/activity-history/multi-channel-request-id/multi-channel-request-id.component.html","./src/app/management/shared/components/activity-history/request-status-callback-requests/request-status-callback-requests.component.ts","./src/app/management/shared/components/activity-history/request-status-callback-requests/request-status-callback-requests.component.html","./src/app/management/shared/components/activity-history/send-action-message/send-action-message.component.ts","./src/app/management/shared/components/activity-history/send-action-message/send-action-message.component.html","./src/app/management/shared/components/activity-history/storage-details/storage-details.component.ts","./src/app/management/shared/components/activity-history/storage-details/storage-details.component.html","./src/app/management/shared/components/activity-history/voice-activity/call-price-details/call-price-details.component.ts","./src/app/management/shared/components/activity-history/voice-activity/call-price-details/call-price-details.component.html","./src/app/management/shared/components/activity-history/voice-activity/dial-action-info/dial-action-info.component.ts","./src/app/management/shared/components/activity-history/voice-activity/dial-action-info/dial-action-info.component.html","./src/app/management/shared/components/activity-history/voice-activity/preview-inbound-channel-behavior/preview-inbound-channel-behavior.component.ts","./src/app/management/shared/components/activity-history/voice-activity/preview-inbound-channel-behavior/preview-inbound-channel-behavior.component.html","./src/app/management/shared/components/activity-history/voice-activity/recording-list/recording-list.component.ts","./src/app/management/shared/components/activity-history/voice-activity/recording-list/recording-list.component.html","./src/app/management/shared/components/activity-history/voice-activity/view-menu-detected-intents/view-menu-detected-intents.component.ts","./src/app/management/shared/components/activity-history/voice-activity/view-menu-detected-intents/view-menu-detected-intents.component.html","./src/app/management/shared/components/activity-history/voice-activity/voice-activity-logs/voice-activity-logs.component.ts","./src/app/management/shared/components/activity-history/voice-activity/voice-activity-logs/voice-activity-logs.component.html","./src/app/management/shared/components/agent/request-agent-offer/request-agent-offer.component.ts","./src/app/management/shared/components/agent/request-agent-offer/request-agent-offer.component.html","./src/app/management/shared/components/agent/request-agent-offer/request-offer-form.service.ts","./src/app/management/shared/components/ai/bot-intent-list/bot-intent-list.component.ts","./src/app/management/shared/components/ai/bot-intent-list/bot-intent-list.component.html","./src/app/management/shared/components/ai/common-bot-card/common-bot-card.component.ts","./src/app/management/shared/components/ai/common-bot-card/common-bot-card.component.html","./src/app/management/shared/components/ai/publish-bot-dialog/publish-bot-dialog.component.ts","./src/app/management/shared/components/ai/publish-bot-dialog/publish-bot-dialog.component.html","./src/app/management/shared/components/ai/translate-all-info/translate-all-info.component.ts","./src/app/management/shared/components/ai/translate-all-info/translate-all-info.component.html","./src/app/management/shared/components/ai/translation-billing-overview/translation-billing-overview.component.ts","./src/app/management/shared/components/ai/translation-billing-overview/translation-billing-overview.component.html","./src/app/management/shared/components/billing/credit-limit-reached/credit-limit-reached.component.ts","./src/app/management/shared/components/billing/credit-limit-reached/credit-limit-reached.component.html","./src/app/management/shared/components/billing/edit-auto-recharge-info/edit-auto-recharge-info.component.ts","./src/app/management/shared/components/billing/edit-auto-recharge-info/edit-auto-recharge-info.component.html","./src/app/management/shared/components/billing/edit-payment-method-form.service.ts","./src/app/management/shared/components/billing/edit-payment-method-loader.service.ts","./src/app/management/shared/components/billing/manage-payment-methods/edit-payment-method/edit-payment-method.component.ts","./src/app/management/shared/components/billing/manage-payment-methods/edit-payment-method/edit-payment-method.component.html","./src/app/management/shared/components/billing/manage-payment-methods/manage-payment-methods.component.ts","./src/app/management/shared/components/billing/manage-payment-methods/manage-payment-methods.component.html","./src/app/management/shared/components/billing/manage-payment-methods/set-default-payment-method/set-default-payment-method.component.ts","./src/app/management/shared/components/billing/manage-payment-methods/set-default-payment-method/set-default-payment-method.component.html","./src/app/management/shared/components/billing/no-credits-available/no-credits-available.component.ts","./src/app/management/shared/components/billing/no-credits-available/no-credits-available.component.html","./src/app/management/shared/components/billing/payment-history/payment-history.component.ts","./src/app/management/shared/components/billing/payment-history/payment-history.component.html","./src/app/management/shared/components/billing/recharge-edit-form.service.ts","./src/app/management/shared/components/billing/recharge-edit-loader.service.ts","./src/app/management/shared/components/billing/recharge/recharge.component.ts","./src/app/management/shared/components/billing/recharge/recharge.component.html","./src/app/management/shared/components/charts/bar-chart/bar-chart.component.ts","./src/app/management/shared/components/charts/bar-chart/bar-chart.component.html","./src/app/management/shared/components/code-samples/code-samples.component.ts","./src/app/management/shared/components/code-samples/code-samples.component.html","./src/app/management/shared/components/common-confirmation/common-confirmation.component.ts","./src/app/management/shared/components/common-confirmation/common-confirmation.component.html","./src/app/management/shared/components/delete-items-confirmation/delete-items-confirmation.component.ts","./src/app/management/shared/components/delete-items-confirmation/delete-items-confirmation.component.html","./src/app/management/shared/components/filter-grid/filter-grid-form.service.ts","./src/app/management/shared/components/filter-grid/filter-grid.component.ts","./src/app/management/shared/components/filter-grid/filter-grid.component.html","./src/app/management/shared/components/inbound-price-details/inbound-price-details.component.ts","./src/app/management/shared/components/inbound-price-details/inbound-price-details.component.html","./src/app/management/shared/components/inbound/view-inbound-active-number-settings/view-inbound-active-number-settings-form.service.ts","./src/app/management/shared/components/inbound/view-inbound-active-number-settings/view-inbound-active-number-settings-loader.service.ts","./src/app/management/shared/components/inbound/view-inbound-active-number-settings/view-inbound-active-number-settings.component.ts","./src/app/management/shared/components/inbound/view-inbound-active-number-settings/view-inbound-active-number-settings.component.html","./src/app/management/shared/components/inbound/view-inbound-base-pricelist-items/view-inbound-base-pricelist-items.component.ts","./src/app/management/shared/components/inbound/view-inbound-base-pricelist-items/view-inbound-base-pricelist-items.component.html","./src/app/management/shared/components/monitoring/microservice-instaces/microservice-instaces.component.ts","./src/app/management/shared/components/monitoring/microservice-instaces/microservice-instaces.component.html","./src/app/management/shared/components/phone-viewer/phone-viewer.component.ts","./src/app/management/shared/components/phone-viewer/phone-viewer.component.html","./src/app/management/shared/components/random-message/random-message.component.ts","./src/app/management/shared/components/random-message/random-message.component.html","./src/app/management/shared/components/request-trace-list/request-trace-list.component.ts","./src/app/management/shared/components/request-trace-list/request-trace-list.component.html","./src/app/management/shared/components/set-default-sender/set-default-sender.component.ts","./src/app/management/shared/components/set-default-sender/set-default-sender.component.html","./src/app/management/shared/components/slide-panel/slide-panel.component.ts","./src/app/management/shared/components/slide-panel/slide-panel.component.html","./src/app/management/shared/components/sms-voice-setting-dialog/sms-voice-setting-dialog.component.ts","./src/app/management/shared/components/sms-voice-setting-dialog/sms-voice-setting-dialog.component.html","./src/app/management/shared/components/time-picker/time-picker.component.ts","./src/app/management/shared/components/time-picker/time-picker.component.html","./src/app/management/shared/components/view-inbound-api-requests/view-inbound-api-requests.component.ts","./src/app/management/shared/components/view-inbound-api-requests/view-inbound-api-requests.component.html","./src/app/management/shared/components/whatsapp-activity/detailed-activity/detailed-activity-form.service.ts","./src/app/management/shared/components/whatsapp-activity/detailed-activity/detailed-activity.component.ts","./src/app/management/shared/components/whatsapp-activity/detailed-activity/detailed-activity.component.html","./src/app/management/shared/components/whatsapp-activity/general-activity/general-activity-form.service.ts","./src/app/management/shared/components/whatsapp-activity/general-activity/general-activity.component.ts","./src/app/management/shared/components/whatsapp-activity/general-activity/general-activity.component.html","./src/app/management/shared/components/whatsapp-activity/whatsapp-activity.component.ts","./src/app/management/shared/components/whatsapp-activity/whatsapp-activity.component.html","./src/app/management/shared/shared.module.ts","./src/environments/environment.ts","./src/extensions.ts","./src/main.ts","./node_modules/moment/locale/ sync ^\\.\\/.*$"],"sourcesContent":["export const ApplicationName = 'Ndoct.Website';\r\nexport const ApplicationRoot: string = ''; //COMMENT ON PUBLISH\r\n//export const ApplicationRoot: string = 'ndoctwebsite'; //UNCOMMENT ON PUBLISH\r\n\r\nexport const ReturnUrlType = 'returnUrl';\r\n\r\nexport const QueryParameterNames = {\r\n ReturnUrl: ReturnUrlType,\r\n Message: 'message'\r\n};\r\n\r\nexport const LogoutActions = {\r\n LogoutCallback: 'logout-callback',\r\n Logout: 'logout',\r\n LoggedOut: 'logged-out'\r\n};\r\n\r\nexport const LoginActions = {\r\n Login: 'login',\r\n LoginCallback: 'login-callback',\r\n LoginFailed: 'login-failed',\r\n Profile: 'profile',\r\n Register: 'register'\r\n};\r\n\r\nlet applicationPaths: ApplicationPathsType = {\r\n DefaultLoginRedirectPath: '/',\r\n //ApiAuthorizationClientConfigurationUrl: `/${ApplicationRoot}/_configuration/${ApplicationName}`, // UNCOMMENT ON PUBLISH\r\n ApiAuthorizationClientConfigurationUrl: `/_configuration/${ApplicationName}`, //COMMENT ON PUBLISH\r\n Login: `authentication/${LoginActions.Login}`,\r\n LoginFailed: `authentication/${LoginActions.LoginFailed}`,\r\n LoginCallback: `authentication/${LoginActions.LoginCallback}`,\r\n Register: `authentication/${LoginActions.Register}`,\r\n Profile: `authentication/${LoginActions.Profile}`,\r\n LogOut: `authentication/${LogoutActions.Logout}`,\r\n LoggedOut: `authentication/${LogoutActions.LoggedOut}`,\r\n LogOutCallback: `authentication/${LogoutActions.LogoutCallback}`,\r\n LoginPathComponents: [],\r\n LoginFailedPathComponents: [],\r\n LoginCallbackPathComponents: [],\r\n RegisterPathComponents: [],\r\n ProfilePathComponents: [],\r\n LogOutPathComponents: [],\r\n LoggedOutPathComponents: [],\r\n LogOutCallbackPathComponents: [],\r\n IdentityRegisterPath: `/${ApplicationRoot}/Identity/Account/Register`,\r\n IdentityManagePath: `/${ApplicationRoot}/Identity/Account/Manage`\r\n};\r\n\r\napplicationPaths = {\r\n ...applicationPaths,\r\n LoginPathComponents: applicationPaths.Login.split('/'),\r\n LoginFailedPathComponents: applicationPaths.LoginFailed.split('/'),\r\n RegisterPathComponents: applicationPaths.Register.split('/'),\r\n ProfilePathComponents: applicationPaths.Profile.split('/'),\r\n LogOutPathComponents: applicationPaths.LogOut.split('/'),\r\n LoggedOutPathComponents: applicationPaths.LoggedOut.split('/'),\r\n LogOutCallbackPathComponents: applicationPaths.LogOutCallback.split('/')\r\n};\r\n\r\ninterface ApplicationPathsType {\r\n readonly DefaultLoginRedirectPath: string;\r\n readonly ApiAuthorizationClientConfigurationUrl: string;\r\n readonly Login: string;\r\n readonly LoginFailed: string;\r\n readonly LoginCallback: string;\r\n readonly Register: string;\r\n readonly Profile: string;\r\n readonly LogOut: string;\r\n readonly LoggedOut: string;\r\n readonly LogOutCallback: string;\r\n readonly LoginPathComponents: string [];\r\n readonly LoginFailedPathComponents: string [];\r\n readonly LoginCallbackPathComponents: string [];\r\n readonly RegisterPathComponents: string [];\r\n readonly ProfilePathComponents: string [];\r\n readonly LogOutPathComponents: string [];\r\n readonly LoggedOutPathComponents: string [];\r\n readonly LogOutCallbackPathComponents: string [];\r\n readonly IdentityRegisterPath: string;\r\n readonly IdentityManagePath: string;\r\n}\r\n\r\nexport const ApplicationPaths: ApplicationPathsType = applicationPaths;\r\n\r\nexport const UserRoles = {\r\n SuperAdmin: \"SuperAdmin\",\r\n Admin: \"Admin\",\r\n Reseller: \"Reseller\",\r\n Customer: \"Customer\",\r\n LiveAgent:\"LiveAgent\"\r\n};\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { LoginMenuComponent } from './login-menu/login-menu.component';\r\nimport { LoginComponent } from './login/login.component';\r\nimport { LogoutComponent } from './logout/logout.component';\r\nimport { RouterModule } from '@angular/router';\r\nimport { ApplicationPaths } from './api-authorization.constants';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { MatMenuModule as MatMenuModule } from '@angular/material/menu'\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n HttpClientModule,\r\n MatMenuModule,\r\n RouterModule.forChild(\r\n [\r\n { path: ApplicationPaths.Register, component: LoginComponent },\r\n { path: ApplicationPaths.Profile, component: LoginComponent },\r\n { path: ApplicationPaths.Login, component: LoginComponent },\r\n { path: ApplicationPaths.LoginFailed, component: LoginComponent },\r\n { path: ApplicationPaths.LoginCallback, component: LoginComponent },\r\n { path: ApplicationPaths.LogOut, component: LogoutComponent },\r\n { path: ApplicationPaths.LoggedOut, component: LogoutComponent },\r\n { path: ApplicationPaths.LogOutCallback, component: LogoutComponent }\r\n ]\r\n )\r\n ],\r\n declarations: [LoginMenuComponent, LoginComponent, LogoutComponent],\r\n exports: [LoginMenuComponent, LoginComponent, LogoutComponent]\r\n})\r\nexport class ApiAuthorizationModule { }\r\n","import { Injectable } from '@angular/core';\r\nimport { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\nimport { AuthorizeService } from './authorize.service';\r\nimport { tap, switchMap } from 'rxjs/operators';\r\nimport { ApplicationPaths, QueryParameterNames } from './api-authorization.constants';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AuthorizeGuard implements CanActivate {\r\n constructor(private authorize: AuthorizeService, private router: Router) {\r\n }\r\n canActivate(\r\n _next: ActivatedRouteSnapshot,\r\n state: RouterStateSnapshot): Observable | Promise | boolean {\r\n return this.authorize.isAuthenticated()\r\n .pipe(tap(isAuthenticated => this.handleAuthorization(isAuthenticated, state)));\r\n }\r\n\r\n private handleAuthorization(isAuthenticated: boolean, state: RouterStateSnapshot) {\r\n if (!isAuthenticated) {\r\n this.router.navigate(ApplicationPaths.LoginPathComponents, {\r\n queryParams: {\r\n [QueryParameterNames.ReturnUrl]: state.url\r\n }\r\n });\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';\r\nimport { Observable, combineLatest, forkJoin } from 'rxjs';\r\nimport { AuthorizeService } from './authorize.service';\r\nimport { mergeMap, merge, switchMap, map, take } from 'rxjs/operators';\r\nimport { ApiBaseUrl, DocsUrl } from '../app/management/core/constants/common.constants';\r\nimport { UserRoles } from './api-authorization.constants';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AuthorizeInterceptor implements HttpInterceptor {\r\n constructor(private authorize: AuthorizeService) { }\r\n\r\n intercept(req: HttpRequest, next: HttpHandler): Observable> {\r\n return forkJoin(this.authorize.getAccessToken(), this.authorize.getUserRole())\r\n .pipe(\r\n switchMap(([token, userRole]) => this.processRequestWithToken(token, userRole, req, next))\r\n );\r\n }\r\n\r\n\r\n // Checks if there is an access_token available in the authorize service\r\n // and adds it to the request in case it's targeted at the same origin as the\r\n // single page application.\r\n private processRequestWithToken(token: string, userRole: string, req: HttpRequest, next: HttpHandler) {\r\n if (userRole !== UserRoles.LiveAgent && this.authorize.isTokenExpired(token) === true) {\r\n return this.authorize.refreshAccessToken().pipe(switchMap(user => {\r\n if (!!token && (this.isSameOriginUrl(req) || this.isApiUrl(req) || this.isDocsUrl(req))) {\r\n req = req.clone({\r\n setHeaders: {\r\n Authorization: `Bearer ${token}`\r\n }\r\n });\r\n }\r\n\r\n return next.handle(req);\r\n }));\r\n }\r\n else {\r\n if (!!token && (this.isSameOriginUrl(req) || this.isApiUrl(req) || this.isDocsUrl(req))) {\r\n req = req.clone({\r\n setHeaders: {\r\n Authorization: `Bearer ${token}`\r\n }\r\n });\r\n }\r\n\r\n return next.handle(req);\r\n }\r\n }\r\n\r\n private isApiUrl(req: any) {\r\n if (req.url.startsWith(ApiBaseUrl)) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n private isDocsUrl(req: any) {\r\n if (req.url.startsWith(DocsUrl)) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n private isSameOriginUrl(req: any) {\r\n // It's an absolute url with the same origin.\r\n if (req.url.startsWith(`${window.location.origin}/`)) {\r\n return true;\r\n }\r\n\r\n // It's a protocol relative url with the same origin.\r\n // For example: //www.example.com/api/Products\r\n if (req.url.startsWith(`//${window.location.host}/`)) {\r\n return true;\r\n }\r\n\r\n // It's a relative url like /api/Products\r\n if (/^\\/[^\\/].*/.test(req.url)) {\r\n return true;\r\n }\r\n\r\n // It's an absolute or protocol relative url that\r\n // doesn't have the same origin.\r\n return false;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { User, UserManager, WebStorageStateStore, UserManagerSettings } from 'oidc-client';\r\nimport { BehaviorSubject, concat, from, Observable } from 'rxjs';\r\nimport { filter, map, mergeMap, take, tap, merge, switchMap } from 'rxjs/operators';\r\nimport { ApplicationPaths, ApplicationName } from './api-authorization.constants';\r\n\r\nexport type IAuthenticationResult =\r\n SuccessAuthenticationResult |\r\n FailureAuthenticationResult |\r\n RedirectAuthenticationResult;\r\n\r\nexport interface SuccessAuthenticationResult {\r\n status: AuthenticationResultStatus.Success;\r\n state: any;\r\n}\r\n\r\nexport interface FailureAuthenticationResult {\r\n status: AuthenticationResultStatus.Fail;\r\n message: string;\r\n}\r\n\r\nexport interface RedirectAuthenticationResult {\r\n status: AuthenticationResultStatus.Redirect;\r\n}\r\n\r\nexport enum AuthenticationResultStatus {\r\n Success,\r\n Redirect,\r\n Fail\r\n}\r\n\r\nexport interface IUser {\r\n name?: string;\r\n UserRole?: string;\r\n CustomerCode?: string;\r\n ParentCustomerCode?: string;\r\n TimeZoneId?: string;\r\n EnableVoiceCampaign?: string;\r\n EnableSmsCampaign?: string;\r\n EnableWhatsappCampaign?: string;\r\n TrialAccount?: string;\r\n EnableAI?: string;\r\n AgentId?: string;\r\n ProfileImage?: string,\r\n Nickname?: string,\r\n AgentName?: string\r\n}\r\n\r\n// Private interfaces\r\nenum LoginMode {\r\n Silent,\r\n PopUp,\r\n Redirect\r\n}\r\n\r\ninterface IAuthenticationState {\r\n mode: LoginMode;\r\n userState?: any;\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AuthorizeService {\r\n // By default pop ups are disabled because they don't work properly on Edge.\r\n // If you want to enable pop up authentication simply set this flag to false.\r\n\r\n private popUpDisabled = true;\r\n private userManager: UserManager;\r\n private userSubject: BehaviorSubject = new BehaviorSubject(null);\r\n\r\n public isAuthenticated(): Observable {\r\n return this.getUser().pipe(map(u => !!u));\r\n }\r\n\r\n public getUser(): Observable {\r\n return concat(\r\n this.userSubject.pipe(take(1), filter(u => !!u)),\r\n this.getUserFromStorage().pipe(filter(u => !!u), tap(u => this.userSubject.next(u))),\r\n this.userSubject.asObservable());\r\n }\r\n\r\n public getUserWithAccessToken(): Observable {\r\n return from(this.ensureUserManagerInitialized())\r\n .pipe(mergeMap(() => from(this.userManager.getUser())),\r\n map(user => user));\r\n }\r\n\r\n public getAccessToken(): Observable {\r\n return from(this.ensureUserManagerInitialized())\r\n .pipe(mergeMap(() => from(this.userManager.getUser())),\r\n map(user => user && user.access_token));\r\n }\r\n\r\n public isAccessTokenExpired(): Observable {\r\n return from(this.ensureUserManagerInitialized())\r\n .pipe(mergeMap(() => from(this.userManager.getUser())),\r\n map(user => {\r\n if (user == null) return false;\r\n\r\n if (!!user.access_token) {\r\n return this.isTokenExpired(user.access_token);\r\n }\r\n\r\n return false;\r\n }));\r\n }\r\n\r\n public isTokenExpired(token: string): boolean {\r\n if (token === null) return false;\r\n const expiry = (JSON.parse(atob(token.split('.')[1]))).exp;\r\n console.log('token expiry', expiry);\r\n return expiry * 1000 < Date.now();\r\n }\r\n\r\n public refreshAccessToken(): Observable {\r\n return from(this.ensureUserManagerInitialized())\r\n .pipe(mergeMap(() => from(this.userManager.signinSilent(this.createArguments()))));\r\n }\r\n\r\n // We try to authenticate the user in three different ways:\r\n // 1) We try to see if we can authenticate the user silently. This happens\r\n // when the user is already logged in on the IdP and is done using a hidden iframe\r\n // on the client.\r\n // 2) We try to authenticate the user using a PopUp Window. This might fail if there is a\r\n // Pop-Up blocker or the user has disabled PopUps.\r\n // 3) If the two methods above fail, we redirect the browser to the IdP to perform a traditional\r\n // redirect flow.\r\n public async signIn(state: any): Promise {\r\n await this.ensureUserManagerInitialized();\r\n let user: User = null;\r\n try {\r\n user = await this.userManager.signinSilent(this.createArguments());\r\n this.userSubject.next(user.profile);\r\n return this.success(state);\r\n } catch (silentError) {\r\n // User might not be authenticated, fallback to popup authentication\r\n console.log('Silent authentication error: ', silentError);\r\n\r\n try {\r\n if (this.popUpDisabled) {\r\n throw new Error('Popup disabled. Change \\'authorize.service.ts:AuthorizeService.popupDisabled\\' to false to enable it.');\r\n }\r\n user = await this.userManager.signinPopup(this.createArguments());\r\n this.userSubject.next(user.profile);\r\n return this.success(state);\r\n } catch (popupError) {\r\n if (popupError.message === 'Popup window closed') {\r\n // The user explicitly cancelled the login action by closing an opened popup.\r\n return this.error('The user closed the window.');\r\n } else if (!this.popUpDisabled) {\r\n console.log('Popup authentication error: ', popupError);\r\n }\r\n\r\n // PopUps might be blocked by the user, fallback to redirect\r\n try {\r\n await this.userManager.signinRedirect(this.createArguments(state));\r\n return this.redirect();\r\n } catch (redirectError) {\r\n console.log('Redirect authentication error: ', redirectError);\r\n return this.error(redirectError);\r\n }\r\n }\r\n }\r\n }\r\n\r\n public async completeSignIn(url: string): Promise {\r\n try {\r\n await this.ensureUserManagerInitialized();\r\n const user = await this.userManager.signinCallback(url);\r\n this.userSubject.next(user && user.profile);\r\n return this.success(user && user.state);\r\n } catch (error) {\r\n console.log('There was an error signing in: ', error);\r\n return this.error('There was an error signing in.');\r\n }\r\n }\r\n\r\n public async signOut(state: any): Promise {\r\n try {\r\n if (this.popUpDisabled) {\r\n throw new Error('Popup disabled. Change \\'authorize.service.ts:AuthorizeService.popupDisabled\\' to false to enable it.');\r\n }\r\n\r\n await this.ensureUserManagerInitialized();\r\n await this.userManager.signoutPopup(this.createArguments());\r\n this.userSubject.next(null);\r\n return this.success(state);\r\n } catch (popupSignOutError) {\r\n console.log('Popup signout error: ', popupSignOutError);\r\n try {\r\n await this.userManager.signoutRedirect(this.createArguments(state));\r\n return this.redirect();\r\n } catch (redirectSignOutError) {\r\n console.log('Redirect signout error: ', popupSignOutError);\r\n return this.error(redirectSignOutError);\r\n }\r\n }\r\n }\r\n\r\n public async completeSignOut(url: string): Promise {\r\n await this.ensureUserManagerInitialized();\r\n try {\r\n const state = await this.userManager.signoutCallback(url);\r\n this.userSubject.next(null);\r\n return this.success(state && state.state);\r\n } catch (error) {\r\n console.log(`There was an error trying to log out '${error}'.`);\r\n return this.error(error);\r\n }\r\n }\r\n\r\n //add from previos versions\r\n public getUserRole(): Observable {\r\n return from(this.ensureUserManagerInitialized())\r\n .pipe(mergeMap(() => from(this.userManager.getUser())),\r\n map(user => { /*console.log('user = ', user);*/ return user && user.profile.UserRole; }));\r\n }\r\n\r\n private createArguments(state?: any): any {\r\n return { useReplaceToNavigate: true, data: state };\r\n }\r\n\r\n private error(message: string): IAuthenticationResult {\r\n return { status: AuthenticationResultStatus.Fail, message };\r\n }\r\n\r\n private success(state: any): IAuthenticationResult {\r\n return { status: AuthenticationResultStatus.Success, state };\r\n }\r\n\r\n private redirect(): IAuthenticationResult {\r\n return { status: AuthenticationResultStatus.Redirect };\r\n }\r\n\r\n private async ensureUserManagerInitialized(): Promise {\r\n if (this.userManager !== undefined) {\r\n return;\r\n }\r\n\r\n const response = await fetch(ApplicationPaths.ApiAuthorizationClientConfigurationUrl);\r\n if (!response.ok) {\r\n throw new Error(`Could not load settings for '${ApplicationName}'`);\r\n }\r\n\r\n const settings: any = await response.json();\r\n settings.automaticSilentRenew = true;\r\n settings.includeIdTokenInSilentRenew = true;\r\n settings.userStore = new WebStorageStateStore({\r\n prefix: ApplicationName\r\n });\r\n this.userManager = new UserManager(settings);\r\n\r\n //this.userManager.events.addUserSignedOut(async () => {\r\n // await this.userManager.removeUser();\r\n // this.userSubject.next(null);\r\n //});\r\n }\r\n\r\n private getUserFromStorage(): Observable {\r\n return from(this.ensureUserManagerInitialized())\r\n .pipe(\r\n mergeMap(() => this.userManager.getUser()),\r\n map(u => u && u.profile));\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { AuthorizeService, IUser } from '../authorize.service';\r\nimport { Observable } from 'rxjs';\r\nimport { map, tap } from 'rxjs/operators';\r\nimport { Router } from '@angular/router';\r\nimport { UserRoles } from '../api-authorization.constants';\r\nimport { CommonModules } from '../../app/management/core/constants/common.constants';\r\nimport { LocalStorageService } from '../../app/management/core/services/common/local-storage.service';\r\nimport { LiveAgentStatitsticsService } from '../../app/management/core/services/live-agent/live-agent-statistics.service';\r\nimport { MatSnackBar as MatSnackBar } from '@angular/material/snack-bar';\r\nimport { LiveAgentEntryLocalStorageKeys } from '../../app/management/core/constants/live-agent-interaction-types';\r\nimport { LiveAgentActivityLogTypes } from '../../app/management/core/constants/live-agent-actvity-log-types';\r\nimport { LiveAgentService } from '../../app/management/core/services/live-agent/live-agent.service';\r\n\r\n@Component({\r\n selector: 'app-login-menu',\r\n templateUrl: './login-menu.component.html',\r\n styleUrls: ['./login-menu.component.scss'],\r\n providers: [LiveAgentStatitsticsService, LiveAgentService]\r\n})\r\nexport class LoginMenuComponent implements OnInit {\r\n public isAuthenticated: Observable;\r\n public isAdmin: boolean=false;\r\n public userRole: string;\r\n public user: IUser = null;\r\n\r\n constructor(private authorizeService: AuthorizeService,\r\n private router: Router,\r\n private localStorageService: LocalStorageService,\r\n private statisticsService: LiveAgentStatitsticsService,\r\n private liveAgentService: LiveAgentService,\r\n private snackBar: MatSnackBar ) { }\r\n\r\n ngOnInit() {\r\n this.isAuthenticated = this.authorizeService.isAuthenticated();\r\n this.authorizeService.getUser().subscribe(u => this.user = u);\r\n this.authorizeService.getUserRole().subscribe(y => {\r\n this.userRole = y.toLowerCase();\r\n if (y.isAdmin()) {\r\n this.userRole = 'admin'; \r\n this.isAdmin = true;\r\n }\r\n\r\n if (y == UserRoles.LiveAgent) {\r\n this.userRole = 'agent';\r\n }\r\n\r\n });\r\n }\r\n\r\n openSettings() {\r\n this.router.navigate([`management/${this.userRole}/settings`]);\r\n }\r\n openBilling() {\r\n this.router.navigate([`management/${this.userRole}/${CommonModules.Billing}`]);\r\n }\r\n\r\n //logout() {\r\n // this.authorizeService.completeSignOut(\"/authentication/login\");\r\n //}\r\n\r\n logout() {\r\n if (this.userRole != \"agent\") {\r\n // this.authorizeService.completeSignOut(\"/authentication/login\");\r\n\r\n this.router.navigate([\"/authentication/logout\"], { state: { local: true } });\r\n }\r\n else {\r\n //check first if it has active sessions\r\n this.statisticsService.hasActiveInteractions().subscribe(result => {\r\n\r\n if (result == true) {\r\n this.snackBar.open(\"Please end all your active tasks before logout.\", \"Ok\", {\r\n duration: 5000,\r\n });\r\n }\r\n else {\r\n //remove keys\r\n this.localStorageService.remove(LiveAgentEntryLocalStorageKeys.Team);\r\n this.localStorageService.remove(LiveAgentEntryLocalStorageKeys.Task);\r\n\r\n //insert first log\r\n this.liveAgentService.insertActivityLog(LiveAgentActivityLogTypes.Logout, \"\").subscribe(x => {\r\n if (x == true) {\r\n this.router.navigate([\"/authentication/logout\"], { state: { local: true } });\r\n }\r\n else {\r\n this.snackBar.open(\"There was an error.Please try again later\", \"Ok\", {\r\n duration: 3000,\r\n });\r\n }\r\n });\r\n }\r\n\r\n });\r\n\r\n }\r\n\r\n }\r\n}\r\n","
    \r\n
  • \r\n \r\n \r\n {{ user.name }}\r\n
    \r\n \r\n \r\n
    \r\n
  • \r\n \r\n
\r\n
    \r\n \r\n
  • \r\n Login\r\n
  • \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { AuthorizeService, AuthenticationResultStatus } from '../authorize.service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { LoginActions, QueryParameterNames, ApplicationPaths, ReturnUrlType } from '../api-authorization.constants';\r\n\r\n// The main responsibility of this component is to handle the user's login process.\r\n// This is the starting point for the login process. Any component that needs to authenticate\r\n// a user can simply perform a redirect to this component with a returnUrl query parameter and\r\n// let the component perform the login and return back to the return url.\r\n@Component({\r\n selector: 'app-login',\r\n templateUrl: './login.component.html',\r\n styleUrls: ['./login.component.scss']\r\n})\r\nexport class LoginComponent implements OnInit {\r\n public message = new BehaviorSubject(null);\r\n\r\n constructor(\r\n private authorizeService: AuthorizeService,\r\n private activatedRoute: ActivatedRoute,\r\n private router: Router) { }\r\n\r\n async ngOnInit() {\r\n const action = this.activatedRoute.snapshot.url[1];\r\n switch (action.path) {\r\n case LoginActions.Login:\r\n await this.login(this.getReturnUrl());\r\n break;\r\n case LoginActions.LoginCallback:\r\n await this.processLoginCallback();\r\n break;\r\n case LoginActions.LoginFailed:\r\n const message = this.activatedRoute.snapshot.queryParamMap.get(QueryParameterNames.Message);\r\n this.message.next(message);\r\n break;\r\n case LoginActions.Profile:\r\n this.redirectToProfile();\r\n break;\r\n case LoginActions.Register:\r\n this.redirectToRegister();\r\n break;\r\n default:\r\n throw new Error(`Invalid action '${action}'`);\r\n }\r\n }\r\n\r\n\r\n private async login(returnUrl: string): Promise {\r\n const state: INavigationState = { returnUrl };\r\n const result = await this.authorizeService.signIn(state);\r\n this.message.next(undefined);\r\n switch (result.status) {\r\n case AuthenticationResultStatus.Redirect:\r\n break;\r\n case AuthenticationResultStatus.Success:\r\n await this.navigateToReturnUrl(returnUrl);\r\n break;\r\n case AuthenticationResultStatus.Fail:\r\n await this.router.navigate(ApplicationPaths.LoginFailedPathComponents, {\r\n queryParams: { [QueryParameterNames.Message]: result.message }\r\n });\r\n break;\r\n default:\r\n throw new Error(`Invalid status result ${(result as any).status}.`);\r\n }\r\n }\r\n\r\n private async processLoginCallback(): Promise {\r\n const url = window.location.href;\r\n const result = await this.authorizeService.completeSignIn(url);\r\n switch (result.status) {\r\n case AuthenticationResultStatus.Redirect:\r\n // There should not be any redirects as completeSignIn never redirects.\r\n throw new Error('Should not redirect.');\r\n case AuthenticationResultStatus.Success:\r\n await this.navigateToReturnUrl(this.getReturnUrl(result.state));\r\n break;\r\n case AuthenticationResultStatus.Fail:\r\n this.message.next(result.message);\r\n break;\r\n }\r\n }\r\n\r\n private redirectToRegister(): any {\r\n this.redirectToApiAuthorizationPath(\r\n `${ApplicationPaths.IdentityRegisterPath}?returnUrl=${encodeURI('/' + ApplicationPaths.Login)}`);\r\n }\r\n\r\n private redirectToProfile(): void {\r\n this.redirectToApiAuthorizationPath(ApplicationPaths.IdentityManagePath);\r\n }\r\n\r\n private async navigateToReturnUrl(returnUrl: string) {\r\n // It's important that we do a replace here so that we remove the callback uri with the\r\n // fragment containing the tokens from the browser history.\r\n await this.router.navigateByUrl(returnUrl, {\r\n replaceUrl: true\r\n });\r\n }\r\n\r\n private getReturnUrl(state?: INavigationState): string {\r\n const fromQuery = (this.activatedRoute.snapshot.queryParams as INavigationState).returnUrl;\r\n // If the url is comming from the query string, check that is either\r\n // a relative url or an absolute url\r\n //if (fromQuery &&\r\n // !(fromQuery.startsWith(`${window.location.origin}/`) ||\r\n // /\\/[^\\/].*/.test(fromQuery))) {\r\n // // This is an extra check to prevent open redirects.\r\n // throw new Error('Invalid return url. The return url needs to have the same origin as the current page.');\r\n //}\r\n return (state && state.returnUrl) ||\r\n fromQuery ||\r\n ApplicationPaths.DefaultLoginRedirectPath;\r\n }\r\n\r\n private redirectToApiAuthorizationPath(apiAuthorizationPath: string) {\r\n // It's important that we do a replace here so that when the user hits the back arrow on the\r\n // browser he gets sent back to where it was on the app instead of to an endpoint on this\r\n // component.\r\n const redirectUrl = `${window.location.origin}${apiAuthorizationPath}`;\r\n window.location.replace(redirectUrl);\r\n }\r\n}\r\n\r\ninterface INavigationState {\r\n [ReturnUrlType]: string;\r\n}\r\n","

{{ message | async }}

","import { Component, OnInit } from '@angular/core';\r\nimport { AuthenticationResultStatus, AuthorizeService } from '../authorize.service';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { take } from 'rxjs/operators';\r\nimport { LogoutActions, ApplicationPaths, ReturnUrlType } from '../api-authorization.constants';\r\n\r\n// The main responsibility of this component is to handle the user's logout process.\r\n// This is the starting point for the logout process, which is usually initiated when a\r\n// user clicks on the logout button on the LoginMenu component.\r\n@Component({\r\n selector: 'app-logout',\r\n templateUrl: './logout.component.html',\r\n styleUrls: ['./logout.component.scss']\r\n})\r\nexport class LogoutComponent implements OnInit {\r\n public message = new BehaviorSubject(null);\r\n\r\n constructor(\r\n private authorizeService: AuthorizeService,\r\n private activatedRoute: ActivatedRoute,\r\n private router: Router) { }\r\n\r\n async ngOnInit() {\r\n const action = this.activatedRoute.snapshot.url[1];\r\n console.log(\"action logout=\", action.path)\r\n switch (action.path) {\r\n case LogoutActions.Logout:\r\n if (!!window.history.state.local) {\r\n await this.logout(this.getReturnUrl());\r\n } else {\r\n // This prevents regular links to /authentication/logout from triggering a logout\r\n this.message.next('The logout was not initiated from within the page.');\r\n }\r\n\r\n break;\r\n case LogoutActions.LogoutCallback:\r\n await this.processLogoutCallback();\r\n break;\r\n case LogoutActions.LoggedOut:\r\n this.message.next('You successfully logged out!');\r\n await this.navigateToReturnUrl('/authentication/login');\r\n break;\r\n default:\r\n throw new Error(`Invalid action '${action}'`);\r\n }\r\n }\r\n\r\n private async logout(returnUrl: string): Promise {\r\n //redirect to login page after logout\r\n returnUrl = '/authentication/login';\r\n const state: INavigationState = { returnUrl };\r\n const isauthenticated = await this.authorizeService.isAuthenticated().pipe(\r\n take(1)\r\n ).toPromise();\r\n console.log(\"isauthenticated=\", isauthenticated);\r\n if (isauthenticated) {\r\n const result = await this.authorizeService.signOut(state);\r\n console.log(\"result logout=\", result);\r\n switch (result.status) {\r\n case AuthenticationResultStatus.Redirect:\r\n // We replace the location here so that in case the user hits the back\r\n // arrow from within the IdP he doesn't get into an infinite redirect loop.\r\n // window.location.replace(result);\r\n break;\r\n case AuthenticationResultStatus.Success:\r\n await this.navigateToReturnUrl(returnUrl);\r\n break;\r\n case AuthenticationResultStatus.Fail:\r\n this.message.next(result.message);\r\n break;\r\n default:\r\n throw new Error('Invalid authentication result status.');\r\n }\r\n } else {\r\n this.message.next('You successfully logged out!');\r\n }\r\n }\r\n\r\n private async processLogoutCallback(): Promise {\r\n const url = window.location.href;\r\n const result = await this.authorizeService.completeSignOut(url);\r\n switch (result.status) {\r\n case AuthenticationResultStatus.Redirect:\r\n // There should not be any redirects as the only time completeAuthentication finishes\r\n // is when we are doing a redirect sign in flow.\r\n throw new Error('Should not redirect.');\r\n case AuthenticationResultStatus.Success:\r\n await this.navigateToReturnUrl(this.getReturnUrl(result.state));\r\n break;\r\n case AuthenticationResultStatus.Fail:\r\n this.message.next(result.message);\r\n break;\r\n default:\r\n throw new Error('Invalid authentication result status.');\r\n }\r\n }\r\n\r\n private async navigateToReturnUrl(returnUrl: string) {\r\n await this.router.navigateByUrl(returnUrl, {\r\n replaceUrl: true\r\n });\r\n }\r\n\r\n private getReturnUrl(state?: INavigationState): string {\r\n const fromQuery = (this.activatedRoute.snapshot.queryParams as INavigationState).returnUrl;\r\n // If the url is comming from the query string, check that is either\r\n // a relative url or an absolute url\r\n if (fromQuery &&\r\n !(fromQuery.startsWith(`${window.location.origin}/`) ||\r\n /\\/[^\\/].*/.test(fromQuery))) {\r\n // This is an extra check to prevent open redirects.\r\n throw new Error('Invalid return url. The return url needs to have the same origin as the current page.');\r\n }\r\n return (state && state.returnUrl) ||\r\n fromQuery ||\r\n ApplicationPaths.LoggedOut;\r\n }\r\n}\r\n\r\ninterface INavigationState {\r\n [ReturnUrlType]: string;\r\n}\r\n","

{{ message | async }}

","import { NgModule } from '@angular/core';\r\nimport { MAT_DATE_LOCALE } from '@angular/material/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { MonacoEditorModule } from 'ngx-monaco-editor-v2';\r\nimport { ToastrModule } from 'ngx-toastr';\r\nimport { ManagementLayoutComponent } from './layout/management/management-layout/management-layout.component';\r\nimport { TimepickerModule } from 'ngx-bootstrap/timepicker';\r\nimport { AuthorizeGuard } from '../api-authorization/authorize.guard';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: 'management',\r\n component: ManagementLayoutComponent,\r\n loadChildren: () => import('./management/management.module').then(m => m.ManagementModule),\r\n canActivate: [AuthorizeGuard]\r\n },\r\n {\r\n path: 'docs',\r\n loadChildren:() => import('./docs/docs.module').then(m => m.DocsModule)\r\n },\r\n {\r\n path: 'help',\r\n loadChildren: () => import('./site-under-construction/site-under-construction.module').then(m => m.SiteUnderConstructionModule)\r\n },\r\n {\r\n path: 'support',\r\n loadChildren: () => import('./site-under-construction/site-under-construction.module').then(m => m.SiteUnderConstructionModule)\r\n },\r\n {\r\n path: 'dillo-pricelist',\r\n loadChildren:() => import('./dillo-pricelist/dillo-pricelist.module').then(m => m.DilloPricelistModule)\r\n },\r\n {\r\n path: '',\r\n //component: ManagementLayoutComponent,\r\n //loadChildren: './management/management.module#ManagementModule',\r\n redirectTo: \"management\",\r\n pathMatch:\"full\"\r\n //component: PresentationLayoutComponent,\r\n //loadChildren: './presentation/home/home.module#HomeModule',\r\n },\r\n {\r\n path: '**',\r\n loadChildren: () => import('./not-found/not-found.module').then(m => m.NotFoundModule)\r\n }\r\n];\r\n\r\n@NgModule({\r\n providers: [\r\n { provide: MAT_DATE_LOCALE, useValue: 'en-GB' },\r\n ],\r\n declarations: [],\r\n imports: [\r\n RouterModule.forRoot(routes),\r\n MonacoEditorModule.forRoot(),\r\n ToastrModule.forRoot({ positionClass: 'toast-bottom-left', preventDuplicates: true }),\r\n TimepickerModule.forRoot()\r\n ],\r\n exports: [\r\n RouterModule\r\n ]\r\n})\r\nexport class AppRoutingModule { }\r\n","import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';\r\nimport { AfterViewInit, Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { Router } from '@angular/router';\r\nimport { BehaviorSubject, distinctUntilChanged } from 'rxjs';\r\nimport { UserRoles } from '../api-authorization/api-authorization.constants';\r\nimport { AuthorizeService } from '../api-authorization/authorize.service';\r\nimport { ActionQueueKeys, ActionQueueService } from './management/core/services/common/action-queue.service';\r\nimport { LocalStorageService } from './management/core/services/common/local-storage.service';\r\nimport { ManageAccountService } from './management/core/services/common/manage-account.service';\r\nimport { SurveyService } from './management/core/services/survey/survey.service';\r\nimport { ChecklistComponent } from './management/shared-surveys/checklist/checklist.component';\r\nimport { PendingSurveyComponent } from './management/shared-surveys/pending-surveys/pending-survey.component';\r\nimport { SurveyComponent } from './management/shared-surveys/survey/survey.component';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n providers: [LocalStorageService, ManageAccountService, SurveyService]\r\n})\r\nexport class AppComponent implements OnInit, AfterViewInit {\r\n\r\n public title = 'app';\r\n public loaded = false;\r\n public userRole: string = '';\r\n public isSingle: boolean = false;\r\n private customerCode: string;\r\n\r\n @ViewChild(ChecklistComponent) checklistComponent: ChecklistComponent;\r\n @ViewChild(PendingSurveyComponent) pendingSurveyComponent: PendingSurveyComponent;\r\n\r\n //important note: is init to null now and not false, in this way will not load twice unde some circumstances\r\n public checklistStateSubject: BehaviorSubject = new BehaviorSubject(null);\r\n public surveyStateSubject: BehaviorSubject = new BehaviorSubject(null);\r\n\r\n constructor(private manageAccountService: ManageAccountService,\r\n private localStorageService: LocalStorageService,\r\n private authorizeService: AuthorizeService,\r\n private router: Router,\r\n private surveyService: SurveyService,\r\n private dialog: MatDialog,\r\n private breakpointObserver: BreakpointObserver,\r\n private actionQueueService: ActionQueueService) {\r\n\r\n const item = this.localStorageService.getWithExpiry(\"BetaModules\");\r\n\r\n if (item != null) {\r\n return;\r\n }\r\n\r\n this.manageAccountService.getAppSettings().subscribe(value => {\r\n if (value == null) {\r\n return;\r\n }\r\n\r\n this.localStorageService.setWithExpiry(\"BetaModules\", value, 1);\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n this.authorizeService.isAccessTokenExpired().subscribe(expired => {\r\n if (expired) {\r\n this.router.navigate([\"/authentication/logout\"], { state: { local: true } });\r\n return;\r\n }\r\n });\r\n\r\n this.authorizeService.getUser().subscribe(user => {\r\n if (user == null || user.UserRole == null) {\r\n return;\r\n }\r\n\r\n this.userRole = user.UserRole;\r\n this.customerCode = user.CustomerCode;\r\n\r\n if (this.userRole === UserRoles.Customer || this.userRole === UserRoles.Reseller) {\r\n this.loadActiveSurvey();\r\n }\r\n });\r\n\r\n this.checklistStateSubject.pipe(distinctUntilChanged()).subscribe(state => {\r\n if (this.checklistComponent != null &&\r\n this.checklistComponent.checklists.every(x => x.tasks.every(e => e.isCompleted))) {\r\n this.checklistComponent.hasChecklists.next(false);\r\n }\r\n\r\n this.handleStateChange('checklist');\r\n });\r\n\r\n this.surveyStateSubject.pipe(distinctUntilChanged()).subscribe(state => {\r\n this.handleStateChange('survey');\r\n });\r\n }\r\n\r\n ngAfterViewInit() {\r\n if (this.pendingSurveyComponent) {\r\n this.pendingSurveyComponent.isSaved.subscribe(value => {\r\n if (value == null) {\r\n return;\r\n }\r\n\r\n this.loadChecklists();\r\n this.loadPendingSurveys();\r\n });\r\n }\r\n\r\n if (this.checklistComponent) {\r\n this.checklistComponent.hasChecklists.subscribe(value => {\r\n if (value == null) {\r\n return;\r\n }\r\n\r\n this.isSingle = !value;\r\n });\r\n }\r\n }\r\n\r\n checkSurveyInterval(): boolean {\r\n const intervalStr = this.localStorageService.get(`lastSurveyDate_${this.customerCode}`);\r\n\r\n if (intervalStr == null) {\r\n return false; // No stored date means it's time for a new survey\r\n }\r\n\r\n const lastSurveyDate = new Date(intervalStr);\r\n const now = new Date();\r\n\r\n // Include hours, minutes, and seconds for accurate comparison\r\n const lastSurveyDateTime = Date.UTC(\r\n lastSurveyDate.getUTCFullYear(),\r\n lastSurveyDate.getUTCMonth(),\r\n lastSurveyDate.getUTCDate(),\r\n lastSurveyDate.getUTCHours(),\r\n lastSurveyDate.getUTCMinutes(),\r\n lastSurveyDate.getUTCSeconds()\r\n );\r\n\r\n const nowDateTime = Date.UTC(\r\n now.getUTCFullYear(),\r\n now.getUTCMonth(),\r\n now.getUTCDate(),\r\n now.getUTCHours(),\r\n now.getUTCMinutes(),\r\n now.getUTCSeconds()\r\n );\r\n\r\n this.getTimeDifference(lastSurveyDateTime, nowDateTime);\r\n\r\n return nowDateTime < lastSurveyDateTime;\r\n }\r\n\r\n getTimeDifference(lastSurveyDate: number, now: number) {\r\n const differenceInMilliseconds = lastSurveyDate - now;\r\n let differenceInMinutes = differenceInMilliseconds / (1000 * 60);\r\n\r\n if (differenceInMinutes < 0) {\r\n differenceInMinutes = 0;\r\n }\r\n\r\n console.log(`***Time until survey check: ${differenceInMinutes.toFixed(1)} minutes***`);\r\n }\r\n\r\n handleStateChange(changedSubject: 'survey' | 'checklist') {\r\n const surveyState = this.surveyStateSubject.value;\r\n const checklistState = this.checklistStateSubject.value;\r\n\r\n if (surveyState === true && checklistState === true) {\r\n if (changedSubject === 'survey') {\r\n this.checklistStateSubject.next(false);\r\n } else {\r\n this.surveyStateSubject.next(false);\r\n }\r\n }\r\n }\r\n\r\n loadActiveSurvey() {\r\n if (this.loaded) {\r\n return;\r\n }\r\n\r\n this.loaded = true;\r\n\r\n if (this.checkSurveyInterval()) {\r\n this.actionQueueService.completeWaitingAction(ActionQueueKeys.surveyKey);\r\n\r\n this.loadChecklists();\r\n this.loadPendingSurveys();\r\n return;\r\n }\r\n\r\n this.surveyService.getSurvey('').subscribe(survey => {\r\n if (survey == null) {\r\n console.log(`***No survey available***`);\r\n\r\n this.actionQueueService.completeWaitingAction(ActionQueueKeys.surveyKey);\r\n this.loadChecklists();\r\n this.loadPendingSurveys();\r\n return;\r\n }\r\n\r\n this.actionQueueService.enqueue(() => this.openSurveyDialog(survey), ActionQueueKeys.surveyKey);\r\n });\r\n }\r\n\r\n openSurveyDialog(survey) {\r\n const isMobile = this.breakpointObserver.isMatched(Breakpoints.Handset);\r\n\r\n const dialogRef = this.dialog.open(SurveyComponent, {\r\n autoFocus: false,\r\n data: {\r\n survey: survey,\r\n customerCode: this.customerCode\r\n },\r\n disableClose: true,\r\n minWidth: isMobile ? '100vw' : '65vw',\r\n maxHeight: isMobile ? '100vh' : '80vh',\r\n height: isMobile ? '100vh' : 'auto',\r\n panelClass: isMobile ? 'full-screen-dialog' : '',\r\n });\r\n\r\n dialogRef.componentInstance.surveySaved.subscribe(() => {\r\n this.actionQueueService.completeWaitingAction(ActionQueueKeys.surveyKey, 500);\r\n this.loadChecklists();\r\n this.loadPendingSurveys();\r\n });\r\n }\r\n\r\n loadChecklists() {\r\n if (this.checklistComponent) {\r\n this.checklistComponent.loadChecklists();\r\n }\r\n }\r\n\r\n loadPendingSurveys() {\r\n if (this.pendingSurveyComponent) {\r\n this.pendingSurveyComponent.loadPendingSurveys();\r\n }\r\n }\r\n\r\n //this.authorizeService.isAccessTokenExpired().subscribe(expired => {\r\n // console.log('isTokenExpired', expired);\r\n // if (expired === true) {\r\n // this.router.navigate([\"/authentication/logout\"], { state: { local: true } });\r\n // }\r\n //});\r\n}\r\n\r\n","\r\n \r\n \r\n \r\n\r\n","import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { BrowserModule, Title } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\n//import { MomentModule } from 'angular2-moment'; // optional, provides moment-style pipes for date formatting\r\nimport { ApiAuthorizationModule } from 'src/api-authorization/api-authorization.module';\r\n//import { AuthorizeGuard } from 'src/api-authorization/authorize.guard';\r\nimport { AuthorizeInterceptor } from 'src/api-authorization/authorize.interceptor';\r\nimport { AppRoutingModule } from './app-routing.module';\r\nimport { AppComponent } from './app.component';\r\nimport { LayoutModule } from './layout/layout.module';\r\nimport { SharedSurveysModule } from './management/shared-surveys/shared-surveys.module';\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent\r\n ],\r\n imports: [\r\n BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),\r\n HttpClientModule,\r\n FormsModule,\r\n ApiAuthorizationModule,\r\n LayoutModule,\r\n AppRoutingModule,\r\n SharedSurveysModule,\r\n BrowserAnimationsModule\r\n ],\r\n providers: [\r\n { provide: HTTP_INTERCEPTORS, useClass: AuthorizeInterceptor, multi: true },\r\n Title\r\n ],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule { }\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { MatMenuModule as MatMenuModule } from '@angular/material/menu';\r\nimport { MatSlideToggleModule as MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { RouterModule } from '@angular/router';\r\nimport { ApiAuthorizationModule } from '../../api-authorization/api-authorization.module';\r\nimport { SharedPaymentModule } from '../management/shared-payment/shared-payment.module';\r\nimport { ManagementHeaderComponent } from './management/management-header/management-header.component';\r\nimport { ManagementLayoutComponent } from './management/management-layout/management-layout.component';\r\nimport { PresentationFooterComponent } from './presentation/presentation-footer/presentation-footer.component';\r\nimport { PresentationHeaderComponent } from './presentation/presentation-header/presentation-header.component';\r\nimport { PresentationLayoutComponent } from './presentation/presentation-layout/presentation-layout.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n PresentationLayoutComponent,\r\n ManagementLayoutComponent,\r\n ManagementHeaderComponent,\r\n PresentationHeaderComponent,\r\n PresentationFooterComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n ApiAuthorizationModule,\r\n MatMenuModule,\r\n MatSlideToggleModule,\r\n SharedPaymentModule,\r\n ReactiveFormsModule\r\n ],\r\n exports: [\r\n PresentationLayoutComponent,\r\n ManagementLayoutComponent,\r\n ManagementHeaderComponent,\r\n PresentationHeaderComponent,\r\n PresentationFooterComponent\r\n ]\r\n})\r\nexport class LayoutModule { }\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { UntypedFormControl } from '@angular/forms';\r\nimport { MatDialog as MatDialog } from '@angular/material/dialog';\r\nimport { MatSnackBar as MatSnackBar } from '@angular/material/snack-bar';\r\nimport { Router } from '@angular/router';\r\nimport { UserRoles } from '../../../../api-authorization/api-authorization.constants';\r\nimport { AuthorizeService } from '../../../../api-authorization/authorize.service';\r\nimport { LiveAgentEntryLocalStorageKeys, LiveAgentInteractionTypes } from '../../../management/core/constants/live-agent-interaction-types';\r\nimport { LocalStorageService } from '../../../management/core/services/common/local-storage.service';\r\nimport { BillingInfoService } from '../../../management/core/services/customers/billing-info.service';\r\nimport { LiveAgentStatitsticsService } from '../../../management/core/services/live-agent/live-agent-statistics.service';\r\nimport { LiveAgentService } from '../../../management/core/services/live-agent/live-agent.service';\r\nimport { MakePaymentComponent } from '../../../management/shared-payment/make-payment/make-payment.component';\r\n\r\n@Component({\r\n selector: 'app-management-header',\r\n templateUrl: './management-header.component.html',\r\n styleUrls: ['./management-header.component.scss'],\r\n providers: [LiveAgentService, LiveAgentStatitsticsService, BillingInfoService]\r\n})\r\nexport class ManagementHeaderComponent implements OnInit {\r\n public userRole: string = '';\r\n public isReseller: boolean = false;\r\n public availableForUser: UntypedFormControl = new UntypedFormControl(false);\r\n public availableForTeam: UntypedFormControl = new UntypedFormControl(false);\r\n public agentEntryTeamId: any = null;\r\n public agentEntryUserId: any = null;\r\n\r\n private customerCode: string = null;\r\n\r\n constructor(private billingService: BillingInfoService,\r\n private dialog: MatDialog,\r\n private snackBar: MatSnackBar,\r\n private authorizeService: AuthorizeService,\r\n private router: Router,\r\n private liveAgentService: LiveAgentService,\r\n private localStorageService: LocalStorageService,\r\n private statisticsService: LiveAgentStatitsticsService) {\r\n this.authorizeService.getUser().subscribe(result => {\r\n this.userRole = result.UserRole.toLowerCase();\r\n this.customerCode = result.CustomerCode;\r\n\r\n if (result.UserRole == UserRoles.SuperAdmin) {\r\n this.userRole = 'super-admin'\r\n }\r\n if (result.UserRole == UserRoles.Admin) {\r\n this.userRole = 'admin'\r\n }\r\n else if (result.UserRole == UserRoles.Reseller) {\r\n this.isReseller = true;\r\n }\r\n else if (result.UserRole == UserRoles.LiveAgent) {\r\n this.userRole = \"agent\";\r\n }\r\n\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n\r\n if (this.userRole == \"agent\") {\r\n this.getAgentAvailability(LiveAgentInteractionTypes.Task);\r\n this.getAgentAvailability(LiveAgentInteractionTypes.Team);\r\n }\r\n\r\n this.availableForUser.valueChanges.subscribe(x => {\r\n if (x == true) {\r\n if (this.agentEntryUserId != null) {\r\n return;\r\n }\r\n\r\n this.insertAgentEntry(LiveAgentInteractionTypes.Task);\r\n }\r\n else {\r\n if (this.agentEntryUserId == null) {\r\n return;\r\n }\r\n this.checkActiveChats(this.agentEntryUserId, LiveAgentInteractionTypes.Task);\r\n }\r\n });\r\n\r\n this.availableForTeam.valueChanges.subscribe(x => {\r\n if (x == true) {\r\n if (this.agentEntryTeamId != null) {\r\n return;\r\n }\r\n\r\n this.insertAgentEntry(LiveAgentInteractionTypes.Team);\r\n }\r\n else {\r\n if (this.agentEntryTeamId == null) {\r\n return;\r\n }\r\n this.endAgentEntry(this.agentEntryTeamId, LiveAgentInteractionTypes.Team);\r\n }\r\n });\r\n\r\n this.localStorageService.onChange().subscribe(key => {\r\n console.log('on local storage change', key);\r\n\r\n switch (key) {\r\n case LiveAgentEntryLocalStorageKeys.Task: {\r\n var value = this.localStorageService.get(LiveAgentEntryLocalStorageKeys.Task);\r\n if (!!value) {\r\n break;\r\n }\r\n this.availableForUser.setValue(false);\r\n break;\r\n }\r\n case LiveAgentEntryLocalStorageKeys.Team: {\r\n var value = this.localStorageService.get(LiveAgentEntryLocalStorageKeys.Team);\r\n if (!!value) {\r\n break;\r\n }\r\n this.availableForTeam.setValue(false);\r\n break;\r\n }\r\n }\r\n });\r\n }\r\n\r\n openSettings() {\r\n this.router.navigate([`management/${this.userRole}/settings`]);\r\n }\r\n\r\n getAgentAvailability(type: string) {\r\n //get first from localstorage\r\n //let entryId = null;\r\n\r\n //if (type == LiveAgentInteractionTypes.Team) {\r\n // entryId = this.localStorageService.get(LiveAgentEntryLocalStorageKeys.Team);\r\n // this.agentEntryTeamId = entryId;\r\n // this.availableForTeam.setValue(entryId !=null);\r\n //}\r\n //else {\r\n // entryId = this.localStorageService.get(LiveAgentEntryLocalStorageKeys.Task);\r\n // this.agentEntryUserId = entryId;\r\n // this.availableForUser.setValue(entryId != null);\r\n //}\r\n\r\n //if (entryId != null && entryId != \"\") {\r\n // return;\r\n //}\r\n\r\n //get from redis/DB\r\n this.liveAgentService.getAgentAvailability(type).subscribe(x => {\r\n\r\n if (x.entryId === null) {\r\n let key = type === LiveAgentInteractionTypes.Team ? LiveAgentEntryLocalStorageKeys.Team : LiveAgentEntryLocalStorageKeys.Task;\r\n this.localStorageService.remove(key);\r\n\r\n return;\r\n }\r\n\r\n if (type == LiveAgentInteractionTypes.Team) {\r\n this.agentEntryTeamId = x.entryId;\r\n this.availableForTeam.setValue(true);\r\n\r\n //set key in localstorage\r\n this.localStorageService.set(LiveAgentEntryLocalStorageKeys.Team, x.entryId);\r\n\r\n return;\r\n }\r\n if (type == LiveAgentInteractionTypes.Task) {\r\n this.agentEntryUserId = x.entryId;\r\n this.availableForUser.setValue(true);\r\n\r\n //set key in localstorage\r\n this.localStorageService.set(LiveAgentEntryLocalStorageKeys.Task, x.entryId);\r\n return;\r\n }\r\n });\r\n }\r\n\r\n insertAgentEntry(type: string) {\r\n this.liveAgentService.insertAgentEntry(type).subscribe(x => {\r\n if (x == null) {\r\n if (type == LiveAgentInteractionTypes.Team) {\r\n this.availableForTeam.setValue(false);\r\n return;\r\n }\r\n if (type == LiveAgentInteractionTypes.Task) {\r\n this.snackBar.open('You have reached the maximum allowed sessions for this month. You cannot receive and handle new tasks anymore.', 'Ok, got it!', {\r\n verticalPosition: 'top',\r\n horizontalPosition: 'center',\r\n duration: 10000\r\n });\r\n\r\n this.availableForUser.setValue(false);\r\n return;\r\n }\r\n }\r\n else {\r\n if (x.type == LiveAgentInteractionTypes.Team) {\r\n this.agentEntryTeamId = x.id;\r\n //set key in localstorage\r\n this.localStorageService.set(LiveAgentEntryLocalStorageKeys.Team, x.id);\r\n return;\r\n }\r\n if (x.type == LiveAgentInteractionTypes.Task) {\r\n //set key in localstorage\r\n this.localStorageService.set(LiveAgentEntryLocalStorageKeys.Task, x.id);\r\n\r\n this.agentEntryUserId = x.id;\r\n return;\r\n }\r\n\r\n }\r\n\r\n });\r\n }\r\n\r\n endAgentEntry(entryId, type) {\r\n this.liveAgentService.endLiveAgentEntry(entryId).subscribe(x => {\r\n if (x == false) {\r\n this.snackBar.open(\"There was an error.Please try again later\", \"Ok\", {\r\n duration: 3000,\r\n });\r\n\r\n if (type == LiveAgentInteractionTypes.Team) {\r\n this.availableForTeam.setValue(true);\r\n return;\r\n }\r\n if (type == LiveAgentInteractionTypes.Task) {\r\n this.availableForUser.setValue(true);\r\n return;\r\n }\r\n }\r\n else {\r\n if (type == LiveAgentInteractionTypes.Team) {\r\n this.agentEntryTeamId = null;\r\n this.localStorageService.remove(LiveAgentEntryLocalStorageKeys.Team);\r\n\r\n return;\r\n }\r\n if (type == LiveAgentInteractionTypes.Task) {\r\n this.agentEntryUserId = null;\r\n this.localStorageService.remove(LiveAgentEntryLocalStorageKeys.Task);\r\n return;\r\n }\r\n }\r\n });\r\n }\r\n\r\n checkActiveChats(entryId, type) {\r\n //check first if it has active sessions\r\n this.statisticsService.hasActiveInteractions(type).subscribe(result => {\r\n if (result == true && type == LiveAgentInteractionTypes.Task) {\r\n this.availableForUser.setValue(true);\r\n let message = \"Please end all your active tasks with customers before settings as unavailable.\"\r\n\r\n this.snackBar.open(message, \"Ok\", {\r\n duration: 5000,\r\n });\r\n\r\n }\r\n else {\r\n this.endAgentEntry(entryId, type);\r\n }\r\n\r\n });\r\n\r\n }\r\n\r\n\r\n\r\n openPayment() {\r\n this.billingService.getBillingInfo().subscribe(response => {\r\n if (response.country != null) {\r\n const dialogRef = this.dialog.open(MakePaymentComponent, {\r\n minWidth: \"40rem\",\r\n maxWidth: '40rem',\r\n minHeight: \"7rem\",\r\n data: response,\r\n disableClose: true\r\n });\r\n\r\n dialogRef.afterClosed().subscribe(response => {\r\n if (response.success) {\r\n //window.location.reload();\r\n\r\n }\r\n\r\n });\r\n }\r\n else {\r\n this.openBillingMissingSnackBar(`Ops, there is missing data! Complete the billing info to continue`, \"Complete Data\", 7000);\r\n }\r\n })\r\n }\r\n openBillingMissingSnackBar(message: string, action: string, duration: number) {\r\n this.snackBar.open(message, action, {\r\n duration: duration,\r\n });\r\n\r\n this.snackBar._openedSnackBarRef.onAction().subscribe(x => {\r\n this.navigateToBilling()\r\n });\r\n }\r\n\r\n navigateToBilling() {\r\n this.router.navigate([`management/reseller/billing/billing-info`])\r\n }\r\n}\r\n","
\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-management-layout',\r\n templateUrl: './management-layout.component.html',\r\n styleUrls: ['./management-layout.component.scss']\r\n})\r\nexport class ManagementLayoutComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n //constructor(private authorizeService: AuthorizeService,\r\n // private router: Router) {\r\n\r\n // this.authorizeService.getUserRole().subscribe(x => {\r\n\r\n // if (x == null || x == \"\") {\r\n // this.router.navigate([ApplicationPaths.Login]);\r\n // }\r\n // else {\r\n // this.authorizeService.getUserRole().subscribe(y => {\r\n // console.log(\"ngOninit\");\r\n // if (y == UserRoles.SuperAdmin) {\r\n // y = 'admin'\r\n // this.router.navigate([`management/${y.toLowerCase()}/console/settings`]);\r\n // return;\r\n // }\r\n // this.router.navigate([`management/${y.toLowerCase()}/console`]);\r\n // });\r\n // }\r\n // });\r\n\r\n //}\r\n\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","\r\n
\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-presentation-footer',\r\n templateUrl: './presentation-footer.component.html',\r\n styleUrls: ['./presentation-footer.component.scss']\r\n})\r\nexport class PresentationFooterComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n © Dillo Copyright 2019. All rights reserved.\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { UserRoles } from '../../../../api-authorization/api-authorization.constants';\r\nimport { AuthorizeService, IUser } from '../../../../api-authorization/authorize.service';\r\n\r\n@Component({\r\n selector: 'app-presentation-header',\r\n templateUrl: './presentation-header.component.html',\r\n styleUrls: ['./presentation-header.component.scss']\r\n})\r\nexport class PresentationHeaderComponent implements OnInit {\r\n\r\n public module: string = \"\";\r\n public user: IUser = null;\r\n\r\n constructor(private authorize: AuthorizeService) { }\r\n\r\n ngOnInit() {\r\n this.authorize.getUser().subscribe(user => {\r\n this.user = user;\r\n if (user == null) {\r\n return;\r\n }\r\n\r\n if (user.UserRole == UserRoles.SuperAdmin) {\r\n this.module = 'super-admin';\r\n }\r\n else if (user.UserRole == UserRoles.Admin) {\r\n this.module = 'admin';\r\n }\r\n else {\r\n this.module = user.UserRole.toLowerCase();\r\n }\r\n\r\n //this.module = user.UserRole == UserRoles.SuperAdmin ? \"admin\" : user.UserRole.toLowerCase();\r\n\r\n if (user.UserRole == UserRoles.LiveAgent) {\r\n this.module = 'agent';\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-presentation-layout',\r\n templateUrl: './presentation-layout.component.html',\r\n styleUrls: ['./presentation-layout.component.scss']\r\n})\r\nexport class PresentationLayoutComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n \r\n }\r\n\r\n}\r\n","\r\n
\r\n \r\n
\r\n\r\n","import { ExtraService } from \"./extra-service.constants\"\r\n\r\nexport const AgentType = {\r\n Conference: \"Conference\",\r\n Phone: \"Phone\",\r\n Live: \"Live\",\r\n Remote: \"Remote\"\r\n}\r\n\r\nexport const AgentPhoneBilligType: { [key: string]: string } = {\r\n [ExtraService.AgentPriceAnnualFee]: 'Annually',\r\n [ExtraService.AgentPriceMonthlyFee]: 'Monthly'\r\n}\r\n\r\nexport const AgentBillingType = {\r\n Annually: \"Annually\",\r\n Monthly: \"Monthly\"\r\n}\r\n\r\nexport const LiveAgentBillingType: { [key: string]: string } = {\r\n ['AnnuallyFee']: \"Annually\",\r\n ['MonthlyFee']: \"Monthly\"\r\n}\r\n\r\nexport const LiveAgentBillingTypeName = {\r\n AnnuallyFee: \"AnnuallyFee\",\r\n MonthlyFee: \"MonthlyFee\"\r\n}\r\n\r\nexport const RemoteAgentBillingType: { [key: string]: string } = {\r\n ['AnnuallyFee']: \"Annually\",\r\n ['MonthlyFee']: \"Monthly\"\r\n}\r\n\r\nexport const RemoteAgentBillingTypeName = {\r\n AnnuallyFee: \"AnnuallyFee\",\r\n MonthlyFee: \"MonthlyFee\"\r\n}\r\n","export const AsteriskCallDirect = {\r\n Inbound: \"Inbound\",\r\n Outbound: \"Outbound\",\r\n Conference: \"Conference\",\r\n AgentConference: \"AgentConference\",\r\n //AgentPhone:\"AgentPhone\",\r\n All: \"All\"\r\n\r\n}\r\n","export const TaxStatusesConstant: string[] = [\r\n 'Taxable',\r\n 'Exempt'\r\n]\r\n\r\nexport const TaxStatuses = {\r\n Taxable:'Taxable',\r\n Exempt: 'Exempt'\r\n}\r\n","export const BotTrainingStatusName = {\r\n Completed: 'Completed',\r\n InProgress: 'InProgress',\r\n NeedsTraining:'NeedsTraining'\r\n}\r\n","export const CallType = {\r\n Inbound: 'Inbound',\r\n Outbound: 'Outbound'\r\n}\r\n","export const CallbackStatusList = [\r\n { name: \"All\", value: \"all\" },\r\n { name: \"1xx informational response\", value: \"1\" },\r\n { name: \"2xx successful\", value: \"2\" },\r\n { name: \"3xx redirection\", value: \"3\" },\r\n { name: \"4xx client error\", value: \"4\" },\r\n { name: \"5xx server error\", value: \"5\" },\r\n]\r\n","export const ChannelBehaviorActionType = {\r\n Say: 'Say',\r\n Dial: 'Dial',\r\n Conference:'Conference'\r\n}\r\n","//export const ApiBaseUrl = \"http://dillo-1471688698.eu-central-1.elb.amazonaws.com/ndoctwebapi/api/\"; //amazon ec2 - external ip\r\n//export const ApiBaseUrl = \"http://172.31.37.29/NdoctWebApi/api/\"; //amazon ec2 - internal ip\r\n//export const ApiBaseUrl = \"http://italiacall.sendservice.eu/ndoctwebapi/api/\"; //italiacall\r\n//export const ApiBaseUrl = \"http://localhost:52181/api/\"; //localhost\r\nexport const ApiBaseUrl = \"/api/\";\r\n//export const DocsBaseUrl = \"https://docs.dillo.cloud\";\r\n//export const DocsUrl = \"https://localhost:44315\";\r\n//export const DocsUrl = \"https://netdoctrine-dev-docs.azurewebsites.net\";\r\nexport const DocsUrl = \"https://docs.dillo.cloud\";\r\n//export const WebsiteBaseUrl = \"https://netdoctrine-dev.azurewebsites.net/\";\r\nexport const WebsiteBaseUrl = \"https://console.dillo.cloud/\";\r\n\r\nexport const CommonModules = {\r\n Console: 'console',\r\n Email: 'email',\r\n Sms: 'sms',\r\n Voice: 'voice',\r\n Users: 'users',\r\n Campaign: 'campaign',\r\n Settings: 'settings',\r\n Billing: 'billing',\r\n RatesPrice: 'rates-price',\r\n InboundVoice: 'inbound-voice',\r\n InboundEmail: 'inbound-email',\r\n DidNumber: 'did-number',\r\n Agents: 'agents',\r\n Marketing: 'marketing',\r\n ApplicationSms: 'application-sms',\r\n AI: 'ai',\r\n BotManagement: 'manage-bot',\r\n BotActivity: \"bot-activity\",\r\n BotBilling: \"bot-billing\",\r\n AssistantManagement: \"assistant-management\",\r\n AssistantTesting: \"assistant-testing\",\r\n AssistantBilling: \"assistant-billing\",\r\n AssistantEndPointHits: \"assistant-end-point-hits\",\r\n AutopilotActivity: 'dialog-activity',\r\n Debugging: 'debugging',\r\n Whatsapp: \"whatsapp\",\r\n Package: \"support-plans\"\r\n};\r\n\r\nexport const LiveAgentModules = {\r\n Console: 'console',\r\n Task: 'task',\r\n Team: 'team',\r\n Settings: 'settings'\r\n}\r\n\r\nexport const CommonPages = {\r\n Providers: 'providers',\r\n Pricelists: 'pricelists',\r\n Credits: 'credits',\r\n ChangePassword: \"change-password\",\r\n Alerts: 'credit-alerts',\r\n BasePrices: 'prices',\r\n AccountDetails: 'account-details',\r\n ActiveNumber: '',\r\n BuyNewDid: 'new-did',\r\n ActivationRequest: 'activation-request',\r\n CancellationRequest: 'cancellation-request',\r\n DidBilling: 'did-billing',\r\n InboundEmailBilling: 'inbound-billing',\r\n TwoFactorAuthentication: 'two-factor-authentication',\r\n VoiceConference: \"voice-conference\",\r\n PbxTrunkList: \"pbx-trunk-list\",\r\n PbxTrunkManagement: \"manage-pbx-trunk\",\r\n PbxTrunkVirtualExtension: \"pbx-trunk-virtual-extension\",\r\n AgentsList: '',\r\n AgentActivity: \"activity\",\r\n AgentGroup: \"group\",\r\n LiveAgentSession: \"session\",\r\n AgentGlobalSettings: \"global-settings\",\r\n AgentRequest: \"request\",\r\n AgentBilling: \"agent-billing\",\r\n AgentTask: \"agent-task\",\r\n VoiceCampaign: \"voice-campaign\",\r\n Bot: 'bot',\r\n BotEntity: \"entity\",\r\n BotPredictions: \"predictions\",\r\n BotPublishedVersions: \"versions\",\r\n BotTesting: \"bot-testing\",\r\n AIPriceList: \"ai\",\r\n AutopilotWebSettings: \"chat-web-settings\",\r\n AutopilotWhatsappSettings: \"chat-whatsapp-settings\",\r\n AutopilotDesign: \"chat-web-design\",\r\n AutopilotIntegration: \"chat-integrations\",\r\n AutopilotTriggers: \"chat-trigger\",\r\n LiveAgentDashboard: \"live-agent-dashboard\",\r\n WhatsappTemplates: \"templates\",\r\n WhatsappActivity: \"\",\r\n WhatsappPriceList: \"whatsapp\",\r\n PackageRequests: \"support-plans-purchase\",\r\n ActivePackage: \"active-plans\",\r\n PackageTradePolicy: \"trade-policy\",\r\n SupportPlans: \"support-plans\",\r\n Billing: \"billing\"\r\n};\r\n\r\nexport const CustomerErrorCodes = {\r\n Username: 'UsernameExists',\r\n Email: 'EmailExists',\r\n CustomerCode: 'CustomerCodeExists'\r\n};\r\n\r\nexport const AggregateType = {\r\n Sum: 'Sum',\r\n Average: 'Average',\r\n Total: 'Total'\r\n}\r\n\r\nexport const SendActionType = {\r\n Voice: \"Voice\",\r\n Sms: \"Sms\",\r\n Email: \"Email\",\r\n Whatsapp: \"Whatsapp\"\r\n}\r\n\r\nexport const ImageSrcType = {\r\n Default: 'default',\r\n Agents: \"agents\"\r\n\r\n};\r\n\r\nexport const DefaultImageNames = {\r\n UploadImage: 'upload-photo.PNG',\r\n NoImage: \"agent-no-profile.png\"\r\n}\r\n","export const ExtraService= {\r\n CallRecording:'CallRecording',\r\n Transcription:'Transcription',\r\n AutomaticSpeechRecognition: 'AutomaticSpeechRecognition',\r\n LanguageDetection:\"LanguageDetection\",\r\n CallRecordingPurchase:'CallRecordingPurchase',\r\n TranscriptionPurchase:'TranscriptionPurchase',\r\n AutomaticSpeechRecognitionPurchase: 'AutomaticSpeechRecognitionPurchase',\r\n VoiceCallConference: 'VoiceCallConference',\r\n AgentConference: \"AgentConference\",\r\n AgentPhone: 'AgentPhone',\r\n AgentPriceMonthlyFee: \"AgentPriceMonthlyFee\",\r\n AgentPriceAnnualFee: \"AgentPriceAnnualFee\",\r\n ApiRequest: \"ApiRequest\",\r\n TextToSpeech:\"TextToSpeech\",\r\n TextToSpeechStandard: \"TextToSpeechStandard\",\r\n TextToSpeechPremium: \"TextToSpeechPremium\",\r\n TextToSpeechAIPowered: \"TextToSpeechAIPowered\",\r\n Computing: 'Computing',\r\n LiveAgent: 'LiveAgent',\r\n RemoteAgent: 'RemoteAgent'\r\n};\r\n\r\nexport const ExtraServicePath = {\r\n CallRecording: 'call-recording',\r\n Transcription: 'transcription',\r\n LanguageDetection: 'language-detection',\r\n AutomaticSpeechRecognition: 'automatic-speech-recognition',\r\n CallRecordingPurchase: 'call-recording-purchase',\r\n TranscriptionPurchase: 'transcription-purchase',\r\n AutomaticSpeechRecognitionPurchase: 'automatic-speech-recognition-purchase',\r\n Conference: 'call-conference',\r\n AgentConference: 'agent-conference',\r\n AgentPhone: \"agent-phone\",\r\n ApiRequest: 'api-request',\r\n TextToSpeech: 'tts',\r\n Computing: 'computing',\r\n LiveAgent: 'live-agent',\r\n Remote: \"remote-agent\",\r\n PbxTrunks: \"pbx-trunks\"\r\n}\r\n\r\nexport const ApiRequestChargeType={\r\n Never: \"Never\",\r\n Always: \"Always\",\r\n Accordingly:\"Accordingly\"\r\n}\r\n\r\nexport const TtsType: { [key: string]: string } = {\r\n [ExtraService.TextToSpeechStandard]: 'Standard',\r\n [ExtraService.TextToSpeechPremium]: 'Premium',\r\n [ExtraService.TextToSpeechAIPowered]: 'AIPowered'\r\n}\r\n\r\n\r\n\r\n\r\n","import { FilterOperator } from \"../interfaces/filter/filter-operator\";\r\n\r\nexport const FilterOperatorType = {\r\n Number: 'Number',\r\n String: 'String',\r\n Boolean: 'Boolean',\r\n Date: 'Date',\r\n Timestamp:'Timestamp'\r\n};\r\n\r\nexport const FilterGridOperatorList: { [key: string]: string[] } = {\r\n [FilterOperatorType.Number]: ['Equals', 'Greater Than', 'Greater Than Or Equals', 'Less Than', 'Less Than Or Equals', 'Not Equal'],\r\n [FilterOperatorType.String] : ['Starts With', 'End With', 'Contains', 'Equals', 'Not Equal'] ,\r\n [FilterOperatorType.Boolean] : ['Equals'] ,\r\n [FilterOperatorType.Date]: ['Equals', 'Greater Than Or Equals', 'Greater Than', 'Less Than', 'Less Than Or Equals', 'Not Equal'],\r\n [FilterOperatorType.Timestamp]: ['Equals', 'Greater Than Or Equals', 'Greater Than', 'Less Than', 'Less Than Or Equals', 'Not Equal'] \r\n}\r\n","import { IInboundVoicePricelistResponse } from \"../interfaces/inbound/inbound-voice-pricelist-response.interface\"\r\nimport { IInboundSmsPricelistResponse } from \"../interfaces/inbound/inbound-sms-pricelist-response.interface\"\r\n\r\nexport const InboundBillingType = {\r\n PayPerUse: \"PayPerUse\",\r\n FlatRate: \"FlatRate\",\r\n FlatRateExtraChannels:\"FlatRateExtraChannels\"\r\n}\r\n\r\nexport const InboundBillingTypeList: IInboundVoicePricelistResponse[] = [\r\n {\r\n billingType: \"PayPerUse\",\r\n label: \"Pay Per Minute\",\r\n totalItems: 0,\r\n isDisabled:false\r\n },\r\n {\r\n billingType: \"FlatRate\",\r\n label: \"Flat Rate\",\r\n totalItems: 0,\r\n isDisabled:false\r\n },\r\n {\r\n billingType: \"FlatRateExtraChannels\",\r\n label: \"Flat Rate Extra Channels\",\r\n totalItems: 0,\r\n isDisabled:false\r\n }\r\n]\r\n\r\nexport const InboundSmsBillingTypeList: IInboundSmsPricelistResponse[] = [\r\n {\r\n billingType: \"PayPerUse\",\r\n label: \"Pay Per SMS\",\r\n totalItems: 0,\r\n isDisabled: false\r\n },\r\n {\r\n billingType: \"FlatRate\",\r\n label: \"Flat Rate\",\r\n totalItems: 0,\r\n isDisabled: false\r\n }\r\n]\r\n","export const LiveAgentActivityLogTypes = {\r\n TaskAccepted: \"TaskAccepted\",\r\n TaskDeclined: \"TaskDeclined\",\r\n TaskAbandoned: \"TaskAbandoned\",\r\n TaskCompleted: \"TaskCompleted\",\r\n InviteRequest: \"InviteRequest\",\r\n TransferRequest: \"TransferRequest\",\r\n Login: \"Login\",\r\n Logout: \"Logout\",\r\n AvailableForTasks: \"AvailableForTasks\",\r\n UnavailableForTasks: \"UnavailableForTasks\",\r\n AvailableForTeam: \"AvailableForTeam\",\r\n UnavailableForTeam: \"UnavailableForTeam\",\r\n AgentActivity: \"AgentActivity\",\r\n LeaveInvitation:\"LeaveInvitation\"\r\n}\r\n","export const LiveAgentInteractionTypes = {\r\n Task: \"Task\",\r\n Team: \"Team\"\r\n}\r\n\r\nexport const LiveAgentEntryLocalStorageKeys = {\r\n Task: `LiveAgentEntryId_${LiveAgentInteractionTypes.Task}`,\r\n Team: `LiveAgentEntryId_${LiveAgentInteractionTypes.Team}`,\r\n}\r\n","export const MicroserviceChannles= {\r\n DidRequest: 'DidRequest',\r\n Campaign: 'Campaign',\r\n Anonymization: 'Anonymization',\r\n AgentRequest: 'AgentRequest',\r\n EmailRequest: 'EmailRequest',\r\n Email: 'Email',\r\n Voice: 'Voice',\r\n Sms: 'Sms',\r\n General: 'General'\r\n}\r\n\r\n\r\nexport const MicroserviceChannelsList = [\r\n { value: '', name: 'All' },\r\n { value: MicroserviceChannles.DidRequest, name: 'Did Request' },\r\n { value: MicroserviceChannles.Campaign, name: 'Campaign' },\r\n { value: MicroserviceChannles.Anonymization, name: 'Anonymization' },\r\n { value: MicroserviceChannles.AgentRequest, name: 'Agent Request' },\r\n { value: MicroserviceChannles.EmailRequest, name: 'Email Request' },\r\n { value: MicroserviceChannles.Email, name: 'Email' },\r\n { value: MicroserviceChannles.Voice, name: 'Voice' },\r\n { value: MicroserviceChannles.Sms, name: 'Sms' },\r\n { value: MicroserviceChannles.General, name: 'General' }\r\n \r\n]\r\n\r\nexport const MicroserviceStatusList = [\r\n { value: 'Running', name: 'Running' },\r\n { value: 'Stopped', name: 'Stopped' },\r\n //{ value: 'MayBeRunning', name: 'MayBeRunning' },\r\n { value: '', name: 'All' }\r\n]\r\n","export const PaymentMethods = {\r\n Paypal: \"PayPal\",\r\n Card: \"Card\",\r\n Manual:'Manual'\r\n}\r\n\r\nexport const PaymentStatus = {\r\n Succeeded: 'Success',\r\n Failed:'Failed'\r\n}\r\n \r\n","export const ScreenSize = {\r\n BreakpoinTablet: 768,\r\n BreakpointLaptop: 1025,\r\n BreakpointLargeScreen: 1600\r\n};\r\n\r\n\r\n","import { BehaviorSubject, Observable } from \"rxjs\";\r\nimport { DataSource } from \"@angular/cdk/table\";\r\nimport { IInboundVoiceCallHistory } from \"../interfaces/inbound/inbound-voice-call-history.interface\";\r\nimport { IMenuDetectedIntent } from \"../interfaces/voice/menu-detected-intent.interface\";\r\n\r\nexport class InboundVoiceCallDataSource extends DataSource {\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { }\r\n}\r\n\r\nexport class MenuDetectedIntentDataSource extends DataSource {\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { }\r\n}\r\n","import { BehaviorSubject, Observable } from \"rxjs\";\r\nimport { IInboundVoicePricelistItem } from \"../interfaces/inbound/inbound-voice-pricelist-item.interface\";\r\nimport { DataSource } from \"@angular/cdk/table\";\r\n\r\nexport class InboundVoicePricelistDataSource extends DataSource {\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { }\r\n}\r\n","import { DataSource } from \"@angular/cdk/table\";\r\nimport { BehaviorSubject, Observable } from \"rxjs\";\r\nimport { IRequestStatusCallbackLog } from \"../interfaces/common/request-status-callback-log.interface\";\r\n\r\n\r\nexport class RequestStatusCallbackLogDatasource extends DataSource {\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { }\r\n}\r\n\r\n\r\n","import { DataSource } from \"@angular/cdk/table\";\r\nimport { BehaviorSubject, Observable } from \"rxjs\";\r\nimport { IApiRequest } from \"../../interfaces/sms/api-request.interface\";\r\n\r\nexport class InboundApiRequestDataSource extends DataSource {\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { }\r\n}\r\n","import { DataSource } from \"@angular/cdk/table\";\r\nimport { BehaviorSubject, Observable } from \"rxjs\";\r\nimport { IWhatsappConversationMetric } from \"../../interfaces/whatsapp/whatsapp-conversation-metric.interface\";\r\n\r\nexport class ActivityWhatsappDataSource extends DataSource {\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { }\r\n}\r\n\r\nexport class WhatsappConversationMetricsDataSource extends DataSource {\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { }\r\n}\r\n","//const _gsm7Regex = new RegExp(/^[@£$¥èéùìòÇØøÅå_ÆæßÉ!\"\"#%&'()*+,\\-.\\/0123456789:;<=>? ¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà^{}\\[~\\]|€]+$/gm);\r\n\r\n// this method checks if message has special characters\r\nexport function IsGSM7Alphabet(message) {\r\n \r\n //const _gsm7Regex = new RegExp(/^[@£$¥èéùìòÇØøÅå_ÆæßÉ!\"\"#%&'()*+,\\-.\\/0123456789:;<=>? ¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà^{}\\[~\\]|€]+$/gm);\r\n const _gsm7Regex = new RegExp(/^[@£$¥èéùìòÇØøÅå_ÆæßÉ!\"\"#%&'()*+,\\-./0123456789:;<=>? ¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà^{}\\\\[~\\]|€]+$/gm);\r\n\r\n\r\n if (message == null || message.trim() == '') {\r\n return true;\r\n }\r\n return _gsm7Regex.test(`${message}`);\r\n\r\n}\r\nexport function getLanguageNameByCode(languageCode: string): string {\r\n try {\r\n const lang = languageCode.split('-')[0];\r\n\r\n const displayNames = new Intl.DisplayNames(['en'], { type: 'language' });\r\n\r\n // Return only the language name\r\n return displayNames.of(lang) || languageCode;\r\n } catch (error) {\r\n // Return the original code if there's an error (invalid language code)\r\n return languageCode;\r\n }\r\n}\r\n","export interface IWhatsappMessageInteractiveContent {\r\n /**\r\n * See WhatsappMessageInteractiveType enum\r\n */\r\n type: string;\r\n content: any;\r\n}\r\n\r\nexport enum WhatsappMessageInteractiveType {\r\n Buttons = \"Buttons\",\r\n List = \"List\",\r\n Product = \"Product\",\r\n ProductList = \"ProductList\"\r\n}\r\n\r\n","export interface IWhatsappTemplate {\r\n templateId: string;\r\n id: any;\r\n category: string;\r\n status?: string;\r\n categoryDisplayName?: string;\r\n customerCode: string;\r\n allLocalizationsAreApproved?: boolean;\r\n languages?: string;\r\n languagesStatus?: any;\r\n updatedOnUtc?: Date;\r\n localizations: IWhatsappTemplateLocalization[];\r\n createdOnUtc: Date;\r\n whatsappBusinessAccountId: string;\r\n inboundActiveNumber: string;\r\n canBeSubmited?: boolean;\r\n}\r\n\r\nexport interface IWhatsappTemplateLocalization {\r\n id: any;\r\n status: string;\r\n submitErrorCode?: string;\r\n rejectionReason?: string;\r\n languageCode: string;\r\n languageName: string;\r\n components: IWhatsappTemplateComponents;\r\n}\r\n\r\nexport interface IWhatsappTemplateComponents {\r\n id: any;\r\n header: IWhatsappTemplateHeader;\r\n body: IWhatsappTemplateBody;\r\n footer: IWhatsappTemplateFooter;\r\n buttons: IWhatsappTemplateButton[];\r\n isDynamicButtonUrlVisible?: boolean;\r\n}\r\n\r\nexport interface ICampaignWhatsappContent {\r\n header: string;\r\n headerCaptation: string;\r\n headerName: string;\r\n latitude: number;\r\n longitude: number;\r\n address: string;\r\n body: string[];\r\n button: string;\r\n}\r\n\r\nexport interface IWhatsappTemplateHeader {\r\n id: any;\r\n text: string;\r\n type: string;\r\n example?: string;\r\n}\r\n\r\nexport interface IWhatsappTemplateBody {\r\n id: any;\r\n text: string;\r\n examples?: string[];\r\n addSecurityRecommendation?: boolean;\r\n}\r\n\r\nexport interface IWhatsappTemplateFooter {\r\n id: any;\r\n text: string;\r\n codeExpirationMinutes?: number;\r\n}\r\n\r\nexport interface IWhatsappTemplateButton {\r\n id: any;\r\n text: string;\r\n type: string;\r\n subtype: string;\r\n url: string;\r\n customerUrl?: string;\r\n example?: string;\r\n autofillText?: string;\r\n packageName?: string;\r\n signatureHash?: string;\r\n}\r\n\r\nexport const WhatsappTemplateStatusName = {\r\n PendingApproval: \"PendingApproval\",\r\n Approved: \"Approved\",\r\n Draft: \"Draft\",\r\n UnderReview: \"UnderReview\",\r\n Rejected: \"Rejected\",\r\n Deleted: \"Deleted\",\r\n}\r\n\r\nexport const WhatsappTemplateStatusList = [\r\n { label: \"All\", value: \"\" },\r\n { label: WhatsappTemplateStatusName.Approved, value: WhatsappTemplateStatusName.Approved },\r\n { label: WhatsappTemplateStatusName.Draft, value: WhatsappTemplateStatusName.Draft },\r\n { label: WhatsappTemplateStatusName.Rejected, value: WhatsappTemplateStatusName.Rejected },\r\n { label: \"Under review\", value: WhatsappTemplateStatusName.UnderReview }\r\n]\r\n\r\nexport const WhatsappTemplateStatusKeyList: { [key: string]: string } = {\r\n [WhatsappTemplateStatusName.Approved]: WhatsappTemplateStatusName.Approved,\r\n [WhatsappTemplateStatusName.Draft]: WhatsappTemplateStatusName.Draft,\r\n [WhatsappTemplateStatusName.Rejected]: WhatsappTemplateStatusName.Rejected,\r\n [WhatsappTemplateStatusName.Deleted]: WhatsappTemplateStatusName.Deleted,\r\n [WhatsappTemplateStatusName.UnderReview]: \"Under review\",\r\n [WhatsappTemplateStatusName.PendingApproval]: \"Submited request for approval\",\r\n}\r\n\r\n\r\n\r\nexport const WhatsappTemplateHeaderType = {\r\n None: \"None\",\r\n Text: \"Text\",\r\n Image: \"Image\",\r\n Video: \"Video\",\r\n Document: \"Document\",\r\n Location: \"Location\"\r\n}\r\n\r\nexport const WhatsappTemplateHeaderTypeList = [\r\n { label: WhatsappTemplateHeaderType.None, value: WhatsappTemplateHeaderType.None, icon: \"cancel\" },\r\n { label: WhatsappTemplateHeaderType.Text, value: WhatsappTemplateHeaderType.Text, icon: \" text_fields\" },\r\n { label: WhatsappTemplateHeaderType.Image, value: WhatsappTemplateHeaderType.Image, icon: \"insert_photo\" },\r\n { label: WhatsappTemplateHeaderType.Video, value: WhatsappTemplateHeaderType.Video, icon: \"videocam\" },\r\n { label: WhatsappTemplateHeaderType.Document, value: WhatsappTemplateHeaderType.Document, icon: \"attach_file\" },\r\n { label: WhatsappTemplateHeaderType.Location, value: WhatsappTemplateHeaderType.Location, icon: \"location_on\" },\r\n]\r\n\r\nexport const WhatsappTemplateButtonType = {\r\n None: \"None\",\r\n QuickReply: \"quick_reply\",\r\n CallToAction: \"call_to_action\",\r\n Otp: \"otp\"\r\n}\r\n\r\nexport const WhatsappTemplateButtonTypeList = [\r\n { label: WhatsappTemplateButtonType.None, value: WhatsappTemplateButtonType.None, icon: \"cancel\" },\r\n { label: \"Quick reply\", value: WhatsappTemplateButtonType.QuickReply, icon: \"touch_app\" },\r\n { label: \"Call to action\", value: WhatsappTemplateButtonType.CallToAction, icon: \"open_in_new\" },\r\n //{ label: \"OTP\", value: WhatsappTemplateButtonType.Otp, icon: \"touch_app\" }\r\n]\r\n\r\nexport const WhatsappTemplateButtonSubtype = {\r\n Link: \"url\",\r\n Phone: \"phone\"\r\n}\r\n\r\nexport const WhatsappTemplateOtpButtonSubtype = {\r\n ONE_TAP: \"ONE_TAP\",\r\n COPY_CODE: \"COPY_CODE\"\r\n}\r\n\r\nexport const WhatsappTemplateButtonSubtypeList = [\r\n { label: \"Phone number\", value: WhatsappTemplateButtonSubtype.Phone },\r\n { label: \"Link\", value: WhatsappTemplateButtonSubtype.Link }\r\n]\r\n\r\nexport const WhatsappTemplateOtpButtonSubtypeList = [\r\n { label: \"Copy code\", value: WhatsappTemplateOtpButtonSubtype.COPY_CODE },\r\n { label: \"One-tap autofill\", value: WhatsappTemplateOtpButtonSubtype.ONE_TAP }\r\n]\r\n\r\n\r\n","import { HttpClient, HttpEventType } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable, map } from 'rxjs';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { IAiAssistantLog } from '../../interfaces/ai/ai-assistant-log.interface';\r\nimport { AskAssistantRequest } from '../../interfaces/ai/ask-assistant-request';\r\nimport { AskAssistantResponse } from '../../interfaces/ai/ask-assistant-response';\r\nimport { IAssistantEndpointHit } from '../../interfaces/ai/assistant-end-point-hit.interface';\r\nimport { IAiAssistantInstruction, IAiAssistantModel, IAssistant, IAssistantFileSizeInfo } from '../../interfaces/ai/assistant.interface';\r\nimport { IAutomaticTextTranslation } from '../../interfaces/ai/automatic-text-translation';\r\nimport { IBotDetectLanguageBilling } from '../../interfaces/ai/bot-detect-language-billing.interface';\r\nimport { IBotEntity, IBotSubEntity } from '../../interfaces/ai/bot-entity.interface';\r\nimport { IBotEnvironment } from '../../interfaces/ai/bot-environment.interface';\r\nimport { IBotIntentEntity } from '../../interfaces/ai/bot-intent-entity.interface';\r\nimport { IBotIntentUtterance } from '../../interfaces/ai/bot-intent-utterance.interface';\r\nimport { IBotIntent } from '../../interfaces/ai/bot-intent.interface';\r\nimport { IBotLanguage } from '../../interfaces/ai/bot-language.interface';\r\nimport { IBotPrebuiltEntity } from '../../interfaces/ai/bot-prebuilt-entity.interface';\r\nimport { IBotPrediction } from '../../interfaces/ai/bot-prediction.interface';\r\nimport { IBotPublishedVersion } from '../../interfaces/ai/bot-published-version.interface';\r\nimport { IBotTestingRequest } from '../../interfaces/ai/bot-testing-request.interface';\r\nimport { IBotTimezone } from '../../interfaces/ai/bot-timezone.interface';\r\nimport { IBotTrainingBilling } from '../../interfaces/ai/bot-training-billing.interface';\r\nimport { IBot } from '../../interfaces/ai/bot.interface';\r\nimport { IBotEndpointHit } from '../../interfaces/ai/end-point-hit.interface';\r\nimport { IPredictionResult } from '../../interfaces/ai/prediction-result.interface';\r\nimport { IRephraseInstructions } from '../../interfaces/ai/rephrase-instructions.interface';\r\nimport { IActivityRequest } from '../../interfaces/common/activity-request.interface';\r\nimport { CommonRequestParams } from '../../interfaces/common/common-request-params';\r\nimport { IExportFileRequestParams } from '../../interfaces/common/export-file-request-params.interface';\r\nimport { IResponseCall } from '../../interfaces/common/response-call.interface';\r\nimport { ICustomer } from '../../interfaces/customer/customer';\r\nimport { DataSourceResponse } from '../../interfaces/data/datasourceresponse.interface';\r\nimport { GetStructResponse } from '../../interfaces/data/get-struct-response.interface';\r\n\r\n@Injectable()\r\nexport class AiManagementService {\r\n\r\n private _baseUrl: string = `${ApiBaseUrl}aimanagement`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n //bots\r\n getBots(request: CommonRequestParams): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/readBots`, request);\r\n }\r\n\r\n getAllCustomerBots(customerCode: string = ''): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/readBots/${customerCode}`);\r\n }\r\n\r\n getBot(botId: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/bot/${botId}`);\r\n }\r\n\r\n getBotByName(botUniqueIdentifier: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/bot-name/${botUniqueIdentifier}`);\r\n }\r\n\r\n getLanguages(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/language`);\r\n }\r\n\r\n getBotDefaultLanguage(botId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/default-language/${botId}`);\r\n }\r\n\r\n createBot(bot: IBot): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/createBot`, bot);\r\n }\r\n\r\n cloneBot(bot: IBot, botId: any): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/cloneBot/${botId}`, bot);\r\n }\r\n\r\n updateBot(bot: IBot): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/updateBot`, bot);\r\n }\r\n\r\n deleteBot(bot: IBot): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/deleteBot`, bot);\r\n }\r\n\r\n getBotEnvironments(botId: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/environments/${botId}`);\r\n }\r\n\r\n getBotPublishedEnvironments(botId: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/published-environments/${botId}`);\r\n }\r\n\r\n publishBot(bot: IBot): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/publishBot`, bot);\r\n }\r\n\r\n trainBot(bot: IBot): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/trainBot`, bot);\r\n }\r\n\r\n testBot(request: IBotTestingRequest): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/testBot`, request);\r\n }\r\n getBotPublishedVersions(request: CommonRequestParams, botId): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/published-versions/${botId}`, request);\r\n }\r\n\r\n getBotAllPublishedVersions(botId): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/published-versions/${botId}`);\r\n }\r\n\r\n getBotTimeZone(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/timezones`);\r\n }\r\n\r\n //intents\r\n getBotIntents(request: CommonRequestParams, botId): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/read-intents/${botId}`, request);\r\n }\r\n\r\n getAllBotIntents(botId): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/read-intents/${botId}`);\r\n }\r\n\r\n createBotIntent(botIntent: IBotIntent): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/createIntent`, botIntent);\r\n }\r\n\r\n updateBotIntent(botIntent: IBotIntent): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/updateIntent`, botIntent);\r\n }\r\n\r\n deleteIntent(botIntent: IBotIntent): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/deleteIntent`, botIntent);\r\n }\r\n\r\n getBotIntentUtterances(request: CommonRequestParams, botIntendId: any): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/read-phareses/${botIntendId}`, request);\r\n }\r\n\r\n saveBotIntentUtterances(list: IBotIntentUtterance[], botIntendId: any, botid: any): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/save-phareses/${botIntendId}/${botid}`, list);\r\n }\r\n\r\n checkIfSubentityIsUsed(subEntity: IBotSubEntity, botId: any) {\r\n return this.httpClient.post(`${this._baseUrl}/subentity-usage/${botId}`, subEntity)\r\n }\r\n\r\n //predictions\r\n getBotPredictions(request: CommonRequestParams, botId): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/read-predictions/${botId}`, request);\r\n }\r\n\r\n savePredictionForIntent(botPrediction: IBotPrediction): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/savePrediction`, botPrediction);\r\n }\r\n\r\n deletePrediction(botPrediction: IBotPrediction): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/deletePrediction`, botPrediction);\r\n }\r\n\r\n //entities\r\n getEntities(request: CommonRequestParams, botId): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/read-entities/${botId}`, request);\r\n }\r\n\r\n getAllEntities(botId: any, name: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/read-all-entities/${botId}/${name}`);\r\n }\r\n\r\n getPrebuiltEntities(botId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/prebuilt-entities/${botId}`);\r\n }\r\n\r\n createEntity(entity: IBotEntity): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/create-entity`, entity);\r\n }\r\n\r\n updateEntity(entity: IBotEntity): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/update-entity`, entity);\r\n }\r\n\r\n createEntities(entities: IBotEntity[]): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/create-entities`, entities);\r\n }\r\n\r\n deleteEntity(entity: IBotEntity): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/delete-entity`, entity);\r\n }\r\n\r\n getEntity(id: any, botId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/entity/${id}/${botId}`);\r\n }\r\n\r\n getEntityIntents(id: any, botId: any, request: CommonRequestParams): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/entity-intents/${id}/${botId}`, request);\r\n }\r\n\r\n getAllEntityIntents(id: any, botId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/all-entity-intents/${id}/${botId}`);\r\n }\r\n\r\n //activity\r\n getBotEndpointHits(request: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/activity`, request);\r\n }\r\n\r\n getActivityAggregates(request: IActivityRequest): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/activityAggregates`, request);\r\n }\r\n\r\n exportBotEndpointHits(request: IExportFileRequestParams): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/exportActivity`, request);\r\n }\r\n\r\n //rephrase instructions\r\n //!!!if this method is changed with pagination search all references and make another method for all to call\r\n getAiRephraseInstructionsEntities(): Observable> {\r\n return this.httpClient.get>(`${this._baseUrl}/rephrase-instructions`);\r\n }\r\n\r\n saveAiRephraseInstructionsEntity(rephraseInstructions: IRephraseInstructions): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/save-rephrase-instructions-entity`, rephraseInstructions);\r\n }\r\n\r\n deleteAiRephraseInstructionsEntity(rephraseInstructions: IRephraseInstructions): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/delete-rephrase-instructions-entity`, rephraseInstructions);\r\n }\r\n\r\n updateAiRephraseInstructionsEntity(rephraseInstructions: IRephraseInstructions): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/update-rephrase-instructions-entity`, rephraseInstructions);\r\n }\r\n\r\n //assistants\r\n getAssistants(request: CommonRequestParams): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/read-assistants`, request);\r\n }\r\n\r\n getAssistantActivity(request: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/assistant-activity`, request);\r\n }\r\n\r\n getAssistantActivityAggregates(request: IActivityRequest): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/assistant-activityAggregates`, request);\r\n }\r\n\r\n exportAssistantEndpointHits(request: IExportFileRequestParams): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/assistant-exportActivity`, request);\r\n }\r\n\r\n getAssistant(id: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/assistant/${id}`);\r\n }\r\n\r\n getFileSizeInfo(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/fileSize-info`);\r\n }\r\n\r\n getAssistantModels(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/assistant-models`);\r\n }\r\n\r\n getAssistantInstructions(type: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/assistant-instructions/${type}`);\r\n }\r\n\r\n createAssistant(data: any): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/create-assistant`, data);\r\n }\r\n\r\n updateAssistant(data: any): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/update-assistant`, data);\r\n }\r\n\r\n uploadAssistantFiles(data: any) {\r\n return this.httpClient.post(`${this._baseUrl}/upload-assistant-files`, data, {\r\n reportProgress: true,\r\n observe: 'events'\r\n }).pipe(\r\n map((event) => {\r\n switch (event.type) {\r\n case HttpEventType.UploadProgress:\r\n const progress = Math.round(100 * event.loaded / event.total);\r\n return { status: 'progress', message: progress };\r\n\r\n case HttpEventType.Response:\r\n return event.body;\r\n\r\n case HttpEventType.ResponseHeader: {\r\n //add also this type, in case of large files, type 4 (HttpEventType.Response) is received after a longer period\r\n return { success: event.ok };\r\n }\r\n\r\n default:\r\n return `Unhandled event: ${event.type}`;\r\n }\r\n })\r\n );\r\n }\r\n\r\n deleteAssistant(assistant: IAssistant): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/delete-assistant`, assistant);\r\n }\r\n\r\n cancelDeletion(assistant: IAssistant): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/cancel-delete-assistant`, assistant);\r\n }\r\n\r\n reactivateAssistant(assistant: IAssistant): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/reactivate-assistant`, assistant);\r\n }\r\n\r\n getAllAssistants(customerCode: string = \"\"): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/read-assistants/${customerCode}`);\r\n }\r\n\r\n getAllCustomerAssistants(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/read-customers-assistant`);\r\n }\r\n\r\n updateAssistantInstructions(assistant: IAssistant): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/update-assistant-instructions`, assistant);\r\n }\r\n\r\n getDefaultAssistantInstructions(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/default-instructions`);\r\n }\r\n\r\n saveDefaultAssistantInstructions(instructions:IAiAssistantInstruction): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/default-instructions`, instructions);\r\n }\r\n\r\n //ask assistant\r\n askAssistant(request: AskAssistantRequest): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/test-assistant`, request);\r\n }\r\n\r\n startSession(assistantId: string, assistantType: string):Observable> {\r\n return this.httpClient.get>(`${this._baseUrl}/start-assistant-thread/${assistantId}/${assistantType}`);\r\n }\r\n\r\n deleteSession(threadId: string, assistantType: string, assistantId: string): Observable> {\r\n return this.httpClient.get>(`${this._baseUrl}/delete-assistant-thread/${threadId}/${assistantId}/${assistantType}`);\r\n }\r\n\r\n getAssistantsBillingDetails(request: CommonRequestParams): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/billing-info-assistant`, request);\r\n }\r\n\r\n getTrainingBillingDetails(request: CommonRequestParams, ownTransactions: boolean): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/training-billing-details/${ownTransactions}`, request);\r\n }\r\n\r\n getDetectLanguageBillingDetails(request: IActivityRequest, ownTransactions: boolean): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/detect-language-billing-details/${ownTransactions}`, request);\r\n }\r\n\r\n getTranslateBillingDetails(request: IActivityRequest, ownTransactions: boolean): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/translate-billing-details/${ownTransactions}`, request);\r\n }\r\n\r\n}\r\n","import { HttpClient, HttpEventType, HttpParams } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { IAutopilotSettings, IAutopilotSettingsResponse } from '../../interfaces/ai/autopilot-settings.interface';\r\nimport { IStructResponseCall } from '../../interfaces/common/struct-response-call.interface';\r\nimport { ISmartDialogTrigger } from '../../interfaces/smart-dialog/smart-dialog-trigger.interface';\r\nimport { ISmartDialogDefaultImage } from '../../interfaces/smart-dialog/smart-dialog-default-image.interface';\r\nimport { ISmartDialogWebSettings } from '../../interfaces/smart-dialog/smart-dialog-web-settings.interface';\r\nimport { map } from 'rxjs/operators';\r\nimport { ISmartDialogTemplate } from '../../interfaces/smart-dialog/smart-dialog-template. interface';\r\n\r\n@Injectable()\r\nexport class AutopilotService {\r\n private _baseUrl: string = `${ApiBaseUrl}autopilot`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n getAutopilotSettings(botId: any, channel:string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/settings/${channel}/${botId}`);\r\n }\r\n\r\n saveAutopilotSettings(settings: IAutopilotSettings): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/settings`, settings);\r\n }\r\n\r\n getTriggers(filterName: string, botId: any):Observable {\r\n return this.httpClient.get(`${this._baseUrl}/triggers/${botId}/${filterName}`);\r\n }\r\n\r\n getIntentTriggers(intentId:any, botId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/intent-triggers/${botId}/${intentId}`);\r\n }\r\n\r\n getContexts(botId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/contexts/${botId}`);\r\n }\r\n\r\n saveTrigger(trigger: ISmartDialogTrigger): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/save-trigger`, trigger);\r\n }\r\n\r\n deleteTrigger(trigger: ISmartDialogTrigger): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/delete-trigger`, trigger);\r\n }\r\n\r\n getTemplates(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/templates`);\r\n }\r\n\r\n createEmptyTrigger(trigger: ISmartDialogTrigger): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/save-empty-trigger`, trigger);\r\n }\r\n\r\n translate(botId:any, triggerId:any=\"\"): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/translate/${botId}/${triggerId}`);\r\n }\r\n\r\n //web design\r\n\r\n getDefaultImages(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/default-images`);\r\n }\r\n\r\n getWebSettings(botId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/web-settings/${botId}`);\r\n }\r\n\r\n updateWebSettings(data: any) {\r\n return this.httpClient.post(`${this._baseUrl}/update-web-settings`, data, {\r\n reportProgress: true,\r\n observe: 'events'\r\n }).pipe(\r\n map((event) => {\r\n switch (event.type) {\r\n case HttpEventType.UploadProgress:\r\n const progress = Math.round(100 * event.loaded / event.total);\r\n return { status: 'progress', message: progress };\r\n\r\n case HttpEventType.Response:\r\n return event.body;\r\n\r\n default:\r\n return `Unhandled event: ${event.type}`;\r\n }\r\n })\r\n );\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\nexport const ActionQueueKeys = {\r\n surveyKey: 'surveyKey',\r\n};\r\n\r\ninterface IActionConfig {\r\n action: () => void;\r\n key?: string;\r\n waitForKey?: string;\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ActionQueueService {\r\n\r\n private waitingActions: Array = [];\r\n private waitList = new Set();\r\n\r\n private globalKeys = [\r\n ActionQueueKeys.surveyKey\r\n ];\r\n\r\n constructor() {\r\n this.globalKeys.forEach(key => {\r\n this.waitList.add(key);\r\n });\r\n }\r\n\r\n enqueue(action: () => void, key?: string, waitForKey?: string | null): void {\r\n let actionConfig: IActionConfig = { action, key, waitForKey };\r\n\r\n if (key != null) {\r\n this.waitList.add(key);\r\n }\r\n\r\n this.process(actionConfig);\r\n }\r\n\r\n private process(actionConfig: IActionConfig): void {\r\n if (actionConfig.waitForKey && this.waitList.has(actionConfig.waitForKey)) {\r\n this.waitingActions.push(actionConfig);\r\n return;\r\n }\r\n\r\n actionConfig.action();\r\n }\r\n\r\n completeWaitingAction(key: string, delay: number = 0): void {\r\n this.delayedAction(delay).then(() => {\r\n this.waitList.delete(key);\r\n\r\n const configIndex = this.waitingActions.findIndex(x => x.waitForKey === key);\r\n\r\n if (configIndex === -1) {\r\n return;\r\n }\r\n\r\n const config = this.waitingActions[configIndex];\r\n\r\n config.action();\r\n\r\n this.waitingActions.splice(configIndex, 1);\r\n //console.log('wait list:', this.waitList);\r\n });\r\n }\r\n\r\n private delayedAction(delay: number): Promise {\r\n return new Promise(resolve => setTimeout(resolve, delay));\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ManageAccountService } from './manage-account.service';\r\nimport { Subject, Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class LocalStorageService {\r\n\r\n constructor(private manageAccountService: ManageAccountService) { }\r\n\r\n private changes: Subject = new Subject();\r\n\r\n onChange(): Observable {\r\n return this.changes.asObservable();\r\n }\r\n\r\n set(key, value) {\r\n localStorage.setItem(key, value);\r\n this.changes.next(key);\r\n }\r\n\r\n get(key) {\r\n return localStorage.getItem(key);\r\n }\r\n\r\n remove(key) {\r\n localStorage.removeItem(key);\r\n this.changes.next(key);\r\n }\r\n\r\n setWithExpiry(key, value, ttl) {\r\n var now = new Date();\r\n\r\n // `item` is an object which contains the original value\r\n // as well as the time when it's supposed to expire\r\n const item = {\r\n value: value,\r\n expiry: now.getTime() + (ttl * 60 * 60 * 1000),\r\n }\r\n //console.log(\"expiry=\", item.expiry);\r\n localStorage.setItem(key, JSON.stringify(item));\r\n\r\n this.changes.next(key);\r\n }\r\n\r\n getWithExpiry(key) {\r\n const itemStr = localStorage.getItem(key);\r\n // if the item doesn't exist, return null\r\n if (!itemStr) {\r\n return null;\r\n }\r\n const item = JSON.parse(itemStr);\r\n\r\n const now = new Date();\r\n // compare the expiry time of the item with the current time\r\n if (now.getTime() > item.expiry) {\r\n // If the item is expired, delete the item from storage\r\n // and return null\r\n localStorage.removeItem(key);\r\n \r\n return this.getFromAppSettings();\r\n }\r\n return item.value;\r\n }\r\n\r\n getFromAppSettings(): string[] {\r\n var modules: string[] = [];\r\n this.manageAccountService.getAppSettings().subscribe(value => {\r\n if (value == null) {\r\n return;\r\n }\r\n\r\n this.setWithExpiry(\"BetaModules\", value, 1);\r\n modules = value;\r\n return modules;\r\n });\r\n return modules;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { IManageAccount } from '../../interfaces/common/manage-account.interface';\r\nimport { ITimeZone } from '../../interfaces/common/time-zone.interface';\r\nimport { IResponseCall } from '../../interfaces/common/response-call.interface';\r\nimport { IUser2faAuthCodes } from '../../interfaces/user/user2fa-auth-codes';\r\n\r\n@Injectable()\r\nexport class ManageAccountService {\r\n\r\n private _baseUrl: string = `${ApiBaseUrl}manageaccount`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n getAccountInfo(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}`);\r\n }\r\n\r\n getTimeZones(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/timeZone`);\r\n }\r\n\r\n updateAccountOInfo(account: IManageAccount): Observable {\r\n return this.httpClient.post(`${this._baseUrl}`,account );\r\n }\r\n\r\n changePassword(oldPassword: string, newPassword: string): Observable {\r\n const params = new HttpParams().set(\"oldPassword\", oldPassword).set(\"newPassword\", newPassword);\r\n return this.httpClient.post(`${this._baseUrl}/changePassword`, params)\r\n }\r\n \r\n checkEnabled2faAuth(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/check2faAuth`);\r\n }\r\n\r\n getAtuhenticatorCodes(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/2faAuthCodes`);\r\n }\r\n\r\n enable2FaAuth(verificationCode: string): Observable {\r\n const params = new HttpParams().set(\"code\", verificationCode);\r\n return this.httpClient.post(`${this._baseUrl}/2faAuth`, params);\r\n }\r\n\r\n disable2FaAuth(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/disable2faAuth`);\r\n }\r\n\r\n getAppSettings(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/appsettingsBeta`);\r\n }\r\n\r\n refreshAuthToken(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/refresh-token`);\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { IPaymentMethod } from '../../interfaces/payment/payment-method';\r\nimport { IActivityRequest } from '../../interfaces/common/activity-request.interface';\r\nimport { IPaymentHistory } from '../../interfaces/payment/payment-history.interface';\r\nimport { DataSourceResponse } from '../../interfaces/data/datasourceresponse.interface';\r\nimport { ICustomerAutoRechargeInfo } from '../../interfaces/customer/customer-auto-recharge-info';\r\nimport { IPaymentTransactionResponse } from '../../interfaces/payment/payment-transaction-response';\r\nimport { IPaymentSettings } from '../../interfaces/payment/payment-settings.interface';\r\nimport { IPaymentIntentRequest } from '../../interfaces/payment/payment-intent-request';\r\n\r\n@Injectable()\r\nexport class PaymentsService {\r\n private _baseUrl=`${ApiBaseUrl}payments`\r\n\r\n constructor(private httpClient:HttpClient) { }\r\n\r\n createPaymentIntent(paymentIntentRequest: IPaymentIntentRequest): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/createPaymentIntent`, paymentIntentRequest);\r\n }\r\n\r\n saveCard(paymentMethod: any, stripeCustomerId: string, isDefault:boolean): Observable {\r\n const params = new HttpParams().set(\"paymentMethodId\", paymentMethod).set(\"isDefaultString\",isDefault.toString());\r\n return this.httpClient.post(`${this._baseUrl}/updateCustomer/${stripeCustomerId}`, params);\r\n }\r\n\r\n isStripeCustomer(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}`);\r\n }\r\n\r\n getStripeKey(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/stripeKey`);\r\n }\r\n\r\n getPaymentMethods(stripeCustomerId: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/paymentMethods/${stripeCustomerId}`);\r\n }\r\n\r\n deletePaymentMethod(paymentMethodId: string, stripeCustomerId: string): Observable {\r\n const params = new HttpParams().set(\"stripeCustomerId\", stripeCustomerId);\r\n return this.httpClient.post(`${this._baseUrl}/detachPaymentMethod/${paymentMethodId}`,params);\r\n }\r\n\r\n createSetupIntent(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/createSetupIntent`);\r\n }\r\n\r\n updatePaymentMethod(customerStripeId:string, paymentMethod:IPaymentMethod): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/updatePaymentMethod/${customerStripeId}`, paymentMethod);\r\n }\r\n\r\n getPaymentHistory(activity: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/paymentHistory`, activity);\r\n }\r\n\r\n getAutoRechargeInfo(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/getCustomerAutoRechargeInfo`)\r\n }\r\n\r\n updateAutoRechargeInfo(autoRechargeInfo: ICustomerAutoRechargeInfo):Observable {\r\n return this.httpClient.post(`${this._baseUrl}/updateCustomerAutoRechargeInfo`, autoRechargeInfo);\r\n }\r\n\r\n processPayPalPayment(paymentTransaction: IPaymentTransactionResponse): Observable {\r\n \r\n return this.httpClient.post(`${this._baseUrl}/paypalPayment`, paymentTransaction);\r\n }\r\n\r\n getPaypalInfo(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/paypalClient`);\r\n }\r\n\r\n getPaymentSettings(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/paymentSettings`)\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { IRechargeDiscount } from '../../interfaces/payment/recharge-discount.interface';\r\nimport { Observable } from 'rxjs';\r\nimport { AppliedDiscountResponse } from '../../interfaces/payment/applied-discount-response.interface';\r\n\r\n@Injectable()\r\nexport class RechargeDiscountService {\r\n\r\n private _baseUrl = `${ApiBaseUrl}rechargediscount`\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n getRechargeDiscounts(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}`);\r\n }\r\n\r\n getRechargeDiscount(id:any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/discount/${id}`);\r\n }\r\n\r\n updateRechargeDiscount(rechargeDiscount: IRechargeDiscount): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/update/`, rechargeDiscount);\r\n }\r\n\r\n deleteRechargeDiscount(rechargeDiscount: IRechargeDiscount): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/delete/`, rechargeDiscount);\r\n }\r\n\r\n createRechargeDiscount(rechargeDiscount: IRechargeDiscount): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/create/`, rechargeDiscount);\r\n }\r\n\r\n updateAllRechargeDiscount(monthToExpire: number): Observable {\r\n const params = new HttpParams().set(\"monthToExpire\", monthToExpire.toString());\r\n return this.httpClient.post(`${this._baseUrl}/updateAll/`, params);\r\n }\r\n\r\n getRechargeDiscountByAmount(amount: number): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/discountByAmount/${amount}`);\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { IBillingInfo } from '../../interfaces/common/billing-info.interface';\r\nimport { ICountry } from '../../interfaces/common/country.interface';\r\n\r\n@Injectable()\r\nexport class BillingInfoService {\r\n private _baseUrl = `${ApiBaseUrl}customerbillinginfo`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n getBillingInfo(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}`);\r\n }\r\n\r\n updateBillingInfo(billingInfo: IBillingInfo): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/update`, billingInfo);\r\n }\r\n\r\n getCountries(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/countries`);\r\n }\r\n\r\n getCustomerBillingInfo(customerCode: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/customerBilling/${customerCode}`);\r\n }\r\n\r\n getCountriesLanguages(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/countries-language`);\r\n }\r\n}\r\n","import { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { ICustomerRequest } from '../../interfaces/common/customer-request.interface';\r\nimport { IResponseCall } from '../../interfaces/common/response-call.interface';\r\nimport { IChildrenPricelistExceptionUses } from '../../interfaces/customer/children-pricelist-exception-uses.interface';\r\nimport { ICustomer } from '../../interfaces/customer/customer';\r\nimport { ICustomerSenderAndProvider } from '../../interfaces/customer/customer-sender-and-provider';\r\nimport { ICustomerSms } from '../../interfaces/customer/customer-sms';\r\nimport { ICustomerVoice } from '../../interfaces/customer/customer-voice';\r\nimport { CustomerTradePolicy } from '../../interfaces/customer/default-price-list';\r\nimport { DataSourceResponse } from '../../interfaces/data/datasourceresponse.interface';\r\n\r\n@Injectable()\r\nexport class CustomerService {\r\n private _baseUrl: string = `${ApiBaseUrl}customer`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n getCustomers(customerRequest: ICustomerRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/customers/`, customerRequest);\r\n }\r\n\r\n getallCustomerForAdmin(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/allCustomersForAdmin`);\r\n }\r\n\r\n getParentsCustomers(customerType: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/allParents/${customerType}`);\r\n }\r\n\r\n getCustomersByType(customerType: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/all/${customerType}`);\r\n }\r\n\r\n createCustomer(customer: ICustomer): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/create`, customer);\r\n }\r\n\r\n createAdmin(customer: ICustomer): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/create-admin`, customer);\r\n }\r\n\r\n updateAdmin(customer: ICustomer): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/update-admin`, customer);\r\n }\r\n\r\n deleteAdmin(customer: ICustomer): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/delete-admin`, customer);\r\n }\r\n\r\n getCustomer(customerCode: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/${customerCode}`);\r\n }\r\n\r\n getCustomerFromCache(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/cached`);\r\n }\r\n\r\n getCustomerByCustomerCodeFromCache(customerCode: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/cached-with-customerCode/${customerCode}`);\r\n }\r\n\r\n updateCustomer(customer: ICustomer): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/update`, customer);\r\n }\r\n\r\n getChildren(customerCode: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/childs/${customerCode}`);\r\n }\r\n\r\n getCustomerChildren(customerCode: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/children/${customerCode}`);\r\n }\r\n\r\n getUserChildren(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/children`);\r\n }\r\n\r\n getUserChildrenList(page: number, pageSize: number): Observable> {\r\n const params = new HttpParams().set(\"page\", page.toString()).set(\"pageSize\", pageSize.toString());\r\n return this.httpClient.get>(`${this._baseUrl}/childrenList`,\r\n {\r\n params: params\r\n });\r\n }\r\n\r\n deleteCustomer(customer: ICustomer): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/delete`, customer);\r\n }\r\n\r\n getCustomersForAffiliate(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/affiliateCustomers`);\r\n }\r\n\r\n getAffiliates(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/affiliates`);\r\n }\r\n\r\n checkIfIsAffiliate(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/isAffiliate`);\r\n }\r\n\r\n getUserLeads(customerCode: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/leadCustomers/${customerCode}`);\r\n }\r\n\r\n getCustomerTradePolicy(customerCode: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/customerTrade/${customerCode}`);\r\n }\r\n\r\n saveCustomerTradePolicy(customerTrade: CustomerTradePolicy): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/customerTrade`, customerTrade);\r\n }\r\n\r\n verifyPriceList(customerCode: string, priceListId: string, channel: string): Observable {\r\n const params = new HttpParams().set(\"customerCode\", customerCode).set(\"pricelistId\", priceListId);\r\n\r\n return this.httpClient.get(`${this._baseUrl}/verifypricelist/${channel}`,\r\n {\r\n params: params\r\n });\r\n }\r\n\r\n getCustomerSettings(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/apiRequestChargeType`);\r\n }\r\n\r\n //sms\r\n getCustomerSms(customerCode: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/sms/${customerCode}`);\r\n }\r\n\r\n createCustomerSms(customerSms: ICustomerSms): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/sms/create`, customerSms);\r\n }\r\n\r\n updateCustomerSms(customerSms: ICustomerSms): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/sms/update`, customerSms);\r\n }\r\n\r\n\r\n //voice\r\n getCustomerVoice(customerCode: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/voice/${customerCode}`);\r\n }\r\n\r\n createCustomerVoice(customerVoice: ICustomerVoice): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/voice/create`, customerVoice);\r\n }\r\n\r\n updateCustomerVoice(customerVoice: ICustomerVoice): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/voice/update`, customerVoice);\r\n }\r\n\r\n //senders and providers\r\n\r\n getSendersAndProviders(customerCode: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/sendersproviders/${customerCode}`)\r\n }\r\n\r\n createSenderAndProvidersSettings(senderAndProvidersSettings: ICustomerSenderAndProvider): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/sendersproviders/create`, senderAndProvidersSettings)\r\n }\r\n\r\n updateSenderAndProvidersSettings(senderAndProvidersSettings: ICustomerSenderAndProvider): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/sendersproviders/update`, senderAndProvidersSettings)\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { ICreditUsageRequest } from '../../interfaces/common/credit-usage-request.interface';\r\nimport { IAccountInfo } from '../../interfaces/customer/account-info';\r\nimport { ICreditConsumption } from '../../interfaces/customer/credit-consumption';\r\nimport { ICreditUpdateInfo } from '../../interfaces/customer/credit-update-info';\r\nimport { ICustomerCreditLogHistory } from '../../interfaces/customer/customer-credit-log-history';\r\nimport { ICustomerUsage } from '../../interfaces/customer/customer-usage';\r\nimport { ICustomerCredit } from '../../interfaces/customer/customercredit.interface';\r\nimport { ICustomerTransaction } from '../../interfaces/customer/customertransaction.interface';\r\nimport { DataSourceResponse } from '../../interfaces/data/datasourceresponse.interface';\r\nimport { ISelectListItem } from '../../interfaces/data/select-list-item';\r\nimport { IFilterAndSortRequest } from '../../interfaces/filter/filter-and-sort-request';\r\nimport { IPaymentHistory } from '../../interfaces/payment/payment-history.interface';\r\nimport { ICustomerVoiceSuccessRate } from '../../interfaces/voice/customer-voice-success-rate.interface';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CustomerCreditService {\r\n private _baseUrl: string = `${ApiBaseUrl}customercredit`;\r\n private _baseUrl2: string = `${ApiBaseUrl}getcustomercredit`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n getCustomersCredit(request: IFilterAndSortRequest, isInitialized: boolean): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/credits/${isInitialized}`, request);\r\n }\r\n\r\n getCustomerCredit(customerCode): Observable {\r\n return this.httpClient.get(`${this._baseUrl2}/${customerCode}`);\r\n }\r\n\r\n getCustomerCredits(all?:string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/getcredits/${all}`);\r\n }\r\n\r\n getCustomerTransaction(customerCode: string, request: ICreditUsageRequest): Observable> {\r\n //const params = new HttpParams().set(\"pageSize\", pageSize.toString());\r\n \r\n return this.httpClient.post>(`${this._baseUrl}/${customerCode}`,request);\r\n }\r\n\r\n\r\n getCustomerTransactions(request:ICreditUsageRequest): Observable> {\r\n //const params = new HttpParams().set(\"page\", page.toString()).set(\"pageSize\", pageSize.toString());\r\n return this.httpClient.post>(`${this._baseUrl}/transaction`, request)\r\n }\r\n\r\n getAccountInfo(): Observable>{\r\n return this.httpClient.get>(`${this._baseUrl}/accountinformation`);\r\n }\r\n\r\n createTransaction(transaction: ICustomerTransaction): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/create`, transaction);\r\n }\r\n\r\n updateCreditLimit(customerCredit: ICustomerCredit): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/update`, customerCredit);\r\n }\r\n\r\n getMonthInterval(customerCode=''): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/usageinterval/${customerCode}`);\r\n }\r\n\r\n getCustomerCreditConsumption(year = 0, month = 0): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/consumption/${year}/${month}`);\r\n }\r\n\r\n getCustomerCreditHistory(usageRequest:ICreditUsageRequest):\r\n Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/history`, usageRequest);\r\n }\r\n\r\n updateCreditAlertsInfo(customerCredit: ICustomerCredit): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/updateCreditAlert`, customerCredit);\r\n }\r\n\r\n getCustomerUsage(year, month, customerCode:string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/creditUsage/${year}/${month}/${customerCode}`);\r\n }\r\n\r\n getLeadTransactionsByMonth(usageRequest:ICreditUsageRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/transactionsByMonth`, usageRequest);\r\n }\r\n\r\n updateTransaction(creditTransaction: ICustomerTransaction): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/updateTransaction`, creditTransaction);\r\n }\r\n\r\n getChildrenTransactionsByMonth(usageRequest: ICreditUsageRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/getAllTransactions`, usageRequest);\r\n }\r\n\r\n getCustomerVoiceSuccessRate(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/voiceSuccessRate`);\r\n }\r\n\r\n getCreditTransactionsByMonth(usageRequest: ICreditUsageRequest, isPending: boolean): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/transactionMonitor/${isPending}`, usageRequest);\r\n }\r\n\r\n getCustomerPaymentHistoryByMonth(usageRequest: ICreditUsageRequest, isPending: boolean): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/transactionMonitor/${isPending}`, usageRequest);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { HttpClient, HttpEventType } from '@angular/common/http';\r\nimport { map } from 'rxjs/operators';\r\nimport { Observable } from 'rxjs';\r\nimport { IInboundVoicePricelistItem } from '../../interfaces/inbound/inbound-voice-pricelist-item.interface';\r\nimport { DataSourceResponse } from '../../interfaces/data/datasourceresponse.interface';\r\nimport { IInboundVoicePricelistResponse } from '../../interfaces/inbound/inbound-voice-pricelist-response.interface';\r\nimport { IVoiceInboundPriceListItemsRequest } from '../../interfaces/common/pricelist-items-request.interface';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class InboundVoicePricelistService {\r\n\r\n private _baseUrl: string = `${ApiBaseUrl}inboundvoicepricelist`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n \r\n\r\n uploadFile(billingType: string, data: any) {\r\n return this.httpClient.post(`${this._baseUrl}/upload/${billingType}`, data, {\r\n reportProgress: true,\r\n observe: 'events'\r\n }).pipe(\r\n map((event) => {\r\n switch (event.type) {\r\n case HttpEventType.UploadProgress:\r\n const progress = Math.round(100 * event.loaded / event.total);\r\n return { status: 'progress', message: progress };\r\n\r\n case HttpEventType.Response:\r\n return event.body;\r\n default:\r\n return `Unhandled event: ${event.type}`;\r\n }\r\n })\r\n );\r\n }\r\n\r\n getPriceListItems(request: IVoiceInboundPriceListItemsRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/all/`, request);\r\n }\r\n\r\n createPriceListItem(pricelistItem: IInboundVoicePricelistItem): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/create`, pricelistItem);\r\n }\r\n\r\n deletePriceListItem(pricelistItem: IInboundVoicePricelistItem): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/delete`, pricelistItem);\r\n }\r\n\r\n updatePriceListItem(pricelistItem: IInboundVoicePricelistItem): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/update`, pricelistItem);\r\n }\r\n\r\n getPriceListItem(id: any, billingType: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/route/${id}/${billingType}`);\r\n }\r\n\r\n getTotalItems(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/totalItems`);\r\n }\r\n\r\n getInboundBasePrices(request: IVoiceInboundPriceListItemsRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/userPrices`, request);\r\n }\r\n\r\n getRouteBillingTypes(code:any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/routeBillingTypes/${code}`);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { IActivityRequest } from '../../interfaces/common/activity-request.interface';\r\nimport { CommonRequestParams } from '../../interfaces/common/common-request-params';\r\nimport { IExportFileRequestParams } from '../../interfaces/common/export-file-request-params.interface';\r\nimport { IResponseCall } from '../../interfaces/common/response-call.interface';\r\nimport { DataSourceResponse } from '../../interfaces/data/datasourceresponse.interface';\r\nimport { ILiveAgentActivity } from '../../interfaces/live-agent/live-agent-activity';\r\nimport { ILiveAgentActivityAggregates } from '../../interfaces/live-agent/live-agent-activity-aggregates';\r\nimport { ILiveAgentActivityLog } from '../../interfaces/live-agent/live-agent-activity-log';\r\nimport { ILiveAgentGlobalSettings } from '../../interfaces/live-agent/live-agent-global-settings';\r\nimport { ILiveAgentInteraction } from '../../interfaces/live-agent/live-agent-interaction';\r\nimport { ILiveAgentPriceList } from '../../interfaces/live-agent/live-agent-price-list';\r\nimport { ILiveAgentQueue } from '../../interfaces/live-agent/live-agent-queue';\r\nimport { ILiveAgentStatus } from '../../interfaces/live-agent/live-agent-status';\r\nimport { ILiveAgentStatusAggregates } from '../../interfaces/live-agent/live-agent-status-aggregates';\r\nimport { ILiveAgentTask } from '../../interfaces/live-agent/live-agent-task';\r\nimport { ILiveAgentTaskAggregates } from '../../interfaces/live-agent/live-agent-task-aggregates';\r\nimport { IConversationItem } from '../../interfaces/smart-dialog/conversation-item.interface';\r\n\r\n@Injectable()\r\n\r\n\r\nexport class LiveAgentStatitsticsService {\r\n\r\n private _baseUrl: string = `${ApiBaseUrl}liveagentstatistics`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n //-----live agent task-----\r\n getLiveAgentTasks(request: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/active-tasks`, request);\r\n }\r\n\r\n getLiveAgentTasksAggregates(request: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/tasks-aggregates`, request);\r\n }\r\n\r\n getLiveAgentArchivedTasks(request: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/archived-tasks`, request);\r\n }\r\n\r\n\r\n getLiveAgentTasksHistoryAggregates(request: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/taskshistory-aggregates`, request);\r\n }\r\n\r\n\r\n //-----live agent activity-----\r\n\r\n getLiveAgentActivity(request: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/activity`, request);\r\n }\r\n\r\n getLiveAgentActivityAggregates(request: IActivityRequest): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/activity-aggregates`, request);\r\n }\r\n\r\n getLiveAgentActivityLogs(request: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/activity-log`, request);\r\n }\r\n\r\n getChatLiveAgentActivity(request: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/chat-live-agent-activity`, request);\r\n }\r\n\r\n getChatLiveAgentActivityAggregates(request: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/chat-live-agent-activity-aggregates`, request);\r\n }\r\n\r\n\r\n //-----live agent sessions-----\r\n getSessionsHistory(request: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/archived-interaction`, request);\r\n }\r\n\r\n getSessionsHistoryAggregates(request: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/interaction-aggregates`, request);\r\n }\r\n\r\n getActiveSessions(request: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/ongoing-interaction`, request);\r\n }\r\n\r\n exportArchivedSessions(request: IExportFileRequestParams): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/interaction-export`, request);\r\n }\r\n\r\n getArchivedConversationsItems(conversation: ILiveAgentInteraction, transfered:boolean): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/dialog-archived/${transfered}`, conversation);\r\n }\r\n\r\n getConversationsItems(conversation: ILiveAgentInteraction): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/dialog`, conversation);\r\n }\r\n\r\n hasActiveInteractions(type=\"\"): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/has-active-sessions/${type}`);\r\n }\r\n\r\n\r\n //-----live agent dashboard statistics-----\r\n\r\n getLiveAgentsTaskAggregates(request: IActivityRequest): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/live-agents-task-aggregates`, request);\r\n }\r\n\r\n getLiveAgentsStatusAggregates(request: IActivityRequest): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/live-agents-status-aggregates`, request);\r\n }\r\n\r\n getLiveAgentsStatus(request: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/live-agents-status`, request);\r\n }\r\n}\r\n","import { HttpClient, HttpEventType } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { IAgent } from '../../interfaces/agent-conference/agent';\r\nimport { CommonRequestParams } from '../../interfaces/common/common-request-params';\r\nimport { IResponseCall } from '../../interfaces/common/response-call.interface';\r\nimport { IStructResponseCall } from '../../interfaces/common/struct-response-call.interface';\r\nimport { DataSourceResponse } from '../../interfaces/data/datasourceresponse.interface';\r\nimport { ILiveAgentChat } from '../../interfaces/live-agent/live-agent-chat';\r\nimport { ILiveAgentCustomSettings } from '../../interfaces/live-agent/live-agent-custom-settings';\r\nimport { ILiveAgentEntry } from '../../interfaces/live-agent/live-agent-entry';\r\nimport { ILiveAgentGlobalSettings } from '../../interfaces/live-agent/live-agent-global-settings';\r\nimport { ILiveAgentPriceList } from '../../interfaces/live-agent/live-agent-price-list';\r\nimport { ILiveAgentQueue } from '../../interfaces/live-agent/live-agent-queue';\r\nimport { ILiveAgentTask } from '../../interfaces/live-agent/live-agent-task';\r\nimport { IConversationItem } from '../../interfaces/smart-dialog/conversation-item.interface';\r\nimport { ILiveAgentInteraction } from '../../interfaces/live-agent/live-agent-interaction';\r\nimport { map } from 'rxjs/operators';\r\n\r\n@Injectable()\r\n\r\n\r\nexport class LiveAgentService {\r\n\r\n private _baseUrl: string = `${ApiBaseUrl}liveagent`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n getLiveAgentPricelist(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}`);\r\n }\r\n\r\n getCustomerLiveAgentPricelist(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/customer-pricelist`);\r\n }\r\n\r\n saveLiveAgentPriceList(priceListDto: ILiveAgentPriceList): Observable {\r\n return this.httpClient.post(`${this._baseUrl}`, priceListDto);\r\n }\r\n\r\n //-----live agent queues-----\r\n getLiveAgentQueues(request: CommonRequestParams): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/group`, request);\r\n }\r\n\r\n getAllLiveAgentQueues(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/group-all`);\r\n }\r\n\r\n createLiveAgentQueue(item: ILiveAgentQueue): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/group-create`, item);\r\n }\r\n\r\n updateLiveAgentQueue(item: ILiveAgentQueue): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/group-update`, item);\r\n }\r\n\r\n deleteLiveAgentQueue(item: ILiveAgentQueue): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/group-delete`, item);\r\n }\r\n\r\n getLiveAgentGlobalSettings(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/global-settings`);\r\n }\r\n\r\n updateLiveAgentGlobalSettings(settings: ILiveAgentGlobalSettings): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/global-settings`, settings);\r\n }\r\n\r\n //--------activitylog---------\r\n insertActivityLog(type, channel): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/activity-log/${type}/${channel}`);\r\n }\r\n\r\n //-------agent entry---------\r\n getAgentAvailability(type): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/live-agent-availabilty/${type}`);\r\n }\r\n\r\n insertAgentEntry(type): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/add-agent-entry/${type}`);\r\n }\r\n\r\n endLiveAgentEntry(entryId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/end-agent-entry/${entryId}`);\r\n }\r\n\r\n\r\n //------agent custom settings------\r\n\r\n getLiveAgentCustomSettings(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/agent-settings`);\r\n }\r\n\r\n updateLiveAgentCustomSettings(settings: ILiveAgentCustomSettings): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/agent-settings`, settings);\r\n }\r\n\r\n\r\n //---------agent new tasks/chat/groups-----//\r\n\r\n getNewTasks(agentId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/new-task/${agentId}`);\r\n }\r\n\r\n getCurrentChats(agentId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/chat/${agentId}`);\r\n }\r\n\r\n getCurrentChat(agentId: any, channel: string, entityId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/chat/${agentId}/${channel}/${entityId}`);\r\n }\r\n\r\n getAgentQueues(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/agent-groups`);\r\n }\r\n\r\n declineTask(taskId:any, agentId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/decline-task/${taskId}/${agentId}`);\r\n }\r\n\r\n completeTask(taskId: any, agentId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/close-task/${taskId}/${agentId}`);\r\n }\r\n\r\n saveAgentInteractionLog(entityId: string, message: string, agentId: any, agentNickname: string, type: string, channel:string, channelDirection:string, taskId:any, contact:string, contactName:string, source:string):Observable {\r\n let log: IConversationItem = {\r\n agentId: agentId,\r\n type: type,\r\n text: message,\r\n channel: channel,\r\n channelDirection: channelDirection,\r\n agentNickname: agentNickname,\r\n contact: contact,\r\n contactName: contactName,\r\n source:source\r\n };\r\n\r\n return this.httpClient.post(`${this._baseUrl}/interaction-log/${entityId}/${taskId}`, log);\r\n }\r\n\r\n getTaskAvailableAgents(taskId: any, agentId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/task-agents/${taskId}/${agentId}`);\r\n }\r\n\r\n inviteAgent(taskId: any, agentId: any, inviteAgentId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/invite/${taskId}/${agentId}/${inviteAgentId}`);\r\n }\r\n\r\n leaveInvitation(taskId: any, agentId: any, inviteAgentId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/leave-invitation/${taskId}/${agentId}/${inviteAgentId}`);\r\n }\r\n\r\n transferTask(taskId: any, agentId: any, transferAgentId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/transfer/${taskId}/${agentId}/${transferAgentId}`);\r\n }\r\n\r\n acceptTask(taskId: any, agentId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/accept-task/${taskId}/${agentId}`);\r\n }\r\n\r\n sendTypingEvent(entityId: string, agentId: any, isTyping: boolean, otherAgentId: any = null): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/typing/${entityId}/${agentId}/${isTyping}/${otherAgentId}`);\r\n }\r\n\r\n markChatAsRead(agentId: any, channel: string, entityId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/read-chat/${agentId}/${channel}/${entityId}`);\r\n }\r\n\r\n\r\n //------agent document------\r\n\r\n uploadDocument(data: any) {\r\n return this.httpClient.post(`${this._baseUrl}/document-upload`, data, {\r\n reportProgress: true,\r\n observe: 'events'\r\n }).pipe(\r\n map((event) => {\r\n switch (event.type) {\r\n case HttpEventType.UploadProgress:\r\n const progress = Math.round(100 * event.loaded / event.total);\r\n return { status: 'progress', message: progress };\r\n\r\n case HttpEventType.Response:\r\n return event.body;\r\n\r\n default:\r\n return `Unhandled event: ${event.type}`;\r\n }\r\n })\r\n );\r\n }\r\n\r\n getDownloadUrl(userToken: string, fileName: string): string {\r\n return `${this._baseUrl}/document-download/${fileName}?userToken=${userToken}`;\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { IRequestStatusCallbackLog } from '../../interfaces/common/request-status-callback-log.interface';\r\nimport { IRequestTrace } from '../../interfaces/logging/request-trace.interface';\r\n\r\n@Injectable()\r\nexport class RequestTraceService {\r\n\r\n private _baseUrl: string = `${ApiBaseUrl}requesttrace`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n readRequestTrace(requestId: any, channel: string, entityType: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/${requestId}/${channel}/${entityType}`);\r\n }\r\n\r\n readStatusCallbackRequests(requestId: any, channel: string, status: string = \"\", customerCode: string = ''): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/statuscallback/${requestId}/${channel}/${customerCode}/${status}`);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { DataSourceResponse } from '../../interfaces/data/datasourceresponse.interface';\r\nimport { IMicroserviceInstance } from '../../interfaces/monitoring/microservice-instace';\r\nimport { IMicroserviceInstaceRequest } from '../../interfaces/monitoring/microservice-instace-request';\r\nimport { IMicroserviceLog } from '../../interfaces/monitoring/microservice-log';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MonitoringService {\r\n\r\n private _baseUrl: string = `${ApiBaseUrl}monitoring`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n getMicroserviceInstances(request: IMicroserviceInstaceRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}`, request);\r\n }\r\n\r\n getAllMicroserviceInstances(request: IMicroserviceInstaceRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/all`, request);\r\n }\r\n\r\n getMicroserviceLogs(request: IMicroserviceInstaceRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/logs`, request);\r\n }\r\n\r\n getStasisAppNames(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}`);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { IActivityRequest } from '../../interfaces/common/activity-request.interface';\r\nimport { IResponseCall } from '../../interfaces/common/response-call.interface';\r\nimport { DataSourceResponse } from '../../interfaces/data/datasourceresponse.interface';\r\nimport { IChecklistGroup } from '../../interfaces/survey/checklist-group';\r\nimport { ICreationSurveyStatistics } from '../../interfaces/survey/creation-survey-statistics';\r\nimport { IStatisticsRequest } from '../../interfaces/survey/statistics-request';\r\nimport { ISurvey } from '../../interfaces/survey/survey';\r\nimport { ISurveyStatistics } from '../../interfaces/survey/survey-statistics';\r\nimport { ISurveySettings } from '../../interfaces/survey/survey-settings';\r\n\r\n@Injectable()\r\nexport class SurveyService {\r\n\r\n private _baseUrl: string = `${ApiBaseUrl}surveys`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n getSurvey(surveryId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/overview/${surveryId}`);\r\n }\r\n\r\n createSurvey(survey: ISurvey): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/create`, survey);\r\n }\r\n\r\n updateSurvey(survey: ISurvey): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/update`, survey);\r\n }\r\n\r\n deleteSurvey(survey: ISurvey): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/delete`, survey);\r\n }\r\n\r\n getPendingSurveys(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/pending`);\r\n }\r\n\r\n\r\n saveSurveyStatistics(surveyStats: ICreationSurveyStatistics): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/statistics/save`, surveyStats);\r\n }\r\n\r\n updateSurveyStatistics(surveyStats: ICreationSurveyStatistics): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/statistics/update`, surveyStats);\r\n }\r\n\r\n skipSurveyStatisticsAsync(surveyStats: ICreationSurveyStatistics): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/statistics/skip`, surveyStats);\r\n }\r\n\r\n rejectSurveyStatistics(surveyStats: ICreationSurveyStatistics): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/statistics/reject`, surveyStats);\r\n }\r\n\r\n getChecklist(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/checklist`);\r\n }\r\n\r\n completeTaskAsync(surveyId: string, taskId: string): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/checklist/${surveyId}/${taskId}/complete`, '');\r\n }\r\n\r\n getSurveyStatistics(activityRequest: IActivityRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/statistics`, activityRequest);\r\n }\r\n\r\n getSurveyStatisticsDetails(surveyId: any, customerCode: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/statistics/${surveyId}/${customerCode}`);\r\n }\r\n\r\n getSurveyRequests(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/statistics/requests`);\r\n }\r\n\r\n getSettings(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/settings`);\r\n }\r\n}\r\n","import { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { IAutomaticTextTranslation } from '../../interfaces/ai/automatic-text-translation';\r\nimport { ITranslateTextRequest } from '../../interfaces/ai/translate-text-request';\r\nimport { ITranslationResponse } from '../../interfaces/ai/translation-response';\r\nimport { IActivityRequest } from '../../interfaces/common/activity-request.interface';\r\nimport { DataSourceResponse } from '../../interfaces/data/datasourceresponse.interface';\r\nimport { GetStructResponse } from '../../interfaces/data/get-struct-response.interface';\r\nimport { IApplicationPhone } from '../../interfaces/voice/application-phone';\r\nimport { IJsonDesignerBehaviorRules } from '../../interfaces/voice/json-designer-behavior-rule';\r\n\r\n@Injectable()\r\nexport class ApplicationPhoneService {\r\n\r\n private _baseUrl: string = `${ApiBaseUrl}applicationphone`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n getApplicationsPhone(filter: string, type:string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/all/${type}/${filter}`);\r\n }\r\n\r\n getApplicationsPhoneByCustomerCode(customerCode: string, filter: string, type: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/applications/${customerCode}/${type}/${filter}`);\r\n }\r\n\r\n getApplicationPhoneById(applicationId): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/${applicationId}`);\r\n }\r\n\r\n createApplicationPhone(applicationDto: IApplicationPhone): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/create`, applicationDto);\r\n }\r\n\r\n validateJsonText(jsonText: string): Observable {\r\n const params = new HttpParams().set(\"jsonText\", jsonText)\r\n return this.httpClient.post(`${this._baseUrl}/validate`, params);\r\n }\r\n\r\n verifiUniqueIdentifier(uniqueIdentifier: string, applicationId: string, customerCode: string = ''): Observable {\r\n const params = new HttpParams()\r\n .set(\"uniqueIdentifier\", uniqueIdentifier)\r\n .set(\"applicationId\", applicationId)\r\n .set(\"code\", customerCode);\r\n\r\n return this.httpClient.post(`${this._baseUrl}/identifier`, params);\r\n }\r\n\r\n getJsonDesignerBehaviorRules(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/rules`);\r\n }\r\n\r\n deleteApplicationPhone(applicationId): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/delete/${applicationId}`);\r\n }\r\n\r\n getApplicationsPhoneForAdmin(customerCode: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/admin-all/${customerCode}`);\r\n }\r\n\r\n getVoiceIds(languageCode: string, code: string) {\r\n const params = new HttpParams()\r\n .set(\"code\", code);\r\n\r\n return this.httpClient.get(`${this._baseUrl}/voice/${languageCode}`, { params });\r\n }\r\n\r\n translateApplicationPhone(applicationId: any): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/translate/${applicationId}`);\r\n }\r\n\r\n translate(request: ITranslateTextRequest): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/translate`, request);\r\n }\r\n\r\n getTranslationBilling(request: IActivityRequest, ownTransactions: boolean): Observable> {\r\n return this.httpClient.post>(`${this._baseUrl}/translation-billing/${ownTransactions}`, request);\r\n }\r\n\r\n getTimeSettings(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/time`);\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { IVoicePricelistExtraService } from '../../interfaces/voice/voice-pricelist-extra-service';\r\nimport { ApiBaseUrl } from '../../constants/common.constants'\r\nimport { IRequestOffer } from '../../interfaces/agent-conference/request-offer.interface';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ExtraServicesPricelistService {\r\n\r\n private _baseUrl: string = `${ApiBaseUrl}extraservices`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n getExtraServicePricelist(priceListType: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/${priceListType}`);\r\n }\r\n\r\n updateExtraServicePriceList(priceListDto: IVoicePricelistExtraService):Observable {\r\n return this.httpClient.post(`${this._baseUrl}`, priceListDto);\r\n }\r\n\r\n getCustomerExtraServixePrices(priceListType: string): Observable < IVoicePricelistExtraService[] > {\r\n return this.httpClient.get(`${this._baseUrl}/userExtraService/${priceListType}`);\r\n \r\n }\r\n\r\n requestAgentOffer(request: IRequestOffer): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/agentOffer`, request);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { IActivityRequest } from '../../interfaces/common/activity-request.interface';\r\nimport { IExportFileRequestParams } from '../../interfaces/common/export-file-request-params.interface';\r\nimport { IResponseCall } from '../../interfaces/common/response-call.interface';\r\nimport { IWhatsappSelectTemplate } from '../../interfaces/whatsapp/whatsapp-provider.interface';\r\n\r\n@Injectable()\r\nexport class WhatsappStatisticsService {\r\n\r\n private _baseUrl: string = `${ApiBaseUrl}whatsappstatistics`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n getStatisticsActivity(request: IActivityRequest, isInbound: boolean) {\r\n return this.httpClient.post(`${this._baseUrl}/detailed-statistics/${isInbound}`, request);\r\n }\r\n\r\n getWhatsappTemplate(request: IActivityRequest, templateId: string): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/template/${templateId}`, request);\r\n }\r\n\r\n exportDetailedActivity(request: IExportFileRequestParams, isInbound: boolean, userCustomerCode: string): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/export/${isInbound}/${userCustomerCode}`, request);\r\n }\r\n}\r\n","import { HttpClient, HttpEventType, HttpParams } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { ApiBaseUrl } from '../../constants/common.constants';\r\nimport { IActivityRequest } from '../../interfaces/common/activity-request.interface';\r\nimport { CommonRequestParams } from '../../interfaces/common/common-request-params';\r\nimport { IResponseCall } from '../../interfaces/common/response-call.interface';\r\nimport { DataSourceResponse } from '../../interfaces/data/datasourceresponse.interface';\r\nimport { ISelectListItem } from '../../interfaces/data/select-list-item';\r\nimport { IInboundActiveNumber } from '../../interfaces/inbound/inbound-active-number.interface';\r\nimport { IWhatsappSelectTemplate } from '../../interfaces/whatsapp/whatsapp-provider.interface';\r\nimport { IWhatsappTemplateCategory } from '../../interfaces/whatsapp/whatsapp-template-category.interface';\r\nimport { IWhatsappTemplate } from '../../interfaces/whatsapp/whatsapp-template.interface';\r\n\r\n@Injectable()\r\nexport class WhatsappService {\r\n\r\n private _baseUrl: string = `${ApiBaseUrl}whatsapp`;\r\n\r\n constructor(private httpClient: HttpClient) { }\r\n\r\n getTemplates(request: CommonRequestParams, status, name, category): Observable> {\r\n const params = new HttpParams().set(\"status\", status).set(\"category\", category).set(\"name\", name);\r\n return this.httpClient.post>(`${this._baseUrl}/templates`, request, {params:params});\r\n }\r\n\r\n getCategories(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/categories`);\r\n }\r\n\r\n getLanguages(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/languages`);\r\n }\r\n\r\n getNumbers(customerCode=\"\"): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/numbers/${customerCode}`);\r\n }\r\n\r\n getMaxVariablesNumber(): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/settings-variables`);\r\n }\r\n\r\n saveTemplate(template: IWhatsappTemplate):Observable {\r\n return this.httpClient.post(`${this._baseUrl}/save`, template);\r\n }\r\n\r\n deleteTemplate(template: IWhatsappTemplate): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/delete`, template);\r\n }\r\n\r\n getActivity(request: IActivityRequest): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/activity-aggregate`, request);\r\n }\r\n\r\n getSharedNumberActivity(request: IActivityRequest, numberId:any): Observable {\r\n return this.httpClient.post(`${this._baseUrl}/activity-aggregate/${numberId}`, request);\r\n }\r\n\r\n getWhatsappTemplates(customerCode: string, phoneNumber: string): Observable {\r\n return this.httpClient.get(`${this._baseUrl}/campaignTemplates/${customerCode}/${phoneNumber}`);\r\n }\r\n\r\n getWhatsappTemplatesByNumber(numberWBAId: string): Observable> {\r\n return this.httpClient.get(`${this._baseUrl}/numberTemplates/${numberWBAId}`);\r\n }\r\n\r\n getWhatsappTemplate(id?: any): Observable> {\r\n return this.httpClient.get(`${this._baseUrl}/selectTemplates/${id}`);\r\n }\r\n\r\n //-----------upload------------------\r\n uploadFile(data: any) {\r\n return this.httpClient.post(`${this._baseUrl}/file-upload`, data, {\r\n reportProgress: true,\r\n observe: 'events'\r\n }).pipe(\r\n map((event) => {\r\n switch (event.type) {\r\n case HttpEventType.UploadProgress:\r\n const progress = Math.round(100 * event.loaded / event.total);\r\n return { status: 'progress', message: progress };\r\n\r\n case HttpEventType.Response:\r\n return event.body;\r\n\r\n default:\r\n return `Unhandled event: ${event.type}`;\r\n }\r\n })\r\n );\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SafeHtmlPipe } from './safe-html.pipe';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [SafeHtmlPipe],\r\n exports: [SafeHtmlPipe],\r\n providers: [SafeHtmlPipe],\r\n imports: [\r\n CommonModule,\r\n ]\r\n})\r\nexport class PipeModule {\r\n\r\n static forRoot(){\r\n return {\r\n ngModule: PipeModule,\r\n providers: [],\r\n };\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from \"@angular/core\";\r\nimport { DomSanitizer } from \"@angular/platform-browser\";\r\n\r\n@Pipe({ name: 'safeHtml' })\r\nexport class SafeHtmlPipe implements PipeTransform {\r\n constructor(private sanitized: DomSanitizer) { }\r\n transform(value) {\r\n return this.sanitized.bypassSecurityTrustHtml(value);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators, ValidatorFn, AbstractControl } from '@angular/forms';\r\nimport { ICountry } from '../core/interfaces/common/country.interface';\r\n\r\n@Injectable()\r\nexport class MakePaymentFormService {\r\n\r\n public form: UntypedFormGroup;\r\n\r\n constructor(private fb: UntypedFormBuilder) {\r\n this.form = this.fb.group({\r\n amount: [null, [Validators.required,\r\n Validators.pattern(\"^[1-9][0-9]*$\")]\r\n ],\r\n paymentMethod: [null, Validators.required],\r\n paymentType: [\"card\", Validators.required],\r\n totalAmount: [null],\r\n valueVAT: [null],\r\n description: [null],\r\n name: [null, Validators.required],\r\n // email: [null, Validators.required],\r\n country: [null, Validators.required],\r\n address: [null, Validators.required],\r\n city: [null, Validators.required],\r\n state:[null, Validators.required],\r\n postalCode: [null, Validators.required],\r\n acceptTerms: [false, Validators.required]\r\n });\r\n }\r\n\r\n getFormControl(property: string): UntypedFormControl {\r\n return this.form.get(property) as UntypedFormControl;\r\n }\r\n\r\n setMinAmount(value: number) {\r\n var control = this.form.get(\"amount\") as UntypedFormControl;\r\n\r\n control.setValidators([Validators.required, Validators.min(value)]);\r\n control.updateValueAndValidity();\r\n }\r\n\r\n forbiddenNamesValidator(names: ICountry[]): ValidatorFn {\r\n //console.log(\"names\",names)\r\n return (control: AbstractControl): { [key: string]: any } | null => {\r\n // below findIndex will check if control.value is equal to one of our options or not\r\n const index = names.findIndex(name => {\r\n return (new RegExp('\\^' + name.name + '\\$')).test(control.value);\r\n });\r\n //console.log(index, \"index\");\r\n return index < 0 ? { 'forbiddenCountries': { value: control.value } } : null;\r\n };\r\n }\r\n\r\n clearValidators(controlNames: string[]) {\r\n //console.log(\"clear validators\");\r\n controlNames.map(value => {\r\n var control = this.form.get(value);\r\n control.clearValidators();\r\n control.updateValueAndValidity();\r\n })\r\n\r\n }\r\n\r\n setValidators(controlNames: string[], countries: ICountry[]) {\r\n //console.log(\"setValidators for:\", controlNames);\r\n controlNames.map(value => {\r\n var control = this.form.get(value);\r\n if (value == \"country\") {\r\n control.setValidators([this.forbiddenNamesValidator(countries), Validators.required]);\r\n }\r\n else {\r\n control.setValidators(Validators.required);\r\n }\r\n\r\n control.updateValueAndValidity();\r\n })\r\n\r\n }\r\n\r\n}\r\n","import { Component, Inject, OnInit, Renderer2, ViewChild } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Title } from '@angular/platform-browser';\r\nimport {\r\n StripeCardElementOptions,\r\n StripeElementsOptions\r\n} from '@stripe/stripe-js';\r\nimport { ICreateOrderRequest, IPayPalConfig } from 'ngx-paypal';\r\nimport { StripeCardComponent, StripeService } from 'ngx-stripe';\r\nimport { debounceTime, distinctUntilChanged, startWith, map } from 'rxjs/operators';\r\nimport { TaxStatuses } from '../../core/constants/billing.constants';\r\nimport { PaymentMethods, PaymentStatus } from '../../core/constants/payment.constants';\r\nimport { IBillingInfo } from '../../core/interfaces/common/billing-info.interface';\r\nimport { AppliedDiscountResponse } from '../../core/interfaces/payment/applied-discount-response.interface';\r\nimport { IPaymentTransactionResponse } from '../../core/interfaces/payment/payment-transaction-response';\r\nimport { PaymentsService } from '../../core/services/common/payments.service';\r\nimport { RechargeDiscountService } from '../../core/services/common/recharge-discount.service';\r\nimport { MakePaymentFormService } from '../make-payment-form.service';\r\nimport { ICountry } from '../../core/interfaces/common/country.interface';\r\nimport { BillingInfoService } from '../../core/services/customers/billing-info.service';\r\nimport { IPaymentInstrunctions, IPaymentIntentRequest } from '../../core/interfaces/payment/payment-intent-request';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\n\r\n\r\n//declare var Stripe: any;\r\n\r\n\r\n@Component({\r\n selector: 'app-make-payment',\r\n templateUrl: './make-payment.component.html',\r\n styleUrls: ['./make-payment.component.scss'],\r\n providers: [MakePaymentFormService, BillingInfoService,\r\n PaymentsService, RechargeDiscountService]\r\n})\r\n\r\n\r\nexport class MakePaymentComponent implements OnInit {\r\n public payPalConfig?: IPayPalConfig;\r\n\r\n @ViewChild(StripeCardComponent) card: StripeCardComponent;\r\n cardOptions: StripeCardElementOptions = {\r\n style: {\r\n base: {\r\n iconColor: '#666EE8',\r\n color: '#31325F',\r\n fontWeight: '300',\r\n fontFamily: '\"Muli\", sans-serif',\r\n lineHeight: '1.2em',\r\n fontSize: '1em',\r\n }\r\n },\r\n hidePostalCode: true\r\n };\r\n\r\n elementsOptions: StripeElementsOptions = {\r\n locale: 'en'\r\n };\r\n\r\n private isStripeCustomer: boolean = false;\r\n private stripeCustomerId: string = null;\r\n private paymentIntent = null;\r\n private paypalClientId: string = null;\r\n public minAmount: number = 1;\r\n\r\n public loading: boolean = false;\r\n public success: boolean = false;\r\n public hideDropdown: boolean = false;\r\n public cardSaved = null;\r\n public confirmation: any;\r\n public paymentMethodsList: any[] = [];\r\n public isCard: boolean = true;\r\n public validAmount: boolean = false;\r\n public vat: number = 22;\r\n public adminCountry: string = null;\r\n public calculateVAT: boolean = false;\r\n public appliedDiscount: AppliedDiscountResponse = null;\r\n public billingInfo: IBillingInfo = null;\r\n\r\n public filteredOptions: Observable;\r\n public countries: ICountry[] = [];\r\n private cardFormElements: string[] = [\"name\", \"country\", \"address\", \"postalCode\", \"city\", \"state\"];\r\n public paymentInstructions: IPaymentInstrunctions = null;\r\n\r\n private paymentIntentResponse = null;\r\n\r\n\r\n constructor(private dialogRef: MatDialogRef,\r\n private paymentService: PaymentsService,\r\n private titleService: Title, private billingInfoService: BillingInfoService,\r\n private formService: MakePaymentFormService,\r\n private rechargeDiscountService: RechargeDiscountService,\r\n private stripeService: StripeService,\r\n @Inject(MAT_DIALOG_DATA) public data: IBillingInfo | null) {\r\n this.titleService.setTitle(\"Dillo | Recharge\");\r\n\r\n if (data == null) {\r\n return;\r\n }\r\n\r\n this.getPaymentSettings(data);\r\n }\r\n\r\n ngOnInit() {\r\n this.amount.valueChanges.pipe(\r\n debounceTime(1000),\r\n distinctUntilChanged()\r\n ).subscribe(value => {\r\n\r\n\r\n if (value >= this.minAmount) {\r\n this.validAmount = true;\r\n }\r\n else {\r\n this.validAmount = false;\r\n }\r\n\r\n let valueNr: number = +value;\r\n let VATValue: number = (valueNr * (this.vat / 100));\r\n this.valueVAT.setValue(VATValue.toFixed(2));\r\n let amoutwithVat = valueNr + VATValue;\r\n\r\n if (this.calculateVAT == false) {\r\n this.totalAmount.setValue(value);\r\n }\r\n else {\r\n this.totalAmount.setValue(amoutwithVat.toFixed(2));\r\n }\r\n\r\n if (value >= this.minAmount) {\r\n this.rechargeDiscountService.getRechargeDiscountByAmount(value)\r\n .subscribe(response => {\r\n this.appliedDiscount = response;\r\n });\r\n }\r\n });\r\n\r\n\r\n this.paymentType.valueChanges.subscribe(values => {\r\n if (values == PaymentMethods.Paypal.toLowerCase()) {\r\n this.isCard = false;\r\n this.paymentMethod.setValue(null);\r\n this.amount.disable({ onlySelf: true });\r\n\r\n this.formService.clearValidators(this.cardFormElements);\r\n //this.paymentType.disable();\r\n //console.log('value', this.amount.value);\r\n this.initConfig();\r\n }\r\n else\r\n if (values == \"bank-transfer\") {\r\n this.isCard = false;\r\n this.formService.clearValidators(this.cardFormElements);\r\n }\r\n else {\r\n //const childElements = this.paypalElement.nativeElement.childNodes;\r\n //for (let child of childElements) {\r\n // this.renderer.removeChild(this.paypalElement.nativeElement, child)\r\n //}\r\n this.isCard = true;\r\n this.formService.setValidators(this.cardFormElements, this.countries);\r\n this.amount.enable({ onlySelf: true });\r\n }\r\n });\r\n\r\n\r\n\r\n this.paymentMethod.valueChanges.subscribe(value => {\r\n if (value == 0) {\r\n this.formService.setValidators(this.cardFormElements, this.countries);\r\n }\r\n else {\r\n this.formService.clearValidators(this.cardFormElements);\r\n }\r\n })\r\n\r\n this.billingInfoService.getCountries().subscribe(x => {\r\n this.countries = x;\r\n this.country.setValidators(this.formService.forbiddenNamesValidator(this.countries));\r\n });\r\n\r\n this.billingInfoService.getBillingInfo().subscribe(x => {\r\n this.billingInfo = x;\r\n })\r\n\r\n this.filteredOptions = this.country.valueChanges.pipe(\r\n startWith(''),\r\n map(value => this.filter(value))\r\n );\r\n }\r\n\r\n get form() {\r\n return this.formService.form;\r\n }\r\n\r\n get amount() {\r\n return this.formService.getFormControl(\"amount\");\r\n }\r\n\r\n get paymentMethod() {\r\n return this.formService.getFormControl(\"paymentMethod\");\r\n }\r\n\r\n get paymentType() {\r\n return this.formService.getFormControl(\"paymentType\");\r\n }\r\n\r\n get totalAmount() {\r\n return this.formService.getFormControl(\"totalAmount\");\r\n }\r\n\r\n get valueVAT() {\r\n return this.formService.getFormControl(\"valueVAT\");\r\n }\r\n\r\n get description() {\r\n return this.formService.getFormControl(\"description\");\r\n }\r\n\r\n get country() {\r\n return this.formService.getFormControl(\"country\");\r\n }\r\n\r\n get name() {\r\n return this.formService.getFormControl(\"name\");\r\n }\r\n\r\n get address() {\r\n return this.formService.getFormControl(\"address\");\r\n }\r\n\r\n get city() {\r\n return this.formService.getFormControl(\"city\");\r\n }\r\n\r\n get state() {\r\n return this.formService.getFormControl(\"state\");\r\n }\r\n\r\n get postalCode() {\r\n return this.formService.getFormControl(\"postalCode\");\r\n }\r\n\r\n get acceptTerms() {\r\n return this.formService.getFormControl(\"acceptTerms\");\r\n }\r\n\r\n\r\n\r\n pay() {\r\n this.loading = true;\r\n let paymentMethod = this.paymentMethod.value != 0 && this.paymentType.value==\"card\" ? this.paymentMethod.value : \"\";\r\n let selectedCountryObj = this.countries.find(x => x.name == this.country.value);\r\n const paymentRequest: IPaymentIntentRequest = {\r\n amountWithVat: this.totalAmount.value,\r\n creditsValueTxt: this.amount.value,\r\n description: this.description.value,\r\n paymentMethodId: paymentMethod,\r\n cardholderName: this.paymentMethod.value != 0 ? \"\" : this.name.value,\r\n email: this.billingInfo.email,\r\n telephoneNumber: this.billingInfo.telephoneNumber,\r\n countryCode: selectedCountryObj != undefined && selectedCountryObj != null ? selectedCountryObj.twoLetterISOName : \"\",\r\n address: this.paymentMethod.value != 0 ? \"\" : this.address.value,\r\n city: this.paymentMethod.value != 0 ? \"\" : this.city.value,\r\n postalCode: this.paymentMethod.value != 0 ? \"\" : this.postalCode.value,\r\n state: this.paymentMethod.value != 0 ? \"\" : this.state.value,\r\n paymentMethod: this.paymentType.value == \"card\" ? \"Card\" : \"BankTransfer\"\r\n }\r\n\r\n this.paymentService.createPaymentIntent(paymentRequest).subscribe(x => {\r\n if (x == null) {\r\n this.loading = false;\r\n this.confirmation = \"An Arror occured, please refresh and try again!\"\r\n }\r\n else\r\n if (this.paymentType.value == \"card\") {\r\n this.chargeCard(x.client_secret, this.card);\r\n }\r\n else {\r\n this.loading = false;\r\n if (x.next_action && x.next_action.display_bank_transfer_instructions != null && x.next_action.display_bank_transfer_instructions.financial_addresses != null) {\r\n let response = x.next_action.display_bank_transfer_instructions.financial_addresses[0];\r\n\r\n if (response.iban != null) {\r\n this.paymentInstructions = {\r\n iban: response.iban.iban,\r\n companyName: response.iban.account_holder_name,\r\n bic: response.iban.bic,\r\n reference: x.next_action.display_bank_transfer_instructions.reference\r\n }\r\n }\r\n\r\n this.amount.disable({ onlySelf: true });\r\n\r\n }\r\n \r\n }\r\n\r\n });\r\n\r\n }\r\n\r\n chargeCard(client_secret, stripeCard) {\r\n this.loading = true;\r\n console.log(\"stripeCard=\", this.card.element, \"paymentIntent=\", client_secret);\r\n\r\n var paymentMethod;\r\n\r\n //pay with a new card\r\n if (this.paymentMethod.value == '0') {\r\n let selectedCountryObj = this.countries.find(x => x.name == this.country.value);\r\n paymentMethod = {\r\n card: this.card.element,\r\n billing_details: {\r\n name: this.name.value,\r\n email: this.billingInfo.email,\r\n phone: this.billingInfo.telephoneNumber,\r\n address: {\r\n city: this.city.value,\r\n country: selectedCountryObj.twoLetterISOName,\r\n line1: this.address.value,\r\n postal_code: this.postalCode.value,\r\n state: this.state.value\r\n\r\n },\r\n },\r\n }\r\n }\r\n else {\r\n paymentMethod = client_secret.payment_method;\r\n }\r\n\r\n this.stripeService.confirmCardPayment(client_secret, {\r\n payment_method: paymentMethod\r\n //setup_future_usage: 'off_session'\r\n }).subscribe(result => {\r\n this.loading = false;\r\n if (result.error) {\r\n // Show error \r\n //console.log(result.error.message);\r\n this.success = false;\r\n this.confirmation = result.error.message;\r\n } else {\r\n if (result.paymentIntent.status === 'succeeded') {\r\n // console.log(result.paymentIntent);\r\n this.confirmation = \"Payment succesfully made!\";\r\n this.success = true;\r\n this.paymentIntent = result.paymentIntent;\r\n }\r\n }\r\n });\r\n\r\n }\r\n\r\n saveCard(event) {\r\n if (event.checked && this.paymentIntent != null) {\r\n this.loading = true;\r\n\r\n //create setup intent on server an return clientSecret\r\n this.paymentService.createSetupIntent().subscribe(intentClientSecret => {\r\n if (intentClientSecret == null) {\r\n return;\r\n }\r\n\r\n //confirm card setup on stripe\r\n this.stripeService.confirmCardSetup(\r\n intentClientSecret,\r\n {\r\n payment_method: {\r\n card: this.card.element,\r\n metadata: { \"IsDefault\": `false` }\r\n },\r\n }\r\n ).subscribe(result => {\r\n if (result.error) {\r\n this.cardSaved = false;\r\n this.loading = false;\r\n } else {\r\n // The setup has succeeded. Display a success message and send\r\n // result.setupIntent.payment_method to server to save the\r\n // card to a Customer\r\n this.paymentService.saveCard(result.setupIntent.payment_method, this.stripeCustomerId, false).subscribe(x => {\r\n this.cardSaved = x;\r\n this.loading = false;\r\n })\r\n\r\n }\r\n });\r\n\r\n });\r\n }\r\n }\r\n\r\n getPaymentSettings(data) {\r\n\r\n this.loading = true;\r\n\r\n this.paymentService.getPaymentSettings().subscribe(x => {\r\n if (x == null) {\r\n return;\r\n }\r\n\r\n this.paypalClientId = x.payPalClientId;\r\n this.vat = x.vat;\r\n this.adminCountry = x.country;\r\n this.minAmount = x.minRechargeValue;\r\n\r\n //set min value\r\n this.formService.setMinAmount(this.minAmount);\r\n\r\n //console.log(\"checkVAT\",data);\r\n this.calculateVAT = this.checkIfVatApplies(data);\r\n\r\n //check if this customer is a StripeCustomer\r\n this.getStripeInfo(x.stripeCustomerId);\r\n //console.log(\"paymnetSettings=\", x,x.stripeCustomerId);\r\n this.loading = false;\r\n });\r\n }\r\n\r\n getStripeInfo(stripeId: string) {\r\n this.stripeCustomerId = stripeId;\r\n if (stripeId != null) {\r\n this.isStripeCustomer = true;\r\n\r\n this.getPaymentMethods();\r\n }\r\n else {\r\n this.paymentMethod.setValue(0);\r\n this.hideDropdown = true;\r\n }\r\n\r\n }\r\n\r\n getPaypalInfo() {\r\n this.paymentService.getPaypalInfo().subscribe(x => {\r\n if (x != null) {\r\n this.paypalClientId = x;\r\n }\r\n return\r\n });\r\n }\r\n\r\n getPaymentMethods() {\r\n this.paymentService.getPaymentMethods(this.stripeCustomerId).subscribe(x => {\r\n this.paymentMethodsList = x;\r\n if (x.length == 0) {\r\n this.paymentMethod.setValue(0);\r\n this.hideDropdown = true;\r\n }\r\n x.map(payment => {\r\n if (payment.isDefault) {\r\n this.paymentMethod.setValue(payment.id);\r\n }\r\n })\r\n })\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close({ \"success\": this.success, \"cardSaved\": this.cardSaved, \"stripeCustomerId\": this.stripeCustomerId });\r\n }\r\n\r\n private initConfig(): void {\r\n this.payPalConfig = {\r\n currency: 'EUR',\r\n clientId: this.paypalClientId,\r\n createOrderOnClient: (data) => {\r\n intent: 'CAPTURE',\r\n application_context: {\r\n payment_method: {\r\n payer_selected: 'PAYPAL'\r\n }\r\n },\r\n purchase_units: [\r\n {\r\n amount: {\r\n currency_code: 'EUR',\r\n value: this.totalAmount.value,\r\n }\r\n }\r\n ]\r\n },\r\n advanced: {\r\n commit: 'true'\r\n },\r\n style: {\r\n label: 'paypal',\r\n shape: \"pill\",\r\n layout: 'horizontal',\r\n color: \"silver\",\r\n tagline: false\r\n },\r\n onApprove: (data, actions) => {\r\n //console.log('onApprove - transaction was approved, but not authorized', data, actions);\r\n actions.order.get().then(details => {\r\n //console.log('onApprove - you can get full order details inside onApprove: ', details);\r\n });\r\n },\r\n onClientAuthorization: (data: any) => {\r\n console.log(\"data\", data);\r\n const paymentResponse: IPaymentTransactionResponse = {\r\n createdTime: data.create_time,\r\n updatedTime: data.update_time,\r\n status: data.status == \"COMPLETED\" ? PaymentStatus.Succeeded : PaymentStatus.Failed,\r\n amount: + this.amount.value,\r\n paymentMethod: PaymentMethods.Paypal,\r\n amountWithVat: + (data.purchase_units[0].amount.value),\r\n paypalTransactionId: data.id\r\n }\r\n this.paymentService.processPayPalPayment(paymentResponse).subscribe(x => {\r\n this.loading = false;\r\n if (x == true) {\r\n this.success = x;\r\n this.confirmation = \"Payment succesfully made!\"\r\n }\r\n else {\r\n this.success = x;\r\n this.confirmation = \"Please contact our support team to solve your problem!\"\r\n }\r\n\r\n })\r\n },\r\n onCancel: (data, actions) => {\r\n this.cancel();\r\n },\r\n onError: err => {\r\n this.success = false;\r\n this.confirmation = err;\r\n },\r\n onClick: (data, actions) => {\r\n this.loading = true;\r\n },\r\n };\r\n }\r\n\r\n checkIfVatApplies(data: IBillingInfo): boolean {\r\n //console.log(\"data.country=\", data.country, \"taxstatus=\", data.taxStatus, \"adminCountry=\", this.adminCountry, \"check if=\", (data.isCompany == false || (data.country == this.adminCountry && data.taxStatus == TaxStatuses.Taxable)));\r\n\r\n if (data.taxStatus == TaxStatuses.Taxable) {\r\n if (data.isCompany) {\r\n if (data.country.toLowerCase() == this.adminCountry.toLowerCase()) {\r\n\r\n return true;\r\n }\r\n }\r\n else {\r\n //console.log(\"client-true\")\r\n\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n private filter(value: any): ICountry[] {\r\n if (value == null) {\r\n value = '';\r\n }\r\n const filterValue = value.toLocaleLowerCase();\r\n\r\n return this.countries.filter(x => x.name.toLocaleLowerCase().indexOf(filterValue) === 0);\r\n }\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n \r\n The amount must be higher than {{minAmount}}€.\r\n \r\n \r\n\r\n
\r\n
0\">\r\n For this amount, you will receive {{appliedDiscount.possibleDiscount}}% discount until {{appliedDiscount.nextDiscountExpiration | date: 'dd/MM/yyyy' }}\r\n on all price lists\r\n
\r\n
0\" class=\"next-discount\">\r\n Add {{appliedDiscount.minAmountForNextDiscount | number :'1.2-2'}}€ and get {{appliedDiscount.nextDiscount}}% discount\r\n\r\n \r\n until {{appliedDiscount.nextDiscountExpiration | date: 'dd/MM/yyyy' }} on all price lists\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n   \r\n \r\n
\r\n\r\n
\r\n   \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n Card\r\n PayPal\r\n Bank transfer\r\n \r\n\r\n \r\n\r\n\r\n \r\n Select card \r\n \r\n \r\n ************{{element.last4}}\r\n \r\n Pay with a new card\r\n \r\n \r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n The name is required\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n The address is required\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \"img\"  {{country.name}}\r\n\r\n \r\n \r\n \r\n \r\n \r\n The country is invalid.\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n The postal code is required.\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n The state is required\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n The city is required\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n Accept our Terms and Conditions\r\n
\r\n
\r\n \r\n   \r\n \r\n
\r\n Information regarding the bank transfer will be displayed after you click 'Recharge'. Credits will be added after the founds are arrived in Dillo Account.\r\n
\r\n \r\n
\r\n\r\n
\r\n

Bank information

\r\n

Transfer funds using the following bank information:

\r\n\r\n
\r\n
\r\n
IBAN
\r\n
BIC
\r\n
Account holder name:
\r\n
Reference:
\r\n
Recharge amount:
\r\n
VAT:
\r\n
Transfer amount:
\r\n
\r\n
\r\n
{{paymentInstructions.iban}}
\r\n
{{paymentInstructions.bic}}
\r\n
{{paymentInstructions.companyName}}
\r\n
{{paymentInstructions.reference}}
\r\n
{{amount.value}}€
\r\n
{{vat}}%
\r\n
{{totalAmount.value}}€
\r\n
\r\n
\r\n

If you can, please include the reference mentioned above when you send your bank transfer.

\r\n

We also sent this information to the email: {{billingInfo.email}}.

\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n {{confirmation}} \r\n {{confirmation}} \r\n \r\n
\r\n\r\n
\r\n
\r\n Save this card for future payments\r\n
\r\n\r\n \r\n Card info was sucesfully saved!\r\n \r\n\r\n \r\n An error occurred while saving card info!\r\n \r\n\r\n
\r\n\r\n \r\n \r\n\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatFormFieldModule as MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatProgressBarModule as MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatSelectModule as MatSelectModule } from '@angular/material/select';\r\nimport { MatSlideToggleModule as MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatAutocompleteModule as MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule as MatButtonModule } from '@angular/material/button';\r\nimport { MatCheckboxModule as MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatDialogModule as MatDialogModule } from '@angular/material/dialog';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule as MatInputModule } from '@angular/material/input';\r\nimport { MatProgressSpinnerModule as MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule as MatRadioModule } from '@angular/material/radio';\r\nimport { MatSnackBarModule as MatSnackBarModule } from '@angular/material/snack-bar';\r\nimport { MatTabsModule as MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule as MatTooltipModule } from '@angular/material/tooltip';\r\nimport { NgxPayPalModule } from 'ngx-paypal';\r\nimport { NgxStripeModule } from 'ngx-stripe';\r\nimport { MakePaymentComponent } from './make-payment/make-payment.component';\r\n\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [MakePaymentComponent],\r\n imports: [\r\n CommonModule,\r\n NgxPayPalModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatButtonModule,\r\n MatSelectModule,\r\n MatIconModule,\r\n MatTooltipModule,\r\n MatProgressSpinnerModule,\r\n MatDialogModule,\r\n MatAutocompleteModule,\r\n MatRadioModule,\r\n MatTabsModule,\r\n MatSnackBarModule,\r\n MatFormFieldModule,\r\n MatProgressBarModule,\r\n //NgxStripeModule.forRoot('pk_test_OPp6oflL8Q5PQ3tuTU8W9u2s00mv7dTSG2'),\r\n NgxStripeModule.forRoot('pk_live_BkjRG8tI0MrHCn0rb9BhFiR500uTfKFPZs'),\r\n MatSlideToggleModule,\r\n ]\r\n})\r\nexport class SharedPaymentModule { }\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { Router } from '@angular/router';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { IChecklistGroup } from '../../core/interfaces/survey/checklist-group';\r\nimport { SurveyService } from '../../core/services/survey/survey.service';\r\nimport { DeleteItemsConfirmationComponent } from '../../shared/components/delete-items-confirmation/delete-items-confirmation.component';\r\n\r\n@Component({\r\n selector: 'app-checklist',\r\n templateUrl: './checklist.component.html',\r\n styleUrls: ['./checklist.component.scss']\r\n})\r\nexport class ChecklistComponent implements OnInit {\r\n\r\n public checklists: IChecklistGroup[];\r\n public showCompletedTasks: boolean = true;\r\n\r\n public hasChecklists: BehaviorSubject = new BehaviorSubject(null);\r\n public loading: boolean = false;\r\n\r\n @Input() toggleStateSubject!: BehaviorSubject;\r\n @Input() userRole: string;\r\n\r\n constructor(private surveyService: SurveyService,\r\n private router: Router,\r\n private dialog: MatDialog) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n loadChecklists() {\r\n this.loading = true;\r\n\r\n this.surveyService.getChecklist().subscribe(data => {\r\n this.checklists = data;\r\n this.hasChecklists.next(this.checklists && this.checklists.length > 0);\r\n\r\n this.loading = false;\r\n });\r\n }\r\n\r\n toggleChecklist() {\r\n if (this.toggleStateSubject.value == false) {\r\n this.loadChecklists();\r\n }\r\n\r\n //important note: is set to null and not false, in this way will not load twice unde some circumstances\r\n if (this.allTasksCompleted()) {\r\n this.toggleStateSubject.next(null);\r\n return;\r\n }\r\n\r\n this.toggleStateSubject.next(!this.toggleStateSubject.value);\r\n }\r\n\r\n getSurveyProgress(): number {\r\n const totalTasks = this.getTotalTasks();\r\n const completedTasks = this.getCompletedTasks();\r\n return totalTasks ? (completedTasks / totalTasks) * 100 : 0;\r\n }\r\n\r\n getCompletedTasks(): number {\r\n return this.checklists.reduce((sum, group) => sum + group.tasks.filter(t => t.isCompleted).length, 0);\r\n }\r\n\r\n getTotalTasks(): number {\r\n return this.checklists.reduce((sum, group) => sum + group.tasks.length, 0);\r\n }\r\n\r\n openTaskLink(task) {\r\n if (!task.isCompleted && task.websiteLink) {\r\n this.toggleChecklist();\r\n const url = `/management/${this.userRole.toLowerCase()}/${task.websiteLink}`;\r\n this.router.navigate([url]);\r\n }\r\n }\r\n\r\n openMarkAsCompletedConfirmation(task) {\r\n const dialogMessage = `
Are you sure you want to mark task \"${task.name}\" as completed?
`;\r\n\r\n const dialogRef = this.dialog.open(DeleteItemsConfirmationComponent, {\r\n minWidth: \"25rem\",\r\n minHeight: \"7rem\",\r\n data: dialogMessage\r\n });\r\n\r\n dialogRef.afterClosed().subscribe(response => {\r\n if (!response) {\r\n return;\r\n }\r\n\r\n this.markAsCompleted(task);\r\n });\r\n }\r\n\r\n toggleShowCompletedTasks() {\r\n this.showCompletedTasks = !this.showCompletedTasks;\r\n }\r\n\r\n hasAllCompleted(tasks: any[]): boolean {\r\n return tasks.every(task => task.isCompleted);\r\n }\r\n\r\n allTasksCompleted(): boolean {\r\n return this.checklists.every(group => group.tasks.every(task => task.isCompleted));\r\n }\r\n\r\n private markAsCompleted(task) {\r\n this.surveyService.completeTaskAsync(task.surveyId, task.id).subscribe((success: boolean) => {\r\n if (success) {\r\n task.isCompleted = true;\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n

My task list

\r\n \r\n
\r\n

Let's make Dillo work for you!

\r\n

Follow these steps to get the most out of Dillo.

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{{ getCompletedTasks() }}/{{ getTotalTasks() }}

\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n No data available.\r\n
\r\n
\r\n\r\n
\r\n \r\n 0; else generalSteps\">\r\n
Get started with {{ group.title }}
\r\n
\r\n \r\n
{{ group.title }}
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n {{ task.isCompleted ? 'check_circle' : 'cancel' }}\r\n \r\n
\r\n {{ task.name }}\r\n \r\n {{ task.description | slice:0:136 }}\r\n 136\" matTooltip=\"{{task.description}}\">...\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n","import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';\r\nimport { Component, Input, OnInit } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { MatSnackBar } from '@angular/material/snack-bar';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { ISurvey } from '../../core/interfaces/survey/survey';\r\nimport { SurveyService } from '../../core/services/survey/survey.service';\r\nimport { SurveyComponent } from '../survey/survey.component';\r\n\r\n@Component({\r\n selector: 'pending-survey',\r\n templateUrl: './pending-survey.component.html',\r\n styleUrls: ['./pending-survey.component.scss']\r\n})\r\nexport class PendingSurveyComponent implements OnInit {\r\n\r\n public isSaved: BehaviorSubject = new BehaviorSubject(null);\r\n\r\n public surveys: ISurvey[];\r\n\r\n public inProgress: boolean = false;\r\n\r\n @Input() toggleStateSubject!: BehaviorSubject;\r\n @Input() isSingle!: boolean;\r\n\r\n constructor(private surveyService: SurveyService,\r\n private breakpointObserver: BreakpointObserver,\r\n private dialog: MatDialog,\r\n private snackBar: MatSnackBar) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n loadPendingSurveys() {\r\n this.surveyService.getPendingSurveys().subscribe(data => {\r\n //console.log(\"Pending surveys\", data);\r\n this.surveys = data;\r\n });\r\n }\r\n\r\n get hasSurveys(): boolean {\r\n return this.surveys && this.surveys.length > 0;\r\n }\r\n\r\n toggleSurveys() {\r\n this.toggleStateSubject.next(!this.toggleStateSubject.value);\r\n }\r\n\r\n loadActiveSurvey(surveyId: string) {\r\n this.inProgress = true;\r\n\r\n this.surveyService.getSurvey(surveyId).subscribe(data => {\r\n this.inProgress = false;\r\n this.toggleSurveys();\r\n\r\n if (data == null) {\r\n this.openSnackBar('The survey is no longer available!', \"Ok\", 2000);\r\n return;\r\n }\r\n\r\n this.openSurveyDialog(data);\r\n });\r\n }\r\n\r\n openSnackBar(message: string, action: string, duration: number) {\r\n this.snackBar.open(message, action, {\r\n duration: duration\r\n });\r\n }\r\n\r\n private openSurveyDialog(survey) {\r\n const isMobile = this.breakpointObserver.isMatched(Breakpoints.Handset);\r\n\r\n const dialogRef = this.dialog.open(SurveyComponent, {\r\n autoFocus: false,\r\n data: { survey: survey, canClose: true },\r\n disableClose: true,\r\n minWidth: isMobile ? '100vw' : '65vw',\r\n maxHeight: isMobile ? '100vh' : '80vh',\r\n height: isMobile ? '100vh' : 'auto',\r\n panelClass: isMobile ? 'full-screen-dialog' : '',\r\n });\r\n\r\n dialogRef.afterClosed().subscribe((value) => {\r\n if (value != true) {\r\n return;\r\n }\r\n\r\n this.isSaved.next(true);\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n

Surveys to complete

\r\n \r\n
\r\n

It seems you have left some questions behind!

\r\n

Remember that surveys help us improve your user experience, answer the questions and enjoy the full potential of Dillo.

\r\n
\r\n\r\n
\r\n
\r\n {{ survey.name }}\r\n {{ survey.description }}\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatBadgeModule } from '@angular/material/badge';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatNativeDateModule } from '@angular/material/core';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport { RouterModule } from '@angular/router';\r\nimport { SurveyService } from '../core/services/survey/survey.service';\r\nimport { SharedModule } from '../shared/shared.module';\r\nimport { ChecklistComponent } from './checklist/checklist.component';\r\nimport { PendingSurveyComponent } from './pending-surveys/pending-survey.component';\r\nimport { SurveyComponent } from './survey/survey.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n SurveyComponent,\r\n ChecklistComponent,\r\n PendingSurveyComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n MatGridListModule,\r\n MatTableModule,\r\n MatPaginatorModule,\r\n MatCardModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n MatInputModule,\r\n MatCheckboxModule,\r\n MatButtonModule,\r\n MatSelectModule,\r\n MatIconModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n DragDropModule,\r\n MatStepperModule,\r\n MatTooltipModule,\r\n MatProgressSpinnerModule,\r\n MatDialogModule,\r\n MatAutocompleteModule,\r\n MatRadioModule,\r\n MatTabsModule,\r\n MatSnackBarModule,\r\n MatSortModule,\r\n RouterModule,\r\n MatListModule,\r\n MatFormFieldModule,\r\n MatProgressBarModule,\r\n MatBadgeModule,\r\n SharedModule\r\n ],\r\n providers: [SurveyService],\r\n exports: [\r\n SurveyComponent,\r\n ChecklistComponent,\r\n PendingSurveyComponent\r\n ]\r\n})\r\nexport class SharedSurveysModule { }\r\n","import { Component, EventEmitter, Inject, OnInit, Output } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { BehaviorSubject, take } from 'rxjs';\r\nimport { ICreationSurveyStatistics } from '../../core/interfaces/survey/creation-survey-statistics';\r\nimport { ISurvey } from '../../core/interfaces/survey/survey';\r\nimport { ISurveyCustomerQuestion } from '../../core/interfaces/survey/survey-customer-question';\r\nimport { ISurveyQuestion } from '../../core/interfaces/survey/survey-question';\r\nimport { ISurveyQuestionAnswer } from '../../core/interfaces/survey/survey-question-answer';\r\nimport { ISurveySettings } from '../../core/interfaces/survey/survey-settings';\r\nimport { LocalStorageService } from '../../core/services/common/local-storage.service';\r\nimport { ManageAccountService } from '../../core/services/common/manage-account.service';\r\nimport { SurveyService } from '../../core/services/survey/survey.service';\r\nimport { AuthorizeService } from '../../../../api-authorization/authorize.service';\r\n\r\n@Component({\r\n selector: 'app-survey',\r\n templateUrl: './survey.component.html',\r\n styleUrls: ['./survey.component.scss'],\r\n providers: [LocalStorageService, ManageAccountService, SurveyService]\r\n})\r\nexport class SurveyComponent implements OnInit {\r\n\r\n @Output() surveySaved = new EventEmitter();\r\n public isSaved: BehaviorSubject = new BehaviorSubject(null);\r\n\r\n public survey: ISurvey | null = null;\r\n public loading: boolean = false;\r\n public submitted: boolean = false;\r\n\r\n public canClose: boolean = false;\r\n public isStatistics: boolean = false;\r\n public customerEmail: string;\r\n public customerCode: string;\r\n public surveyName: string;\r\n\r\n public isFormValid: boolean = false;\r\n\r\n private settings: ISurveySettings = null;\r\n public surveyStatistics: ICreationSurveyStatistics = null;\r\n\r\n public showMessage: boolean = false;\r\n\r\n constructor(private surveyService: SurveyService,\r\n private localStorageService: LocalStorageService,\r\n private authorizeService: AuthorizeService,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n private dialogRef: MatDialogRef) { }\r\n\r\n ngOnInit(): void {\r\n if (this.data) {\r\n if (this.data.survey) {\r\n this.survey = this.data.survey;\r\n }\r\n\r\n if (this.data.isStatistics) {\r\n this.isStatistics = this.data.isStatistics;\r\n this.customerEmail = this.data.customerEmail;\r\n this.surveyName = this.data.surveyName;\r\n this.customerCode = this.data.customerCode;\r\n }\r\n\r\n if (this.data.canClose) {\r\n this.canClose = this.data.canClose;\r\n }\r\n }\r\n\r\n this.validateRequiredQuestions();\r\n\r\n this.surveyService.getSettings().subscribe(response => {\r\n this.settings = response;\r\n });\r\n }\r\n\r\n validateRequiredQuestions(): void {\r\n if (this.survey == null) {\r\n return;\r\n }\r\n\r\n this.isFormValid = this.survey.questionGroupList.every(group => group.surveyQuestionList.every(question => !question.isRequired || this.isQuestionAnswered(question))\r\n );\r\n }\r\n\r\n isQuestionAnswered(question: ISurveyQuestion): boolean {\r\n switch (question.typology) {\r\n case 'Boolean':\r\n case 'SingleSelection':\r\n return !!question.answerValue;\r\n case 'MultiSelection':\r\n return question.answerValues && question.answerValues.length > 0;\r\n case 'TextArea':\r\n return question.listOptions.every(option => !!option.value);\r\n default:\r\n return false;\r\n }\r\n }\r\n\r\n setSurveyInterval() {\r\n if (this.settings == null) {\r\n return;\r\n }\r\n\r\n const now = new Date();\r\n now.setMinutes(now.getMinutes() + this.settings.intervalMinutes);\r\n\r\n if (this.customerCode == undefined || this.customerCode == null || this.customerCode == \"\") {\r\n this.authorizeService.getUser().pipe(take(1)).subscribe(x => {\r\n this.customerCode = x.CustomerCode;\r\n this.localStorageService.set(`lastSurveyDate_${this.customerCode}`, now.toISOString());\r\n })\r\n }\r\n else {\r\n this.localStorageService.set(`lastSurveyDate_${this.customerCode}`, now.toISOString());\r\n }\r\n \r\n }\r\n\r\n saveSurvey(): void {\r\n if (this.survey) {\r\n this.showMessage = true;\r\n\r\n this.loading = true;\r\n this.surveyStatistics = this.mapSurveyToStatistics(this.survey);\r\n\r\n if (this.survey.isUpdate) {\r\n this.surveyService.updateSurveyStatistics(this.surveyStatistics).subscribe(\r\n () => {\r\n this.submitted = true;\r\n this.loading = false;\r\n },\r\n (error) => {\r\n this.loading = false;\r\n console.error('Error update survey statistics:', error);\r\n }\r\n );\r\n }\r\n else {\r\n this.surveyService.saveSurveyStatistics(this.surveyStatistics).subscribe(\r\n () => {\r\n this.submitted = true;\r\n this.loading = false;\r\n },\r\n (error) => {\r\n this.loading = false;\r\n console.error('Error saving survey statistics:', error);\r\n }\r\n );\r\n }\r\n }\r\n\r\n this.setSurveyInterval();\r\n }\r\n\r\n skipSurvey(): void {\r\n if (this.survey) {\r\n this.loading = true;\r\n this.surveyStatistics = this.mapSkipSurveyToStatistics(this.survey);\r\n\r\n this.surveyService.skipSurveyStatisticsAsync(this.surveyStatistics).subscribe(\r\n () => {\r\n this.loading = false;\r\n this.submitted = true;\r\n\r\n this.surveySaved.emit();\r\n this.dialogRef.close(true);\r\n },\r\n (error) => {\r\n this.loading = false;\r\n console.error('Error skip survey statistics:', error);\r\n }\r\n );\r\n }\r\n\r\n this.setSurveyInterval();\r\n }\r\n\r\n rejectSurvey(): void {\r\n if (this.survey) {\r\n this.loading = true;\r\n this.surveyStatistics = this.mapSkipSurveyToStatistics(this.survey);\r\n\r\n this.surveyService.rejectSurveyStatistics(this.surveyStatistics).subscribe(\r\n () => {\r\n this.loading = false;\r\n this.submitted = true;\r\n\r\n this.surveySaved.emit();\r\n this.dialogRef.close(true);\r\n },\r\n (error) => {\r\n this.loading = false;\r\n console.error('Error skip survey statistics:', error);\r\n }\r\n );\r\n }\r\n\r\n this.setSurveyInterval();\r\n }\r\n\r\n hasTasks(surveyStatistics: ICreationSurveyStatistics): boolean {\r\n return surveyStatistics.surveyCustomerQuestionList.some(question => question.answers.some(answer => answer.toDoList != null && answer.toDoList.length > 0));\r\n }\r\n\r\n onCheckboxChange(event: Event, value: string, answerValues: string[]): void {\r\n const checkbox = event.target as HTMLInputElement;\r\n if (checkbox.checked) {\r\n if (!answerValues.includes(value)) {\r\n answerValues.push(value);\r\n }\r\n } else {\r\n const index = answerValues.indexOf(value);\r\n if (index > -1) {\r\n answerValues.splice(index, 1);\r\n }\r\n }\r\n\r\n answerValues = answerValues.filter(val => val !== '');\r\n }\r\n\r\n private mapSkipSurveyToStatistics(survey: ISurvey): ICreationSurveyStatistics {\r\n return {\r\n surveyId: survey.id,\r\n startedOnUtc: new Date(),\r\n isRepetable: survey.isRepetable,\r\n maxNumberOfRetries: survey.maxNumberOfRetries,\r\n numberOfRetries: 0,\r\n repeatAfterInHours: survey.repeatAfterInHours,\r\n isOnboarding: survey.isOnboarding,\r\n surveyCustomerQuestionList: []\r\n };\r\n }\r\n\r\n private mapSurveyToStatistics(survey: ISurvey): ICreationSurveyStatistics {\r\n return {\r\n surveyId: survey.id,\r\n startedOnUtc: new Date(),\r\n isRepetable: survey.isRepetable,\r\n maxNumberOfRetries: survey.maxNumberOfRetries,\r\n numberOfRetries: 0,\r\n repeatAfterInHours: survey.repeatAfterInHours,\r\n isOnboarding: survey.isOnboarding,\r\n surveyCustomerQuestionList: survey.questionGroupList.flatMap(group => group.surveyQuestionList.map(question => this.mapSurveyQuestionCustomer(survey, question))\r\n )\r\n };\r\n }\r\n\r\n private mapSurveyQuestionCustomer(survey: ISurvey, question: ISurveyQuestion): ISurveyCustomerQuestion {\r\n return {\r\n repeatAfterInHours: question.repeatAfterInHours,\r\n maxNumberOfRetries: question.maxNumberOfRetries,\r\n questionId: question.id,\r\n groupId: question.groupId,\r\n answers: this.getQuestionAnswers(question),\r\n isRequired: question.isRequired,\r\n };\r\n }\r\n\r\n private getQuestionAnswers(question: ISurveyQuestion): ISurveyQuestionAnswer[] {\r\n let answers: ISurveyQuestionAnswer[] = [];\r\n\r\n switch (question.typology) {\r\n case 'MultiSelection':\r\n answers = question.answerValues?.filter(val => val !== '').map(value => {\r\n const option = question.listOptions.find(o => o.value === value);\r\n return {\r\n value,\r\n isFinal: option.isFinal,\r\n toDoList: option?.toDoList || null\r\n };\r\n }) || [];\r\n break;\r\n case 'TextArea':\r\n question.listOptions.forEach(x => {\r\n answers.push({\r\n value: x.value,\r\n isFinal: x.isFinal,\r\n toDoList: x.toDoList || null\r\n });\r\n });\r\n break;\r\n default:\r\n const option = question.listOptions.find(o => o.value === question.answerValue);\r\n if (option) {\r\n answers = [{\r\n value: question.answerValue,\r\n isFinal: option.isFinal,\r\n toDoList: option.toDoList || null\r\n }];\r\n }\r\n break;\r\n }\r\n\r\n // If no answers exist, add a default null object\r\n if (answers.length === 0) {\r\n answers.push({\r\n value: null,\r\n isFinal: false,\r\n toDoList: null\r\n });\r\n }\r\n\r\n return answers;\r\n }\r\n\r\n onTextareaInput(event: Event, option: ISurveyQuestionAnswer): void {\r\n const textareaValue = (event.target as HTMLTextAreaElement).value;\r\n option.value = textareaValue;\r\n }\r\n\r\n closeMessage() {\r\n this.surveySaved.emit();\r\n this.dialogRef.close(true);\r\n }\r\n\r\n close() {\r\n this.dialogRef.close(null);\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n
\r\n

{{ survey.name }}

\r\n\r\n \r\n
\r\n

{{ survey.description }}

\r\n
\r\n\r\n \r\n
\r\n
\r\n Customer: {{customerEmail}}\r\n
\r\n
\r\n Survey: {{surveyName}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
{{ group.name }}
\r\n
\r\n
\r\n

{{ group.description }}

\r\n\r\n
\r\n
\r\n \r\n\r\n
\r\n {{question.description}}\r\n \r\n \r\n {{question.description.slice(0,344)}}\r\n ...\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n Thank you for completing the survey!\r\n
\r\n\r\n
\r\n
\r\n Based on your selections, we’ve created a list of tasks to guide you in using the Dillo platform. You can view the list by clicking the blue button in the top right corner.\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { DataSource } from '@angular/cdk/table';\r\n\r\n@Component({\r\n selector: 'app-multi-channel-request-id',\r\n templateUrl: './multi-channel-request-id.component.html',\r\n styleUrl: './multi-channel-request-id.component.scss'\r\n})\r\nexport class MultiChannelRequestIdComponent implements OnInit {\r\n\r\n public id: any = null;\r\n public callDirection: string = \"\";\r\n public telephoneNumber: string = \"\";\r\n public did: string = \"\";\r\n private requests: { [key: string]: string };\r\n public dataSource: RequesItemDataSource | null;\r\n public itemsSbj: BehaviorSubject = new BehaviorSubject([]);\r\n\r\n public displayedColumns = ['channel', 'id']; \r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any) {\r\n\r\n if (this.data == null) {\r\n return;\r\n }\r\n\r\n this.requests = data.ids;\r\n this.callDirection = data.direction;\r\n this.id = data.id;\r\n this.did = data.did;\r\n this.telephoneNumber = data.phoneNumber;\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n this.dataSource = new RequesItemDataSource(this.itemsSbj);\r\n\r\n if (this.requests != null) {\r\n let items: any[] = [];\r\n\r\n for (let key in this.requests) {\r\n let value = this.requests[key];\r\n items.push({ channel: value, id: key });\r\n }\r\n\r\n this.itemsSbj.next(items);\r\n }\r\n }\r\n\r\n}\r\n\r\nexport class RequesItemDataSource extends DataSource{\r\n constructor(private subject: BehaviorSubject) {\r\n super()\r\n }\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n disconnect() { };\r\n}\r\n","\r\n
\r\n

Multi-channel actions

\r\n\r\n
RequestId: {{id}}
\r\n
Telephone Number: {{telephoneNumber}}
\r\n
DID: {{did}}
\r\n
\r\n\r\n\r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n
Channel{{element.channel}}Request id{{element.id}}
\r\n\r\n
\r\n","import { Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { UntypedFormControl, Validators } from '@angular/forms';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { MatPaginator as MatPaginator } from '@angular/material/paginator';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { CallbackStatusList } from '../../../../core/constants/callback-status-constants';\r\nimport { RequestStatusCallbackLogDatasource } from '../../../../core/datasource/request-status-callback-log.datasource';\r\nimport { IRequestStatusCallbackLog } from '../../../../core/interfaces/common/request-status-callback-log.interface';\r\nimport { IRequestHistory } from '../../../../core/interfaces/voice/voice-request-history';\r\nimport { RequestTraceService } from '../../../../core/services/logging/request-trace.service';\r\n\r\n@Component({\r\n selector: 'app-request-status-callback-requests',\r\n templateUrl: './request-status-callback-requests.component.html',\r\n styleUrls: ['./request-status-callback-requests.component.scss'],\r\n providers: [RequestTraceService]\r\n})\r\nexport class RequestStatusCallbackRequestsComponent implements OnInit {\r\n public height: Number = 0; //the height of the grid\r\n\r\n public requests: BehaviorSubject = new BehaviorSubject([]);\r\n public allRequests: IRequestStatusCallbackLog[] = [];\r\n public dataSource: RequestStatusCallbackLogDatasource | null;\r\n\r\n private page: number = 1;\r\n public pageSize: number = 20;\r\n private pageSubject: BehaviorSubject = new BehaviorSubject(null);\r\n public totalItems: number;\r\n public displayedColumns = [\"date\", \"status\", \"error\"];\r\n public callbackStatusList = CallbackStatusList;\r\n\r\n public loading: boolean = false;\r\n public noItems: boolean = false;\r\n public callbackStatus: any = \"\";\r\n public status = new UntypedFormControl(\"all\");\r\n public channel: string;\r\n public request: IRequestHistory;\r\n\r\n @ViewChild(MatPaginator) paginator: MatPaginator;\r\n constructor(private logService: RequestTraceService,\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any) {\r\n\r\n if (this.data == null) {\r\n return;\r\n }\r\n\r\n this.request = data.request;\r\n this.channel = data.channel;\r\n }\r\n\r\n ngOnInit() {\r\n this.dataSource = new RequestStatusCallbackLogDatasource(this.requests);\r\n\r\n this.status.valueChanges.subscribe(value => {\r\n this.callbackStatus = value;\r\n\r\n this.pageSubject.next(1);\r\n this.paginator.firstPage();\r\n });\r\n\r\n this.pageSubject.subscribe(value => {\r\n this.page = value;\r\n\r\n this.getRequests();\r\n });\r\n\r\n\r\n this.getRequests();\r\n }\r\n\r\n getRequests() {\r\n\r\n if (this.request == null) {\r\n return;\r\n }\r\n\r\n this.noItems = false;\r\n this.loading = true;\r\n\r\n if (this.page == null) {\r\n this.page = 1;\r\n }\r\n\r\n this.logService.readStatusCallbackRequests(this.request.id, this.channel, this.callbackStatus, this.request.customerCode).subscribe(x => {\r\n this.loading = false;\r\n\r\n if (x == null) {\r\n return;\r\n }\r\n\r\n if (this.page == 1) {\r\n this.totalItems = x.length;\r\n\r\n if (this.totalItems == 0) {\r\n this.noItems = true;\r\n }\r\n }\r\n\r\n this.allRequests = x;\r\n\r\n this.requests.next(x.slice(0, 20));\r\n });\r\n }\r\n\r\n handlePage(e) {\r\n this.pageSubject.next(e.pageIndex + 1);\r\n let page = e.pageIndex + 1;\r\n let start = this.pageSize * e.pageIndex;\r\n let end = this.pageSize * page;\r\n console.log(\"??, index=\", e.pageIndex + 1, start, end)\r\n this.requests.next(this.allRequests.slice(start, end));\r\n }\r\n\r\n\r\n copyRequestIdToClipboard(element: IRequestStatusCallbackLog) {\r\n let selBox = document.createElement('textarea');\r\n selBox.style.position = 'fixed';\r\n selBox.style.left = '0';\r\n selBox.style.top = '0';\r\n selBox.style.opacity = '0';\r\n selBox.value = element.requestId;\r\n document.body.appendChild(selBox);\r\n selBox.focus();\r\n selBox.select();\r\n document.execCommand('copy');\r\n document.body.removeChild(selBox);\r\n }\r\n\r\n}\r\n","\r\n
\r\n

Status callback requests

\r\n
Url: {{data.statusCallbackUrl}}
\r\n\r\n \r\n *The requests are permanently deleted after 5 days.\r\n \r\n \r\n \r\n \r\n \r\n Select status\r\n \r\n \r\n {{status.name}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n No data available.\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
\r\n UTC Date\r\n \r\n
\r\n {{element.createdOnUtc | date:'dd/MM/yyy'}}
\r\n {{element.createdOnUtc | date:'HH:mm:ss':\"+0000\"}}\r\n
\r\n\r\n
\r\n Status\r\n \r\n {{element.httpStatusCode}}\r\n \r\n Error\r\n \r\n {{element.errorMessage}}\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { ITopicItemStatus } from '../../../../core/interfaces/voice/voice-topic-item-status';\r\n\r\n@Component({\r\n selector: 'app-send-action-message',\r\n templateUrl: './send-action-message.component.html',\r\n styleUrls: ['./send-action-message.component.scss']\r\n})\r\nexport class SendActionMessageComponent implements OnInit {\r\n\r\n public sendAction: ITopicItemStatus;\r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: ITopicItemStatus | null, private titleService: Title) {\r\n\r\n this.titleService.setTitle(\"Dillo |Sms activity\");\r\n\r\n if (this.data == null) {\r\n return;\r\n }\r\n this.sendAction = data;\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n}\r\n","\r\nSender: \r\n {{sendAction.sender}}
\r\nTelephone: \r\n{{sendAction.telephoneNumber}}\r\n
\r\n
Message:
\r\n {{sendAction.message}}\r\n
\r\n
\r\n \r\n
\r\n","import { DataSource } from '@angular/cdk/table';\r\nimport { DatePipe } from '@angular/common';\r\nimport { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { AsteriskCallDirect } from '../../../../core/constants/asterisk-call-direct';\r\nimport { IInboundVoiceCallHistory } from '../../../../core/interfaces/inbound/inbound-voice-call-history.interface';\r\nimport { IStorageItem } from '../../../../core/interfaces/voice/voice-request-history';\r\n\r\n@Component({\r\n selector: 'app-storage-details',\r\n templateUrl: './storage-details.component.html',\r\n styleUrls: ['./storage-details.component.scss']\r\n})\r\nexport class StorageDetailsComponent implements OnInit {\r\n public dataSource: StorageItemDataSource | null;\r\n public storageItemsSbj: BehaviorSubject = new BehaviorSubject([]);\r\n\r\n public displayedColumns = ['createdOnUtc', 'key', 'value'];\r\n public timeZoneId = \"\";\r\n public telephoneNumber: string;\r\n public id: any;\r\n public did: string;\r\n public callDirection: string;\r\n public request: any;\r\n\r\n constructor(private dialogRef: MatDialogRef,\r\n private datePipe:DatePipe,\r\n @Inject(MAT_DIALOG_DATA) public data: any | null) {\r\n if (data == null || data.request==null) {\r\n return;\r\n }\r\n\r\n if (data.callDirection == AsteriskCallDirect.Inbound) {\r\n var inboundRequest = data.request as IInboundVoiceCallHistory;\r\n this.did = inboundRequest.inboundActiveNumber;\r\n }\r\n else\r\n if (data.callDirection == \"Autopilot\") {\r\n this.displayedColumns = ['key', 'value'];\r\n this.request = data.request;\r\n }\r\n\r\n this.telephoneNumber = data.request.telephoneNumber;\r\n this.id = data.request.id;\r\n this.callDirection = data.callDirection;\r\n\r\n \r\n }\r\n\r\n\r\n ngOnInit() {\r\n this.dataSource = new StorageItemDataSource(this.storageItemsSbj);\r\n\r\n this.timeZoneId = localStorage.getItem(\"timeZoneId\");\r\n\r\n this.checkIfValueIsDate();\r\n }\r\n\r\n checkIfValueIsDate() {\r\n if (this.callDirection == \"Autopilot\") {\r\n this.storageItemsSbj.next(this.request.collectedData);\r\n return;\r\n }\r\n\r\n var storage: IStorageItem[] = this.data.request.storage;\r\n\r\n storage.map(item => {\r\n if (new Date(item.value).toString() !== 'Invalid Date' && isNaN(+item.value)) {\r\n //let regexp = new RegExp('^[a-zA-Z0-9 ]+$');\r\n let regexp = new RegExp('^[a-zA-Z0-9 șăîțâ]+$');\r\n let isNotString = regexp.test(item.value);\r\n\r\n if (!isNotString) {\r\n item.value = this.datePipe.transform(item.value, 'dd/MM/yyyy HH:MM:ss');\r\n }\r\n }\r\n });\r\n\r\n this.storageItemsSbj.next(storage);\r\n }\r\n\r\n}\r\n\r\nexport class StorageItemDataSource extends DataSource{\r\n constructor(private subject: BehaviorSubject) {\r\n super()\r\n }\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n disconnect() { };\r\n}\r\n","\r\n
\r\n

Storage details

\r\n\r\n
\r\n
RequestId: {{id}}
\r\n
Telephone Number: {{telephoneNumber}}
\r\n
DID: {{did}}
\r\n
\r\n
\r\n
Session id: {{request.sessionId}}
\r\n
Bot name: {{request.botName}}
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n
Created Date\r\n {{element.createdOnUtc | date:'d/MM/yyyy' }}
\r\n {{timeZoneId=='UTC'? (element.createdOnUtc | date:'h:mm:ss a':\"+0000\"):(element.createdOnUtc | date:'h:mm:ss a') }}\r\n \r\n\r\n \r\n
Key{{element.key}}Value\r\n 30\">{{element.value | slice :0:30}} ...\r\n {{element.value}}\r\n
\r\n\r\n
\r\n","import { DataSource } from '@angular/cdk/table';\r\nimport { Component, Inject, OnInit } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { ChannelBehaviorActionType } from '../../../../../core/constants/channel-behavior-action-type';\r\nimport { ICallAI, ICallRecording, ICallService } from '../../../../../core/interfaces/voice/voice-call-price-details';\r\nimport { IVoiceRequestHistory } from '../../../../../core/interfaces/voice/voice-request-history';\r\n\r\n@Component({\r\n selector: 'app-call-price-details',\r\n templateUrl: './call-price-details.component.html',\r\n styleUrls: ['./call-price-details.component.scss']\r\n})\r\nexport class CallPriceDetailsComponent implements OnInit {\r\n\r\n public callServiceDataSource: CallServiceDataSource | null;\r\n public callAIDataSource: CallAIDataSource | null;\r\n public callTTSDataSource: CallTTSDataSource | null;\r\n public callRecordingsDataSource: CallRecordingsDataSource | null;\r\n public callAIRephrasingDataSource: CallTTSDataSource | null;\r\n public callAIAskAssistantDataSource: CallAIDataSource | null;\r\n public callAIGenerativeDataSource: CallAIDataSource | null;\r\n\r\n public request: IVoiceRequestHistory = null;\r\n public callServices: ICallService[] = [];\r\n public callRecordings: ICallRecording[] = [];\r\n public callTTSList: ICallService[] = [];\r\n public callAIList: ICallAI[] = [];\r\n\r\n public callServicesBehaviorSbj: BehaviorSubject = new BehaviorSubject([]);\r\n public callRecordingsBehaviorSbj: BehaviorSubject = new BehaviorSubject([]);\r\n public callTTSListBehaviorSbj: BehaviorSubject = new BehaviorSubject([]);\r\n public callAIListBehaviorSbj: BehaviorSubject = new BehaviorSubject([]);\r\n public callAIFRephraseListBehaviorSbj: BehaviorSubject = new BehaviorSubject([]);\r\n public callAIAskAssistantBehaviorSbj: BehaviorSubject = new BehaviorSubject([]);\r\n public callAIGenerativeBehaviorSbj: BehaviorSubject = new BehaviorSubject([]);\r\n\r\n public callServiceDisplayedColumns = ['serviceName', 'duration', 'pricePerInterval', 'numberOfIntervals', 'totalPrice'];\r\n public callRecordingsDisplayedColumns = ['recordings', 'nodeKey', 'recDuration', 'priceDetails'];\r\n public callTTSDisplayedColumns = ['tts', 'pricePerCharacters', 'numberOfCharacters', 'totalPrice'];\r\n public callAIDisplayedColumns = ['ai', 'interval', 'pricePerIntervalAI', 'priceDetails'];\r\n public callAssistantDisplayedColumns = ['model', 'priceDetails'];\r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: IVoiceRequestHistory | null) {\r\n\r\n if (this.data == null) {\r\n return;\r\n }\r\n this.request = data;\r\n }\r\n\r\n ngOnInit() {\r\n this.callServiceDataSource = new CallServiceDataSource(this.callServicesBehaviorSbj);\r\n this.callRecordingsDataSource = new CallRecordingsDataSource(this.callRecordingsBehaviorSbj);\r\n this.callTTSDataSource = new CallTTSDataSource(this.callTTSListBehaviorSbj);\r\n this.callAIDataSource = new CallAIDataSource(this.callAIListBehaviorSbj);\r\n this.callAIRephrasingDataSource = new CallTTSDataSource(this.callAIFRephraseListBehaviorSbj);\r\n this.callAIAskAssistantDataSource = new CallAIDataSource(this.callAIAskAssistantBehaviorSbj);\r\n this.callAIGenerativeDataSource = new CallAIDataSource(this.callAIGenerativeBehaviorSbj);\r\n\r\n this.callAIListBehaviorSbj.subscribe(value => this.callAIList = value)\r\n\r\n this.getCallPriceDetails();\r\n }\r\n\r\n getCallPriceDetails() {\r\n var dialActions: ICallService[] = [];\r\n var isInbound = this.request.inboundActiveNumber != null;\r\n\r\n var channelBehavior = JSON.parse(this.request.channelBehavior);\r\n\r\n Object.entries(channelBehavior.ChannelBehaviorNodes).forEach(function ([key, value]) {\r\n\r\n var channelBehaviorNode: any = value;\r\n if (channelBehaviorNode.ChannelBehaviorAction.CallDuration == undefined) {\r\n return;\r\n }\r\n if (channelBehaviorNode.ActionType == ChannelBehaviorActionType.Dial) {\r\n dialActions.push({\r\n serviceName: `Dial (${channelBehaviorNode.ChannelBehaviorAction.TelephoneNumber})`,\r\n duration: channelBehaviorNode.ChannelBehaviorAction.CallDuration,\r\n interval: channelBehaviorNode.ChannelBehaviorAction.Interval,\r\n numberOfIntervals: Math.ceil(channelBehaviorNode.ChannelBehaviorAction.CallDuration / channelBehaviorNode.ChannelBehaviorAction.Interval),\r\n pricePerInterval: channelBehaviorNode.ChannelBehaviorAction.PricePerInterval,\r\n totalPrice: channelBehaviorNode.ChannelBehaviorAction.Price\r\n });\r\n\r\n }\r\n\r\n if (channelBehaviorNode.ActionType == ChannelBehaviorActionType.Conference) {\r\n\r\n dialActions.push({\r\n serviceName: `Conference (${channelBehaviorNode.ChannelBehaviorAction.RoomName})`,\r\n duration: channelBehaviorNode.ChannelBehaviorAction.CallDuration,\r\n interval: channelBehaviorNode.ChannelBehaviorAction.Interval,\r\n numberOfIntervals: Math.ceil(channelBehaviorNode.ChannelBehaviorAction.CallDuration / channelBehaviorNode.ChannelBehaviorAction.Interval),\r\n pricePerInterval: channelBehaviorNode.ChannelBehaviorAction.PricePerInterval,\r\n totalPrice: channelBehaviorNode.ChannelBehaviorAction.Price\r\n });\r\n }\r\n });\r\n\r\n\r\n\r\n if (this.request.numberOfIntervals == 0 || this.request.numberOfIntervals == undefined) {\r\n this.callServices = dialActions;\r\n }\r\n else {\r\n let serviceName = isInbound ? 'Inbound call' : 'Outbound call';\r\n\r\n if (this.request.isVirtualNumber && this.request.trunk != null && this.request.trunk != '') {\r\n serviceName= \"Virtual extension\"\r\n }\r\n\r\n this.callServices = [{\r\n serviceName: serviceName,\r\n duration: this.request.callDuration,\r\n numberOfIntervals: this.request.numberOfIntervals,\r\n interval: this.request.interval,\r\n pricePerInterval: this.request.pricePerInterval,\r\n totalPrice: this.request.pricePerInterval * this.request.numberOfIntervals\r\n }, ...dialActions];\r\n }\r\n\r\n if (this.request.apiRequestPrice != null) {\r\n this.callServices.push({\r\n serviceName: 'API Request',\r\n totalPrice: this.request.apiRequestPrice != null ? this.request.apiRequestPrice : 0\r\n })\r\n }\r\n\r\n if (this.request.computingPrice != null) {\r\n this.callServices.push({\r\n serviceName: 'Computing',\r\n pricePerInterval: this.request.computingPricePerInterval,\r\n numberOfIntervals: this.request.numberOfExecutedNodes,\r\n totalPrice: this.request.computingPrice\r\n })\r\n }\r\n\r\n this.getRecordingsInfo();\r\n this.getTTSInfo();\r\n\r\n\r\n this.callServicesBehaviorSbj.next(this.callServices);\r\n this.callRecordingsBehaviorSbj.next(this.callRecordings);\r\n this.callTTSListBehaviorSbj.next(this.callTTSList);\r\n\r\n this.callAIListBehaviorSbj.next(this.getAIPrices());\r\n this.callAIFRephraseListBehaviorSbj.next(this.getRephrasingPrices());\r\n this.callAIAskAssistantBehaviorSbj.next(this.getAskAssistantPrices());\r\n this.callAIGenerativeBehaviorSbj.next(this.getGenerativeAIPrices());\r\n //this.callAIAskAssistantOutputBehaviorSbj.next(this.getAskAssistantOutputPrices());\r\n }\r\n\r\n getRecordingsInfo() {\r\n this.request.recordings.forEach((recording, index) => {\r\n var nodeKey = recording.fileName.split(\"_\")[2] != undefined ? recording.fileName.split(\"_\")[2] : '-';\r\n var isAsr = recording.fileName.startsWith('menu_') || recording.fileName.startsWith('collect') || recording.fileName.startsWith('ai_') || recording.fileName.startsWith('ask') ? true : false;\r\n var recordingsService: ICallService[] = [];\r\n var storageName = this.getStorageName(recording.recordingStoragePeriodCode);\r\n if (recording.url != null) {\r\n\r\n recordingsService.push({\r\n serviceName: `Storage for ${storageName}`,\r\n duration: 0,\r\n interval: recording.interval,\r\n numberOfIntervals: recording.numberOfIntervals,\r\n pricePerInterval: recording.price / recording.numberOfIntervals,\r\n totalPrice: recording.price\r\n });\r\n }\r\n if (recording.transcriptionPrice > 0) {\r\n recordingsService.push({\r\n serviceName: isAsr ? 'Automatic Speech Recognition' : 'Transcription',\r\n duration: 0,\r\n interval: recording.transcriptionInterval,\r\n numberOfIntervals: recording.transcriptionNumberOfIntervals,\r\n pricePerInterval: recording.transcriptionPrice / recording.transcriptionNumberOfIntervals,\r\n totalPrice: recording.transcriptionPrice\r\n });\r\n }\r\n\r\n if (recording.languageDetectionPrice > 0 && recording.languageDetectionNumberOfIntervals > 0) {\r\n recordingsService.push({\r\n serviceName: `Language Detection ${recording.detectedLanguageCode != null && recording.detectedLanguageCode != \"\" ? `(${recording.detectedLanguageCode})` : \"\"}`,\r\n duration: 0,\r\n interval: recording.languageDetectionInterval,\r\n numberOfIntervals: recording.languageDetectionNumberOfIntervals,\r\n pricePerInterval: recording.languageDetectionPrice / recording.languageDetectionNumberOfIntervals,\r\n totalPrice: recording.languageDetectionPrice\r\n });\r\n }\r\n\r\n console.log(\"??\", recordingsService);\r\n\r\n this.callRecordings.push({\r\n name: `Recording ${index + 1}`,\r\n duration: recording.duration,\r\n nodeKey: nodeKey,\r\n services: recordingsService,\r\n totalPrice: (recording.price != null ? recording.price : 0) + (recording.transcriptionPrice != null ? recording.transcriptionPrice : 0) + (recording.languageDetectionPrice != null ? recording.languageDetectionPrice : 0)\r\n });\r\n\r\n });\r\n\r\n }\r\n\r\n getTTSInfo() {\r\n if (this.request.textToSpeechAIPoweredTotalPrice != null) {\r\n this.callTTSList.push({\r\n serviceName: 'AIPowered',\r\n interval: this.request.textToSpeechAIPoweredInterval,\r\n numberOfIntervals: this.request.numberOfCharactersAIPowered,\r\n pricePerInterval: this.request.textToSpeechAIPoweredPricePerInterval,\r\n totalPrice: this.request.textToSpeechAIPoweredTotalPrice\r\n });\r\n }\r\n\r\n if (this.request.textToSpeechPremiumTotalPrice != null) {\r\n this.callTTSList.push({\r\n serviceName: 'Premium',\r\n interval: this.request.textToSpeechPremiumInterval,\r\n numberOfIntervals: this.request.numberOfCharactersPremium,\r\n pricePerInterval: this.request.textToSpeechPremiumPricePerInterval,\r\n totalPrice: this.request.textToSpeechPremiumTotalPrice\r\n });\r\n }\r\n\r\n if (this.request.textToSpeechStandardTotalPrice != null) {\r\n this.callTTSList.push({\r\n serviceName: 'Standard',\r\n interval: this.request.textToSpeechStandardInterval,\r\n numberOfIntervals: this.request.numberOfCharactersStandard,\r\n pricePerInterval: this.request.textToSpeechStandardPricePerInterval,\r\n totalPrice: this.request.textToSpeechStandardTotalPrice\r\n });\r\n }\r\n }\r\n\r\n getAIPrices() {\r\n let response: ICallAI[] = [];\r\n\r\n if (this.request.rephrasings != null && this.request.rephrasingPrice > 0) {\r\n let prices: ICallService[] = this.request.rephrasings.map(item => {\r\n var name = item.rephrasedText;\r\n if (this.request.isAnonymized == true) {\r\n name = \"[anonymized]\";\r\n }\r\n var price: ICallService = {\r\n serviceName: name,\r\n interval: this.request.rephrasingTokensInterval,\r\n duration: item.tokens,\r\n pricePerInterval: this.request.rephrasingPricePerInterval,\r\n numberOfIntervals: item.tokens / this.request.rephrasingTokensInterval,\r\n totalPrice: this.request.rephrasingPricePerInterval * (item.tokens / this.request.rephrasingTokensInterval)\r\n };\r\n\r\n return price;\r\n });\r\n\r\n let ai: ICallAI = {\r\n name: \"Rephrasing\",\r\n interval: this.request.rephrasingTokensInterval,\r\n pricePerInterval: this.request.rephrasingPricePerInterval,\r\n services: prices,\r\n totalPrice: this.request.rephrasingPrice\r\n }\r\n\r\n response.push(ai);\r\n }\r\n\r\n if (this.request.botEndpointHitTextsDeserialized != null && this.request.botEndpointHitTextsDeserialized.length > 0) {\r\n let prices: ICallService[] = this.request.botEndpointHitTextsDeserialized.map(item => {\r\n let length = item.length;\r\n let name = item;\r\n if (this.request.isAnonymized == true) {\r\n //The anonymized text looks like this \"b57c95a13338ff0610064060209b134e - Text length: 19\"\r\n length = + item.substring(item.indexOf(\"length\") + 8);\r\n name = \"[anonymized]\";\r\n }\r\n var price: ICallService = {\r\n serviceName: name,\r\n interval: this.request.botEndpointHitInterval,\r\n duration: length,\r\n numberOfIntervals: Math.ceil(length / this.request.botEndpointHitInterval),\r\n pricePerInterval: this.request.pricePerBotEndpointHit,\r\n totalPrice: Math.ceil(length / this.request.botEndpointHitInterval) * this.request.pricePerBotEndpointHit\r\n };\r\n\r\n return price;\r\n });\r\n\r\n let ai: ICallAI = {\r\n name: \"Intent Detection\",\r\n interval: this.request.botEndpointHitInterval,\r\n pricePerInterval: this.request.pricePerBotEndpointHit,\r\n services: prices,\r\n totalPrice: this.request.totalPricePerEndpointHit\r\n }\r\n\r\n response.push(ai);\r\n }\r\n\r\n return response;\r\n }\r\n\r\n getRephrasingPrices() {\r\n if (this.request.rephrasingPrice == null) {\r\n return [];\r\n }\r\n\r\n let price: ICallService = {\r\n serviceName: \"AI Rephrasing\",\r\n interval: this.request.rephrasingTotalTokens,\r\n pricePerInterval: this.request.rephrasingPricePerInterval,\r\n totalPrice: this.request.rephrasingPrice,\r\n numberOfIntervals: this.request.rephrasingNumberOfIntervals\r\n }\r\n\r\n return [price];\r\n }\r\n\r\n getAskAssistantPrices() {\r\n if (this.request.askAiAssistantPricings == null) {\r\n return [];\r\n }\r\n\r\n let modelPrice: ICallAI[] = [];\r\n\r\n if (this.request.askAiAssistantPricings != null && this.request.askAiAssistantPricings.length > 0) {\r\n\r\n this.request.askAiAssistantPricings.forEach(item => {\r\n var name = item.model;\r\n let prices: ICallService[] = [];\r\n var price: ICallService = {\r\n serviceName: \"Input\",\r\n //interval: item.askAiAssistantInputNumberOfIntervals,\r\n duration: item.askAiAssistantTotalInputTokens,\r\n pricePerInterval: item.askAiAssistantInputPricePerInterval,\r\n numberOfIntervals: item.askAiAssistantInputNumberOfIntervals,\r\n totalPrice: item.askAiAssistantInputPrice\r\n };\r\n\r\n let priceOutput: ICallService = {\r\n serviceName: \"Output\",\r\n //interval: item.askAiAssistantOutputNumberOfIntervals,\r\n duration: item.askAiAssistantTotalOutputTokens,\r\n pricePerInterval: item.askAiAssistantOutputPricePerInterval,\r\n numberOfIntervals: item.askAiAssistantOutputNumberOfIntervals,\r\n totalPrice: item.askAiAssistantOutputPrice\r\n };\r\n\r\n prices.push(price);\r\n prices.push(priceOutput);\r\n\r\n let type = \"Creative\";\r\n if (item.type != 'OpenAI') {\r\n type = \"Seeker\";\r\n }\r\n\r\n let ai: ICallAI = {\r\n name: `${type} ${item.model}`,\r\n interval: 1000000,\r\n pricePerInterval: 0,\r\n services: prices,\r\n totalPrice: priceOutput.totalPrice + price.totalPrice\r\n };\r\n\r\n modelPrice.push(ai);\r\n });\r\n }\r\n\r\n return modelPrice;\r\n }\r\n\r\n getGenerativeAIPrices() {\r\n if (this.request.askGenerativeAiPricings == null) {\r\n return [];\r\n }\r\n\r\n let modelPrice: ICallAI[] = [];\r\n\r\n if (this.request.askGenerativeAiPricings != null && this.request.askGenerativeAiPricings.length > 0) {\r\n\r\n this.request.askGenerativeAiPricings.forEach(item => {\r\n var name = item.model;\r\n let prices: ICallService[] = [];\r\n var price: ICallService = {\r\n serviceName: \"Input\",\r\n //interval: item.askAiAssistantInputNumberOfIntervals,\r\n duration: item.askAiAssistantTotalInputTokens,\r\n pricePerInterval: item.askAiAssistantInputPricePerInterval,\r\n numberOfIntervals: item.askAiAssistantInputNumberOfIntervals,\r\n totalPrice: item.askAiAssistantInputPrice\r\n };\r\n\r\n let priceOutput: ICallService = {\r\n serviceName: \"Output\",\r\n //interval: item.askAiAssistantOutputNumberOfIntervals,\r\n duration: item.askAiAssistantTotalOutputTokens,\r\n pricePerInterval: item.askAiAssistantOutputPricePerInterval,\r\n numberOfIntervals: item.askAiAssistantOutputNumberOfIntervals,\r\n totalPrice: item.askAiAssistantOutputPrice\r\n };\r\n\r\n prices.push(price);\r\n prices.push(priceOutput);\r\n\r\n let ai: ICallAI = {\r\n name: `${item.model}`,\r\n interval: 1000000,\r\n pricePerInterval: 0,\r\n services: prices,\r\n totalPrice: priceOutput.totalPrice + price.totalPrice\r\n };\r\n\r\n modelPrice.push(ai);\r\n });\r\n }\r\n\r\n return modelPrice;\r\n }\r\n\r\n\r\n getStorageName(storagePeriodCode: string) {\r\n switch (storagePeriodCode) {\r\n\r\n case '3-M': return '3 months';\r\n case '6-M': return '6 months'\r\n case '1-Y': return '1 year'\r\n case '2-Y': return '2 years'\r\n case '3-Y': return '3 years'\r\n }\r\n }\r\n\r\n}\r\n\r\nexport class CallServiceDataSource extends DataSource{\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { };\r\n}\r\n\r\nexport class CallRecordingsDataSource extends DataSource{\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { };\r\n}\r\n\r\nexport class CallTTSDataSource extends DataSource{\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { };\r\n}\r\n\r\nexport class CallAIDataSource extends DataSource{\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { };\r\n}\r\n\r\n\r\n\r\n\r\n","

Call price details

\r\n\r\nRequestId: {{request.id}}\r\n\r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n
Service Name{{element.serviceName}}Duration{{element.duration | number : '1.1-2'}}Price / interval\r\n {{element.pricePerInterval | number : '1.3-5'}} € / {{element.interval}} sec\r\n {{element.pricePerInterval | number : '1.3-5'}} € / {{element.interval}} node\r\n No. intervals\r\n {{element.numberOfIntervals}}\r\n Total price\r\n {{element.totalPrice | number : '1.3-5' }} €\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n\r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n
TEXT-TO-SPEECH{{element.serviceName}}Price / characters\r\n {{element.pricePerInterval | number : '1.3-5'}} € / {{element.interval}}\r\n No. characters\r\n {{element.numberOfIntervals}}\r\n Total price\r\n {{element.totalPrice | number : '1.3-5' }} €\r\n
\r\n\r\n\r\n\r\n
\r\n\r\n\r\n
0\">\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n
RECORDINGS{{element.name}}Node key{{element.nodeKey}}Duration (sec.)\r\n {{element.duration | number : '1.1-2'}}\r\n PriceDetails\r\n\r\n
\r\n
\r\n
\r\n Service name\r\n
\r\n\r\n
\r\n Price / interval\r\n
\r\n\r\n
\r\n No. intervals\r\n
\r\n\r\n
\r\n Total price\r\n
\r\n
\r\n\r\n
\r\n
\r\n {{service.serviceName}}\r\n
\r\n\r\n
\r\n {{service.pricePerInterval | number : '1.3-5'}} € / {{service.interval}} sec\r\n
\r\n\r\n
\r\n {{service.numberOfIntervals}}\r\n
\r\n\r\n
\r\n {{service.totalPrice | number : '1.3-5' }} €\r\n
\r\n
\r\n\r\n
\r\n
Total price for {{element.name}}: {{element.totalPrice | number : '1.3-5'}} €
\r\n\r\n\r\n
\r\n
\r\n\r\n
0\">\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n
AI{{element.name}}Interval\r\n {{element.interval}}\r\n
\r\n tokens\r\n chars\r\n
Price /
Interval
\r\n {{element.pricePerInterval | number : '1.3-5'}}\r\n Price Details\r\n\r\n
\r\n
\r\n
\r\n Text\r\n
\r\n\r\n
\r\n Length\r\n
\r\n\r\n
\r\n No. intervals\r\n
\r\n\r\n
\r\n Total price\r\n
\r\n
\r\n\r\n
\r\n
\r\n {{service.serviceName}}\r\n
\r\n\r\n
\r\n {{service.duration}}\r\n tokens\r\n chars\r\n
\r\n\r\n
\r\n {{service.numberOfIntervals}}\r\n
\r\n\r\n
\r\n {{service.totalPrice | number : '1.3-5' }} €\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n Total price for {{element.name}}: {{element.totalPrice | number : '1.3-5'}} € \r\n
\r\n\r\n
\r\n
\r\n\r\n
0\">\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n
Ask AI Assistant{{element.name}}Price Details\r\n\r\n
\r\n
\r\n
\r\n Type\r\n
\r\n\r\n
\r\n Tokens\r\n
\r\n\r\n
\r\n No. intervals\r\n
\r\n\r\n
\r\n Total price\r\n
\r\n
\r\n\r\n
\r\n
\r\n {{service.serviceName}}\r\n
\r\n\r\n
\r\n {{service.duration}} tokens\r\n
\r\n\r\n
\r\n {{service.numberOfIntervals}}\r\n
\r\n\r\n
\r\n {{service.totalPrice | number : '1.3-5' }} €\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n Total price for {{element.name}}: {{element.totalPrice | number : '1.3-5'}} € \r\n
\r\n\r\n
\r\n
\r\n\r\n
0\">\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n
Ask Generative AI{{element.name}}Price Details\r\n\r\n
\r\n
\r\n
\r\n Model\r\n
\r\n\r\n
\r\n Tokens\r\n
\r\n\r\n
\r\n No. intervals\r\n
\r\n\r\n
\r\n Total price\r\n
\r\n
\r\n\r\n
\r\n
\r\n {{service.serviceName}}\r\n
\r\n\r\n
\r\n {{service.duration}} tokens\r\n
\r\n\r\n
\r\n {{service.numberOfIntervals}}\r\n
\r\n\r\n
\r\n {{service.totalPrice | number : '1.3-5' }} €\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n Total price for {{element.name}}: {{element.totalPrice | number : '1.3-5'}} € \r\n
\r\n\r\n
\r\n
\r\n\r\n
TOTAL PRICE: {{request.price | number : '1.3-5'}} €
\r\n","import { DataSource } from '@angular/cdk/table';\r\nimport { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { IVoiceDialAction } from '../../../../../core/interfaces/voice/voice-dial-action';\r\nimport { VoiceActivityLogsComponent } from '../voice-activity-logs/voice-activity-logs.component';\r\n\r\n@Component({\r\n selector: 'app-dial-action-info',\r\n templateUrl: './dial-action-info.component.html',\r\n styleUrls: ['./dial-action-info.component.scss']\r\n})\r\nexport class DialActionInfoComponent implements OnInit {\r\n\r\n public dataSource: DialNumberDataSource | null;\r\n public displayedColumns = ['telephoneNumber', 'sender', 'duration', 'price'];\r\n\r\n public dialNumbers : BehaviorSubject = new BehaviorSubject([]);\r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: IVoiceDialAction[] | null, private titleService: Title) {\r\n\r\n this.titleService.setTitle(\"Dillo | ActivityLogs\");\r\n if (this.data == null || this.data.length == 0) {\r\n return;\r\n }\r\n this.dialNumbers.next(data);\r\n this.dataSource = new DialNumberDataSource(this.dialNumbers);\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n\r\n}\r\n\r\nexport class DialNumberDataSource extends DataSource{\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { };\r\n}\r\n","

\r\n Dial numbers\r\n

\r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n
Telephone Number{{element.telephoneNumber}}Sender{{element.sender}}Call Duration\r\n {{element.callDuration | number : '1.3-3'}} sec \r\n Price\r\n {{element.price | number : '1.3-5'}}\r\n\r\n
\r\n
\r\n","import { Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { JsonEditorComponent, JsonEditorOptions } from 'ang-jsoneditor';\r\n\r\n@Component({\r\n selector: 'app-preview-inbound-channel-behavior',\r\n templateUrl: './preview-inbound-channel-behavior.component.html',\r\n styleUrls: ['./preview-inbound-channel-behavior.component.scss']\r\n})\r\nexport class PreviewInboundChannelBehaviorComponent implements OnInit {\r\n\r\n public channelBehavior: any;\r\n\r\n public editorOptions: JsonEditorOptions;\r\n @ViewChild(JsonEditorComponent) jsonTextEditor: JsonEditorComponent;\r\n\r\n constructor(private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any | null) {\r\n\r\n this.editorOptions = new JsonEditorOptions();\r\n this.editorOptions.modes = ['code', 'text', 'tree'];\r\n this.editorOptions.mode = 'code';\r\n\r\n if (data == null) {\r\n return;\r\n }\r\n // console.log(data);\r\n this.channelBehavior = JSON.parse(data.channelBehavior);\r\n\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n \r\n
\r\n","import { DataSource } from '@angular/cdk/table';\r\nimport { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { IVoiceCallRecording } from '../../../../../core/interfaces/voice/voice-call-recording.interface';\r\n\r\n\r\n@Component({\r\n selector: 'app-recording-list',\r\n templateUrl: './recording-list.component.html',\r\n styleUrls: ['./recording-list.component.scss']\r\n})\r\nexport class RecordingListComponent implements OnInit {\r\n public dataSource: VoiceRecordingDataSource | null;\r\n public recordingsSbj: BehaviorSubject = new BehaviorSubject([]);\r\n\r\n public displayedColumns = ['duration', /*'price',*/ 'storageCode', 'transcription', 'play'];\r\n\r\n private recordingList: IVoiceCallRecording[]=[];\r\n\r\n constructor(private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any | null) {\r\n if (data == null || data.recordings.length==0) {\r\n return;\r\n }\r\n\r\n data.recordings.map(item => {\r\n if (item.url != null && item.url != '') {\r\n item.storageLabel = this.getStoragePeriodLabel(item.recordingStoragePeriodCode);\r\n \r\n }\r\n this.recordingList.push(item);\r\n });\r\n\r\n this.recordingsSbj.next(this.recordingList);\r\n \r\n }\r\n\r\n ngOnInit() {\r\n this.dataSource = new VoiceRecordingDataSource(this.recordingsSbj);\r\n }\r\n\r\n playAudio(path) {\r\n let audio = new Audio();\r\n audio.src = path;\r\n audio.load();\r\n audio.play();\r\n }\r\n\r\n getStoragePeriodLabel(recordingStoragePeriodCode: string): string {\r\n let label = '';\r\n switch (recordingStoragePeriodCode) {\r\n\r\n case '3-M': {\r\n label = '3 Months';\r\n break\r\n }\r\n case '6-M': {\r\n label = '6 Months';\r\n break;\r\n }\r\n case '1-Y': {\r\n label = '1 Year';\r\n break;\r\n }\r\n case '2-Y': {\r\n label = '2 Years';\r\n break;\r\n }\r\n case '3-Y': {\r\n label = '3 Years';\r\n break\r\n }\r\n }\r\n\r\n return label;\r\n }\r\n\r\n}\r\n\r\nexport class VoiceRecordingDataSource extends DataSource{\r\n constructor(private subject: BehaviorSubject) {\r\n super()\r\n }\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n disconnect() { };\r\n}\r\n\r\n","
\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n
Duration{{element.duration | number : '1.3-3'}}Price\r\n 0\">{{element.transcriptionPrice | number : '1.3-5'}}\r\n 0\">{{element.price | number : '1.3-5'}}\r\n Storage Period{{element.storageLabel}} Has Transcription\r\n \r\n Yes   \r\n \r\n No\r\n Has language detection\r\n \r\n Yes   \r\n \r\n No\r\n Play\r\n \r\n\r\n \r\n
\r\n\r\n
\r\n","import { Component, OnInit, Inject } from '@angular/core';\r\nimport { MenuDetectedIntentDataSource } from '../../../../../core/datasource/inbound-voice-call-data-source';\r\nimport { IMenuDetectedIntent } from '../../../../../core/interfaces/voice/menu-detected-intent.interface';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { IExtractedEntity } from '../../../../../core/interfaces/ai/prediction-result.interface';\r\n\r\n@Component({\r\n selector: 'app-view-menu-detected-intents',\r\n templateUrl: './view-menu-detected-intents.component.html',\r\n styleUrls: ['./view-menu-detected-intents.component.scss']\r\n})\r\nexport class ViewMenuDetectedIntentsComponent implements OnInit {\r\n\r\n public dataSource: MenuDetectedIntentDataSource | null;\r\n public displayedColumns = [/*'intent', */'text', \"entity\", \"subtype\", 'value'];\r\n\r\n private detectedIntentsSbj: BehaviorSubject = new BehaviorSubject([]);\r\n private detectedIntents: IMenuDetectedIntent[];\r\n private isAnonymized: boolean= false;\r\n\r\n constructor(private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any | null) {\r\n\r\n if (data == null) {\r\n return;\r\n }\r\n\r\n this.detectedIntents = data.detectedIntents;\r\n this.isAnonymized = data.isAnonymized;\r\n }\r\n\r\n ngOnInit() {\r\n this.dataSource = new MenuDetectedIntentDataSource(this.detectedIntentsSbj);\r\n\r\n this.detectedIntentsSbj.subscribe(value => {\r\n if (value.find(x => x.subtype != null && x.subtype != \"\") == null) {\r\n //remove subtype column\r\n this.displayedColumns = this.displayedColumns.filter(x => x != \"subtype\");\r\n }\r\n });\r\n\r\n if (this.detectedIntents != null && this.detectedIntents.length >0) {\r\n var array: IMenuDetectedIntent[] = [];\r\n\r\n this.detectedIntents.map(item => {\r\n if (item.entities != null) {\r\n var entities = this.getEntities(item);\r\n entities.map(x => array.push(x));\r\n }\r\n else {\r\n const entity: IMenuDetectedIntent = {\r\n text: item.text,\r\n nodeKey: item.nodeKey,\r\n entities: item.entities,\r\n entity: \"\",\r\n value: \"\",\r\n subtype: \"\"\r\n };\r\n array.push(entity);\r\n }\r\n });\r\n\r\n this.detectedIntentsSbj.next(array);\r\n }\r\n\r\n }\r\n\r\n getEntities(element:IMenuDetectedIntent):IMenuDetectedIntent[] {\r\n var entities: IMenuDetectedIntent[] = [];\r\n Object.keys(element.entities).forEach(key => {\r\n var extractedEntity: IExtractedEntity[] = element.entities != null ? element.entities[key] : [];\r\n\r\n extractedEntity.map(item => {\r\n const entity: IMenuDetectedIntent = {\r\n text: this.isAnonymized == true ? \"[anonymized]\": element.text ,\r\n nodeKey: element.nodeKey,\r\n entities: element.entities,\r\n entity: key,\r\n value: this.isAnonymized == true ? \"[anonymized]\": item.value,\r\n subtype:item.subtype\r\n };\r\n entities.push(entity);\r\n })\r\n\r\n });\r\n\r\n return entities;\r\n\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n
Intent{{element.nodekey}}Text{{element.text}}Entity{{element.entity}}Subtype{{element.subtype}}Value{{element.value}}
\r\n\r\n
\r\n","import { DataSource } from '@angular/cdk/table';\r\nimport { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { IVoiceRequestHistoryLogs } from '../../../../../core/interfaces/voice/voice-request-history-logs';\r\n\r\n@Component({\r\n selector: 'app-voice-activity-logs',\r\n templateUrl: './voice-activity-logs.component.html',\r\n styleUrls: ['./voice-activity-logs.component.scss']\r\n})\r\nexport class VoiceActivityLogsComponent implements OnInit {\r\n\r\n public dataSource: VoiceActivityLogsDataSource | null;\r\n\r\n public historyLogs: BehaviorSubject = new BehaviorSubject([]);\r\n\r\n public displayedColumns = ['createdOnUtc', 'status', 'errorCode'];\r\n\r\n public dataAvailable: boolean = true;\r\n public timeZoneId = \"\";\r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: IVoiceRequestHistoryLogs[] | null, private titleService: Title) {\r\n\r\n this.titleService.setTitle(\"Dillo | ActivityLogs\");\r\n if (this.data == null || this.data.length == 0) {\r\n this.dataAvailable = false;\r\n return;\r\n }\r\n\r\n this.historyLogs.next(data);\r\n }\r\n\r\n ngOnInit() {\r\n this.dataSource = new VoiceActivityLogsDataSource(this.historyLogs);\r\n\r\n this.timeZoneId = localStorage.getItem(\"timeZoneId\");\r\n }\r\n\r\n}\r\n\r\nexport class VoiceActivityLogsDataSource extends DataSource{\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { }\r\n}\r\n","\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
Date\r\n {{timeZoneId=='UTC'? (element.createdOnUtc | date:'medium':\"+0000\"):(element.createdOnUtc | date:'medium') }}\r\n Status{{element.status}}Error code{{element.errorCode}}
\r\n\r\n
\r\n

No information available!

\r\n
\r\n
\r\n\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { AgentBillingType, AgentType } from '../../../../core/constants/agent-type';\r\nimport { ICustomer } from '../../../../core/interfaces/customer/customer';\r\nimport { CustomerService } from '../../../../core/services/customers/customer.service';\r\nimport { ExtraServicesPricelistService } from '../../../../core/services/voice/extra-services-pricelist.service';\r\nimport { RequestOfferFormService } from './request-offer-form.service';\r\n\r\n@Component({\r\n selector: 'app-request-agent-offer',\r\n templateUrl: './request-agent-offer.component.html',\r\n styleUrls: ['./request-agent-offer.component.scss'],\r\n providers: [RequestOfferFormService, CustomerService]\r\n})\r\nexport class RequestAgentOfferComponent implements OnInit {\r\n\r\n public billingTypes = [AgentBillingType.Monthly, AgentBillingType.Annually];\r\n public agentTypes = [AgentType.Phone, AgentType.Conference];\r\n public error: boolean = false;\r\n public invalid: boolean = false;\r\n private customer: ICustomer;\r\n\r\n constructor(private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any | null,\r\n private formService: RequestOfferFormService,\r\n private extraServicePricelistService: ExtraServicesPricelistService,\r\n private customerService:CustomerService) { }\r\n\r\n ngOnInit() {\r\n this.customerService.getCustomerFromCache().subscribe(x => {\r\n this.customer = x;\r\n if (x != null) {\r\n this.email.setValue(x.email);\r\n }\r\n })\r\n }\r\n\r\n get form() {\r\n return this.formService.form;\r\n }\r\n\r\n get name() {\r\n return this.formService.getFormControl(\"name\");\r\n }\r\n\r\n get email() {\r\n return this.formService.getFormControl(\"email\");\r\n }\r\n\r\n get number() {\r\n return this.formService.getFormControl(\"number\");\r\n }\r\n\r\n get agentsPhoneMonthly() {\r\n return this.formService.getFormControl(\"agentsPhoneMonthly\");\r\n }\r\n\r\n get agentsPhoneAnnually() {\r\n return this.formService.getFormControl(\"agentsPhoneAnnually\");\r\n }\r\n\r\n get agentsConference() {\r\n return this.formService.getFormControl(\"agentsConference\");\r\n }\r\n\r\n get message() {\r\n return this.formService.getFormControl(\"message\");\r\n }\r\n\r\n get agentsLiveMonthly() {\r\n return this.formService.getFormControl(\"agentsLiveMonthly\");\r\n }\r\n\r\n get agentsLiveAnnually() {\r\n return this.formService.getFormControl(\"agentsLiveAnnually\");\r\n }\r\n\r\n get agentsRemoteMonthly() {\r\n return this.formService.getFormControl(\"agentsRemoteMonthly\");\r\n }\r\n\r\n get agentsRemoteAnnually() {\r\n return this.formService.getFormControl(\"agentsRemoteAnnually\");\r\n }\r\n\r\n submit() {\r\n this.error = false;\r\n this.invalid = false;\r\n\r\n let request = this.formService.createRequestOffer();\r\n\r\n if (request.numberOfAgentsPhoneMonthly == 0 && request.numberOfAgentsPhoneAnnually == 0 &&\r\n request.numberOfAgentsConference == 0) {\r\n this.invalid = true;\r\n return;\r\n }\r\n\r\n this.extraServicePricelistService.requestAgentOffer(request).subscribe(x => {\r\n if (x) {\r\n this.dialogRef.close(true)\r\n return;\r\n }\r\n this.error = true;\r\n \r\n })\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close(false);\r\n }\r\n\r\n}\r\n","
\r\n
Request a custom offer
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n Name is required.\r\n \r\n \r\n\r\n
\r\n
\r\n \r\n \r\n \r\n Phone number is required\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n Email is required\r\n \r\n \r\n
\r\n
\r\n \r\n No. phone agents (monthly)\r\n \r\n \r\n No. of agents required\r\n \r\n \r\n
\r\n
\r\n \r\n No. phone agents(annually)\r\n \r\n \r\n No. of agents required\r\n \r\n \r\n
\r\n
\r\n \r\n No. of agents Conference \r\n \r\n \r\n No. of agents required\r\n \r\n \r\n
\r\n
\r\n \r\n No. of live agents (payed monthly)\r\n \r\n \r\n No. of agents required\r\n \r\n \r\n
\r\n
\r\n \r\n No. of live agents (payed annually)\r\n \r\n \r\n No. of agents required\r\n \r\n \r\n
\r\n
\r\n \r\n No. of remote agents (payed monthly)\r\n \r\n \r\n No. of agents required\r\n \r\n \r\n
\r\n
\r\n \r\n No. of remote agents (payed annually)\r\n \r\n \r\n No. of agents required\r\n \r\n \r\n
\r\n
\r\n \r\n Your message\r\n \r\n \r\n Message is required\r\n \r\n \r\n
\r\n
\r\n
\r\n
Something went wrong! Refresh and try again.
\r\n
Please add at least 1 agent type.
\r\n \r\n
\r\n\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl } from '@angular/forms';\r\nimport { IRequestOffer } from '../../../../core/interfaces/agent-conference/request-offer.interface';\r\n\r\n@Injectable()\r\nexport class RequestOfferFormService {\r\n\r\n public form: UntypedFormGroup;\r\n\r\n constructor(private fb: UntypedFormBuilder) {\r\n this.form = this.fb.group({\r\n name: [null, [\r\n Validators.required]],\r\n number: [null, [\r\n Validators.required]],\r\n email: [null, [Validators.required,\r\n Validators.pattern(\"^([a-zA-Z0-9_\\\\-\\\\.]+)@([a-zA-Z0-9_\\\\-\\\\.]+)\\\\.([a-zA-Z]{2,10})$\")]],\r\n agentsPhoneMonthly: [0, [\r\n Validators.required]],\r\n agentsPhoneAnnually: [0, Validators.required],\r\n agentsConference: [0, Validators.required],\r\n agentsLiveAnnually: [0],\r\n agentsLiveMonthly: [0],\r\n agentsRemoteMonthly: [0],\r\n agentsRemoteAnnually: [0],\r\n message:[null, Validators.required]\r\n })\r\n }\r\n\r\n getFormControl(property: string): UntypedFormControl {\r\n return this.form.get(property) as UntypedFormControl;\r\n }\r\n\r\n createRequestOffer(): IRequestOffer {\r\n var data = this.form.value;\r\n\r\n const request: IRequestOffer = {\r\n name: data.name,\r\n email: data.email,\r\n phoneNumber: data.number,\r\n message: data.message,\r\n numberOfAgentsConference: data.agentsConference,\r\n numberOfAgentsPhoneAnnually: data.agentsPhoneAnnually,\r\n numberOfAgentsPhoneMonthly: data.agentsPhoneMonthly,\r\n numberOfAgentsLiveAnnually: data.agentsLiveAnnually,\r\n numberOfAgentsLiveMonthly: data.agentsLiveMonthly,\r\n numberOfAgentsRemoteMonthly: data.agentsRemoteMonthly,\r\n numberOfAgentsRemoteAnnually: data.agentsRemoteAnnually,\r\n };\r\n\r\n return request;\r\n }\r\n}\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { IBotIntent } from '../../../../core/interfaces/ai/bot-intent.interface';\r\nimport { IBot } from '../../../../core/interfaces/ai/bot.interface';\r\nimport { AiManagementService } from '../../../../core/services/ai/ai-management.service';\r\n\r\n@Component({\r\n selector: 'app-bot-intent-list',\r\n templateUrl: './bot-intent-list.component.html',\r\n styleUrls: ['./bot-intent-list.component.scss'],\r\n providers: [AiManagementService]\r\n})\r\nexport class BotIntentListComponent implements OnInit {\r\n\r\n public botIntents: IBotIntent[] = [];\r\n public noSelectedBot: boolean = false;\r\n public bot: IBot = null;\r\n public isLoaded = false;\r\n\r\n constructor(private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: IBot | null,\r\n private botService: AiManagementService) {\r\n\r\n if (data == null) {\r\n this.noSelectedBot = true;\r\n return;\r\n }\r\n this.bot = data;\r\n this.loadBotIntents(data.id);\r\n }\r\n\r\n ngOnInit() {\r\n \r\n }\r\n\r\n loadBotIntents(botId) {\r\n this.botService.getAllBotIntents(botId).subscribe(value => {\r\n this.botIntents = value;\r\n this.isLoaded = true;\r\n });\r\n }\r\n\r\n copyToClipboard(botIntent: IBotIntent) {\r\n this.dialogRef.close(botIntent);\r\n }\r\n\r\n}\r\n","

Intents

\r\n

Bot name: {{bot.name}}

\r\n\r\n
\r\n
0\">\r\n
\r\n
\r\n
{{item.name}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
*Please don't modify this value after insert.
\r\n
\r\n\r\n
\r\n The selected bot doesn't have any intents.\r\n
\r\n
\r\n
\r\n First you must select an active bot in the previous step.\r\n
\r\n","import { Component, EventEmitter, HostListener, OnDestroy, OnInit, Output } from '@angular/core';\r\nimport { UntypedFormControl } from '@angular/forms';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { MatSnackBar } from '@angular/material/snack-bar';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { Subscription } from 'rxjs';\r\nimport { BotTrainingStatusName } from '../../../../core/constants/bot-training-status-name';\r\nimport { IBot } from '../../../../core/interfaces/ai/bot.interface';\r\nimport { AiManagementService } from '../../../../core/services/ai/ai-management.service';\r\nimport { CustomerService } from '../../../../core/services/customers/customer.service';\r\nimport { RandomMessageComponent } from '../../random-message/random-message.component';\r\nimport { PublishBotDialogComponent } from '../publish-bot-dialog/publish-bot-dialog.component';\r\n\r\n@Component({\r\n selector: 'app-common-bot-card',\r\n templateUrl: './common-bot-card.component.html',\r\n styleUrls: ['./common-bot-card.component.scss'],\r\n providers: [AiManagementService, CustomerService]\r\n})\r\nexport class CommonBotCardComponent implements OnInit, OnDestroy {\r\n public training: boolean = false;\r\n public checkTraining: boolean = false;\r\n public customerEnableChatbot: boolean = false;\r\n public loadedBot: boolean = false;\r\n public trainBtnTooltip: string = null;\r\n public enableChatBot = new UntypedFormControl();\r\n\r\n public windowWidth: number = 1920;\r\n public smallViewportLimit: number = 1495;\r\n\r\n public botId: any = null;\r\n public bot: IBot = null;\r\n private reloadBotTimeout;\r\n private subscription = new Subscription();\r\n\r\n @Output() disableChatbot = new EventEmitter();\r\n\r\n // Listen to window resize events\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event: Event): void {\r\n this.windowWidth = window.innerWidth;\r\n }\r\n\r\n constructor(private snackBar: MatSnackBar,\r\n private dialog: MatDialog,\r\n private botService: AiManagementService,\r\n private router: Router,\r\n private customerService: CustomerService,\r\n private route: ActivatedRoute) { }\r\n\r\n ngOnInit() {\r\n this.windowWidth = window.innerWidth;\r\n\r\n this.botId = this.route.snapshot.paramMap.get(\"id\");\r\n\r\n if (this.botId != null) {\r\n this.getBot();\r\n }\r\n\r\n this.enableChatBot.setValue(localStorage.getItem(`${this.botId}-currentBotEnableChat`) == 'true');\r\n\r\n this.enableChatBot.valueChanges.subscribe(value => {\r\n if (this.bot != null && this.bot.enableChatbot != value) {\r\n this.bot.enableChatbot = value;\r\n this.botService.updateBot(this.bot).subscribe({\r\n next: response => {\r\n localStorage.setItem(`${this.botId}-currentBotEnableChat`, `${value}`.toLowerCase());\r\n //location.reload();\r\n this.disableChatbot.emit(value);\r\n }\r\n })\r\n }\r\n });\r\n\r\n this.customerService.getCustomerFromCache().subscribe({\r\n next: response => {\r\n if (response == null) {\r\n return;\r\n }\r\n \r\n this.customerEnableChatbot = response.enableChatbot;\r\n }\r\n })\r\n\r\n }\r\n\r\n ngOnDestroy() {\r\n this.destroyTimeout();\r\n }\r\n\r\n public destroyTimeout() {\r\n //console.log(\"ngOnDestroy\", this.reloadBotTimeout);\r\n clearTimeout(this.reloadBotTimeout);\r\n this.reloadBotTimeout = null;\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n getBot() {\r\n if (this.botId == null) {\r\n return;\r\n }\r\n \r\n this.subscription.add(\r\n this.botService.getBot(this.botId).subscribe(x => {\r\n this.bot = x\r\n\r\n if (x.providerCode == \"DialogFlow\") {\r\n this.trainBtnTooltip = 'This bot has automatic training';\r\n\r\n this.checkTraining = false;\r\n\r\n this.reloadBotTimeout = setTimeout(() => this.getBot(), 3000);\r\n\r\n return;\r\n }\r\n\r\n if (x.trainingStatus == BotTrainingStatusName.Completed) {\r\n this.trainBtnTooltip = 'Trained';\r\n\r\n if (this.checkTraining == true) {\r\n this.openSnackBar(`Bot training has completed successfully! You can now publish your bot.`, \"Ok, got it!\", 10000);\r\n }\r\n\r\n this.checkTraining = false;\r\n\r\n this.reloadBotTimeout = setTimeout(() => this.getBot(), 3000);\r\n\r\n return;\r\n }\r\n\r\n if (x.trainingStatus == BotTrainingStatusName.NeedsTraining) {\r\n this.trainBtnTooltip = 'The training process incurs costs, so it should be used only when essential.';\r\n\r\n if (x.status == 'TrainingFailed' && this.checkTraining == true) {\r\n if (x.failedIntents != null && x.failedIntents != '') {\r\n this.openSnackBar(`The following intents don't have any examples: ${x.failedIntents}`, \"Ok, got it!\", 7000);\r\n\r\n }\r\n else {\r\n this.openSnackBar(`Training Failed. Try again!`, \"Ok, got it!\", 3000);\r\n }\r\n }\r\n\r\n this.checkTraining = false;\r\n this.reloadBotTimeout = setTimeout(() => this.getBot(), 3000);\r\n return;\r\n\r\n }\r\n\r\n if (x.trainingStatus == BotTrainingStatusName.InProgress) {\r\n this.trainBtnTooltip = 'Training';\r\n\r\n //60 seconds\r\n this.reloadBotTimeout = setTimeout(() => this.getBot(), 60000);\r\n }\r\n })\r\n );\r\n \r\n\r\n }\r\n\r\n trainBot() {\r\n this.bot.trainingStatus = BotTrainingStatusName.InProgress;\r\n this.trainBtnTooltip = 'Training';\r\n this.checkTraining = true;\r\n this.subscription.add(\r\n this.botService.trainBot(this.bot).subscribe(x => {\r\n\r\n if (x != null && x.entity == true) {\r\n this.reloadBotTimeout = setTimeout(() => this.getBot(), 5000);\r\n\r\n this.openSnackBar(`Your training request is in the queue and may take several minutes. Once completed, publish your bot to apply the latest updates.`, \"Ok, got it!\", 7000);\r\n return;\r\n }\r\n\r\n if ((x != null && x.entity == false && x.errorCode != null && x.errorCode != \"\")) {\r\n this.openSnackBar(`${x.errorCode}`, \"Ok, got it!\", 7000);\r\n this.bot.trainingStatus = BotTrainingStatusName.NeedsTraining;\r\n this.trainBtnTooltip = 'Train';\r\n return;\r\n\r\n }\r\n this.bot.trainingStatus = BotTrainingStatusName.NeedsTraining;\r\n this.trainBtnTooltip = 'Train';\r\n this.openSnackBar(`Bot could not be trained!`, \"Ok, got it!\", 2000);\r\n\r\n })\r\n );\r\n }\r\n\r\n openPublishDialog() {\r\n const dialogRef = this.dialog.open(PublishBotDialogComponent, {\r\n minHeight: '17rem',\r\n minWidth: '30rem',\r\n disableClose: true,\r\n data: this.bot\r\n });\r\n\r\n dialogRef.afterClosed().subscribe(response => {\r\n this.handleResponse(response);\r\n });\r\n }\r\n\r\n handleResponse(response) {\r\n if (response === undefined || !response.saved) {\r\n return;\r\n }\r\n if (response.saved == true) {\r\n\r\n var dialogMessage = `
Version ${this.bot.currentVersion} published successfully to ${response.bot.botEnvironmentName} environment.
`;\r\n const dialogRef = this.dialog.open(RandomMessageComponent, {\r\n maxWidth: \"25rem\",\r\n minHeight: \"7rem\",\r\n data: dialogMessage\r\n });\r\n var version = parseInt(this.bot.currentVersion) + 1;\r\n this.bot.currentVersion = version.toString();\r\n this.bot.status = \"Published\";\r\n\r\n localStorage.setItem(\"currentBotVersionId\", this.bot.currentVersion);\r\n\r\n var currentUrl = this.router.url;\r\n var refreshUrl = currentUrl.indexOf('someRoute') > -1 ? '/someOtherRoute' : '/someRoute';\r\n this.router.navigateByUrl(refreshUrl).then(() => this.router.navigateByUrl(currentUrl));\r\n }\r\n\r\n }\r\n get tooltipText(): string {\r\n const extraLanguages = this.bot.multiLanguageNames;\r\n return extraLanguages.map(l => l.name).join(', ');\r\n }\r\n\r\n openSnackBar(message: string, action: string, duration: number) {\r\n this.snackBar.open(message, action, {\r\n duration: duration\r\n });\r\n }\r\n\r\n}\r\n","
\r\n
\r\n\r\n
\r\n
\r\n\r\n \r\n

\r\n {{bot.name.slice(0,10)}} 10\" [matTooltip]=\"bot.name\">...\r\n

\r\n
\r\n\r\n \r\n

\r\n {{bot.name.slice(0,16)}} 16\" [matTooltip]=\"bot.name\">...\r\n

\r\n
\r\n\r\n \r\n
\r\n\r\n \r\n Multilanguage: \r\n Yes\r\n No\r\n \r\n\r\n smallViewportLimit\" class=\"mx-5\">\r\n Languages:\r\n \r\n \r\n {{ language.name }}\r\n \r\n \r\n\r\n \r\n {{ bot.multiLanguageNames[0].name }},\r\n {{ bot.multiLanguageNames[1].name }}\r\n ...\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n Enable chatbot\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { UntypedFormControl, Validators } from '@angular/forms';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { IBotEnvironment } from '../../../../core/interfaces/ai/bot-environment.interface';\r\nimport { IBot } from '../../../../core/interfaces/ai/bot.interface';\r\nimport { AiManagementService } from '../../../../core/services/ai/ai-management.service';\r\n\r\n@Component({\r\n selector: 'app-publish-bot-dialog',\r\n templateUrl: './publish-bot-dialog.component.html',\r\n styleUrls: ['./publish-bot-dialog.component.scss'],\r\n providers: [AiManagementService]\r\n})\r\nexport class PublishBotDialogComponent implements OnInit {\r\n\r\n public botEvironment: UntypedFormControl = new UntypedFormControl();\r\n public enableSentimentAnalysis: UntypedFormControl = new UntypedFormControl(false);\r\n public description: UntypedFormControl = new UntypedFormControl(null, Validators.maxLength(100));\r\n public botEnviromentList: IBotEnvironment[] = [];\r\n public loading: boolean = false;\r\n public bot: IBot = null;\r\n public error: string = null;\r\n public disablePublishBtn: boolean = false;\r\n\r\n constructor(private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: IBot | null,\r\n private botService: AiManagementService)\r\n {\r\n if (data == null) {\r\n return;\r\n }\r\n this.bot = data;\r\n this.loadEnvironments();\r\n }\r\n\r\n ngOnInit() {\r\n \r\n }\r\n\r\n loadEnvironments() {\r\n this.loading = true;\r\n this.botService.getBotEnvironments(this.bot.id).subscribe(x => {\r\n this.loading = false;\r\n this.botEnviromentList = x;\r\n });\r\n }\r\n\r\n publish() {\r\n if (this.botEvironment.value == null) {\r\n return;\r\n }\r\n this.bot.botEnvironmentName = this.botEvironment.value.environmentName;\r\n this.bot.enableSentimentAnalysis = this.enableSentimentAnalysis.value;\r\n this.bot.botEnvironmentId = this.botEvironment.value.id\r\n this.bot.publishDescription = this.description.value;\r\n this.disablePublishBtn = true;\r\n this.botService.publishBot(this.bot).subscribe(x => {\r\n if (x == false) {\r\n this.disablePublishBtn = false;\r\n this.error = 'An error occured during publish. Please try again.'\r\n return;\r\n }\r\n\r\n this.dialogRef.close({ saved: true, bot: this.bot })\r\n })\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close({ saved: false })\r\n }\r\n\r\n}\r\n","

Bot Publish

\r\n
\r\n

Version to be published: {{bot.currentVersion}}

\r\n\r\n

Select publish environment

\r\n \r\n {{environment.environmentName}}\r\n \r\n
\r\n\r\n \r\n\r\n \r\n Notes\r\n \r\n \r\n The maximum number of characters is 100.\r\n \r\n \r\n\r\n
{{error}}
\r\n
\r\n\r\n
\r\n \r\n\r\n \r\n\r\n
\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { AutopilotService } from '../../../../core/services/autopilot/autopilot.service';\r\nimport { ApplicationPhoneService } from '../../../../core/services/voice/application-phone.service';\r\n\r\n@Component({\r\n selector: 'app-translate-all-info',\r\n templateUrl: './translate-all-info.component.html',\r\n styleUrl: './translate-all-info.component.scss',\r\n providers: [AutopilotService, ApplicationPhoneService]\r\n})\r\nexport class TranslateAllInfoComponent implements OnInit {\r\n\r\n public type: TranslateType = TranslateType.None;\r\n\r\n //Common\r\n public requestId: any = null;\r\n public requestName: string = \"\";\r\n public languageNames: string[] = [];\r\n public loading: boolean = false;\r\n\r\n //Bots\r\n public defaultLanguage: string = \"\";\r\n public botId: any = '';\r\n\r\n constructor(private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any,\r\n private autopilotService: AutopilotService,\r\n private applicationPhoneService: ApplicationPhoneService) {\r\n\r\n if (data == null) {\r\n return;\r\n }\r\n\r\n this.type = data.type;\r\n\r\n this.requestId = data.requestId;\r\n this.requestName = data.requestName;\r\n this.languageNames = data.languageNames;\r\n\r\n this.defaultLanguage = data.defaultLanguage;\r\n this.botId = data.botId;\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close(null);\r\n }\r\n\r\n translate() {\r\n this.loading = true;\r\n\r\n if (this.type == TranslateType.Autopilot) {\r\n this.handleAutopilotTranslation();\r\n }\r\n\r\n if (this.type == TranslateType.ApplicationPhone) {\r\n this.handleApplicationPhoneTranslation();\r\n }\r\n }\r\n\r\n handleAutopilotTranslation() {\r\n const id = this.requestId != null ? this.requestId : '';\r\n\r\n this.autopilotService.translate(this.botId, id).subscribe(response => {\r\n this.dialogRef.close(response);\r\n });\r\n }\r\n\r\n handleApplicationPhoneTranslation() {\r\n this.applicationPhoneService.translateApplicationPhone(this.requestId).subscribe(response => {\r\n this.dialogRef.close(response);\r\n });\r\n }\r\n}\r\n\r\nexport enum TranslateType {\r\n None = 'None',\r\n Autopilot = 'Autopilot',\r\n ApplicationPhone = 'ApplicationPhone'\r\n}\r\n","

\r\n \r\n \r\n Translate {{requestName}}\r\n \r\n\r\n \r\n Translate all triggers\r\n \r\n \r\n\r\n \r\n Translate application phone\r\n \r\n

\r\n\r\n
\r\n
\r\n \r\n From the default language {{defaultLanguage}} to all selected languages:\r\n \r\n\r\n \r\n From the default language to all selected languages:\r\n \r\n\r\n \r\n {{item}}\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n All manual and automatic translations will be overwritten.\r\n We use automation tools for translation, so please verify the accuracy once completed.\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n\r\n \r\n
\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { getLanguageNameByCode } from '../../../../core/functions/string-extention';\r\nimport { IAutomaticTextTranslation } from '../../../../core/interfaces/ai/automatic-text-translation';\r\n\r\n@Component({\r\n selector: 'app-translation-billing-overview',\r\n templateUrl: './translation-billing-overview.component.html',\r\n styleUrl: './translation-billing-overview.component.scss'\r\n})\r\nexport class TranslationBillingOverviewComponent implements OnInit {\r\n\r\n public element: IAutomaticTextTranslation;\r\n\r\n constructor(private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any) {\r\n\r\n if (data == null) {\r\n return;\r\n }\r\n\r\n this.element = data;\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n getLanguageName(code: string) {\r\n return getLanguageNameByCode(code);\r\n }\r\n\r\n}\r\n","

\r\n Translation from {{ element.fromLanguage }}\r\n

\r\n\r\n
\r\n
Initial text: {{ element.text }}
\r\n\r\n
\r\n
\r\n Number of intervals used: {{ element.numberOfIntervals }}\r\n
*An interval contains {{element.interval}} characters
\r\n
\r\n\r\n
\r\n Price per interval: {{ element.priceInterval | number: '1.3-5' }} €\r\n
*The price for an interval
\r\n
\r\n\r\n
\r\n Number of requests: {{ element.toLanguages.length }}\r\n
*Because it was translated into {{ element.toLanguages.length }} languages
\r\n
\r\n
\r\n\r\n
\r\n Total price: {{ element.price | number: '1.3-5' }} €\r\n
*Total price = Number of intervals * Price per interval * Number of requests
\r\n
\r\n\r\n
\r\n
\r\n Language:\r\n
\r\n\r\n
\r\n Text:\r\n
\r\n
\r\n\r\n
\r\n
\r\n {{ getLanguageName(item.key) }}\r\n
\r\n\r\n
\r\n {{ item.value }}\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Router } from '@angular/router';\r\nimport { UserRoles } from '../../../../../../api-authorization/api-authorization.constants';\r\nimport { AuthorizeService } from '../../../../../../api-authorization/authorize.service';\r\n\r\n@Component({\r\n selector: 'app-credit-limit-reached',\r\n templateUrl: './credit-limit-reached.component.html',\r\n styleUrls: ['./credit-limit-reached.component.scss']\r\n})\r\nexport class CreditLimitReachedComponent implements OnInit {\r\n\r\n public currentCredit: number = 0;\r\n public isReseller: boolean = false;\r\n private userRole: string = \"\";\r\n\r\n constructor(private authorizeService: AuthorizeService,\r\n private dialogRef: MatDialogRef,\r\n private router: Router,\r\n @Inject(MAT_DIALOG_DATA) public data: number | null) {\r\n\r\n if (data == null) {\r\n return;\r\n }\r\n\r\n this.currentCredit = data;\r\n }\r\n\r\n ngOnInit() {\r\n\r\n this.authorizeService.getUserRole().subscribe(x => {\r\n //console.log(\"userRole=\", x);\r\n if (x == null || x == \"\") {\r\n return;\r\n }\r\n\r\n if (x == UserRoles.Reseller) {\r\n this.isReseller = true;\r\n }\r\n\r\n this.userRole = x.toLowerCase();\r\n });\r\n\r\n localStorage.setItem('newLogin', \"false\");\r\n }\r\n\r\n goToAllertSettings() {\r\n this.close();\r\n this.router.navigate([`management/${this.userRole}/console/credit-alerts`]);\r\n }\r\n\r\n goToRecharge() {\r\n this.close();\r\n this.router.navigate([`management/${this.userRole}/billing`]);\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n}\r\n","
\r\n
\r\n

\r\n

ALERT

\r\n

CREDIT BELOW THE THRESHOLD

\r\n\r\n

Your credit is below the threshold you set:

\r\n

the current credit is {{currentCredit | number : '1.3-5'}}.

\r\n

\r\n Top up immediately or activate the self-recharge function, otherwise go to account settings to modify the alert threshold!\r\n Go to account settings to modify the alert threshold! \r\n

\r\n\r\n
\r\n \r\n
\r\n\r\n \r\n\r\n
\r\n \r\n
\r\n
\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { IPaymentMethod } from '../../../../core/interfaces/payment/payment-method';\r\nimport { PaymentsService } from '../../../../core/services/common/payments.service';\r\nimport { RechargeEditFormService } from '../recharge-edit-form.service';\r\nimport { RechargeEditLoaderService } from '../recharge-edit-loader.service';\r\n\r\n@Component({\r\n selector: 'app-edit-auto-recharge-info',\r\n templateUrl: './edit-auto-recharge-info.component.html',\r\n styleUrls: ['./edit-auto-recharge-info.component.scss'],\r\n providers: [\r\n RechargeEditFormService,\r\n RechargeEditLoaderService,\r\n PaymentsService\r\n ]\r\n})\r\nexport class EditAutoRechargeInfoComponent implements OnInit {\r\n public success: boolean = false;\r\n public loading: boolean = false;\r\n public disableBtn: boolean = false;\r\n public showDropDown: boolean = false;\r\n public showAutorechargeInfo: boolean = false;\r\n public paymentMethodsList: IPaymentMethod[] = [];\r\n\r\n constructor(private formService: RechargeEditFormService,\r\n private formLoader: RechargeEditLoaderService,\r\n private dialogRef: MatDialogRef,\r\n private paymentService:PaymentsService,\r\n @Inject(MAT_DIALOG_DATA) public data: any | null) {\r\n\r\n if (this.data == null) {\r\n return;\r\n }\r\n\r\n //console.log(\"data matDialog=\", data);\r\n this.formLoader.loadAutoRechargeInfo(data.autoRechargeInfo)\r\n this.showAutorechargeInfo = data.autoRechargeInfo.isAutoRechargeEnable;\r\n this.paymentMethodsList = data.paymentMethodsList;\r\n this.showDropDown = data.hasMorePaymentMethods;\r\n if (!this.showAutorechargeInfo) {\r\n this.formService.clearValidators([\"autoRechargeCreditLimit\", \"primaryMethodId\", \"amount\"]);\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.form.valueChanges.subscribe(result => {\r\n this.disableBtn = this.form.invalid;\r\n if (this.secondaryMethodId.value == this.primaryMethodId.value) {\r\n this.disableBtn = true;\r\n }\r\n });\r\n\r\n }\r\n\r\n get form() {\r\n return this.formService.form;\r\n }\r\n\r\n get autoRechargeCreditLimit() {\r\n return this.formService.getControlName(\"autoRechargeCreditLimit\");\r\n }\r\n\r\n get enableAutoRecharge() {\r\n return this.formService.getControlName(\"enableAutoRecharge\");\r\n }\r\n\r\n get primaryMethodId() {\r\n return this.formService.getControlName(\"primaryMethodId\");\r\n }\r\n\r\n get secondaryMethodId() {\r\n return this.formService.getControlName(\"secondaryMethodId\");\r\n }\r\n\r\n get amount() {\r\n return this.formService.getControlName(\"amount\");\r\n }\r\n\r\n onChangeEnableAutoRecharge(event) {\r\n this.showAutorechargeInfo = event.checked;\r\n\r\n if (event.checked == false) {\r\n this.formService.clearValidators([\"autoRechargeCreditLimit\", \"primaryMethodId\", \"amount\"]);\r\n }\r\n else {\r\n this.formService.setValidatorsRequired([\"autoRechargeCreditLimit\", \"primaryMethodId\", \"amount\"]);\r\n }\r\n }\r\n\r\n close() {\r\n this.dialogRef.close({ saved: false, autoRechargeInfo: this.data.autoRechargeInfo})\r\n }\r\n\r\n submit() {\r\n this.loading = true;\r\n const autoRecharge = this.formService.createCustomerAutoRechargeInfo(this.data.autoRechargeInfo);\r\n //console.log(\"autoRechargeObj=\", autoRecharge);\r\n this.paymentService.updateAutoRechargeInfo(autoRecharge).subscribe(x => {\r\n this.success = x;\r\n this.loading = false;\r\n this.dialogRef.close({ saved: x, autoRechargeInfo: autoRecharge });\r\n \r\n })\r\n }\r\n\r\n\r\n}\r\n","
\r\n
\r\n
\r\n Edit auto recharge info\r\n
\r\n\r\n
\r\n Enable Auto Recharge\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n The amount must be higher than €20.\r\n \r\n \r\n\r\n \r\n \r\n \r\n The auto recharge credit limit can not be empty.\r\n \r\n \r\n\r\n \r\n Primary Payment Method\r\n \r\n \r\n ***{{element.last4}} {{element.brand | titlecase}}\r\n \r\n \r\n \r\n\r\n \r\n Secondary Payment Method \r\n \r\n \r\n ***{{element.last4}} {{element.brand | titlecase}}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n Please select different payment methods!\r\n \r\n
\r\n
\r\n
\r\n \r\n    Cancel\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n","import { Injectable } from '@angular/core';\r\nimport { AbstractControl, UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, ValidatorFn, Validators } from '@angular/forms';\r\nimport { ICountry } from '../../../core/interfaces/common/country.interface';\r\nimport { IPaymentMethod } from '../../../core/interfaces/payment/payment-method';\r\n\r\n@Injectable()\r\nexport class EditPaymentMethodFormService {\r\n\r\n public form: UntypedFormGroup;\r\n\r\n constructor(private fb: UntypedFormBuilder) {\r\n this.form = fb.group({\r\n cardNumber: [null, Validators.required],\r\n expMonth: [null, Validators.required],\r\n expYear: [null, [Validators.required,\r\n Validators.min(new Date().getFullYear())]],\r\n isDefault: [false],\r\n cardholderName: [null, Validators.required],\r\n country: [null, Validators.required],\r\n address: [null, Validators.required],\r\n city: [null, Validators.required],\r\n state: [null, Validators.required],\r\n postalCode: [null, Validators.required]\r\n })\r\n }\r\n\r\n getFormControl(property: string): UntypedFormControl {\r\n return this.form.get(property) as UntypedFormControl;\r\n }\r\n\r\n createCardInfo(cardInfo): IPaymentMethod {\r\n const data = this.form.value;\r\n\r\n let paymentMethod: IPaymentMethod = {\r\n last4: data.cardNumber,\r\n expirationMonth: data.expMonth,\r\n expirationYear: data.expYear,\r\n brand: cardInfo.issuer,\r\n id: cardInfo.id,\r\n isDefault: data.isDefault,\r\n type: cardInfo.type,\r\n cardholderName: data.cardholderName,\r\n country: cardInfo.country,\r\n address: data.address,\r\n city: data.city,\r\n postalCode: data.postalCode,\r\n state: data.state,\r\n email: data.email,\r\n telephoneNumber: data.telephoneNumber\r\n };\r\n\r\n return paymentMethod;\r\n }\r\n\r\n\r\n setValidator(property: string) {\r\n var formControl = this.form.get(property);\r\n formControl.setValidators(Validators.required);\r\n }\r\n\r\n clearValidators(property: string) {\r\n var formControl = this.form.get(property);\r\n formControl.clearValidators();\r\n }\r\n\r\n forbiddenNamesValidator(names: ICountry[]): ValidatorFn {\r\n return (control: AbstractControl): { [key: string]: any } | null => {\r\n // below findIndex will check if control.value is equal to one of our options or not\r\n const index = names.findIndex(name => {\r\n return (new RegExp('\\^' + name.name + '\\$')).test(control.value);\r\n });\r\n return index < 0 ? { 'forbiddenNames': { value: control.value } } : null;\r\n };\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { IPaymentMethod } from '../../../core/interfaces/payment/payment-method';\r\nimport { EditPaymentMethodFormService } from './edit-payment-method-form.service';\r\n\r\n@Injectable()\r\nexport class EditPaymentMethodLoaderService {\r\n\r\n constructor(private formService: EditPaymentMethodFormService) { }\r\n\r\n loadPaymentMethod(paymentMethod: IPaymentMethod) {\r\n this.formService.form.patchValue({\r\n cardNumber: \"**** **** **** \" + paymentMethod.last4 + \" \"+ paymentMethod.brand,\r\n expMonth: paymentMethod.expirationMonth,\r\n expYear: paymentMethod.expirationYear,\r\n isDefault: paymentMethod.isDefault,\r\n cardholderName: paymentMethod.cardholderName,\r\n country: paymentMethod.country,\r\n address: paymentMethod.address,\r\n city: paymentMethod.city,\r\n state: paymentMethod.state,\r\n postalCode: paymentMethod.postalCode\r\n });\r\n }\r\n}\r\n","import { Component, Inject, OnInit, ViewChild } from '@angular/core';\r\nimport { MatDialog as MatDialog, MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { StripeCardElementOptions } from '@stripe/stripe-js';\r\nimport { StripeCardComponent, StripeService } from 'ngx-stripe';\r\nimport { Observable } from 'rxjs';\r\nimport { map, startWith } from 'rxjs/operators';\r\nimport { IBillingInfo } from '../../../../../core/interfaces/common/billing-info.interface';\r\nimport { ICountry } from '../../../../../core/interfaces/common/country.interface';\r\nimport { IPaymentMethod } from '../../../../../core/interfaces/payment/payment-method';\r\nimport { PaymentsService } from '../../../../../core/services/common/payments.service';\r\nimport { BillingInfoService } from '../../../../../core/services/customers/billing-info.service';\r\nimport { EditPaymentMethodFormService } from '../../edit-payment-method-form.service';\r\nimport { EditPaymentMethodLoaderService } from '../../edit-payment-method-loader.service';\r\nimport { SetDefaultPaymentMethodComponent } from '../set-default-payment-method/set-default-payment-method.component';\r\n\r\ndeclare var Stripe: any;\r\n\r\n\r\n@Component({\r\n selector: 'app-edit-payment-method',\r\n templateUrl: './edit-payment-method.component.html',\r\n styleUrls: ['./edit-payment-method.component.scss'],\r\n providers: [\r\n EditPaymentMethodFormService,\r\n EditPaymentMethodLoaderService,\r\n PaymentsService, BillingInfoService\r\n ]\r\n})\r\nexport class EditPaymentMethodComponent implements OnInit {\r\n @ViewChild(StripeCardComponent) card: StripeCardComponent;\r\n cardOptions: StripeCardElementOptions = {\r\n style: {\r\n base: {\r\n iconColor: '#666EE8',\r\n color: '#31325F',\r\n fontWeight: '300',\r\n fontFamily: '\"Muli\", sans-serif',\r\n lineHeight: '1.2em',\r\n fontSize: '1em',\r\n }\r\n },\r\n hidePostalCode: true\r\n };\r\n\r\n private intentClientSecret: string = null\r\n private stripeCustomerId: string = null\r\n private paymentMethod: IPaymentMethod = null\r\n //private stripe;\r\n //private card;\r\n\r\n public confirmationMsg: string = null;\r\n public loading: boolean = false;\r\n public success: boolean = false;\r\n public cardInfo:any=null\r\n public isNew: boolean = false;\r\n public existDefault: boolean = false;\r\n public showMessage: boolean = false;\r\n public noDefault: boolean = false;\r\n public hidebuttons: boolean = false;\r\n public countries: ICountry[] = [];\r\n public filteredOptions: Observable;\r\n public billingInfo: IBillingInfo = null;\r\n\r\n constructor(private dialogRef: MatDialogRef,\r\n private paymentService: PaymentsService,\r\n private dialog:MatDialog,\r\n private formService: EditPaymentMethodFormService,\r\n private loaderService: EditPaymentMethodLoaderService,\r\n private billingInfoService: BillingInfoService,\r\n private stripeService: StripeService,\r\n @Inject(MAT_DIALOG_DATA) public data: any | null)\r\n {\r\n if (data == null) {\r\n return;\r\n }\r\n\r\n this.intentClientSecret = data.intentClientSecret;\r\n this.stripeCustomerId = data.stripeCustomerId;\r\n this.cardInfo = data.paymentMethod;\r\n this.existDefault = data.exists;\r\n\r\n if (data.paymentMethod == null) {\r\n this.isNew = true;\r\n }\r\n else {\r\n //console.log(\"paymentMethod=\", data.paymentMethod);\r\n this.loaderService.loadPaymentMethod(data.paymentMethod);\r\n this.paymentMethod=data.paymentMethod\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n\r\n if (this.isNew) {\r\n this.formService.setValidator(\"cardholderName\");\r\n\r\n this.formService.clearValidators(\"cardNumber\");\r\n this.formService.clearValidators(\"expMonth\");\r\n this.formService.clearValidators(\"expYear\");\r\n }\r\n\r\n // this.getStripeKey();\r\n\r\n this.billingInfoService.getCountries().subscribe(x => {\r\n this.countries = x;\r\n this.country.setValidators(this.formService.forbiddenNamesValidator(this.countries));\r\n var loadedCountry = this.countries.find(x => x.twoLetterISOName == this.country.value);\r\n if (loadedCountry != undefined) {\r\n this.country.setValue(loadedCountry.name);\r\n }\r\n });\r\n\r\n this.billingInfoService.getBillingInfo().subscribe(x => {\r\n this.billingInfo = x;\r\n })\r\n\r\n this.filteredOptions = this.country.valueChanges.pipe(\r\n startWith(''),\r\n map(value =>\r\n this.filter(value))\r\n );\r\n }\r\n\r\n get form() {\r\n return this.formService.form;\r\n }\r\n\r\n get cardNumber() {\r\n return this.formService.getFormControl(\"cardNumber\");\r\n }\r\n\r\n get expMonth() {\r\n return this.formService.getFormControl(\"expMonth\");\r\n }\r\n\r\n get expYear() {\r\n return this.formService.getFormControl(\"expYear\");\r\n }\r\n\r\n get isDefault() {\r\n return this.formService.getFormControl(\"isDefault\");\r\n }\r\n\r\n get cardholderName() {\r\n return this.formService.getFormControl(\"cardholderName\")\r\n }\r\n\r\n get country() {\r\n return this.formService.getFormControl(\"country\");\r\n }\r\n\r\n\r\n get address() {\r\n return this.formService.getFormControl(\"address\");\r\n }\r\n\r\n get city() {\r\n return this.formService.getFormControl(\"city\");\r\n }\r\n\r\n get state() {\r\n return this.formService.getFormControl(\"state\");\r\n }\r\n\r\n get postalCode() {\r\n return this.formService.getFormControl(\"postalCode\");\r\n }\r\n\r\n //getStripeKey() {\r\n // this.paymentService.getStripeKey().subscribe(x => {\r\n // this.stripe = Stripe(x);\r\n // const elements = this.stripe.elements();\r\n // this.card = elements.create('card', { hidePostalCode: true });\r\n // this.card.mount('#card-element');\r\n // this.card.addEventListener('change', event => {\r\n // const displayError = document.getElementById('card-errors');\r\n // if (event.error) {\r\n // displayError.textContent = event.error.message;\r\n // } else {\r\n // displayError.textContent = '';\r\n // }\r\n // });\r\n // });\r\n //}\r\n\r\n submit() {\r\n this.noDefault = false;\r\n\r\n if (this.isNew) {\r\n if (this.isDefault.value && this.existDefault) {\r\n this.openDialog(this.paymentMethod);\r\n }\r\n else if (this.isDefault.value==false && this.existDefault==false) {\r\n this.noDefault = true;\r\n }\r\n else {\r\n this.saveCard(this.cardholderName.value);\r\n }\r\n \r\n }\r\n else {\r\n if (this.isDefault.value && this.existDefault && this.paymentMethod.isDefault == false) {\r\n this.openDialog(this.paymentMethod);\r\n }\r\n else {\r\n this.updateCard();\r\n }\r\n \r\n }\r\n }\r\n\r\n saveCard(cardholderName) {\r\n //var countryISO = \"\";\r\n //this.countries.map(value => {\r\n // if (value.name === this.country.value) {\r\n // countryISO = value.twoLetterISOName;\r\n // }\r\n //});\r\n this.loading = true;\r\n let selectedCountryObj = this.countries.find(x => x.name == this.country.value); \r\n this.stripeService.confirmCardSetup(\r\n this.intentClientSecret,\r\n {\r\n payment_method: {\r\n card: this.card.element,\r\n billing_details: {\r\n name: cardholderName,\r\n email: this.billingInfo.email,\r\n phone: this.billingInfo.telephoneNumber,\r\n address: {\r\n city: this.city.value,\r\n country: selectedCountryObj.twoLetterISOName,\r\n line1: this.address.value,\r\n postal_code: this.postalCode.value,\r\n state: this.state.value\r\n\r\n },\r\n },\r\n metadata: { \"IsDefault\": `${this.isDefault.value}` }\r\n },\r\n }\r\n ).subscribe(result=>{\r\n if (result.error) {\r\n //console.log(\"result.error=\", result.error, result)\r\n this.confirmationMsg = \"An error occurred while saving card info!\";\r\n this.loading = false;\r\n } else {\r\n // The setup has succeeded. Display a success message and send\r\n // result.setupIntent.payment_method to server to save the\r\n // card to a Customer\r\n this.paymentService.saveCard(result.setupIntent.payment_method, this.stripeCustomerId, this.isDefault.value).subscribe(x => {\r\n this.success = x;\r\n if (x) {\r\n this.confirmationMsg = \"Information successfuly saved!\";\r\n }\r\n else {\r\n this.confirmationMsg = \"An error occurred while saving card info!\"\r\n }\r\n this.loading = false;\r\n\r\n this.dialogRef.close({ saved: x, paymentMethod: result.setupIntent.payment_method });\r\n })\r\n \r\n }\r\n });\r\n }\r\n\r\n updateCard() {\r\n this.loading = true;\r\n const card = this.formService.createCardInfo(this.cardInfo);\r\n\r\n if (this.paymentMethod.id ==null) {\r\n this.loading = false;\r\n return;\r\n \r\n }\r\n this.paymentService.updatePaymentMethod(this.stripeCustomerId, card).subscribe(x => {\r\n this.loading = false;\r\n if (x == null) {\r\n this.dialogRef.close({ saved: false, paymentMethod: null });\r\n }\r\n else {\r\n this.dialogRef.close({ saved: true, paymentMethod: x });\r\n }\r\n })\r\n\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close({ saved: false, paymentMethod: null });\r\n }\r\n\r\n openDialog(paymentMethod: IPaymentMethod) {\r\n this.hidebuttons = true;\r\n const defaultDialogRef = this.dialog.open(SetDefaultPaymentMethodComponent, {\r\n minHeight: '12rem',\r\n minWidth: '20rem'\r\n });\r\n\r\n defaultDialogRef.afterClosed().subscribe(response => {\r\n this.handleResponse(response, paymentMethod);\r\n })\r\n }\r\n\r\n handleResponse(response, paymentMethod: IPaymentMethod) {\r\n if (response == null) {\r\n return;\r\n }\r\n this.isDefault.setValue(response.default);\r\n \r\n if (this.isNew) {\r\n this.saveCard(this.cardholderName.value);\r\n }\r\n else {\r\n paymentMethod.isDefault = response.default;\r\n if (response.default) {\r\n this.updateCard();\r\n }\r\n else {\r\n this.dialogRef.close({ saved: false, data: paymentMethod })\r\n }\r\n }\r\n }\r\n\r\n onClickIsDefault(event) {\r\n if (event.checked == false && this.paymentMethod.id != null && this.paymentMethod.isDefault) {\r\n this.showMessage = true;\r\n this.isDefault.setValue(this.paymentMethod.isDefault);\r\n }\r\n }\r\n\r\n private filter(value: any): ICountry[] {\r\n if (value == null) {\r\n value = '';\r\n }\r\n const filterValue = value.toLocaleLowerCase();\r\n\r\n return this.countries.filter(x => x.name.toLocaleLowerCase().indexOf(filterValue) === 0);\r\n }\r\n}\r\n","\r\n

\r\n Add a new payment method\r\n Update payment method\r\n

\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n Cardholder name is required\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n\r\n \r\n\r\n \r\n\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n The expiration mounth is required\r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n The expiration year is required\r\n \r\n \r\n \r\n\r\n
\r\n \r\n
\r\n Is Default\r\n
\r\n
\r\n
\r\n\r\n
\r\n First you have to set another default payment method!\r\n
\r\n\r\n
\r\n At least one payment method must be default!\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n The address is required\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \"img\"  {{country.name}}\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n The country is invalid.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n The postal code is required.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n The state is required\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n The city is required\r\n \r\n \r\n \r\n \r\n\r\n\r\n

*** Dillo doesn't store your card informations, instead we rely on Stripe to process your payment securely.

\r\n\r\n
\r\n \r\n   \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n {{confirmationMsg}} \r\n {{confirmationMsg}} \r\n \r\n
\r\n\r\n","import { DataSource } from '@angular/cdk/table';\r\nimport { Component, HostListener, OnInit } from '@angular/core';\r\nimport { MatDialog as MatDialog } from '@angular/material/dialog';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { Router } from '@angular/router';\r\nimport { BehaviorSubject, from, Observable } from 'rxjs';\r\nimport { map, reduce } from 'rxjs/operators';\r\nimport { PaymentMethods } from '../../../../core/constants/payment.constants';\r\nimport { ScreenSize } from '../../../../core/constants/screen-size.constants';\r\nimport { IPaymentMethod } from '../../../../core/interfaces/payment/payment-method';\r\nimport { PaymentsService } from '../../../../core/services/common/payments.service';\r\nimport { DeleteItemsConfirmationComponent } from '../../delete-items-confirmation/delete-items-confirmation.component';\r\nimport { EditPaymentMethodComponent } from './edit-payment-method/edit-payment-method.component';\r\n\r\ndeclare var Stripe: any;\r\n\r\n@Component({\r\n selector: 'app-manage-payment-methods',\r\n templateUrl: './manage-payment-methods.component.html',\r\n styleUrls: ['./manage-payment-methods.component.scss'],\r\n providers:[PaymentsService]\r\n})\r\nexport class ManagePaymentMethodsComponent implements OnInit {\r\n\r\n public dataSource: PaymentMethodsDataSource | null;\r\n public displayedColumns = ['brand', 'type', 'details', 'expireMonth', 'isDefault', 'actions']\r\n public innerWidth: any;\r\n public tabletMode: boolean = false;\r\n\r\n\r\n private paymentMethods: BehaviorSubject = new BehaviorSubject([]);\r\n private stripeCustomerId: string = null\r\n \r\n constructor(private titleService: Title,\r\n private dialog: MatDialog,\r\n private route:Router,\r\n private paymentService: PaymentsService) {\r\n\r\n this.titleService.setTitle(\"Payment Methods | Dillo\");\r\n\r\n this.getStripeInfo();\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event) {\r\n\r\n this.innerWidth = event.target.innerWidth;\r\n\r\n\r\n if (this.innerWidth < ScreenSize.BreakpointLaptop) {\r\n this.tabletMode = true;\r\n return;\r\n }\r\n\r\n this.tabletMode = false;\r\n }\r\n\r\n ngOnInit() {\r\n\r\n window.innerWidth < ScreenSize.BreakpointLaptop ? this.tabletMode = true : this.tabletMode = false;\r\n\r\n this.dataSource = new PaymentMethodsDataSource(this.paymentMethods);\r\n //console.log(\"paymentMethods\", this.dataSource);\r\n \r\n }\r\n\r\n deletePaymentMethod(paymentMethod:IPaymentMethod) {\r\n this.paymentService.deletePaymentMethod(paymentMethod.id,this.stripeCustomerId).subscribe(x => {\r\n \r\n let arr = this.paymentMethods.getValue();\r\n \r\n\r\n arr.forEach((item, index) => {\r\n if (item.id === paymentMethod.id) {\r\n arr.splice(index, 1);\r\n }\r\n\r\n arr.map(item => {\r\n if (item.id == x) {\r\n item.isDefault = true\r\n }\r\n })\r\n });\r\n this.paymentMethods.next(arr);\r\n });\r\n \r\n }\r\n\r\n confirmDelete(element: IPaymentMethod) {\r\n let dialogMessage = `
Are you sure you want to delete this payment method?
`;\r\n\r\n this.paymentService.getAutoRechargeInfo().subscribe(response => {\r\n if (response != null) {\r\n\r\n if (response.primaryPaymentMethod != null && response.primaryPaymentMethod.id == element.id) {\r\n dialogMessage = `
This payment method is saved as primary method on Auto Recharge!
Are you sure you want to delete this payment method?
`;\r\n }\r\n\r\n if (response.secondaryPaymentMethod != null && response.secondaryPaymentMethod.id == element.id) {\r\n dialogMessage = `
This payment method is saved as secondary method on Auto Recharge!
Are you sure you want to delete this payment method?
`;\r\n }\r\n }\r\n this.openDeleteDialog(dialogMessage, element);\r\n })\r\n \r\n }\r\n\r\n openDeleteDialog(dialogMessage: string, paymentMethod: IPaymentMethod) {\r\n const dialogRef = this.dialog.open(DeleteItemsConfirmationComponent, {\r\n minWidth: \"25rem\",\r\n minHeight: \"7rem\",\r\n panelClass: \"logs-dialog-container\",\r\n data: dialogMessage\r\n });\r\n\r\n dialogRef.afterClosed().subscribe(response => {\r\n if (!response) {\r\n return;\r\n }\r\n\r\n this.deletePaymentMethod(paymentMethod);\r\n });\r\n }\r\n\r\n getStripeInfo() {\r\n this.paymentService.isStripeCustomer().subscribe(x => {\r\n this.stripeCustomerId = x;\r\n\r\n if (x != null) {\r\n this.getPaymentMethods();\r\n }\r\n });\r\n }\r\n\r\n getPaymentMethods() {\r\n this.paymentService.getPaymentMethods(this.stripeCustomerId).subscribe({\r\n next: data => {\r\n this.paymentMethods.next(data);\r\n }\r\n\r\n });\r\n } \r\n \r\n\r\n openEditPaymentMethod(element) {\r\n const existDefault = this.checkIfExistDefault();\r\n this.paymentService.createSetupIntent().subscribe(x => {\r\n if (x == null) {\r\n return;\r\n }\r\n var minWidth = this.tabletMode ? '20rem' : '25rem';\r\n var maxWidth = this.tabletMode ? '25rem' : '30rem';\r\n const dialogRef = this.dialog.open(EditPaymentMethodComponent, {\r\n minWidth: minWidth,\r\n minHeight: \"5rem\",\r\n maxWidth: maxWidth,\r\n panelClass: \"logs-dialog-container\",\r\n disableClose: true,\r\n data: {\r\n intentClientSecret: x,\r\n stripeCustomerId: this.stripeCustomerId,\r\n paymentMethod: element,\r\n exists:existDefault\r\n }\r\n });\r\n\r\n dialogRef.afterClosed().subscribe(response => {\r\n if (response == null) {\r\n return;\r\n }\r\n this.handelResponseEdit(response);\r\n\r\n })\r\n });\r\n }\r\n\r\n handelResponseEdit(response) {\r\n //console.log(\"responseAddPayment=\", response);\r\n if (response.saved && response.paymentMethod != null) {\r\n this.getPaymentMethods();\r\n }\r\n }\r\n\r\n checkIfExistDefault(): boolean {\r\n let arr = this.paymentMethods.getValue();\r\n let count: number = 0;\r\n\r\n if (arr == null) {\r\n return false;\r\n }\r\n from(arr).pipe(\r\n map(x => x.isDefault == true ? 1 : 0),\r\n reduce((a, b) => a + b)\r\n ).subscribe(x => {\r\n count = x;\r\n });\r\n if (count > 0) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n \r\n}\r\n\r\n\r\n\r\nexport class PaymentMethodsDataSource extends DataSource{\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { };\r\n}\r\n","

\r\n Payment Methods\r\n

\r\n\r\n
\r\n
\r\n

Dillo doesn't store your card informations, instead we rely on Stripe to process your payment securely.

\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
Issuer {{element.brand | titlecase }} Type {{element.type | titlecase }} Details**** {{element.last4}}Expiration Date{{element.expirationMonth}} / {{element.expirationYear}}Is Default\r\n \r\n Actions\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n   Add a Payment Method\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'app-set-default-payment-method',\r\n templateUrl: './set-default-payment-method.component.html',\r\n styleUrls: ['./set-default-payment-method.component.scss']\r\n})\r\nexport class SetDefaultPaymentMethodComponent implements OnInit {\r\n\r\n constructor(private dialogRef: MatDialogRef) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close({ default: false })\r\n }\r\n\r\n setDefault() {\r\n this.dialogRef.close({ default: true })\r\n }\r\n}\r\n","
\r\n There is already a payment method that is default!\r\n
\r\n\r\n
\r\n Are you sure you want to set this payment method as default?\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef } from '@angular/material/dialog';\r\nimport { Router } from '@angular/router';\r\nimport { UserRoles } from '../../../../../../api-authorization/api-authorization.constants';\r\nimport { AuthorizeService } from '../../../../../../api-authorization/authorize.service';\r\nimport { CreditLimitReachedComponent } from '../credit-limit-reached/credit-limit-reached.component';\r\n\r\n@Component({\r\n selector: 'app-no-credits-available',\r\n templateUrl: './no-credits-available.component.html',\r\n styleUrls: ['./no-credits-available.component.scss']\r\n})\r\nexport class NoCreditsAvailableComponent implements OnInit {\r\n public isReseller: boolean = false;\r\n public userRole: string = \"\";\r\n\r\n constructor(private authorizeService: AuthorizeService,\r\n private dialogRef: MatDialogRef,\r\n private router: Router) { }\r\n\r\n ngOnInit() {\r\n this.authorizeService.getUserRole().subscribe(x => {\r\n //console.log(\"userRole=\", x);\r\n if (x == null || x == \"\") {\r\n return;\r\n }\r\n\r\n if (x == UserRoles.Reseller) {\r\n this.isReseller = true;\r\n }\r\n\r\n this.userRole = x.toLowerCase();\r\n });\r\n\r\n localStorage.setItem('newLogin', \"false\");\r\n }\r\n\r\n goToAllertSettings() {\r\n this.close();\r\n this.router.navigate([`management/${this.userRole}/console/credit-alerts`]);\r\n }\r\n\r\n goToRecharge() {\r\n this.close();\r\n this.router.navigate([`management/${this.userRole}/billing`]);\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n}\r\n","
\r\n
\r\n

\r\n

ALERT

\r\n

YOU ARE OUT OF CREDIT

\r\n\r\n

You have used up your credit:

\r\n

\r\n Top up immediately or activate the self-recharge function, otherwise go to account settings to set an alert threshold!\r\n Go to account settings to set an alert threshold! \r\n\r\n

\r\n\r\n
\r\n \r\n
\r\n\r\n \r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n","import { DataSource } from '@angular/cdk/table';\r\nimport { Component, HostListener, OnInit, ViewChild } from '@angular/core';\r\nimport { UntypedFormControl } from '@angular/forms';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { MatPaginator as MatPaginator } from '@angular/material/paginator';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { ScreenSize } from '../../../../core/constants/screen-size.constants';\r\nimport { IActivityRequest } from '../../../../core/interfaces/common/activity-request.interface';\r\nimport { FilterGridData } from '../../../../core/interfaces/filter/filter-operator';\r\nimport { IPaymentHistory } from '../../../../core/interfaces/payment/payment-history.interface';\r\nimport { IPaymentInstrunctions } from '../../../../core/interfaces/payment/payment-intent-request';\r\nimport { PaymentsService } from '../../../../core/services/common/payments.service';\r\nimport { RandomMessageComponent } from '../../random-message/random-message.component';\r\n\r\n@Component({\r\n selector: 'app-payment-history',\r\n templateUrl: './payment-history.component.html',\r\n styleUrls: ['./payment-history.component.scss'],\r\n providers:[PaymentsService]\r\n})\r\nexport class PaymentHistoryComponent implements OnInit {\r\n\r\n public height: Number = 0; //the height of the grid\r\n\r\n public page: number = 1;\r\n public pageSize: number = 20;\r\n public totalItems: number = 0;\r\n private pageSubject: BehaviorSubject = new BehaviorSubject(this.page);\r\n public maxDate: Date = new Date();\r\n public minEndDate: Date = new Date();\r\n public showMatCard: boolean = false;\r\n public loading: boolean = false;\r\n public noItems: boolean = false;\r\n\r\n public startDate: UntypedFormControl = new UntypedFormControl();\r\n public endDate: UntypedFormControl = new UntypedFormControl();\r\n\r\n public displayedColumns = [\"Timestamp\", \"Amount\", \"AmountWithVat\", \"PaymentMethod\", \"Status\", \"actions\"];\r\n public paymentHistory: BehaviorSubject = new BehaviorSubject([]);\r\n public dataSource: PaymentHistoryDataSource | null;\r\n\r\n public innerWidth: any;\r\n public tabletMode: boolean = false;\r\n\r\n public filterArray: FilterGridData[] = [];\r\n public sortField: string = null;\r\n public sortDirection: string = null;\r\n\r\n @ViewChild(MatPaginator) paginator: MatPaginator;\r\n\r\n constructor(private paymentService: PaymentsService,\r\n private titleService: Title, private dialog:MatDialog) {\r\n this.titleService.setTitle(\"Payment History | Dillo\");\r\n }\r\n\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event) {\r\n\r\n this.innerWidth = event.target.innerWidth;\r\n\r\n\r\n if (this.innerWidth < ScreenSize.BreakpointLaptop) {\r\n this.tabletMode = true;\r\n return;\r\n }\r\n\r\n this.tabletMode = false;\r\n }\r\n\r\n ngOnInit() {\r\n\r\n const observer = new ResizeObserver(entries => {\r\n //important! adjust the value to be subtracted for a good fit of the table on the page \r\n this.height = entries[0].contentRect.height - 450;\r\n });\r\n\r\n observer.observe(document.querySelector('body'));\r\n\r\n window.innerWidth < ScreenSize.BreakpointLaptop ? this.tabletMode = true : this.tabletMode = false;\r\n\r\n this.endDate.setValue(new Date());\r\n this.startDate.setValue(new Date());\r\n\r\n this.pageSubject.subscribe(p => {\r\n this.page = p;\r\n if (p > 1) {\r\n this.loadPayments();\r\n }\r\n\r\n });\r\n this.dataSource = new PaymentHistoryDataSource(this.paymentHistory);\r\n }\r\n\r\n startDateHandler(event, datepicker) {\r\n //getMonth() is 0 indexed, in order to get the current month +1\r\n //var date = new Date(`${event.getFullYear()}-${event.getMonth() + 1}-1`);\r\n this.startDate.setValue(event);\r\n this.minEndDate = event;\r\n\r\n //close datepicker\r\n datepicker.close();\r\n }\r\n\r\n endDateHandler(event, datepicker) {\r\n this.endDate.setValue(event);\r\n\r\n datepicker.close();\r\n }\r\n\r\n handlePage(e) {\r\n this.pageSubject.next(e.pageIndex + 1);\r\n }\r\n\r\n loadPayments() {\r\n this.loading = true;\r\n this.showMatCard = false;\r\n this.noItems = false;\r\n const activityRequest: IActivityRequest = {\r\n startDate: this.startDate.value,\r\n endDate: this.endDate.value,\r\n page: this.page,\r\n pageSize: this.pageSize,\r\n guid: \"\",\r\n filters: this.filterArray,\r\n sortDirection: this.sortDirection,\r\n sortField:this.sortField\r\n };\r\n\r\n this.paymentService.getPaymentHistory(activityRequest).subscribe(response => {\r\n this.loading = false;\r\n\r\n if (response === null) {\r\n return;\r\n }\r\n\r\n this.paymentHistory.next(response.data);\r\n\r\n if (activityRequest.page == 1) {\r\n this.totalItems = response.total;\r\n }\r\n\r\n if (this.totalItems > 0) {\r\n this.showMatCard = true;\r\n }\r\n else {\r\n this.noItems = true;\r\n }\r\n });\r\n }\r\n\r\n addFilterComponent(event: FilterGridData) {\r\n //console.log('filter', event);\r\n if (event.value == null) {\r\n this.filterArray = this.filterArray.filter(x => x.propertyName != event.propertyName);\r\n }\r\n else {\r\n var existingFilter = this.filterArray.filter(x => x.propertyName == event.propertyName);\r\n\r\n if (existingFilter.length > 0) {\r\n this.filterArray = this.filterArray.filter(x => x.propertyName != event.propertyName);\r\n }\r\n\r\n this.filterArray.push(event);\r\n\r\n }\r\n this.paginator.firstPage();\r\n this.page = 1;\r\n this.loadPayments();\r\n }\r\n\r\n sortData(event) {\r\n\r\n this.sortDirection = event.direction;\r\n this.sortField = event.active;\r\n\r\n //call again the load method;\r\n this.paginator.firstPage();\r\n this.page = 1;\r\n this.loadPayments();\r\n }\r\n\r\n viewTransferInfo(element: IPaymentHistory) {\r\n if (element.bankTransferInformation == undefined || element.bankTransferInformation == null) {\r\n return;\r\n }\r\n\r\n let paymentInstructions = JSON.parse(element.bankTransferInformation);\r\n\r\n if (paymentInstructions != null) {\r\n let message = `

Bank information

\r\n

Transfer funds using the following bank information:

\r\n\r\n
\r\n
\r\n
IBAN
\r\n
BIC
\r\n
Account holder name:
\r\n
Reference:
\r\n
\r\n
\r\n
${paymentInstructions.Iban}
\r\n
${paymentInstructions.Bic}
\r\n
${paymentInstructions.CompanyName}
\r\n
${paymentInstructions.Reference}
\r\n
\r\n
\r\n

If you can, please include the reference mentioned above when you send your bank transfer.

`;\r\n\r\n const dialogRef = this.dialog.open(RandomMessageComponent, {\r\n minWidth: \"25rem\",\r\n minHeight: \"7rem\",\r\n panelClass: \"logs-dialog-container\",\r\n data: message\r\n });\r\n\r\n }\r\n }\r\n\r\n}\r\n\r\nexport class PaymentHistoryDataSource extends DataSource{\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() {}\r\n}\r\n","\r\n\r\n \r\n \r\n \r\n \r\n Start date\r\n \r\n \r\n \r\n \r\n \r\n The start date is required.\r\n \r\n \r\n \r\n \r\n \r\n End date\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n No data available.\r\n
\r\n\r\n\r\n \r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n
\r\n Date\r\n Date\r\n \r\n \r\n \r\n \r\n
{{element.createdOnUtc | date:'dd/MM/yyyy'}}
\r\n
{{element.createdOnUtc | date:'HH:mm:ss' :\"+0000\"}}
\r\n
\r\n Amount\r\n Amount\r\n \r\n \r\n {{element.amount}}\r\n Amount With VAT\r\n Amount With VAT\r\n \r\n \r\n {{element.amountWithVat | number : '1.3-5'}}\r\n Payment Method\r\n Payment Method\r\n \r\n \r\n \r\n {{element.paymentMethod}}\r\n Bank transfer\r\n \r\n Status\r\n Status\r\n \r\n \r\n {{element.status}}Actions\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n","import { Injectable } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { ICustomerAutoRechargeInfo } from '../../../core/interfaces/customer/customer-auto-recharge-info';\r\n\r\n@Injectable()\r\nexport class RechargeEditFormService {\r\n\r\n public form: UntypedFormGroup;\r\n\r\n constructor(private fb: UntypedFormBuilder) {\r\n this.form = fb.group({\r\n primaryMethodId: [null, Validators.required],\r\n secondaryMethodId: [null],\r\n enableAutoRecharge: [false],\r\n amount: [null, [Validators.required]],\r\n autoRechargeCreditLimit: [null, Validators.required]\r\n });\r\n }\r\n\r\n clearValidators(controlNames:string[]) {\r\n controlNames.map(x => {\r\n var control = this.form.get(x) as UntypedFormControl;\r\n control.setValidators(null);\r\n control.updateValueAndValidity();\r\n });\r\n }\r\n\r\n setValidatorsRequired(controlNames: string[]) {\r\n controlNames.map(x => {\r\n var control = this.form.get(x) as UntypedFormControl;\r\n control.setValidators(Validators.required);\r\n control.updateValueAndValidity();\r\n });\r\n }\r\n\r\n setMinAmount(value:number) {\r\n var control = this.form.get(\"amount\") as UntypedFormControl;\r\n\r\n control.setValidators([Validators.required, Validators.min(value)]);\r\n control.updateValueAndValidity();\r\n }\r\n\r\n getControlName(controleName: string):UntypedFormControl {\r\n return this.form.get(controleName) as UntypedFormControl;\r\n }\r\n\r\n createCustomerAutoRechargeInfo(customerAutoRecharge:ICustomerAutoRechargeInfo):ICustomerAutoRechargeInfo {\r\n const data = this.form.value;\r\n\r\n const autoRechargeInfo: ICustomerAutoRechargeInfo = {\r\n customerCode: customerAutoRecharge.customerCode,\r\n customerStripeId: customerAutoRecharge.customerStripeId,\r\n primaryPaymentMethodId: data.primaryMethodId,\r\n secondaryPaymentMethodId: data.secondaryMethodId,\r\n isAutoRechargeEnable: data.enableAutoRecharge,\r\n rechargeAmount: data.amount,\r\n autoRechargeCreditLimit: data.autoRechargeCreditLimit,\r\n primaryPaymentMethod: customerAutoRecharge.primaryPaymentMethod,\r\n secondaryPaymentMethod: customerAutoRecharge.secondaryPaymentMethod,\r\n currentCredits:customerAutoRecharge.currentCredits\r\n }\r\n\r\n return autoRechargeInfo;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ICustomerAutoRechargeInfo } from '../../../core/interfaces/customer/customer-auto-recharge-info';\r\nimport { RechargeEditFormService } from './recharge-edit-form.service';\r\n\r\n@Injectable()\r\nexport class RechargeEditLoaderService {\r\n\r\n constructor(private formService: RechargeEditFormService) { }\r\n\r\n loadAutoRechargeInfo(autoRechargeInfo: ICustomerAutoRechargeInfo) {\r\n this.formService.form.patchValue({\r\n primaryMethodId: autoRechargeInfo.primaryPaymentMethodId,\r\n secondaryMethodId: autoRechargeInfo.secondaryPaymentMethodId,\r\n enableAutoRecharge: autoRechargeInfo.isAutoRechargeEnable,\r\n amount: autoRechargeInfo.rechargeAmount > 0 ? autoRechargeInfo.rechargeAmount: null ,\r\n autoRechargeCreditLimit: autoRechargeInfo.autoRechargeCreditLimit > 0 ? autoRechargeInfo.autoRechargeCreditLimit:null\r\n });\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MatDialog as MatDialog } from '@angular/material/dialog';\r\nimport { MatSnackBar as MatSnackBar } from '@angular/material/snack-bar';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { ICustomerAutoRechargeInfo } from '../../../../core/interfaces/customer/customer-auto-recharge-info';\r\nimport { IPaymentMethod } from '../../../../core/interfaces/payment/payment-method';\r\nimport { PaymentsService } from '../../../../core/services/common/payments.service';\r\nimport { BillingInfoService } from '../../../../core/services/customers/billing-info.service';\r\nimport { CustomerCreditService } from '../../../../core/services/customers/customercredit.service';\r\nimport { MakePaymentComponent } from '../../../../shared-payment/make-payment/make-payment.component';\r\nimport { EditAutoRechargeInfoComponent } from '../edit-auto-recharge-info/edit-auto-recharge-info.component';\r\nimport { RechargeEditFormService } from '../recharge-edit-form.service';\r\nimport { RechargeEditLoaderService } from '../recharge-edit-loader.service';\r\n\r\n\r\n@Component({\r\n selector: 'app-recharge',\r\n templateUrl: './recharge.component.html',\r\n styleUrls: ['./recharge.component.scss'],\r\n providers: [RechargeEditLoaderService,\r\n RechargeEditFormService, PaymentsService, BillingInfoService]\r\n})\r\nexport class RechargeComponent implements OnInit {\r\n\r\n public currentCredit: string;\r\n public customerCode: string;\r\n public isAutoRechargeEnable: boolean = false;\r\n public paymentMethods: IPaymentMethod[] = [];\r\n \r\n public autoRechargeInfo: ICustomerAutoRechargeInfo = null;\r\n public noPaymentMethod: boolean = false;\r\n\r\n public primaryPaymentMethod: IPaymentMethod;\r\n public secondaryPaymentMethod: IPaymentMethod;\r\n\r\n public success: boolean = false;\r\n public loading: boolean = false;\r\n public disableBtn: boolean = false;\r\n public showDropDown: boolean = false;\r\n public showAutorechargeInfo: boolean = false;\r\n public hasBillingInfo: boolean = false;\r\n public stripeCustomerId: string = null;\r\n private minAmount: number = 1;\r\n\r\n private autoRechargeInfoSbj: BehaviorSubject = new BehaviorSubject(null);\r\n private primaryMethods: IPaymentMethod[] = [];\r\n public secondaryMethods: IPaymentMethod[] = [];\r\n\r\n constructor(private customerCreditService: CustomerCreditService,\r\n private dialog: MatDialog,\r\n private paymentService: PaymentsService,\r\n private formService: RechargeEditFormService,\r\n private formLoader: RechargeEditLoaderService,\r\n private snackBar: MatSnackBar,\r\n private billingService: BillingInfoService,\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n private titleService: Title) {\r\n\r\n this.titleService.setTitle(\"Recharge | Dillo\");\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.paymentService.getAutoRechargeInfo().subscribe(response => {\r\n this.customerCode = response.customerCode;\r\n this.currentCredit = response.currentCredits.toFixed(5).toString();\r\n\r\n this.autoRechargeInfoSbj.subscribe(value => {\r\n if (value == null) {\r\n return;\r\n }\r\n\r\n this.autoRechargeInfo = value;\r\n this.primaryPaymentMethod = value.primaryPaymentMethod;\r\n this.secondaryPaymentMethod = value.secondaryPaymentMethod;\r\n });\r\n this.loadAutoRechargeInfo(response);\r\n\r\n this.form.valueChanges.subscribe(result => {\r\n this.disableBtn = this.form.invalid;\r\n if (this.secondaryMethodId.value == this.primaryMethodId.value) {\r\n this.disableBtn = true;\r\n }\r\n });\r\n });\r\n\r\n this.paymentService.getPaymentSettings().subscribe(response => {\r\n this.formService.setMinAmount(response.minRechargeValue);\r\n\r\n this.minAmount = response.minRechargeValue;\r\n })\r\n\r\n this.primaryMethodId.valueChanges.subscribe(result => {\r\n this.secondaryMethods = this.paymentMethods.filter(item => item.id != result);\r\n })\r\n\r\n this.secondaryMethodId.valueChanges.subscribe(result => {\r\n this.primaryMethods=this.paymentMethods.filter(item=>item.id!=result)\r\n })\r\n\r\n }\r\n\r\n openPayment() {\r\n this.billingService.getBillingInfo().subscribe(response => {\r\n if (response.country != null) {\r\n this.hasBillingInfo = true;\r\n const dialogRef = this.dialog.open(MakePaymentComponent, {\r\n minWidth: \"40rem\",\r\n maxWidth:\"40rem\",\r\n minHeight: \"7rem\",\r\n data: response,\r\n disableClose: true\r\n });\r\n\r\n dialogRef.afterClosed().subscribe(response => {\r\n if (response.success) {\r\n this.customerCreditService.getAccountInfo().subscribe(x => {\r\n this.currentCredit = x.entity.currentCredits.toFixed(5).toString();\r\n });\r\n\r\n if (this.autoRechargeInfo.customerStripeId == null) {\r\n this.paymentService.getAutoRechargeInfo().subscribe(data => {\r\n this.autoRechargeInfo.customerStripeId = data.customerStripeId;\r\n })\r\n \r\n }\r\n }\r\n\r\n if (response.cardSaved) {\r\n this.loadPaymentMethods()\r\n }\r\n \r\n\r\n });\r\n }\r\n else {\r\n this.openBillingMissingSnackBar(`Ops, there is missing data! Complete the billing info to continue`, \"Complete Data\", 7000);\r\n }\r\n })\r\n }\r\n\r\n loadAutoRechargeInfo(response) {\r\n this.autoRechargeInfoSbj.next(response);\r\n\r\n if (response == null) {\r\n return;\r\n }\r\n\r\n this.isAutoRechargeEnable = response.isAutoRechargeEnable;\r\n\r\n this.formLoader.loadAutoRechargeInfo(response)\r\n this.showAutorechargeInfo = response.isAutoRechargeEnable;\r\n\r\n if (!this.showAutorechargeInfo) {\r\n this.formService.clearValidators([\"autoRechargeCreditLimit\", \"primaryMethodId\", \"amount\"]);\r\n }\r\n\r\n this.loadPaymentMethods();\r\n }\r\n\r\n loadPaymentMethods() {\r\n this.paymentService.getPaymentMethods(this.autoRechargeInfo.customerStripeId).subscribe(x => {\r\n if (x == null) {\r\n this.noPaymentMethod = true;\r\n return;\r\n }\r\n this.paymentMethods = x;\r\n this.secondaryMethods = x;\r\n this.primaryMethods = x;\r\n //this.openEditComponent();\r\n this.showDropDown = x.length > 1;\r\n });\r\n }\r\n\r\n openEditComponent() {\r\n //if (this.paymentMethods.length == 0) {\r\n // this.noPaymentMethod = true;\r\n // return;\r\n //}\r\n const dialogRef = this.dialog.open(EditAutoRechargeInfoComponent, {\r\n minWidth: \"25rem\",\r\n maxWidth: \"30rem\",\r\n minHeight: \"7rem\",\r\n data: {\r\n autoRechargeInfo: this.autoRechargeInfo,\r\n paymentMethodsList: this.paymentMethods,\r\n hasMorePaymentMethods: this.paymentMethods.length > 1\r\n }\r\n });\r\n\r\n dialogRef.afterClosed().subscribe(response => {\r\n if (!response.saved) {\r\n return;\r\n }\r\n //console.log(\"response=\", response);\r\n this.autoRechargeInfo = response.autoRechargeInfo;\r\n })\r\n }\r\n\r\n //edit auto recharge info:\r\n get form() {\r\n return this.formService.form;\r\n }\r\n\r\n get autoRechargeCreditLimit() {\r\n return this.formService.getControlName(\"autoRechargeCreditLimit\");\r\n }\r\n\r\n get enableAutoRecharge() {\r\n return this.formService.getControlName(\"enableAutoRecharge\");\r\n }\r\n\r\n get primaryMethodId() {\r\n return this.formService.getControlName(\"primaryMethodId\");\r\n }\r\n\r\n get secondaryMethodId() {\r\n return this.formService.getControlName(\"secondaryMethodId\");\r\n }\r\n\r\n get amount() {\r\n return this.formService.getControlName(\"amount\");\r\n }\r\n\r\n onChangeEnableAutoRecharge(event) {\r\n this.showAutorechargeInfo = event.checked;\r\n\r\n if (event.checked == false) {\r\n this.formService.clearValidators([\"autoRechargeCreditLimit\", \"primaryMethodId\", \"amount\"]);\r\n }\r\n else {\r\n this.formService.setValidatorsRequired([\"autoRechargeCreditLimit\", \"primaryMethodId\", \"amount\"]);\r\n this.formService.setMinAmount(this.minAmount);\r\n }\r\n }\r\n\r\n submit() {\r\n this.loading = true;\r\n const autoRecharge = this.formService.createCustomerAutoRechargeInfo(this.autoRechargeInfo);\r\n //console.log(\"autoRechargeObj=\", autoRecharge);\r\n this.paymentService.updateAutoRechargeInfo(autoRecharge).subscribe(x => {\r\n this.success = x;\r\n this.loading = false;\r\n \r\n if (x) {\r\n this.openSnackBar(`Auto Recharge Information was successfully saved`, \"Ok, got it!\", 2000);\r\n this.disableBtn = true;\r\n }\r\n else {\r\n this.openSnackBar(`An unknown error occurred while updating.Please refresh and try again.`, 'Ok, got it!', 2000);\r\n }\r\n \r\n })\r\n }\r\n\r\n openSnackBar(message: string, action: string, duration: number) {\r\n this.snackBar.open(message, action, {\r\n duration: duration\r\n });\r\n }\r\n\r\n openBillingMissingSnackBar(message: string, action: string, duration: number) {\r\n this.snackBar.open(message, action, {\r\n duration: duration,\r\n });\r\n this.snackBar._openedSnackBarRef.onAction().subscribe(x => {\r\n this.navigateToBilling()\r\n })\r\n }\r\n navigateToBilling() {\r\n this.router.navigate([`./billing-info`], { relativeTo: this.route })\r\n }\r\n\r\n}\r\n","
\r\n

\r\n Recharge\r\n

\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n

Current Balance

\r\n

{{currentCredit}} €

\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Auto Recharge

\r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n Enable Auto Recharge\r\n
\r\n\r\n
\r\n
\r\n \r\n Recharge amount\r\n \r\n \r\n The amount must be higher than {{minAmount}}€.\r\n \r\n \r\n\r\n \r\n Recharge automatically when credit is lower than\r\n \r\n \r\n The auto recharge credit limit can not be empty.\r\n \r\n \r\n
\r\n
\r\n \r\n Primary Payment Method\r\n \r\n \r\n ***{{element.last4}} {{element.brand | titlecase}}\r\n \r\n \r\n \r\n\r\n \r\n Secondary Payment Method \r\n \r\n \r\n ***{{element.last4}} {{element.brand | titlecase}}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n \r\n Please select different payment methods!\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { ChartDataset, ChartOptions, ChartType } from 'chart.js';\r\nimport * as pluginDataLabels from 'chartjs-plugin-datalabels';\r\n\r\n@Component({\r\n selector: 'app-bar-chart',\r\n templateUrl: './bar-chart.component.html',\r\n styleUrls: ['./bar-chart.component.scss']\r\n})\r\nexport class BarChartComponent implements OnInit {\r\n\r\n public barChartOptions: ChartOptions = {\r\n responsive: true\r\n };\r\n\r\n public barChartLabels: string[] = [];\r\n public barChartType: ChartType = 'bar';\r\n public barChartLegend = true;\r\n public barChartPlugins = [pluginDataLabels];\r\n\r\n public barChartData: ChartDataset[] = [];\r\n\r\n constructor(private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any | null) {\r\n\r\n if (data == null) {\r\n return;\r\n }\r\n\r\n this.barChartLabels = data.labels;\r\n this.barChartLegend = data.showLegend;\r\n this.barChartData = data.chartData;\r\n this.barChartOptions.plugins = data.plugins;\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n
\r\n","import { ChangeDetectorRef, Component, Input, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-code-samples',\r\n templateUrl: './code-samples.component.html',\r\n styleUrls: ['./code-samples.component.scss']\r\n})\r\nexport class CodeSamplesComponent implements OnInit {\r\n\r\n @Input() code: string;\r\n @Input() language: string;\r\n @Input() description: string;\r\n\r\n public editorOptions:any;\r\n\r\n public loading: boolean = true;\r\n constructor(private cdRef: ChangeDetectorRef) { }\r\n\r\n ngOnInit() {\r\n\r\n this.editorOptions= { theme: 'vs-blue', language: this.language, readOnly: true, automaticLayout: true }\r\n }\r\n\r\n onEditorInit() {\r\n\r\n this.loading = false;\r\n this.cdRef.detectChanges();\r\n\r\n }\r\n\r\n saveToClipboard(val = this.code) {\r\n let selBox = document.createElement('textarea');\r\n selBox.style.position = 'fixed';\r\n selBox.style.left = '0';\r\n selBox.style.top = '0';\r\n selBox.style.opacity = '0';\r\n selBox.value = val;\r\n document.body.appendChild(selBox);\r\n selBox.focus();\r\n selBox.select();\r\n document.execCommand('copy');\r\n document.body.removeChild(selBox);\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n {{description}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'app-common-confirmation',\r\n templateUrl: './common-confirmation.component.html',\r\n styleUrls: ['./common-confirmation.component.scss']\r\n})\r\nexport class CommonConfirmationComponent implements OnInit {\r\n\r\n public dialogMessage: string;\r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: string | null) {\r\n\r\n if (this.data == null) {\r\n return;\r\n }\r\n this.dialogMessage = data;\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n delete() {\r\n\r\n this.dialogRef.close(true);\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close(false);\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'app-delete-items-confirmation',\r\n templateUrl: './delete-items-confirmation.component.html',\r\n styleUrls: ['./delete-items-confirmation.component.scss']\r\n})\r\nexport class DeleteItemsConfirmationComponent implements OnInit {\r\n\r\n public dialogMessage: string;\r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: string | null) {\r\n\r\n if (this.data == null) {\r\n return;\r\n }\r\n this.dialogMessage = data;\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n delete() {\r\n\r\n this.dialogRef.close(true);\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close(false);\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n","import { Injectable } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FilterGridFormService {\r\n\r\n public form: UntypedFormGroup;\r\n\r\n constructor(private fb: UntypedFormBuilder) {\r\n this.form = this.fb.group({\r\n operatorName: [null, Validators.required,],\r\n operatorValue: [null, Validators.required,],\r\n });\r\n }\r\n\r\n getFormControl(property: string): UntypedFormControl {\r\n return this.form.get(property) as UntypedFormControl;\r\n }\r\n}\r\n","import { DatePipe } from '@angular/common';\r\nimport { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { FilterGridOperatorList, FilterOperatorType } from '../../../core/constants/filter-operator-type';\r\nimport { FilterGridData } from '../../../core/interfaces/filter/filter-operator';\r\nimport { FilterGridFormService } from './filter-grid-form.service';\r\n\r\n\r\n@Component({\r\n selector: 'app-filter-grid',\r\n templateUrl: './filter-grid.component.html',\r\n styleUrls: ['./filter-grid.component.scss'],\r\n providers: [FilterGridFormService]\r\n})\r\nexport class FilterGridComponent implements OnInit {\r\n\r\n @Input() propertyName: string;\r\n @Input() propertyType: string;\r\n @Input() isExpression: boolean = false;\r\n @Input() isFirstColumn: boolean = false;\r\n\r\n\r\n @Output() filter = new EventEmitter();\r\n\r\n public operators = FilterGridOperatorList;\r\n public isOpen: Boolean = false;\r\n public isApplied: Boolean = false;\r\n\r\n public trueLabel: string = 'True';\r\n public falseLabel: string = 'False';\r\n\r\n constructor(private formService: FilterGridFormService,\r\n private datepipe: DatePipe) {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n if (this.propertyType == FilterOperatorType.Boolean) {\r\n this.operatorName.setValue(\"Equals\");\r\n\r\n if (this.propertyName == 'agentStatus') {\r\n this.trueLabel = 'Active';\r\n this.falseLabel = 'Exited';\r\n }\r\n }\r\n\r\n }\r\n\r\n get form() {\r\n return this.formService.form;\r\n }\r\n\r\n get operatorName() {\r\n return this.formService.getFormControl('operatorName');\r\n }\r\n\r\n get operatorValue() {\r\n return this.formService.getFormControl('operatorValue');\r\n }\r\n\r\n toggle() {\r\n this.isOpen = !this.isOpen;\r\n }\r\n\r\n apply() {\r\n this.isApplied = true;\r\n\r\n var opValue = this.operatorValue.value;\r\n\r\n\r\n\r\n if (this.propertyType == FilterOperatorType.Timestamp || this.propertyType == FilterOperatorType.Date) {\r\n var today = new Date();\r\n var dateValue = new Date(this.operatorValue.value)\r\n\r\n if (dateValue != null) {\r\n opValue = new Date(dateValue.setHours(today.getUTCHours()));\r\n }\r\n }\r\n\r\n const filter: FilterGridData = {\r\n propertyType: this.propertyType,\r\n propertyName: this.getPropertyName(),\r\n operatorName: this.operatorName.value,\r\n value: opValue,\r\n isExpression: this.isExpression\r\n\r\n }\r\n\r\n this.filter.emit(filter);\r\n this.isOpen = false;\r\n }\r\n\r\n clear() {\r\n this.isApplied = false;\r\n\r\n //reset the form first\r\n this.form.reset();\r\n\r\n const filter: FilterGridData = {\r\n propertyType: this.propertyType,\r\n propertyName: this.getPropertyName(),\r\n operatorName: this.operatorName.value,\r\n value: null\r\n }\r\n\r\n this.filter.emit(filter);\r\n this.isOpen = false;\r\n }\r\n\r\n resetFilter() {\r\n this.isApplied = false;\r\n\r\n //reset the form first\r\n this.form.reset();\r\n\r\n const filter: FilterGridData = {\r\n propertyType: this.propertyType,\r\n propertyName: this.propertyName,\r\n operatorName: this.operatorName.value,\r\n value: null\r\n }\r\n }\r\n\r\n getPropertyName(): string {\r\n var propertyName = this.propertyName;\r\n\r\n if (this.isExpression == true && this.propertyName.toLowerCase() == 'status') {\r\n propertyName = \" concat(ToString(c.FinalStatus.PrimaryStatus.Code), (IS_NULL(c.FinalStatus.SecondaryStatus) ? '' : concat('.', ToString(c.FinalStatus.SecondaryStatus.Code))))\";\r\n }\r\n\r\n if (this.isExpression == true && this.propertyName == 'ParticipantDuration') {\r\n propertyName = \" IS_NULL(c.Duration)=false and c.Duration\";\r\n }\r\n\r\n if (this.isExpression == true && this.propertyName == 'ConferenceDuration') {\r\n propertyName = \"IS_NULL(c.Duration)=false and c.Duration\";\r\n }\r\n\r\n\r\n if (this.isExpression == true && this.propertyName == 'CallDuration') {\r\n propertyName = \"IS_NULL(c.Duration)=false and c.Duration\";\r\n }\r\n\r\n if (this.isExpression && this.propertyName == 'agentStatus') {\r\n propertyName = \"IS_NULL(c.EndedOnUtc)\";\r\n }\r\n\r\n if (this.isExpression && this.propertyName == 'DeletedOnUtc') {\r\n propertyName = \"IS_NULL(c.DeletedOnUtc)\";\r\n }\r\n\r\n if (this.isExpression && this.propertyName == 'ExpiresOnUtc') {\r\n propertyName = \"IS_NULL(c.ExpiresOnUtc)\";\r\n }\r\n\r\n if (this.isExpression && this.propertyName == 'StartedOnUtc') {\r\n propertyName = \"IS_NULL(c.StartedOnUtc)\";\r\n }\r\n\r\n if (this.isExpression && this.propertyName == 'EndedOnUtc') {\r\n propertyName = \"IS_NULL(c.EndedOnUtc)\";\r\n }\r\n\r\n if (this.isExpression && this.propertyName == 'LastPublishedOnUtc') {\r\n propertyName = \"IS_NULL(c.EndedOnUtc)\";\r\n }\r\n\r\n return propertyName;\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n Select operator \r\n \r\n \r\n {{operator}}\r\n \r\n \r\n \r\n\r\n\r\n \r\n {{trueLabel}}\r\n {{falseLabel}}\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n Choose a date\r\n \r\n \r\n \r\n \r\n
\r\n \r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n","import { Component, OnInit, Inject } from '@angular/core';\r\nimport { DataSource } from '@angular/cdk/table';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { IInboundPriceDetails, IAIDetails } from '../../../core/interfaces/common/inbound-price-details';\r\nimport { IInboundEmailReceived } from '../../../core/interfaces/email/inbound-email-received';\r\nimport { IInboundSmsReceived } from '../../../core/interfaces/sms/inbound-sms-received.interface';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'app-inbound-price-details',\r\n templateUrl: './inbound-price-details.component.html',\r\n styleUrls: ['./inbound-price-details.component.scss']\r\n})\r\nexport class InboundPriceDetailsComponent implements OnInit {\r\n\r\n public serviceDataSource: ServiceDataSource | null;\r\n public aiDataSource: AIDataSource | null;\r\n \r\n public services: IInboundPriceDetails[] = [];\r\n public aiList: IAIDetails[] = [];\r\n public listBehaviorSbj: BehaviorSubject = new BehaviorSubject([]);\r\n public aiListBehaviorSbj: BehaviorSubject = new BehaviorSubject([]);\r\n\r\n public serviceDisplayedColumns = ['serviceName', 'length', 'pricePerInterval', 'numberOfIntervals', 'totalPrice'];\r\n public aiDisplayedColumns = ['ai', 'interval', 'pricePerIntervalAI', 'priceDetails'];\r\n\r\n public emailRequest: IInboundEmailReceived = null;\r\n public smsRequest: IInboundSmsReceived = null;\r\n public request: any = null;\r\n\r\n public isEmail: boolean = false;\r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any | null) {\r\n\r\n if (this.data == null) {\r\n return;\r\n }\r\n\r\n this.request = data.request;\r\n this.isEmail = data.isEmail;\r\n\r\n if (data.isEmail == true) {\r\n this.emailRequest = data.request;\r\n }\r\n else {\r\n this.smsRequest = data.request;\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.serviceDataSource = new ServiceDataSource(this.listBehaviorSbj);\r\n this.aiDataSource = new AIDataSource(this.aiListBehaviorSbj);\r\n\r\n this.aiListBehaviorSbj.subscribe(value => this.aiList = value);\r\n\r\n this.getPriceDetails();\r\n\r\n }\r\n\r\n getPriceDetails() {\r\n if (this.isEmail) {\r\n this.services = [{\r\n text: \"\",\r\n interval: this.emailRequest.interval,\r\n length: this.emailRequest.size,\r\n numberOfIntervals: this.emailRequest.numberOfIntervals,\r\n pricePerInterval: this.emailRequest.pricePerInterval,\r\n totalPrice: this.emailRequest.numberOfIntervals * this.emailRequest.pricePerInterval,\r\n serviceName: \"Inbound email\"\r\n }]\r\n }\r\n else {\r\n this.services = [{\r\n text: \"\",\r\n interval: this.smsRequest.maxMessageLength,\r\n length: this.smsRequest.message.length,\r\n numberOfIntervals: this.smsRequest.numberOfSmsParts,\r\n pricePerInterval: this.smsRequest.pricePerSms,\r\n totalPrice: this.smsRequest.numberOfSmsParts * this.smsRequest.pricePerSms,\r\n serviceName: \"Inbound SMS\"\r\n }]\r\n }\r\n\r\n this.listBehaviorSbj.next(this.services);\r\n\r\n this.aiListBehaviorSbj.next(this.getAIPrices());\r\n \r\n }\r\n\r\n getAIPrices(): IAIDetails[] {\r\n if (this.request.botEndpointHitTextsDeserialized == null || this.request.botEndpointHitTextsDeserialized.length == 0) {\r\n return [];\r\n }\r\n \r\n var prices: IInboundPriceDetails[] = this.request.botEndpointHitTextsDeserialized.map(item => {\r\n var price: IInboundPriceDetails = {\r\n text: item,\r\n interval: this.request.botEndpointHitInterval,\r\n length: item.length,\r\n numberOfIntervals: Math.ceil(item.length / this.request.botEndpointHitInterval),\r\n pricePerInterval: this.request.pricePerBotEndpointHit,\r\n totalPrice: Math.ceil(item.length / this.request.botEndpointHitInterval) * this.request.pricePerBotEndpointHit\r\n };\r\n\r\n return price;\r\n });\r\n\r\n var ai: IAIDetails = {\r\n name: \"AI\",\r\n interval: this.request.botEndpointHitInterval,\r\n pricePerInterval: this.request.pricePerBotEndpointHit,\r\n services: prices,\r\n totalPrice: this.request.totalPricePerEndpointHit\r\n }\r\n\r\n return [ai];\r\n }\r\n\r\n}\r\n\r\nexport class ServiceDataSource extends DataSource{\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { };\r\n}\r\n\r\nexport class AIDataSource extends DataSource{\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { };\r\n}\r\n","

Price details

\r\n\r\nRequestId: {{request.id}}\r\n\r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n
Service Name{{element.serviceName}}\r\n Size\r\n Length\r\n \r\n {{element.length}}\r\n Kb\r\n chars\r\n Price / interval\r\n {{element.pricePerInterval}}\r\n No. intervals\r\n {{element.numberOfIntervals}}\r\n Total price\r\n {{element.totalPrice | number : '1.3-5' }} €\r\n
\r\n
\r\n\r\n
0\">\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n
Service
name
{{element.name}}Interval{{element.interval}}Price /
Interval
\r\n {{element.pricePerInterval | number : '1.3-5'}}\r\n Price Details\r\n\r\n
\r\n
\r\n
\r\n Text\r\n
\r\n\r\n
\r\n Length\r\n
\r\n\r\n
\r\n No. intervals\r\n
\r\n\r\n
\r\n Total price\r\n
\r\n
\r\n\r\n
\r\n
\r\n {{service.text}}\r\n
\r\n\r\n
\r\n {{service.length}} chars\r\n \r\n
\r\n\r\n
\r\n {{service.numberOfIntervals}}\r\n
\r\n\r\n
\r\n {{service.totalPrice | number : '1.3-5' }} €\r\n
\r\n
\r\n\r\n
\r\n
Total price for {{element.name}}: {{element.totalPrice | number : '1.3-5'}} €
\r\n\r\n\r\n
\r\n
\r\n\r\n\r\n
TOTAL PRICE: {{request.price | number : '1.3-5'}} €
\r\n","import { Injectable } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';\r\n\r\n@Injectable()\r\nexport class ViewInboundActiveNumberSettingsFormService {\r\n\r\n public form: UntypedFormGroup;\r\n\r\n constructor(private fb: UntypedFormBuilder) {\r\n this.form = fb.group({\r\n user: [null, Validators.required],\r\n authUser: [null, Validators.required],\r\n secret: [null, Validators.required],\r\n host: [null, Validators.required],\r\n port: [null, Validators.required],\r\n extension: [null, Validators.required],\r\n telephoneNumber: [null],\r\n additionalInfo: [null],\r\n stasisApp: [null]\r\n });\r\n }\r\n\r\n getControlName(controleName: string): UntypedFormControl {\r\n return this.form.get(controleName) as UntypedFormControl;\r\n }\r\n\r\n createSerializedConnectionSettings(): string {\r\n const data = this.form.value;\r\n\r\n let connectionSettings: any = {\r\n User: data.user,\r\n AuthUser: data.authUser,\r\n Secret: data.secret,\r\n Host: data.host,\r\n Port: data.port,\r\n Extension: data.extension,\r\n TelephoneNumber: data.telephoneNumber,\r\n AdditionalInfo: data.additionalInfo,\r\n StasisApp: data.stasisApp\r\n };\r\n\r\n const serializedObj: string = JSON.stringify(connectionSettings);\r\n return serializedObj;\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ViewInboundActiveNumberSettingsFormService } from './view-inbound-active-number-settings-form.service';\r\n\r\n@Injectable()\r\nexport class ViewInboundActiveNumberSettingsLoaderService {\r\n\r\n constructor(private formService: ViewInboundActiveNumberSettingsFormService) { }\r\n\r\n loadData(connectionSettings: any) {\r\n this.formService.form.patchValue({\r\n user: connectionSettings.User,\r\n authUser: connectionSettings.AuthUser,\r\n secret: connectionSettings.Secret,\r\n host: connectionSettings.Host,\r\n port: connectionSettings.Port,\r\n extension: connectionSettings.Extension,\r\n telephoneNumber: connectionSettings.TelephoneNumber,\r\n additionalInfo: connectionSettings.AdditionalInfo,\r\n stasisApp: connectionSettings.StasisApp\r\n });\r\n }\r\n}\r\n","import { Component, Inject } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { ViewInboundActiveNumberSettingsFormService } from './view-inbound-active-number-settings-form.service';\r\nimport { ViewInboundActiveNumberSettingsLoaderService } from './view-inbound-active-number-settings-loader.service';\r\n\r\n@Component({\r\n selector: 'app-view-inbound-active-number-settings',\r\n templateUrl: './view-inbound-active-number-settings.component.html',\r\n styleUrl: './view-inbound-active-number-settings.component.scss',\r\n providers: [ViewInboundActiveNumberSettingsFormService, ViewInboundActiveNumberSettingsLoaderService]\r\n})\r\nexport class ViewInboundActiveNumberSettingsComponent {\r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: string | null,\r\n private formService: ViewInboundActiveNumberSettingsFormService,\r\n private loaderService: ViewInboundActiveNumberSettingsLoaderService) {\r\n\r\n if (data) {\r\n const connectionSettings = JSON.parse(data);\r\n this.loaderService.loadData(connectionSettings);\r\n }\r\n }\r\n\r\n get form() {\r\n return this.formService.form;\r\n }\r\n\r\n get user() {\r\n return this.formService.getControlName(\"user\");\r\n }\r\n\r\n get authUser() {\r\n return this.formService.getControlName(\"authUser\");\r\n }\r\n\r\n get secret() {\r\n return this.formService.getControlName(\"secret\");\r\n }\r\n\r\n get host() {\r\n return this.formService.getControlName(\"host\");\r\n }\r\n\r\n get port() {\r\n return this.formService.getControlName(\"port\");\r\n }\r\n\r\n get extension() {\r\n return this.formService.getControlName(\"extension\");\r\n }\r\n\r\n get telephoneNumber() {\r\n return this.formService.getControlName(\"telephoneNumber\");\r\n }\r\n\r\n get additionalInfo() {\r\n return this.formService.getControlName(\"additionalInfo\");\r\n }\r\n\r\n get stasisApp() {\r\n return this.formService.getControlName(\"stasisApp\");\r\n }\r\n\r\n save(): void {\r\n let settings = this.formService.createSerializedConnectionSettings();\r\n this.dialogRef.close({ connectionSettings: settings });\r\n }\r\n\r\n close(): void {\r\n this.dialogRef.close(null);\r\n }\r\n}\r\n","

Connection settings - {{telephoneNumber.value}}

\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n User\r\n \r\n \r\n User is required!\r\n \r\n \r\n
\r\n
\r\n \r\n Auth user\r\n \r\n \r\n Auth user is required!\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n Secret\r\n \r\n \r\n Secret is required!\r\n \r\n \r\n
\r\n
\r\n \r\n Host\r\n \r\n \r\n Host is required!\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n Port\r\n \r\n \r\n Port is required!\r\n \r\n \r\n
\r\n
\r\n \r\n Extension\r\n \r\n \r\n Extension is required!\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n Additional info\r\n \r\n \r\n Additional info\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n Cancel\r\n \r\n
\r\n","import { Component, HostListener, OnInit, QueryList, ViewChild, ViewChildren } from '@angular/core';\r\nimport { UntypedFormControl } from '@angular/forms';\r\nimport { MatPaginator as MatPaginator } from '@angular/material/paginator';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { MatTabChangeEvent as MatTabChangeEvent } from '@angular/material/tabs';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { debounceTime, distinctUntilChanged } from 'rxjs/operators';\r\nimport { InboundBillingType, InboundBillingTypeList } from '../../../../core/constants/inbound-billing-type';\r\nimport { ScreenSize } from '../../../../core/constants/screen-size.constants';\r\nimport { InboundVoicePricelistDataSource } from '../../../../core/datasource/inbound-voice-pricelist-data-source';\r\nimport { IVoiceInboundPriceListItemsRequest } from '../../../../core/interfaces/common/pricelist-items-request.interface';\r\nimport { FilterGridData } from '../../../../core/interfaces/filter/filter-operator';\r\nimport { IInboundVoicePricelistItem } from '../../../../core/interfaces/inbound/inbound-voice-pricelist-item.interface';\r\nimport { IInboundVoicePricelistResponse } from '../../../../core/interfaces/inbound/inbound-voice-pricelist-response.interface';\r\nimport { InboundVoicePricelistService } from '../../../../core/services/inbound/inbound-voice-pricelist.service';\r\nimport { FilterGridComponent } from '../../filter-grid/filter-grid.component';\r\n\r\n@Component({\r\n selector: 'app-view-inbound-base-pricelist-items',\r\n templateUrl: './view-inbound-base-pricelist-items.component.html',\r\n styleUrls: ['./view-inbound-base-pricelist-items.component.scss']\r\n})\r\nexport class ViewInboundBasePricelistItemsComponent implements OnInit {\r\n\r\n public height: Number = 0; //the height of the grid\r\n\r\n public itemsDataSource: InboundVoicePricelistDataSource | null;\r\n public itemsSubject: BehaviorSubject = new BehaviorSubject([]);\r\n\r\n public loading: boolean = false;\r\n public noItems: boolean = false;\r\n public showMatCard: boolean = false;\r\n private page: number = 1;\r\n public invalidForm: boolean;\r\n public pageSize: number = 20;\r\n private pageSubject: BehaviorSubject = new BehaviorSubject(this.page);\r\n public totalItems: number;\r\n public search = new UntypedFormControl();\r\n public billingType = new UntypedFormControl();\r\n public searchFilter: string = '';\r\n public defaultChannels: number = 0;\r\n public selectedTab: number = 0;\r\n public billingTypesList: IInboundVoicePricelistResponse[] = [];\r\n\r\n public displayedColumns: string[] = [\"Name\", \"Prefix\", \"SetupFee\", \"MonthlyFee\"];\r\n public displayedColumnsExtra: string[] = [\"Name\", \"Prefix\", \"MinNumberOfChannels\", \"MaxNumberOfChannels\", \"SetupFee\", \"MonthlyFee\"];\r\n\r\n @ViewChild(MatPaginator) paginator: MatPaginator;\r\n @ViewChild('tabGroup') tabGroup;\r\n @ViewChildren(FilterGridComponent) childFilter: QueryList\r\n @ViewChild(MatSort) sort: MatSort;\r\n\r\n public innerWidth: any;\r\n public tabletMode: boolean = false;\r\n\r\n public filterArray: FilterGridData[] = [];\r\n public sortField: string = null;\r\n public sortDirection: string = null;\r\n\r\n constructor(private priceListService: InboundVoicePricelistService,\r\n private titleService: Title) {\r\n this.titleService.setTitle(\"Inbound Voice Prices | Dillo\");\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event) {\r\n\r\n this.innerWidth = event.target.innerWidth;\r\n\r\n\r\n if (this.innerWidth < ScreenSize.BreakpointLaptop) {\r\n this.tabletMode = true;\r\n return;\r\n }\r\n\r\n this.tabletMode = false;\r\n }\r\n\r\n ngOnInit() {\r\n\r\n const observer = new ResizeObserver(entries => {\r\n //important! adjust the value to be subtracted for a good fit of the table on the page \r\n this.height = entries[0].contentRect.height - 450;\r\n });\r\n\r\n observer.observe(document.querySelector('body'));\r\n\r\n window.innerWidth < ScreenSize.BreakpointLaptop ? this.tabletMode = true : this.tabletMode = false;\r\n\r\n this.pageSubject.subscribe(p => {\r\n this.page = p;\r\n this.submit(p);\r\n });\r\n\r\n this.itemsDataSource = new InboundVoicePricelistDataSource(this.itemsSubject);\r\n\r\n var adminBillingTypes = InboundBillingTypeList;\r\n this.billingTypesList = adminBillingTypes.filter(f => f.billingType != InboundBillingType.FlatRateExtraChannels);\r\n\r\n this.search.valueChanges.pipe(\r\n debounceTime(1000),\r\n distinctUntilChanged()\r\n ).subscribe(value => {\r\n //replace special chars\r\n this.searchFilter = value.replace(/[^a-zA-Z0-9]/g, \"\");\r\n //console.log(\"search=\", this.searchFilter);\r\n this.invalidForm = this.validateSearchField();\r\n this.checkRouteBillingTypes(this.searchFilter);\r\n\r\n if (this.billingType.value == InboundBillingType.FlatRate) {\r\n this.selectedTab = 0;\r\n }\r\n });\r\n\r\n this.billingType.valueChanges.subscribe(value => {\r\n this.resetAllFiltersAndSorting();\r\n this.setColumns();\r\n this.pageSubject.next(1);\r\n this.paginator.firstPage();\r\n });\r\n\r\n }\r\n\r\n checkRouteBillingTypes(value: any) {\r\n if (value != \"\") {\r\n this.loading = true;\r\n this.priceListService.getRouteBillingTypes(value).subscribe(response => {\r\n this.loading = false;\r\n this.billingTypesList = response;\r\n var billingTypeValid = response.find(value => value.isDisabled == false);\r\n var selectedValue: IInboundVoicePricelistResponse = this.billingTypesList.find(value => value.billingType == this.billingType.value);\r\n\r\n if (selectedValue == null || (selectedValue != null && selectedValue.isDisabled)) {\r\n this.billingType.setValue(billingTypeValid != null ? billingTypeValid.billingType : null);\r\n }\r\n else {\r\n this.pageSubject.next(1);\r\n this.paginator.firstPage();\r\n }\r\n\r\n\r\n //this.pageSubject.next(1);\r\n //this.paginator.firstPage();\r\n });\r\n }\r\n }\r\n\r\n submit(page: number) {\r\n var selectedValue: IInboundVoicePricelistResponse = this.billingTypesList.find(value => value.billingType == this.billingType.value);\r\n \r\n if (this.billingType.value != null && this.searchFilter != \"\" && (selectedValue != null && selectedValue.isDisabled == false)) {\r\n this.loading = true;\r\n this.noItems = false;\r\n this.showMatCard = false;\r\n var request = this.createRequest();\r\n this.priceListService.getInboundBasePrices(request).subscribe(x => {\r\n if (request.page == 1) {\r\n this.totalItems = x.total;\r\n }\r\n this.showData(x)\r\n })\r\n }\r\n }\r\n\r\n showData(data) {\r\n //console.log(\"data=\", data);\r\n this.loading = false;\r\n\r\n if (data == null) {\r\n this.noItems = true;\r\n return;\r\n }\r\n this.itemsSubject.next(data.data);\r\n\r\n if (this.totalItems > 0) {\r\n this.showMatCard = true;\r\n if (this.billingType.value != null && this.billingType.value != InboundBillingType.PayPerUse) {\r\n this.defaultChannels = data.data[0].defaultChannels;\r\n }\r\n }\r\n else {\r\n this.noItems = true;\r\n }\r\n\r\n console.log(\"response\", this.billingType.value, this.showMatCard)\r\n }\r\n\r\n\r\n handlePage(e) {\r\n this.pageSubject.next(e.pageIndex + 1);\r\n }\r\n\r\n validateSearchField(): boolean {\r\n const regex = new RegExp('\"^[a-zA-Z0-9]+$\"');\r\n if (regex.test(this.searchFilter)) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n setColumns() {\r\n if (this.billingType != null) {\r\n\r\n if (this.billingType.value == InboundBillingType.PayPerUse) {\r\n this.displayedColumns = [\"Name\", \"Prefix\", \"SetupFee\", \"MonthlyFee\", \"PricePerInterval\", \"Interval\"];\r\n }\r\n else {\r\n this.displayedColumns = [\"Name\", \"Prefix\", \"SetupFee\", \"MonthlyFee\"];\r\n }\r\n }\r\n\r\n }\r\n\r\n tabChanged(tabChangeEvent: MatTabChangeEvent): void {\r\n this.resetAllFiltersAndSorting();\r\n if (tabChangeEvent.index == 1) {\r\n this.loading = true;\r\n this.selectedTab = 1;\r\n const request: IVoiceInboundPriceListItemsRequest = {\r\n billingType: InboundBillingType.FlatRateExtraChannels,\r\n page: 1,\r\n pageSize: this.pageSize,\r\n filter: this.searchFilter,\r\n }\r\n\r\n this.priceListService.getInboundBasePrices(request).subscribe(x => {\r\n if (request.page == 1) {\r\n this.totalItems = x.total;\r\n }\r\n this.showData(x)\r\n })\r\n }\r\n else {\r\n this.displayedColumns = [\"Name\", \"Prefix\", \"SetupFee\", \"MonthlyFee\"];\r\n this.billingType.setValue(InboundBillingType.FlatRate);\r\n }\r\n }\r\n\r\n addFilterComponent(event: FilterGridData) {\r\n if (event.value == null) {\r\n this.filterArray = this.filterArray.filter(x => x.propertyName != event.propertyName);\r\n }\r\n else {\r\n var existingFilter = this.filterArray.filter(x => x.propertyName == event.propertyName);\r\n\r\n if (existingFilter.length > 0) {\r\n this.filterArray = this.filterArray.filter(x => x.propertyName != event.propertyName);\r\n }\r\n\r\n this.filterArray.push(event);\r\n\r\n }\r\n\r\n this.pageSubject.next(1);\r\n }\r\n\r\n sortData(event) {\r\n\r\n this.sortDirection = event.direction;\r\n this.sortField = event.active;\r\n\r\n this.pageSubject.next(1);\r\n\r\n }\r\n\r\n createRequest() {\r\n var billingType = this.billingType.value;\r\n\r\n if (billingType == InboundBillingType.FlatRate && this.selectedTab == 1) {\r\n billingType = InboundBillingType.FlatRateExtraChannels;\r\n }\r\n\r\n const request: IVoiceInboundPriceListItemsRequest = {\r\n billingType: billingType,\r\n page: this.page,\r\n pageSize: this.pageSize,\r\n filter: this.searchFilter,\r\n filters: this.filterArray,\r\n sortDirection: this.sortDirection,\r\n sortField: this.sortField\r\n }\r\n\r\n return request;\r\n }\r\n\r\n resetAllFiltersAndSorting() {\r\n this.sortDirection = null;\r\n this.sortField = null;\r\n this.page = 1;\r\n if (this.filterArray.length > 0) {\r\n this.childFilter.forEach(x => {\r\n x.resetFilter();\r\n });\r\n }\r\n this.sort.active = '';\r\n this.sort.direction = \"desc\";\r\n this.sort._stateChanges.next();\r\n\r\n this.filterArray = [];\r\n this.showMatCard = false;\r\n }\r\n\r\n\r\n}\r\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n Country Name or Dial code\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n Billing Type\r\n \r\n \r\n {{type.label}}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n Please type country name or a dial code and choose a billing type!\r\n
\r\n
\r\n Please type a different country name or a dial code or choose another billing type!\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n
\r\n Name\r\n \r\n \r\n Name\r\n {{element.name}} \r\n Prefix\r\n \r\n \r\n Prefix\r\n {{element.prefix}} \r\n Setup Fee\r\n \r\n \r\n Setup Fee\r\n \r\n {{element.setupFee | number : '1.3-5'}} € \r\n Monthly Fee\r\n \r\n \r\n Monthly Fee\r\n \r\n {{element.monthlyFee | number : '1.3-5'}} € \r\n Price / interval\r\n \r\n \r\n Price / interval\r\n {{element.pricePerInterval | number : '1.3-5'}} € \r\n Interval (sec.)\r\n \r\n \r\n {{element.interval}}
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n\r\n \r\n \r\n\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n
\r\n Name\r\n \r\n \r\n Name\r\n {{element.name}} \r\n Prefix\r\n \r\n \r\n Prefix\r\n {{element.prefix}} \r\n Setup Fee /{{defaultChannels}} channels\r\n \r\n \r\n Setup Fee /
{{defaultChannels}} channels
\r\n
{{element.setupFee | number : '1.3-5'}} €\r\n Monthly Fee / {{defaultChannels}} channels\r\n \r\n \r\n Monthly Fee /
{{defaultChannels}} channels
\r\n
{{element.monthlyFee | number : '1.3-5'}} €
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n\r\n \r\n\r\n * Note: this prices apply only from channels > {{defaultChannels}}
\r\n \r\n e.g: if you purchase an inbound number with 5 channels you will pay for the first 2 the prices from first tab and for each channel until 5 you will pay the prices set in the table bellow:\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
\r\n Name\r\n \r\n \r\n Name\r\n {{element.name}} \r\n Prefix\r\n \r\n \r\n Prefix\r\n {{element.prefix}} \r\n From Channel\r\n \r\n \r\n From Channel\r\n {{element.minNumberOfChannels}} \r\n To Channel\r\n \r\n \r\n To Channel\r\n {{element.maxNumberOfChannels}} \r\n Setup Fee /
channel
\r\n \r\n \r\n Setup Fee / channel\r\n
{{element.setupFee | number : '1.3-5'}} € \r\n Monthly Fee /
channel
\r\n \r\n \r\n Monthly Fee / channel\r\n
{{element.monthlyFee | number : '1.3-5'}} €
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { DataSource } from '@angular/cdk/table';\r\nimport { Component, HostListener, OnInit, ViewChild } from '@angular/core';\r\nimport { UntypedFormControl } from '@angular/forms';\r\nimport { MatDialog as MatDialog } from '@angular/material/dialog';\r\nimport { MatPaginator as MatPaginator } from '@angular/material/paginator';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { MicroserviceChannelsList, MicroserviceStatusList } from '../../../../core/constants/microservice-instance.constants';\r\nimport { ScreenSize } from '../../../../core/constants/screen-size.constants';\r\nimport { FilterGridData } from '../../../../core/interfaces/filter/filter-operator';\r\nimport { IMicroserviceInstance } from '../../../../core/interfaces/monitoring/microservice-instace';\r\nimport { IMicroserviceInstaceRequest } from '../../../../core/interfaces/monitoring/microservice-instace-request';\r\nimport { MonitoringService } from '../../../../core/services/monitoring/monitoring.service';\r\nimport { RandomMessageComponent } from '../../random-message/random-message.component';\r\n\r\n@Component({\r\n selector: 'app-microservice-instaces',\r\n templateUrl: './microservice-instaces.component.html',\r\n styleUrls: ['./microservice-instaces.component.scss']\r\n})\r\nexport class MicroserviceInstacesComponent implements OnInit {\r\n\r\n public height: Number = 0; //the height of the grid\r\n\r\n public instances: BehaviorSubject = new BehaviorSubject([]);\r\n public dataSource: MicroserviceInstanceDatasource | null;\r\n\r\n private page: number = 1;\r\n public pageSize: number = 20;\r\n private pageSubject: BehaviorSubject = new BehaviorSubject(null);\r\n public totalItems: number;\r\n public displayedColumns = ['Name', 'IpAddress', 'Channel', 'Status', 'lastActivityDate', 'action'];\r\n\r\n public loading: boolean = false;\r\n public noItems: boolean = false;\r\n public showMatCard: boolean = false;\r\n\r\n public allMicroserviceChanels = MicroserviceChannelsList;\r\n public allMicroserviceStatuses = MicroserviceStatusList;\r\n public selectedChannel: UntypedFormControl = new UntypedFormControl();\r\n public selectedStatus: UntypedFormControl = new UntypedFormControl();\r\n\r\n\r\n public innerWidth: any;\r\n public tabletMode: boolean = false;\r\n\r\n public filterArray: FilterGridData[] = [];\r\n public sortField: string = null;\r\n public sortDirection: string = null;\r\n\r\n @ViewChild(MatPaginator) paginator: MatPaginator;\r\n\r\n constructor(private monitoringService: MonitoringService,\r\n private dialog: MatDialog,\r\n private titleService: Title) {\r\n\r\n this.titleService.setTitle(\"Dillo | Microservice Instance\")\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event) {\r\n\r\n this.innerWidth = event.target.innerWidth;\r\n\r\n\r\n if (this.innerWidth < ScreenSize.BreakpointLaptop) {\r\n this.tabletMode = true;\r\n return;\r\n }\r\n this.tabletMode = false;\r\n }\r\n\r\n ngOnInit() {\r\n\r\n const observer = new ResizeObserver(entries => {\r\n //important! adjust the value to be subtracted for a good fit of the table on the page \r\n this.height = entries[0].contentRect.height - 389;\r\n });\r\n\r\n observer.observe(document.querySelector('body'));\r\n\r\n window.innerWidth < ScreenSize.BreakpointLaptop ? this.tabletMode = true : this.tabletMode = false;\r\n\r\n this.dataSource = new MicroserviceInstanceDatasource(this.instances);\r\n\r\n this.pageSubject.subscribe(p => {\r\n this.page = p;\r\n if (p == null) {\r\n return;\r\n }\r\n\r\n this.getMicroserviceInstances();\r\n });\r\n\r\n //this.getMicroserviceInstances();\r\n }\r\n\r\n\r\n readMicroservices(){\r\n this.page = 1;\r\n this.paginator.firstPage();\r\n this.getMicroserviceInstances();\r\n }\r\n\r\n\r\n getMicroserviceInstances() {\r\n this.loading = true;\r\n this.showMatCard = false;\r\n this.noItems = false;\r\n\r\n var request: IMicroserviceInstaceRequest = {\r\n channel: this.selectedChannel.value,\r\n status:this.selectedStatus.value,\r\n page: this.page == null ? 1 : this.page,\r\n pageSize: this.pageSize,\r\n filters: this.filterArray,\r\n sortDirection: this.sortDirection,\r\n sortField: this.sortField\r\n };\r\n\r\n \r\n\r\n this.monitoringService.getMicroserviceInstances(request).subscribe({\r\n next: data => {\r\n if (request.page == 1) {\r\n this.totalItems = data.total; \r\n }\r\n this.instances.next(data.data);\r\n this.loading = false;\r\n if (this.totalItems > 0) {\r\n this.showMatCard = true;\r\n\r\n }\r\n else {\r\n this.noItems = true;\r\n }\r\n }\r\n });\r\n }\r\n\r\n handlePage(e) {\r\n this.pageSubject.next(e.pageIndex + 1);\r\n }\r\n\r\n openDescription(element: IMicroserviceInstance) {\r\n var dialogMessage = `
${element.description}
`;\r\n const dialogRef = this.dialog.open(RandomMessageComponent, {\r\n maxWidth: \"25rem\",\r\n minHeight: \"7rem\",\r\n data: dialogMessage\r\n });\r\n }\r\n\r\n addFilterComponent(event: FilterGridData) {\r\n //console.log('filter', event);\r\n if (event.value == null) {\r\n this.filterArray = this.filterArray.filter(x => x.propertyName != event.propertyName);\r\n }\r\n else {\r\n var existingFilter = this.filterArray.filter(x => x.propertyName == event.propertyName);\r\n\r\n if (existingFilter.length > 0) {\r\n this.filterArray = this.filterArray.filter(x => x.propertyName != event.propertyName);\r\n }\r\n\r\n this.filterArray.push(event);\r\n\r\n }\r\n\r\n this.page = 1;\r\n this.getMicroserviceInstances();\r\n\r\n }\r\n\r\n sortData(event) {\r\n this.sortDirection = event.direction;\r\n this.sortField = event.active;\r\n\r\n this.page = 1;\r\n\r\n //call again the load method;\r\n this.getMicroserviceInstances();\r\n }\r\n\r\n}\r\n\r\nexport class MicroserviceInstanceDatasource extends DataSource {\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { }\r\n}\r\n","\r\n \r\n
\r\n
\r\n

Microservices Monitor

\r\n
\r\n
\r\n \r\n Channel\r\n \r\n \r\n {{item.name}}\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n Status\r\n \r\n \r\n {{item.name}}\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n No data available.\r\n
\r\n\r\n\r\n\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
\r\n Microservice Name\r\n Microservice
Name
\r\n \r\n \r\n
\r\n {{element.name}}\r\n \r\n Ip Address\r\n Ip Address\r\n \r\n \r\n \r\n {{element.ipAddress}}\r\n \r\n Channel\r\n \r\n {{ element.channel }}\r\n \r\n Status\r\n \r\n {{ element.status }} *\r\n \r\n \r\n Last time action\r\n \r\n {{ element.lastActivityDate | date:'HH:mm:ss' }}\r\n Actions\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n","import { Component, Input } from '@angular/core';\r\nimport { IWhatsappContact } from '../../../core/interfaces/whatsapp/whatsapp-message-contacts-content';\r\nimport { WhatsappMessageInteractiveType } from '../../../core/interfaces/whatsapp/whatsapp-message-interactive-content';\r\nimport { WhatsappTemplateOtpButtonSubtype } from '../../../core/interfaces/whatsapp/whatsapp-template.interface';\r\n\r\n@Component({\r\n selector: 'app-phone-viewer',\r\n templateUrl: './phone-viewer.component.html',\r\n styleUrl: './phone-viewer.component.scss'\r\n})\r\nexport class PhoneViewerComponent {\r\n\r\n //should not be changed\r\n public width = 280;\r\n public maxWidth: number = 280;\r\n public maxHeight: number = 520;\r\n\r\n @Input() currentOption: any = null;\r\n\r\n public oneTapType: string = WhatsappTemplateOtpButtonSubtype.ONE_TAP;\r\n public copyCodeType: string = WhatsappTemplateOtpButtonSubtype.COPY_CODE;\r\n\r\n //contacts backdrop\r\n public isBackdropVisible: boolean = false;\r\n public isContactsModalVisible: boolean = false;\r\n public isBottomSheetVisible: boolean = false;\r\n\r\n public isInviteType: boolean = false;\r\n\r\n public currentContact: IWhatsappContact;\r\n\r\n //interactive types\r\n public interactiveListType = WhatsappMessageInteractiveType.List;\r\n public interactiveButtonsType = WhatsappMessageInteractiveType.Buttons;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n createBackdrop() {\r\n this.isBackdropVisible = true;\r\n }\r\n\r\n removeBackdrop() {\r\n this.isBackdropVisible = false;\r\n this.isContactsModalVisible = false;\r\n this.isBottomSheetVisible = false;\r\n }\r\n\r\n openContactsModal(isInvite: boolean, formattedName?: string) {\r\n this.createBackdrop();\r\n this.isContactsModalVisible = true;\r\n this.isInviteType = isInvite;\r\n\r\n if (isInvite && formattedName != null) {\r\n this.currentContact = this.currentOption.whatsappMessageContactsContent.contacts\r\n .find(x => x.name.formattedName == formattedName);\r\n }\r\n }\r\n\r\n openBottomSheet() {\r\n this.createBackdrop();\r\n this.isBottomSheetVisible = true;\r\n }\r\n\r\n}\r\n","
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
Invite {{currentContact.name.formattedName}} via
\r\n\r\n
\r\n
    \r\n
  • \r\n {{phoneObject.phone}}\r\n
  • \r\n
\r\n
\r\n\r\n
\r\n
    \r\n
  • \r\n {{emailObject.email}}\r\n
  • \r\n
\r\n
\r\n
\r\n \r\n
Create a new contact or add to an existing contact?
\r\n\r\n
\r\n Existing\r\n New\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{currentOption.whatsappMessageInteractiveContent.content.title}}\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
{{section.title}}
\r\n
\r\n
\r\n
{{row.title}}
\r\n
{{row.description}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
Tab to select an item
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \"Avatar\"\r\n
\r\n
\r\n Dillo\r\n online\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
{{currentOption.components.header.text}}
\r\n
\"header-img\"
\r\n
\"header-img\"
\r\n
\r\n \r\n
\r\n
\"header-img\"
\r\n
\"header-img\"
\r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n {{contact.name.formattedName}}\r\n \r\n\r\n
\r\n {{currentOption.unstructuredData.date | date:'h:mm a'}}\r\n
\r\n
\r\n \r\n
\r\n
Invite
\r\n
Add contact
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n {{currentOption.whatsappMessageInteractiveContent.content.header.content.text}}\r\n \r\n
\r\n\r\n
\r\n {{currentOption.whatsappMessageInteractiveContent.content.body.text}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {{currentOption.whatsappMessageInteractiveContent.content.title}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n {{currentOption.whatsappMessageInteractiveContent.content.body.text}}\r\n
\r\n
\r\n\r\n
\r\n
\r\n {{button.title}}\r\n
\r\n
\r\n\r\n
\r\n\r\n
{{currentOption.components.header.text}}
\r\n\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n 123456 is your verification code.\r\n \r\n For your security, do not share this code.\r\n \r\n \r\n
\r\n
{{currentOption.components.footer.text}}
\r\n\r\n
\r\n \r\n This code expires in {{currentOption.components.footer.codeExpirationMinutes}} minutes.\r\n \r\n
\r\n
\r\n\r\n
\r\n 0; else bodyText\">\r\n \r\n
\r\n
\r\n\r\n \r\n 123456 is your verification code.\r\n \r\n For your security, do not share this code.\r\n \r\n \r\n\r\n
{{currentOption.components.footer.text}}
\r\n\r\n
\r\n \r\n This code expires in {{currentOption.components.footer.codeExpirationMinutes}} minutes.\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
{{currentOption.components.footer.text}}
\r\n
\r\n
\r\n\r\n
0\">\r\n \r\n
\r\n {{currentOption.components.buttons[i].autofillText}}\r\n
\r\n
\r\n\r\n \r\n
\r\n {{currentOption.components.buttons[i].text}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
Type a message
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n","import { Component, OnInit, Inject } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'app-random-message',\r\n templateUrl: './random-message.component.html',\r\n styleUrls: ['./random-message.component.scss']\r\n})\r\nexport class RandomMessageComponent implements OnInit {\r\n\r\n public dialogMessage: string;\r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: string | null) {\r\n\r\n if (this.data == null) {\r\n return;\r\n }\r\n this.dialogMessage = data;\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n","import { DataSource } from '@angular/cdk/table';\r\nimport { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { IRequestTrace } from '../../../core/interfaces/logging/request-trace.interface';\r\n\r\n@Component({\r\n selector: 'app-request-trace-list',\r\n templateUrl: './request-trace-list.component.html',\r\n styleUrls: ['./request-trace-list.component.scss']\r\n})\r\nexport class RequestTraceListComponent implements OnInit {\r\n\r\n public dataSource: RequestTraceDataSource | null;\r\n\r\n public traceLogs: BehaviorSubject = new BehaviorSubject([]);\r\n\r\n public displayedColumns = ['createdOnUtc', 'applicationName', 'message'];\r\n\r\n public dataAvailable: boolean = true;\r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: IRequestTrace[] | null) {\r\n\r\n if (this.data == null || this.data.length == 0) {\r\n this.dataAvailable = false;\r\n return;\r\n }\r\n\r\n this.traceLogs.next(data);\r\n }\r\n\r\n ngOnInit() {\r\n this.dataSource = new RequestTraceDataSource(this.traceLogs);\r\n }\r\n\r\n close() {\r\n this.dialogRef.close();\r\n }\r\n\r\n}\r\n\r\nexport class RequestTraceDataSource extends DataSource{\r\n constructor(private subject: BehaviorSubject) {\r\n super();\r\n }\r\n\r\n connect(): Observable {\r\n return this.subject.asObservable();\r\n }\r\n\r\n disconnect() { }\r\n}\r\n","
\r\n

Trace logs

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
UTC Date\r\n {{element.createdOnUtc | date:'MMM d, y, h:mm:ss a':\"+0000\" }}\r\n ApplicationName\r\n
{{element.applicationName}}
\r\n
Message\r\n
{{element.message}}
\r\n
\r\n\r\n
\r\n

No information available!

\r\n
\r\n
\r\n","import { Component, OnInit, Inject } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'app-set-default-sender',\r\n templateUrl: './set-default-sender.component.html',\r\n styleUrls: ['./set-default-sender.component.scss']\r\n})\r\nexport class SetDefaultSenderComponent implements OnInit {\r\n\r\n constructor(private dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any | null) {\r\n if (data == null) {\r\n return;\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close({default: false})\r\n }\r\n\r\n setDefault() {\r\n this.dialogRef.close({default:true})\r\n }\r\n}\r\n","
\r\n There is already a sender that is default!\r\n
\r\n\r\n
\r\n Are you sure you want to set this sender as default?\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit, ChangeDetectionStrategy, Input } from '@angular/core';\r\nimport { trigger, transition, style, animate } from '@angular/animations';\r\n\r\nexport const slide = trigger('slide', [\r\n transition(':enter', [\r\n style({ transform: 'translateX(-100%)' }),\r\n animate('0.5s ease-in', style({ transform: 'translateX(0%)' }))\r\n ]),\r\n transition(':leave', [\r\n animate('0.5s ease-out', style({ transform: 'translateX(100%)' }))\r\n ])\r\n]);\r\n\r\n@Component({\r\n selector: 'app-slide-panel',\r\n templateUrl: './slide-panel.component.html',\r\n styleUrls: ['./slide-panel.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n animations: [slide]\r\n})\r\nexport class SlidePanelComponent implements OnInit {\r\n @Input() activePane: PaneType = 'left';\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\ntype PaneType = 'left' | 'right';\r\n\r\n","
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Inject } from '@angular/core';\r\nimport { MatDialogRef as MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'app-sms-voice-setting-dialog',\r\n templateUrl: './sms-voice-setting-dialog.component.html',\r\n styleUrls: ['./sms-voice-setting-dialog.component.scss']\r\n})\r\nexport class SmsVoiceSettingDialogComponent implements OnInit {\r\n\r\n public title: string;\r\n public content: string;\r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: any | null) {\r\n\r\n if (this.data == null) {\r\n return;\r\n }\r\n\r\n this.title = data.title;\r\n this.content = data.content;\r\n }\r\n\r\n ngOnInit() {\r\n \r\n }\r\n\r\n close() {\r\n this.dialogRef.close(false);\r\n }\r\n\r\n}\r\n","

{{title}}

\r\n\r\n
{{content | json }}
\r\n
\r\n\r\n \r\n\r\n","import { Time } from '@angular/common';\r\nimport { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { UntypedFormControl } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'app-time-picker',\r\n templateUrl: './time-picker.component.html',\r\n styleUrls: ['./time-picker.component.scss']\r\n})\r\nexport class TimePickerComponent implements OnInit {\r\n //selected time \r\n @Input() selectedTime: Time;\r\n @Input() minValue: Time = null;\r\n @Input() maxValue: Time = null;\r\n \r\n //time to be returned \r\n @Output() editedTime = new EventEmitter