@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.
Files changed (279) hide show
  1. package/.eslintrc.json +22 -0
  2. package/ng-package.json +15 -0
  3. package/package.json +10 -23
  4. package/project.json +72 -0
  5. package/{index.d.ts → src/index.ts} +3 -0
  6. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.html +200 -0
  7. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.spec.ts +185 -0
  8. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.ts +238 -0
  9. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.html +200 -0
  10. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.spec.ts +109 -0
  11. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.ts +249 -0
  12. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.html +785 -0
  13. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.scss +123 -0
  14. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.spec.ts +388 -0
  15. package/src/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.ts +792 -0
  16. package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.html +292 -0
  17. package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.scss +63 -0
  18. package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.spec.ts +145 -0
  19. package/src/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.ts +417 -0
  20. package/src/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.html +1 -0
  21. package/src/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.spec.ts +17 -0
  22. package/src/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.ts +7 -0
  23. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.html +75 -0
  24. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.scss +3 -0
  25. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.spec.ts +123 -0
  26. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.ts +117 -0
  27. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.html +125 -0
  28. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.scss +5 -0
  29. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.spec.ts +136 -0
  30. package/src/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.ts +143 -0
  31. package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.html +60 -0
  32. package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.scss +1 -0
  33. package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.spec.ts +55 -0
  34. package/src/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.ts +29 -0
  35. 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
  36. 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
  37. 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
  38. package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.html +125 -0
  39. package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.scss +3 -0
  40. package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.spec.ts +132 -0
  41. package/src/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.ts +145 -0
  42. package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.html +61 -0
  43. package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.spec.ts +81 -0
  44. package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.ts +88 -0
  45. package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.html +96 -0
  46. package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.scss +3 -0
  47. package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.spec.ts +109 -0
  48. package/src/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.ts +129 -0
  49. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.html +108 -0
  50. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.scss +3 -0
  51. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.spec.ts +124 -0
  52. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.ts +111 -0
  53. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.html +134 -0
  54. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.scss +3 -0
  55. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.spec.ts +103 -0
  56. package/src/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.ts +166 -0
  57. package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.html +90 -0
  58. package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.scss +6 -0
  59. package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.spec.ts +105 -0
  60. package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.ts +118 -0
  61. package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.html +115 -0
  62. package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.spec.ts +93 -0
  63. package/src/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.ts +150 -0
  64. package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.html +205 -0
  65. package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.spec.ts +149 -0
  66. package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.ts +184 -0
  67. package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.html +530 -0
  68. package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.scss +112 -0
  69. package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.spec.ts +284 -0
  70. package/src/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.ts +553 -0
  71. package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.html +281 -0
  72. package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.scss +19 -0
  73. package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.spec.ts +138 -0
  74. package/src/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.ts +344 -0
  75. package/src/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.html +1 -0
  76. package/src/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.spec.ts +18 -0
  77. package/src/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.ts +7 -0
  78. package/src/lib/private/components/smart-crm-insight/smart-crm-insight.component.html +27 -0
  79. package/src/lib/private/components/smart-crm-insight/smart-crm-insight.component.spec.ts +19 -0
  80. package/src/lib/private/components/smart-crm-insight/smart-crm-insight.component.ts +7 -0
  81. package/src/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.html +46 -0
  82. package/src/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.spec.ts +50 -0
  83. package/src/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.ts +60 -0
  84. package/src/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.html +142 -0
  85. package/src/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.spec.ts +125 -0
  86. package/src/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.ts +192 -0
  87. package/src/lib/private/components/smart-crm-leads/smart-crm-leads.component.html +176 -0
  88. package/src/lib/private/components/smart-crm-leads/smart-crm-leads.component.spec.ts +98 -0
  89. package/src/lib/private/components/smart-crm-leads/smart-crm-leads.component.ts +160 -0
  90. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.html +90 -0
  91. 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
  92. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.ts +98 -0
  93. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.html +322 -0
  94. 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
  95. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.ts +296 -0
  96. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.html +215 -0
  97. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.scss +3 -0
  98. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.spec.ts +117 -0
  99. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.ts +187 -0
  100. 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
  101. 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
  102. 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
  103. 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
  104. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.html +27 -0
  105. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.scss +3 -0
  106. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.spec.ts +28 -0
  107. package/src/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.ts +13 -0
  108. package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.html +75 -0
  109. package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.scss +223 -0
  110. package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.spec.ts +184 -0
  111. package/src/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.ts +268 -0
  112. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.html +273 -0
  113. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.scss +11 -0
  114. 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
  115. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.ts +391 -0
  116. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.html +489 -0
  117. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.scss +104 -0
  118. 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
  119. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.ts +568 -0
  120. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.html +204 -0
  121. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.scss +11 -0
  122. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.spec.ts +123 -0
  123. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.ts +260 -0
  124. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.html +25 -0
  125. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.scss +7 -0
  126. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.spec.ts +38 -0
  127. package/src/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.ts +8 -0
  128. package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.html +213 -0
  129. package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.scss +73 -0
  130. package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.spec.ts +147 -0
  131. package/src/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.ts +292 -0
  132. package/src/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.html +309 -0
  133. package/src/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.spec.ts +75 -0
  134. package/src/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.ts +161 -0
  135. package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.html +25 -0
  136. package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.scss +68 -0
  137. package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.spec.ts +32 -0
  138. package/src/lib/private/components/smart-crm-summary/smart-crm-summary.component.ts +8 -0
  139. package/src/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.spec.ts +43 -0
  140. package/src/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.ts +97 -0
  141. package/src/lib/private/smart-crm-private.module.ts +188 -0
  142. package/src/lib/private/smart-crm-private.routing.module.ts +303 -0
  143. package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.html +27 -0
  144. package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.scss +4 -0
  145. package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.spec.ts +40 -0
  146. package/src/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.ts +57 -0
  147. package/src/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.html +36 -0
  148. package/src/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.spec.ts +42 -0
  149. package/src/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.ts +57 -0
  150. package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.html +133 -0
  151. package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.scss +1 -0
  152. package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.spec.ts +37 -0
  153. package/src/lib/public/components/smart-crm-signup/smart-crm-signup.component.ts +41 -0
  154. package/src/lib/public/smart-crm-public.module.ts +30 -0
  155. package/src/lib/public/smart-crm-public.routing.module.ts +36 -0
  156. package/{lib/shared/interface/crm-account.interface.d.ts → src/lib/shared/interface/crm-account.interface.ts} +10 -3
  157. package/{lib/shared/interface/crm-action.interface.d.ts → src/lib/shared/interface/crm-action.interface.ts} +1 -0
  158. package/{lib/shared/interface/crm-contact.interface.d.ts → src/lib/shared/interface/crm-contact.interface.ts} +2 -0
  159. package/{lib/shared/interface/crm-lead.interface.d.ts → src/lib/shared/interface/crm-lead.interface.ts} +1 -0
  160. package/{lib/shared/interface/crm-newsletter.interface.d.ts → src/lib/shared/interface/crm-newsletter.interface.ts} +3 -1
  161. package/{lib/shared/interface/crm-opportunity.interface.d.ts → src/lib/shared/interface/crm-opportunity.interface.ts} +5 -0
  162. package/{lib/shared/interface/crm-source.interface.d.ts → src/lib/shared/interface/crm-source.interface.ts} +1 -0
  163. package/{lib/shared/interface/crm-stages.interface.d.ts → src/lib/shared/interface/crm-stages.interface.ts} +1 -0
  164. package/{lib/shared/interface/crm-widget.interface.d.ts → src/lib/shared/interface/crm-widget.interface.ts} +1 -0
  165. package/{lib/shared/interface/smart-crm-module.interface.d.ts → src/lib/shared/interface/smart-crm-module.interface.ts} +42 -1
  166. package/src/lib/shared/models/smart-crm.model.ts +199 -0
  167. package/src/lib/shared/routers/routers.ts +23 -0
  168. package/tsconfig.json +29 -0
  169. package/tsconfig.lib.json +25 -0
  170. package/tsconfig.lib.prod.json +9 -0
  171. package/tsconfig.spec.json +11 -0
  172. package/esm2022/index.mjs +0 -48
  173. package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.mjs +0 -194
  174. package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.mjs +0 -192
  175. package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.mjs +0 -589
  176. package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.mjs +0 -348
  177. package/esm2022/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.mjs +0 -12
  178. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.mjs +0 -97
  179. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.mjs +0 -118
  180. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.mjs +0 -35
  181. 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
  182. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.mjs +0 -119
  183. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.mjs +0 -79
  184. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.mjs +0 -107
  185. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.mjs +0 -96
  186. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.mjs +0 -139
  187. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.mjs +0 -98
  188. package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.mjs +0 -125
  189. package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.mjs +0 -159
  190. package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.mjs +0 -465
  191. package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.mjs +0 -281
  192. package/esm2022/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.mjs +0 -12
  193. package/esm2022/lib/private/components/smart-crm-insight/smart-crm-insight.component.mjs +0 -14
  194. package/esm2022/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.mjs +0 -55
  195. package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.mjs +0 -173
  196. package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads.component.mjs +0 -136
  197. package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.mjs +0 -79
  198. package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.mjs +0 -266
  199. package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.mjs +0 -151
  200. 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
  201. package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.mjs +0 -18
  202. package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.mjs +0 -230
  203. package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.mjs +0 -317
  204. package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.mjs +0 -477
  205. package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.mjs +0 -218
  206. package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.mjs +0 -14
  207. package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.mjs +0 -255
  208. package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.mjs +0 -148
  209. package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary.component.mjs +0 -16
  210. package/esm2022/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.mjs +0 -92
  211. package/esm2022/lib/private/smart-crm-private.module.mjs +0 -327
  212. package/esm2022/lib/private/smart-crm-private.routing.module.mjs +0 -310
  213. package/esm2022/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.mjs +0 -56
  214. package/esm2022/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.mjs +0 -57
  215. package/esm2022/lib/public/components/smart-crm-signup/smart-crm-signup.component.mjs +0 -35
  216. package/esm2022/lib/public/smart-crm-public.module.mjs +0 -46
  217. package/esm2022/lib/public/smart-crm-public.routing.module.mjs +0 -44
  218. package/esm2022/lib/shared/interface/crm-account.interface.mjs +0 -2
  219. package/esm2022/lib/shared/interface/crm-action.interface.mjs +0 -2
  220. package/esm2022/lib/shared/interface/crm-contact.interface.mjs +0 -2
  221. package/esm2022/lib/shared/interface/crm-lead.interface.mjs +0 -2
  222. package/esm2022/lib/shared/interface/crm-newsletter.interface.mjs +0 -2
  223. package/esm2022/lib/shared/interface/crm-opportunity.interface.mjs +0 -2
  224. package/esm2022/lib/shared/interface/crm-source.interface.mjs +0 -2
  225. package/esm2022/lib/shared/interface/crm-stages.interface.mjs +0 -2
  226. package/esm2022/lib/shared/interface/crm-widget.interface.mjs +0 -2
  227. package/esm2022/lib/shared/interface/smart-crm-module.interface.mjs +0 -2
  228. package/esm2022/lib/shared/models/smart-crm.model.mjs +0 -186
  229. package/esm2022/lib/shared/routers/routers.mjs +0 -23
  230. package/esm2022/posiwise-smart-crm.mjs +0 -5
  231. package/fesm2022/posiwise-smart-crm.mjs +0 -6449
  232. package/fesm2022/posiwise-smart-crm.mjs.map +0 -1
  233. package/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.d.ts +0 -61
  234. package/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.d.ts +0 -72
  235. package/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.d.ts +0 -172
  236. package/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.d.ts +0 -105
  237. package/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.d.ts +0 -5
  238. package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.d.ts +0 -37
  239. package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.d.ts +0 -55
  240. package/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.d.ts +0 -11
  241. 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
  242. package/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.d.ts +0 -56
  243. package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.d.ts +0 -28
  244. package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.d.ts +0 -52
  245. package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.d.ts +0 -34
  246. package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.d.ts +0 -58
  247. package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.d.ts +0 -36
  248. package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.d.ts +0 -58
  249. package/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.d.ts +0 -48
  250. package/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.d.ts +0 -121
  251. package/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.d.ts +0 -89
  252. package/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.d.ts +0 -5
  253. package/lib/private/components/smart-crm-insight/smart-crm-insight.component.d.ts +0 -5
  254. package/lib/private/components/smart-crm-insight/smart-crm-overview/smart-crm-overview.component.d.ts +0 -20
  255. package/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.d.ts +0 -45
  256. package/lib/private/components/smart-crm-leads/smart-crm-leads.component.d.ts +0 -58
  257. package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.d.ts +0 -49
  258. package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.d.ts +0 -63
  259. package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.d.ts +0 -62
  260. 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
  261. package/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.d.ts +0 -8
  262. package/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.d.ts +0 -63
  263. package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.d.ts +0 -66
  264. package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.d.ts +0 -122
  265. package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.d.ts +0 -77
  266. package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.d.ts +0 -5
  267. package/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.d.ts +0 -72
  268. package/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.d.ts +0 -40
  269. package/lib/private/components/smart-crm-summary/smart-crm-summary.component.d.ts +0 -5
  270. package/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.d.ts +0 -10
  271. package/lib/private/smart-crm-private.module.d.ts +0 -62
  272. package/lib/private/smart-crm-private.routing.module.d.ts +0 -7
  273. package/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.d.ts +0 -18
  274. package/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.d.ts +0 -17
  275. package/lib/public/components/smart-crm-signup/smart-crm-signup.component.d.ts +0 -15
  276. package/lib/public/smart-crm-public.module.d.ts +0 -14
  277. package/lib/public/smart-crm-public.routing.module.d.ts +0 -7
  278. package/lib/shared/models/smart-crm.model.d.ts +0 -16
  279. 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 {};
