@hiver/connector-admin 0.0.9 → 0.0.10-beta.10
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/auth-success/index.d.ts +2 -0
- package/app/connectors/pages/auth-success/index.d.ts.map +1 -0
- package/app/connectors/pages/auth-success/styles.d.ts +4 -0
- package/app/connectors/pages/auth-success/styles.d.ts.map +1 -0
- package/app/connectors/pages/connector-view/agent/index.d.ts.map +1 -1
- package/app/connectors/pages/connector-view/agent/styles.d.ts +4 -0
- package/app/connectors/pages/connector-view/agent/styles.d.ts.map +1 -0
- package/app/connectors/pages/connector-view/dashboard/index.d.ts.map +1 -1
- package/app/connectors/pages/settings/index.d.ts.map +1 -1
- package/app/connectors/pages/settings/styles.d.ts +1 -0
- package/app/connectors/pages/settings/styles.d.ts.map +1 -1
- package/app/connectors/pages/upgrade-page/index.d.ts +3 -0
- package/app/connectors/pages/upgrade-page/index.d.ts.map +1 -0
- package/app/connectors/pages/upgrade-page/style.d.ts +16 -0
- package/app/connectors/pages/upgrade-page/style.d.ts.map +1 -0
- package/app/connectors/router.d.ts +1 -1
- package/app/connectors/router.d.ts.map +1 -1
- package/components/layouts/sidebar/index.d.ts.map +1 -1
- package/components/layouts/sidebar/styles.d.ts.map +1 -1
- package/components/ui/form/index.d.ts +19 -0
- package/components/ui/form/index.d.ts.map +1 -0
- package/components/ui/form/styles.d.ts +4 -0
- package/components/ui/form/styles.d.ts.map +1 -0
- package/components/ui/form-fields/index.d.ts.map +1 -1
- package/components/ui/select/style.d.ts +2 -0
- package/components/ui/select/style.d.ts.map +1 -0
- package/constants/api.d.ts +1 -0
- package/constants/api.d.ts.map +1 -1
- package/constants/app-constants.d.ts +2 -0
- package/constants/app-constants.d.ts.map +1 -1
- package/constants/global-constants.d.ts +11 -0
- package/constants/global-constants.d.ts.map +1 -0
- package/constants/router-paths.d.ts +1 -0
- package/constants/router-paths.d.ts.map +1 -1
- package/context/index.d.ts +12 -0
- package/context/index.d.ts.map +1 -1
- package/context/main-app-provider/index.d.ts.map +1 -1
- package/features/agent/components/agent-landing/index.d.ts +3 -0
- package/features/agent/components/agent-landing/index.d.ts.map +1 -0
- package/features/agent/components/agent-landing/styles.d.ts +8 -0
- package/features/agent/components/agent-landing/styles.d.ts.map +1 -0
- package/features/agent/constants/index.d.ts +6 -0
- package/features/agent/constants/index.d.ts.map +1 -0
- package/features/auth/api/index.d.ts +8 -0
- package/features/auth/api/index.d.ts.map +1 -0
- package/features/auth/components/api-executor/index.d.ts +8 -0
- package/features/auth/components/api-executor/index.d.ts.map +1 -0
- package/features/auth/components/api-executor/styles.d.ts +12 -0
- package/features/auth/components/api-executor/styles.d.ts.map +1 -0
- package/features/auth/components/auth-form/index.d.ts +12 -0
- package/features/auth/components/auth-form/index.d.ts.map +1 -0
- package/features/auth/components/auth-form/reducer.d.ts +11 -0
- package/features/auth/components/auth-form/reducer.d.ts.map +1 -0
- package/features/auth/components/auth-form/styles.d.ts +8 -0
- package/features/auth/components/auth-form/styles.d.ts.map +1 -0
- package/features/auth/components/auth-header-skeleton/index.d.ts +2 -0
- package/features/auth/components/auth-header-skeleton/index.d.ts.map +1 -0
- package/features/auth/constants/api.d.ts +6 -0
- package/features/auth/constants/api.d.ts.map +1 -0
- package/features/auth/constants/form-config.d.ts +71 -0
- package/features/auth/constants/form-config.d.ts.map +1 -0
- package/features/auth/constants/index.d.ts +8 -1
- package/features/auth/constants/index.d.ts.map +1 -1
- package/features/auth/store/initial-state.d.ts +19 -0
- package/features/auth/store/initial-state.d.ts.map +1 -0
- package/features/auth/store/selectors.d.ts +12 -0
- package/features/auth/store/selectors.d.ts.map +1 -0
- package/features/auth/store/slice.d.ts +76 -0
- package/features/auth/store/slice.d.ts.map +1 -0
- package/features/auth/types/connector.d.ts +2 -0
- package/features/auth/types/connector.d.ts.map +1 -0
- package/features/auth/types/form.d.ts +24 -0
- package/features/auth/types/form.d.ts.map +1 -0
- package/features/auth/types/request.d.ts +34 -0
- package/features/auth/types/request.d.ts.map +1 -0
- package/features/auth/utils/index.d.ts +13 -0
- package/features/auth/utils/index.d.ts.map +1 -0
- package/features/auth/utils/type-guards.d.ts +8 -0
- package/features/auth/utils/type-guards.d.ts.map +1 -0
- package/features/connector-library/constants/api.d.ts.map +1 -1
- package/features/connector-library/store/initial-state.d.ts +3 -2
- package/features/connector-library/store/initial-state.d.ts.map +1 -1
- package/features/connector-library/store/selectors.d.ts +1 -1
- package/features/connector-library/store/selectors.d.ts.map +1 -1
- package/features/connector-library/store/slice.d.ts +7 -3
- package/features/connector-library/store/slice.d.ts.map +1 -1
- package/features/connector-library/types/connector.d.ts +2 -43
- package/features/connector-library/types/connector.d.ts.map +1 -1
- package/features/request-new-connector/api/index.d.ts +8 -0
- package/features/request-new-connector/api/index.d.ts.map +1 -0
- package/features/request-new-connector/components/custom-connector-card/index.d.ts +1 -0
- package/features/request-new-connector/components/custom-connector-card/index.d.ts.map +1 -1
- package/features/request-new-connector/components/request-new-modal/index.d.ts +1 -0
- package/features/request-new-connector/components/request-new-modal/index.d.ts.map +1 -1
- package/features/request-new-connector/components/request-new-modal/request-panel.d.ts.map +1 -1
- package/features/request-new-connector/constants/api.d.ts +2 -0
- package/features/request-new-connector/constants/api.d.ts.map +1 -0
- package/features/request-new-connector/constants/index.d.ts +4 -0
- package/features/request-new-connector/constants/index.d.ts.map +1 -1
- package/features/request-new-connector/types/index.d.ts +16 -1
- package/features/request-new-connector/types/index.d.ts.map +1 -1
- package/features/toast-message/CloseButton.d.ts +4 -0
- package/features/toast-message/CloseButton.d.ts.map +1 -0
- package/features/toast-message/HiverIconToast.d.ts +7 -0
- package/features/toast-message/HiverIconToast.d.ts.map +1 -0
- package/features/toast-message/__tests__/toastMessage.test.d.ts +2 -0
- package/features/toast-message/__tests__/toastMessage.test.d.ts.map +1 -0
- package/features/toast-message/constants/toast.d.ts +4 -0
- package/features/toast-message/constants/toast.d.ts.map +1 -0
- package/features/toast-message/showMessage.d.ts +13 -0
- package/features/toast-message/showMessage.d.ts.map +1 -0
- package/features/toast-message/style.d.ts +7 -0
- package/features/toast-message/style.d.ts.map +1 -0
- package/{index-D5knnyWw.js → index-4Ya8UV6m.js} +25 -25
- package/{index-g_hNAZie.js → index-B0FKVOr3.js} +11936 -10514
- package/{index-0ckwA6Bt.js → index-BrMDvXFi.js} +972 -1115
- package/index-CJ9BUeJ0.js +71 -0
- package/index-DpmW8med.js +3784 -0
- package/index-Dt_sSW5G.js +711 -0
- package/index-HS7-EA71.js +66 -0
- package/index.es.js +1 -1
- package/index.umd.js +541 -228
- package/package.json +1 -1
- package/store/hooks.d.ts +4 -0
- package/store/hooks.d.ts.map +1 -1
- package/store/index.d.ts +8 -0
- package/store/index.d.ts.map +1 -1
- package/store/request-connector-api/initial-state.d.ts +9 -0
- package/store/request-connector-api/initial-state.d.ts.map +1 -0
- package/store/request-connector-api/selectors.d.ts +5 -0
- package/store/request-connector-api/selectors.d.ts.map +1 -0
- package/store/request-connector-api/slice.d.ts +39 -0
- package/store/request-connector-api/slice.d.ts.map +1 -0
- package/styled-ui-components-CGjzlsAh.js +2253 -0
- package/testing/mocks/handlers/auth.d.ts +2 -0
- package/testing/mocks/handlers/auth.d.ts.map +1 -0
- package/testing/mocks/handlers/connector-template.d.ts +8 -0
- package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
- package/testing/mocks/handlers/request-connector-api.d.ts +2 -0
- package/testing/mocks/handlers/request-connector-api.d.ts.map +1 -0
- package/testing/mocks/handlers/update-connector.d.ts.map +1 -1
- package/testing/mocks/handlers.d.ts.map +1 -1
- package/testing/setup-store.d.ts +4 -0
- package/testing/setup-store.d.ts.map +1 -1
- package/types/common.d.ts +2 -0
- package/types/common.d.ts.map +1 -0
- package/types/connector.d.ts +60 -0
- package/types/connector.d.ts.map +1 -0
- package/types/json.d.ts +7 -0
- package/types/json.d.ts.map +1 -0
- package/types/router.d.ts +6 -0
- package/types/router.d.ts.map +1 -1
- package/utils/index.d.ts +13 -0
- package/utils/index.d.ts.map +1 -1
- package/utils/type-guards.d.ts +3 -0
- package/utils/type-guards.d.ts.map +1 -0
- package/Typography-BvoDUPsi.js +0 -174
- package/features/auth/components/auth.d.ts +0 -2
- package/features/auth/components/auth.d.ts.map +0 -1
- package/features/connector-library/utils/type-guards.d.ts +0 -7
- package/features/connector-library/utils/type-guards.d.ts.map +0 -1
- package/features/settings/components/auth/auth.d.ts +0 -2
- package/features/settings/components/auth/auth.d.ts.map +0 -1
- package/features/settings/constants/auth.d.ts +0 -2
- package/features/settings/constants/auth.d.ts.map +0 -1
- package/index-CPqWySPe.js +0 -2954
- package/index-CWnqz_7p.js +0 -55
- package/index-CihMwBsW.js +0 -5
- package/index-xau7jZsj.js +0 -40
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IAppRouter } from '../../types/router';
|
|
2
|
-
export declare const ConnectorsApp: ({ basename }: IAppRouter) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const ConnectorsApp: ({ basename, baseUrls, availableFeatures }: 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":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app/connectors/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAMjD,eAAO,MAAM,aAAa,8CAAoD,UAAU,4CAsBvF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/auth-success/index.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,WAAW,+CAiCvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/auth-success/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,QAAQ,CAO1D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/agent/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/agent/index.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,+CAMjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/agent/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,QAAQ,CAK1D,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,EAAuB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/dashboard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAC;AA6BhD,eAAO,MAAM,SAAS,EAAE,EAwDvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/settings/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/settings/index.tsx"],"names":[],"mappings":"AAyBA,eAAO,MAAM,QAAQ,+CAgGpB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { StyledComponent } from '@emotion/styled';
|
|
2
2
|
import { BoxProps } from '@hiver/hiver-ui-kit';
|
|
3
3
|
export declare const SideBarCrumbWrapper: StyledComponent<BoxProps>;
|
|
4
|
+
export declare const ContentWrapper: StyledComponent<BoxProps>;
|
|
4
5
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/settings/styles.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,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/settings/styles.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,CAQzD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/upgrade-page/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AA+B3B,eAAO,MAAM,iBAAiB,EAAE,EAgC/B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { BoxProps, TypographyProps, StackProps, ButtonProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const ContentParentWrapper: StyledComponent<BoxProps>;
|
|
4
|
+
export declare const FlexWrapper: StyledComponent<StackProps>;
|
|
5
|
+
export declare const ContactUsWrapper: StyledComponent<StackProps>;
|
|
6
|
+
export declare const RequestConnectorWrapper: StyledComponent<StackProps>;
|
|
7
|
+
export declare const StackWrapper: StyledComponent<StackProps>;
|
|
8
|
+
export declare const UpgradeContentWrapper: StyledComponent<BoxProps>;
|
|
9
|
+
export declare const UpgradeImageWrapper: StyledComponent<StackProps>;
|
|
10
|
+
export declare const UpgradeCrownWrapper: StyledComponent<StackProps>;
|
|
11
|
+
export declare const HigherPlanText: StyledComponent<TypographyProps>;
|
|
12
|
+
export declare const UpgradeDescription: StyledComponent<TypographyProps>;
|
|
13
|
+
export declare const UpgradeButton: StyledComponent<ButtonProps>;
|
|
14
|
+
export declare const LearnMoreBtn: StyledComponent<ButtonProps>;
|
|
15
|
+
export declare const ContactUsText: StyledComponent<TypographyProps>;
|
|
16
|
+
//# sourceMappingURL=style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/upgrade-page/style.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAE9F,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,QAAQ,CAI1D,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,UAAU,CAGnD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,UAAU,CAKxD,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,eAAe,CAAC,UAAU,CAK/D,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,UAAU,CAOpD,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,eAAe,CAAC,QAAQ,CAM3D,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,UAAU,CAQ3D,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,UAAU,CAa3D,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,eAAe,CAS3D,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,eAAe,CAI/D,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,WAAW,CAKtD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,WAAW,CAarD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,eAAe,CAE1D,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IAppRouter } from '../../types/router';
|
|
2
|
-
export declare const AppRouter: ({ basename }: IAppRouter) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const AppRouter: ({ basename, availableFeatures }: IAppRouter) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=router.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../src/app/connectors/router.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../src/app/connectors/router.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AA6EjD,eAAO,MAAM,SAAS,oCAAgD,UAAU,4CAS/E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/sidebar/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/sidebar/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGnD,UAAU,aAAa;IACrB,cAAc,EAAE,WAAW,CAAC;CAC7B;AAED,eAAO,MAAM,OAAO,uBAA6B,aAAa,4CAqC7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/sidebar/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAErE,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAMhD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAMpD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,eAAe,CAGhE,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/sidebar/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAErE,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAMhD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAMpD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,eAAe,CAGhE,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAsBpD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { FormValidation, IFormConfig } from '../../../types/form';
|
|
3
|
+
import { ActionMeta } from 'react-select';
|
|
4
|
+
interface IForm {
|
|
5
|
+
formConfig: IFormConfig[];
|
|
6
|
+
predicates?: {
|
|
7
|
+
[key: string]: boolean;
|
|
8
|
+
};
|
|
9
|
+
values?: {
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
inputChangeHandler?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
13
|
+
selectChangeHandler?: (event: unknown, action: ActionMeta<unknown>) => void;
|
|
14
|
+
onValidationError?: (name: string, error: string | boolean) => void;
|
|
15
|
+
validations?: FormValidation;
|
|
16
|
+
}
|
|
17
|
+
export declare const Form: ({ formConfig, inputChangeHandler, selectChangeHandler, predicates, values, validations, onValidationError }: IForm) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/form/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,UAAU,KAAK;IACb,UAAU,EAAE,WAAW,EAAE,CAAC;IAC1B,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IACxC,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IACpC,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC1E,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IAC5E,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;IACpE,WAAW,CAAC,EAAE,cAAc,CAAC;CAC9B;AAED,eAAO,MAAM,IAAI,gHAQd,KAAK,4CAuCP,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/form/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,UAAU,CAMnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/form-fields/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAOnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtE,KAAK,SAAS,GAAG,cAAc,GAAG;IAChC,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IAC5E,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC1E,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,UAAU,UAAW,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/form-fields/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAOnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtE,KAAK,SAAS,GAAG,cAAc,GAAG;IAChC,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IAC5E,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC1E,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,UAAU,UAAW,SAAS,4CAoI1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/select/style.tsx"],"names":[],"mappings":""}
|
package/constants/api.d.ts
CHANGED
package/constants/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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"}
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-constants.d.ts","sourceRoot":"","sources":["../../src/constants/app-constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,iBAAiB,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"app-constants.d.ts","sourceRoot":"","sources":["../../src/constants/app-constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,OAAO,WAAW,CAAC;AAChC,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const CONNECTORS_RELEASE_FLAG = "rls-connectors-enabled";
|
|
2
|
+
export declare const CONNECTORS_FEATURE_FLAG = "ftr-connectors-enabled";
|
|
3
|
+
export declare const HIGHER_PLAN = "On a higher plan";
|
|
4
|
+
export declare const UPGRADE_DESCRIPTION_TEXT = "Create, authenticate and enable powerful integrations to enhance your team's productivity within Gmail.";
|
|
5
|
+
export declare const UPGRADE = "Upgrade";
|
|
6
|
+
export declare const LEARN_MORE = "Learn more";
|
|
7
|
+
export declare const HAVE_QUESTIONS = "Have any questions?";
|
|
8
|
+
export declare const CONTACT_US = "Contact us";
|
|
9
|
+
export declare const CHAT_CDN_URL = "https://cdn.hiverhq.com/chat-support/hiver-chat.html";
|
|
10
|
+
export declare const HIVER_CHAT_SUPPORT = "Hiver Chat Support";
|
|
11
|
+
//# sourceMappingURL=global-constants.d.ts.map
|
|
@@ -0,0 +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;AAEhE,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router-paths.d.ts","sourceRoot":"","sources":["../../src/constants/router-paths.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"router-paths.d.ts","sourceRoot":"","sources":["../../src/constants/router-paths.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;CAQlB,CAAC"}
|
package/context/index.d.ts
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
|
+
import { IAvailableFtr } from '../types/router';
|
|
1
2
|
export interface IConnectorType {
|
|
2
3
|
id: string;
|
|
3
4
|
name: string;
|
|
4
5
|
isEnabled: boolean;
|
|
5
6
|
}
|
|
7
|
+
export interface IBaseUrls {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
}
|
|
6
10
|
interface IMainAppContext {
|
|
7
11
|
currentSideBar: string;
|
|
8
12
|
currentConnector: string;
|
|
9
13
|
setCurrentConnector: (str: string) => void;
|
|
10
14
|
setCurrentSideBar: (str: string) => void;
|
|
15
|
+
baseUrls: IBaseUrls;
|
|
16
|
+
availableFeatures: IAvailableFtr;
|
|
17
|
+
setAvailableFeatures: (obj: IAvailableFtr) => void;
|
|
18
|
+
setBaseUrls: (obj: IBaseUrls) => void;
|
|
11
19
|
currentAvailableConnectors: Array<IConnectorType>;
|
|
12
20
|
setCurrentAvailableConnectors: (arr: Array<IConnectorType>) => void;
|
|
13
21
|
}
|
|
@@ -18,6 +26,10 @@ export declare const defaultMainAppvalues: {
|
|
|
18
26
|
setCurrentConnector: () => void;
|
|
19
27
|
currentAvailableConnectors: never[];
|
|
20
28
|
setCurrentAvailableConnectors: () => void;
|
|
29
|
+
baseUrls: {};
|
|
30
|
+
setBaseUrls: () => void;
|
|
31
|
+
availableFeatures: {};
|
|
32
|
+
setAvailableFeatures: () => void;
|
|
21
33
|
};
|
|
22
34
|
export declare const MainAppContext: import('react').Context<IMainAppContext>;
|
|
23
35
|
export {};
|
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":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAG/C,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,oBAAoB,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;IACnD,WAAW,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,IAAI,CAAC;IACtC,0BAA0B,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAClD,6BAA6B,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CACrE;AAGD,eAAO,MAAM,oBAAoB;;;;;;;;;;;CAWhC,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;
|
|
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;AAM5C,UAAU,MAAM;IACd,QAAQ,EAAE,SAAS,CAAC;CACrB;AAMD,QAAA,MAAM,eAAe,iBAAkB,MAAM,4CAwB5C,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/agent/components/agent-landing/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA0B,MAAM,OAAO,CAAC;AAmBnD,eAAO,MAAM,YAAY,EAAE,EA6B1B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { BoxProps, StackProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const AgentWrapper: StyledComponent<StackProps>;
|
|
4
|
+
export declare const ViewWrapper: StyledComponent<StackProps>;
|
|
5
|
+
export declare const MessageWrapper: StyledComponent<BoxProps>;
|
|
6
|
+
export declare const ImageWrapper: StyledComponent<BoxProps>;
|
|
7
|
+
export declare const Chip: StyledComponent<StackProps>;
|
|
8
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/agent/components/agent-landing/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEhE,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,UAAU,CAKpD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,UAAU,CAKnD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAcpD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CASlD,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,eAAe,CAAC,UAAU,CAW5C,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const AGENT_PAGE_HEADING = "Customising connectors on the agent\u2019s panel";
|
|
2
|
+
export declare const AGENT_PAGE_DESCRIPTION = "Configure your Connectors in the right panel, add your cards and name them how you want the agents to see and update them.";
|
|
3
|
+
export declare const COMING_SOON = "Coming Soon";
|
|
4
|
+
export declare const HAVE_QUESTIONS = "Have any questions? ";
|
|
5
|
+
export declare const INTERNAL_CHAT_FEATURE_FLAG = "internal-chat";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/agent/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,qDAAgD,CAAC;AAChF,eAAO,MAAM,sBAAsB,+HAC2F,CAAC;AAC/H,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,cAAc,yBAAyB,CAAC;AACrD,eAAO,MAAM,0BAA0B,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { JSONValue } from '../../../types/json';
|
|
2
|
+
import { AuthRequest, EditAuthRequest } from '../types/request';
|
|
3
|
+
export declare const postAuthDetailsApi: (data: AuthRequest) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
4
|
+
export declare const patchAuthDetailsApi: (data: EditAuthRequest, connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
5
|
+
export declare const testAuthApi: (data: JSONValue, connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
6
|
+
export declare const getConnectorDetail: (connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
7
|
+
export declare const postVerifyToken: (data: JSONValue, connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/api/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEhE,eAAO,MAAM,kBAAkB,SAAU,WAAW,iEAMnD,CAAC;AAEF,eAAO,MAAM,mBAAmB,SAAU,eAAe,eAAe,MAAM,iEAO7E,CAAC;AAEF,eAAO,MAAM,WAAW,SAAU,SAAS,eAAe,MAAM,iEAO/D,CAAC;AAEF,eAAO,MAAM,kBAAkB,gBAAiB,MAAM,iEAMrD,CAAC;AAEF,eAAO,MAAM,eAAe,SAAU,SAAS,eAAe,MAAM,iEAOnE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface IAPiExecutorProp {
|
|
2
|
+
url?: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
connectorId: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const ApiExecutor: ({ url, disabled, connectorId }: IAPiExecutorProp) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/auth/components/api-executor/index.tsx"],"names":[],"mappings":"AAWA,UAAU,gBAAgB;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB;AACD,eAAO,MAAM,WAAW,mCAA4C,gBAAgB,4CA2CnF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { BoxProps, ButtonProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const ExecutorWrapper: StyledComponent<BoxProps>;
|
|
4
|
+
export declare const ApiWrapper: StyledComponent<BoxProps>;
|
|
5
|
+
export declare const MethodBox: StyledComponent<BoxProps>;
|
|
6
|
+
export declare const ResultWrapper: StyledComponent<BoxProps>;
|
|
7
|
+
export declare const StatusCode: StyledComponent<BoxProps & {
|
|
8
|
+
textColor?: string;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const Result: StyledComponent<BoxProps>;
|
|
11
|
+
export declare const TestRequestBtn: StyledComponent<ButtonProps>;
|
|
12
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/auth/components/api-executor/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CAMrD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAWhD,CAAC;AACF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,QAAQ,CAQ/C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,QAAQ,CAQnD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAUzE,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,QAAQ,CAW5C,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,WAAW,CAGvD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IConnectorDetails } from '../../../../types/connector';
|
|
2
|
+
import { IAUTH_STATUS } from '../../types/request';
|
|
3
|
+
interface IAuthForm {
|
|
4
|
+
isEdit?: boolean;
|
|
5
|
+
connectorId: string;
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
connectorData?: IConnectorDetails | null;
|
|
8
|
+
authStatus: IAUTH_STATUS;
|
|
9
|
+
}
|
|
10
|
+
export declare const AuthForm: ({ isEdit, connectorId, isLoading, connectorData, authStatus }: IAuthForm) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/auth/components/auth-form/index.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD,UAAU,SAAS;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACzC,UAAU,EAAE,YAAY,CAAC;CAC1B;AAED,eAAO,MAAM,QAAQ,kEAAmF,SAAS,4CAiJhH,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AuthFormState, FormActionValue } from '../../types/form';
|
|
2
|
+
export declare const intialState: AuthFormState;
|
|
3
|
+
export declare const ACTIONS: {
|
|
4
|
+
SET_FIELD_VALUE: string;
|
|
5
|
+
CLEAR_FIELD_VALUE: string;
|
|
6
|
+
SET_FIELD_ERROR: string;
|
|
7
|
+
SET_FIELDS: string;
|
|
8
|
+
CLEAR_FIELDS: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const reducer: (state: AuthFormState, action: FormActionValue) => AuthFormState;
|
|
11
|
+
//# sourceMappingURL=reducer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../src/features/auth/components/auth-form/reducer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEvE,eAAO,MAAM,WAAW,EAAE,aAGzB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;CAMnB,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,aAAa,UAAU,eAAe,KAAG,aAmDvE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { TypographyProps, StackProps, BoxProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const PageTitle: StyledComponent<TypographyProps>;
|
|
4
|
+
export declare const Description: StyledComponent<TypographyProps>;
|
|
5
|
+
export declare const FormWrapper: StyledComponent<StackProps>;
|
|
6
|
+
export declare const AuthWrapper: StyledComponent<BoxProps>;
|
|
7
|
+
export declare const ButtonWrapper: StyledComponent<BoxProps>;
|
|
8
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +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,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEjF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,eAAe,CAGtD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAExD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,UAAU,CAQnD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,QAAQ,CAEjD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,QAAQ,CAInD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/auth/components/auth-header-skeleton/index.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,+CAO9B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const POST_AUTH_DETAILS: string;
|
|
2
|
+
export declare const TEST_AUTH: string;
|
|
3
|
+
export declare const PATCH_AUTH_DETAILS: string;
|
|
4
|
+
export declare const CONNECTOR_DETAIL: string;
|
|
5
|
+
export declare const VERIFY_TOKEN: string;
|
|
6
|
+
//# sourceMappingURL=api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/constants/api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,QAAiC,CAAC;AAChE,eAAO,MAAM,SAAS,QAA6C,CAAC;AACpE,eAAO,MAAM,kBAAkB,QAAwC,CAAC;AACxE,eAAO,MAAM,gBAAgB,QAAoC,CAAC;AAClE,eAAO,MAAM,YAAY,QAAwD,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { FormValidation, IFormConfig } from '../../../types/form';
|
|
2
|
+
import { oAuthRequest, ApiKeyRequest } from '../types/request';
|
|
3
|
+
export declare const COMMON_FIELD_NAMES: {
|
|
4
|
+
readonly baseUrl: "baseUrl";
|
|
5
|
+
readonly authType: "authType";
|
|
6
|
+
};
|
|
7
|
+
export declare const API_KEY_AUTH_FIELDS_NAMES: {
|
|
8
|
+
readonly apiKey: "apiKey";
|
|
9
|
+
readonly apiAddTo: "apiAddTo";
|
|
10
|
+
readonly apiHeaderPrefix: "apiHeaderPrefix";
|
|
11
|
+
readonly apiHeaderName: "apiHeaderName";
|
|
12
|
+
readonly apiParamName: "apiParamName";
|
|
13
|
+
};
|
|
14
|
+
export declare const OAuth_FIELDS_NAMES: {
|
|
15
|
+
readonly oAuthClientId: "oAuthClientId";
|
|
16
|
+
readonly oAuthClientSecret: "oAuthClientSecret";
|
|
17
|
+
readonly oAuthEndUrl: "oAuthEndUrl";
|
|
18
|
+
readonly oAuthTokenUrl: "oAuthTokenUrl";
|
|
19
|
+
readonly oAuthRefreshTokenUrl: "oAuthRefreshTokenUrl";
|
|
20
|
+
readonly oAuthRedirectUrl: "oAuthRedirectUrl";
|
|
21
|
+
readonly oAuthHeaderName: "oAuthHeaderName";
|
|
22
|
+
readonly oAuthHeaderPrefix: "oAuthHeaderPrefix";
|
|
23
|
+
readonly oAuthScopes: "oAuthScopes";
|
|
24
|
+
};
|
|
25
|
+
export declare const AUTH_FIELDS_NAMES: {
|
|
26
|
+
readonly oAuthClientId: "oAuthClientId";
|
|
27
|
+
readonly oAuthClientSecret: "oAuthClientSecret";
|
|
28
|
+
readonly oAuthEndUrl: "oAuthEndUrl";
|
|
29
|
+
readonly oAuthTokenUrl: "oAuthTokenUrl";
|
|
30
|
+
readonly oAuthRefreshTokenUrl: "oAuthRefreshTokenUrl";
|
|
31
|
+
readonly oAuthRedirectUrl: "oAuthRedirectUrl";
|
|
32
|
+
readonly oAuthHeaderName: "oAuthHeaderName";
|
|
33
|
+
readonly oAuthHeaderPrefix: "oAuthHeaderPrefix";
|
|
34
|
+
readonly oAuthScopes: "oAuthScopes";
|
|
35
|
+
readonly apiKey: "apiKey";
|
|
36
|
+
readonly apiAddTo: "apiAddTo";
|
|
37
|
+
readonly apiHeaderPrefix: "apiHeaderPrefix";
|
|
38
|
+
readonly apiHeaderName: "apiHeaderName";
|
|
39
|
+
readonly apiParamName: "apiParamName";
|
|
40
|
+
readonly baseUrl: "baseUrl";
|
|
41
|
+
readonly authType: "authType";
|
|
42
|
+
};
|
|
43
|
+
export declare const AUTH_TYPE_OPTIONS: {
|
|
44
|
+
readonly apiToken: {
|
|
45
|
+
readonly label: "API Token";
|
|
46
|
+
readonly value: "ApiKey";
|
|
47
|
+
};
|
|
48
|
+
readonly oAuth: {
|
|
49
|
+
readonly label: "OAuth2.0";
|
|
50
|
+
readonly value: "Oauth2";
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export declare const ADD_TO_OPTIONS: {
|
|
54
|
+
readonly header: {
|
|
55
|
+
readonly label: "Header";
|
|
56
|
+
readonly value: "header";
|
|
57
|
+
};
|
|
58
|
+
readonly queryParam: {
|
|
59
|
+
readonly label: "Query Param";
|
|
60
|
+
readonly value: "queryParam";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export declare const BASE_AUTH_FORM: IFormConfig[];
|
|
64
|
+
export declare const API_KEY_AUTH_FORM: IFormConfig[];
|
|
65
|
+
export declare const OAUTH_FORM: IFormConfig[];
|
|
66
|
+
export declare const VALIDATIONS: FormValidation;
|
|
67
|
+
export type oAuthKeyMapType = keyof Omit<typeof COMMON_FIELD_NAMES, 'baseUrl'> | keyof Omit<typeof OAuth_FIELDS_NAMES, 'oAuthRedirectUrl'>;
|
|
68
|
+
export declare const oAuthRequestKeyMap: Record<oAuthKeyMapType, keyof oAuthRequest>;
|
|
69
|
+
export type ApiKeyMapType = keyof Omit<typeof COMMON_FIELD_NAMES, 'baseUrl'> | keyof typeof API_KEY_AUTH_FIELDS_NAMES;
|
|
70
|
+
export declare const apiKeyRequestKeyMap: Record<ApiKeyMapType, keyof ApiKeyRequest>;
|
|
71
|
+
//# sourceMappingURL=form-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-config.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/constants/form-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAG/D,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;CAM5B,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;CAUrB,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;CAIpB,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;;CAGpB,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;;;;;CAGjB,CAAC;AAEX,eAAO,MAAM,cAAc,EAAE,WAAW,EAqBvC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,WAAW,EA0C1C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,WAAW,EA4EnC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,cAqCzB,CAAC;AAEF,MAAM,MAAM,eAAe,GACvB,MAAM,IAAI,CAAC,OAAO,kBAAkB,EAAE,SAAS,CAAC,GAChD,MAAM,IAAI,CAAC,OAAO,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,YAAY,CAU1E,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,OAAO,kBAAkB,EAAE,SAAS,CAAC,GAAG,MAAM,OAAO,yBAAyB,CAAC;AAEtH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,aAAa,CAOjE,CAAC"}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { IAUTH_STATUS } from '../types/request';
|
|
2
|
+
export declare const AUTH_SUCCESS_MSG = "authSuccedded";
|
|
3
|
+
export declare const AUTH_FAILED_MSG = "authFaield";
|
|
4
|
+
export declare const CONNECTOR_ID = "custom_connectorId";
|
|
5
|
+
export declare const AUTH = "auth";
|
|
6
|
+
export declare const AUTH_STATUS: {
|
|
7
|
+
[key: string]: IAUTH_STATUS;
|
|
8
|
+
};
|
|
2
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/constants/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,eAAO,MAAM,gBAAgB,kBAAkB,CAAC;AAChD,eAAO,MAAM,eAAe,eAAe,CAAC;AAC5C,eAAO,MAAM,YAAY,uBAAuB,CAAC;AACjD,eAAO,MAAM,IAAI,SAAS,CAAC;AAE3B,eAAO,MAAM,WAAW,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,CAAA;CAKtD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ApiStatus } from '../../../types/api';
|
|
2
|
+
import { IConnectorDetails } from '../../../types/connector';
|
|
3
|
+
import { IAUTH_STATUS, ITestUrlData } from '../types/request';
|
|
4
|
+
export interface AuthState {
|
|
5
|
+
authSubmitApiStatus: ApiStatus;
|
|
6
|
+
testApiStatus: ApiStatus;
|
|
7
|
+
connectorDetailApiStatus: ApiStatus;
|
|
8
|
+
connectorDetails: IConnectorDetails | null;
|
|
9
|
+
isAuthenticated: {
|
|
10
|
+
[key: string]: boolean;
|
|
11
|
+
};
|
|
12
|
+
authUrl: string;
|
|
13
|
+
verifyTokenApiStatus: ApiStatus;
|
|
14
|
+
authVerificationDone: boolean;
|
|
15
|
+
authStatus: IAUTH_STATUS;
|
|
16
|
+
testApiData: ITestUrlData | null;
|
|
17
|
+
}
|
|
18
|
+
export declare const initialState: AuthState;
|
|
19
|
+
//# sourceMappingURL=initial-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/store/initial-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE9D,MAAM,WAAW,SAAS;IACxB,mBAAmB,EAAE,SAAS,CAAC;IAC/B,aAAa,EAAE,SAAS,CAAC;IACzB,wBAAwB,EAAE,SAAS,CAAC;IACpC,gBAAgB,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAC3C,eAAe,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,oBAAoB,EAAE,SAAS,CAAC;IAChC,oBAAoB,EAAE,OAAO,CAAC;IAC9B,UAAU,EAAE,YAAY,CAAC;IACzB,WAAW,EAAE,YAAY,GAAG,IAAI,CAAC;CAClC;AAGD,eAAO,MAAM,YAAY,EAAE,SAW1B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RootState } from '../../../store';
|
|
2
|
+
export declare const selectConnectorDetail: (state: RootState) => import('../../../types/connector').IConnectorDetails | null;
|
|
3
|
+
export declare const selectConnectorDetailApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
4
|
+
export declare const selectorConnectorDetailApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
5
|
+
export declare const selectorAuthSubmitApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
6
|
+
export declare const selectAuthUrl: (state: RootState) => string;
|
|
7
|
+
export declare const selectVerifyTokenApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
8
|
+
export declare const selectIsAuthVerificationDone: (state: RootState) => boolean;
|
|
9
|
+
export declare const selectAuthStatus: (state: RootState) => import('../types/request').IAUTH_STATUS;
|
|
10
|
+
export declare const selectTestApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
11
|
+
export declare const selectTestApiData: (state: RootState) => import('../types/request').ITestUrlData | null;
|
|
12
|
+
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/store/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,qBAAqB,UAAW,SAAS,gEAAgC,CAAC;AACvF,eAAO,MAAM,8BAA8B,UAAW,SAAS,2CAAwC,CAAC;AACxG,eAAO,MAAM,gCAAgC,UAAW,SAAS,2CAAwC,CAAC;AAC1G,eAAO,MAAM,2BAA2B,UAAW,SAAS,2CAAmC,CAAC;AAChG,eAAO,MAAM,aAAa,UAAW,SAAS,WAAuB,CAAC;AACtE,eAAO,MAAM,0BAA0B,UAAW,SAAS,2CAAoC,CAAC;AAChG,eAAO,MAAM,4BAA4B,UAAW,SAAS,YAAoC,CAAC;AAClG,eAAO,MAAM,gBAAgB,UAAW,SAAS,4CAA0B,CAAC;AAC5E,eAAO,MAAM,mBAAmB,UAAW,SAAS,2CAA6B,CAAC;AAClF,eAAO,MAAM,iBAAiB,UAAW,SAAS,mDAA2B,CAAC"}
|