@hiver/connector-agent 4.23.0-customerIdMap-beta.0 → 4.23.0-customerIdMap-beta.1
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 +3 -1
- package/api/linkCard.d.ts.map +1 -1
- package/app/connector-cards.d.ts.map +1 -1
- package/features/connector-cards/api/idLookup.d.ts +5 -1
- package/features/connector-cards/api/idLookup.d.ts.map +1 -1
- package/features/connector-cards/api/index.d.ts +1 -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/constants/api.d.ts +2 -2
- package/features/connector-cards/constants/api.d.ts.map +1 -1
- package/features/connector-cards/constants/card-content.d.ts +1 -1
- package/features/connector-cards/constants/card-content.d.ts.map +1 -1
- package/features/connector-cards/hooks/useIdLookup.d.ts +2 -2
- package/features/connector-cards/hooks/useIdLookup.d.ts.map +1 -1
- package/features/connector-cards/hooks/useRelatedRecords.d.ts +11 -2
- package/features/connector-cards/hooks/useRelatedRecords.d.ts.map +1 -1
- package/features/connector-cards/store/initial-state.d.ts +6 -0
- package/features/connector-cards/store/initial-state.d.ts.map +1 -1
- package/features/connector-cards/store/slice.d.ts +2 -5
- package/features/connector-cards/store/slice.d.ts.map +1 -1
- package/features/connector-cards/utils/idLookup.d.ts +11 -4
- package/features/connector-cards/utils/idLookup.d.ts.map +1 -1
- package/features/connector-cards/utils.d.ts +2 -0
- package/features/connector-cards/utils.d.ts.map +1 -1
- package/features/global-search/components/preview-and-link/index.d.ts.map +1 -1
- package/index.es.js +8466 -8332
- package/index.umd.js +468 -468
- package/main-dev.d.ts.map +1 -1
- package/package.json +1 -1
- package/store/idLookupKeyStore.d.ts +5 -0
- package/store/idLookupKeyStore.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.map +1 -1
- package/testing/mocks/handlers.d.ts.map +1 -1
- package/types/cards.d.ts +8 -0
- package/types/cards.d.ts.map +1 -1
package/api/linkCard.d.ts
CHANGED
|
@@ -5,7 +5,9 @@ export interface LinkCardProps {
|
|
|
5
5
|
channelType?: string;
|
|
6
6
|
email?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const isAlreadyLinkedError: (error: unknown) => boolean;
|
|
9
|
+
export declare const useLinkCardMutation: ({ onSuccess, onAlreadyLinked }: {
|
|
9
10
|
onSuccess?: () => void;
|
|
11
|
+
onAlreadyLinked?: () => boolean;
|
|
10
12
|
}) => import('@tanstack/react-query').UseMutationResult<void, Error, LinkCardProps, unknown>;
|
|
11
13
|
//# sourceMappingURL=linkCard.d.ts.map
|
package/api/linkCard.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkCard.d.ts","sourceRoot":"","sources":["../../src/api/linkCard.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"linkCard.d.ts","sourceRoot":"","sources":["../../src/api/linkCard.ts"],"names":[],"mappings":"AAUA,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAiBD,eAAO,MAAM,oBAAoB,UAAW,OAAO,YAA0D,CAAC;AAE9G,eAAO,MAAM,mBAAmB,mCAG7B;IACD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IAEvB,eAAe,CAAC,EAAE,MAAM,OAAO,CAAC;CACjC,2FAWG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AAmH3G,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,SAAS,CAu2BxC,CAAC"}
|
|
@@ -8,9 +8,11 @@ export type IdLookupOption = {
|
|
|
8
8
|
cardKeyName: string;
|
|
9
9
|
firstSeenIndex: number;
|
|
10
10
|
recordCard?: IdLookupRecordCard;
|
|
11
|
+
isRelated?: boolean;
|
|
12
|
+
displayValue?: string;
|
|
11
13
|
};
|
|
12
14
|
export type IdLookupOptionsData = {
|
|
13
|
-
status?: 'pending' | 'completed';
|
|
15
|
+
status?: 'pending' | 'ready' | 'completed';
|
|
14
16
|
options: IdLookupOption[];
|
|
15
17
|
defaults?: Record<string, string>;
|
|
16
18
|
};
|
|
@@ -41,6 +43,8 @@ export type RelatedRecordCard = {
|
|
|
41
43
|
export type RelatedRecordsResponse = {
|
|
42
44
|
hiverParam: string | null;
|
|
43
45
|
value: string | null;
|
|
46
|
+
label: string | null;
|
|
47
|
+
displayValue: string | null;
|
|
44
48
|
cards: RelatedRecordCard[];
|
|
45
49
|
};
|
|
46
50
|
export declare const fetchRelatedRecords: ({ cardId, conversationId, externalResourceId, inboxIds }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"idLookup.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/api/idLookup.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"idLookup.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/api/idLookup.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAE5F,MAAM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AI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAC1C,CAAC;AAEN,MAAM,MAAM,sBAAsB,GAAG;IACnC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,6DAK7B;IACD,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB,KAAG,OAAO,CAAC,sBAAsB,CAmBjC,CAAC"}
|
|
@@ -7,5 +7,5 @@ export declare const getConnectorData: ({ inboxIds, conversationId, channelType,
|
|
|
7
7
|
export declare const getSpecificConnectorData: (id: string, email: string, conversationId?: number, externalResourceId?: string, smId?: string, smIds?: string[], lookup?: {
|
|
8
8
|
hiverParam: string;
|
|
9
9
|
value: string;
|
|
10
|
-
}) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
10
|
+
}, isRefresh?: boolean) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/api/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,2DAK1B;IACD,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,iEAaA,CAAC;AAEF,eAAO,MAAM,wBAAwB,OAC/B,MAAM,SACH,MAAM,mBACI,MAAM,uBACF,MAAM,SACpB,MAAM,UACN,MAAM,EAAE,WACN;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/api/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,2DAK1B;IACD,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,iEAaA,CAAC;AAEF,eAAO,MAAM,wBAAwB,OAC/B,MAAM,SACH,MAAM,mBACI,MAAM,uBACF,MAAM,SACpB,MAAM,UACN,MAAM,EAAE,WACN;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,sFAkC/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/Card.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAa,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/Card.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAa,MAAM,eAAe,CAAC;AA0BhE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AA8BxC,UAAU,MAAM;IACd,IAAI,EAAE,KAAK,CAAC;IACZ,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE;QAChB,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;KAC9B,GAAG,IAAI,CAAC;IACT,KAAK,EAAE,MAAM,CAAC;IACd,0BAA0B,EAAE;QAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,GAAG,IAAI,CAAC;IACT,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,eAAO,MAAM,IAAI,UAAW,MAAM,4CA0TjC,CAAC"}
|
|
@@ -3,8 +3,8 @@ export declare const FETCH_ALL_CARDS_API: string;
|
|
|
3
3
|
export declare const FETCH_SPECIFIC_CARD_API: string;
|
|
4
4
|
export declare const ID_LOOKUP_OPTIONS_API: string;
|
|
5
5
|
export declare const RELATED_RECORDS_API: string;
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
6
|
+
export declare const ID_LOOKUP_OPTIONS_POLL_INTERVALS_MS: [number, number][];
|
|
7
|
+
export declare const ID_LOOKUP_OPTIONS_POLL_MAX_MS = 600000;
|
|
8
8
|
export declare const ID_LOOKUP_DEFAULT_HOLD_MS = 2000;
|
|
9
9
|
export declare const FETCH_ATTACHMENT_DATA_API: string;
|
|
10
10
|
export declare const ATTACHMENT_DATA_POLL_INTERVALS_MS: number[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/constants/api.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,YAAY,CAAC;AAClC,eAAO,MAAM,mBAAmB,EAAE,MAAuC,CAAC;AAC1E,eAAO,MAAM,uBAAuB,EAAE,MAAgD,CAAC;AAKvF,eAAO,MAAM,qBAAqB,EAAE,MAA+E,CAAC;AAEpH,eAAO,MAAM,mBAAmB,EAAE,MAA+D,CAAC;
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/constants/api.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,YAAY,CAAC;AAClC,eAAO,MAAM,mBAAmB,EAAE,MAAuC,CAAC;AAC1E,eAAO,MAAM,uBAAuB,EAAE,MAAgD,CAAC;AAKvF,eAAO,MAAM,qBAAqB,EAAE,MAA+E,CAAC;AAEpH,eAAO,MAAM,mBAAmB,EAAE,MAA+D,CAAC;AAIlG,eAAO,MAAM,mCAAmC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAIjE,CAAC;AACF,eAAO,MAAM,6BAA6B,SAAS,CAAC;AAGpD,eAAO,MAAM,yBAAyB,OAAO,CAAC;AAC9C,eAAO,MAAM,yBAAyB,EAAE,MAA+D,CAAC;AAKxG,eAAO,MAAM,iCAAiC,EAAE,MAAM,EAAsC,CAAC;AAC7F,eAAO,MAAM,yBAAyB,IAAI,CAAC;AAI3C,eAAO,MAAM,oBAAoB,EAAE,MAA+D,CAAC;AACnG,eAAO,MAAM,mBAAmB,EAAE,MAA8D,CAAC"}
|
|
@@ -9,5 +9,5 @@ export declare const ID_LOOKUP_RETRY = "Retry";
|
|
|
9
9
|
export declare const ID_LOOKUP_CARD_ERROR = "Couldn't load this card.";
|
|
10
10
|
export declare const NO_RELATED_RECORDS_FOUND = "No related records found";
|
|
11
11
|
export declare const RELATED_RECORDS_LOOKUP_FAILED = "Couldn't load the related records.";
|
|
12
|
-
export declare const getIdLookupNoDataMessage: (cardTitle: string, label: string, value: string) => string;
|
|
12
|
+
export declare const getIdLookupNoDataMessage: (cardTitle: string, label: string | undefined, value: string) => string;
|
|
13
13
|
//# sourceMappingURL=card-content.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-content.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/constants/card-content.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,cAAc,CAAC;AACrC,eAAO,MAAM,SAAS,cAAc,CAAC;AACrC,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,gCAAgC,iBAAiB,CAAC;AAE/D,eAAO,MAAM,2BAA2B,kBAAkB,CAAC;AAC3D,eAAO,MAAM,wBAAwB,cAAc,CAAC;AACpD,eAAO,MAAM,eAAe,UAAU,CAAC;AACvC,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAC/D,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AACnE,eAAO,MAAM,6BAA6B,uCAAuC,CAAC;AAElF,eAAO,MAAM,wBAAwB,cAAe,MAAM,SAAS,MAAM,SAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"card-content.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/constants/card-content.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,cAAc,CAAC;AACrC,eAAO,MAAM,SAAS,cAAc,CAAC;AACrC,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,gCAAgC,iBAAiB,CAAC;AAE/D,eAAO,MAAM,2BAA2B,kBAAkB,CAAC;AAC3D,eAAO,MAAM,wBAAwB,cAAc,CAAC;AACpD,eAAO,MAAM,eAAe,UAAU,CAAC;AACvC,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAC/D,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AACnE,eAAO,MAAM,6BAA6B,uCAAuC,CAAC;AAElF,eAAO,MAAM,wBAAwB,cAAe,MAAM,SAAS,MAAM,GAAG,SAAS,SAAS,MAAM,WACC,CAAC"}
|
|
@@ -11,7 +11,7 @@ interface IProps {
|
|
|
11
11
|
* ID-as-key state for the panel: the conversation's ID options, each app's
|
|
12
12
|
* active key, and R6 — an app whose admin default is an ID field holds its
|
|
13
13
|
* card reads until the options arrive (capped at ~2s), then pre-selects the
|
|
14
|
-
* first value for that field or stays on the email
|
|
14
|
+
* first value for that field or stays on the email until the next open.
|
|
15
15
|
*/
|
|
16
16
|
export declare const useIdLookup: ({ enabled, appNames }: IProps) => {
|
|
17
17
|
optionsByConnector: Record<string, IdLookupOption[]>;
|
|
@@ -20,7 +20,7 @@ export declare const useIdLookup: ({ enabled, appNames }: IProps) => {
|
|
|
20
20
|
};
|
|
21
21
|
heldConnectorIds: "all" | ReadonlySet<string>;
|
|
22
22
|
selectIdOption: (option: IdLookupOption, source: Extract<IdLookupKey["source"], "manual" | "default_preselect">) => void;
|
|
23
|
-
setRelatedKey: (relatedConnectorId: string,
|
|
23
|
+
setRelatedKey: (relatedConnectorId: string, key: Omit<IdLookupKey, "source">) => void;
|
|
24
24
|
clearIdKeys: () => void;
|
|
25
25
|
trackIdLookupEvent: (event: string, eventConnectorId: string, extra?: ITrackingData) => void;
|
|
26
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIdLookup.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/hooks/useIdLookup.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useIdLookup.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/hooks/useIdLookup.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAE9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,eAAO,MAAM,cAAc,0BAA0B,CAAC;AAEtD,UAAU,MAAM;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC;AAOD;;;;;GAKG;AACH,eAAO,MAAM,WAAW,0BAA2B,MAAM;;;;;;6BAiD5C,cAAc,UAAU,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,QAAQ,GAAG,mBAAmB,CAAC;wCAgB1E,MAAM,OAAO,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC;;gCA9BrD,MAAM,oBAAoB,MAAM,UAAU,aAAa;CA0GlE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ITrackingData } from '../../../context';
|
|
2
|
-
import { ICard } from '../../../types/cards';
|
|
2
|
+
import { ICard, IdLookupKey } from '../../../types/cards';
|
|
3
3
|
export interface IRelatedLookupTarget {
|
|
4
4
|
connectorId: string;
|
|
5
5
|
cardId: string;
|
|
@@ -7,7 +7,7 @@ export interface IRelatedLookupTarget {
|
|
|
7
7
|
fallbackCard?: Partial<ICard>;
|
|
8
8
|
}
|
|
9
9
|
interface IProps {
|
|
10
|
-
setRelatedKey: (connectorId: string,
|
|
10
|
+
setRelatedKey: (connectorId: string, key: Omit<IdLookupKey, 'source'>) => void;
|
|
11
11
|
trackIdLookupEvent: (event: string, connectorId: string, data?: ITrackingData) => void;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
@@ -16,6 +16,15 @@ interface IProps {
|
|
|
16
16
|
* with them. The linked record's card stays pinned on top throughout.
|
|
17
17
|
*/
|
|
18
18
|
export declare const useRelatedRecords: ({ setRelatedKey, trackIdLookupEvent }: IProps) => {
|
|
19
|
+
beginRelatedLookup: (target: IRelatedLookupTarget) => {
|
|
20
|
+
payload: {
|
|
21
|
+
connectorId: string;
|
|
22
|
+
status: import('../store/initial-state').RelatedLookupStatus;
|
|
23
|
+
cardId: string;
|
|
24
|
+
externalResourceId: string;
|
|
25
|
+
};
|
|
26
|
+
type: "connectorCardLibrary/setRelatedLookupStatus";
|
|
27
|
+
};
|
|
19
28
|
lookupRelatedRecords: (target: IRelatedLookupTarget, savedTemplates?: ICard[]) => Promise<void>;
|
|
20
29
|
retryRelatedLookup: (connectorId: string) => void;
|
|
21
30
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRelatedRecords.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/hooks/useRelatedRecords.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useRelatedRecords.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/hooks/useRelatedRecords.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAExD,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IAEpB,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,MAAM,CAAC;IAE3B,YAAY,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CAC/B;AAED,UAAU,MAAM;IACd,aAAa,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,KAAK,IAAI,CAAC;IAC/E,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;CACxF;AAED;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,0CAA2C,MAAM;iCAsB7B,oBAAoB;;;;;;;;;mCAGnD,oBAAoB,mBAAmB,KAAK,EAAE;sCAqF/C,MAAM;CAQvB,CAAC"}
|
|
@@ -24,6 +24,12 @@ export interface IConnectorState {
|
|
|
24
24
|
prefilledCardKeys: {
|
|
25
25
|
[key: string]: string;
|
|
26
26
|
} | null;
|
|
27
|
+
keyedCardData: {
|
|
28
|
+
[key: string]: {
|
|
29
|
+
[lookupKey: string]: ISpecificCard;
|
|
30
|
+
};
|
|
31
|
+
} | null;
|
|
32
|
+
freshReadsUntil: number | null;
|
|
27
33
|
relatedLookup: {
|
|
28
34
|
[connectorId: string]: IRelatedLookupState;
|
|
29
35
|
} | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/initial-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE1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
|
-
* Identifies what a card's data is read with. A linked card (or the ID record
|
|
11
|
-
* card) is read by its externalResourceId, which never changes; a lookup card
|
|
12
|
-
* by the ID key when one is active for its app, else by the selected email.
|
|
13
|
-
*/
|
|
14
9
|
export declare const getCardLookupKey: ({ email, externalResourceId, lookup }: {
|
|
15
10
|
email: string;
|
|
16
11
|
externalResourceId?: string;
|
|
@@ -22,6 +17,7 @@ export declare const connectorCardLibrary: import('@reduxjs/toolkit').Slice<impo
|
|
|
22
17
|
type: string;
|
|
23
18
|
}): void;
|
|
24
19
|
clearConnectorList(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>): void;
|
|
20
|
+
requireFreshReads(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>): void;
|
|
25
21
|
consumePrefilledCard(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>, action: PayloadAction<string>): void;
|
|
26
22
|
setRelatedLookupStatus(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>, action: PayloadAction<{
|
|
27
23
|
connectorId: string;
|
|
@@ -96,6 +92,7 @@ export declare const actions: import('@reduxjs/toolkit').CaseReducerActions<{
|
|
|
96
92
|
type: string;
|
|
97
93
|
}): void;
|
|
98
94
|
clearConnectorList(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>): void;
|
|
95
|
+
requireFreshReads(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>): void;
|
|
99
96
|
consumePrefilledCard(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>, action: PayloadAction<string>): void;
|
|
100
97
|
setRelatedLookupStatus(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>, action: PayloadAction<{
|
|
101
98
|
connectorId: string;
|
|
@@ -1 +1 @@
|
|
|
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,EA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,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;;;;;;;;;;EA6CxB,CAAC;;AAEF,wBAA4C;AAC5C,eAAO,MAAM,OAAO;;;;;;;iJAvOoB,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;IAKJ;;;;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;0BAwM2C,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
import { IdLookupOption, RelatedRecordsResponse } from '../api/idLookup';
|
|
2
2
|
import { ICard, ISpecificCard, IdLookupKey } from '../../../types/cards';
|
|
3
3
|
export declare const MAX_ID_OPTIONS_PER_APP = 5;
|
|
4
|
-
/** `<value> (<label>)`, e.g. `SO97 (Order ID)`. */
|
|
5
|
-
export declare const formatIdOptionLabel: (
|
|
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
6
|
/** connectorId → that app's ID options, first-seen first, capped per app. */
|
|
7
7
|
export declare const groupIdOptionsByConnector: (options: IdLookupOption[]) => Record<string, IdLookupOption[]>;
|
|
8
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;
|
|
9
11
|
/**
|
|
10
12
|
* The option an app's active key corresponds to, if any. Matched on value, not
|
|
11
|
-
* hiverParam:
|
|
12
|
-
*
|
|
13
|
+
* hiverParam: a related key selects an extracted ID with its value when there
|
|
14
|
+
* is one, else its own related option.
|
|
13
15
|
*/
|
|
14
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[];
|
|
15
22
|
/**
|
|
16
23
|
* Pins each keyed app's ID record card on top of that app's cards. The card is
|
|
17
24
|
* synthesized from the option's recordCard and read by externalResourceId; if
|
|
@@ -1 +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,
|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E,KAAK,EAAE,KAAK,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAA;CAkD5D,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
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;
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/preview-and-link/index.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAe,WAAW,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/preview-and-link/index.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAe,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAmChE,UAAU,MAAM;IACd,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IAEnB,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,cAAc,iHAKxB,MAAM,4CAmGR,CAAC"}
|