@hiver/connector-agent 4.23.0-repocleanup-beta.0 → 4.23.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/api/linkCard.d.ts +4 -1
- package/api/linkCard.d.ts.map +1 -1
- package/app/connector-cards.d.ts.map +1 -1
- package/app/email-logger/provider.d.ts.map +1 -1
- package/app/hig-slack/HigSlackSection.d.ts.map +1 -1
- package/app/hig-slack/style.d.ts +7 -0
- package/app/hig-slack/style.d.ts.map +1 -1
- package/app/omni-slack/SlackLinkActionsIsland.d.ts +7 -1
- package/app/omni-slack/SlackLinkActionsIsland.d.ts.map +1 -1
- package/app/provider.d.ts.map +1 -1
- package/app/style.d.ts.map +1 -1
- package/constants/card.d.ts +1 -0
- package/constants/card.d.ts.map +1 -1
- package/constants/global-constants.d.ts +2 -0
- package/constants/global-constants.d.ts.map +1 -1
- package/constants/tracking-events.d.ts +4 -0
- package/constants/tracking-events.d.ts.map +1 -1
- package/features/connector-cards/api/idLookup.d.ts +56 -0
- package/features/connector-cards/api/idLookup.d.ts.map +1 -0
- package/features/connector-cards/api/index.d.ts +4 -1
- package/features/connector-cards/api/index.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/Card.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/CardContent.d.ts +3 -0
- package/features/connector-cards/components/card-list/CardContent.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/ListCards.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/email-selection.d.ts +12 -1
- package/features/connector-cards/components/card-list/email-selection.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/related-records-status.d.ts +7 -0
- package/features/connector-cards/components/card-list/related-records-status.d.ts.map +1 -0
- package/features/connector-cards/components/card-list/style.d.ts +2 -0
- package/features/connector-cards/components/card-list/style.d.ts.map +1 -1
- package/features/connector-cards/constants/api.d.ts +5 -0
- package/features/connector-cards/constants/api.d.ts.map +1 -1
- package/features/connector-cards/constants/card-content.d.ts +7 -0
- package/features/connector-cards/constants/card-content.d.ts.map +1 -1
- package/features/connector-cards/context/IdLookupContext.d.ts +14 -0
- package/features/connector-cards/context/IdLookupContext.d.ts.map +1 -0
- package/features/connector-cards/hooks/useIdLookup.d.ts +28 -0
- package/features/connector-cards/hooks/useIdLookup.d.ts.map +1 -0
- package/features/connector-cards/hooks/useRelatedRecords.d.ts +35 -0
- package/features/connector-cards/hooks/useRelatedRecords.d.ts.map +1 -0
- package/features/connector-cards/store/initial-state.d.ts +21 -0
- package/features/connector-cards/store/initial-state.d.ts.map +1 -1
- package/features/connector-cards/store/selectors.d.ts +9 -0
- package/features/connector-cards/store/selectors.d.ts.map +1 -1
- package/features/connector-cards/store/slice.d.ts +62 -0
- package/features/connector-cards/store/slice.d.ts.map +1 -1
- package/features/connector-cards/utils/idLookup.d.ts +41 -0
- package/features/connector-cards/utils/idLookup.d.ts.map +1 -0
- package/features/connector-cards/utils.d.ts +10 -1
- package/features/connector-cards/utils.d.ts.map +1 -1
- package/features/customer-identity-mapping/components/CustomerIdentityMappingModal.d.ts.map +1 -1
- package/features/customer-identity-mapping/types.d.ts +1 -0
- package/features/customer-identity-mapping/types.d.ts.map +1 -1
- package/features/email-logger/api/getPerTaskLogStatus.d.ts +20 -0
- package/features/email-logger/api/getPerTaskLogStatus.d.ts.map +1 -0
- package/features/email-logger/api/getSearch.d.ts +8 -0
- package/features/email-logger/api/getSearch.d.ts.map +1 -1
- package/features/email-logger/api/postLog.d.ts +5 -0
- package/features/email-logger/api/postLog.d.ts.map +1 -1
- package/features/email-logger/api/taskLogToggle.d.ts +27 -0
- package/features/email-logger/api/taskLogToggle.d.ts.map +1 -0
- package/features/email-logger/api/validateEntity.d.ts +11 -0
- package/features/email-logger/api/validateEntity.d.ts.map +1 -1
- package/features/email-logger/components/log-action/index.d.ts.map +1 -1
- package/features/email-logger/components/log-action/tooltip.d.ts +3 -1
- package/features/email-logger/components/log-action/tooltip.d.ts.map +1 -1
- package/features/email-logger/components/log-email-switch/index.d.ts +3 -0
- package/features/email-logger/components/log-email-switch/index.d.ts.map +1 -0
- package/features/email-logger/components/log-tooltip/index.d.ts +3 -1
- package/features/email-logger/components/log-tooltip/index.d.ts.map +1 -1
- package/features/email-logger/components/log-tooltip/styles.d.ts +1 -0
- package/features/email-logger/components/log-tooltip/styles.d.ts.map +1 -1
- package/features/email-logger/components/select-entity/components/entity-option/index.d.ts.map +1 -1
- package/features/email-logger/components/select-entity/components/feedback/index.d.ts +4 -1
- package/features/email-logger/components/select-entity/components/feedback/index.d.ts.map +1 -1
- package/features/email-logger/components/select-entity/components/monday-task-popover/index.d.ts +7 -0
- package/features/email-logger/components/select-entity/components/monday-task-popover/index.d.ts.map +1 -0
- package/features/email-logger/components/select-entity/index.d.ts +6 -1
- package/features/email-logger/components/select-entity/index.d.ts.map +1 -1
- package/features/email-logger/components/sync-tooltip/index.d.ts +2 -0
- package/features/email-logger/components/sync-tooltip/index.d.ts.map +1 -0
- package/features/email-logger/constants/index.d.ts +8 -0
- package/features/email-logger/constants/index.d.ts.map +1 -1
- package/features/email-logger/context/contexts.d.ts +6 -0
- package/features/email-logger/context/contexts.d.ts.map +1 -1
- package/features/email-logger/context/index.d.ts +1 -1
- package/features/email-logger/context/index.d.ts.map +1 -1
- package/features/email-logger/index.d.ts.map +1 -1
- package/features/email-logger/omni/OmniSyncPanel.d.ts.map +1 -1
- package/features/email-logger/omni/components/EntityRow.d.ts.map +1 -1
- package/features/email-logger/omni/components/LogEmailPill.d.ts +6 -1
- package/features/email-logger/omni/components/LogEmailPill.d.ts.map +1 -1
- package/features/email-logger/types/api.d.ts +17 -0
- package/features/email-logger/types/api.d.ts.map +1 -1
- package/features/email-logger/types/index.d.ts +13 -1
- package/features/email-logger/types/index.d.ts.map +1 -1
- package/features/email-logger/utils/perTask.d.ts +39 -0
- package/features/email-logger/utils/perTask.d.ts.map +1 -0
- package/features/email-logger/utils/syncSignals.d.ts +17 -0
- package/features/email-logger/utils/syncSignals.d.ts.map +1 -0
- package/features/global-search/api/getSearchResults.d.ts +4 -0
- package/features/global-search/api/getSearchResults.d.ts.map +1 -1
- package/features/global-search/components/preview-and-link/index.d.ts +3 -1
- package/features/global-search/components/preview-and-link/index.d.ts.map +1 -1
- package/features/global-search/components/search-results/index.d.ts +4 -1
- package/features/global-search/components/search-results/index.d.ts.map +1 -1
- package/features/global-search/constants/index.d.ts +1 -0
- package/features/global-search/constants/index.d.ts.map +1 -1
- package/features/slack/components/LinkExistingModal/ChannelPicker.d.ts +1 -1
- package/features/slack/components/LinkExistingModal/index.d.ts +6 -4
- package/features/slack/components/LinkExistingModal/index.d.ts.map +1 -1
- package/features/slack/components/LinkedConversationPanel/index.d.ts.map +1 -1
- package/features/slack/components/StartModal/index.d.ts +5 -2
- package/features/slack/components/StartModal/index.d.ts.map +1 -1
- package/features/write-form/api/getEmailLoggingState.d.ts +12 -0
- package/features/write-form/api/getEmailLoggingState.d.ts.map +1 -0
- package/features/write-form/components/auto-fill/button.d.ts.map +1 -1
- package/features/write-form/components/card-linking/card-linking.d.ts.map +1 -1
- package/features/write-form/components/card-linking/card-preview.d.ts.map +1 -1
- package/features/write-form/components/log-emails-toggle/index.d.ts +9 -0
- package/features/write-form/components/log-emails-toggle/index.d.ts.map +1 -0
- package/features/write-form/components/map-form-defaults/index.d.ts +2 -0
- package/features/write-form/components/map-form-defaults/index.d.ts.map +1 -1
- package/features/write-form/components/write-form/index.d.ts.map +1 -1
- package/features/write-form/constants/index.d.ts +2 -0
- package/features/write-form/constants/index.d.ts.map +1 -1
- package/features/write-form/store/slice.d.ts +2 -0
- package/features/write-form/store/slice.d.ts.map +1 -1
- package/features/write-form/utils/logEmails.d.ts +65 -0
- package/features/write-form/utils/logEmails.d.ts.map +1 -0
- package/hooks/useMappedSmId.d.ts +31 -0
- package/hooks/useMappedSmId.d.ts.map +1 -0
- package/index.es.js +15666 -13931
- package/index.umd.js +1150 -695
- package/main-dev.d.ts.map +1 -1
- package/package.json +1 -1
- package/store/idLookupKeyStore.d.ts +22 -0
- package/store/idLookupKeyStore.d.ts.map +1 -0
- package/testing/dev/MondayEmailLogHarness.d.ts +5 -0
- package/testing/dev/MondayEmailLogHarness.d.ts.map +1 -0
- package/testing/mocks/handlers/customer-identity-mapping.d.ts.map +1 -1
- package/testing/mocks/handlers/id-lookup-qa.d.ts +2 -0
- package/testing/mocks/handlers/id-lookup-qa.d.ts.map +1 -0
- package/testing/mocks/handlers/id-lookup.d.ts +4 -0
- package/testing/mocks/handlers/id-lookup.d.ts.map +1 -0
- package/testing/mocks/handlers/monday-email-log.d.ts +58 -0
- package/testing/mocks/handlers/monday-email-log.d.ts.map +1 -0
- package/testing/mocks/handlers/write-capability.d.ts.map +1 -1
- package/testing/mocks/handlers.d.ts.map +1 -1
- package/testing/test-utils.d.ts +4 -1
- package/testing/test-utils.d.ts.map +1 -1
- package/theme/connector-theme-provider.d.ts.map +1 -1
- package/types/cards.d.ts +26 -0
- package/types/cards.d.ts.map +1 -1
- package/types/form.d.ts +2 -0
- package/types/form.d.ts.map +1 -1
|
@@ -1,11 +1,46 @@
|
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { RelatedLookupStatus } from './initial-state';
|
|
1
3
|
import { selectConnector } from './selectors';
|
|
2
4
|
import { ICard, ISpecificCard } from '../../../types/cards';
|
|
5
|
+
type CardLookup = {
|
|
6
|
+
hiverParam: string;
|
|
7
|
+
value: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const getCardLookupKey: ({ email, externalResourceId, lookup }: {
|
|
10
|
+
email: string;
|
|
11
|
+
externalResourceId?: string;
|
|
12
|
+
lookup?: CardLookup;
|
|
13
|
+
}) => string;
|
|
3
14
|
export declare const connectorCardLibrary: import('@reduxjs/toolkit').Slice<import('./initial-state').IConnectorState, {
|
|
4
15
|
updateThreadId(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>, action: {
|
|
5
16
|
payload: any;
|
|
6
17
|
type: string;
|
|
7
18
|
}): void;
|
|
8
19
|
clearConnectorList(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>): void;
|
|
20
|
+
requireFreshReads(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>): void;
|
|
21
|
+
consumePrefilledCard(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>, action: PayloadAction<string>): void;
|
|
22
|
+
setRelatedLookupStatus(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>, action: PayloadAction<{
|
|
23
|
+
connectorId: string;
|
|
24
|
+
status: RelatedLookupStatus;
|
|
25
|
+
cardId: string;
|
|
26
|
+
externalResourceId: string;
|
|
27
|
+
}>): void;
|
|
28
|
+
clearRelatedLookup(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>, action: PayloadAction<string>): void;
|
|
29
|
+
/**
|
|
30
|
+
* Link all related records: replace one app's cards with the related-records
|
|
31
|
+
* response. The linked record's own card stays pinned on top, then the
|
|
32
|
+
* related cards in response order; other apps are untouched.
|
|
33
|
+
*/
|
|
34
|
+
replaceAppCards(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>, action: PayloadAction<{
|
|
35
|
+
connectorId: string;
|
|
36
|
+
pinned: {
|
|
37
|
+
id: string;
|
|
38
|
+
externalResourceId: string;
|
|
39
|
+
};
|
|
40
|
+
cards: ICard[];
|
|
41
|
+
cardData: Record<string, ISpecificCard>;
|
|
42
|
+
lookupKey: string;
|
|
43
|
+
}>): void;
|
|
9
44
|
}, "connectorCardLibrary", "connectorCardLibrary", import('@reduxjs/toolkit').SliceSelectors<import('./initial-state').IConnectorState>>;
|
|
10
45
|
declare const fetchAllCardsData: import('@reduxjs/toolkit').AsyncThunk<{
|
|
11
46
|
cards: ICard[];
|
|
@@ -37,6 +72,9 @@ declare const fetchSpecificCardData: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
37
72
|
conversationId?: number;
|
|
38
73
|
isRefresh?: boolean;
|
|
39
74
|
externalResourceId?: string;
|
|
75
|
+
smId?: string;
|
|
76
|
+
smIds?: string[];
|
|
77
|
+
lookup?: CardLookup;
|
|
40
78
|
}, {
|
|
41
79
|
state?: unknown;
|
|
42
80
|
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
@@ -55,6 +93,30 @@ export declare const actions: import('@reduxjs/toolkit').CaseReducerActions<{
|
|
|
55
93
|
type: string;
|
|
56
94
|
}): void;
|
|
57
95
|
clearConnectorList(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>): void;
|
|
96
|
+
requireFreshReads(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>): void;
|
|
97
|
+
consumePrefilledCard(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>, action: PayloadAction<string>): void;
|
|
98
|
+
setRelatedLookupStatus(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>, action: PayloadAction<{
|
|
99
|
+
connectorId: string;
|
|
100
|
+
status: RelatedLookupStatus;
|
|
101
|
+
cardId: string;
|
|
102
|
+
externalResourceId: string;
|
|
103
|
+
}>): void;
|
|
104
|
+
clearRelatedLookup(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>, action: PayloadAction<string>): void;
|
|
105
|
+
/**
|
|
106
|
+
* Link all related records: replace one app's cards with the related-records
|
|
107
|
+
* response. The linked record's own card stays pinned on top, then the
|
|
108
|
+
* related cards in response order; other apps are untouched.
|
|
109
|
+
*/
|
|
110
|
+
replaceAppCards(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>, action: PayloadAction<{
|
|
111
|
+
connectorId: string;
|
|
112
|
+
pinned: {
|
|
113
|
+
id: string;
|
|
114
|
+
externalResourceId: string;
|
|
115
|
+
};
|
|
116
|
+
cards: ICard[];
|
|
117
|
+
cardData: Record<string, ISpecificCard>;
|
|
118
|
+
lookupKey: string;
|
|
119
|
+
}>): void;
|
|
58
120
|
}, "connectorCardLibrary">;
|
|
59
121
|
export { selectConnector, fetchAllCardsData, fetchSpecificCardData };
|
|
60
122
|
//# sourceMappingURL=slice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/slice.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/slice.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AAE1F,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,aAAa,EAAsB,MAAM,eAAe,CAAC;AAOzE,KAAK,UAAU,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAgBxD,eAAO,MAAM,gBAAgB,0CAI1B;IACD,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB,WAIA,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;iJAoBO,aAAa,CAAC,MAAM,CAAC;mJAQ/C,aAAa,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,EAAE,mBAAmB,CAAC;QAC5B,MAAM,EAAE,MAAM,CAAC;QACf,kBAAkB,EAAE,MAAM,CAAC;KAC5B,CAAC;+IAK8B,aAAa,CAAC,MAAM,CAAC;IAMvD;;;;OAIG;4IAGO,aAAa,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,kBAAkB,EAAE,MAAM,CAAA;SAAE,CAAC;QACnD,KAAK,EAAE,KAAK,EAAE,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;QACxC,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;uKAmGN,CAAC;AAIH,QAAA,MAAM,iBAAiB;;;;cAQT,MAAM,EAAE;kBACJ,MAAM;oBACJ,MAAM;kBACR,MAAM;;;;;;;;;;EAevB,CAAC;AAEF,QAAA,MAAM,qBAAqB;;;;;;;QAajB,MAAM;WACH,MAAM;qBACI,MAAM;gBACX,OAAO;yBACE,MAAM;WACpB,MAAM;YACL,MAAM,EAAE;aAEP,UAAU;;;;;;;;;;EA0DxB,CAAC;;AAEF,wBAA4C;AAC5C,eAAO,MAAM,OAAO;;;;;;;iJA1PoB,aAAa,CAAC,MAAM,CAAC;mJAQ/C,aAAa,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,EAAE,mBAAmB,CAAC;QAC5B,MAAM,EAAE,MAAM,CAAC;QACf,kBAAkB,EAAE,MAAM,CAAC;KAC5B,CAAC;+IAK8B,aAAa,CAAC,MAAM,CAAC;IAMvD;;;;OAIG;4IAGO,aAAa,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,kBAAkB,EAAE,MAAM,CAAA;SAAE,CAAC;QACnD,KAAK,EAAE,KAAK,EAAE,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;QACxC,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;0BAqN2C,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { IdLookupOption, RelatedRecordsResponse } from '../api/idLookup';
|
|
2
|
+
import { ICard, ISpecificCard, IdLookupKey } from '../../../types/cards';
|
|
3
|
+
export declare const MAX_ID_OPTIONS_PER_APP = 5;
|
|
4
|
+
/** `<value> (<label>)`, e.g. `SO97 (Order ID)` or `Acme Inc (Customer)`. */
|
|
5
|
+
export declare const formatIdOptionLabel: ({ value, label, displayValue }: Pick<IdLookupOption, "value" | "label" | "displayValue">) => string;
|
|
6
|
+
/** connectorId → that app's ID options, first-seen first, capped per app. */
|
|
7
|
+
export declare const groupIdOptionsByConnector: (options: IdLookupOption[]) => Record<string, IdLookupOption[]>;
|
|
8
|
+
export declare const toIdLookupKey: (option: IdLookupOption, source: IdLookupKey["source"]) => IdLookupKey;
|
|
9
|
+
/** The dropdown option for an app's related key (Link all related records). */
|
|
10
|
+
export declare const toRelatedIdOption: (connectorId: string, key: IdLookupKey) => IdLookupOption;
|
|
11
|
+
/**
|
|
12
|
+
* The option an app's active key corresponds to, if any. Matched on value, not
|
|
13
|
+
* hiverParam: a related key selects an extracted ID with its value when there
|
|
14
|
+
* is one, else its own related option.
|
|
15
|
+
*/
|
|
16
|
+
export declare const findOptionForKey: (options?: IdLookupOption[], key?: Pick<IdLookupKey, "value">) => IdLookupOption | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* While an app is keyed on a related key, only the linked record's card and
|
|
19
|
+
* the related cards are shown for it — also after a remount reloads the list.
|
|
20
|
+
*/
|
|
21
|
+
export declare const withRelatedCardsOnly: (cards: ICard[], keys: Record<string, IdLookupKey>) => ICard[];
|
|
22
|
+
/**
|
|
23
|
+
* Pins each keyed app's ID record card on top of that app's cards. The card is
|
|
24
|
+
* synthesized from the option's recordCard and read by externalResourceId; if
|
|
25
|
+
* the same record is already linked, the linked entry is used instead.
|
|
26
|
+
*/
|
|
27
|
+
export declare const withIdRecordCards: (cards: ICard[], keys: Record<string, IdLookupKey>) => ICard[];
|
|
28
|
+
/**
|
|
29
|
+
* Maps a related-records response into the cards list and card-data shapes the
|
|
30
|
+
* panel already renders. Titles, priority and forms come from the app's
|
|
31
|
+
* existing card with the same id when there is one.
|
|
32
|
+
*/
|
|
33
|
+
export declare const mapRelatedRecords: ({ response, connectorId, appCards }: {
|
|
34
|
+
response: RelatedRecordsResponse;
|
|
35
|
+
connectorId: string;
|
|
36
|
+
appCards: ICard[];
|
|
37
|
+
}) => {
|
|
38
|
+
cards: ICard[];
|
|
39
|
+
cardData: Record<string, ISpecificCard>;
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=idLookup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"idLookup.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/utils/idLookup.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACtG,OAAO,KAAK,EAAE,KAAK,EAAE,aAAa,EAAsB,WAAW,EAAE,MAAM,eAAe,CAAC;AAG3F,eAAO,MAAM,sBAAsB,IAAI,CAAC;AAExC,4EAA4E;AAC5E,eAAO,MAAM,mBAAmB,mCAI7B,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,OAAO,GAAG,cAAc,CAAC,WACY,CAAC;AAExE,6EAA6E;AAC7E,eAAO,MAAM,yBAAyB,YAAa,cAAc,EAAE,KAAG,MAAM,CAAC,MAAM,EAAE,cAAc,EAAE,CASpG,CAAC;AAEF,eAAO,MAAM,aAAa,WAAY,cAAc,UAAU,WAAW,CAAC,QAAQ,CAAC,KAAG,WAUpF,CAAC;AAEH,+EAA+E;AAC/E,eAAO,MAAM,iBAAiB,gBAAiB,MAAM,OAAO,WAAW,KAAG,cAUxE,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,aAAa,cAAc,EAAE,QAAa,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,+BACzB,CAAC;AAEzE;;;GAGG;AACH,eAAO,MAAM,oBAAoB,UAAW,KAAK,EAAE,QAAQ,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,KAAG,KAAK,EAQ1F,CAAC;AAEL;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,UAAW,KAAK,EAAE,QAAQ,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,KAAG,KAAK,EA8B1F,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,wCAI3B;IACD,QAAQ,EAAE,sBAAsB,CAAC;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,KAAK,EAAE,CAAC;CACnB,KAAG;IAAE,KAAK,EAAE,KAAK,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAA;CAkD5D,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { ConnectorAppMetrics, ICard, SpecificCardData, SpecificConnectorApiStatus } from '../../types/cards';
|
|
1
|
+
import { ConnectorAppMetrics, ICard, ISpecificCard, SpecificCardData, SpecificConnectorApiStatus } from '../../types/cards';
|
|
2
|
+
/** "No '<card>' found for …": nothing matched, which a retry won't change. */
|
|
3
|
+
export declare const isNoDataMessage: (message?: string) => boolean;
|
|
2
4
|
export declare const formatPrimitive: (item: string | number | boolean) => string;
|
|
3
5
|
export declare const extractErrorParams: (cardErrorMessage: string) => {
|
|
4
6
|
error_code: string | null;
|
|
@@ -14,6 +16,13 @@ export declare const processCommonErrorMessage: (apiErrorCode: string, connector
|
|
|
14
16
|
* `isUserAuthEnabled` so it can never override a legacy connector's error.
|
|
15
17
|
*/
|
|
16
18
|
export declare const resolveCardLevelErrorMessage: (rawError: string, isUserAuthEnabled?: boolean) => string;
|
|
19
|
+
/**
|
|
20
|
+
* A card read under an ID key (or a related key) that found no record: the
|
|
21
|
+
* backend echoes activeLookupParam and returns empty data with no
|
|
22
|
+
* cardErrorMessage. An upstream failure keeps cardErrorMessage instead.
|
|
23
|
+
*/
|
|
24
|
+
export declare const isIdLookupEmpty: (cardInfo?: ISpecificCard | null) => boolean;
|
|
25
|
+
export declare const isIdLookupError: (cardInfo?: ISpecificCard | null) => boolean;
|
|
17
26
|
export declare const isCardEmpty: (card: ICard, specificCardData: SpecificCardData, specificConnectorApiStatus: SpecificConnectorApiStatus) => boolean;
|
|
18
27
|
export declare const isCardError: (card: ICard, specificCardData: SpecificCardData, specificConnectorApiStatus: SpecificConnectorApiStatus) => string | boolean | undefined;
|
|
19
28
|
export declare function getConnectorCardsMetrics(cards: ICard[], specificCardData: SpecificCardData, specificConnectorApiStatus: SpecificConnectorApiStatus): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/features/connector-cards/utils.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/features/connector-cards/utils.ts"],"names":[],"mappings":"AAMA,OAAO,EAEL,mBAAmB,EACnB,KAAK,EACL,aAAa,EACb,gBAAgB,EAChB,0BAA0B,EAC3B,MAAM,eAAe,CAAC;AAIvB,8EAA8E;AAC9E,eAAO,MAAM,eAAe,aAAc,MAAM,YAAuD,CAAC;AAGxG,eAAO,MAAM,eAAe,SAAU,MAAM,GAAG,MAAM,GAAG,OAAO,WACG,CAAC;AAEnE,eAAO,MAAM,kBAAkB,qBAAsB,MAAM;;;CAQ1D,CAAC;AAEF,eAAO,MAAM,yBAAyB,iBAAkB,MAAM,mBAAmB,MAAM,EAAE,WAIxF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,4BAA4B,aAAc,MAAM,sBAAsB,OAAO,KAAG,MAM5F,CAAC;AAQF;;;;GAIG;AACH,eAAO,MAAM,eAAe,cAAe,aAAa,GAAG,IAAI,YACgC,CAAC;AAEhG,eAAO,MAAM,eAAe,cAAe,aAAa,GAAG,IAAI,YACD,CAAC;AAE/D,eAAO,MAAM,WAAW,SAChB,KAAK,oBACO,gBAAgB,8BACN,0BAA0B,YAkBvD,CAAC;AAEF,eAAO,MAAM,WAAW,SAChB,KAAK,oBACO,gBAAgB,8BACN,0BAA0B,iCAYvD,CAAC;AAEF,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,KAAK,EAAE,EACd,gBAAgB,EAAE,gBAAgB,EAClC,0BAA0B,EAAE,0BAA0B;;;;EAkDvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomerIdentityMappingModal.d.ts","sourceRoot":"","sources":["../../../../src/features/customer-identity-mapping/components/CustomerIdentityMappingModal.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,mBAAmB,EAAuC,MAAM,UAAU,CAAC;AAEzF,UAAU,MAAM;IACd,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,mBAAmB,EAAE,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;
|
|
1
|
+
{"version":3,"file":"CustomerIdentityMappingModal.d.ts","sourceRoot":"","sources":["../../../../src/features/customer-identity-mapping/components/CustomerIdentityMappingModal.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,mBAAmB,EAAuC,MAAM,UAAU,CAAC;AAEzF,UAAU,MAAM;IACd,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,mBAAmB,EAAE,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAkHD,eAAO,MAAM,4BAA4B,8CAyGvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/customer-identity-mapping/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/customer-identity-mapping/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;IAGzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,CAAC;AAGF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEjD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAChE,OAAO,EAAE,gBAAgB,EAAE,CAAC;CAC7B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LogStatusResponse } from '../types/api';
|
|
2
|
+
export declare const PER_TASK_CONNECTORS_QUERY_KEY: string[];
|
|
3
|
+
type PerTaskLogStatus = {
|
|
4
|
+
/** Whether the sync control should render for this conversation. */
|
|
5
|
+
visible: boolean;
|
|
6
|
+
/** The status to render; the same object as the input for CRM connectors. */
|
|
7
|
+
emailLogStatus: LogStatusResponse | undefined;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Resolves the status the sync pill renders.
|
|
11
|
+
*
|
|
12
|
+
* CRM connectors are untouched: when `emailLogSettings.enabled` is true the
|
|
13
|
+
* input is returned as-is and no extra request is made. Only a conversation
|
|
14
|
+
* whose bound connector has the admin flag off but still has linked entities is
|
|
15
|
+
* checked against the workspace connector list, and only a per-task connector
|
|
16
|
+
* type (monday.com) makes the control visible in that case.
|
|
17
|
+
*/
|
|
18
|
+
export declare const usePerTaskLogStatus: (data: LogStatusResponse | undefined) => PerTaskLogStatus;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=getPerTaskLogStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPerTaskLogStatus.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/getPerTaskLogStatus.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,eAAO,MAAM,6BAA6B,UAAkC,CAAC;AAE7E,KAAK,gBAAgB,GAAG;IACtB,oEAAoE;IACpE,OAAO,EAAE,OAAO,CAAC;IACjB,6EAA6E;IAC7E,cAAc,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC/C,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,SAAU,iBAAiB,GAAG,SAAS,KAAG,gBA0BzE,CAAC"}
|
|
@@ -3,6 +3,14 @@ export type SearchEntitiesProps = {
|
|
|
3
3
|
formId: string;
|
|
4
4
|
searchObject: string;
|
|
5
5
|
searchText: string;
|
|
6
|
+
/**
|
|
7
|
+
* Agency installs: the shared inbox the search runs in. The backend searches
|
|
8
|
+
* every sub-account mapped to it and merges the rows; without it, the rows
|
|
9
|
+
* can come from a client business the inbox is not mapped to.
|
|
10
|
+
*/
|
|
11
|
+
smId?: string;
|
|
12
|
+
/** Every inbox the conversation is in; the mapping applies as their union. */
|
|
13
|
+
smIds?: string[];
|
|
6
14
|
};
|
|
7
15
|
export type MutationProps = {
|
|
8
16
|
onSuccess: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSearch.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/getSearch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getSearch.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/getSearch.ts"],"names":[],"mappings":"AAUA,OAAO,EAA0B,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAGtF,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8EAA8E;IAC9E,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAoCF,eAAO,MAAM,yBAAyB,kBAAmB,aAAa,2HAQrE,CAAC"}
|
|
@@ -3,6 +3,11 @@ export type LogEmailPayload = {
|
|
|
3
3
|
selectedEntities: (Entity & SearchEntity)[];
|
|
4
4
|
connectorId: string;
|
|
5
5
|
autoLogEnabled: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Agency installs: every inbox the conversation is in. Recorded with the link,
|
|
8
|
+
* so this sync and every later one refuses a record outside their mapping.
|
|
9
|
+
*/
|
|
10
|
+
smIds?: string[];
|
|
6
11
|
};
|
|
7
12
|
export type LogEmailProps = {
|
|
8
13
|
payload: LogEmailPayload;
|
|
@@ -1 +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;
|
|
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;AAIhD,MAAM,MAAM,eAAe,GAAG;IAC5B,gBAAgB,EAAE,CAAC,MAAM,GAAG,YAAY,CAAC,EAAE,CAAC;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB,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,8FAOlE,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type TaskLogUpdate = {
|
|
2
|
+
id?: string;
|
|
3
|
+
externalResourceId?: string;
|
|
4
|
+
logEmailsEnabled: boolean;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* PATCH log_emails for monday.com: `entities` changes only the named tasks
|
|
8
|
+
* (checkbox rows); `autoLogEnabled` is sent only by the popover's header switch.
|
|
9
|
+
*/
|
|
10
|
+
export type TaskLogTogglePayload = {
|
|
11
|
+
entities?: TaskLogUpdate[];
|
|
12
|
+
/** Header switch: pause/resume the conversation, keeping each task's selection. */
|
|
13
|
+
autoLogEnabled?: boolean;
|
|
14
|
+
};
|
|
15
|
+
export type TaskLogToggleProps = {
|
|
16
|
+
payload: TaskLogTogglePayload;
|
|
17
|
+
conversationId: string;
|
|
18
|
+
};
|
|
19
|
+
type TaskLogToggleResponse = {
|
|
20
|
+
status?: string;
|
|
21
|
+
} | undefined;
|
|
22
|
+
export declare const fetchTaskLogToggle: ({ payload, conversationId }: TaskLogToggleProps) => Promise<TaskLogToggleResponse>;
|
|
23
|
+
export declare const useTaskLogToggleMutation: ({ onSettled }: {
|
|
24
|
+
onSettled: () => void;
|
|
25
|
+
}) => import('@tanstack/react-query').UseMutationResult<TaskLogToggleResponse, Error, TaskLogToggleProps, unknown>;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=taskLogToggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taskLogToggle.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/taskLogToggle.ts"],"names":[],"mappings":"AAYA,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;IAC3B,mFAAmF;IACnF,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,oBAAoB,CAAC;IAC9B,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAAC;AAE7D,eAAO,MAAM,kBAAkB,gCAAuC,kBAAkB,mCAsBvF,CAAC;AAEF,eAAO,MAAM,wBAAwB,kBAAmB;IAAE,SAAS,EAAE,MAAM,IAAI,CAAA;CAAE,iHAKhF,CAAC"}
|
|
@@ -3,6 +3,17 @@ export type ValidateEntityPayload = {
|
|
|
3
3
|
entityType: string;
|
|
4
4
|
searchString: string;
|
|
5
5
|
cardId: string;
|
|
6
|
+
/**
|
|
7
|
+
* Agency installs: the shared inbox this validation is happening in.
|
|
8
|
+
*
|
|
9
|
+
* Bounds the sub-account search to the inbox's mapping. Without it the search
|
|
10
|
+
* spans every sub-account, and a customer who is a contact in two client
|
|
11
|
+
* businesses comes back ambiguous — resolved by "most recently updated",
|
|
12
|
+
* which stamps a guess onto the record and makes the eventual write fail.
|
|
13
|
+
*/
|
|
14
|
+
smId?: string;
|
|
15
|
+
/** Every inbox the conversation is in; the mapping applies as their union. */
|
|
16
|
+
smIds?: string[];
|
|
6
17
|
};
|
|
7
18
|
export type ValidateEntityProps = {
|
|
8
19
|
payload: ValidateEntityPayload;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateEntity.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/validateEntity.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,MAAM,EAAgB,aAAa,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"validateEntity.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/validateEntity.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,MAAM,EAAgB,aAAa,EAAE,MAAM,UAAU,CAAC;AAIpE,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8EAA8E;IAC9E,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,qBAAqB,CAAC;IAC/B,MAAM,EAAE,MAAM,GAAG,aAAa,CAAC;IAC/B,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;AAIF,MAAM,MAAM,mBAAmB,GAAG,KAAK,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAsCnE,eAAO,MAAM,yBAAyB,2BAA4B,aAAa,0GAQ9E,CAAC"}
|
|
@@ -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":"AAaA,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;AAUD,eAAO,MAAM,SAAS,+BAAgC,cAAc,4CA8DnE,CAAC"}
|
|
@@ -8,6 +8,8 @@ export type LogActionTooltipProps = {
|
|
|
8
8
|
status: `${LogStatusEnum}`;
|
|
9
9
|
retry: boolean;
|
|
10
10
|
renderEntities?: (params: RenderParams) => ReactElement | null;
|
|
11
|
+
/** Content-sized entity popover (monday.com per-task list). */
|
|
12
|
+
compact?: boolean;
|
|
11
13
|
};
|
|
12
|
-
export declare const LogActionTooltip: ({ children, isAdmin, logSettings, status, retry, renderEntities }: LogActionTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const LogActionTooltip: ({ children, isAdmin, logSettings, status, retry, renderEntities, compact }: LogActionTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
15
|
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/log-action/tooltip.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAc,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAmB,aAAa,EAAE,MAAM,aAAa,CAAC;AAE1E,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,MAAM,EAAE,GAAG,aAAa,EAAE,CAAC;IAC3B,KAAK,EAAE,OAAO,CAAC;IACf,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/log-action/tooltip.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAc,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAmB,aAAa,EAAE,MAAM,aAAa,CAAC;AAE1E,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,MAAM,EAAE,GAAG,aAAa,EAAE,CAAC;IAC3B,KAAK,EAAE,OAAO,CAAC;IACf,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,GAAG,IAAI,CAAC;IAC/D,+DAA+D;IAC/D,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,gBAAgB,+EAQ1B,qBAAqB,4CAsDvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/log-email-switch/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7D,YAAY,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -6,7 +6,9 @@ interface LogTooltipProps {
|
|
|
6
6
|
children: ReactElement<unknown, 'div'>;
|
|
7
7
|
defaultOpen: boolean;
|
|
8
8
|
renderTooltip: (params: RenderParams) => ReactNode;
|
|
9
|
+
/** Content-sized popover (monday.com per-task list) instead of the fixed 288×405 picker. */
|
|
10
|
+
compact?: boolean;
|
|
9
11
|
}
|
|
10
|
-
export declare const LogTooltip: ({ children, renderTooltip, defaultOpen }: LogTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const LogTooltip: ({ children, renderTooltip, defaultOpen, compact }: LogTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
13
|
export {};
|
|
12
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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;
|
|
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;IACnD,4FAA4F;IAC5F,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,UAAU,sDAA+D,eAAe,4CAwCpG,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { StyledComponent } from '@emotion/styled';
|
|
2
2
|
import { TooltipProps, BoxProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const COMPACT_POPOVER_CLASS = "connector-log-popover--compact";
|
|
3
4
|
export declare const CustomTooltip: StyledComponent<TooltipProps>;
|
|
4
5
|
export declare const TooltipContent: StyledComponent<BoxProps>;
|
|
5
6
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +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;AAKlD,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAElE,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,YAAY,
|
|
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;AAKlD,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAElE,eAAO,MAAM,qBAAqB,mCAAmC,CAAC;AAEtE,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,YAAY,CA2BrD,CAAC;AAEJ,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAGpD,CAAC"}
|
package/features/email-logger/components/select-entity/components/entity-option/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/entity-option/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/entity-option/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtD,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,4CA0E/G,CAAC"}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** `prompt` overrides the tenant default copy (monday.com uses "Share your feedback" on both tenants). */
|
|
2
|
+
export declare const Feedback: ({ prompt }?: {
|
|
3
|
+
prompt?: string;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
2
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/feedback/index.tsx"],"names":[],"mappings":"AAyBA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/feedback/index.tsx"],"names":[],"mappings":"AAyBA,0GAA0G;AAC1G,eAAO,MAAM,QAAQ,gBAAgB;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,4CAsEvD,CAAC"}
|
package/features/email-logger/components/select-entity/components/monday-task-popover/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LogStatusResponse } from '../../../../types/api';
|
|
2
|
+
type MondayTaskPopoverProps = {
|
|
3
|
+
emailLogStatus: LogStatusResponse;
|
|
4
|
+
};
|
|
5
|
+
export declare const MondayTaskPopover: ({ emailLogStatus }: MondayTaskPopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
package/features/email-logger/components/select-entity/components/monday-task-popover/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/monday-task-popover/index.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAkS3E,KAAK,sBAAsB,GAAG;IAC5B,cAAc,EAAE,iBAAiB,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,iBAAiB,uBAAwB,sBAAsB,4CAgH3E,CAAC"}
|
|
@@ -3,6 +3,11 @@ type SelectEntityProps = {
|
|
|
3
3
|
emailLogStatus: LogStatusResponse;
|
|
4
4
|
close: () => void;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Shared Sync conversation popover (Gmail LogAction and Omni OmniSyncPanel).
|
|
8
|
+
* Per-task connectors (monday.com) get their own popover; every CRM connector
|
|
9
|
+
* renders CrmSelectEntity, which is the previous SelectEntity unchanged.
|
|
10
|
+
*/
|
|
11
|
+
export declare const SelectEntity: (props: SelectEntityProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
12
|
export {};
|
|
8
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/select-entity/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/select-entity/index.tsx"],"names":[],"mappings":"AA0CA,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;;;;GAIG;AACH,eAAO,MAAM,YAAY,UAAW,iBAAiB,4CAKlD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/sync-tooltip/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -10,6 +10,14 @@ export declare const SYNCING_TOOLTIP_TEXT = "Syncing this conversation to :conne
|
|
|
10
10
|
export declare const RETRY_TOOLTIP_TEXT = "Something went wrong while syncing this conversation. Please try again.";
|
|
11
11
|
export declare const NO_ENTITIES_MESSAGE = "No recommendations found";
|
|
12
12
|
export declare const ENTITY_LOGGED = "Already synced email cannot be removed";
|
|
13
|
+
export declare const TASK_LOG_HEADER_TITLE = "Log email as a comment";
|
|
14
|
+
export declare const TASKS_SECTION_TITLE = "In these tasks";
|
|
15
|
+
export declare const TASKS_SECTION_TITLE_OMNI = "Tasks";
|
|
16
|
+
export declare const TASK_PAUSED_TOOLTIP_TEXT = "Sync replies as comments";
|
|
17
|
+
export declare const TASK_PAUSED_LABEL = "Sync paused";
|
|
18
|
+
export declare const TASK_LOG_TOGGLE_LABEL = "Log emails as comments on :taskName";
|
|
19
|
+
export declare const ALL_TASKS_LOG_TOGGLE_LABEL = "Log emails as comments on all linked tasks";
|
|
20
|
+
export declare const TASK_LOG_TOGGLE_FAILED = "Couldn't update email logging for this task. Please try again.";
|
|
13
21
|
export declare const WELCOME_IMAGE = "https://cdn.hiverhq.com/connectors-module/assets/sync_conversation_preview.png";
|
|
14
22
|
export declare const WELCOME_BANNER_TITLE = "Log this email thread to your CRM";
|
|
15
23
|
export declare const WELCOME_BANNER_MESSAGE = "Automatically sync Hiver conversations with your CRM to unify and audit customer records easily.";
|
|
@@ -1 +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,wBAAwB,uEAAuE,CAAC;AAC7G,eAAO,MAAM,uBAAuB,8DAA8D,CAAC;AACnG,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;
|
|
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,wBAAwB,uEAAuE,CAAC;AAC7G,eAAO,MAAM,uBAAuB,8DAA8D,CAAC;AACnG,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;AAGtE,eAAO,MAAM,qBAAqB,2BAA2B,CAAC;AAC9D,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AACpD,eAAO,MAAM,wBAAwB,UAAU,CAAC;AAChD,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AACnE,eAAO,MAAM,iBAAiB,gBAAgB,CAAC;AAC/C,eAAO,MAAM,qBAAqB,wCAAwC,CAAC;AAC3E,eAAO,MAAM,0BAA0B,+CAA+C,CAAC;AACvF,eAAO,MAAM,sBAAsB,mEAAmE,CAAC;AAIvG,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,eAAe,wBAAwB,CAAC;AACrD,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"}
|
|
@@ -5,6 +5,12 @@ export type ContextData = {
|
|
|
5
5
|
isAdmin?: boolean;
|
|
6
6
|
connectorFunctions?: ConnectorFunctions;
|
|
7
7
|
tenant?: Tenant;
|
|
8
|
+
/**
|
|
9
|
+
* Every shared inbox the conversation is in. The logger mounts outside
|
|
10
|
+
* MainAppProvider, so this is how its search, validate and log calls learn
|
|
11
|
+
* the inboxes an agency install's sub-account mapping applies to.
|
|
12
|
+
*/
|
|
13
|
+
smIds?: string[];
|
|
8
14
|
};
|
|
9
15
|
export declare const EmailLoggerContext: import('react').Context<ContextData>;
|
|
10
16
|
//# sourceMappingURL=contexts.d.ts.map
|
|
@@ -1 +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,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC;AAE1C,MAAM,MAAM,WAAW,GAAG;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;
|
|
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,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC;AAE1C,MAAM,MAAM,WAAW,GAAG;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,kBAAkB,sCAAiC,CAAC"}
|
|
@@ -4,5 +4,5 @@ type EmailLoggerProviderProps = ContextData & {
|
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
};
|
|
6
6
|
export type { ContextData };
|
|
7
|
-
export declare const EmailLoggerProvider: ({ isAdmin, conversationId, connectorFunctions, tenant, children }: EmailLoggerProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const EmailLoggerProvider: ({ isAdmin, conversationId, connectorFunctions, tenant, smIds, children }: EmailLoggerProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,
|
|
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,6EAO7B,wBAAwB,4CAa1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/email-logger/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/email-logger/index.tsx"],"names":[],"mappings":"AAQA,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,mDAuE7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OmniSyncPanel.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/omni/OmniSyncPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OmniSyncPanel.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/omni/OmniSyncPanel.tsx"],"names":[],"mappings":"AAyBA,KAAK,kBAAkB,GAAG;IACxB,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,aAAa,4BAA4B,kBAAkB,mDAqLvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityRow.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/omni/components/EntityRow.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EntityRow.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/omni/components/EntityRow.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEzE,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,MAAM,GAAG,cAAc,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;IAC7C,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAUF,eAAO,MAAM,SAAS,0EAA2E,cAAc,4CAqE9G,CAAC"}
|
|
@@ -6,7 +6,12 @@ type LogEmailPillProps = {
|
|
|
6
6
|
onClick: () => void;
|
|
7
7
|
onRetry?: () => void;
|
|
8
8
|
isRetrying?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* monday.com (per-task logging): paused keeps the pause icon but reads
|
|
11
|
+
* "Synced (n/total)", as in Figma 4253:21005. CRM pills are unchanged.
|
|
12
|
+
*/
|
|
13
|
+
perTask?: boolean;
|
|
9
14
|
};
|
|
10
|
-
export declare const LogEmailPill: ({ status, loggedCount, totalCount, onClick, onRetry, isRetrying }: LogEmailPillProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const LogEmailPill: ({ status, loggedCount, totalCount, onClick, onRetry, isRetrying, perTask }: LogEmailPillProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
16
|
export {};
|
|
12
17
|
//# sourceMappingURL=LogEmailPill.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogEmailPill.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/omni/components/LogEmailPill.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG5C,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE,aAAa,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"LogEmailPill.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/omni/components/LogEmailPill.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG5C,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE,aAAa,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAuHF,eAAO,MAAM,YAAY,+EAQtB,iBAAiB,4CAgCnB,CAAC"}
|
|
@@ -5,6 +5,23 @@ export type LogStatusResponse = {
|
|
|
5
5
|
messageLogStatus: MessageLogStatus;
|
|
6
6
|
selectedEntities: SelectedEntity[];
|
|
7
7
|
formList: SearchForm[];
|
|
8
|
+
/**
|
|
9
|
+
* PRD R9, workspace-wide: the other app whose email logging already runs in
|
|
10
|
+
* this workspace. Sent by the backend only for a monday.com conversation and
|
|
11
|
+
* only when something blocks; absent otherwise.
|
|
12
|
+
*/
|
|
13
|
+
emailLoggingBlockedBy?: {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
} | null;
|
|
17
|
+
/**
|
|
18
|
+
* Client-derived, never sent by the backend: true when the bound connector
|
|
19
|
+
* opts emails in per task (monday.com) rather than per connector. Set by
|
|
20
|
+
* usePerTaskLogStatus so the shared popover can render the per-task list.
|
|
21
|
+
*/
|
|
22
|
+
perTaskLogging?: boolean;
|
|
23
|
+
/** Client-derived: the backend's conversation-wide autoLogEnabled, kept when perTaskLogging rewrites it. */
|
|
24
|
+
conversationAutoLogEnabled?: boolean;
|
|
8
25
|
};
|
|
9
26
|
export type EntityRecommendationsResponse = {
|
|
10
27
|
connector_id: string;
|
|
@@ -1 +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;
|
|
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;IACvB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAC5D;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,4GAA4G;IAC5G,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC,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"}
|