@hiver/connector-agent 4.6.0 → 4.6.1-cfApps-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/appCustomField.d.ts +12 -0
- package/api/appCustomField.d.ts.map +1 -0
- package/app/connector-cards.d.ts.map +1 -1
- package/constants/endpoints.d.ts +1 -0
- package/constants/endpoints.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/email-selection.d.ts.map +1 -1
- package/features/customer-identity-mapping/api/index.d.ts +9 -0
- package/features/customer-identity-mapping/api/index.d.ts.map +1 -0
- package/features/customer-identity-mapping/components/CustomerIdentityMappingModal.d.ts +9 -0
- package/features/customer-identity-mapping/components/CustomerIdentityMappingModal.d.ts.map +1 -0
- package/features/customer-identity-mapping/constants/api.d.ts +3 -0
- package/features/customer-identity-mapping/constants/api.d.ts.map +1 -0
- package/features/customer-identity-mapping/types.d.ts +14 -0
- package/features/customer-identity-mapping/types.d.ts.map +1 -0
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.es.js +17791 -17576
- package/index.umd.js +327 -327
- package/package.json +1 -1
- package/testing/mocks/handlers/customer-identity-mapping.d.ts +2 -0
- package/testing/mocks/handlers/customer-identity-mapping.d.ts.map +1 -0
- package/testing/mocks/handlers/fetch-cards.d.ts +1 -0
- package/testing/mocks/handlers/fetch-cards.d.ts.map +1 -1
- package/testing/mocks/handlers/write-capability.d.ts +1 -0
- package/testing/mocks/handlers/write-capability.d.ts.map +1 -1
- package/testing/mocks/handlers.d.ts.map +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface AppCustomFieldRef {
|
|
2
|
+
appFieldRefId: string;
|
|
3
|
+
}
|
|
4
|
+
export interface AppCfValuesRequest {
|
|
5
|
+
conversationId: string | number;
|
|
6
|
+
ugId: number;
|
|
7
|
+
inboxId: number;
|
|
8
|
+
appCustomFields: AppCustomFieldRef[];
|
|
9
|
+
}
|
|
10
|
+
export declare const fetchAppCfValues: (data: AppCfValuesRequest) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=appCustomField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appCustomField.d.ts","sourceRoot":"","sources":["../../src/api/appCustomField.ts"],"names":[],"mappings":"AAKA,UAAU,iBAAiB;IACzB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,iBAAiB,EAAE,CAAC;CACtC;AAED,eAAO,MAAM,gBAAgB,SAAU,kBAAkB,iEAMxD,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;AA6F3G,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,SAAS,CA0hBxC,CAAC"}
|
package/constants/endpoints.d.ts
CHANGED
|
@@ -5,4 +5,5 @@ export declare const CREATE_FIELD_OPTION_API: string;
|
|
|
5
5
|
export declare const LINK_CARD_API: string;
|
|
6
6
|
export declare const PREVIEW_CARD_API: string;
|
|
7
7
|
export declare const SELECTED_MAIL_API: string;
|
|
8
|
+
export declare const APP_CF_VALUES_API = "/v1/api/connectors/app-cf-values";
|
|
8
9
|
//# sourceMappingURL=endpoints.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../src/constants/endpoints.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,YAAY,CAAC;AAClC,eAAO,MAAM,qBAAqB,6DAAiE,CAAC;AACpG,eAAO,MAAM,gBAAgB,EAAE,MAAqE,CAAC;AACrG,eAAO,MAAM,uBAAuB,EAAE,MAA8C,CAAC;AACrF,eAAO,MAAM,aAAa,EAAE,MAAgD,CAAC;AAC7E,eAAO,MAAM,gBAAgB,EAAE,MAAmD,CAAC;AACnF,eAAO,MAAM,iBAAiB,EAAE,MAA6E,CAAC"}
|
|
1
|
+
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../src/constants/endpoints.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,YAAY,CAAC;AAClC,eAAO,MAAM,qBAAqB,6DAAiE,CAAC;AACpG,eAAO,MAAM,gBAAgB,EAAE,MAAqE,CAAC;AACrG,eAAO,MAAM,uBAAuB,EAAE,MAA8C,CAAC;AACrF,eAAO,MAAM,aAAa,EAAE,MAAgD,CAAC;AAC7E,eAAO,MAAM,gBAAgB,EAAE,MAAmD,CAAC;AACnF,eAAO,MAAM,iBAAiB,EAAE,MAA6E,CAAC;AAC9G,eAAO,MAAM,iBAAiB,qCAAyC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-selection.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/email-selection.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"email-selection.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/email-selection.tsx"],"names":[],"mappings":"AAwBA,UAAU,MAAM;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,cAAc,GAAG,IAAI,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,SAAS,EAAE,OAAO,CAAC;CACpB;AA4HD,eAAO,MAAM,cAAc,uEAAwE,MAAM,4CAmDxG,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ConnectorLookupData } from '../types';
|
|
2
|
+
export declare const fetchBulkLookupConfigs: (connectorIds: string[]) => Promise<{
|
|
3
|
+
connectors: ConnectorLookupData[];
|
|
4
|
+
}>;
|
|
5
|
+
export declare const saveBulkLookupConfigs: (entries: {
|
|
6
|
+
connector_id: string;
|
|
7
|
+
hiver_param: string;
|
|
8
|
+
}[]) => Promise<unknown>;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/customer-identity-mapping/api/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,sBAAsB,iBACnB,MAAM,EAAE,KACrB,OAAO,CAAC;IAAE,UAAU,EAAE,mBAAmB,EAAE,CAAA;CAAE,CAc/C,CAAC;AAEF,eAAO,MAAM,qBAAqB,YACvB;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,EAAE,KACvD,OAAO,CAAC,OAAO,CAQjB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ConnectorLookupData } from '../types';
|
|
2
|
+
interface IProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
connectors: ConnectorLookupData[];
|
|
6
|
+
}
|
|
7
|
+
export declare const CustomerIdentityMappingModal: import('react').NamedExoticComponent<IProps>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=CustomerIdentityMappingModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomerIdentityMappingModal.d.ts","sourceRoot":"","sources":["../../../../src/features/customer-identity-mapping/components/CustomerIdentityMappingModal.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,mBAAmB,EAAe,MAAM,UAAU,CAAC;AAEjE,UAAU,MAAM;IACd,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,mBAAmB,EAAE,CAAC;CACnC;AAqID,eAAO,MAAM,4BAA4B,8CA+EvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/customer-identity-mapping/constants/api.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,mCAAmC,CAAC;AAChE,eAAO,MAAM,sBAAsB,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type LookupPreset = {
|
|
2
|
+
hiverParam: string;
|
|
3
|
+
label: string;
|
|
4
|
+
objectParamLabel: string;
|
|
5
|
+
};
|
|
6
|
+
export type ConnectorLookupData = {
|
|
7
|
+
connectorId: string;
|
|
8
|
+
connectorName: string;
|
|
9
|
+
logo: string;
|
|
10
|
+
hiverParam: string;
|
|
11
|
+
presets: LookupPreset[];
|
|
12
|
+
};
|
|
13
|
+
export type RowStateMap = Record<string, string>;
|
|
14
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +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;CAC1B,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"}
|
package/index.d.ts
CHANGED
|
@@ -7,4 +7,6 @@ export { ActionQueue } from './utils/action-queue';
|
|
|
7
7
|
export { addNewConnectors, shouldCaptureFeedback, setCaptureFeedbackOnDemand, dismissNotification, shouldShowNotification } from '@connector/indexeddb';
|
|
8
8
|
export type { ISectionItems, IActionButtons, ISections, IMetaData, ITemplateUpdates } from '@connector/utils';
|
|
9
9
|
export { EmailLogger, GmailLogObserver } from './app/email-logger';
|
|
10
|
+
export { fetchAppCfValues } from './api/appCustomField';
|
|
11
|
+
export type { AppCfValuesRequest } from './api/appCustomField';
|
|
10
12
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACnH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,EAC1B,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,gBAAgB,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