@@ -8,6 +8,7 @@ export interface CrmAction {
8
8
  previous_action_id: number;
9
9
  contact_required: boolean;
10
10
  }
11
+
11
12
  export interface CrmActionResponse {
12
13
  crm_actions: CrmAction[];
13
14
  object_count: number;
@@ -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;
@@ -20,6 +20,7 @@ export interface CrmLead {
20
20
  newsletter_subscribed: boolean;
21
21
  crm_source: object;
22
22
  }
23
+
23
24
  export interface CrmLeadResponse {
24
25
  crm_leads: CrmLead[];
25
26
  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;
@@ -4,6 +4,7 @@ export interface CrmSource {
4
4
  is_default: boolean;
5
5
  subscription_id: number;
6
6
  }
7
+
7
8
  export interface CrmSourceResponse {
8
9
  crm_sources: CrmSource[];
9
10
  object_count: number;
@@ -7,6 +7,7 @@ export interface CrmStage {
7
7
  is_default: boolean;
8
8
  crm_opportunity_category_ids: number[];
9
9
  }
10
+
10
11
  export interface CrmStageResponse {
11
12
  crm_opportunity_stages: CrmStage[];
12
13
  object_count: number;
@@ -7,6 +7,7 @@ export interface CrmWidget {
7
7
  crm_widget_id: number;
8
8
  owner_id: number;
9
9
  }
10
+
10
11
  export interface CrmWidgetResponse {
11
12
  crm_widget_relationships: CrmWidget[];
12
13
  object_count: number;
@@ -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[];