@hiver/connector-agent 4.4.3-emailLogger-beta.0 → 4.4.3-emailLogger-beta.3

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 (147) hide show
  1. package/app/connector-cards.d.ts.map +1 -1
  2. package/app/email-logger/index.d.ts +1 -1
  3. package/app/email-logger/index.d.ts.map +1 -1
  4. package/app/email-logger/provider.d.ts +2 -1
  5. package/app/email-logger/provider.d.ts.map +1 -1
  6. package/components/test-email/index.d.ts.map +1 -1
  7. package/components/ui/error/index.d.ts +7 -0
  8. package/components/ui/error/index.d.ts.map +1 -0
  9. package/components/ui/feedback/constants.d.ts +2 -0
  10. package/components/ui/feedback/constants.d.ts.map +1 -0
  11. package/components/ui/feedback/form/index.d.ts +13 -0
  12. package/components/ui/feedback/form/index.d.ts.map +1 -0
  13. package/components/ui/feedback/form/styles.d.ts +6 -0
  14. package/components/ui/feedback/form/styles.d.ts.map +1 -0
  15. package/components/ui/feedback/types.d.ts +9 -0
  16. package/components/ui/feedback/types.d.ts.map +1 -0
  17. package/features/connector-cards/components/card-list/CardContent.d.ts.map +1 -1
  18. package/features/connector-cards/store/selectors.d.ts +1 -0
  19. package/features/connector-cards/store/selectors.d.ts.map +1 -1
  20. package/features/connector-cards/utils.d.ts +8 -0
  21. package/features/connector-cards/utils.d.ts.map +1 -1
  22. package/features/connector-highlight/components/data-card/index.d.ts.map +1 -1
  23. package/features/connector-highlight/constant/index.d.ts +2 -0
  24. package/features/connector-highlight/constant/index.d.ts.map +1 -1
  25. package/features/email-logger/api/autoLogToggle.d.ts +12 -0
  26. package/features/email-logger/api/autoLogToggle.d.ts.map +1 -0
  27. package/features/email-logger/api/feedback.d.ts +15 -0
  28. package/features/email-logger/api/feedback.d.ts.map +1 -0
  29. package/features/email-logger/api/getLogStatus.d.ts +162 -0
  30. package/features/email-logger/api/getLogStatus.d.ts.map +1 -0
  31. package/features/email-logger/api/getRecommendations.d.ts +7 -0
  32. package/features/email-logger/api/getRecommendations.d.ts.map +1 -0
  33. package/features/email-logger/api/getSearch.d.ts +11 -0
  34. package/features/email-logger/api/getSearch.d.ts.map +1 -0
  35. package/features/email-logger/api/postLog.d.ts +14 -0
  36. package/features/email-logger/api/postLog.d.ts.map +1 -0
  37. package/features/email-logger/api/retryLog.d.ts +8 -0
  38. package/features/email-logger/api/retryLog.d.ts.map +1 -0
  39. package/features/email-logger/api/validateEntity.d.ts +17 -0
  40. package/features/email-logger/api/validateEntity.d.ts.map +1 -0
  41. package/features/email-logger/components/log-action/index.d.ts +5 -1
  42. package/features/email-logger/components/log-action/index.d.ts.map +1 -1
  43. package/features/email-logger/components/log-action/status-icon/index.d.ts +4 -0
  44. package/features/email-logger/components/log-action/status-icon/index.d.ts.map +1 -0
  45. package/features/email-logger/components/log-action/status-icon/styles.d.ts +6 -0
  46. package/features/email-logger/components/log-action/status-icon/styles.d.ts.map +1 -0
  47. package/features/email-logger/components/log-action/status-text/index.d.ts +7 -0
  48. package/features/email-logger/components/log-action/status-text/index.d.ts.map +1 -0
  49. package/features/email-logger/components/log-action/status-text/styles.d.ts +5 -0
  50. package/features/email-logger/components/log-action/status-text/styles.d.ts.map +1 -0
  51. package/features/email-logger/components/log-action/styles.d.ts +2 -2
  52. package/features/email-logger/components/log-action/styles.d.ts.map +1 -1
  53. package/features/email-logger/components/log-action/tooltip.d.ts +11 -0
  54. package/features/email-logger/components/log-action/tooltip.d.ts.map +1 -0
  55. package/features/email-logger/components/log-status/index.d.ts +3 -1
  56. package/features/email-logger/components/log-status/index.d.ts.map +1 -1
  57. package/features/email-logger/components/log-tooltip/index.d.ts +12 -0
  58. package/features/email-logger/components/log-tooltip/index.d.ts.map +1 -0
  59. package/features/email-logger/components/log-tooltip/styles.d.ts +5 -0
  60. package/features/email-logger/components/log-tooltip/styles.d.ts.map +1 -0
  61. package/features/email-logger/components/select-entity/components/entity-option/index.d.ts +12 -0
  62. package/features/email-logger/components/select-entity/components/entity-option/index.d.ts.map +1 -0
  63. package/features/email-logger/components/select-entity/components/entity-option/styles.d.ts +12 -0
  64. package/features/email-logger/components/select-entity/components/entity-option/styles.d.ts.map +1 -0
  65. package/features/email-logger/components/select-entity/components/entity-suggestions/index.d.ts +12 -0
  66. package/features/email-logger/components/select-entity/components/entity-suggestions/index.d.ts.map +1 -0
  67. package/features/email-logger/components/select-entity/components/entity-suggestions/styles.d.ts +9 -0
  68. package/features/email-logger/components/select-entity/components/entity-suggestions/styles.d.ts.map +1 -0
  69. package/features/email-logger/components/select-entity/components/feedback/index.d.ts +2 -0
  70. package/features/email-logger/components/select-entity/components/feedback/index.d.ts.map +1 -0
  71. package/features/email-logger/components/select-entity/components/feedback/styles.d.ts +7 -0
  72. package/features/email-logger/components/select-entity/components/feedback/styles.d.ts.map +1 -0
  73. package/features/email-logger/components/select-entity/components/footer/index.d.ts +9 -0
  74. package/features/email-logger/components/select-entity/components/footer/index.d.ts.map +1 -0
  75. package/features/email-logger/components/select-entity/components/footer/styles.d.ts +4 -0
  76. package/features/email-logger/components/select-entity/components/footer/styles.d.ts.map +1 -0
  77. package/features/email-logger/components/select-entity/components/loader/index.d.ts +2 -0
  78. package/features/email-logger/components/select-entity/components/loader/index.d.ts.map +1 -0
  79. package/features/email-logger/components/select-entity/components/loader/styles.d.ts +6 -0
  80. package/features/email-logger/components/select-entity/components/loader/styles.d.ts.map +1 -0
  81. package/features/email-logger/components/select-entity/components/search-options/index.d.ts +11 -0
  82. package/features/email-logger/components/select-entity/components/search-options/index.d.ts.map +1 -0
  83. package/features/email-logger/components/select-entity/components/search-options/option.d.ts +10 -0
  84. package/features/email-logger/components/select-entity/components/search-options/option.d.ts.map +1 -0
  85. package/features/email-logger/components/select-entity/components/search-options/styles.d.ts +5 -0
  86. package/features/email-logger/components/select-entity/components/search-options/styles.d.ts.map +1 -0
  87. package/features/email-logger/components/select-entity/components/search-results/index.d.ts +12 -0
  88. package/features/email-logger/components/select-entity/components/search-results/index.d.ts.map +1 -0
  89. package/features/email-logger/components/select-entity/components/search-results/result.d.ts +8 -0
  90. package/features/email-logger/components/select-entity/components/search-results/result.d.ts.map +1 -0
  91. package/features/email-logger/components/select-entity/components/search-results/styles.d.ts +8 -0
  92. package/features/email-logger/components/select-entity/components/search-results/styles.d.ts.map +1 -0
  93. package/features/email-logger/components/select-entity/index.d.ts +8 -0
  94. package/features/email-logger/components/select-entity/index.d.ts.map +1 -0
  95. package/features/email-logger/components/select-entity/styles.d.ts +17 -0
  96. package/features/email-logger/components/select-entity/styles.d.ts.map +1 -0
  97. package/features/email-logger/components/unAuth-tooltip/index.d.ts +11 -0
  98. package/features/email-logger/components/unAuth-tooltip/index.d.ts.map +1 -0
  99. package/features/email-logger/components/unAuth-tooltip/styles.d.ts +10 -0
  100. package/features/email-logger/components/unAuth-tooltip/styles.d.ts.map +1 -0
  101. package/features/email-logger/components/unAuth-tooltip/tooltip-content.d.ts +8 -0
  102. package/features/email-logger/components/unAuth-tooltip/tooltip-content.d.ts.map +1 -0
  103. package/features/email-logger/components/welcome-banner/content.d.ts +6 -0
  104. package/features/email-logger/components/welcome-banner/content.d.ts.map +1 -0
  105. package/features/email-logger/components/welcome-banner/index.d.ts +9 -0
  106. package/features/email-logger/components/welcome-banner/index.d.ts.map +1 -0
  107. package/features/email-logger/components/welcome-banner/styles.d.ts +11 -0
  108. package/features/email-logger/components/welcome-banner/styles.d.ts.map +1 -0
  109. package/features/email-logger/constants/api.d.ts +9 -0
  110. package/features/email-logger/constants/api.d.ts.map +1 -0
  111. package/features/email-logger/constants/index.d.ts +34 -0
  112. package/features/email-logger/constants/index.d.ts.map +1 -0
  113. package/features/email-logger/context/contexts.d.ts +8 -0
  114. package/features/email-logger/context/contexts.d.ts.map +1 -0
  115. package/features/email-logger/context/index.d.ts +8 -0
  116. package/features/email-logger/context/index.d.ts.map +1 -0
  117. package/features/email-logger/index.d.ts +3 -5
  118. package/features/email-logger/index.d.ts.map +1 -1
  119. package/features/email-logger/types/api.d.ts +19 -0
  120. package/features/email-logger/types/api.d.ts.map +1 -0
  121. package/features/email-logger/types/index.d.ts +79 -0
  122. package/features/email-logger/types/index.d.ts.map +1 -0
  123. package/features/email-logger/utils/GmalLogObserver.d.ts +14 -4
  124. package/features/email-logger/utils/GmalLogObserver.d.ts.map +1 -1
  125. package/features/email-logger/utils/index.d.ts +5 -0
  126. package/features/email-logger/utils/index.d.ts.map +1 -0
  127. package/features/email-logger/utils/styles.d.ts +2 -0
  128. package/features/email-logger/utils/styles.d.ts.map +1 -0
  129. package/index.es.js +8805 -7560
  130. package/index.umd.js +607 -269
  131. package/main-test.d.ts +2 -0
  132. package/main-test.d.ts.map +1 -0
  133. package/main.d.ts.map +1 -1
  134. package/package.json +1 -1
  135. package/testing/mocks/handlers/email-logger.d.ts +11 -0
  136. package/testing/mocks/handlers/email-logger.d.ts.map +1 -0
  137. package/testing/mocks/handlers/fetch-cards.d.ts +1 -1
  138. package/testing/mocks/handlers/fetch-cards.d.ts.map +1 -1
  139. package/testing/mocks/handlers.d.ts.map +1 -1
  140. package/types/cards.d.ts +15 -0
  141. package/types/cards.d.ts.map +1 -1
  142. package/utils/poll.d.ts +5 -1
  143. package/utils/poll.d.ts.map +1 -1
  144. package/features/email-logger/types.d.ts +0 -25
  145. package/features/email-logger/types.d.ts.map +0 -1
  146. package/utils/validations.d.ts +0 -10
  147. package/utils/validations.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/log-tooltip/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAElE,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,YAAY,CAerD,CAAC;AAEJ,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAGpD,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { Dispatch, SetStateAction } from 'react';
