@hiver/connector-agent 4.23.0-customerIdMap-beta.3 → 4.23.0-customerIdMap-beta.4
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 +2 -1
- package/api/linkCard.d.ts.map +1 -1
- package/app/connector-cards.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/Card.d.ts.map +1 -1
- package/features/connector-cards/hooks/useRelatedRecords.d.ts +4 -1
- package/features/connector-cards/hooks/useRelatedRecords.d.ts.map +1 -1
- package/features/connector-cards/store/slice.d.ts +2 -0
- package/features/connector-cards/store/slice.d.ts.map +1 -1
- package/features/global-search/components/preview-and-link/index.d.ts +2 -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 +2 -1
- package/features/global-search/components/search-results/index.d.ts.map +1 -1
- package/index.es.js +7457 -7410
- package/index.umd.js +463 -463
- package/package.json +1 -1
package/api/linkCard.d.ts
CHANGED
|
@@ -6,8 +6,9 @@ export interface LinkCardProps {
|
|
|
6
6
|
email?: string;
|
|
7
7
|
}
|
|
8
8
|
export declare const isAlreadyLinkedError: (error: unknown) => boolean;
|
|
9
|
-
export declare const useLinkCardMutation: ({ onSuccess, onAlreadyLinked }: {
|
|
9
|
+
export declare const useLinkCardMutation: ({ onSuccess, onAlreadyLinked, onFailed }: {
|
|
10
10
|
onSuccess?: () => void;
|
|
11
11
|
onAlreadyLinked?: () => boolean;
|
|
12
|
+
onFailed?: () => void;
|
|
12
13
|
}) => import('@tanstack/react-query').UseMutationResult<void, Error, LinkCardProps, unknown>;
|
|
13
14
|
//# 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":"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,
|
|
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,6CAI7B;IACD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IAEvB,eAAe,CAAC,EAAE,MAAM,OAAO,CAAC;IAEhC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,2FAYG,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;AAmH3G,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,SAAS,
|
|
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,CA63BxC,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;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,
|
|
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,4CAsTjC,CAAC"}
|
|
@@ -16,7 +16,7 @@ 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) => {
|
|
19
|
+
beginRelatedLookup: (target: IRelatedLookupTarget) => () => {
|
|
20
20
|
payload: {
|
|
21
21
|
connectorId: string;
|
|
22
22
|
status: import('../store/initial-state').RelatedLookupStatus;
|
|
@@ -24,6 +24,9 @@ export declare const useRelatedRecords: ({ setRelatedKey, trackIdLookupEvent }:
|
|
|
24
24
|
externalResourceId: string;
|
|
25
25
|
};
|
|
26
26
|
type: "connectorCardLibrary/setRelatedLookupStatus";
|
|
27
|
+
} | {
|
|
28
|
+
payload: string;
|
|
29
|
+
type: "connectorCardLibrary/clearRelatedLookup";
|
|
27
30
|
};
|
|
28
31
|
lookupRelatedRecords: (target: IRelatedLookupTarget, savedTemplates?: ICard[]) => Promise<void>;
|
|
29
32
|
retryRelatedLookup: (connectorId: string) => void;
|
|
@@ -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":"AAaA,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;AAMD,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;iCA2BlE,oBAAoB;;;;;;;;;;;;mCAcd,oBAAoB,mBAAmB,KAAK,EAAE;sCAwF/C,MAAM;CAQvB,CAAC"}
|
|
@@ -25,6 +25,7 @@ export declare const connectorCardLibrary: import('@reduxjs/toolkit').Slice<impo
|
|
|
25
25
|
cardId: string;
|
|
26
26
|
externalResourceId: string;
|
|
27
27
|
}>): void;
|
|
28
|
+
clearRelatedLookup(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>, action: PayloadAction<string>): void;
|
|
28
29
|
/**
|
|
29
30
|
* Link all related records: replace one app's cards with the related-records
|
|
30
31
|
* response. The linked record's own card stays pinned on top, then the
|
|
@@ -100,6 +101,7 @@ export declare const actions: import('@reduxjs/toolkit').CaseReducerActions<{
|
|
|
100
101
|
cardId: string;
|
|
101
102
|
externalResourceId: string;
|
|
102
103
|
}>): void;
|
|
104
|
+
clearRelatedLookup(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>, action: PayloadAction<string>): void;
|
|
103
105
|
/**
|
|
104
106
|
* Link all related records: replace one app's cards with the related-records
|
|
105
107
|
* response. The linked record's own card stays pinned on top, then the
|
|
@@ -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,EAA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AAC;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"}
|
|
@@ -4,7 +4,8 @@ interface IProps {
|
|
|
4
4
|
onBack: () => void;
|
|
5
5
|
onLink: () => void;
|
|
6
6
|
onLinkAllRelated?: (meta: PreviewMeta) => void;
|
|
7
|
+
onLinkAllRelatedStart?: (meta: PreviewMeta) => (() => void) | undefined;
|
|
7
8
|
}
|
|
8
|
-
export declare const PreviewAndLink: ({ meta: { externalResourceId, formId, searchKeyword, searchResultLabel }, onBack, onLink, onLinkAllRelated }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const PreviewAndLink: ({ meta: { externalResourceId, formId, searchKeyword, searchResultLabel }, onBack, onLink, onLinkAllRelated, onLinkAllRelatedStart }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export {};
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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;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;
|
|
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;IAE/C,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACzE;AAED,eAAO,MAAM,cAAc,wIAMxB,MAAM,4CAgHR,CAAC"}
|
|
@@ -6,7 +6,8 @@ interface IProps {
|
|
|
6
6
|
onReset: () => void;
|
|
7
7
|
fetchCards: () => void;
|
|
8
8
|
onLinkAllRelated?: (meta: PreviewMeta) => void;
|
|
9
|
+
onLinkAllRelatedStart?: (meta: PreviewMeta) => (() => void) | undefined;
|
|
9
10
|
}
|
|
10
|
-
export declare const SearchResults: ({ searchResults, selectedObject, onReset, fetchCards, onLinkAllRelated }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const SearchResults: ({ searchResults, selectedObject, onReset, fetchCards, onLinkAllRelated, onLinkAllRelatedStart }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export {};
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-results/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,UAAU,MAAM;IACd,aAAa,EAAE,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC;IAChD,cAAc,EAAE,gBAAgB,CAAC;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,IAAI,CAAC;IAEvB,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-results/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,UAAU,MAAM;IACd,aAAa,EAAE,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC;IAChD,cAAc,EAAE,gBAAgB,CAAC;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,IAAI,CAAC;IAEvB,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAE/C,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACzE;AAED,eAAO,MAAM,aAAa,oGAOvB,MAAM,4CAoFR,CAAC"}
|