@hiver/connector-admin 3.0.2 → 3.0.3-unifiedView-beta.0

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 (376) hide show
  1. package/app/connectors/index.d.ts +1 -1
  2. package/app/connectors/index.d.ts.map +1 -1
  3. package/app/index.d.ts +1 -1
  4. package/app/index.d.ts.map +1 -1
  5. package/bootstrap.d.ts +4 -0
  6. package/bootstrap.d.ts.map +1 -0
  7. package/index.d.ts +1 -1
  8. package/index.d.ts.map +1 -1
  9. package/index.es.js +17544 -12979
  10. package/index.umd.js +1927 -252
  11. package/main.d.ts +0 -1
  12. package/main.d.ts.map +1 -1
  13. package/package.json +1 -1
  14. package/style.css +1 -0
  15. package/testing/mocks/handlers/connector-template.d.ts +1 -1
  16. package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
  17. package/types/router.d.ts +1 -0
  18. package/types/router.d.ts.map +1 -1
  19. package/v2/app/connectors/index.d.ts +3 -0
  20. package/v2/app/connectors/index.d.ts.map +1 -0
  21. package/v2/app/connectors/pages/Dashboard/index.d.ts +3 -0
  22. package/v2/app/connectors/pages/Dashboard/index.d.ts.map +1 -0
  23. package/v2/app/connectors/pages/Dashboard/style.d.ts +8 -0
  24. package/v2/app/connectors/pages/Dashboard/style.d.ts.map +1 -0
  25. package/v2/app/connectors/pages/api-view/__tests__/connector-config.test.d.ts +2 -0
  26. package/v2/app/connectors/pages/api-view/__tests__/connector-config.test.d.ts.map +1 -0
  27. package/v2/app/connectors/pages/api-view/index.d.ts +2 -0
  28. package/v2/app/connectors/pages/api-view/index.d.ts.map +1 -0
  29. package/v2/app/connectors/pages/api-view/style.d.ts +5 -0
  30. package/v2/app/connectors/pages/api-view/style.d.ts.map +1 -0
  31. package/v2/app/connectors/pages/auth-success/index.d.ts +2 -0
  32. package/v2/app/connectors/pages/auth-success/index.d.ts.map +1 -0
  33. package/v2/app/connectors/pages/auth-success/styles.d.ts +4 -0
  34. package/v2/app/connectors/pages/auth-success/styles.d.ts.map +1 -0
  35. package/v2/app/connectors/pages/connector-edit/index.d.ts +2 -0
  36. package/v2/app/connectors/pages/connector-edit/index.d.ts.map +1 -0
  37. package/v2/app/connectors/pages/settings/components/upgrade-guide/index.d.ts +7 -0
  38. package/v2/app/connectors/pages/settings/components/upgrade-guide/index.d.ts.map +1 -0
  39. package/v2/app/connectors/pages/settings/components/upgrade-guide/styles.d.ts +8 -0
  40. package/v2/app/connectors/pages/settings/components/upgrade-guide/styles.d.ts.map +1 -0
  41. package/v2/app/connectors/pages/settings/index.d.ts +6 -0
  42. package/v2/app/connectors/pages/settings/index.d.ts.map +1 -0
  43. package/v2/app/connectors/pages/settings/styles.d.ts +5 -0
  44. package/v2/app/connectors/pages/settings/styles.d.ts.map +1 -0
  45. package/v2/app/connectors/pages/upgrade-page/index.d.ts +7 -0
  46. package/v2/app/connectors/pages/upgrade-page/index.d.ts.map +1 -0
  47. package/v2/app/connectors/pages/upgrade-page/style.d.ts +16 -0
  48. package/v2/app/connectors/pages/upgrade-page/style.d.ts.map +1 -0
  49. package/v2/app/connectors/provider.d.ts +4 -0
  50. package/v2/app/connectors/provider.d.ts.map +1 -0
  51. package/v2/app/connectors/router.d.ts +7 -0
  52. package/v2/app/connectors/router.d.ts.map +1 -0
  53. package/v2/app/index.d.ts +2 -0
  54. package/v2/app/index.d.ts.map +1 -0
  55. package/v2/app/style.d.ts +4 -0
  56. package/v2/app/style.d.ts.map +1 -0
  57. package/v2/components/ui/auto-complete/index.d.ts +14 -0
  58. package/v2/components/ui/auto-complete/index.d.ts.map +1 -0
  59. package/v2/components/ui/auto-complete/style.d.ts +5 -0
  60. package/v2/components/ui/auto-complete/style.d.ts.map +1 -0
  61. package/v2/components/ui/bread-crumbs/__tests__/bread-crumb.test.d.ts +2 -0
  62. package/v2/components/ui/bread-crumbs/__tests__/bread-crumb.test.d.ts.map +1 -0
  63. package/v2/components/ui/bread-crumbs/index.d.ts +7 -0
  64. package/v2/components/ui/bread-crumbs/index.d.ts.map +1 -0
  65. package/v2/components/ui/bread-crumbs/styles.d.ts +6 -0
  66. package/v2/components/ui/bread-crumbs/styles.d.ts.map +1 -0
  67. package/v2/components/ui/connector-alert/index.d.ts +10 -0
  68. package/v2/components/ui/connector-alert/index.d.ts.map +1 -0
  69. package/v2/components/ui/connector-item/index.d.ts +15 -0
  70. package/v2/components/ui/connector-item/index.d.ts.map +1 -0
  71. package/v2/components/ui/connector-item-skeleton/index.d.ts +2 -0
  72. package/v2/components/ui/connector-item-skeleton/index.d.ts.map +1 -0
  73. package/v2/components/ui/connector-item-skeleton/styles.d.ts +7 -0
  74. package/v2/components/ui/connector-item-skeleton/styles.d.ts.map +1 -0
  75. package/v2/components/ui/details/index.d.ts +9 -0
  76. package/v2/components/ui/details/index.d.ts.map +1 -0
  77. package/v2/components/ui/details/styles.d.ts +11 -0
  78. package/v2/components/ui/details/styles.d.ts.map +1 -0
  79. package/v2/components/ui/modal/__tests__/modal.test.d.ts +2 -0
  80. package/v2/components/ui/modal/__tests__/modal.test.d.ts.map +1 -0
  81. package/v2/components/ui/modal/index.d.ts +13 -0
  82. package/v2/components/ui/modal/index.d.ts.map +1 -0
  83. package/v2/components/ui/styled-ui-components.d.ts +6 -0
  84. package/v2/components/ui/styled-ui-components.d.ts.map +1 -0
  85. package/v2/components/ui/text-field/index.d.ts +3 -0
  86. package/v2/components/ui/text-field/index.d.ts.map +1 -0
  87. package/v2/constants/api.d.ts +14 -0
  88. package/v2/constants/api.d.ts.map +1 -0
  89. package/v2/constants/app-constants.d.ts +14 -0
  90. package/v2/constants/app-constants.d.ts.map +1 -0
  91. package/v2/constants/bread-crumbs.d.ts +3 -0
  92. package/v2/constants/bread-crumbs.d.ts.map +1 -0
  93. package/v2/constants/gainsight.d.ts +37 -0
  94. package/v2/constants/gainsight.d.ts.map +1 -0
  95. package/v2/constants/global-constants.d.ts +27 -0
  96. package/v2/constants/global-constants.d.ts.map +1 -0
  97. package/v2/constants/modal.d.ts +4 -0
  98. package/v2/constants/modal.d.ts.map +1 -0
  99. package/v2/constants/react-image-viewer.d.ts +3 -0
  100. package/v2/constants/react-image-viewer.d.ts.map +1 -0
  101. package/v2/constants/remote-assets.d.ts +5 -0
  102. package/v2/constants/remote-assets.d.ts.map +1 -0
  103. package/v2/constants/router-paths.d.ts +11 -0
  104. package/v2/constants/router-paths.d.ts.map +1 -0
  105. package/v2/constants/sidebar.d.ts +10 -0
  106. package/v2/constants/sidebar.d.ts.map +1 -0
  107. package/v2/context/index.d.ts +37 -0
  108. package/v2/context/index.d.ts.map +1 -0
  109. package/v2/context/main-app-provider/index.d.ts +4 -0
  110. package/v2/context/main-app-provider/index.d.ts.map +1 -0
  111. package/v2/context/react-query-client-provider/index.d.ts +6 -0
  112. package/v2/context/react-query-client-provider/index.d.ts.map +1 -0
  113. package/v2/features/agent/components/agent-landing/index.d.ts +3 -0
  114. package/v2/features/agent/components/agent-landing/index.d.ts.map +1 -0
  115. package/v2/features/agent/components/agent-landing/styles.d.ts +8 -0
  116. package/v2/features/agent/components/agent-landing/styles.d.ts.map +1 -0
  117. package/v2/features/agent/constants/index.d.ts +6 -0
  118. package/v2/features/agent/constants/index.d.ts.map +1 -0
  119. package/v2/features/api-library/components/api-library/index.d.ts +11 -0
  120. package/v2/features/api-library/components/api-library/index.d.ts.map +1 -0
  121. package/v2/features/api-library/components/api-library/styles.d.ts +5 -0
  122. package/v2/features/api-library/components/api-library/styles.d.ts.map +1 -0
  123. package/v2/features/api-library/components/api-library-skeleton/index.d.ts +2 -0
  124. package/v2/features/api-library/components/api-library-skeleton/index.d.ts.map +1 -0
  125. package/v2/features/api-library/components/api-library-skeleton/styles.d.ts +9 -0
  126. package/v2/features/api-library/components/api-library-skeleton/styles.d.ts.map +1 -0
  127. package/v2/features/api-library/constants/api-library.d.ts +4 -0
  128. package/v2/features/api-library/constants/api-library.d.ts.map +1 -0
  129. package/v2/features/auth/api/authDetailsMutation.d.ts +25 -0
  130. package/v2/features/auth/api/authDetailsMutation.d.ts.map +1 -0
  131. package/v2/features/auth/api/authSuccessQuery.d.ts +9 -0
  132. package/v2/features/auth/api/authSuccessQuery.d.ts.map +1 -0
  133. package/v2/features/auth/api/index.d.ts +4 -0
  134. package/v2/features/auth/api/index.d.ts.map +1 -0
  135. package/v2/features/auth/components/api-executor/index.d.ts +10 -0
  136. package/v2/features/auth/components/api-executor/index.d.ts.map +1 -0
  137. package/v2/features/auth/components/api-executor/styles.d.ts +12 -0
  138. package/v2/features/auth/components/api-executor/styles.d.ts.map +1 -0
  139. package/v2/features/auth/components/auth-form/index.d.ts +15 -0
  140. package/v2/features/auth/components/auth-form/index.d.ts.map +1 -0
  141. package/v2/features/auth/components/auth-form/reducer.d.ts +11 -0
  142. package/v2/features/auth/components/auth-form/reducer.d.ts.map +1 -0
  143. package/v2/features/auth/components/auth-form/styles.d.ts +9 -0
  144. package/v2/features/auth/components/auth-form/styles.d.ts.map +1 -0
  145. package/v2/features/auth/components/auth-form-skeleton/index.d.ts +2 -0
  146. package/v2/features/auth/components/auth-form-skeleton/index.d.ts.map +1 -0
  147. package/v2/features/auth/components/auth-header-skeleton/index.d.ts +2 -0
  148. package/v2/features/auth/components/auth-header-skeleton/index.d.ts.map +1 -0
  149. package/v2/features/auth/constants/api.d.ts +6 -0
  150. package/v2/features/auth/constants/api.d.ts.map +1 -0
  151. package/v2/features/auth/constants/form-config.d.ts +96 -0
  152. package/v2/features/auth/constants/form-config.d.ts.map +1 -0
  153. package/v2/features/auth/constants/index.d.ts +27 -0
  154. package/v2/features/auth/constants/index.d.ts.map +1 -0
  155. package/v2/features/auth/store/initial-state.d.ts +13 -0
  156. package/v2/features/auth/store/initial-state.d.ts.map +1 -0
  157. package/v2/features/auth/store/selectors.d.ts +6 -0
  158. package/v2/features/auth/store/selectors.d.ts.map +1 -0
  159. package/v2/features/auth/store/slice.d.ts +43 -0
  160. package/v2/features/auth/store/slice.d.ts.map +1 -0
  161. package/v2/features/auth/types/connector.d.ts +2 -0
  162. package/v2/features/auth/types/connector.d.ts.map +1 -0
  163. package/v2/features/auth/types/form.d.ts +25 -0
  164. package/v2/features/auth/types/form.d.ts.map +1 -0
  165. package/v2/features/auth/types/request.d.ts +51 -0
  166. package/v2/features/auth/types/request.d.ts.map +1 -0
  167. package/v2/features/auth/utils/index.d.ts +33 -0
  168. package/v2/features/auth/utils/index.d.ts.map +1 -0
  169. package/v2/features/connector-library/api/index.d.ts +14 -0
  170. package/v2/features/connector-library/api/index.d.ts.map +1 -0
  171. package/v2/features/connector-library/components/connector-info-card/index.d.ts +9 -0
  172. package/v2/features/connector-library/components/connector-info-card/index.d.ts.map +1 -0
  173. package/v2/features/connector-library/components/connector-info-card/styles.d.ts +8 -0
  174. package/v2/features/connector-library/components/connector-info-card/styles.d.ts.map +1 -0
  175. package/v2/features/connector-library/components/connector-info-card-list/index.d.ts +9 -0
  176. package/v2/features/connector-library/components/connector-info-card-list/index.d.ts.map +1 -0
  177. package/v2/features/connector-library/components/custom-connector-card-item/index.d.ts +11 -0
  178. package/v2/features/connector-library/components/custom-connector-card-item/index.d.ts.map +1 -0
  179. package/v2/features/connector-library/components/custom-connector-card-item/styles.d.ts +12 -0
  180. package/v2/features/connector-library/components/custom-connector-card-item/styles.d.ts.map +1 -0
  181. package/v2/features/connector-library/components/custom-connector-card-list/index.d.ts +3 -0
  182. package/v2/features/connector-library/components/custom-connector-card-list/index.d.ts.map +1 -0
  183. package/v2/features/connector-library/components/custom-connector-enabled-modal/index.d.ts +9 -0
  184. package/v2/features/connector-library/components/custom-connector-enabled-modal/index.d.ts.map +1 -0
  185. package/v2/features/connector-library/components/custom-connector-enabled-modal/styles.d.ts +5 -0
  186. package/v2/features/connector-library/components/custom-connector-enabled-modal/styles.d.ts.map +1 -0
  187. package/v2/features/connector-library/components/custom-connector-upgrades-tooltip/index.d.ts +7 -0
  188. package/v2/features/connector-library/components/custom-connector-upgrades-tooltip/index.d.ts.map +1 -0
  189. package/v2/features/connector-library/components/custom-connector-upgrades-tooltip/styled.d.ts +4 -0
  190. package/v2/features/connector-library/components/custom-connector-upgrades-tooltip/styled.d.ts.map +1 -0
  191. package/v2/features/connector-library/components/singleton-popover-tooltip/index.d.ts +7 -0
  192. package/v2/features/connector-library/components/singleton-popover-tooltip/index.d.ts.map +1 -0
  193. package/v2/features/connector-library/components/singleton-popover-tooltip/popover-title.d.ts +2 -0
  194. package/v2/features/connector-library/components/singleton-popover-tooltip/popover-title.d.ts.map +1 -0
  195. package/v2/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.d.ts +7 -0
  196. package/v2/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.d.ts.map +1 -0
  197. package/v2/features/connector-library/components/singleton-popover-tooltip/styles.d.ts +6 -0
  198. package/v2/features/connector-library/components/singleton-popover-tooltip/styles.d.ts.map +1 -0
  199. package/v2/features/connector-library/components/visibility-modal/card-visibility/index.d.ts +10 -0
  200. package/v2/features/connector-library/components/visibility-modal/card-visibility/index.d.ts.map +1 -0
  201. package/v2/features/connector-library/components/visibility-modal/constants.d.ts +4 -0
  202. package/v2/features/connector-library/components/visibility-modal/constants.d.ts.map +1 -0
  203. package/v2/features/connector-library/components/visibility-modal/field-visibility/index.d.ts +9 -0
  204. package/v2/features/connector-library/components/visibility-modal/field-visibility/index.d.ts.map +1 -0
  205. package/v2/features/connector-library/components/visibility-modal/field-visibility/sortable-field.d.ts +9 -0
  206. package/v2/features/connector-library/components/visibility-modal/field-visibility/sortable-field.d.ts.map +1 -0
  207. package/v2/features/connector-library/components/visibility-modal/field-visibility/style.d.ts +5 -0
  208. package/v2/features/connector-library/components/visibility-modal/field-visibility/style.d.ts.map +1 -0
  209. package/v2/features/connector-library/components/visibility-modal/index.d.ts +4 -0
  210. package/v2/features/connector-library/components/visibility-modal/index.d.ts.map +1 -0
  211. package/v2/features/connector-library/components/visibility-modal/style.d.ts +14 -0
  212. package/v2/features/connector-library/components/visibility-modal/style.d.ts.map +1 -0
  213. package/v2/features/connector-library/constants/api.d.ts +15 -0
  214. package/v2/features/connector-library/constants/api.d.ts.map +1 -0
  215. package/v2/features/connector-library/constants/index.d.ts +30 -0
  216. package/v2/features/connector-library/constants/index.d.ts.map +1 -0
  217. package/v2/features/connector-library/context/singleton-context/hooks.d.ts +5 -0
  218. package/v2/features/connector-library/context/singleton-context/hooks.d.ts.map +1 -0
  219. package/v2/features/connector-library/context/singleton-context/index.d.ts +9 -0
  220. package/v2/features/connector-library/context/singleton-context/index.d.ts.map +1 -0
  221. package/v2/features/connector-library/store/initial-state.d.ts +33 -0
  222. package/v2/features/connector-library/store/initial-state.d.ts.map +1 -0
  223. package/v2/features/connector-library/store/selectors.d.ts +26 -0
  224. package/v2/features/connector-library/store/selectors.d.ts.map +1 -0
  225. package/v2/features/connector-library/store/slice.d.ts +126 -0
  226. package/v2/features/connector-library/store/slice.d.ts.map +1 -0
  227. package/v2/features/connector-library/utils/index.d.ts +3 -0
  228. package/v2/features/connector-library/utils/index.d.ts.map +1 -0
  229. package/v2/features/connector-preview/components/connector-preview/index.d.ts +14 -0
  230. package/v2/features/connector-preview/components/connector-preview/index.d.ts.map +1 -0
  231. package/v2/features/connector-preview/components/connector-preview/styles.d.ts +5 -0
  232. package/v2/features/connector-preview/components/connector-preview/styles.d.ts.map +1 -0
  233. package/v2/features/connector-preview/components/connector-preview-skeleton/index.d.ts +2 -0
  234. package/v2/features/connector-preview/components/connector-preview-skeleton/index.d.ts.map +1 -0
  235. package/v2/features/connector-preview/components/connector-preview-skeleton/styles.d.ts +7 -0
  236. package/v2/features/connector-preview/components/connector-preview-skeleton/styles.d.ts.map +1 -0
  237. package/v2/features/connector-preview/components/footer/index.d.ts +7 -0
  238. package/v2/features/connector-preview/components/footer/index.d.ts.map +1 -0
  239. package/v2/features/connector-preview/components/footer/styles.d.ts +6 -0
  240. package/v2/features/connector-preview/components/footer/styles.d.ts.map +1 -0
  241. package/v2/features/connector-preview/components/image-preview-list/index.d.ts +6 -0
  242. package/v2/features/connector-preview/components/image-preview-list/index.d.ts.map +1 -0
  243. package/v2/features/connector-preview/components/image-preview-list/styles.d.ts +5 -0
  244. package/v2/features/connector-preview/components/image-preview-list/styles.d.ts.map +1 -0
  245. package/v2/features/connector-preview/constants/index.d.ts +4 -0
  246. package/v2/features/connector-preview/constants/index.d.ts.map +1 -0
  247. package/v2/features/connector-preview/utils/index.d.ts +2 -0
  248. package/v2/features/connector-preview/utils/index.d.ts.map +1 -0
  249. package/v2/features/connector-setup-guide/components/guide-links/index.d.ts +7 -0
  250. package/v2/features/connector-setup-guide/components/guide-links/index.d.ts.map +1 -0
  251. package/v2/features/connector-setup-guide/components/guide-links/styles.d.ts +9 -0
  252. package/v2/features/connector-setup-guide/components/guide-links/styles.d.ts.map +1 -0
  253. package/v2/features/connector-setup-guide/components/schedule-call/index.d.ts +7 -0
  254. package/v2/features/connector-setup-guide/components/schedule-call/index.d.ts.map +1 -0
  255. package/v2/features/connector-setup-guide/components/schedule-call/styles.d.ts +8 -0
  256. package/v2/features/connector-setup-guide/components/schedule-call/styles.d.ts.map +1 -0
  257. package/v2/features/connector-setup-guide/constants/index.d.ts +13 -0
  258. package/v2/features/connector-setup-guide/constants/index.d.ts.map +1 -0
  259. package/v2/features/connector-setup-guide/types/index.d.ts +16 -0
  260. package/v2/features/connector-setup-guide/types/index.d.ts.map +1 -0
  261. package/v2/features/request-new-connector/api/index.d.ts +8 -0
  262. package/v2/features/request-new-connector/api/index.d.ts.map +1 -0
  263. package/v2/features/request-new-connector/components/request-new-card/index.d.ts +7 -0
  264. package/v2/features/request-new-connector/components/request-new-card/index.d.ts.map +1 -0
  265. package/v2/features/request-new-connector/components/request-new-card/styles.d.ts +11 -0
  266. package/v2/features/request-new-connector/components/request-new-card/styles.d.ts.map +1 -0
  267. package/v2/features/request-new-connector/components/request-new-modal/__tests__/request-new-modal.test.d.ts +2 -0
  268. package/v2/features/request-new-connector/components/request-new-modal/__tests__/request-new-modal.test.d.ts.map +1 -0
  269. package/v2/features/request-new-connector/components/request-new-modal/index.d.ts +9 -0
  270. package/v2/features/request-new-connector/components/request-new-modal/index.d.ts.map +1 -0
  271. package/v2/features/request-new-connector/components/request-new-modal/request-panel.d.ts +14 -0
  272. package/v2/features/request-new-connector/components/request-new-modal/request-panel.d.ts.map +1 -0
  273. package/v2/features/request-new-connector/components/request-new-modal/styles.d.ts +6 -0
  274. package/v2/features/request-new-connector/components/request-new-modal/styles.d.ts.map +1 -0
  275. package/v2/features/request-new-connector/components/request-new-modal/submitted-panel.d.ts +7 -0
  276. package/v2/features/request-new-connector/components/request-new-modal/submitted-panel.d.ts.map +1 -0
  277. package/v2/features/request-new-connector/constants/api.d.ts +2 -0
  278. package/v2/features/request-new-connector/constants/api.d.ts.map +1 -0
  279. package/v2/features/request-new-connector/constants/index.d.ts +25 -0
  280. package/v2/features/request-new-connector/constants/index.d.ts.map +1 -0
  281. package/v2/features/request-new-connector/types/index.d.ts +20 -0
  282. package/v2/features/request-new-connector/types/index.d.ts.map +1 -0
  283. package/v2/features/template-library/api/index.d.ts +7 -0
  284. package/v2/features/template-library/api/index.d.ts.map +1 -0
  285. package/v2/features/template-library/components/library-card-list/index.d.ts +3 -0
  286. package/v2/features/template-library/components/library-card-list/index.d.ts.map +1 -0
  287. package/v2/features/template-library/components/library-card-list/styles.d.ts +8 -0
  288. package/v2/features/template-library/components/library-card-list/styles.d.ts.map +1 -0
  289. package/v2/features/template-library/components/library-edit-list/index.d.ts +2 -0
  290. package/v2/features/template-library/components/library-edit-list/index.d.ts.map +1 -0
  291. package/v2/features/template-library/components/library-edit-list/styles.d.ts +2 -0
  292. package/v2/features/template-library/components/library-edit-list/styles.d.ts.map +1 -0
  293. package/v2/features/template-library/constants/api.d.ts +3 -0
  294. package/v2/features/template-library/constants/api.d.ts.map +1 -0
  295. package/v2/features/template-library/store/initial-state.d.ts +15 -0
  296. package/v2/features/template-library/store/initial-state.d.ts.map +1 -0
  297. package/v2/features/template-library/store/selectors.d.ts +8 -0
  298. package/v2/features/template-library/store/selectors.d.ts.map +1 -0
  299. package/v2/features/template-library/store/slice.d.ts +39 -0
  300. package/v2/features/template-library/store/slice.d.ts.map +1 -0
  301. package/v2/features/toast-message/CloseButton.d.ts +4 -0
  302. package/v2/features/toast-message/CloseButton.d.ts.map +1 -0
  303. package/v2/features/toast-message/HiverIconToast.d.ts +7 -0
  304. package/v2/features/toast-message/HiverIconToast.d.ts.map +1 -0
  305. package/v2/features/toast-message/__tests__/toastMessage.test.d.ts +2 -0
  306. package/v2/features/toast-message/__tests__/toastMessage.test.d.ts.map +1 -0
  307. package/v2/features/toast-message/constants/toast.d.ts +6 -0
  308. package/v2/features/toast-message/constants/toast.d.ts.map +1 -0
  309. package/v2/features/toast-message/showMessage.d.ts +13 -0
  310. package/v2/features/toast-message/showMessage.d.ts.map +1 -0
  311. package/v2/features/toast-message/style.d.ts +7 -0
  312. package/v2/features/toast-message/style.d.ts.map +1 -0
  313. package/v2/store/counter/initial-state.d.ts +6 -0
  314. package/v2/store/counter/initial-state.d.ts.map +1 -0
  315. package/v2/store/counter/selectors.d.ts +4 -0
  316. package/v2/store/counter/selectors.d.ts.map +1 -0
  317. package/v2/store/counter/slice.d.ts +23 -0
  318. package/v2/store/counter/slice.d.ts.map +1 -0
  319. package/v2/store/hooks.d.ts +15 -0
  320. package/v2/store/hooks.d.ts.map +1 -0
  321. package/v2/store/index.d.ts +34 -0
  322. package/v2/store/index.d.ts.map +1 -0
  323. package/v2/store/request-connector-api/initial-state.d.ts +9 -0
  324. package/v2/store/request-connector-api/initial-state.d.ts.map +1 -0
  325. package/v2/store/request-connector-api/selectors.d.ts +5 -0
  326. package/v2/store/request-connector-api/selectors.d.ts.map +1 -0
  327. package/v2/store/request-connector-api/slice.d.ts +39 -0
  328. package/v2/store/request-connector-api/slice.d.ts.map +1 -0
  329. package/v2/testing/mocks/browser.d.ts +2 -0
  330. package/v2/testing/mocks/browser.d.ts.map +1 -0
  331. package/v2/testing/mocks/handlers/auth.d.ts +2 -0
  332. package/v2/testing/mocks/handlers/auth.d.ts.map +1 -0
  333. package/v2/testing/mocks/handlers/bifrost-token.d.ts +2 -0
  334. package/v2/testing/mocks/handlers/bifrost-token.d.ts.map +1 -0
  335. package/v2/testing/mocks/handlers/connector-template.d.ts +33 -0
  336. package/v2/testing/mocks/handlers/connector-template.d.ts.map +1 -0
  337. package/v2/testing/mocks/handlers/request-connector-api.d.ts +2 -0
  338. package/v2/testing/mocks/handlers/request-connector-api.d.ts.map +1 -0
  339. package/v2/testing/mocks/handlers/update-connector.d.ts +2 -0
  340. package/v2/testing/mocks/handlers/update-connector.d.ts.map +1 -0
  341. package/v2/testing/mocks/handlers/v2Api.d.ts +2 -0
  342. package/v2/testing/mocks/handlers/v2Api.d.ts.map +1 -0
  343. package/v2/testing/mocks/handlers.d.ts +2 -0
  344. package/v2/testing/mocks/handlers.d.ts.map +1 -0
  345. package/v2/testing/mocks/server.d.ts +2 -0
  346. package/v2/testing/mocks/server.d.ts.map +1 -0
  347. package/v2/testing/setup-store.d.ts +17 -0
  348. package/v2/testing/setup-store.d.ts.map +1 -0
  349. package/v2/testing/setup-test.d.ts +1 -0
  350. package/v2/testing/setup-test.d.ts.map +1 -0
  351. package/v2/testing/test-utils.d.ts +69 -0
  352. package/v2/testing/test-utils.d.ts.map +1 -0
  353. package/v2/types/api.d.ts +2 -0
  354. package/v2/types/api.d.ts.map +1 -0
  355. package/v2/types/app.d.ts +38 -0
  356. package/v2/types/app.d.ts.map +1 -0
  357. package/v2/types/common.d.ts +6 -0
  358. package/v2/types/common.d.ts.map +1 -0
  359. package/v2/types/connector.d.ts +113 -0
  360. package/v2/types/connector.d.ts.map +1 -0
  361. package/v2/types/exposedTypes.d.ts +23 -0
  362. package/v2/types/exposedTypes.d.ts.map +1 -0
  363. package/v2/types/form.d.ts +39 -0
  364. package/v2/types/form.d.ts.map +1 -0
  365. package/v2/types/json.d.ts +7 -0
  366. package/v2/types/json.d.ts.map +1 -0
  367. package/v2/types/sidebar.d.ts +8 -0
  368. package/v2/types/sidebar.d.ts.map +1 -0
  369. package/v2/types/visibility.d.ts +35 -0
  370. package/v2/types/visibility.d.ts.map +1 -0
  371. package/v2/utils/index.d.ts +28 -0
  372. package/v2/utils/index.d.ts.map +1 -0
  373. package/v2/utils/localstorage.d.ts +22 -0
  374. package/v2/utils/localstorage.d.ts.map +1 -0
  375. package/v2/utils/type-guards.d.ts +3 -0
  376. package/v2/utils/type-guards.d.ts.map +1 -0