2
+ import { Entity, SelectedEntity, CheckedEntityRecords } from '../../../../types';
3
+ type EntityOptionProps = {
4
+ connectorName: string;
5
+ entity: Entity | SelectedEntity;
6
+ checked: boolean;
7
+ disabled?: boolean;
8
+ setCheckedEntities?: Dispatch<SetStateAction<CheckedEntityRecords>>;
9
+ };
10
+ export declare const EntityOption: ({ connectorName, entity, checked, disabled, setCheckedEntities }: EntityOptionProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/entity-option/index.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,oBAAoB,EAAiB,MAAM,+BAA+B,CAAC;AAEjH,KAAK,iBAAiB,GAAG;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,GAAG,cAAc,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,YAAY,qEAAsE,iBAAiB,4CAqE/G,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { SVGProps } from 'react';
3
+ import { StackProps, CheckboxProps } from '@hiver/hiver-ui-kit';
4
+ type ContainerProps = {
5
+ disabled?: boolean;
6
+ } & StackProps;
7
+ export declare const Container: StyledComponent<ContainerProps>;
8
+ export declare const Checkbox: StyledComponent<CheckboxProps>;
9
+ export declare const EntityLoading: StyledComponent<SVGProps<SVGSVGElement>>;
10
+ export declare const IconBox: StyledComponent<StackProps>;
11
+ export {};
12
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/entity-option/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAKlD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAErE,KAAK,cAAc,GAAG;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,UAAU,CAAC;AAEf,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,cAAc,CAmBrD,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,aAAa,CAYnD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,QAAQ,CAAC,aAAa,CAAC,CAKlE,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,eAAe,CAAC,UAAU,CAE/C,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { Dispatch, SetStateAction } from 'react';
2
+ import { CheckedEntityRecords, Entity, SelectedEntity } from '../../../../types';
3
+ type EntitySuggestionsProps = {
4
+ connectorName: string;
5
+ entities: (Entity | SelectedEntity)[];
6
+ checkedEntities?: CheckedEntityRecords;
7
+ disabled?: boolean;
8
+ setCheckedEntities?: Dispatch<SetStateAction<CheckedEntityRecords>>;
9
+ };
10
+ export declare const EntitySuggestions: ({ connectorName, entities, checkedEntities, disabled, setCheckedEntities }: EntitySuggestionsProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/entity-suggestions/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAc,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE7F,KAAK,sBAAsB,GAAG;IAC5B,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,CAAC,MAAM,GAAG,cAAc,CAAC,EAAE,CAAC;IACtC,eAAe,CAAC,EAAE,oBAAoB,CAAC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,iBAAiB,+EAM3B,sBAAsB,4CAuCxB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { StackProps, TypographyProps } from '@hiver/hiver-ui-kit';
3
+ export declare const BaseContainer: StyledComponent<StackProps>;
4
+ export declare const Scrollable: StyledComponent<StackProps>;
5
+ export declare const TypeGroup: StyledComponent<StackProps>;
6
+ export declare const TypeHeader: StyledComponent<StackProps>;
7
+ export declare const TypeText: StyledComponent<TypographyProps>;
8
+ export declare const EntityGroup: StyledComponent<StackProps>;
9
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/entity-suggestions/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEvE,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAIrD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,UAAU,CAMlD,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,UAAU,CAajD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,UAAU,CAalD,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,eAAe,CAMrD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,UAAU,CAEnD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const Feedback: () => import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/feedback/index.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,QAAQ,+CAoEpB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { StackProps, IconButtonProps, TooltipProps, TypographyProps } from '@hiver/hiver-ui-kit';
3
+ export declare const BaseContainer: StyledComponent<StackProps>;
4
+ export declare const FeedbackButton: StyledComponent<IconButtonProps>;
5
+ export declare const PromptText: StyledComponent<TypographyProps>;
6
+ export declare const FeedbackTooltip: StyledComponent<TooltipProps>;
7
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/feedback/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtG,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAQrD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,eAAe,CAI3D,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,eAAe,CAMvD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,YAAY,CAGzD,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { CheckedEntityRecords } from '../../../../types';
2
+ type FooterProps = {
3
+ checkedEntities: CheckedEntityRecords;
4
+ close: () => void;
5
+ connectorName: string;
6
+ };
7
+ export declare const Footer: ({ checkedEntities, close, connectorName }: FooterProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/footer/index.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,KAAK,WAAW,GAAG;IACjB,eAAe,EAAE,oBAAoB,CAAC;IACtC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,MAAM,8CAA+C,WAAW,4CAyD5E,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { StackProps } from '@hiver/hiver-ui-kit';
3
+ export declare const BaseContainer: StyledComponent<StackProps>;
4
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/footer/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAiBrD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const Loader: () => import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/loader/index.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,+CASlB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { SVGProps } from 'react';
3
+ import { StackProps } from '@hiver/hiver-ui-kit';
4
+ export declare const BaseContainer: StyledComponent<StackProps>;
5
+ export declare const LoadingIconStyled: StyledComponent<SVGProps<SVGSVGElement>>;
6
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/loader/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAMlD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAKrD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,eAAe,CAAC,QAAQ,CAAC,aAAa,CAAC,CAKtE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { SearchForm } from '../../../../types';
2
+ import { SearchEntitiesProps } from '../../../../api/getSearch';
3
+ type SearchOptionsProps = {
4
+ searchText: string;
5
+ connectorName: string;
6
+ options: SearchForm[];
7
+ onSearch: (props: SearchEntitiesProps) => void;
8
+ };
9
+ export declare const SearchOptions: ({ searchText, connectorName, options, onSearch }: SearchOptionsProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/search-options/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,KAAK,kBAAkB,GAAG;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,aAAa,qDAAsD,kBAAkB,4CAqBjG,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { SearchForm } from '../../../../types';
2
+ type SearchOptionProps = {
3
+ searchText: string;
4
+ connectorName: string;
5
+ formData: SearchForm;
6
+ onClick: () => void;
7
+ };
8
+ export declare const SearchOption: ({ searchText, connectorName, formData, onClick }: SearchOptionProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=option.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"option.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/search-options/option.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAEhE,KAAK,iBAAiB,GAAG;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,UAAU,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,YAAY,qDAAsD,iBAAiB,4CAS/F,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { StackProps } from '@hiver/hiver-ui-kit';
3
+ export declare const BaseContainer: StyledComponent<StackProps>;
4
+ export declare const OptionContainer: StyledComponent<StackProps>;
5
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/search-options/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAIrD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,UAAU,CAWvD,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { CheckedEntity, SearchEntity } from '../../../../types';
2
+ type SearchResultsProps = {
3
+ connectorName: string;
4
+ searchObject: string;
5
+ formId: string;
6
+ searchText?: string;
7
+ results: SearchEntity[];
8
+ addEntity: (entity: CheckedEntity) => void;
9
+ };
10
+ export declare const SearchResults: ({ connectorName, results, formId, searchObject, addEntity }: SearchResultsProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/search-results/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAGjF,KAAK,kBAAkB,GAAG;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,SAAS,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,aAAa,gEAAiE,kBAAkB,4CA0C5G,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { SearchResult } from '../../../../types';
2
+ type ResultProps = {
3
+ entity: SearchResult;
4
+ onLog: () => void;
5
+ };
6
+ export declare const Result: ({ entity, onLog }: ResultProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=result.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"result.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/search-results/result.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,YAAY,CAAC;IACrB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,MAAM,sBAAuB,WAAW,4CAapD,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { StackProps } from '@hiver/hiver-ui-kit';
2
+ import { StyledComponent } from '@emotion/styled';
3
+ export declare const SearchItem: StyledComponent<StackProps & {
4
+ disableHover?: boolean;
5
+ }>;
6
+ export declare const BaseContainer: StyledComponent<StackProps>;
7
+ export declare const Content: StyledComponent<StackProps>;
8
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/search-results/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,UAAU,EAAiB,MAAM,qBAAqB,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,UAAU,GAAG;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAE,CAc/E,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAKrD,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,eAAe,CAAC,UAAU,CAI/C,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { LogStatusResponse } from '../../types/api';
2
+ type SelectEntityProps = {
3
+ emailLogStatus: LogStatusResponse;
4
+ close: () => void;
5
+ };
6
+ export declare const SelectEntity: ({ emailLogStatus, close }: SelectEntityProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/select-entity/index.tsx"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAKzD,KAAK,iBAAiB,GAAG;IACvB,cAAc,EAAE,iBAAiB,CAAC;IAClC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,YAAY,8BAA+B,iBAAiB,4CAsLxE,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { ImgHTMLAttributes } from 'react';
3
+ import { StackProps, OutlinedInputProps, SwitchProps } from '@hiver/hiver-ui-kit';
4
+ export declare const BaseContainer: StyledComponent<StackProps>;
5
+ export declare const Header: StyledComponent<StackProps>;
6
+ export declare const Left: StyledComponent<StackProps>;
7
+ export declare const Right: StyledComponent<StackProps>;
8
+ export declare const IconBox: StyledComponent<StackProps>;
9
+ export declare const ConnectorIcon: StyledComponent<ImgHTMLAttributes<HTMLImageElement>>;
10
+ export declare const Content: StyledComponent<StackProps>;
11
+ export declare const Expanded: StyledComponent<StackProps>;
12
+ export declare const Scrollable: StyledComponent<StackProps>;
13
+ export declare const SearchBox: StyledComponent<StackProps>;
14
+ export declare const SearchInput: StyledComponent<OutlinedInputProps>;
15
+ export declare const SearchIconBox: StyledComponent<StackProps>;
16
+ export declare const AutoLogSwitch: StyledComponent<SwitchProps>;
17
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/select-entity/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAIrD,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,UAAU,CAO9C,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,eAAe,CAAC,UAAU,CAK5C,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,eAAe,CAAC,UAAU,CAK7C,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,eAAe,CAAC,UAAU,CAI/C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAG9E,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,eAAe,CAAC,UAAU,CAE/C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,UAAU,CAIhD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,UAAU,CAOlD,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,UAAU,CAGjD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,kBAAkB,CAmB3D,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CASrD,CAAC;AAIF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,WAAW,CAyBpD,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ interface UnAuthTooltipProps {
3
+ isAdmin: boolean;
4
+ isAuthenticated: boolean;
5
+ connectorId: string;
6
+ connectorName: string;
7
+ children: React.ReactElement;
8
+ }
9
+ export declare const UnAuthTooltip: ({ isAdmin, isAuthenticated, connectorId, connectorName, children }: UnAuthTooltipProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/unAuth-tooltip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,kBAAkB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;CAC9B;AAED,eAAO,MAAM,aAAa,uEAMvB,kBAAkB,4CAkBpB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { StyledComponent } from '@emotion/styled';
3
+ import { BoxProps, TypographyProps } from '@hiver/hiver-ui-kit';
4
+ export declare const tooltipStyle: React.CSSProperties;
5
+ export declare const arrowStyle: React.CSSProperties;
6
+ export declare const ContentWrapper: StyledComponent<BoxProps>;
7
+ export declare const Title: StyledComponent<TypographyProps>;
8
+ export declare const Message: StyledComponent<TypographyProps>;
9
+ export declare const Footer: StyledComponent<BoxProps>;
10
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/unAuth-tooltip/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAErE,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,aAShC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,aAE9B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAEpD,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,eAAe,CAAC,eAAe,CAKlD,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,eAAe,CAAC,eAAe,CAMpD,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,QAAQ,CAM5C,CAAC"}
@@ -0,0 +1,8 @@
1
+ interface TooltipContentProps {
2
+ isAdmin: boolean;
3
+ connectorId: string;
4
+ connectorName: string;
5
+ }
6
+ export declare const TooltipContent: ({ isAdmin, connectorId, connectorName }: TooltipContentProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=tooltip-content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip-content.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/unAuth-tooltip/tooltip-content.tsx"],"names":[],"mappings":"AAWA,UAAU,mBAAmB;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,cAAc,4CAA6C,mBAAmB,4CA0B1F,CAAC"}
@@ -0,0 +1,6 @@
1
+ export type WelcomeBannerProps = {
2
+ onContinue?: () => void;
3
+ connectorName: string;
4
+ };
5
+ export declare const WelcomeBanner: ({ onContinue, connectorName }: WelcomeBannerProps) => import("react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/welcome-banner/content.tsx"],"names":[],"mappings":"AAQA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,aAAa,kCAAmC,kBAAkB,4CAyB9E,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { ReactElement } from 'react';
2
+ interface UnAuthTooltipProps {
3
+ onContinue?: () => void;
4
+ connectorName: string;
5
+ children: ReactElement;
6
+ }
7
+ export declare const WelcomeBannerTooltip: ({ children, onContinue, connectorName }: UnAuthTooltipProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/welcome-banner/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,UAAU,kBAAkB;IAC1B,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,YAAY,CAAC;CACxB;AAED,eAAO,MAAM,oBAAoB,4CAA6C,kBAAkB,4CAoB/F,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { ImgHTMLAttributes, CSSProperties } from 'react';
3
+ import { StackProps, TypographyProps } from '@hiver/hiver-ui-kit';
4
+ export declare const tooltipStyle: CSSProperties;
5
+ export declare const arrowStyle: CSSProperties;
6
+ export declare const BaseContainer: StyledComponent<StackProps>;
7
+ export declare const WelcomeImage: StyledComponent<ImgHTMLAttributes<HTMLImageElement>>;
8
+ export declare const TitleText: StyledComponent<TypographyProps>;
9
+ export declare const MessageText: StyledComponent<TypographyProps>;
10
+ export declare const Footer: StyledComponent<StackProps>;
11
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/welcome-banner/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEvE,eAAO,MAAM,YAAY,EAAE,aAQ1B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,aAExB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAGrD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAO7E,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,eAAe,CAOtD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAOxD,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,UAAU,CAK9C,CAAC"}
@@ -0,0 +1,9 @@
1
+ export declare const EMAIL_STATUS: string;
2
+ export declare const ENTITY_RECOMMENDATIONS: string;
3
+ export declare const RETRY_EMAILS_LOG: string;
4
+ export declare const VALIDATE_ENTITY: string;
5
+ export declare const SEARCH_ENTITIES: string;
6
+ export declare const LOG_EMAIL: string;
7
+ export declare const SUBMIT_FEEDBACK: string;
8
+ export declare const TOGGLE_AUTO_LOG: string;
9
+ //# sourceMappingURL=api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/constants/api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,EAAE,MAAoE,CAAC;AAChG,eAAO,MAAM,sBAAsB,EAAE,MAA0E,CAAC;AAChH,eAAO,MAAM,gBAAgB,EAAE,MAAoE,CAAC;AAGpG,eAAO,MAAM,eAAe,EAAE,MAAmE,CAAC;AAClG,eAAO,MAAM,eAAe,EAAE,MAAqD,CAAC;AACpF,eAAO,MAAM,SAAS,EAAE,MAAwE,CAAC;AACjG,eAAO,MAAM,eAAe,EAAE,MAAsE,CAAC;AAGrG,eAAO,MAAM,eAAe,EAAE,MAAwE,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { FeedbackOption } from '../../../components/ui/feedback/types';
2
+ export declare const AUTO_LOG_TOOLTIP_TEXT = "Turn off to stop auto logging future threads for this conversation";
3
+ export declare const AUTH_FAIL_TITLE = "Authentication Failed";
4
+ export declare const AUTH_ADMIN_FAIL_MSG = "Retry authentication to use this functionality and save in ':connectorName'";
5
+ export declare const AUTH_NON_ADMIN_FAIL_MSG = "Reach out to your admin to reauthenticate :connectorName";
6
+ export declare const WELCOME_IMAGE = "https://cdn.hiverhq.com/connectors-module/assets/RequestConnector.svg";
7
+ export declare const WELCOME_BANNER_TITLE = "Save conversations with Log email";
8
+ export declare const WELCOME_BANNER_MESSAGE = "Each email thread can be saved in your CRM database with Log email";
9
+ export declare const WELCOME_STORAGE_KEY = "connector-agent_email-logger_welcomed";
10
+ export declare const FEEDBACK_TITLE = "Please provide us feedback on why you are disabling email logging?";
11
+ export declare const THUMBS_UP_MSG = "Everything looks good";
12
+ export declare const THUMBS_DOWN_MSG = "Something is not working";
13
+ export declare const PROMPT_MSG = "Please provide your feedback";
14
+ export declare const SUCCESS_FEEDBACK_TOAST_MSG = "Feedback submitted";
15
+ export declare const FAILED_FEEDBACK_TOAST_MSG = "Failed to submit feedback";
16
+ export declare const FEEDBACK_TYPE = "email-logging";
17
+ export declare const FEEDBACK_OPTIONS: FeedbackOption[];
18
+ export declare const TRACKING_EVENTS: {
19
+ email_logging_intro_popup_shown: string;
20
+ email_logging_intro_popup_continue_clicked: string;
21
+ email_logging_intro_popup_learn_more_clicked: string;
22
+ email_logging_log_config_saved: string;
23
+ email_logging_log_config_canceled: string;
24
+ email_logging_auto_log_enabled: string;
25
+ email_logging_auto_log_disabled: string;
26
+ email_logging_search_initiated: string;
27
+ email_logging_search_results_found: string;
28
+ email_logging_search_result_selected: string;
29
+ email_logging_smart_suggestion_initiated: string;
30
+ email_logging_smart_suggestion_selected: string;
31
+ email_logging_smart_suggestion_not_found: string;
32
+ email_logging_failed_clicked: string;
33
+ };
34
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAGhE,eAAO,MAAM,qBAAqB,uEAAuE,CAAC;AAC1G,eAAO,MAAM,eAAe,0BAA0B,CAAC;AACvD,eAAO,MAAM,mBAAmB,gFAAgF,CAAC;AACjH,eAAO,MAAM,uBAAuB,6DAA6D,CAAC;AAKlG,eAAO,MAAM,aAAa,0EAA0E,CAAC;AAErG,eAAO,MAAM,oBAAoB,sCAAsC,CAAC;AACxE,eAAO,MAAM,sBAAsB,uEAAuE,CAAC;AAC3G,eAAO,MAAM,mBAAmB,0CAA0C,CAAC;AAG3E,eAAO,MAAM,cAAc,uEAAuE,CAAC;AACnG,eAAO,MAAM,aAAa,0BAA0B,CAAC;AACrD,eAAO,MAAM,eAAe,6BAA6B,CAAC;AAC1D,eAAO,MAAM,UAAU,iCAAiC,CAAC;AACzD,eAAO,MAAM,0BAA0B,uBAAuB,CAAC;AAC/D,eAAO,MAAM,yBAAyB,8BAA8B,CAAC;AACrE,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,gBAAgB,EAAE,cAAc,EAiB5C,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;CAe3B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ConnectorFunctions } from '../types';
2
+ export type ContextData = {
3
+ conversationId?: string;
4
+ isAdmin?: boolean;
5
+ connectorFunctions?: ConnectorFunctions;
6
+ };
7
+ export declare const EmailLoggerContext: import('react').Context<ContextData>;
8
+ //# sourceMappingURL=contexts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/context/contexts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,MAAM,MAAM,WAAW,GAAG;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,kBAAkB,sCAAiC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+ import { ContextData } from './contexts';
3
+ type EmailLoggerProviderProps = ContextData & {
4
+ children: ReactNode;
5
+ };
6
+ export type { ContextData };
7
+ export declare const EmailLoggerProvider: ({ conversationId, connectorFunctions, children }: EmailLoggerProviderProps) => import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/context/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAW,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAsB,WAAW,EAAE,MAAM,YAAY,CAAC;AAE7D,KAAK,wBAAwB,GAAG,WAAW,GAAG;IAC5C,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B,eAAO,MAAM,mBAAmB,qDAAsD,wBAAwB,4CAU7G,CAAC"}
@@ -1,9 +1,7 @@
1
- import { ConnectorFunctions, Observer } from './types';
1
+ import { Observer } from './types';
2
2
  interface LogControllerProps {
3
- conversationId?: string;
4
- connectorFunctions: ConnectorFunctions;
5
- observer: Observer;
3
+ observer: Observer | null;
6
4
  }
7
- export declare const LogController: ({ conversationId, connectorFunctions, observer }: LogControllerProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const LogController: ({ observer }: LogControllerProps) => import("react/jsx-runtime").JSX.Element | null;
8
6
  export {};
9
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/email-logger/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAgB,MAAM,SAAS,CAAC;AAE1E,UAAU,kBAAkB;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,qDAAsD,kBAAkB,4CA4CjG,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/email-logger/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAgB,MAAM,SAAS,CAAC;AAEtD,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;CAC3B;AAED,eAAO,MAAM,aAAa,iBAAkB,kBAAkB,mDA8D7D,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { Entity, LogSettings, MessageLogStatus, SearchForm, SearchEntity, SelectedEntity } from '.';
2
+ export type LogStatusResponse = {
3
+ emailLogSettings: LogSettings;
4
+ autoLogEnabled: boolean;
5
+ messageLogStatus: MessageLogStatus;
6
+ selectedEntities: SelectedEntity[];
7
+ formList: SearchForm[];
8
+ };
9
+ export type EntityRecommendationsResponse = {
10
+ connector_id: string;
11
+ results: Entity[];
12
+ };
13
+ export type SearchEntitiesResponse = SearchEntity[];
14
+ export type SearchEntitiesModifiedResponse = {
15
+ results: SearchEntitiesResponse;
16
+ searchObject: string;
17
+ formId: string;
18
+ };
19
+ //# sourceMappingURL=api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/types/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,gBAAgB,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,GAAG,CAAC;AAEpG,MAAM,MAAM,iBAAiB,GAAG;IAC9B,gBAAgB,EAAE,WAAW,CAAC;IAC9B,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,gBAAgB,EAAE,cAAc,EAAE,CAAC;IACnC,QAAQ,EAAE,UAAU,EAAE,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,YAAY,EAAE,CAAC;AACpD,MAAM,MAAM,8BAA8B,GAAG;IAC3C,OAAO,EAAE,sBAAsB,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
@@ -0,0 +1,79 @@
1
+ import { ITrackingData } from '../../../context';
2
+ export interface ConnectorFunctions {
3
+ goToApps: () => void;
4
+ redirectToAdmin: (id: string) => void;
5
+ sendTrackingEvent: (event: string, data?: ITrackingData) => void;
6
+ }
7
+ export interface EmailBody {
8
+ messageId: string;
9
+ element: HTMLElement;
10
+ }
11
+ export type ObserverData = {
12
+ element: HTMLElement;
13
+ messageId?: string | null;
14
+ legacyMessageId?: string | null;
15
+ };
16
+ export type SetButtonContainersFn = (containers: Record<string, ObserverData>) => void;
17
+ export type ObserveParams = {
18
+ setComposeButtonContainers?: SetButtonContainersFn;
19
+ setEmailButtonContainers?: SetButtonContainersFn;
20
+ setSubjectButtonContainers?: SetButtonContainersFn;
21
+ };
22
+ export interface Observer {
23
+ observe: (params: ObserveParams) => void;
24
+ destroy: () => void;
25
+ }
26
+ export declare enum LogStatusEnum {
27
+ NOT_LOGGED = "NOT_LOGGED",
28
+ PENDING = "PENDING",
29
+ LOGGED = "LOGGED",
30
+ ERROR = "ERROR",
31
+ UNAUTHENTICATED = "UNAUTHENTICATED"
32
+ }
33
+ export type Entity = {
34
+ app: string;
35
+ entityType: string;
36
+ displayValue: string;
37
+ formId: string;
38
+ };
39
+ export type SelectedEntity = Pick<Entity, 'displayValue' | 'entityType'> & Partial<Entity>;
40
+ export type EntityGroup = {
41
+ type: string;
42
+ entities: (Entity | SelectedEntity)[];
43
+ };
44
+ export type SearchForm = {
45
+ id: string;
46
+ searchObject: string;
47
+ };
48
+ export type SearchEntity = {
49
+ externalResourceId: string;
50
+ name: string;
51
+ };
52
+ export type CheckedEntity = Entity & SearchEntity;
53
+ export type CheckedEntityRecords = Record<string, CheckedEntity>;
54
+ export type SearchResult = SearchEntity & SearchForm;
55
+ export declare enum ConnectorStatus {
56
+ ENABLED = "enabled",
57
+ UNAUTHENTICATED = "unauthenticated",
58
+ DISABLED = "disabled"
59
+ }
60
+ export type LogSettings = {
61
+ enabled: boolean;
62
+ connectorId: string;
63
+ connectorStatus: `${ConnectorStatus}`;
64
+ logoUrl: string;
65
+ connectorName: string;
66
+ };
67
+ export type MessageLogStatus = {
68
+ logged: number;
69
+ failed: number;
70
+ total: number;
71
+ pending: number;
72
+ };
73
+ export interface FeedbackData {
74
+ feedbackType: string;
75
+ comment?: string;
76
+ positiveFeedback?: boolean;
77
+ option?: string;
78
+ }
79
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/types/index.ts"],"names":[],"mappings":"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"}