@hiver/connector-agent 0.0.1-beta.2 → 0.0.1-beta.21
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/index.d.ts +1 -0
- package/app/index.d.ts.map +1 -1
- package/app/style.d.ts +5 -0
- package/app/style.d.ts.map +1 -0
- package/constants/card.d.ts +3 -0
- package/constants/card.d.ts.map +1 -1
- package/constants/noConnector.d.ts +1 -0
- package/constants/noConnector.d.ts.map +1 -1
- package/context/index.d.ts +4 -0
- package/context/index.d.ts.map +1 -1
- package/context/main-app-provider/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/index.d.ts +1 -0
- package/features/connector-cards/components/card-list/index.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/loading-skeleton.d.ts +3 -0
- package/features/connector-cards/components/card-list/loading-skeleton.d.ts.map +1 -0
- package/features/connector-cards/components/no-connectors/index.d.ts.map +1 -1
- package/features/connector-cards/constants/api.d.ts.map +1 -1
- package/features/connector-cards/store/slice.d.ts +1 -0
- package/features/connector-cards/store/slice.d.ts.map +1 -1
- package/features/toast-message/constants/toast.d.ts +2 -0
- package/features/toast-message/constants/toast.d.ts.map +1 -1
- package/features/toast-message/showMessage.d.ts.map +1 -1
- package/index.es.js +12914 -9959
- package/index.umd.js +1011 -115
- package/main.d.ts +1 -0
- package/main.d.ts.map +1 -1
- package/package.json +1 -1
package/app/index.d.ts
CHANGED
package/app/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAIrD,UAAU,IAAI;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,aAAa,EAAE,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,GAAG,EAAE,EAAE,CAAC,IAAI,CA4BxB,CAAC"}
|
package/app/style.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { BoxProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const AppNormaliseWrapper: StyledComponent<BoxProps>;
|
|
4
|
+
export declare const ToastifyWrapper: StyledComponent<BoxProps>;
|
|
5
|
+
//# sourceMappingURL=style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../src/app/style.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,QAAQ,CA2FzD,CAAC;AAiuBF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CAiDrD,CAAC"}
|
package/constants/card.d.ts
CHANGED
|
@@ -2,4 +2,7 @@ export declare const OPEN = "open";
|
|
|
2
2
|
export declare const CLOSED = "closed";
|
|
3
3
|
export declare const TRY_AGAIN = "Please refresh and try again";
|
|
4
4
|
export declare const NONE = "-";
|
|
5
|
+
export declare const REFRESH = "Refresh";
|
|
6
|
+
export declare const MINIMIZE = "Minimize";
|
|
7
|
+
export declare const EXPAND = "Expand";
|
|
5
8
|
//# sourceMappingURL=card.d.ts.map
|
package/constants/card.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/constants/card.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,SAAS,CAAC;AAC3B,eAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,eAAO,MAAM,SAAS,iCAAiC,CAAC;AACxD,eAAO,MAAM,IAAI,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/constants/card.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,SAAS,CAAC;AAC3B,eAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,eAAO,MAAM,SAAS,iCAAiC,CAAC;AACxD,eAAO,MAAM,IAAI,MAAM,CAAC;AACxB,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,QAAQ,aAAa,CAAC;AACnC,eAAO,MAAM,MAAM,WAAW,CAAC"}
|
|
@@ -2,4 +2,5 @@ export declare const STREAMLINE_TEXT = "Streamline your workflow with Custom Con
|
|
|
2
2
|
export declare const PLUGIN_TEXT = "Plugin image";
|
|
3
3
|
export declare const AUTHENTICATION_TEXT = "Authenticate and enable powerful integrations directly from the Admin panel to enhance your team's productivity.";
|
|
4
4
|
export declare const ENABLE_CONNECTORS = "Enable connectors";
|
|
5
|
+
export declare const IFRAME_URL = "app/custom-connectors";
|
|
5
6
|
//# sourceMappingURL=noConnector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noConnector.d.ts","sourceRoot":"","sources":["../../src/constants/noConnector.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,oDAAoD,CAAC;AACjF,eAAO,MAAM,WAAW,iBAAiB,CAAC;AAC1C,eAAO,MAAM,mBAAmB,qHAAqH,CAAC;AACtJ,eAAO,MAAM,iBAAiB,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"noConnector.d.ts","sourceRoot":"","sources":["../../src/constants/noConnector.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,oDAAoD,CAAC;AACjF,eAAO,MAAM,WAAW,iBAAiB,CAAC;AAC1C,eAAO,MAAM,mBAAmB,qHAAqH,CAAC;AACtJ,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,UAAU,0BAA0B,CAAC"}
|
package/context/index.d.ts
CHANGED
|
@@ -19,6 +19,8 @@ export interface IMainAppContext {
|
|
|
19
19
|
setEmail: (value: string | null) => void;
|
|
20
20
|
baseUrls: IBaseUrls;
|
|
21
21
|
setBaseUrls: (value: IBaseUrls) => void;
|
|
22
|
+
currentThreadId: string | null;
|
|
23
|
+
setCurrentThreadId: (value: string) => void;
|
|
22
24
|
}
|
|
23
25
|
export declare const defaultMainAppvalues: {
|
|
24
26
|
currentOpenState: null;
|
|
@@ -27,6 +29,8 @@ export declare const defaultMainAppvalues: {
|
|
|
27
29
|
setEmail: () => void;
|
|
28
30
|
baseUrls: {};
|
|
29
31
|
setBaseUrls: () => void;
|
|
32
|
+
currentThreadId: null;
|
|
33
|
+
setCurrentThreadId: () => void;
|
|
30
34
|
};
|
|
31
35
|
export declare const MainAppContext: import('react').Context<IMainAppContext>;
|
|
32
36
|
//# sourceMappingURL=index.d.ts.map
|
package/context/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AAEA,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,MAAM,WAAW,aAAa;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;CAClC;AAED,MAAM,WAAW,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C;CAC7C;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;CAShC,CAAC;AAEF,eAAO,MAAM,cAAc,0CAAuD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/main-app-provider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,SAAS,EAAE,MAAM,OAAO,CAAC;AAG5C,UAAU,MAAM;IACd,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,iBAAkB,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/main-app-provider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,SAAS,EAAE,MAAM,OAAO,CAAC;AAG5C,UAAU,MAAM;IACd,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,iBAAkB,MAAM,4CAqB5C,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/Card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/Card.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAG3C,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAerD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,UAAU,MAAM;IACd,IAAI,EAAE,KAAK,CAAC;IACZ,gBAAgB,EAAE,cAAc,GAAG,IAAI,CAAC;IACxC,mBAAmB,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,IAAI,CAAC;IACnD,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;CACV;AAED,eAAO,MAAM,IAAI,UAAW,MAAM,4CA8DjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,aAAa,EAAE,SAAS,EAAkC,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,aAAa,EAAE,SAAS,EAAkC,MAAM,WAAW,CAAC;AAsBrF,UAAU,SAAS;IACjB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,aAAa,EAAE,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,SAAS,CAkFlC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading-skeleton.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/loading-skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAcnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/no-connectors/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/no-connectors/index.tsx"],"names":[],"mappings":"AAeA,QAAA,MAAM,YAAY,+CAkBjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -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,
|
|
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,MAAsE,CAAC"}
|
|
@@ -20,6 +20,7 @@ declare const fetchSpecificCardData: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
20
20
|
}, {
|
|
21
21
|
id: string;
|
|
22
22
|
email: string;
|
|
23
|
+
isRefresh?: boolean;
|
|
23
24
|
}, {
|
|
24
25
|
state?: unknown;
|
|
25
26
|
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/slice.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/slice.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAIrD,eAAO,MAAM,oBAAoB,qRA4C/B,CAAC;AAIH,QAAA,MAAM,iBAAiB;;;;;;;;;;;EASrB,CAAC;AAEH,QAAA,MAAM,qBAAqB;;;;;QAEc,MAAM;WAAS,MAAM;gBAAc,OAAO;;;;;;;;;;EAYlF,CAAC;;AAEF,wBAA4C;AAC5C,eAAO,MAAM,OAAO,2EAA+B,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export declare const SUCCESS_TOAST: "success";
|
|
2
2
|
export declare const ERROR_TOAST: "error";
|
|
3
3
|
export declare const INFO_DARK: "info-dark";
|
|
4
|
+
export declare const REFRESH_FAILED = "Some error occured. Please contact support@hiverhq.com";
|
|
5
|
+
export declare const REFRESH_SUCCESS = "Card refreshed successfully";
|
|
4
6
|
//# sourceMappingURL=toast.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../../src/features/toast-message/constants/toast.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,WAAqB,CAAC;AAChD,eAAO,MAAM,WAAW,SAAmB,CAAC;AAC5C,eAAO,MAAM,SAAS,aAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../../src/features/toast-message/constants/toast.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,WAAqB,CAAC;AAChD,eAAO,MAAM,WAAW,SAAmB,CAAC;AAC5C,eAAO,MAAM,SAAS,aAAuB,CAAC;AAE9C,eAAO,MAAM,cAAc,2DAA2D,CAAC;AACvF,eAAO,MAAM,eAAe,gCAAgC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"showMessage.d.ts","sourceRoot":"","sources":["../../../src/features/toast-message/showMessage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"showMessage.d.ts","sourceRoot":"","sources":["../../../src/features/toast-message/showMessage.tsx"],"names":[],"mappings":"AAMA;;;GAGG;AAEH,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,WAAW,GAAG,SAAS,CAAC;IACrD,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;CACxC;AAED,iBAAS,WAAW,CAAC,aAAa,EAAE,YAAY,+BA0C/C;AAED,iBAAS,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,QAE5C;AAED,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
|