@@ -0,0 +1,38 @@
1
+ import { ReactNode } from 'react';
2
+ import { IBaseUrls } from '../context';
3
+ import { IMetaData } from '@connector/utils';
4
+ import { ConnectorsAdminFunctions } from './exposedTypes';
5
+ export interface IAvailableFtr {
6
+ [key: string]: boolean;
7
+ }
8
+ export interface ISendTrackingEventData {
9
+ [key: string]: any;
10
+ }
11
+ export interface IExtraParams {
12
+ sendTrackingEvent?: (event: string, data?: ISendTrackingEventData) => void;
13
+ userPermissions?: string[];
14
+ metaData?: IMetaData;
15
+ }
16
+ export interface IAppProviderProps {
17
+ children: ReactNode;
18
+ baseUrls?: IBaseUrls;
19
+ availableFeatures?: IAvailableFtr;
20
+ extraParams?: IExtraParams;
21
+ connectorFunctions: ConnectorsAdminFunctions;
22
+ }
23
+ export interface NativeIntegrations {
24
+ name: string;
25
+ id: string;
26
+ Component: React.Component | React.FunctionComponent;
27
+ logo: string;
28
+ }
29
+ export interface IConnectorApp {
30
+ isUnifiedView: true;
31
+ basename?: string;
32
+ baseUrls?: IBaseUrls;
33
+ availableFeatures?: IAvailableFtr;
34
+ extraParams?: IExtraParams;
35
+ connectorFunctions: ConnectorsAdminFunctions;
36
+ nativeIntegrations?: NativeIntegrations;
37
+ }
38
+ //# sourceMappingURL=app.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../src/v2/types/app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,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Item {
3
+ name: string;
4
+ route?: string;
5
+ }
6
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/v2/types/common.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,GAAG,MAAM,CAAC,GAAG,KAAK,CAAC;AACzD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,113 @@
1
+ import { TextFieldBaseProps } from './form';
2
+ import { IField } from './visibility';
3
+ export type ConnectorId = string;
4
+ export interface IAPI {
5
+ name: string;
6
+ keyName: string;
7
+ description: string;
8
+ }
9
+ export interface IOAuthDetails {
10
+ authType: 'Oauth2';
11
+ authEndpointUrl: string;
12
+ tokenEndpointUrl: string;
13
+ scopes?: Array<string>;
14
+ grantType?: string;
15
+ keyName: string;
16
+ prefix?: string;
17
+ clientId: string;
18
+ clientSecret: string;
19
+ }
20
+ export interface IAuthAPIKeyDetails {
21
+ authType: 'ApiKey';
22
+ location: string;
23
+ keyName: string;
24
+ keyValue: string;
25
+ prefix?: string;
26
+ }
27
+ export interface IBasicAuthDetails {
28
+ authType: 'BasicAuth';
29
+ location: string;
30
+ keyName: string;
31
+ keyValue: string;
32
+ secretValue: string;
33
+ prefix: string;
34
+ }
35
+ export interface IConnectorVariable {
36
+ [key: string]: string;
37
+ }
38
+ export type IAuthDetails = IOAuthDetails | IAuthAPIKeyDetails | IBasicAuthDetails;
39
+ export interface IAPIKey {
40
+ label: string;
41
+ placeholderValue: string;
42
+ priority: number;
43
+ }
44
+ export interface ICard {
45
+ title: string;
46
+ priority: number;
47
+ type: 'flat' | 'flat_with_list' | 'create_resource';
48
+ output_map: {
49
+ [key: string]: IAPIKey;
50
+ };
51
+ }
52
+ export interface IIntegrationPanel {
53
+ position: string;
54
+ cards: Array<ICard>;
55
+ }
56
+ export interface InfoCard {
57
+ title: string;
58
+ id: string;
59
+ inboxes: {
60
+ email?: (string | number)[];
61
+ chat?: (string | number)[];
62
+ };
63
+ roles?: string[];
64
+ fields?: IField[];
65
+ isCardNew: boolean;
66
+ priority: number;
67
+ }
68
+ export type SupportLinks = {
69
+ setupGuideVideoLink?: string;
70
+ setupGuideVideoPreviewImage?: string;
71
+ helpArticleLink?: string;
72
+ };
73
+ export type CarouselData = {
74
+ url: string;
75
+ };
76
+ export interface IConnectorDetails {
77
+ id: string;
78
+ type: string;
79
+ authDetails?: IAuthDetails;
80
+ isAuthenticated?: boolean;
81
+ isEnabled?: boolean;
82
+ name: string;
83
+ description: string;
84
+ apiList?: Array<IAPI>;
85
+ integrationPanel?: IIntegrationPanel;
86
+ variables?: IConnectorVariable;
87
+ redirectUrl?: string;
88
+ baseUrlRequired?: boolean;
89
+ logo: string | null;
90
+ variablesConfig?: TextFieldBaseProps[];
91
+ cardList?: InfoCard[];
92
+ showUpgradeButton?: boolean;
93
+ isTemplateNew?: boolean;
94
+ updates?: TrustedHTML;
95
+ upgradeGuideLink?: string;
96
+ upgradeGuideContent?: TrustedHTML;
97
+ advancedSettingsFields?: string[];
98
+ supportLinks?: SupportLinks;
99
+ interpolationFields?: Record<string, string>;
100
+ carouselImages?: CarouselData[];
101
+ templateDescription?: string;
102
+ isDeprecated?: boolean;
103
+ }
104
+ export interface IEnableConnectorParam {
105
+ roles: string[];
106
+ inboxes: {
107
+ email: string[];
108
+ chat: string[];
109
+ };
110
+ fields: IField[];
111
+ }
112
+ export type ConnectorAlertStatus = 'notAuthenticated' | 'upgrade';
113
+ //# sourceMappingURL=connector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connector.d.ts","sourceRoot":"","sources":["../../../src/v2/types/connector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;A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B,CAAC,EAAE,iBAAiB,CAAC;IACrC,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,eAAe,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACvC,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,mBAAmB,CAAC,EAAE,WAAW,CAAC;IAClC,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,mBAAmB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7C,cAAc,CAAC,EAAE,YAAY,EAAE,CAAC;IAChC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,EAAE,CAAC;QAAC,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;IAC7C,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,GAAG,SAAS,CAAC"}
@@ -0,0 +1,23 @@
1
+ export interface IInboxData {
2
+ id: string;
3
+ name: string;
4
+ [key: string]: string;
5
+ }
6
+ export interface IRolesData {
7
+ id: string;
8
+ name: string;
9
+ [key: string]: string;
10
+ }
11
+ export interface ConnectorsAdminFunctions {
12
+ getInboxDetails: () => Promise<{
13
+ chatInboxes: IInboxData[];
14
+ emailInboxes: IInboxData[];
15
+ } | {
16
+ chatInboxes: null;
17
+ emailInboxes: null;
18
+ }>;
19
+ getRoles: () => Promise<{
20
+ roles: IRolesData[] | null;
21
+ }>;
22
+ }
23
+ //# sourceMappingURL=exposedTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exposedTypes.d.ts","sourceRoot":"","sources":["../../../src/v2/types/exposedTypes.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,wBAAwB;IACvC,eAAe,EAAE,MAAM,OAAO,CAC5B;QAAE,WAAW,EAAE,UAAU,EAAE,CAAC;QAAC,YAAY,EAAE,UAAU,EAAE,CAAA;KAAE,GAAG;QAAE,WAAW,EAAE,IAAI,CAAC;QAAC,YAAY,EAAE,IAAI,CAAA;KAAE,CACtG,CAAC;IACF,QAAQ,EAAE,MAAM,OAAO,CAAC;QAAE,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;CACzD"}
@@ -0,0 +1,39 @@
1
+ import { default as React } from 'react';
2
+ import { OutlinedInputProps } from '@hiver/hiver-ui-kit';
3
+ import { Props as SelectProps } from 'react-select';
4
+ export interface BaseFormFieldProps {
5
+ helperText?: string;
6
+ error?: boolean;
7
+ name: string;
8
+ toolTipTitle?: string;
9
+ isRequired?: boolean;
10
+ }
11
+ export interface TextFieldBaseProps extends BaseFormFieldProps {
12
+ type: 'text' | 'number' | 'password';
13
+ label?: React.ReactNode;
14
+ }
15
+ export interface TextFieldProps extends TextFieldBaseProps, Omit<OutlinedInputProps, 'label' | 'name' | 'type'> {
16
+ }
17
+ export interface SelectFieldProps extends BaseFormFieldProps, Omit<SelectProps, 'name'> {
18
+ type: 'select';
19
+ label?: string;
20
+ }
21
+ export type FormFieldProps = TextFieldProps | SelectFieldProps;
22
+ export interface IFormConfig {
23
+ id: string | number;
24
+ title?: string;
25
+ formFields: FormFieldProps[];
26
+ }
27
+ export interface IValidateConfig {
28
+ id?: string;
29
+ name: string;
30
+ label?: React.ReactNode | string;
31
+ }
32
+ export interface ElementValidation {
33
+ isRequired?: boolean;
34
+ validate?: (values: unknown, appConfigs: IValidateConfig) => boolean | string;
35
+ }
36
+ export interface FormValidation {
37
+ [x: string]: ElementValidation;
38
+ }
39
+ //# sourceMappingURL=form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/v2/types/form.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,kBAAkB;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB;IAC5D,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;IACrC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB;AAED,MAAM,WAAW,cAAe,SAAQ,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;CAAG;AAElH,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC;IACrF,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG,gBAAgB,CAAC;AAE/D,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,cAAc,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;CAClC;AAED,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,eAAe,KAAK,OAAO,GAAG,MAAM,CAAC;CAC/E;AACD,MAAM,WAAW,cAAc;IAC7B,CAAC,CAAC,EAAE,MAAM,GAAG,iBAAiB,CAAC;CAChC"}
@@ -0,0 +1,7 @@
1
+ export type JSONPrimitive = string | number | boolean | null;
2
+ export type JSONObject = {
3
+ [k: string]: JSONValue;
4
+ };
5
+ export type JSONArray = JSONValue[];
6
+ export type JSONValue = JSONArray | JSONObject | JSONPrimitive;
7
+ //# sourceMappingURL=json.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../src/v2/types/json.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAC7D,MAAM,MAAM,UAAU,GAAG;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;AACpD,MAAM,MAAM,SAAS,GAAG,SAAS,EAAE,CAAC;AACpC,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { To } from 'react-router-dom';
2
+ export interface SidebarItem {
3
+ id: string;
4
+ value: string;
5
+ route: To;
6
+ }
7
+ export type SidebarList = SidebarItem[];
8
+ //# sourceMappingURL=sidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/v2/types/sidebar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAE3C,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,EAAE,CAAC;CACX;AAED,MAAM,MAAM,WAAW,GAAG,WAAW,EAAE,CAAC"}
@@ -0,0 +1,35 @@
1
+ export interface IVisibilityModal {
2
+ emailSMs?: string[];
3
+ roles?: string[];
4
+ fields?: IField[];
5
+ id: string;
6
+ handleClose: () => void;
7
+ currentConnectorId: string;
8
+ setShowEnabledModal: (T: boolean) => void;
9
+ title: string;
10
+ setVisitedFieldVisTab: (value: React.SetStateAction<boolean>) => void;
11
+ }
12
+ export interface IOptions {
13
+ [T: string]: string;
14
+ }
15
+ export interface IField {
16
+ key: string;
17
+ label: string;
18
+ enabled: boolean;
19
+ priority: number;
20
+ isFieldNew: boolean;
21
+ isFieldCustom: boolean;
22
+ }
23
+ export interface IDDMapping {
24
+ type: string;
25
+ options: IOptions[];
26
+ label: string;
27
+ isSingleSelect: boolean;
28
+ }
29
+ export interface ITabsMap {
30
+ [T: string]: {
31
+ ID: number;
32
+ LABEL: string;
33
+ };
34
+ }
35
+ //# sourceMappingURL=visibility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visibility.d.ts","sourceRoot":"","sources":["../../../src/v2/types/visibility.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;CACvE;AAED,MAAM,WAAW,QAAQ;IACvB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,QAAQ,EAAE,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,QAAQ;IACvB,CAAC,CAAC,EAAE,MAAM,GAAG;QACX,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH"}
@@ -0,0 +1,28 @@
1
+ import { FormFieldProps, IFormConfig } from '@connector/ui';
2
+ import { IAvailableFtr } from '../types/app';
3
+ export declare function listToDict<T>(list: T[], idGen: (arg: T) => string): {
4
+ [k: string]: T;
5
+ };
6
+ export declare function getIdList<T>(list: T[], idGen: (arg: T) => string): string[];
7
+ export declare function getFlatFormFields<T extends string>(formConfig: IFormConfig[]): Partial<Record<T, FormFieldProps>>;
8
+ /**
9
+ * Function to check whether the specified feature(featureName) is availabe or not.
10
+ * @param {Object} availableFeatures
11
+ * @param {String} featureName
12
+ */
13
+ export declare const isFeatureAvailable: (availableFeatures: IAvailableFtr | undefined, featureName: string) => boolean;
14
+ export declare const isUpgradeFlow: (availableFeatures: IAvailableFtr) => boolean;
15
+ export declare const showNewChips: (availableFeatures: IAvailableFtr) => boolean;
16
+ export declare const showConnectorsEnhancements: (availableFeatures: IAvailableFtr) => boolean;
17
+ export declare const openChatWindow: (email?: string, name?: string, referrer?: string) => void;
18
+ export declare const copyText: (copyText: string, callback?: (isFailed: boolean) => void) => Promise<void>;
19
+ export declare const checkIsAdminOrMailBoxAdmin: (userPermissions: string[]) => boolean;
20
+ export declare const checkIsAdmin: (userPermissions: string[]) => boolean;
21
+ export declare const getClassNames: (classObj: {
22
+ [key: string]: boolean;
23
+ }) => string;
24
+ export declare const mapToArray: <T>(count: number, callbackFn: (index: number) => T) => T[];
25
+ export declare const replacePlaceholders: (template: string, values: {
26
+ [key: string]: string | number;
27
+ }) => string;
28
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v2/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAU5D,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,wBAAgB,UAAU,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,GAAG;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,CAAC,CAAA;CAAE,CAStF;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,YAEhE;AAED,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,CAQjH;AACD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,sBAAuB,aAAa,2BAAoB,MAAM,YAM5F,CAAC;AAEF,eAAO,MAAM,aAAa,sBAAuB,aAAa,YAK7D,CAAC;AAEF,eAAO,MAAM,YAAY,sBAAuB,aAAa,YACG,CAAC;AAEjE,eAAO,MAAM,0BAA0B,sBAAuB,aAAa,YACP,CAAC;AAErE,eAAO,MAAM,cAAc,WAAY,MAAM,SAAS,MAAM,aAAa,MAAM,SAe9E,CAAC;AAoBF,eAAO,MAAM,QAAQ,aAAoB,MAAM,aAAa,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,kBAWtF,CAAC;AAEF,eAAO,MAAM,0BAA0B,oBAAqB,MAAM,EAAE,YAGnE,CAAC;AAEF,eAAO,MAAM,YAAY,oBAAqB,MAAM,EAAE,YAGrD,CAAC;AAEF,eAAO,MAAM,aAAa,aAAc;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,WAIjE,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,MAAM,cAAc,CAAC,KAAK,EAAE,MAAM,KAAK,CAAC,KAAG,CAAC,EAEhF,CAAC;AAEF,eAAO,MAAM,mBAAmB,aAAc,MAAM,UAAU;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;CAAE,KAAG,MAElG,CAAC"}
@@ -0,0 +1,22 @@
1
+ interface VersionData {
2
+ isExtensionNew: string[];
3
+ sidePanel: string[];
4
+ cards: Record<string, string[]>;
5
+ fieldVisibility: {
6
+ cards: Record<string, string[]>;
7
+ };
8
+ }
9
+ interface LocalStorageData {
10
+ [version: string]: VersionData;
11
+ }
12
+ export declare const getCurrentData: () => LocalStorageData;
13
+ export declare const getCurrentVersion: () => string | undefined;
14
+ export declare const getCurrentVersionData: (version: string) => VersionData;
15
+ export declare const setLSCurrentVersion: (version: string) => void;
16
+ export declare const setLSFieldVisibility: (cardId: string, userId: string) => void;
17
+ export declare const hasVisitedFieldVisibility: (cardId: string, userId: string) => boolean;
18
+ export declare const setLSCard: (cardId: string, userId: string) => void;
19
+ export declare const hasConfiguredVisibility: (cardId: string, userId: string) => boolean;
20
+ export declare const setLSSidePanel: (userId: string) => void;
21
+ export {};
22
+ //# sourceMappingURL=localstorage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localstorage.d.ts","sourceRoot":"","sources":["../../../src/v2/utils/localstorage.ts"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACnB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAChC,eAAe,EAAE;QACf,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;KACjC,CAAC;CACH;AAED,UAAU,gBAAgB;IACxB,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC;CAChC;AAaD,eAAO,MAAM,cAAc,QAAO,gBAMjC,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,MAAM,GAAG,SAG7C,CAAC;AAEF,eAAO,MAAM,qBAAqB,YAAa,MAAM,KAAG,WAEvD,CAAC;AAEF,eAAO,MAAM,mBAAmB,YAAa,MAAM,KAAG,IASrD,CAAC;AAEF,eAAO,MAAM,oBAAoB,WAAY,MAAM,UAAU,MAAM,KAAG,IAyBrE,CAAC;AAEF,eAAO,MAAM,yBAAyB,WAAY,MAAM,UAAU,MAAM,KAAG,OAM1E,CAAC;AAEF,eAAO,MAAM,SAAS,WAAY,MAAM,UAAU,MAAM,SAuBvD,CAAC;AAEF,eAAO,MAAM,uBAAuB,WAAY,MAAM,UAAU,MAAM,YAMrE,CAAC;AAEF,eAAO,MAAM,cAAc,WAAY,MAAM,SAmB5C,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { AllKeys } from '../types/common';
2
+ export declare function isKeyOf<T extends object>(key: string | number | symbol, obj: T): key is AllKeys<T>;
3
+ //# sourceMappingURL=type-guards.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type-guards.d.ts","sourceRoot":"","sources":["../../../src/v2/utils/type-guards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,wBAAgB,OAAO,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,GAAG,IAAI,OAAO,CAAC,CAAC,CAAC,CAElG"}