@hiver/connector-admin 1.5.6-preview-beta.2 → 2.0.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/app/connectors/index.d.ts +1 -1
- package/app/connectors/index.d.ts.map +1 -1
- package/app/connectors/pages/api-view/index.d.ts.map +1 -1
- package/app/connectors/pages/connector-view/dashboard/index.d.ts.map +1 -1
- package/constants/api.d.ts +2 -3
- package/constants/api.d.ts.map +1 -1
- package/constants/global-constants.d.ts +1 -1
- package/constants/global-constants.d.ts.map +1 -1
- package/context/index.d.ts +2 -0
- package/context/index.d.ts.map +1 -1
- package/context/main-app-provider/index.d.ts +1 -1
- package/context/main-app-provider/index.d.ts.map +1 -1
- package/features/auth/components/auth-form/styles.d.ts.map +1 -1
- package/features/connector-library/api/index.d.ts +0 -2
- package/features/connector-library/api/index.d.ts.map +1 -1
- package/features/connector-library/components/connector-info-card/index.d.ts.map +1 -1
- package/features/connector-library/constants/api.d.ts.map +1 -1
- package/features/connector-library/store/initial-state.d.ts +3 -6
- package/features/connector-library/store/initial-state.d.ts.map +1 -1
- package/features/connector-library/store/selectors.d.ts +2 -6
- package/features/connector-library/store/selectors.d.ts.map +1 -1
- package/features/connector-library/store/slice.d.ts +14 -7
- package/features/connector-library/store/slice.d.ts.map +1 -1
- package/index.d.ts +2 -1
- package/index.d.ts.map +1 -1
- package/index.es.js +17576 -22140
- package/index.umd.js +305 -424
- package/mainUtils.d.ts +4 -0
- package/mainUtils.d.ts.map +1 -1
- package/package.json +1 -2
- package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
- package/testing/test-utils.d.ts.map +1 -1
- package/types/connector.d.ts +0 -5
- package/types/connector.d.ts.map +1 -1
- package/types/exposedTypes.d.ts +23 -0
- package/types/exposedTypes.d.ts.map +1 -0
- package/types/router.d.ts +3 -0
- package/types/router.d.ts.map +1 -1
- package/types/visibility.d.ts +0 -14
- package/types/visibility.d.ts.map +1 -1
- package/utils/index.d.ts +2 -5
- package/utils/index.d.ts.map +1 -1
- package/features/connector-preview/components/connector-preview/index.d.ts +0 -14
- package/features/connector-preview/components/connector-preview/index.d.ts.map +0 -1
- package/features/connector-preview/components/connector-preview/styles.d.ts +0 -5
- package/features/connector-preview/components/connector-preview/styles.d.ts.map +0 -1
- package/features/connector-preview/components/connector-preview-skeleton/index.d.ts +0 -2
- package/features/connector-preview/components/connector-preview-skeleton/index.d.ts.map +0 -1
- package/features/connector-preview/components/connector-preview-skeleton/styles.d.ts +0 -7
- package/features/connector-preview/components/connector-preview-skeleton/styles.d.ts.map +0 -1
- package/features/connector-preview/components/footer/index.d.ts +0 -7
- package/features/connector-preview/components/footer/index.d.ts.map +0 -1
- package/features/connector-preview/components/footer/styles.d.ts +0 -6
- package/features/connector-preview/components/footer/styles.d.ts.map +0 -1
- package/features/connector-preview/components/image-preview-list/index.d.ts +0 -6
- package/features/connector-preview/components/image-preview-list/index.d.ts.map +0 -1
- package/features/connector-preview/components/image-preview-list/styles.d.ts +0 -5
- package/features/connector-preview/components/image-preview-list/styles.d.ts.map +0 -1
- package/features/connector-preview/constants/index.d.ts +0 -4
- package/features/connector-preview/constants/index.d.ts.map +0 -1
- package/features/connector-preview/utils/index.d.ts +0 -2
- package/features/connector-preview/utils/index.d.ts.map +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IAppRouter } from '../../types/router';
|
|
2
|
-
export declare const ConnectorsApp: ({ basename, baseUrls, extraParams, availableFeatures }: IAppRouter) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const ConnectorsApp: ({ basename, baseUrls, extraParams, availableFeatures, connectorFunctions }: IAppRouter) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app/connectors/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAQjD,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app/connectors/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAQjD,eAAO,MAAM,aAAa,+EAMvB,UAAU,4CAkCZ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/api-view/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/api-view/index.tsx"],"names":[],"mappings":"AAsBA,eAAO,MAAM,eAAe,+CAsD3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/dashboard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAmC,MAAM,OAAO,CAAC;AAmC5D,eAAO,MAAM,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/dashboard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAmC,MAAM,OAAO,CAAC;AAmC5D,eAAO,MAAM,SAAS,EAAE,EAgFvB,CAAC"}
|
package/constants/api.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ApiStatus } from '../types/api';
|
|
1
2
|
export declare const API_METHODS: {
|
|
2
3
|
GET: string;
|
|
3
4
|
POST: string;
|
|
@@ -6,9 +7,7 @@ export declare const API_METHODS: {
|
|
|
6
7
|
PUT: string;
|
|
7
8
|
};
|
|
8
9
|
export declare const API_STATUS: {
|
|
9
|
-
|
|
10
|
-
LOADING: "loading";
|
|
11
|
-
FAILED: "failed";
|
|
10
|
+
[key: string]: ApiStatus;
|
|
12
11
|
};
|
|
13
12
|
export declare const BASE_ROUTE: string;
|
|
14
13
|
//# sourceMappingURL=api.d.ts.map
|
package/constants/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/constants/api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/constants/api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,eAAO,MAAM,WAAW;;;;;;CAMvB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAIlD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,MAAkB,CAAC"}
|
|
@@ -5,7 +5,6 @@ export declare const SCHEDULE_CALENDLY_FEATURE_FLAG_AUTH_PAGE = "ftr-connectors-
|
|
|
5
5
|
export declare const SCHEDULE_CALENDLY_FEATURE_FLAG_ADMIN_PAGES = "ftr-connectors-admin-schedule-call";
|
|
6
6
|
export declare const CONNECTOR_SETUP_GUIDE_LINKS = "ftr-connectors-admin-guide-links";
|
|
7
7
|
export declare const FTR_CONNECTORS_ENHANCEMENTS = "ftr-connectors-enhancements";
|
|
8
|
-
export declare const FTR_CONNECTOR_PREVIEW = "ftr-connector-preview";
|
|
9
8
|
export declare const HIGHER_PLAN = "On a higher plan";
|
|
10
9
|
export declare const UPGRADE_DESCRIPTION_TEXT = "Create, authenticate and enable powerful integrations to enhance your team's productivity within Gmail.";
|
|
11
10
|
export declare const UPGRADE = "Upgrade";
|
|
@@ -17,4 +16,5 @@ export declare const HIVER_CHAT_SUPPORT = "Hiver Chat Support";
|
|
|
17
16
|
export declare const COPY_CLIPBOARD = "Copy";
|
|
18
17
|
export declare const AUTHENTICATION_FAILED_MSG = "Authentication failed";
|
|
19
18
|
export declare const LOCALSTORAGE_KEY = "hiver_connectors";
|
|
19
|
+
export declare const ENABLE_ALL_FEATURE = "enableAllConnectorFtr";
|
|
20
20
|
//# sourceMappingURL=global-constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-constants.d.ts","sourceRoot":"","sources":["../../src/constants/global-constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,wCAAwC,2CAA2C,CAAC;AACjG,eAAO,MAAM,0CAA0C,uCAAuC,CAAC;AAC/F,eAAO,MAAM,2BAA2B,qCAAqC,CAAC;AAC9E,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"global-constants.d.ts","sourceRoot":"","sources":["../../src/constants/global-constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,wCAAwC,2CAA2C,CAAC;AACjG,eAAO,MAAM,0CAA0C,uCAAuC,CAAC;AAC/F,eAAO,MAAM,2BAA2B,qCAAqC,CAAC;AAC9E,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AAEzE,eAAO,MAAM,WAAW,qBAAqB,CAAC;AAC9C,eAAO,MAAM,wBAAwB,4GAA4G,CAAC;AAClJ,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,cAAc,wBAAwB,CAAC;AACpD,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,YAAY,yDAAyD,CAAC;AACnF,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,cAAc,SAAS,CAAC;AACrC,eAAO,MAAM,yBAAyB,0BAA0B,CAAC;AACjE,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,kBAAkB,0BAA0B,CAAC"}
|
package/context/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ConnectorsAdminFunctions } from '../types/exposedTypes';
|
|
1
2
|
import { IAvailableFtr, ISendTrackingEventData } from '../types/router';
|
|
2
3
|
import { IMetaData } from '@connector/utils';
|
|
3
4
|
export interface IConnectorType {
|
|
@@ -20,6 +21,7 @@ interface IMainAppContext {
|
|
|
20
21
|
sendTrackingEvent: (event: string, data?: ISendTrackingEventData) => void;
|
|
21
22
|
userPermissions: string[];
|
|
22
23
|
metaData?: IMetaData;
|
|
24
|
+
connectorFunctions?: ConnectorsAdminFunctions;
|
|
23
25
|
}
|
|
24
26
|
export declare const defaultMainAppvalues: {
|
|
25
27
|
currentSideBar: string;
|
package/context/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,UAAU,eAAe;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,iBAAiB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,QAAQ,EAAE,SAAS,CAAC;IACpB,iBAAiB,EAAE,aAAa,CAAC;IACjC,0BAA0B,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAClD,6BAA6B,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACpE,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAC1E,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,kBAAkB,CAAC,EAAE,wBAAwB,CAAC;CAC/C;AAGD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;CAYhC,CAAC;AAEF,eAAO,MAAM,cAAc,0CAAuD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { IAppProviderProps } from '../../types/router';
|
|
2
|
-
declare const MainAppProvider: ({ children, baseUrls, availableFeatures, extraParams }: IAppProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const MainAppProvider: ({ children, baseUrls, availableFeatures, extraParams, connectorFunctions }: IAppProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default MainAppProvider;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/main-app-provider/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,QAAA,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/main-app-provider/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,QAAA,MAAM,eAAe,+EAMlB,iBAAiB,4CAwBnB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/auth/components/auth-form/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEvE,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,UAAU,CASpD,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,eAAe,CAEtD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAExD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/auth/components/auth-form/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEvE,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,UAAU,CASpD,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,eAAe,CAEtD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAExD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,UAAU,CA8BnD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,UAAU,CAEnD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAKrD,CAAC"}
|
|
@@ -6,8 +6,6 @@ export interface IUpdateConnectorDetails {
|
|
|
6
6
|
export declare const getConnectors: () => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
7
7
|
export declare const updateConnectorDetails: ({ id, enabled }: IUpdateConnectorDetails) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
8
8
|
export declare const getConnectorDetail: (connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
9
|
-
export declare const fetchInboxDetails: (root_url: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
10
|
-
export declare const getRolesAndPermissions: (root_url: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
11
9
|
export declare const enableConnectorsForCardId: ({ cardId, data }: {
|
|
12
10
|
cardId: string;
|
|
13
11
|
data: IEnableConnectorParam;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAW1D,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,aAAa,oEAKzB,CAAC;AAEF,eAAO,MAAM,sBAAsB,oBAAqB,uBAAuB,iEAM9E,CAAC;AAEF,eAAO,MAAM,kBAAkB,gBAAiB,MAAM,iEAMrD,CAAC;AAEF,eAAO,MAAM,yBAAyB,qBAAsB;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,qBAAqB,CAAA;CAAE,iEAM1G,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/connector-info-card/index.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAY7C,UAAU,iBAAiB;IACzB,QAAQ,EAAE,QAAQ,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3C;AAED,eAAO,MAAM,iBAAiB,0DAA2D,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/connector-info-card/index.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAY7C,UAAU,iBAAiB;IACzB,QAAQ,EAAE,QAAQ,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3C;AAED,eAAO,MAAM,iBAAiB,0DAA2D,iBAAiB,4CAsFzG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/constants/api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,EAAE,MAAsC,CAAC;AACpE,eAAO,MAAM,qBAAqB,EAAE,MAA0C,CAAC;AAC/E,eAAO,MAAM,gBAAgB,QAAoC,CAAC;AAClE,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,oBAAoB,QAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/constants/api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,EAAE,MAAsC,CAAC;AACpE,eAAO,MAAM,qBAAqB,EAAE,MAA0C,CAAC;AAC/E,eAAO,MAAM,gBAAgB,QAAoC,CAAC;AAClE,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,oBAAoB,QAAkD,CAAC;AAEpF,eAAO,MAAM,YAAY;;;CAExB,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;CAElC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ApiStatus } from '../../../types/api';
|
|
2
2
|
import { ConnectorId, IConnectorDetails } from '../../../types/connector';
|
|
3
|
+
import { IInboxData } from '../../../types/exposedTypes';
|
|
3
4
|
export interface ConnectorState {
|
|
4
5
|
connectors: {
|
|
5
6
|
[x: ConnectorId]: IConnectorDetails;
|
|
@@ -13,12 +14,8 @@ export interface ConnectorState {
|
|
|
13
14
|
connectorDetailApiStatus: ApiStatus;
|
|
14
15
|
connectorDetails: IConnectorDetails | null;
|
|
15
16
|
fetchInboxApiStatus: ApiStatus;
|
|
16
|
-
emailInboxDetails:
|
|
17
|
-
|
|
18
|
-
}[] | null;
|
|
19
|
-
chatInboxDetails: {
|
|
20
|
-
[key: string]: string;
|
|
21
|
-
}[] | null;
|
|
17
|
+
emailInboxDetails: IInboxData[] | null;
|
|
18
|
+
chatInboxDetails: IInboxData[] | null;
|
|
22
19
|
rolesAndPermissionsApiStatus: ApiStatus;
|
|
23
20
|
rolesAndPermissions: {
|
|
24
21
|
[key: string]: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/store/initial-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/store/initial-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE;QAAE,CAAC,CAAC,EAAE,WAAW,GAAG,iBAAiB,CAAA;KAAE,GAAG,IAAI,CAAC;IAC3D,aAAa,EAAE,WAAW,EAAE,CAAC;IAC7B,mBAAmB,EAAE,SAAS,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,yBAAyB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACrD,wBAAwB,EAAE,SAAS,CAAC;IACpC,gBAAgB,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAC3C,mBAAmB,EAAE,SAAS,CAAC;IAC/B,iBAAiB,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IACvC,gBAAgB,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IACtC,4BAA4B,EAAE,SAAS,CAAC;IACxC,mBAAmB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,EAAE,GAAG,IAAI,CAAC;IACxD,+BAA+B,EAAE,SAAS,CAAC;CAC5C;AAGD,eAAO,MAAM,YAAY,EAAE,cAc1B,CAAC"}
|
|
@@ -10,12 +10,8 @@ export declare const selectUpdateConnectorStatus: (state: RootState) => {
|
|
|
10
10
|
};
|
|
11
11
|
export declare const selectConnectorDetailApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
12
12
|
export declare const selectFetchInboxApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
13
|
-
export declare const selectChatInboxData: (state: RootState) =>
|
|
14
|
-
|
|
15
|
-
}[] | null;
|
|
16
|
-
export declare const selectEmailInboxData: (state: RootState) => {
|
|
17
|
-
[key: string]: string;
|
|
18
|
-
}[] | null;
|
|
13
|
+
export declare const selectChatInboxData: (state: RootState) => import('../../..').IInboxData[] | null;
|
|
14
|
+
export declare const selectEmailInboxData: (state: RootState) => import('../../..').IInboxData[] | null;
|
|
19
15
|
export declare const selectRolesAndPermissionsData: (state: RootState) => {
|
|
20
16
|
[key: string]: string;
|
|
21
17
|
}[] | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/store/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,mBAAmB,UAAW,SAAS,aAAwC,CAAC;AAC7F,eAAO,MAAM,gBAAgB,UAAW,SAAS;;QAAqC,CAAC;AACvF,eAAO,MAAM,4BAA4B,UAAW,SAAS,2CAA8C,CAAC;AAC5G,eAAO,MAAM,sBAAsB,UAAW,SAAS,8BAA4C,CAAC;AACpG,eAAO,MAAM,2BAA2B,UAAW,SAAS;;CAAoD,CAAC;AACjH,eAAO,MAAM,8BAA8B,UAAW,SAAS,2CAAmD,CAAC;AACnH,eAAO,MAAM,yBAAyB,UAAW,SAAS,2CAA8C,CAAC;AACzG,eAAO,MAAM,mBAAmB,UAAW,SAAS
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/store/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,mBAAmB,UAAW,SAAS,aAAwC,CAAC;AAC7F,eAAO,MAAM,gBAAgB,UAAW,SAAS;;QAAqC,CAAC;AACvF,eAAO,MAAM,4BAA4B,UAAW,SAAS,2CAA8C,CAAC;AAC5G,eAAO,MAAM,sBAAsB,UAAW,SAAS,8BAA4C,CAAC;AACpG,eAAO,MAAM,2BAA2B,UAAW,SAAS;;CAAoD,CAAC;AACjH,eAAO,MAAM,8BAA8B,UAAW,SAAS,2CAAmD,CAAC;AACnH,eAAO,MAAM,yBAAyB,UAAW,SAAS,2CAA8C,CAAC;AACzG,eAAO,MAAM,mBAAmB,UAAW,SAAS,2CAA2C,CAAC;AAChG,eAAO,MAAM,oBAAoB,UAAW,SAAS,2CAA4C,CAAC;AAClG,eAAO,MAAM,6BAA6B,UAAW,SAAS;;UAA8C,CAAC;AAC7G,eAAO,MAAM,kCAAkC,UAAW,SAAS,2CACf,CAAC;AACrD,eAAO,MAAM,8BAA8B,UAAW,SAAS,2CACR,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IConnectorDetails, IEnableConnectorParam } from '../../../types/connector';
|
|
2
|
+
import { IInboxData, IRolesData } from '../../../types/exposedTypes';
|
|
2
3
|
export declare const connectorLibrarySlice: import('@reduxjs/toolkit').Slice<import('./initial-state').ConnectorState, {}, "connectorLibrary", "connectorLibrary", import('@reduxjs/toolkit').SliceSelectors<import('./initial-state').ConnectorState>>;
|
|
3
4
|
declare const updateConnectorDetailsApi: import('@reduxjs/toolkit').AsyncThunk<{
|
|
4
5
|
params: {
|
|
@@ -19,9 +20,15 @@ declare const updateConnectorDetailsApi: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
19
20
|
rejectedMeta?: unknown;
|
|
20
21
|
}>;
|
|
21
22
|
declare const getInboxDetailsApi: import('@reduxjs/toolkit').AsyncThunk<{
|
|
22
|
-
chatInbox:
|
|
23
|
-
emailInbox:
|
|
24
|
-
},
|
|
23
|
+
chatInbox: IInboxData[] | null;
|
|
24
|
+
emailInbox: IInboxData[] | null;
|
|
25
|
+
}, () => Promise<{
|
|
26
|
+
chatInboxes: IInboxData[];
|
|
27
|
+
emailInboxes: IInboxData[];
|
|
28
|
+
} | {
|
|
29
|
+
chatInboxes: null;
|
|
30
|
+
emailInboxes: null;
|
|
31
|
+
}>, {
|
|
25
32
|
state?: unknown;
|
|
26
33
|
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
27
34
|
extra?: unknown;
|
|
@@ -52,10 +59,10 @@ declare const updateEnableConnectorsApi: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
52
59
|
rejectedMeta?: unknown;
|
|
53
60
|
}>;
|
|
54
61
|
declare const getRoleAndPermissionsApi: import('@reduxjs/toolkit').AsyncThunk<{
|
|
55
|
-
rolesAndPermissions: null;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
}
|
|
62
|
+
rolesAndPermissions: IRolesData[] | null;
|
|
63
|
+
}, () => Promise<{
|
|
64
|
+
roles: null | IRolesData[];
|
|
65
|
+
}>, {
|
|
59
66
|
state?: unknown;
|
|
60
67
|
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
61
68
|
extra?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/store/slice.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/store/slice.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,qBAAqB,EAAY,MAAM,mBAAmB,CAAC;AAC5F,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEnE,eAAO,MAAM,qBAAqB,6MAsGhC,CAAC;AAIH,QAAA,MAAM,yBAAyB;;YAER,MAAM;iBAAW,OAAO;;;QAAxB,MAAM;aAAW,OAAO;;;;;;;;;;EAI9C,CAAC;AAEF,QAAA,MAAM,kBAAkB;;;SAGK,OAAO,CAC9B;IAAE,WAAW,EAAE,UAAU,EAAE,CAAC;IAAC,YAAY,EAAE,UAAU,EAAE,CAAA;CAAE,GAAG;IAAE,WAAW,EAAE,IAAI,CAAC;IAAC,YAAY,EAAE,IAAI,CAAA;CAAE,CACtG;;;;;;;;;EAQJ,CAAC;AAEF,QAAA,MAAM,yBAAyB;;gBAEJ,MAAM;cAAQ,qBAAqB;0BAAoB,MAAM;;;YAA7D,MAAM;UAAQ,qBAAqB;sBAAoB,MAAM;;;;;;;;;;EAIvF,CAAC;AAEF,QAAA,MAAM,wBAAwB;;SAEL,OAAO,CAAC;IAAE,KAAK,EAAE,IAAI,GAAG,UAAU,EAAE,CAAA;CAAE,CAAC;;;;;;;;;EAI/D,CAAC;AAEF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;EA4BnB,CAAC;AAEH,QAAA,MAAM,qBAAqB;;;;eAUK,iBAAiB;;;;;;;;;;;EAG/C,CAAC;;AAEH,wBAA6C;AAC7C,eAAO,MAAM,OAAO,uEAAgC,CAAC;AACrD,OAAO,EACL,eAAe,EACf,yBAAyB,EACzB,qBAAqB,EACrB,kBAAkB,IAAI,eAAe,EACrC,wBAAwB,EACxB,yBAAyB,EAC1B,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { ConnectorsApp } from './app';
|
|
2
|
-
export {
|
|
2
|
+
export { initConnectorsBifrost, getConnectorsBifrostConfigs, HiverConnectorBifrostAuth } from '@connector/bifrost';
|
|
3
3
|
export { getMetaData } from '@connector/utils';
|
|
4
4
|
export type { ISectionItems, IActionButtons, ISections, IMetaData, ITemplateUpdates } from '@connector/utils';
|
|
5
|
+
export type { IInboxData, IRolesData, ConnectorsAdminFunctions } from './types/exposedTypes';
|
|
5
6
|
//# 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,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACnH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC9G,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC"}
|