@hiver/connector-agent 4.4.4 → 4.5.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.
- package/app/email-logger/index.d.ts +9 -0
- package/app/email-logger/index.d.ts.map +1 -0
- package/app/email-logger/provider.d.ts +7 -0
- package/app/email-logger/provider.d.ts.map +1 -0
- package/components/test-email/index.d.ts +4 -0
- package/components/test-email/index.d.ts.map +1 -0
- package/components/ui/error/index.d.ts +7 -0
- package/components/ui/error/index.d.ts.map +1 -0
- package/components/ui/feedback/constants.d.ts +2 -0
- package/components/ui/feedback/constants.d.ts.map +1 -0
- package/components/ui/feedback/form/index.d.ts +14 -0
- package/components/ui/feedback/form/index.d.ts.map +1 -0
- package/components/ui/feedback/form/styles.d.ts +10 -0
- package/components/ui/feedback/form/styles.d.ts.map +1 -0
- package/components/ui/feedback/types.d.ts +9 -0
- package/components/ui/feedback/types.d.ts.map +1 -0
- package/constants/noConnector.d.ts +1 -1
- package/constants/noConnector.d.ts.map +1 -1
- package/features/email-logger/api/autoLogToggle.d.ts +12 -0
- package/features/email-logger/api/autoLogToggle.d.ts.map +1 -0
- package/features/email-logger/api/feedback.d.ts +15 -0
- package/features/email-logger/api/feedback.d.ts.map +1 -0
- package/features/email-logger/api/getLogStatus.d.ts +6 -0
- package/features/email-logger/api/getLogStatus.d.ts.map +1 -0
- package/features/email-logger/api/getRecommendations.d.ts +7 -0
- package/features/email-logger/api/getRecommendations.d.ts.map +1 -0
- package/features/email-logger/api/getSearch.d.ts +11 -0
- package/features/email-logger/api/getSearch.d.ts.map +1 -0
- package/features/email-logger/api/postLog.d.ts +15 -0
- package/features/email-logger/api/postLog.d.ts.map +1 -0
- package/features/email-logger/api/retryLog.d.ts +8 -0
- package/features/email-logger/api/retryLog.d.ts.map +1 -0
- package/features/email-logger/api/validateEntity.d.ts +17 -0
- package/features/email-logger/api/validateEntity.d.ts.map +1 -0
- package/features/email-logger/components/log-action/index.d.ts +11 -0
- package/features/email-logger/components/log-action/index.d.ts.map +1 -0
- package/features/email-logger/components/log-action/status-icon/index.d.ts +4 -0
- package/features/email-logger/components/log-action/status-icon/index.d.ts.map +1 -0
- package/features/email-logger/components/log-action/status-icon/styles.d.ts +6 -0
- package/features/email-logger/components/log-action/status-icon/styles.d.ts.map +1 -0
- package/features/email-logger/components/log-action/status-text/index.d.ts +7 -0
- package/features/email-logger/components/log-action/status-text/index.d.ts.map +1 -0
- package/features/email-logger/components/log-action/status-text/styles.d.ts +5 -0
- package/features/email-logger/components/log-action/status-text/styles.d.ts.map +1 -0
- package/features/email-logger/components/log-action/styles.d.ts +5 -0
- package/features/email-logger/components/log-action/styles.d.ts.map +1 -0
- package/features/email-logger/components/log-action/tooltip.d.ts +13 -0
- package/features/email-logger/components/log-action/tooltip.d.ts.map +1 -0
- package/features/email-logger/components/log-status/index.d.ts +10 -0
- package/features/email-logger/components/log-status/index.d.ts.map +1 -0
- package/features/email-logger/components/log-tooltip/index.d.ts +12 -0
- package/features/email-logger/components/log-tooltip/index.d.ts.map +1 -0
- package/features/email-logger/components/log-tooltip/styles.d.ts +5 -0
- package/features/email-logger/components/log-tooltip/styles.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/entity-option/index.d.ts +12 -0
- package/features/email-logger/components/select-entity/components/entity-option/index.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/entity-option/styles.d.ts +13 -0
- package/features/email-logger/components/select-entity/components/entity-option/styles.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/entity-suggestions/index.d.ts +12 -0
- package/features/email-logger/components/select-entity/components/entity-suggestions/index.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/entity-suggestions/styles.d.ts +9 -0
- package/features/email-logger/components/select-entity/components/entity-suggestions/styles.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/feedback/index.d.ts +2 -0
- package/features/email-logger/components/select-entity/components/feedback/index.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/feedback/styles.d.ts +7 -0
- package/features/email-logger/components/select-entity/components/feedback/styles.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/footer/index.d.ts +10 -0
- package/features/email-logger/components/select-entity/components/footer/index.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/footer/styles.d.ts +4 -0
- package/features/email-logger/components/select-entity/components/footer/styles.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/loader/index.d.ts +6 -0
- package/features/email-logger/components/select-entity/components/loader/index.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/loader/styles.d.ts +6 -0
- package/features/email-logger/components/select-entity/components/loader/styles.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/search-options/index.d.ts +11 -0
- package/features/email-logger/components/select-entity/components/search-options/index.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/search-options/option.d.ts +10 -0
- package/features/email-logger/components/select-entity/components/search-options/option.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/search-options/styles.d.ts +5 -0
- package/features/email-logger/components/select-entity/components/search-options/styles.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/search-results/index.d.ts +12 -0
- package/features/email-logger/components/select-entity/components/search-results/index.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/search-results/result.d.ts +8 -0
- package/features/email-logger/components/select-entity/components/search-results/result.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/components/search-results/styles.d.ts +8 -0
- package/features/email-logger/components/select-entity/components/search-results/styles.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/index.d.ts +8 -0
- package/features/email-logger/components/select-entity/index.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/styles.d.ts +18 -0
- package/features/email-logger/components/select-entity/styles.d.ts.map +1 -0
- package/features/email-logger/components/unAuth-tooltip/index.d.ts +11 -0
- package/features/email-logger/components/unAuth-tooltip/index.d.ts.map +1 -0
- package/features/email-logger/components/unAuth-tooltip/styles.d.ts +10 -0
- package/features/email-logger/components/unAuth-tooltip/styles.d.ts.map +1 -0
- package/features/email-logger/components/unAuth-tooltip/tooltip-content.d.ts +9 -0
- package/features/email-logger/components/unAuth-tooltip/tooltip-content.d.ts.map +1 -0
- package/features/email-logger/components/welcome-banner/content.d.ts +6 -0
- package/features/email-logger/components/welcome-banner/content.d.ts.map +1 -0
- package/features/email-logger/components/welcome-banner/index.d.ts +9 -0
- package/features/email-logger/components/welcome-banner/index.d.ts.map +1 -0
- package/features/email-logger/components/welcome-banner/styles.d.ts +11 -0
- package/features/email-logger/components/welcome-banner/styles.d.ts.map +1 -0
- package/features/email-logger/constants/api.d.ts +9 -0
- package/features/email-logger/constants/api.d.ts.map +1 -0
- package/features/email-logger/constants/index.d.ts +41 -0
- package/features/email-logger/constants/index.d.ts.map +1 -0
- package/features/email-logger/context/contexts.d.ts +8 -0
- package/features/email-logger/context/contexts.d.ts.map +1 -0
- package/features/email-logger/context/index.d.ts +8 -0
- package/features/email-logger/context/index.d.ts.map +1 -0
- package/features/email-logger/index.d.ts +7 -0
- package/features/email-logger/index.d.ts.map +1 -0
- package/features/email-logger/types/api.d.ts +22 -0
- package/features/email-logger/types/api.d.ts.map +1 -0
- package/features/email-logger/types/index.d.ts +81 -0
- package/features/email-logger/types/index.d.ts.map +1 -0
- package/features/email-logger/utils/GmalLogObserver.d.ts +39 -0
- package/features/email-logger/utils/GmalLogObserver.d.ts.map +1 -0
- package/features/email-logger/utils/LogObserver.d.ts +17 -0
- package/features/email-logger/utils/LogObserver.d.ts.map +1 -0
- package/features/email-logger/utils/index.d.ts +5 -0
- package/features/email-logger/utils/index.d.ts.map +1 -0
- package/features/email-logger/utils/styles.d.ts +2 -0
- package/features/email-logger/utils/styles.d.ts.map +1 -0
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.es.js +8592 -7181
- package/index.umd.js +631 -260
- package/main.d.ts.map +1 -1
- package/package.json +1 -1
- package/testing/mocks/handlers/email-logger.d.ts +11 -0
- package/testing/mocks/handlers/email-logger.d.ts.map +1 -0
- package/testing/mocks/handlers.d.ts.map +1 -1
- package/utils/poll.d.ts +5 -1
- package/utils/poll.d.ts.map +1 -1
- package/features/connector-highlight/components/highlighter-test/index.d.ts +0 -4
- package/features/connector-highlight/components/highlighter-test/index.d.ts.map +0 -1
package/features/email-logger/components/select-entity/components/search-options/styles.d.ts.map
ADDED
|
@@ -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
|
package/features/email-logger/components/select-entity/components/search-results/index.d.ts.map
ADDED
|
@@ -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,4CAyC5G,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
|
package/features/email-logger/components/select-entity/components/search-results/result.d.ts.map
ADDED
|
@@ -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
|
package/features/email-logger/components/select-entity/components/search-results/styles.d.ts.map
ADDED
|
@@ -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":"AAyCA,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,4CAqMxE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { ImgHTMLAttributes, SVGProps } 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
|
+
export declare const SwitchLoader: StyledComponent<SVGProps<SVGSVGElement>>;
|
|
18
|
+
//# 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;AAOlD,OAAO,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzD,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;AAEJ,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAAC,aAAa,CAAC,CAKjE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
interface UnAuthTooltipProps {
|
|
3
|
+
isAdmin: boolean;
|
|
4
|
+
isAuthenticated: boolean;
|
|
5
|
+
connectorId: string;
|
|
6
|
+
connectorName: string;
|
|
7
|
+
children: 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":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,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,YAAY,CAAC;CACxB;AAED,eAAO,MAAM,aAAa,uEAMvB,kBAAkB,4CAyBpB,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,9 @@
|
|
|
1
|
+
interface TooltipContentProps {
|
|
2
|
+
isAdmin: boolean;
|
|
3
|
+
connectorId: string;
|
|
4
|
+
connectorName: string;
|
|
5
|
+
close: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const TooltipContent: ({ isAdmin, connectorId, connectorName, close }: TooltipContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# 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;IACtB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,mDAAoD,mBAAmB,4CA2BjG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/welcome-banner/content.tsx"],"names":[],"mappings":"AAeA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAIF,eAAO,MAAM,aAAa,kCAAmC,kBAAkB,4CA2C9E,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":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,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,4CAW/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,MAA8E,CAAC;AAC1G,eAAO,MAAM,sBAAsB,EAAE,MAAoF,CAAC;AAC1H,eAAO,MAAM,gBAAgB,EAAE,MAA8E,CAAC;AAG9G,eAAO,MAAM,eAAe,EAAE,MAA6E,CAAC;AAC5G,eAAO,MAAM,eAAe,EAAE,MAAsD,CAAC;AACrF,eAAO,MAAM,SAAS,EAAE,MAAwE,CAAC;AACjG,eAAO,MAAM,eAAe,EAAE,MAAsE,CAAC;AAGrG,eAAO,MAAM,eAAe,EAAE,MAAwE,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { FeedbackOption } from '../../../components/ui/feedback/types';
|
|
2
|
+
export declare const AUTO_LOG_TOOLTIP_TEXT_OFF = "Turn off to stop syncing this conversation.";
|
|
3
|
+
export declare const AUTO_LOG_TOOLTIP_TEXT_ON = "Turn on to continue syncing this conversation.";
|
|
4
|
+
export declare const AUTH_FAIL_TITLE = "Authentication failed";
|
|
5
|
+
export declare const AUTH_ADMIN_FAIL_MSG = "Retry authentication to use this functionality and save in ':connectorName'";
|
|
6
|
+
export declare const AUTH_NON_ADMIN_FAIL_MSG = "Reach out to your admin to reauthenticate :connectorName";
|
|
7
|
+
export declare const SYNCING_TOOLTIP_TEXT = "Syncing this conversation to :connectorName. Refresh the page to see updates.";
|
|
8
|
+
export declare const RETRY_TOOLTIP_TEXT = "Something went wrong while syncing this conversation. Please try again.";
|
|
9
|
+
export declare const NO_ENTITIES_MESSAGE = "No recommendations found";
|
|
10
|
+
export declare const ENTITY_LOGGED = "Already synced email cannot be removed";
|
|
11
|
+
export declare const WELCOME_IMAGE = "https://cdn.hiverhq.com/connectors-module/assets/sync_conversation_preview.png";
|
|
12
|
+
export declare const WELCOME_BANNER_TITLE = "Log this email thread to your CRM";
|
|
13
|
+
export declare const WELCOME_BANNER_MESSAGE = "Automatically sync Hiver conversations with your CRM to unify and audit customer records easily.";
|
|
14
|
+
export declare const WELCOME_STORAGE_KEY = "connector-agent_email-logger_welcomed";
|
|
15
|
+
export declare const WELCOME_SHOWN_STORAGE_KEY = "connector-agent_email-logger_welcome_shown";
|
|
16
|
+
export declare const WELCOME_LEARN_MORE_URL = "https://help.hiverhq.com/workingwithemail1/managing-emails#Assigning-conversations-to-members";
|
|
17
|
+
export declare const FEEDBACK_TITLE = "Tell us how we can improve";
|
|
18
|
+
export declare const THUMBS_UP_MSG = "Everything looks good";
|
|
19
|
+
export declare const THUMBS_DOWN_MSG = "Something is not working";
|
|
20
|
+
export declare const PROMPT_MSG = "Please provide your feedback";
|
|
21
|
+
export declare const SUCCESS_FEEDBACK_TOAST_MSG = "Feedback submitted";
|
|
22
|
+
export declare const FAILED_FEEDBACK_TOAST_MSG = "Failed to submit feedback";
|
|
23
|
+
export declare const FEEDBACK_TYPE = "email-logging";
|
|
24
|
+
export declare const FEEDBACK_OPTIONS: FeedbackOption[];
|
|
25
|
+
export declare const TRACKING_EVENTS: {
|
|
26
|
+
email_logging_intro_popup_shown: string;
|
|
27
|
+
email_logging_intro_popup_continue_clicked: string;
|
|
28
|
+
email_logging_intro_popup_learn_more_clicked: string;
|
|
29
|
+
email_logging_log_config_saved: string;
|
|
30
|
+
email_logging_log_config_canceled: string;
|
|
31
|
+
email_logging_auto_log_enabled: string;
|
|
32
|
+
email_logging_auto_log_disabled: string;
|
|
33
|
+
email_logging_search_initiated: string;
|
|
34
|
+
email_logging_search_results_found: string;
|
|
35
|
+
email_logging_search_result_selected: string;
|
|
36
|
+
email_logging_smart_suggestion_initiated: string;
|
|
37
|
+
email_logging_smart_suggestion_selected: string;
|
|
38
|
+
email_logging_smart_suggestion_not_found: string;
|
|
39
|
+
email_logging_failed_clicked: string;
|
|
40
|
+
};
|
|
41
|
+
//# 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;AAEhE,eAAO,MAAM,yBAAyB,gDAAgD,CAAC;AACvF,eAAO,MAAM,wBAAwB,mDAAmD,CAAC;AACzF,eAAO,MAAM,eAAe,0BAA0B,CAAC;AACvD,eAAO,MAAM,mBAAmB,gFAAgF,CAAC;AACjH,eAAO,MAAM,uBAAuB,6DAA6D,CAAC;AAClG,eAAO,MAAM,oBAAoB,kFAAkF,CAAC;AACpH,eAAO,MAAM,kBAAkB,4EAA4E,CAAC;AAC5G,eAAO,MAAM,mBAAmB,6BAA6B,CAAC;AAC9D,eAAO,MAAM,aAAa,2CAA2C,CAAC;AAItE,eAAO,MAAM,aAAa,mFAAmF,CAAC;AAC9G,eAAO,MAAM,oBAAoB,sCAAsC,CAAC;AACxE,eAAO,MAAM,sBAAsB,qGACiE,CAAC;AACrG,eAAO,MAAM,mBAAmB,0CAA0C,CAAC;AAC3E,eAAO,MAAM,yBAAyB,+CAA+C,CAAC;AAEtF,eAAO,MAAM,sBAAsB,kGAC8D,CAAC;AAGlG,eAAO,MAAM,cAAc,+BAA+B,CAAC;AAC3D,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,EAa5C,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: ({ isAdmin, 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,8DAK7B,wBAAwB,4CAW1B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Observer } from './types';
|
|
2
|
+
interface LogControllerProps {
|
|
3
|
+
observer: Observer | null;
|
|
4
|
+
}
|
|
5
|
+
export declare const LogController: ({ observer }: LogControllerProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,22 @@
|
|
|
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 = {
|
|
14
|
+
data: SearchEntity[];
|
|
15
|
+
errorMessage: string | null;
|
|
16
|
+
};
|
|
17
|
+
export type SearchEntitiesModifiedResponse = {
|
|
18
|
+
results: SearchEntity[];
|
|
19
|
+
searchObject: string;
|
|
20
|
+
formId: string;
|
|
21
|
+
};
|
|
22
|
+
//# 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;IAAE,IAAI,EAAE,YAAY,EAAE,CAAC;IAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AAC3F,MAAM,MAAM,8BAA8B,GAAG;IAC3C,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
PAUSED = "PAUSED"
|
|
33
|
+
}
|
|
34
|
+
export type Entity = {
|
|
35
|
+
app: string;
|
|
36
|
+
entityType: string;
|
|
37
|
+
displayValue: string;
|
|
38
|
+
cardId?: string;
|
|
39
|
+
formId?: string;
|
|
40
|
+
};
|
|
41
|
+
export type SelectedEntity = Pick<Entity, 'displayValue' | 'entityType'> & Partial<Entity>;
|
|
42
|
+
export type EntityGroup = {
|
|
43
|
+
type: string;
|
|
44
|
+
entities: (Entity | SelectedEntity)[];
|
|
45
|
+
};
|
|
46
|
+
export type SearchForm = {
|
|
47
|
+
id: string;
|
|
48
|
+
searchObject: string;
|
|
49
|
+
};
|
|
50
|
+
export type SearchEntity = {
|
|
51
|
+
externalResourceId: string;
|
|
52
|
+
name: string;
|
|
53
|
+
};
|
|
54
|
+
export type CheckedEntity = Entity & SearchEntity;
|
|
55
|
+
export type CheckedEntityRecords = Record<string, CheckedEntity>;
|
|
56
|
+
export type SearchResult = SearchEntity & SearchForm;
|
|
57
|
+
export declare enum ConnectorStatus {
|
|
58
|
+
ENABLED = "enabled",
|
|
59
|
+
UNAUTHENTICATED = "unauthenticated",
|
|
60
|
+
DISABLED = "disabled"
|
|
61
|
+
}
|
|
62
|
+
export type LogSettings = {
|
|
63
|
+
enabled: boolean;
|
|
64
|
+
connectorId: string;
|
|
65
|
+
connectorStatus: `${ConnectorStatus}`;
|
|
66
|
+
logoUrl: string;
|
|
67
|
+
connectorName: string;
|
|
68
|
+
};
|
|
69
|
+
export type MessageLogStatus = {
|
|
70
|
+
logged: number;
|
|
71
|
+
failed: number;
|
|
72
|
+
total: number;
|
|
73
|
+
pending: number;
|
|
74
|
+
};
|
|
75
|
+
export interface FeedbackData {
|
|
76
|
+
feedback_type: string;
|
|
77
|
+
comment?: string;
|
|
78
|
+
positive_feedback?: boolean;
|
|
79
|
+
option?: string;
|
|
80
|
+
}
|
|
81
|
+
//# 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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"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Observer, ObserveParams } from '../types';
|
|
2
|
+
interface GmailLogObserverOptions {
|
|
3
|
+
emailNodeFilter?: (node: Node) => boolean;
|
|
4
|
+
composeNodeFilter?: (node: Node) => boolean;
|
|
5
|
+
emailHeaderTargetSelector?: string;
|
|
6
|
+
composeHeaderTargetSelector?: string;
|
|
7
|
+
emailMessageContainerSelector?: string;
|
|
8
|
+
subjectContainer?: HTMLElement | null;
|
|
9
|
+
disableAutoLogInEmail?: boolean;
|
|
10
|
+
disableAutoLogInCompose?: boolean;
|
|
11
|
+
disableAutoLogInSubject?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare class GmailLogObserver implements Observer {
|
|
14
|
+
private observer;
|
|
15
|
+
private setComposeButtonContainers?;
|
|
16
|
+
private setEmailButtonContainers?;
|
|
17
|
+
private setSubjectButtonContainers?;
|
|
18
|
+
private emailNodeFilter;
|
|
19
|
+
private composeNodeFilter;
|
|
20
|
+
private emailHeaderTargetSelector;
|
|
21
|
+
private composeHeaderTargetSelector;
|
|
22
|
+
private emailMessageContainerSelector;
|
|
23
|
+
private disableAutoLogInEmail;
|
|
24
|
+
private disableAutoLogInCompose;
|
|
25
|
+
private disableAutoLogInSubject;
|
|
26
|
+
private subjectContainer;
|
|
27
|
+
constructor({ emailNodeFilter, composeNodeFilter, emailHeaderTargetSelector, composeHeaderTargetSelector, emailMessageContainerSelector, subjectContainer, disableAutoLogInEmail, disableAutoLogInCompose, disableAutoLogInSubject }?: GmailLogObserverOptions);
|
|
28
|
+
_defaultEmailNodeFilter(node: Node): boolean;
|
|
29
|
+
_defaultComposeNodeFilter(node: Node): boolean;
|
|
30
|
+
_addLogButtonsOnEmail: () => void;
|
|
31
|
+
_addLogButtonsOnCompose: () => void;
|
|
32
|
+
_addLogButtonOnSubject: () => void;
|
|
33
|
+
_initMutationObserver(): void;
|
|
34
|
+
_init(): void;
|
|
35
|
+
observe({ setComposeButtonContainers, setEmailButtonContainers, setSubjectButtonContainers }: ObserveParams): void;
|
|
36
|
+
destroy(): void;
|
|
37
|
+
}
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=GmalLogObserver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GmalLogObserver.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/utils/GmalLogObserver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAgB,MAAM,UAAU,CAAC;AAQtE,UAAU,uBAAuB;IAC/B,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IAC1C,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IAC5C,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC,gBAAgB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACtC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;AAED,qBAAa,gBAAiB,YAAW,QAAQ;IAC/C,OAAO,CAAC,QAAQ,CAAiC;IACjD,OAAO,CAAC,0BAA0B,CAAC,CAAsC;IACzE,OAAO,CAAC,wBAAwB,CAAC,CAAsC;IACvE,OAAO,CAAC,0BAA0B,CAAC,CAAsC;IACzE,OAAO,CAAC,eAAe,CAA0B;IACjD,OAAO,CAAC,iBAAiB,CAA0B;IACnD,OAAO,CAAC,yBAAyB,CAAS;IAC1C,OAAO,CAAC,2BAA2B,CAAS;IAC5C,OAAO,CAAC,6BAA6B,CAAS;IAC9C,OAAO,CAAC,qBAAqB,CAAU;IACvC,OAAO,CAAC,uBAAuB,CAAU;IACzC,OAAO,CAAC,uBAAuB,CAAU;IACzC,OAAO,CAAC,gBAAgB,CAA4B;gBAExC,EACV,eAAe,EACf,iBAAiB,EACjB,yBAA2C,EAC3C,2BAA4C,EAC5C,6BAA0C,EAC1C,gBAAuB,EACvB,qBAA6B,EAC7B,uBAA+B,EAC/B,uBAA+B,EAChC,GAAE,uBAA4B;IAY/B,uBAAuB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAU5C,yBAAyB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAS9C,qBAAqB,QAAO,IAAI,CAiC9B;IAEF,uBAAuB,QAAO,IAAI,CAwBhC;IAEF,sBAAsB,QAAO,IAAI,CAa/B;IAEF,qBAAqB,IAAI,IAAI;IAgD7B,KAAK,IAAI,IAAI;IAMb,OAAO,CAAC,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,EAAE,aAAa,GAAG,IAAI;IAUlH,OAAO,IAAI,IAAI;CAYhB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Observer, ObserveParams } from '../types';
|
|
2
|
+
type LogObserverParams = {
|
|
3
|
+
elementClasses: {
|
|
4
|
+
emailBody: string[];
|
|
5
|
+
composeMail?: string[];
|
|
6
|
+
replyMail?: string[];
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export declare class LogObserver implements Observer {
|
|
10
|
+
private elementClasses;
|
|
11
|
+
constructor({ elementClasses }: LogObserverParams);
|
|
12
|
+
queryOnClasses(classList: string[]): NodeListOf<Element>;
|
|
13
|
+
observe({ setComposeButtonContainers, setEmailButtonContainers }: ObserveParams): void;
|
|
14
|
+
destroy(): void;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=LogObserver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogObserver.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/utils/LogObserver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAa,MAAM,UAAU,CAAC;AAEnE,KAAK,iBAAiB,GAAG;IACvB,cAAc,EAAE;QACd,SAAS,EAAE,MAAM,EAAE,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;QACvB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;KACtB,CAAC;CACH,CAAC;AAEF,qBAAa,WAAY,YAAW,QAAQ;IAC1C,OAAO,CAAC,cAAc,CAAsC;gBAChD,EAAE,cAAc,EAAE,EAAE,iBAAiB;IAIjD,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE;IAKlC,OAAO,CAAC,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,EAAE,aAAa;IAgC/E,OAAO;CAIR"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Entity, SelectedEntity, EntityGroup, LogStatusEnum } from '../types';
|
|
2
|
+
import { LogStatusResponse } from '../types/api';
|
|
3
|
+
export declare const clubEntitiesByType: (entities: (Entity | SelectedEntity)[]) => EntityGroup[];
|
|
4
|
+
export declare const getStatusType: (emailLogStatus: LogStatusResponse) => LogStatusEnum;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAmB,MAAM,UAAU,CAAC;AAC/F,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,eAAO,MAAM,kBAAkB,aAAc,CAAC,MAAM,GAAG,cAAc,CAAC,EAAE,kBAoBvE,CAAC;AAEF,eAAO,MAAM,aAAa,mBAAoB,iBAAiB,KAAG,aAuBjE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/utils/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,wCAOlB,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -5,4 +5,5 @@ export { initConnectorsBifrost, getConnectorsBifrostConfigs, HiverConnectorBifro
|
|
|
5
5
|
export { getMetaData } from '@connector/utils';
|
|
6
6
|
export { addNewConnectors, shouldCaptureFeedback, setCaptureFeedbackOnDemand, dismissNotification, shouldShowNotification } from '@connector/indexeddb';
|
|
7
7
|
export type { ISectionItems, IActionButtons, ISections, IMetaData, ITemplateUpdates } from '@connector/utils';
|
|
8
|
+
export { EmailLogger, GmailLogObserver } from './app/email-logger';
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACnH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,EAC1B,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACnH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,EAC1B,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC9G,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
|