@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.
- package/app/connector-cards.d.ts.map +1 -1
- package/app/email-logger/index.d.ts +1 -1
- package/app/email-logger/index.d.ts.map +1 -1
- package/app/email-logger/provider.d.ts +2 -1
- package/app/email-logger/provider.d.ts.map +1 -1
- package/components/test-email/index.d.ts.map +1 -1
- 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 +13 -0
- package/components/ui/feedback/form/index.d.ts.map +1 -0
- package/components/ui/feedback/form/styles.d.ts +6 -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/features/connector-cards/components/card-list/CardContent.d.ts.map +1 -1
- package/features/connector-cards/store/selectors.d.ts +1 -0
- package/features/connector-cards/store/selectors.d.ts.map +1 -1
- package/features/connector-cards/utils.d.ts +8 -0
- package/features/connector-cards/utils.d.ts.map +1 -1
- package/features/connector-highlight/components/data-card/index.d.ts.map +1 -1
- package/features/connector-highlight/constant/index.d.ts +2 -0
- package/features/connector-highlight/constant/index.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 +162 -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 +14 -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 +5 -1
- package/features/email-logger/components/log-action/index.d.ts.map +1 -1
- 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 +2 -2
- package/features/email-logger/components/log-action/styles.d.ts.map +1 -1
- package/features/email-logger/components/log-action/tooltip.d.ts +11 -0
- package/features/email-logger/components/log-action/tooltip.d.ts.map +1 -0
- package/features/email-logger/components/log-status/index.d.ts +3 -1
- package/features/email-logger/components/log-status/index.d.ts.map +1 -1
- 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 +12 -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 +9 -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 +2 -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 +17 -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 +8 -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 +34 -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 +3 -5
- package/features/email-logger/index.d.ts.map +1 -1
- package/features/email-logger/types/api.d.ts +19 -0
- package/features/email-logger/types/api.d.ts.map +1 -0
- package/features/email-logger/types/index.d.ts +79 -0
- package/features/email-logger/types/index.d.ts.map +1 -0
- package/features/email-logger/utils/GmalLogObserver.d.ts +14 -4
- package/features/email-logger/utils/GmalLogObserver.d.ts.map +1 -1
- 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.es.js +8805 -7560
- package/index.umd.js +607 -269
- package/main-test.d.ts +2 -0
- package/main-test.d.ts.map +1 -0
- 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/fetch-cards.d.ts +1 -1
- package/testing/mocks/handlers/fetch-cards.d.ts.map +1 -1
- package/testing/mocks/handlers.d.ts.map +1 -1
- package/types/cards.d.ts +15 -0
- package/types/cards.d.ts.map +1 -1
- package/utils/poll.d.ts +5 -1
- package/utils/poll.d.ts.map +1 -1
- package/features/email-logger/types.d.ts +0 -25
- package/features/email-logger/types.d.ts.map +0 -1
- package/utils/validations.d.ts +0 -10
- package/utils/validations.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector-cards.d.ts","sourceRoot":"","sources":["../../src/app/connector-cards.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"connector-cards.d.ts","sourceRoot":"","sources":["../../src/app/connector-cards.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAkF,MAAM,OAAO,CAAC;AAuF3G,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,SAAS,CA6dxC,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { ConnectorFunctions, Observer } from '../../features/email-logger/types'
|
|
|
3
3
|
export { GmailLogObserver } from '../../features/email-logger/utils/GmalLogObserver';
|
|
4
4
|
interface IApp {
|
|
5
5
|
conversationId?: string;
|
|
6
|
-
observer: Observer;
|
|
6
|
+
observer: Observer | null;
|
|
7
7
|
connectorFunctions: ConnectorFunctions;
|
|
8
8
|
}
|
|
9
9
|
export declare const EmailLogger: FC<IApp>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app/email-logger/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAM3B,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAG7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAEjF,UAAU,IAAI;IACZ,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app/email-logger/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAM3B,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAG7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAEjF,UAAU,IAAI;IACZ,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,kBAAkB,EAAE,kBAAkB,CAAC;CACxC;AAED,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,IAAI,CAuBhC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { ContextData } from '../../features/email-logger/context';
|
|
1
2
|
type AppProviderProps = {
|
|
2
3
|
children: React.ReactNode;
|
|
3
4
|
};
|
|
4
|
-
export declare const LoggerAppProvider: ({ children }: AppProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const LoggerAppProvider: ({ children, ...props }: AppProviderProps & ContextData) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
export {};
|
|
6
7
|
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/app/email-logger/provider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/app/email-logger/provider.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAuB,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAKnF,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,2BAA4B,gBAAgB,GAAG,WAAW,4CAYvF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/test-email/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/test-email/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAsE7B,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/error/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,cAAc,GAAG;IACpB,OAAO,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,SAAS,gBAAiB,cAAc,4CASpD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/feedback/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FeedbackOption, SubmitData } from '../types';
|
|
2
|
+
interface FeedbackFormProps {
|
|
3
|
+
onCancel: () => void;
|
|
4
|
+
onSubmit: (data: SubmitData) => void;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
title: string;
|
|
7
|
+
feedbackOptions: FeedbackOption[];
|
|
8
|
+
showOptions?: boolean;
|
|
9
|
+
feedbackPlaceholder?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const FeedbackForm: ({ onCancel, onSubmit, isLoading, showOptions, title, feedbackOptions, feedbackPlaceholder }: FeedbackFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/feedback/form/index.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtD,UAAU,iBAAiB;IACzB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AACD,eAAO,MAAM,YAAY,gGAQtB,iBAAiB,4CAwEnB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { BoxProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const FeedbackWrapper: StyledComponent<BoxProps>;
|
|
4
|
+
export declare const HorizontalLine: StyledComponent<BoxProps>;
|
|
5
|
+
export declare const ButtonWrapper: StyledComponent<BoxProps>;
|
|
6
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/feedback/form/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CAarD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAGpD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,QAAQ,CAKnD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/feedback/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/CardContent.tsx"],"names":[],"mappings":"AAUA,OAAO,
|
|
1
|
+
{"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/CardContent.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAY,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AASxC,UAAU,MAAM;IACd,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,gBAAgB,EAAE;QAChB,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI,CAAC;KACrC,GAAG,IAAI,CAAC;IACT,0BAA0B,EAAE;QAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,GAAG,IAAI,CAAC;IACT,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,WAAW,UAAW,MAAM,4CAiJxC,CAAC"}
|
|
@@ -16,4 +16,5 @@ export declare const selectConversationMetaDataApiStatus: (state: RootState) =>
|
|
|
16
16
|
export declare const selectConversationEmailHeaders: (state: RootState) => {
|
|
17
17
|
[key: string]: string;
|
|
18
18
|
} | null | undefined;
|
|
19
|
+
export declare const selectAllCardsLoaded: (state: RootState) => boolean;
|
|
19
20
|
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/selectors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/selectors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzC,eAAO,MAAM,eAAe,UAAW,SAAS,kDAAkC,CAAC;AACnF,eAAO,MAAM,uBAAuB,UAAW,SAAS,YAAqC,CAAC;AAC9F,eAAO,MAAM,wBAAwB,UAAW,SAAS,2CAAsC,CAAC;AAChG,eAAO,MAAM,uBAAuB,UAAW,SAAS;;QAAoC,CAAC;AAC7F,eAAO,MAAM,gCAAgC,UAAW,SAAS;;QAA8C,CAAC;AAChH,eAAO,MAAM,qBAAqB,UAAW,SAAS,kBAA4B,CAAC;AACnF,eAAO,MAAM,gCAAgC,UAAW,SAAS;;QAA8C,CAAC;AAChH,eAAO,MAAM,mCAAmC,UAAW,SAAS,2CAAiD,CAAC;AACtH,eAAO,MAAM,8BAA8B,UAAW,SAAS;;oBAA4C,CAAC;AAE5G,eAAO,MAAM,oBAAoB,UAAW,SAAS,YAOpD,CAAC"}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
+
import { ConnectorAppMetrics, ICard, SpecificCardData, SpecificConnectorApiStatus } from '../../types/cards';
|
|
1
2
|
export declare const extractErrorParams: (cardErrorMessage: string) => {
|
|
2
3
|
error_code: string | null;
|
|
3
4
|
error_message: string;
|
|
4
5
|
};
|
|
5
6
|
export declare const processCommonErrorMessage: (apiErrorCode: string, connectorNames?: string[]) => string;
|
|
7
|
+
export declare const isCardEmpty: (card: ICard, specificCardData: SpecificCardData, specificConnectorApiStatus: SpecificConnectorApiStatus) => boolean;
|
|
8
|
+
export declare const isCardError: (card: ICard, specificCardData: SpecificCardData, specificConnectorApiStatus: SpecificConnectorApiStatus) => string | boolean | undefined;
|
|
9
|
+
export declare function getConnectorCardsMetrics(cards: ICard[], specificCardData: SpecificCardData, specificConnectorApiStatus: SpecificConnectorApiStatus): {
|
|
10
|
+
cards_per_app: ConnectorAppMetrics[];
|
|
11
|
+
total_empty_cards: number;
|
|
12
|
+
total_cards_with_errors: number;
|
|
13
|
+
};
|
|
6
14
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/features/connector-cards/utils.
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/features/connector-cards/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,mBAAmB,EAAE,KAAK,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAInH,eAAO,MAAM,kBAAkB,qBAAsB,MAAM;;;CAQ1D,CAAC;AAEF,eAAO,MAAM,yBAAyB,iBAAkB,MAAM,mBAAmB,MAAM,EAAE,WAIxF,CAAC;AAEF,eAAO,MAAM,WAAW,SAChB,KAAK,oBACO,gBAAgB,8BACN,0BAA0B,YAgBvD,CAAC;AAEF,eAAO,MAAM,WAAW,SAChB,KAAK,oBACO,gBAAgB,8BACN,0BAA0B,iCAWvD,CAAC;AAEF,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,KAAK,EAAE,EACd,gBAAgB,EAAE,gBAAgB,EAClC,0BAA0B,EAAE,0BAA0B;;;;EAkDvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-highlight/components/data-card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-highlight/components/data-card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AA8CpE,OAAO,KAAK,EAA8C,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAChG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C,UAAU,aAAa;IACrB,YAAY,EAAE,gBAAgB,CAAC;IAC/B,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;CAClE;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAkP5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-highlight/constant/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,0BAA0B,CAAC;AACrD,eAAO,MAAM,eAAe,6BAA6B,CAAC;AAC1D,eAAO,MAAM,YAAY,mBAAmB,CAAC;AAC7C,eAAO,MAAM,YAAY,0BAA0B,CAAC;AACpD,eAAO,MAAM,kBAAkB,oDAAoD,CAAC;AACpF,eAAO,MAAM,QAAQ,oDAAoD,CAAC;AAC1E,eAAO,MAAM,UAAU,eAAe,CAAC;AAEvC,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,+BAA+B,4BAA4B,CAAC;AACzE,eAAO,MAAM,2BAA2B,4BAA4B,CAAC;AAErE,eAAO,MAAM,gBAAgB;;;GAI5B,CAAC;AAEF,eAAO,MAAM,mCAAmC,4BAA4B,CAAC;AAC7E,eAAO,MAAM,0BAA0B,wBAAwB,CAAC;AAChE,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAExC,eAAO,MAAM,0BAA0B,uBAAuB,CAAC;AAC/D,eAAO,MAAM,yBAAyB,8BAA8B,CAAC;AAErE,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-highlight/constant/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,0BAA0B,CAAC;AACrD,eAAO,MAAM,eAAe,6BAA6B,CAAC;AAC1D,eAAO,MAAM,YAAY,mBAAmB,CAAC;AAC7C,eAAO,MAAM,YAAY,0BAA0B,CAAC;AACpD,eAAO,MAAM,kBAAkB,oDAAoD,CAAC;AACpF,eAAO,MAAM,QAAQ,oDAAoD,CAAC;AAC1E,eAAO,MAAM,UAAU,eAAe,CAAC;AAEvC,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,+BAA+B,4BAA4B,CAAC;AACzE,eAAO,MAAM,2BAA2B,4BAA4B,CAAC;AAErE,eAAO,MAAM,gBAAgB;;;GAI5B,CAAC;AAEF,eAAO,MAAM,mCAAmC,4BAA4B,CAAC;AAC7E,eAAO,MAAM,0BAA0B,wBAAwB,CAAC;AAChE,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAExC,eAAO,MAAM,0BAA0B,uBAAuB,CAAC;AAC/D,eAAO,MAAM,yBAAyB,8BAA8B,CAAC;AAErE,eAAO,MAAM,eAAe;;;;;;;;;;;CAW3B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type ToggleLogPayload = {
|
|
2
|
+
autoLogEnabled: boolean;
|
|
3
|
+
};
|
|
4
|
+
export type ToggleLogProps = {
|
|
5
|
+
payload: ToggleLogPayload;
|
|
6
|
+
conversationId: string;
|
|
7
|
+
};
|
|
8
|
+
export type LogMutationProps = {
|
|
9
|
+
onSuccess: () => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const useAutoLogToggleMutation: ({ onSuccess }: LogMutationProps) => import('@tanstack/react-query').UseMutationResult<unknown, Error, ToggleLogProps, unknown>;
|
|
12
|
+
//# sourceMappingURL=autoLogToggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoLogToggle.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/autoLogToggle.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,gBAAgB,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAqBF,eAAO,MAAM,wBAAwB,kBAAmB,gBAAgB,+FAKvE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FeedbackData } from '../types';
|
|
2
|
+
interface SubmitFeedbackParams {
|
|
3
|
+
conversationId: string;
|
|
4
|
+
feedbackData: FeedbackData;
|
|
5
|
+
}
|
|
6
|
+
interface FeedbackResponse {
|
|
7
|
+
success: boolean;
|
|
8
|
+
message?: string;
|
|
9
|
+
}
|
|
10
|
+
type FeedbackMutationProps = {
|
|
11
|
+
onSuccess: () => void;
|
|
12
|
+
};
|
|
13
|
+
export declare function useLogFeedbackMutation({ onSuccess }: FeedbackMutationProps): import('@tanstack/react-query').UseMutationResult<FeedbackResponse, Error, SubmitFeedbackParams, unknown>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=feedback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feedback.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/feedback.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,UAAU,oBAAoB;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED,UAAU,gBAAgB;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,KAAK,qBAAqB,GAAG;IAC3B,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AA0BF,wBAAgB,sBAAsB,CAAC,EAAE,SAAS,EAAE,EAAE,qBAAqB,6GAK1E"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { LogStatusResponse } from '../types/api';
|
|
2
|
+
export type LogsStatusProps = {
|
|
3
|
+
conversationId?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const useLogsStatusQuery: ({ conversationId }: LogsStatusProps) => {
|
|
6
|
+
data: LogStatusResponse | undefined;
|
|
7
|
+
error: Error;
|
|
8
|
+
isError: true;
|
|
9
|
+
isPending: false;
|
|
10
|
+
isLoading: false;
|
|
11
|
+
isLoadingError: false;
|
|
12
|
+
isRefetchError: true;
|
|
13
|
+
isSuccess: false;
|
|
14
|
+
isPlaceholderData: false;
|
|
15
|
+
status: "error";
|
|
16
|
+
dataUpdatedAt: number;
|
|
17
|
+
errorUpdatedAt: number;
|
|
18
|
+
failureCount: number;
|
|
19
|
+
failureReason: Error | null;
|
|
20
|
+
errorUpdateCount: number;
|
|
21
|
+
isFetched: boolean;
|
|
22
|
+
isFetchedAfterMount: boolean;
|
|
23
|
+
isFetching: boolean;
|
|
24
|
+
isInitialLoading: boolean;
|
|
25
|
+
isPaused: boolean;
|
|
26
|
+
isRefetching: boolean;
|
|
27
|
+
isStale: boolean;
|
|
28
|
+
refetch: (options?: import('@tanstack/query-core').RefetchOptions) => Promise<import('@tanstack/query-core').QueryObserverResult<LogStatusResponse, Error>>;
|
|
29
|
+
fetchStatus: import('@tanstack/query-core').FetchStatus;
|
|
30
|
+
promise: Promise<LogStatusResponse>;
|
|
31
|
+
} | {
|
|
32
|
+
data: LogStatusResponse | undefined;
|
|
33
|
+
error: null;
|
|
34
|
+
isError: false;
|
|
35
|
+
isPending: false;
|
|
36
|
+
isLoading: false;
|
|
37
|
+
isLoadingError: false;
|
|
38
|
+
isRefetchError: false;
|
|
39
|
+
isSuccess: true;
|
|
40
|
+
isPlaceholderData: false;
|
|
41
|
+
status: "success";
|
|
42
|
+
dataUpdatedAt: number;
|
|
43
|
+
errorUpdatedAt: number;
|
|
44
|
+
failureCount: number;
|
|
45
|
+
failureReason: Error | null;
|
|
46
|
+
errorUpdateCount: number;
|
|
47
|
+
isFetched: boolean;
|
|
48
|
+
isFetchedAfterMount: boolean;
|
|
49
|
+
isFetching: boolean;
|
|
50
|
+
isInitialLoading: boolean;
|
|
51
|
+
isPaused: boolean;
|
|
52
|
+
isRefetching: boolean;
|
|
53
|
+
isStale: boolean;
|
|
54
|
+
refetch: (options?: import('@tanstack/query-core').RefetchOptions) => Promise<import('@tanstack/query-core').QueryObserverResult<LogStatusResponse, Error>>;
|
|
55
|
+
fetchStatus: import('@tanstack/query-core').FetchStatus;
|
|
56
|
+
promise: Promise<LogStatusResponse>;
|
|
57
|
+
} | {
|
|
58
|
+
data: LogStatusResponse | undefined;
|
|
59
|
+
error: Error;
|
|
60
|
+
isError: true;
|
|
61
|
+
isPending: false;
|
|
62
|
+
isLoading: false;
|
|
63
|
+
isLoadingError: true;
|
|
64
|
+
isRefetchError: false;
|
|
65
|
+
isSuccess: false;
|
|
66
|
+
isPlaceholderData: false;
|
|
67
|
+
status: "error";
|
|
68
|
+
dataUpdatedAt: number;
|
|
69
|
+
errorUpdatedAt: number;
|
|
70
|
+
failureCount: number;
|
|
71
|
+
failureReason: Error | null;
|
|
72
|
+
errorUpdateCount: number;
|
|
73
|
+
isFetched: boolean;
|
|
74
|
+
isFetchedAfterMount: boolean;
|
|
75
|
+
isFetching: boolean;
|
|
76
|
+
isInitialLoading: boolean;
|
|
77
|
+
isPaused: boolean;
|
|
78
|
+
isRefetching: boolean;
|
|
79
|
+
isStale: boolean;
|
|
80
|
+
refetch: (options?: import('@tanstack/query-core').RefetchOptions) => Promise<import('@tanstack/query-core').QueryObserverResult<LogStatusResponse, Error>>;
|
|
81
|
+
fetchStatus: import('@tanstack/query-core').FetchStatus;
|
|
82
|
+
promise: Promise<LogStatusResponse>;
|
|
83
|
+
} | {
|
|
84
|
+
data: LogStatusResponse | undefined;
|
|
85
|
+
error: null;
|
|
86
|
+
isError: false;
|
|
87
|
+
isPending: true;
|
|
88
|
+
isLoading: true;
|
|
89
|
+
isLoadingError: false;
|
|
90
|
+
isRefetchError: false;
|
|
91
|
+
isSuccess: false;
|
|
92
|
+
isPlaceholderData: false;
|
|
93
|
+
status: "pending";
|
|
94
|
+
dataUpdatedAt: number;
|
|
95
|
+
errorUpdatedAt: number;
|
|
96
|
+
failureCount: number;
|
|
97
|
+
failureReason: Error | null;
|
|
98
|
+
errorUpdateCount: number;
|
|
99
|
+
isFetched: boolean;
|
|
100
|
+
isFetchedAfterMount: boolean;
|
|
101
|
+
isFetching: boolean;
|
|
102
|
+
isInitialLoading: boolean;
|
|
103
|
+
isPaused: boolean;
|
|
104
|
+
isRefetching: boolean;
|
|
105
|
+
isStale: boolean;
|
|
106
|
+
refetch: (options?: import('@tanstack/query-core').RefetchOptions) => Promise<import('@tanstack/query-core').QueryObserverResult<LogStatusResponse, Error>>;
|
|
107
|
+
fetchStatus: import('@tanstack/query-core').FetchStatus;
|
|
108
|
+
promise: Promise<LogStatusResponse>;
|
|
109
|
+
} | {
|
|
110
|
+
data: LogStatusResponse | undefined;
|
|
111
|
+
error: null;
|
|
112
|
+
isError: false;
|
|
113
|
+
isPending: true;
|
|
114
|
+
isLoadingError: false;
|
|
115
|
+
isRefetchError: false;
|
|
116
|
+
isSuccess: false;
|
|
117
|
+
isPlaceholderData: false;
|
|
118
|
+
status: "pending";
|
|
119
|
+
dataUpdatedAt: number;
|
|
120
|
+
errorUpdatedAt: number;
|
|
121
|
+
failureCount: number;
|
|
122
|
+
failureReason: Error | null;
|
|
123
|
+
errorUpdateCount: number;
|
|
124
|
+
isFetched: boolean;
|
|
125
|
+
isFetchedAfterMount: boolean;
|
|
126
|
+
isFetching: boolean;
|
|
127
|
+
isLoading: boolean;
|
|
128
|
+
isInitialLoading: boolean;
|
|
129
|
+
isPaused: boolean;
|
|
130
|
+
isRefetching: boolean;
|
|
131
|
+
isStale: boolean;
|
|
132
|
+
refetch: (options?: import('@tanstack/query-core').RefetchOptions) => Promise<import('@tanstack/query-core').QueryObserverResult<LogStatusResponse, Error>>;
|
|
133
|
+
fetchStatus: import('@tanstack/query-core').FetchStatus;
|
|
134
|
+
promise: Promise<LogStatusResponse>;
|
|
135
|
+
} | {
|
|
136
|
+
data: LogStatusResponse | undefined;
|
|
137
|
+
isError: false;
|
|
138
|
+
error: null;
|
|
139
|
+
isPending: false;
|
|
140
|
+
isLoading: false;
|
|
141
|
+
isLoadingError: false;
|
|
142
|
+
isRefetchError: false;
|
|
143
|
+
isSuccess: true;
|
|
144
|
+
isPlaceholderData: true;
|
|
145
|
+
status: "success";
|
|
146
|
+
dataUpdatedAt: number;
|
|
147
|
+
errorUpdatedAt: number;
|
|
148
|
+
failureCount: number;
|
|
149
|
+
failureReason: Error | null;
|
|
150
|
+
errorUpdateCount: number;
|
|
151
|
+
isFetched: boolean;
|
|
152
|
+
isFetchedAfterMount: boolean;
|
|
153
|
+
isFetching: boolean;
|
|
154
|
+
isInitialLoading: boolean;
|
|
155
|
+
isPaused: boolean;
|
|
156
|
+
isRefetching: boolean;
|
|
157
|
+
isStale: boolean;
|
|
158
|
+
refetch: (options?: import('@tanstack/query-core').RefetchOptions) => Promise<import('@tanstack/query-core').QueryObserverResult<LogStatusResponse, Error>>;
|
|
159
|
+
fetchStatus: import('@tanstack/query-core').FetchStatus;
|
|
160
|
+
promise: Promise<LogStatusResponse>;
|
|
161
|
+
};
|
|
162
|
+
//# sourceMappingURL=getLogStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getLogStatus.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/getLogStatus.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,eAAe,GAAG;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAuBF,eAAO,MAAM,kBAAkB,uBAAwB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBrE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Entity } from '../types';
|
|
2
|
+
export type RecommendationProps = {
|
|
3
|
+
conversationId?: string;
|
|
4
|
+
enabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare const useRecommendationsQuery: ({ conversationId, enabled }: RecommendationProps) => import('@tanstack/react-query').UseQueryResult<Entity[], Error>;
|
|
7
|
+
//# sourceMappingURL=getRecommendations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRecommendations.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/getRecommendations.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,MAAM,MAAM,mBAAmB,GAAG;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAoBF,eAAO,MAAM,uBAAuB,gCAAwC,mBAAmB,oEAM9F,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SearchEntitiesModifiedResponse } from '../types/api';
|
|
2
|
+
export type SearchEntitiesProps = {
|
|
3
|
+
formId: string;
|
|
4
|
+
searchObject: string;
|
|
5
|
+
searchText: string;
|
|
6
|
+
};
|
|
7
|
+
export type MutationProps = {
|
|
8
|
+
onSuccess: () => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const useSearchEntitiesMutation: ({ onSuccess }: MutationProps) => import('@tanstack/react-query').UseMutationResult<SearchEntitiesModifiedResponse, Error, SearchEntitiesProps, unknown>;
|
|
11
|
+
//# sourceMappingURL=getSearch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSearch.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/getSearch.ts"],"names":[],"mappings":"AASA,OAAO,EAA0B,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAEtF,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AA8BF,eAAO,MAAM,yBAAyB,kBAAmB,aAAa,2HAKrE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Entity, SearchEntity } from '../types';
|
|
2
|
+
export type LogEmailPayload = {
|
|
3
|
+
selectedEntities: (Entity & SearchEntity)[];
|
|
4
|
+
autoLogEnabled: boolean;
|
|
5
|
+
};
|
|
6
|
+
export type LogEmailProps = {
|
|
7
|
+
payload: LogEmailPayload;
|
|
8
|
+
conversationId: string;
|
|
9
|
+
};
|
|
10
|
+
export type LogMutationProps = {
|
|
11
|
+
onSuccess: () => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const useLogEmailMutation: ({ onSuccess }: LogMutationProps) => import('@tanstack/react-query').UseMutationResult<unknown, Error, LogEmailProps, unknown>;
|
|
14
|
+
//# sourceMappingURL=postLog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postLog.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/postLog.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,MAAM,eAAe,GAAG;IAC5B,gBAAgB,EAAE,CAAC,MAAM,GAAG,YAAY,CAAC,EAAE,CAAC;IAC5C,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,eAAe,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAqBF,eAAO,MAAM,mBAAmB,kBAAmB,gBAAgB,8FAKlE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type RetryLogProps = {
|
|
2
|
+
conversationId: string;
|
|
3
|
+
};
|
|
4
|
+
export type RetryMutationProps = {
|
|
5
|
+
onSuccess: () => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const useRetryLogMutation: ({ onSuccess }: RetryMutationProps) => import('@tanstack/react-query').UseMutationResult<unknown, Error, RetryLogProps, unknown>;
|
|
8
|
+
//# sourceMappingURL=retryLog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retryLog.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/retryLog.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,aAAa,GAAG;IAC1B,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAoBF,eAAO,MAAM,mBAAmB,kBAAmB,kBAAkB,8FAKpE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Entity, CheckedEntity } from '../types';
|
|
2
|
+
export type ValidateEntityPayload = {
|
|
3
|
+
entityType: string;
|
|
4
|
+
searchString: string;
|
|
5
|
+
formId: string;
|
|
6
|
+
};
|
|
7
|
+
export type ValidateEntityProps = {
|
|
8
|
+
payload: ValidateEntityPayload;
|
|
9
|
+
entity: Entity;
|
|
10
|
+
conversationId: string;
|
|
11
|
+
};
|
|
12
|
+
export type MutationProps = {
|
|
13
|
+
onSuccess: (payload: CheckedEntity) => void;
|
|
14
|
+
onError: () => void;
|
|
15
|
+
};
|
|
16
|
+
export declare const useValidateEntityMutation: ({ onSuccess, onError }: MutationProps) => import('@tanstack/react-query').UseMutationResult<CheckedEntity, Error, ValidateEntityProps, unknown>;
|
|
17
|
+
//# sourceMappingURL=validateEntity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validateEntity.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/validateEntity.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,MAAM,EAAgB,aAAa,EAAE,MAAM,UAAU,CAAC;AAEpE,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,qBAAqB,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AA+BF,eAAO,MAAM,yBAAyB,2BAA4B,aAAa,0GAM9E,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import { LogStatusEnum } from '../../types';
|
|
2
|
+
import { LogStatusResponse } from '../../types/api';
|
|
1
3
|
interface LogActionProps {
|
|
4
|
+
status: `${LogStatusEnum}`;
|
|
5
|
+
emailLogStatus: LogStatusResponse;
|
|
2
6
|
messageId?: string | null;
|
|
3
7
|
legacyMessageId?: string | null;
|
|
4
8
|
}
|
|
5
|
-
export declare const LogAction: ({
|
|
9
|
+
export declare const LogAction: ({ status, emailLogStatus }: LogActionProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
10
|
export {};
|
|
7
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/log-action/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/log-action/index.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAIzD,UAAU,cAAc;IACtB,MAAM,EAAE,GAAG,aAAa,EAAE,CAAC;IAC3B,cAAc,EAAE,iBAAiB,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC;AAID,eAAO,MAAM,SAAS,+BAAgC,cAAc,4CA6CnE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/email-logger/components/log-action/status-icon/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,GAAG,aAAa,EAAE,EAAE,SAAS,CAkB7D,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { StackProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const AddIconBox: StyledComponent<StackProps>;
|
|
4
|
+
export declare const SuccessIconBox: StyledComponent<StackProps>;
|
|
5
|
+
export declare const LoadingIconBox: StyledComponent<StackProps>;
|
|
6
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/features/email-logger/components/log-action/status-icon/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAKlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAUtD,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,UAAU,CAElD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CAEtD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CAItD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LogStatusEnum } from '../../../types';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
type TextRender = (children: ReactNode) => ReactNode;
|
|
4
|
+
export declare const StatusTextTypes: Record<`${LogStatusEnum}`, TextRender>;
|
|
5
|
+
export declare const StatusTexts: Record<`${LogStatusEnum}`, string>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/email-logger/components/log-action/status-text/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,UAAU,GAAG,CAAC,QAAQ,EAAE,SAAS,KAAK,SAAS,CAAC;AAKrD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,GAAG,aAAa,EAAE,EAAE,UAAU,CAMlE,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,GAAG,aAAa,EAAE,EAAE,MAAM,CAM1D,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { TypographyProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const BaseTypography: StyledComponent<TypographyProps>;
|
|
4
|
+
export declare const GreyTypography: StyledComponent<TypographyProps>;
|
|
5
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/features/email-logger/components/log-action/status-text/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,eAAe,CAK3D,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,eAAe,CAE3D,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StyledComponent } from '@emotion/styled';
|
|
2
|
-
import { StackProps } from '@hiver/hiver-ui-kit';
|
|
2
|
+
import { StackProps, ButtonProps } from '@hiver/hiver-ui-kit';
|
|
3
3
|
export declare const ActionContainer: StyledComponent<StackProps>;
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const RetryButton: StyledComponent<ButtonProps>;
|
|
5
5
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/log-action/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/log-action/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEnE,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,UAAU,CASvD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,WAAW,CASpD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RenderParams } from '../log-tooltip';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { LogSettings } from '../../types';
|
|
4
|
+
export type LogActionTooltipProps = {
|
|
5
|
+
children: ReactElement<unknown, 'div'>;
|
|
6
|
+
isAdmin: boolean;
|
|
7
|
+
logSettings: LogSettings;
|
|
8
|
+
renderEntities: (params: RenderParams) => ReactElement | null;
|
|
9
|
+
};
|
|
10
|
+
export declare const LogActionTooltip: ({ children, isAdmin, logSettings, renderEntities }: LogActionTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/log-action/tooltip.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAmB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACvC,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,WAAW,CAAC;IACzB,cAAc,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,GAAG,IAAI,CAAC;CAC/D,CAAC;AAEF,eAAO,MAAM,gBAAgB,uDAAwD,qBAAqB,4CAyCzG,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { LogStatusResponse } from '../../types/api';
|
|
1
2
|
interface LogStatusProps {
|
|
3
|
+
emailLogStatus: LogStatusResponse;
|
|
2
4
|
containerElement?: HTMLElement;
|
|
3
5
|
messageId?: string | null;
|
|
4
6
|
legacyMessageId?: string | null;
|
|
5
7
|
}
|
|
6
|
-
export declare const LogStatus: ({ containerElement, messageId, legacyMessageId }: LogStatusProps) => import('react').ReactPortal | null;
|
|
8
|
+
export declare const LogStatus: ({ emailLogStatus, containerElement, messageId, legacyMessageId }: LogStatusProps) => import('react').ReactPortal | null;
|
|
7
9
|
export {};
|
|
8
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/log-status/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/log-status/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,UAAU,cAAc;IACtB,cAAc,EAAE,iBAAiB,CAAC;IAClC,gBAAgB,CAAC,EAAE,WAAW,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC;AAED,eAAO,MAAM,SAAS,qEAAsE,cAAc,uCAgBzG,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
export type RenderParams = {
|
|
3
|
+
close: () => void;
|
|
4
|
+
};
|
|
5
|
+
interface LogTooltipProps {
|
|
6
|
+
children: ReactElement<unknown, 'div'>;
|
|
7
|
+
defaultOpen: boolean;
|
|
8
|
+
renderTooltip: (params: RenderParams) => ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare const LogTooltip: ({ children, renderTooltip, defaultOpen }: LogTooltipProps) => 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/log-tooltip/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AACF,UAAU,eAAe;IACvB,QAAQ,EAAE,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACvC,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,SAAS,CAAC;CACpD;AAED,eAAO,MAAM,UAAU,6CAA8C,eAAe,4CAuCnF,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { TooltipProps, BoxProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const CustomTooltip: StyledComponent<TooltipProps>;
|
|
4
|
+
export declare const TooltipContent: StyledComponent<BoxProps>;
|
|
5
|
+
//# sourceMappingURL=styles.d.ts.map
|