@posiwise/smart-crm 0.0.19 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +22 -0
- package/ng-package.json +15 -0
- package/package.json +10 -23
- package/project.json +72 -0
- package/{index.d.ts → src/index.ts} +3 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.html +200 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.spec.ts +185 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.ts +238 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.html +200 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.spec.ts +109 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.ts +249 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.html +785 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.scss +123 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.spec.ts +388 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.ts +792 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.html +292 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.scss +63 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.spec.ts +145 -0
- package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.ts +417 -0
- package/src/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.html +1 -0
- package/src/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.spec.ts +17 -0
- package/src/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.ts +7 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.html +75 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.scss +3 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.spec.ts +123 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.ts +117 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.html +125 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.scss +5 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.spec.ts +136 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.ts +143 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.html +60 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.scss +1 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.spec.ts +55 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.ts +29 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component.html +95 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component.spec.ts +105 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component.ts +95 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.html +125 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.scss +3 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.spec.ts +132 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.ts +145 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.html +61 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.spec.ts +81 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.ts +88 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.html +96 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.scss +3 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.spec.ts +109 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.ts +129 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.html +108 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.scss +3 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.spec.ts +124 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.ts +111 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.html +134 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.scss +3 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.spec.ts +103 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.ts +166 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.html +90 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.scss +6 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.spec.ts +105 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.ts +118 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.html +115 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.spec.ts +93 -0
- package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.ts +150 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.html +205 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.spec.ts +149 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.ts +184 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.html +530 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.scss +112 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.spec.ts +284 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.ts +553 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.html +281 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.scss +19 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.spec.ts +138 -0
- package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.ts +344 -0
- package/src/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.html +1 -0
- package/src/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.spec.ts +18 -0
- package/src/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.ts +7 -0
- package/src/lib/private/components/smart-crm-insight/smart-crm-insight.component.html +27 -0
- package/src/lib/private/components/smart-crm-insight/smart-crm-insight.component.spec.ts +19 -0
- package/src/lib/private/components/smart-crm-insight/smart-crm-insight.component.ts +7 -0
- package/src/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.html +46 -0
- package/src/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.spec.ts +50 -0
- package/src/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.ts +60 -0
- package/src/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.html +142 -0
- package/src/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.spec.ts +125 -0
- package/src/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.ts +192 -0
- package/src/lib/private/components/smart-crm-leads/smart-crm-leads.component.html +176 -0
- package/src/lib/private/components/smart-crm-leads/smart-crm-leads.component.spec.ts +98 -0
- package/src/lib/private/components/smart-crm-leads/smart-crm-leads.component.ts +160 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.html +90 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.spec.ts +68 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.ts +98 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.html +322 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.spec.ts +156 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.ts +296 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.html +215 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.scss +3 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.spec.ts +117 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.ts +187 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.html +33 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.scss +82 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.spec.ts +63 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.ts +62 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.html +27 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.scss +3 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.spec.ts +28 -0
- package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.ts +13 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.html +75 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.scss +223 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.spec.ts +184 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.ts +268 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.html +273 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.scss +11 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.spec.ts +196 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.ts +391 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.html +489 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.scss +104 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.spec.ts +319 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.ts +568 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.html +204 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.scss +11 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.spec.ts +123 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.ts +260 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.html +25 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.scss +7 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.spec.ts +38 -0
- package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.ts +8 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.html +213 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.scss +73 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.spec.ts +147 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.ts +292 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.html +309 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.spec.ts +75 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.ts +161 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.html +25 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.scss +68 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.spec.ts +32 -0
- package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.ts +8 -0
- package/src/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.spec.ts +43 -0
- package/src/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.ts +97 -0
- package/src/lib/private/smart-crm-private.module.ts +188 -0
- package/src/lib/private/smart-crm-private.routing.module.ts +303 -0
- package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.html +27 -0
- package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.scss +4 -0
- package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.spec.ts +40 -0
- package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.ts +57 -0
- package/src/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.html +36 -0
- package/src/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.spec.ts +42 -0
- package/src/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.ts +57 -0
- package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.html +133 -0
- package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.scss +1 -0
- package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.spec.ts +37 -0
- package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.ts +41 -0
- package/src/lib/public/smart-crm-public.module.ts +30 -0
- package/src/lib/public/smart-crm-public.routing.module.ts +36 -0
- package/{lib/shared/interface/crm-account.interface.d.ts → src/lib/shared/interface/crm-account.interface.ts} +10 -3
- package/{lib/shared/interface/crm-action.interface.d.ts → src/lib/shared/interface/crm-action.interface.ts} +1 -0
- package/{lib/shared/interface/crm-contact.interface.d.ts → src/lib/shared/interface/crm-contact.interface.ts} +2 -0
- package/{lib/shared/interface/crm-lead.interface.d.ts → src/lib/shared/interface/crm-lead.interface.ts} +1 -0
- package/{lib/shared/interface/crm-newsletter.interface.d.ts → src/lib/shared/interface/crm-newsletter.interface.ts} +3 -1
- package/{lib/shared/interface/crm-opportunity.interface.d.ts → src/lib/shared/interface/crm-opportunity.interface.ts} +5 -0
- package/{lib/shared/interface/crm-source.interface.d.ts → src/lib/shared/interface/crm-source.interface.ts} +1 -0
- package/{lib/shared/interface/crm-stages.interface.d.ts → src/lib/shared/interface/crm-stages.interface.ts} +1 -0
- package/{lib/shared/interface/crm-widget.interface.d.ts → src/lib/shared/interface/crm-widget.interface.ts} +1 -0
- package/{lib/shared/interface/smart-crm-module.interface.d.ts → src/lib/shared/interface/smart-crm-module.interface.ts} +42 -1
- package/src/lib/shared/models/smart-crm.model.ts +199 -0
- package/src/lib/shared/routers/routers.ts +23 -0
- package/tsconfig.json +29 -0
- package/tsconfig.lib.json +25 -0
- package/tsconfig.lib.prod.json +9 -0
- package/tsconfig.spec.json +11 -0
- package/esm2022/index.mjs +0 -48
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.mjs +0 -194
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.mjs +0 -192
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.mjs +0 -589
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.mjs +0 -348
- package/esm2022/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.mjs +0 -12
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.mjs +0 -97
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.mjs +0 -118
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.mjs +0 -35
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component.mjs +0 -87
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.mjs +0 -119
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.mjs +0 -79
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.mjs +0 -107
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.mjs +0 -96
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.mjs +0 -139
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.mjs +0 -98
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.mjs +0 -125
- package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.mjs +0 -159
- package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.mjs +0 -465
- package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.mjs +0 -281
- package/esm2022/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.mjs +0 -12
- package/esm2022/lib/private/components/smart-crm-insight/smart-crm-insight.component.mjs +0 -14
- package/esm2022/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.mjs +0 -55
- package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.mjs +0 -173
- package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads.component.mjs +0 -136
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.mjs +0 -79
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.mjs +0 -266
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.mjs +0 -151
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.mjs +0 -51
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.mjs +0 -18
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.mjs +0 -230
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.mjs +0 -317
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.mjs +0 -477
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.mjs +0 -218
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.mjs +0 -14
- package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.mjs +0 -255
- package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.mjs +0 -148
- package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary.component.mjs +0 -16
- package/esm2022/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.mjs +0 -92
- package/esm2022/lib/private/smart-crm-private.module.mjs +0 -327
- package/esm2022/lib/private/smart-crm-private.routing.module.mjs +0 -310
- package/esm2022/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.mjs +0 -56
- package/esm2022/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.mjs +0 -57
- package/esm2022/lib/public/components/smart-crm-signup/smart-crm-signup.component.mjs +0 -35
- package/esm2022/lib/public/smart-crm-public.module.mjs +0 -46
- package/esm2022/lib/public/smart-crm-public.routing.module.mjs +0 -44
- package/esm2022/lib/shared/interface/crm-account.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-action.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-contact.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-lead.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-newsletter.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-opportunity.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-source.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-stages.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/crm-widget.interface.mjs +0 -2
- package/esm2022/lib/shared/interface/smart-crm-module.interface.mjs +0 -2
- package/esm2022/lib/shared/models/smart-crm.model.mjs +0 -186
- package/esm2022/lib/shared/routers/routers.mjs +0 -23
- package/esm2022/posiwise-smart-crm.mjs +0 -5
- package/fesm2022/posiwise-smart-crm.mjs +0 -6449
- package/fesm2022/posiwise-smart-crm.mjs.map +0 -1
- package/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.d.ts +0 -61
- package/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.d.ts +0 -72
- package/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.d.ts +0 -172
- package/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.d.ts +0 -105
- package/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.d.ts +0 -5
- package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.d.ts +0 -37
- package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.d.ts +0 -55
- package/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.d.ts +0 -11
- package/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component.d.ts +0 -31
- package/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.d.ts +0 -56
- package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.d.ts +0 -28
- package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.d.ts +0 -52
- package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.d.ts +0 -34
- package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.d.ts +0 -58
- package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.d.ts +0 -36
- package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.d.ts +0 -58
- package/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.d.ts +0 -48
- package/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.d.ts +0 -121
- package/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.d.ts +0 -89
- package/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.d.ts +0 -5
- package/lib/private/components/smart-crm-insight/smart-crm-insight.component.d.ts +0 -5
- package/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.d.ts +0 -20
- package/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.d.ts +0 -45
- package/lib/private/components/smart-crm-leads/smart-crm-leads.component.d.ts +0 -58
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.d.ts +0 -49
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.d.ts +0 -63
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.d.ts +0 -62
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.d.ts +0 -21
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.d.ts +0 -8
- package/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.d.ts +0 -63
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.d.ts +0 -66
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.d.ts +0 -122
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.d.ts +0 -77
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.d.ts +0 -5
- package/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.d.ts +0 -72
- package/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.d.ts +0 -40
- package/lib/private/components/smart-crm-summary/smart-crm-summary.component.d.ts +0 -5
- package/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.d.ts +0 -10
- package/lib/private/smart-crm-private.module.d.ts +0 -62
- package/lib/private/smart-crm-private.routing.module.d.ts +0 -7
- package/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.d.ts +0 -18
- package/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.d.ts +0 -17
- package/lib/public/components/smart-crm-signup/smart-crm-signup.component.d.ts +0 -15
- package/lib/public/smart-crm-public.module.d.ts +0 -14
- package/lib/public/smart-crm-public.routing.module.d.ts +0 -7
- package/lib/shared/models/smart-crm.model.d.ts +0 -16
- package/lib/shared/routers/routers.d.ts +0 -21
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
<div class="container-fluid register">
|
|
2
|
+
<div class="register-container row h-100">
|
|
3
|
+
<div class="col-8 col-xl-9 col-md-7 col-lg-8 register-outer">
|
|
4
|
+
<h1 class="my-5">
|
|
5
|
+
Not just a CRM <br />
|
|
6
|
+
but
|
|
7
|
+
<span data-period="3000"
|
|
8
|
+
class="txt-rotate"
|
|
9
|
+
[attr.data-rotate]="[
|
|
10
|
+
'Qualified Leads',
|
|
11
|
+
'New Prospects',
|
|
12
|
+
'New Business Opportunities'
|
|
13
|
+
]"></span>
|
|
14
|
+
<span class="blinking-cursor">|</span>
|
|
15
|
+
<br />regularly delivered to you
|
|
16
|
+
</h1>
|
|
17
|
+
|
|
18
|
+
<h3 class="my-5">
|
|
19
|
+
We use growth hacking tools - mainly crawlers and machine learning - to automate the
|
|
20
|
+
sourcing of new prospect lists.
|
|
21
|
+
</h3>
|
|
22
|
+
|
|
23
|
+
<div class="row services">
|
|
24
|
+
<div class="col-lg-6 col-md-12 service-desc service-image">
|
|
25
|
+
<figure>
|
|
26
|
+
<img src="/assets/img/products/smart-crm/crm-effective-solution.png"
|
|
27
|
+
alt="Effective Solution"
|
|
28
|
+
class="img-fluid" />
|
|
29
|
+
</figure>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-lg-6 col-md-12 service-desc product-features text-start">
|
|
32
|
+
<h2><span>A More Effective</span> solution to increase your sales funnel.</h2>
|
|
33
|
+
<p>Our proprietary technology automates the sourcing of new leads.</p>
|
|
34
|
+
|
|
35
|
+
<ul class="list-unstyled">
|
|
36
|
+
<li>
|
|
37
|
+
<span class="icon-check branding-color"></span> Stop wasting time
|
|
38
|
+
searching for new prospects. Let us automate the process instead.
|
|
39
|
+
</li>
|
|
40
|
+
<li>
|
|
41
|
+
<span class="icon-check branding-color"></span> We provide all you need
|
|
42
|
+
to contact prospects effectively.
|
|
43
|
+
</li>
|
|
44
|
+
<li>
|
|
45
|
+
<span class="icon-check branding-color"></span> Focus on what's really
|
|
46
|
+
important - talking to your clients.
|
|
47
|
+
</li>
|
|
48
|
+
</ul>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
<div class="row services">
|
|
53
|
+
<div class="col-lg-6 col-md-12 service-desc product-features text-start">
|
|
54
|
+
<h2>The full power of <span>Machine Learning</span>.</h2>
|
|
55
|
+
<p>
|
|
56
|
+
We have built a system that is able to understand when a prospect is most
|
|
57
|
+
likely to be looking for new vendors.
|
|
58
|
+
</p>
|
|
59
|
+
<ul class="list-unstyled">
|
|
60
|
+
<li>
|
|
61
|
+
<span class="icon-check branding-color"></span> Don't waste time. Reach
|
|
62
|
+
out to prospects at exactly the right moment.
|
|
63
|
+
</li>
|
|
64
|
+
<li>
|
|
65
|
+
<span class="icon-check branding-color"></span> Let us tell you the most
|
|
66
|
+
efficient way to engage in conversation with your prospect.
|
|
67
|
+
</li>
|
|
68
|
+
<li>
|
|
69
|
+
<span class="icon-check branding-color"></span> Maximize the chances to
|
|
70
|
+
convert the prospect into a paying customer.
|
|
71
|
+
</li>
|
|
72
|
+
</ul>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="col-lg-6 col-md-12 service-image">
|
|
75
|
+
<figure>
|
|
76
|
+
<img src="/assets/img/products/smart-crm/crm-machine-learning.png"
|
|
77
|
+
alt="Machine Learning"
|
|
78
|
+
class="img-fluid" />
|
|
79
|
+
</figure>
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
|
|
84
|
+
<div class="register-right-wrapper">
|
|
85
|
+
<div class="register-right">
|
|
86
|
+
<ul class="nav nav-tabs nav-justified"
|
|
87
|
+
role="tablist">
|
|
88
|
+
<li class="nav-item">
|
|
89
|
+
<a class="nav-link active"
|
|
90
|
+
id="login-tab"
|
|
91
|
+
data-bs-toggle="tab"
|
|
92
|
+
href="#login"
|
|
93
|
+
role="tab"
|
|
94
|
+
aria-controls="login"
|
|
95
|
+
aria-selected="true">Login</a>
|
|
96
|
+
</li>
|
|
97
|
+
<li class="nav-item">
|
|
98
|
+
<a class="nav-link"
|
|
99
|
+
id="join-tab"
|
|
100
|
+
data-bs-toggle="tab"
|
|
101
|
+
href="#join"
|
|
102
|
+
role="tab"
|
|
103
|
+
aria-controls="join"
|
|
104
|
+
aria-selected="false">Interested?</a>
|
|
105
|
+
</li>
|
|
106
|
+
</ul>
|
|
107
|
+
|
|
108
|
+
<div class="tab-content social-inline">
|
|
109
|
+
<div class="tab-pane fade show"
|
|
110
|
+
id="join"
|
|
111
|
+
role="tabpanel"
|
|
112
|
+
aria-labelledby="join-tab">
|
|
113
|
+
<h3>
|
|
114
|
+
Contact us for a demo.<br />
|
|
115
|
+
It's worth more than a 1000 words.
|
|
116
|
+
</h3>
|
|
117
|
+
<pw-contact-us [masterProductId]="masterProductId"
|
|
118
|
+
[productKey]="productKey"
|
|
119
|
+
[subject]="subject"></pw-contact-us>
|
|
120
|
+
</div>
|
|
121
|
+
|
|
122
|
+
<div class="tab-pane fade show active"
|
|
123
|
+
id="login"
|
|
124
|
+
role="tabpanel"
|
|
125
|
+
aria-labelledby="login-tab">
|
|
126
|
+
<h3>Welcome back</h3>
|
|
127
|
+
<pw-login></pw-login>
|
|
128
|
+
</div>
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import 'common/landing-page-a/landing-page-style-1';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { AuthService, CommonServicesModule, ProductService } from '@posiwise/common-services';
|
|
2
|
+
import { HelperService } from '@posiwise/helper-service';
|
|
3
|
+
import { SharedModule } from '@posiwise/shared-module';
|
|
4
|
+
import { TestHelper } from '@posiwise/test-helpers';
|
|
5
|
+
import { MockProvider } from 'ng-mocks';
|
|
6
|
+
import { EMPTY, of } from 'rxjs';
|
|
7
|
+
import { CRMPublicModule } from '../../smart-crm-public.module';
|
|
8
|
+
import { CrmSignupComponent } from './smart-crm-signup.component';
|
|
9
|
+
|
|
10
|
+
describe('CrmSignupComponent', () => {
|
|
11
|
+
const createComponent = TestHelper.createComponentFactory({
|
|
12
|
+
component: CrmSignupComponent,
|
|
13
|
+
imports: [CommonServicesModule, CRMPublicModule, SharedModule],
|
|
14
|
+
providers: [
|
|
15
|
+
MockProvider(AuthService, {
|
|
16
|
+
getToken$: () => EMPTY
|
|
17
|
+
}),
|
|
18
|
+
MockProvider(ProductService, {
|
|
19
|
+
getProducts: () =>
|
|
20
|
+
of({
|
|
21
|
+
products: [],
|
|
22
|
+
object_count: 0,
|
|
23
|
+
unfiltered_count: 0
|
|
24
|
+
})
|
|
25
|
+
})
|
|
26
|
+
]
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
beforeEach(() => {
|
|
30
|
+
spyOn(HelperService, 'changeTitleText').and.returnValue();
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
it('should create', async () => {
|
|
34
|
+
const spectator = await createComponent();
|
|
35
|
+
expect(spectator.component).toBeTruthy();
|
|
36
|
+
});
|
|
37
|
+
});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Component, Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { CRM_KEYS } from '@posiwise/smart-crm-shared';
|
|
3
|
+
|
|
4
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
+
import { AuthService } from '@posiwise/common-services';
|
|
6
|
+
|
|
7
|
+
@Component({
|
|
8
|
+
selector: 'pw-crm-signup',
|
|
9
|
+
templateUrl: './smart-crm-signup.component.html',
|
|
10
|
+
styleUrls: ['./smart-crm-signup.component.scss']
|
|
11
|
+
})
|
|
12
|
+
export class CrmSignupComponent extends AppBaseComponent implements OnInit {
|
|
13
|
+
subject: string;
|
|
14
|
+
|
|
15
|
+
productKey = CRM_KEYS.CRM_Yearly;
|
|
16
|
+
|
|
17
|
+
masterProductId = this.appConfig.master_subscription.product_id;
|
|
18
|
+
|
|
19
|
+
constructor(
|
|
20
|
+
private authService: AuthService,
|
|
21
|
+
injector: Injector
|
|
22
|
+
) {
|
|
23
|
+
super(injector);
|
|
24
|
+
this.subject = 'SmartCRM Product Contact Request';
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
ngOnInit() {
|
|
28
|
+
// Redirect user to the home if its already logged in
|
|
29
|
+
this.authService.getToken$().subscribe(tok => {
|
|
30
|
+
if (tok && typeof tok === 'string') {
|
|
31
|
+
this.router.navigate(['home']);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
this.scrollableLeft();
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
private scrollableLeft() {
|
|
39
|
+
$('.register').css('opacity', 1);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { TRANSLOCO_SCOPE, TranslocoModule } from '@jsverse/transloco';
|
|
3
|
+
import { CrmNewsletterConfirmationComponent } from './components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component';
|
|
4
|
+
import { CrmNewsletterUnsubscribeComponent } from './components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component';
|
|
5
|
+
import { CrmSignupComponent } from './components/smart-crm-signup/smart-crm-signup.component';
|
|
6
|
+
import { CrmPublicRoutingModule } from './smart-crm-public.routing.module';
|
|
7
|
+
|
|
8
|
+
import { ProductsShared } from '@posiwise/shared-product-components';
|
|
9
|
+
import { LayoutsModule } from '@posiwise/layouts';
|
|
10
|
+
import { CommonModule } from '@angular/common';
|
|
11
|
+
|
|
12
|
+
@NgModule({
|
|
13
|
+
imports: [CrmPublicRoutingModule, ProductsShared, LayoutsModule, TranslocoModule, CommonModule],
|
|
14
|
+
providers: [
|
|
15
|
+
{
|
|
16
|
+
provide: TRANSLOCO_SCOPE,
|
|
17
|
+
useValue: {
|
|
18
|
+
scope: 'smart-crm',
|
|
19
|
+
alias: 'Crm'
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
|
|
24
|
+
declarations: [
|
|
25
|
+
CrmSignupComponent,
|
|
26
|
+
CrmNewsletterUnsubscribeComponent,
|
|
27
|
+
CrmNewsletterConfirmationComponent
|
|
28
|
+
]
|
|
29
|
+
})
|
|
30
|
+
export class CRMPublicModule {}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { RouterModule, Routes } from '@angular/router';
|
|
3
|
+
import { CrmNewsletterConfirmationComponent } from './components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component';
|
|
4
|
+
import { CrmNewsletterUnsubscribeComponent } from './components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component';
|
|
5
|
+
import { CrmSignupComponent } from './components/smart-crm-signup/smart-crm-signup.component';
|
|
6
|
+
|
|
7
|
+
// These are the public routes. The public routes and modules needs to be defined in public.routes.ts
|
|
8
|
+
const routes: Routes = [
|
|
9
|
+
{
|
|
10
|
+
path: '',
|
|
11
|
+
component: CrmSignupComponent,
|
|
12
|
+
data: {
|
|
13
|
+
title: 'Not just a CRM. We provide you with qualified leads.'
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
path: 'crm-newsletter-unsubscribe',
|
|
18
|
+
component: CrmNewsletterUnsubscribeComponent,
|
|
19
|
+
data: {
|
|
20
|
+
title: 'CRM Unsubscribe Newsletter'
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
path: 'crm-newsletter-confirmation',
|
|
25
|
+
component: CrmNewsletterConfirmationComponent,
|
|
26
|
+
data: {
|
|
27
|
+
title: 'CRM Newsletter Confirmation'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
];
|
|
31
|
+
|
|
32
|
+
@NgModule({
|
|
33
|
+
imports: [RouterModule.forChild(routes)],
|
|
34
|
+
exports: [RouterModule]
|
|
35
|
+
})
|
|
36
|
+
export class CrmPublicRoutingModule {}
|
|
@@ -4,8 +4,8 @@ export interface CrmAccount {
|
|
|
4
4
|
description: string;
|
|
5
5
|
subscription_id: number;
|
|
6
6
|
location: string;
|
|
7
|
-
latitude: number;
|
|
8
|
-
longitude: number;
|
|
7
|
+
latitude: number; // Assuming latitude and longitude are numbers
|
|
8
|
+
longitude: number; // Adjust if they are strings
|
|
9
9
|
comment: string;
|
|
10
10
|
tel: string;
|
|
11
11
|
country: string;
|
|
@@ -22,26 +22,33 @@ export interface CrmAccount {
|
|
|
22
22
|
organisation_type: OrganisationType;
|
|
23
23
|
organisation_industry: OrganisationIndustry;
|
|
24
24
|
}
|
|
25
|
+
|
|
25
26
|
interface OrganisationSize {
|
|
26
27
|
id: number;
|
|
27
28
|
size: string;
|
|
29
|
+
// Add other relevant fields if needed
|
|
28
30
|
}
|
|
31
|
+
|
|
29
32
|
interface OrganisationType {
|
|
30
33
|
id: number;
|
|
31
34
|
type: string;
|
|
35
|
+
// Add other relevant fields if needed
|
|
32
36
|
}
|
|
37
|
+
|
|
33
38
|
interface OrganisationIndustry {
|
|
34
39
|
id: number;
|
|
35
40
|
industry: string;
|
|
41
|
+
// Add other relevant fields if needed
|
|
36
42
|
}
|
|
43
|
+
|
|
37
44
|
interface Owner {
|
|
38
45
|
id: number;
|
|
39
46
|
name: string;
|
|
40
47
|
email: string;
|
|
41
48
|
}
|
|
49
|
+
|
|
42
50
|
export interface CrmAccountResponse {
|
|
43
51
|
accounts: CrmAccount[];
|
|
44
52
|
object_count: number;
|
|
45
53
|
unfiltered_count: number;
|
|
46
54
|
}
|
|
47
|
-
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CrmAccount } from './crm-account.interface';
|
|
2
|
+
|
|
2
3
|
export interface CrmContact {
|
|
3
4
|
id: number;
|
|
4
5
|
first_name: string;
|
|
@@ -22,6 +23,7 @@ export interface CrmContact {
|
|
|
22
23
|
owner: string;
|
|
23
24
|
crm_account: CrmAccount;
|
|
24
25
|
}
|
|
26
|
+
|
|
25
27
|
export interface CrmContactResponse {
|
|
26
28
|
contacts: CrmContact[];
|
|
27
29
|
object_count: number;
|
|
@@ -24,11 +24,13 @@ export interface CrmNewsLetter {
|
|
|
24
24
|
can_reply: boolean;
|
|
25
25
|
only_new_contacts: boolean;
|
|
26
26
|
}
|
|
27
|
+
|
|
27
28
|
export interface CrmNewsLetterResponse {
|
|
28
29
|
crm_newsletters: CrmNewsLetter[];
|
|
29
30
|
object_count: number;
|
|
30
31
|
unfiltered_count: number;
|
|
31
32
|
}
|
|
33
|
+
|
|
32
34
|
interface NewsLetterContact {
|
|
33
35
|
id: number;
|
|
34
36
|
first_name: string;
|
|
@@ -51,9 +53,9 @@ interface NewsLetterContact {
|
|
|
51
53
|
newsletter_subscribed: boolean;
|
|
52
54
|
message_insight: string;
|
|
53
55
|
}
|
|
56
|
+
|
|
54
57
|
export interface NewsLetterContactResponse {
|
|
55
58
|
newsletter_contacts: NewsLetterContact[];
|
|
56
59
|
object_count: number;
|
|
57
60
|
unfiltered_count: number;
|
|
58
61
|
}
|
|
59
|
-
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CrmAccount } from './crm-account.interface';
|
|
2
2
|
import { CrmStage } from './crm-stages.interface';
|
|
3
|
+
|
|
3
4
|
export interface CrmOpportunityCategory {
|
|
4
5
|
id: number;
|
|
5
6
|
subscription_id: number;
|
|
@@ -9,11 +10,13 @@ export interface CrmOpportunityCategory {
|
|
|
9
10
|
is_default: boolean;
|
|
10
11
|
previous_category: string;
|
|
11
12
|
}
|
|
13
|
+
|
|
12
14
|
export interface CrmOpportunityCategoryResponse {
|
|
13
15
|
crm_opportunity_categories: CrmOpportunityCategory[];
|
|
14
16
|
object_count: number;
|
|
15
17
|
unfiltered_count: number;
|
|
16
18
|
}
|
|
19
|
+
|
|
17
20
|
export interface CrmOpportunity {
|
|
18
21
|
id: number;
|
|
19
22
|
title: string;
|
|
@@ -39,11 +42,13 @@ export interface CrmOpportunity {
|
|
|
39
42
|
owner: string[];
|
|
40
43
|
crm_opportunity_categories: string[];
|
|
41
44
|
}
|
|
45
|
+
|
|
42
46
|
export interface CrmOpportunityResponse {
|
|
43
47
|
crm_opportunities: CrmOpportunity[];
|
|
44
48
|
object_count: number;
|
|
45
49
|
unfiltered_count: number;
|
|
46
50
|
}
|
|
51
|
+
|
|
47
52
|
export interface CrmVersion {
|
|
48
53
|
item_id: number;
|
|
49
54
|
item_type: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// Interface for the data property
|
|
1
2
|
export interface OpportunityData {
|
|
2
3
|
crm_contact_id?: number;
|
|
3
4
|
crm_contact?: {
|
|
@@ -15,6 +16,8 @@ export interface OpportunityData {
|
|
|
15
16
|
one_time_amount?: number;
|
|
16
17
|
id: number;
|
|
17
18
|
}
|
|
19
|
+
|
|
20
|
+
// Interface for comments
|
|
18
21
|
export interface OpportunityComment {
|
|
19
22
|
id: number;
|
|
20
23
|
when: string;
|
|
@@ -29,6 +32,8 @@ export interface OpportunityComment {
|
|
|
29
32
|
month?: string;
|
|
30
33
|
first_name: string;
|
|
31
34
|
}
|
|
35
|
+
|
|
36
|
+
// Interface for contacts
|
|
32
37
|
export interface OpportunityContact {
|
|
33
38
|
id: number;
|
|
34
39
|
first_name: string;
|
|
@@ -36,28 +41,38 @@ export interface OpportunityContact {
|
|
|
36
41
|
email: string;
|
|
37
42
|
displayName?: string;
|
|
38
43
|
}
|
|
44
|
+
|
|
45
|
+
// Interface for action
|
|
39
46
|
export interface CrmAction {
|
|
40
47
|
id: number;
|
|
41
48
|
visible: boolean;
|
|
42
49
|
}
|
|
50
|
+
|
|
51
|
+
// Interface for versioning
|
|
43
52
|
export interface CrmVersion {
|
|
44
53
|
id: number;
|
|
45
54
|
name: string;
|
|
46
55
|
version: string;
|
|
47
56
|
}
|
|
57
|
+
|
|
58
|
+
// Interface for filtered data
|
|
48
59
|
export interface FilteredData {
|
|
49
60
|
id: number;
|
|
50
61
|
name: string;
|
|
51
62
|
}
|
|
63
|
+
|
|
64
|
+
// Interface for user subscription
|
|
52
65
|
export interface Subscription {
|
|
53
66
|
id: number;
|
|
54
67
|
[key: string]: number;
|
|
55
68
|
}
|
|
69
|
+
|
|
56
70
|
export interface OpportunityInsight {
|
|
57
71
|
title: string;
|
|
58
72
|
value: string;
|
|
59
73
|
reason: number;
|
|
60
74
|
}
|
|
75
|
+
|
|
61
76
|
export interface SmartCrmContact {
|
|
62
77
|
id: number;
|
|
63
78
|
first_name: string;
|
|
@@ -66,10 +81,12 @@ export interface SmartCrmContact {
|
|
|
66
81
|
displayName: string;
|
|
67
82
|
crm_account?: CrmAccount;
|
|
68
83
|
}
|
|
84
|
+
|
|
69
85
|
export interface CrmAccount {
|
|
70
86
|
id: number;
|
|
71
87
|
name: string;
|
|
72
88
|
}
|
|
89
|
+
|
|
73
90
|
export interface CrmopportunityContact {
|
|
74
91
|
id: number;
|
|
75
92
|
first_name: string;
|
|
@@ -79,6 +96,7 @@ export interface CrmopportunityContact {
|
|
|
79
96
|
crm_account_id: number;
|
|
80
97
|
displayName: string;
|
|
81
98
|
}
|
|
99
|
+
|
|
82
100
|
export interface CrmOpportunityData {
|
|
83
101
|
id: number;
|
|
84
102
|
starting_at: string;
|
|
@@ -89,58 +107,76 @@ export interface CrmOpportunityData {
|
|
|
89
107
|
crm_account_id: number;
|
|
90
108
|
stage: string;
|
|
91
109
|
}
|
|
110
|
+
|
|
92
111
|
export interface OpportunityStage {
|
|
93
112
|
id: number;
|
|
94
113
|
name: string;
|
|
95
114
|
crm_opportunity_category_ids: number[];
|
|
96
115
|
}
|
|
116
|
+
|
|
97
117
|
export interface OpportunityCategory {
|
|
98
118
|
label: string;
|
|
99
119
|
value: number;
|
|
100
120
|
}
|
|
121
|
+
|
|
101
122
|
export interface FeatureKey {
|
|
102
123
|
label: string;
|
|
103
124
|
value: string;
|
|
104
125
|
}
|
|
126
|
+
|
|
127
|
+
// Define interfaces in separate files or within the same file for simplicity
|
|
128
|
+
|
|
105
129
|
export interface SubscriptionMember {
|
|
106
130
|
id: number;
|
|
107
131
|
first_name: string;
|
|
132
|
+
// add other relevant properties
|
|
108
133
|
}
|
|
134
|
+
|
|
109
135
|
export interface OrganizationType {
|
|
110
136
|
id: number;
|
|
111
137
|
name: string;
|
|
112
138
|
}
|
|
139
|
+
|
|
113
140
|
export interface OrganizationSize {
|
|
114
141
|
id: number;
|
|
115
142
|
size: string;
|
|
116
143
|
}
|
|
144
|
+
|
|
117
145
|
export interface OrganizationIndustry {
|
|
118
146
|
id: number;
|
|
119
147
|
industry: string;
|
|
120
148
|
}
|
|
149
|
+
|
|
121
150
|
export interface AccountResponse {
|
|
122
151
|
id: number;
|
|
123
|
-
status: string[];
|
|
152
|
+
status: string[]; // Define more detailed types if known
|
|
124
153
|
priority: string[];
|
|
125
154
|
source: string[];
|
|
155
|
+
// add other relevant properties
|
|
126
156
|
}
|
|
157
|
+
|
|
127
158
|
export interface AccountDetailResponse {
|
|
128
159
|
id: number;
|
|
129
160
|
owner_id: number;
|
|
130
161
|
country: string;
|
|
162
|
+
// add other relevant properties
|
|
131
163
|
}
|
|
164
|
+
|
|
132
165
|
export interface OrganizationIndustry {
|
|
133
166
|
id: number;
|
|
134
167
|
name: string;
|
|
135
168
|
}
|
|
169
|
+
|
|
136
170
|
export interface OrganizationSize {
|
|
137
171
|
id: number;
|
|
138
172
|
size: string;
|
|
139
173
|
}
|
|
174
|
+
|
|
140
175
|
export interface OrganizationType {
|
|
141
176
|
id: number;
|
|
142
177
|
name: string;
|
|
143
178
|
}
|
|
179
|
+
|
|
144
180
|
export interface SmartCrmAction {
|
|
145
181
|
id: number;
|
|
146
182
|
comment: string;
|
|
@@ -151,16 +187,20 @@ export interface SmartCrmAction {
|
|
|
151
187
|
owner_id: number;
|
|
152
188
|
visible: boolean | null;
|
|
153
189
|
}
|
|
190
|
+
|
|
154
191
|
export interface CrmOwner {
|
|
155
192
|
id: number;
|
|
156
193
|
first_name: string;
|
|
157
194
|
last_name: string;
|
|
158
195
|
email: string;
|
|
159
196
|
displayName?: string;
|
|
197
|
+
// Other properties of Owner
|
|
160
198
|
}
|
|
199
|
+
|
|
161
200
|
export interface FilteredCrmComment {
|
|
162
201
|
first_name?: string;
|
|
163
202
|
}
|
|
203
|
+
|
|
164
204
|
export interface UserAccount {
|
|
165
205
|
signed_up_at: string | null;
|
|
166
206
|
unsubscribed_at: string | null;
|
|
@@ -173,6 +213,7 @@ export interface ContactAccountData {
|
|
|
173
213
|
tel?: string;
|
|
174
214
|
company_url?: string;
|
|
175
215
|
}
|
|
216
|
+
|
|
176
217
|
export interface TestContainerModel<T> {
|
|
177
218
|
id: string;
|
|
178
219
|
data: T[];
|