@hiver/connector-admin 3.1.2-variableInterpolation-beta.0 → 4.0.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/app/connectors/index.d.ts +1 -1
- package/app/connectors/index.d.ts.map +1 -1
- package/app/index.d.ts +1 -1
- package/app/index.d.ts.map +1 -1
- package/bootstrap.d.ts +4 -0
- package/bootstrap.d.ts.map +1 -0
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.es.js +18810 -13885
- package/index.umd.js +1885 -253
- package/main.d.ts +0 -1
- package/main.d.ts.map +1 -1
- package/package.json +1 -1
- package/style.css +1 -0
- package/testing/mocks/handlers/connector-template.d.ts +1 -1
- package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
- package/types/router.d.ts +1 -0
- package/types/router.d.ts.map +1 -1
- package/v2/app/connectors/index.d.ts +3 -0
- package/v2/app/connectors/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/api-view/__tests__/connector-config.test.d.ts +2 -0
- package/v2/app/connectors/pages/api-view/__tests__/connector-config.test.d.ts.map +1 -0
- package/v2/app/connectors/pages/api-view/index.d.ts +2 -0
- package/v2/app/connectors/pages/api-view/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/api-view/style.d.ts +5 -0
- package/v2/app/connectors/pages/api-view/style.d.ts.map +1 -0
- package/v2/app/connectors/pages/auth-success/index.d.ts +2 -0
- package/v2/app/connectors/pages/auth-success/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/auth-success/styles.d.ts +4 -0
- package/v2/app/connectors/pages/auth-success/styles.d.ts.map +1 -0
- package/v2/app/connectors/pages/connector-dashboard/index.d.ts +3 -0
- package/v2/app/connectors/pages/connector-dashboard/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/connector-dashboard/style.d.ts +6 -0
- package/v2/app/connectors/pages/connector-dashboard/style.d.ts.map +1 -0
- package/v2/app/connectors/pages/initial-setup/components/connector-visibility.d.ts +15 -0
- package/v2/app/connectors/pages/initial-setup/components/connector-visibility.d.ts.map +1 -0
- package/v2/app/connectors/pages/initial-setup/index.d.ts +2 -0
- package/v2/app/connectors/pages/initial-setup/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/native-integration/index.d.ts +2 -0
- package/v2/app/connectors/pages/native-integration/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/settings/auth/components/upgrade-guide/index.d.ts +7 -0
- package/v2/app/connectors/pages/settings/auth/components/upgrade-guide/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/settings/auth/components/upgrade-guide/styles.d.ts +8 -0
- package/v2/app/connectors/pages/settings/auth/components/upgrade-guide/styles.d.ts.map +1 -0
- package/v2/app/connectors/pages/settings/auth/index.d.ts +7 -0
- package/v2/app/connectors/pages/settings/auth/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/settings/auth/styles.d.ts +5 -0
- package/v2/app/connectors/pages/settings/auth/styles.d.ts.map +1 -0
- package/v2/app/connectors/pages/settings/index.d.ts +2 -0
- package/v2/app/connectors/pages/settings/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/settings/styles.d.ts +5 -0
- package/v2/app/connectors/pages/settings/styles.d.ts.map +1 -0
- package/v2/app/connectors/pages/settings/visibility/index.d.ts +7 -0
- package/v2/app/connectors/pages/settings/visibility/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/upgrade-page/index.d.ts +7 -0
- package/v2/app/connectors/pages/upgrade-page/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/upgrade-page/style.d.ts +16 -0
- package/v2/app/connectors/pages/upgrade-page/style.d.ts.map +1 -0
- package/v2/app/connectors/provider.d.ts +4 -0
- package/v2/app/connectors/provider.d.ts.map +1 -0
- package/v2/app/connectors/router.d.ts +7 -0
- package/v2/app/connectors/router.d.ts.map +1 -0
- package/v2/app/index.d.ts +2 -0
- package/v2/app/index.d.ts.map +1 -0
- package/v2/app/style.d.ts +4 -0
- package/v2/app/style.d.ts.map +1 -0
- package/v2/components/ui/auto-complete/index.d.ts +15 -0
- package/v2/components/ui/auto-complete/index.d.ts.map +1 -0
- package/v2/components/ui/auto-complete/style.d.ts +5 -0
- package/v2/components/ui/auto-complete/style.d.ts.map +1 -0
- package/v2/components/ui/bread-crumbs/__tests__/bread-crumb.test.d.ts +2 -0
- package/v2/components/ui/bread-crumbs/__tests__/bread-crumb.test.d.ts.map +1 -0
- package/v2/components/ui/bread-crumbs/index.d.ts +7 -0
- package/v2/components/ui/bread-crumbs/index.d.ts.map +1 -0
- package/v2/components/ui/bread-crumbs/styles.d.ts +6 -0
- package/v2/components/ui/bread-crumbs/styles.d.ts.map +1 -0
- package/v2/components/ui/connector-alert/index.d.ts +10 -0
- package/v2/components/ui/connector-alert/index.d.ts.map +1 -0
- package/v2/components/ui/connector-item/index.d.ts +17 -0
- package/v2/components/ui/connector-item/index.d.ts.map +1 -0
- package/v2/components/ui/connector-item-skeleton/index.d.ts +2 -0
- package/v2/components/ui/connector-item-skeleton/index.d.ts.map +1 -0
- package/v2/components/ui/connector-item-skeleton/styles.d.ts +7 -0
- package/v2/components/ui/connector-item-skeleton/styles.d.ts.map +1 -0
- package/v2/components/ui/details/index.d.ts +9 -0
- package/v2/components/ui/details/index.d.ts.map +1 -0
- package/v2/components/ui/details/styles.d.ts +11 -0
- package/v2/components/ui/details/styles.d.ts.map +1 -0
- package/v2/components/ui/loader-switch/index.d.ts +5 -0
- package/v2/components/ui/loader-switch/index.d.ts.map +1 -0
- package/v2/components/ui/loader-switch/style.d.ts +4 -0
- package/v2/components/ui/loader-switch/style.d.ts.map +1 -0
- package/v2/components/ui/modal/__tests__/modal.test.d.ts +2 -0
- package/v2/components/ui/modal/__tests__/modal.test.d.ts.map +1 -0
- package/v2/components/ui/modal/index.d.ts +14 -0
- package/v2/components/ui/modal/index.d.ts.map +1 -0
- package/v2/components/ui/status-chip/index.d.ts +3 -0
- package/v2/components/ui/status-chip/index.d.ts.map +1 -0
- package/v2/components/ui/status-chip/styles.d.ts +8 -0
- package/v2/components/ui/status-chip/styles.d.ts.map +1 -0
- package/v2/components/ui/status-chip/types.d.ts +6 -0
- package/v2/components/ui/status-chip/types.d.ts.map +1 -0
- package/v2/components/ui/styled-ui-components.d.ts +8 -0
- package/v2/components/ui/styled-ui-components.d.ts.map +1 -0
- package/v2/components/ui/text-field/index.d.ts +3 -0
- package/v2/components/ui/text-field/index.d.ts.map +1 -0
- package/v2/constants/api.d.ts +14 -0
- package/v2/constants/api.d.ts.map +1 -0
- package/v2/constants/app-constants.d.ts +15 -0
- package/v2/constants/app-constants.d.ts.map +1 -0
- package/v2/constants/bread-crumbs.d.ts +3 -0
- package/v2/constants/bread-crumbs.d.ts.map +1 -0
- package/v2/constants/gainsight.d.ts +41 -0
- package/v2/constants/gainsight.d.ts.map +1 -0
- package/v2/constants/global-constants.d.ts +30 -0
- package/v2/constants/global-constants.d.ts.map +1 -0
- package/v2/constants/initial-setup.d.ts +7 -0
- package/v2/constants/initial-setup.d.ts.map +1 -0
- package/v2/constants/modal.d.ts +4 -0
- package/v2/constants/modal.d.ts.map +1 -0
- package/v2/constants/react-image-viewer.d.ts +3 -0
- package/v2/constants/react-image-viewer.d.ts.map +1 -0
- package/v2/constants/remote-assets.d.ts +5 -0
- package/v2/constants/remote-assets.d.ts.map +1 -0
- package/v2/constants/roles.d.ts +10 -0
- package/v2/constants/roles.d.ts.map +1 -0
- package/v2/constants/router-paths.d.ts +10 -0
- package/v2/constants/router-paths.d.ts.map +1 -0
- package/v2/constants/sidebar.d.ts +2 -0
- package/v2/constants/sidebar.d.ts.map +1 -0
- package/v2/context/index.d.ts +39 -0
- package/v2/context/index.d.ts.map +1 -0
- package/v2/context/main-app-provider/index.d.ts +4 -0
- package/v2/context/main-app-provider/index.d.ts.map +1 -0
- package/v2/context/react-query-client-provider/index.d.ts +6 -0
- package/v2/context/react-query-client-provider/index.d.ts.map +1 -0
- package/v2/features/agent/components/agent-landing/index.d.ts +3 -0
- package/v2/features/agent/components/agent-landing/index.d.ts.map +1 -0
- package/v2/features/agent/components/agent-landing/styles.d.ts +8 -0
- package/v2/features/agent/components/agent-landing/styles.d.ts.map +1 -0
- package/v2/features/agent/constants/index.d.ts +6 -0
- package/v2/features/agent/constants/index.d.ts.map +1 -0
- package/v2/features/api-library/components/api-library/index.d.ts +11 -0
- package/v2/features/api-library/components/api-library/index.d.ts.map +1 -0
- package/v2/features/api-library/components/api-library/styles.d.ts +5 -0
- package/v2/features/api-library/components/api-library/styles.d.ts.map +1 -0
- package/v2/features/api-library/components/api-library-skeleton/index.d.ts +2 -0
- package/v2/features/api-library/components/api-library-skeleton/index.d.ts.map +1 -0
- package/v2/features/api-library/components/api-library-skeleton/styles.d.ts +9 -0
- package/v2/features/api-library/components/api-library-skeleton/styles.d.ts.map +1 -0
- package/v2/features/api-library/constants/api-library.d.ts +4 -0
- package/v2/features/api-library/constants/api-library.d.ts.map +1 -0
- package/v2/features/auth/api/authDetailsMutation.d.ts +25 -0
- package/v2/features/auth/api/authDetailsMutation.d.ts.map +1 -0
- package/v2/features/auth/api/authSuccessQuery.d.ts +9 -0
- package/v2/features/auth/api/authSuccessQuery.d.ts.map +1 -0
- package/v2/features/auth/api/index.d.ts +4 -0
- package/v2/features/auth/api/index.d.ts.map +1 -0
- package/v2/features/auth/components/api-executor/index.d.ts +10 -0
- package/v2/features/auth/components/api-executor/index.d.ts.map +1 -0
- package/v2/features/auth/components/api-executor/styles.d.ts +12 -0
- package/v2/features/auth/components/api-executor/styles.d.ts.map +1 -0
- package/v2/features/auth/components/auth-form/index.d.ts +16 -0
- package/v2/features/auth/components/auth-form/index.d.ts.map +1 -0
- package/v2/features/auth/components/auth-form/reducer.d.ts +11 -0
- package/v2/features/auth/components/auth-form/reducer.d.ts.map +1 -0
- package/v2/features/auth/components/auth-form/styles.d.ts +9 -0
- package/v2/features/auth/components/auth-form/styles.d.ts.map +1 -0
- package/v2/features/auth/components/auth-form-skeleton/index.d.ts +2 -0
- package/v2/features/auth/components/auth-form-skeleton/index.d.ts.map +1 -0
- package/v2/features/auth/components/auth-header-skeleton/index.d.ts +2 -0
- package/v2/features/auth/components/auth-header-skeleton/index.d.ts.map +1 -0
- package/v2/features/auth/constants/api.d.ts +6 -0
- package/v2/features/auth/constants/api.d.ts.map +1 -0
- package/v2/features/auth/constants/form-config.d.ts +96 -0
- package/v2/features/auth/constants/form-config.d.ts.map +1 -0
- package/v2/features/auth/constants/index.d.ts +27 -0
- package/v2/features/auth/constants/index.d.ts.map +1 -0
- package/v2/features/auth/store/initial-state.d.ts +13 -0
- package/v2/features/auth/store/initial-state.d.ts.map +1 -0
- package/v2/features/auth/store/selectors.d.ts +6 -0
- package/v2/features/auth/store/selectors.d.ts.map +1 -0
- package/v2/features/auth/store/slice.d.ts +43 -0
- package/v2/features/auth/store/slice.d.ts.map +1 -0
- package/v2/features/auth/types/connector.d.ts +2 -0
- package/v2/features/auth/types/connector.d.ts.map +1 -0
- package/v2/features/auth/types/form.d.ts +25 -0
- package/v2/features/auth/types/form.d.ts.map +1 -0
- package/v2/features/auth/types/request.d.ts +51 -0
- package/v2/features/auth/types/request.d.ts.map +1 -0
- package/v2/features/auth/utils/index.d.ts +33 -0
- package/v2/features/auth/utils/index.d.ts.map +1 -0
- package/v2/features/connector-library/api/index.d.ts +23 -0
- package/v2/features/connector-library/api/index.d.ts.map +1 -0
- package/v2/features/connector-library/components/connector-info-card/index.d.ts +9 -0
- package/v2/features/connector-library/components/connector-info-card/index.d.ts.map +1 -0
- package/v2/features/connector-library/components/connector-info-card/styles.d.ts +8 -0
- package/v2/features/connector-library/components/connector-info-card/styles.d.ts.map +1 -0
- package/v2/features/connector-library/components/connector-info-card-list/index.d.ts +9 -0
- package/v2/features/connector-library/components/connector-info-card-list/index.d.ts.map +1 -0
- package/v2/features/connector-library/components/connector-info-card-list/styles.d.ts +5 -0
- package/v2/features/connector-library/components/connector-info-card-list/styles.d.ts.map +1 -0
- package/v2/features/connector-library/components/connector-library-skeleton/index.d.ts +2 -0
- package/v2/features/connector-library/components/connector-library-skeleton/index.d.ts.map +1 -0
- package/v2/features/connector-library/components/connector-library-skeleton/styles.d.ts +7 -0
- package/v2/features/connector-library/components/connector-library-skeleton/styles.d.ts.map +1 -0
- package/v2/features/connector-library/components/custom-connector-card-item/index.d.ts +11 -0
- package/v2/features/connector-library/components/custom-connector-card-item/index.d.ts.map +1 -0
- package/v2/features/connector-library/components/custom-connector-card-item/styles.d.ts +12 -0
- package/v2/features/connector-library/components/custom-connector-card-item/styles.d.ts.map +1 -0
- package/v2/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts +2 -0
- package/v2/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts.map +1 -0
- package/v2/features/connector-library/components/custom-connector-card-list/index.d.ts +3 -0
- package/v2/features/connector-library/components/custom-connector-card-list/index.d.ts.map +1 -0
- package/v2/features/connector-library/components/custom-connector-enabled-modal/index.d.ts +10 -0
- package/v2/features/connector-library/components/custom-connector-enabled-modal/index.d.ts.map +1 -0
- package/v2/features/connector-library/components/custom-connector-enabled-modal/styles.d.ts +4 -0
- package/v2/features/connector-library/components/custom-connector-enabled-modal/styles.d.ts.map +1 -0
- package/v2/features/connector-library/components/custom-connector-upgrades-tooltip/index.d.ts +7 -0
- package/v2/features/connector-library/components/custom-connector-upgrades-tooltip/index.d.ts.map +1 -0
- package/v2/features/connector-library/components/custom-connector-upgrades-tooltip/styled.d.ts +4 -0
- package/v2/features/connector-library/components/custom-connector-upgrades-tooltip/styled.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/card-visibility/index.d.ts +10 -0
- package/v2/features/connector-library/components/visibility-modal/card-visibility/index.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/constants.d.ts +4 -0
- package/v2/features/connector-library/components/visibility-modal/constants.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/index.d.ts +9 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/index.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/sortable-field.d.ts +9 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/sortable-field.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/style.d.ts +5 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/style.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/index.d.ts +4 -0
- package/v2/features/connector-library/components/visibility-modal/index.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/style.d.ts +14 -0
- package/v2/features/connector-library/components/visibility-modal/style.d.ts.map +1 -0
- package/v2/features/connector-library/constants/api.d.ts +18 -0
- package/v2/features/connector-library/constants/api.d.ts.map +1 -0
- package/v2/features/connector-library/constants/index.d.ts +27 -0
- package/v2/features/connector-library/constants/index.d.ts.map +1 -0
- package/v2/features/connector-library/context/singleton-context/hooks.d.ts +5 -0
- package/v2/features/connector-library/context/singleton-context/hooks.d.ts.map +1 -0
- package/v2/features/connector-library/context/singleton-context/index.d.ts +9 -0
- package/v2/features/connector-library/context/singleton-context/index.d.ts.map +1 -0
- package/v2/features/connector-library/store/initial-state.d.ts +34 -0
- package/v2/features/connector-library/store/initial-state.d.ts.map +1 -0
- package/v2/features/connector-library/store/selectors.d.ts +28 -0
- package/v2/features/connector-library/store/selectors.d.ts.map +1 -0
- package/v2/features/connector-library/store/slice.d.ts +158 -0
- package/v2/features/connector-library/store/slice.d.ts.map +1 -0
- package/v2/features/connector-library/utils/index.d.ts +3 -0
- package/v2/features/connector-library/utils/index.d.ts.map +1 -0
- package/v2/features/connector-preview/components/connector-preview/index.d.ts +14 -0
- package/v2/features/connector-preview/components/connector-preview/index.d.ts.map +1 -0
- package/v2/features/connector-preview/components/connector-preview/styles.d.ts +5 -0
- package/v2/features/connector-preview/components/connector-preview/styles.d.ts.map +1 -0
- package/v2/features/connector-preview/components/connector-preview-skeleton/index.d.ts +2 -0
- package/v2/features/connector-preview/components/connector-preview-skeleton/index.d.ts.map +1 -0
- package/v2/features/connector-preview/components/connector-preview-skeleton/styles.d.ts +7 -0
- package/v2/features/connector-preview/components/connector-preview-skeleton/styles.d.ts.map +1 -0
- package/v2/features/connector-preview/components/footer/index.d.ts +7 -0
- package/v2/features/connector-preview/components/footer/index.d.ts.map +1 -0
- package/v2/features/connector-preview/components/footer/styles.d.ts +6 -0
- package/v2/features/connector-preview/components/footer/styles.d.ts.map +1 -0
- package/v2/features/connector-preview/components/image-preview-list/index.d.ts +6 -0
- package/v2/features/connector-preview/components/image-preview-list/index.d.ts.map +1 -0
- package/v2/features/connector-preview/components/image-preview-list/styles.d.ts +5 -0
- package/v2/features/connector-preview/components/image-preview-list/styles.d.ts.map +1 -0
- package/v2/features/connector-preview/constants/index.d.ts +4 -0
- package/v2/features/connector-preview/constants/index.d.ts.map +1 -0
- package/v2/features/connector-preview/utils/index.d.ts +2 -0
- package/v2/features/connector-preview/utils/index.d.ts.map +1 -0
- package/v2/features/connector-setup-guide/components/guide-links/index.d.ts +7 -0
- package/v2/features/connector-setup-guide/components/guide-links/index.d.ts.map +1 -0
- package/v2/features/connector-setup-guide/components/guide-links/styles.d.ts +9 -0
- package/v2/features/connector-setup-guide/components/guide-links/styles.d.ts.map +1 -0
- package/v2/features/connector-setup-guide/components/schedule-call/index.d.ts +7 -0
- package/v2/features/connector-setup-guide/components/schedule-call/index.d.ts.map +1 -0
- package/v2/features/connector-setup-guide/components/schedule-call/styles.d.ts +8 -0
- package/v2/features/connector-setup-guide/components/schedule-call/styles.d.ts.map +1 -0
- package/v2/features/connector-setup-guide/constants/index.d.ts +13 -0
- package/v2/features/connector-setup-guide/constants/index.d.ts.map +1 -0
- package/v2/features/connector-setup-guide/types/index.d.ts +16 -0
- package/v2/features/connector-setup-guide/types/index.d.ts.map +1 -0
- package/v2/features/native-integrations/components/inbox-selector/index.d.ts +9 -0
- package/v2/features/native-integrations/components/inbox-selector/index.d.ts.map +1 -0
- package/v2/features/native-integrations/components/native-connectors-list/index.d.ts +2 -0
- package/v2/features/native-integrations/components/native-connectors-list/index.d.ts.map +1 -0
- package/v2/features/request-new-connector/api/index.d.ts +8 -0
- package/v2/features/request-new-connector/api/index.d.ts.map +1 -0
- package/v2/features/request-new-connector/components/request-new-modal/__tests__/request-new-modal.test.d.ts +2 -0
- package/v2/features/request-new-connector/components/request-new-modal/__tests__/request-new-modal.test.d.ts.map +1 -0
- package/v2/features/request-new-connector/components/request-new-modal/index.d.ts +9 -0
- package/v2/features/request-new-connector/components/request-new-modal/index.d.ts.map +1 -0
- package/v2/features/request-new-connector/components/request-new-modal/request-panel.d.ts +14 -0
- package/v2/features/request-new-connector/components/request-new-modal/request-panel.d.ts.map +1 -0
- package/v2/features/request-new-connector/components/request-new-modal/styles.d.ts +5 -0
- package/v2/features/request-new-connector/components/request-new-modal/styles.d.ts.map +1 -0
- package/v2/features/request-new-connector/components/request-new-modal/submitted-panel.d.ts +7 -0
- package/v2/features/request-new-connector/components/request-new-modal/submitted-panel.d.ts.map +1 -0
- package/v2/features/request-new-connector/constants/api.d.ts +2 -0
- package/v2/features/request-new-connector/constants/api.d.ts.map +1 -0
- package/v2/features/request-new-connector/constants/index.d.ts +27 -0
- package/v2/features/request-new-connector/constants/index.d.ts.map +1 -0
- package/v2/features/request-new-connector/types/index.d.ts +20 -0
- package/v2/features/request-new-connector/types/index.d.ts.map +1 -0
- package/v2/features/template-library/api/index.d.ts +7 -0
- package/v2/features/template-library/api/index.d.ts.map +1 -0
- package/v2/features/template-library/components/library-card-list/index.d.ts +3 -0
- package/v2/features/template-library/components/library-card-list/index.d.ts.map +1 -0
- package/v2/features/template-library/components/library-card-list/styles.d.ts +7 -0
- package/v2/features/template-library/components/library-card-list/styles.d.ts.map +1 -0
- package/v2/features/template-library/components/library-card-skeleton/index.d.ts +2 -0
- package/v2/features/template-library/components/library-card-skeleton/index.d.ts.map +1 -0
- package/v2/features/template-library/components/library-card-skeleton/styles.d.ts +4 -0
- package/v2/features/template-library/components/library-card-skeleton/styles.d.ts.map +1 -0
- package/v2/features/template-library/components/library-edit-list/index.d.ts +2 -0
- package/v2/features/template-library/components/library-edit-list/index.d.ts.map +1 -0
- package/v2/features/template-library/components/library-edit-list/styles.d.ts +2 -0
- package/v2/features/template-library/components/library-edit-list/styles.d.ts.map +1 -0
- package/v2/features/template-library/constants/api.d.ts +3 -0
- package/v2/features/template-library/constants/api.d.ts.map +1 -0
- package/v2/features/template-library/constants/content-page.d.ts +4 -0
- package/v2/features/template-library/constants/content-page.d.ts.map +1 -0
- package/v2/features/template-library/store/initial-state.d.ts +15 -0
- package/v2/features/template-library/store/initial-state.d.ts.map +1 -0
- package/v2/features/template-library/store/selectors.d.ts +9 -0
- package/v2/features/template-library/store/selectors.d.ts.map +1 -0
- package/v2/features/template-library/store/slice.d.ts +39 -0
- package/v2/features/template-library/store/slice.d.ts.map +1 -0
- package/v2/features/toast-message/CloseButton.d.ts +4 -0
- package/v2/features/toast-message/CloseButton.d.ts.map +1 -0
- package/v2/features/toast-message/HiverIconToast.d.ts +7 -0
- package/v2/features/toast-message/HiverIconToast.d.ts.map +1 -0
- package/v2/features/toast-message/__tests__/toastMessage.test.d.ts +2 -0
- package/v2/features/toast-message/__tests__/toastMessage.test.d.ts.map +1 -0
- package/v2/features/toast-message/constants/toast.d.ts +7 -0
- package/v2/features/toast-message/constants/toast.d.ts.map +1 -0
- package/v2/features/toast-message/showMessage.d.ts +13 -0
- package/v2/features/toast-message/showMessage.d.ts.map +1 -0
- package/v2/features/toast-message/style.d.ts +7 -0
- package/v2/features/toast-message/style.d.ts.map +1 -0
- package/v2/store/hooks.d.ts +15 -0
- package/v2/store/hooks.d.ts.map +1 -0
- package/v2/store/inboxes/initial-state.d.ts +9 -0
- package/v2/store/inboxes/initial-state.d.ts.map +1 -0
- package/v2/store/inboxes/selectors.d.ts +5 -0
- package/v2/store/inboxes/selectors.d.ts.map +1 -0
- package/v2/store/inboxes/slice.d.ts +26 -0
- package/v2/store/inboxes/slice.d.ts.map +1 -0
- package/v2/store/index.d.ts +34 -0
- package/v2/store/index.d.ts.map +1 -0
- package/v2/store/request-connector-api/initial-state.d.ts +9 -0
- package/v2/store/request-connector-api/initial-state.d.ts.map +1 -0
- package/v2/store/request-connector-api/selectors.d.ts +5 -0
- package/v2/store/request-connector-api/selectors.d.ts.map +1 -0
- package/v2/store/request-connector-api/slice.d.ts +39 -0
- package/v2/store/request-connector-api/slice.d.ts.map +1 -0
- package/v2/testing/mocks/browser.d.ts +2 -0
- package/v2/testing/mocks/browser.d.ts.map +1 -0
- package/v2/testing/mocks/handlers/auth.d.ts +2 -0
- package/v2/testing/mocks/handlers/auth.d.ts.map +1 -0
- package/v2/testing/mocks/handlers/bifrost-token.d.ts +2 -0
- package/v2/testing/mocks/handlers/bifrost-token.d.ts.map +1 -0
- package/v2/testing/mocks/handlers/connector-template.d.ts +34 -0
- package/v2/testing/mocks/handlers/connector-template.d.ts.map +1 -0
- package/v2/testing/mocks/handlers/request-connector-api.d.ts +2 -0
- package/v2/testing/mocks/handlers/request-connector-api.d.ts.map +1 -0
- package/v2/testing/mocks/handlers/update-connector.d.ts +2 -0
- package/v2/testing/mocks/handlers/update-connector.d.ts.map +1 -0
- package/v2/testing/mocks/handlers/v2Api.d.ts +2 -0
- package/v2/testing/mocks/handlers/v2Api.d.ts.map +1 -0
- package/v2/testing/mocks/handlers.d.ts +2 -0
- package/v2/testing/mocks/handlers.d.ts.map +1 -0
- package/v2/testing/mocks/server.d.ts +2 -0
- package/v2/testing/mocks/server.d.ts.map +1 -0
- package/v2/testing/setup-store.d.ts +17 -0
- package/v2/testing/setup-store.d.ts.map +1 -0
- package/v2/testing/setup-test.d.ts +1 -0
- package/v2/testing/setup-test.d.ts.map +1 -0
- package/v2/testing/test-utils.d.ts +69 -0
- package/v2/testing/test-utils.d.ts.map +1 -0
- package/v2/types/api.d.ts +2 -0
- package/v2/types/api.d.ts.map +1 -0
- package/v2/types/app.d.ts +44 -0
- package/v2/types/app.d.ts.map +1 -0
- package/v2/types/common.d.ts +6 -0
- package/v2/types/common.d.ts.map +1 -0
- package/v2/types/connector.d.ts +140 -0
- package/v2/types/connector.d.ts.map +1 -0
- package/v2/types/exposedTypes.d.ts +23 -0
- package/v2/types/exposedTypes.d.ts.map +1 -0
- package/v2/types/form.d.ts +39 -0
- package/v2/types/form.d.ts.map +1 -0
- package/v2/types/json.d.ts +7 -0
- package/v2/types/json.d.ts.map +1 -0
- package/v2/types/sidebar.d.ts +8 -0
- package/v2/types/sidebar.d.ts.map +1 -0
- package/v2/types/visibility.d.ts +35 -0
- package/v2/types/visibility.d.ts.map +1 -0
- package/v2/utils/index.d.ts +33 -0
- package/v2/utils/index.d.ts.map +1 -0
- package/v2/utils/localstorage.d.ts +22 -0
- package/v2/utils/localstorage.d.ts.map +1 -0
- package/v2/utils/type-guards.d.ts +3 -0
- package/v2/utils/type-guards.d.ts.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/auth/components/auth-form-skeleton/index.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,+CAa5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/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 VERIFY_TOKEN: string;
|
|
5
|
+
export declare const GET_AUTH_SUCCESS_STATUS: string;
|
|
6
|
+
//# sourceMappingURL=api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../src/v2/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,YAAY,QAAwD,CAAC;AAClF,eAAO,MAAM,uBAAuB,QAAiD,CAAC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { FormValidation, IFormConfig } from '@connector/ui';
|
|
2
|
+
import { oAuthRequest, ApiKeyRequest, BasicAuthRequest } 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 BASIC_AUTH_FIELDS_NAMES: {
|
|
26
|
+
readonly basicAuthKey: "basicAuthKey";
|
|
27
|
+
readonly basicAuthSecret: "basicAuthSecret";
|
|
28
|
+
readonly basicAuthAddTo: "basicAuthAddTo";
|
|
29
|
+
readonly basicAuthHeaderName: "basicAuthHeaderName";
|
|
30
|
+
readonly basicAuthPrefix: "basicAuthPrefix";
|
|
31
|
+
};
|
|
32
|
+
export declare const AUTH_FIELDS_NAMES: {
|
|
33
|
+
readonly basicAuthKey: "basicAuthKey";
|
|
34
|
+
readonly basicAuthSecret: "basicAuthSecret";
|
|
35
|
+
readonly basicAuthAddTo: "basicAuthAddTo";
|
|
36
|
+
readonly basicAuthHeaderName: "basicAuthHeaderName";
|
|
37
|
+
readonly basicAuthPrefix: "basicAuthPrefix";
|
|
38
|
+
readonly oAuthClientId: "oAuthClientId";
|
|
39
|
+
readonly oAuthClientSecret: "oAuthClientSecret";
|
|
40
|
+
readonly oAuthEndUrl: "oAuthEndUrl";
|
|
41
|
+
readonly oAuthTokenUrl: "oAuthTokenUrl";
|
|
42
|
+
readonly oAuthRefreshTokenUrl: "oAuthRefreshTokenUrl";
|
|
43
|
+
readonly oAuthRedirectUrl: "oAuthRedirectUrl";
|
|
44
|
+
readonly oAuthHeaderName: "oAuthHeaderName";
|
|
45
|
+
readonly oAuthHeaderPrefix: "oAuthHeaderPrefix";
|
|
46
|
+
readonly oAuthScopes: "oAuthScopes";
|
|
47
|
+
readonly apiKey: "apiKey";
|
|
48
|
+
readonly apiAddTo: "apiAddTo";
|
|
49
|
+
readonly apiHeaderPrefix: "apiHeaderPrefix";
|
|
50
|
+
readonly apiHeaderName: "apiHeaderName";
|
|
51
|
+
readonly apiParamName: "apiParamName";
|
|
52
|
+
readonly baseUrl: "baseUrl";
|
|
53
|
+
readonly authType: "authType";
|
|
54
|
+
};
|
|
55
|
+
export declare const AUTH_TYPE_OPTIONS: {
|
|
56
|
+
readonly apiToken: {
|
|
57
|
+
readonly label: "API Token";
|
|
58
|
+
readonly value: "ApiKey";
|
|
59
|
+
};
|
|
60
|
+
readonly oAuth: {
|
|
61
|
+
readonly label: "OAuth2.0";
|
|
62
|
+
readonly value: "Oauth2";
|
|
63
|
+
};
|
|
64
|
+
readonly basicAuth: {
|
|
65
|
+
readonly label: "Basic Auth";
|
|
66
|
+
readonly value: "BasicAuth";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
export declare const ADD_TO_OPTIONS: {
|
|
70
|
+
readonly header: {
|
|
71
|
+
readonly label: "Header";
|
|
72
|
+
readonly value: "header";
|
|
73
|
+
};
|
|
74
|
+
readonly queryParam: {
|
|
75
|
+
readonly label: "Query Param";
|
|
76
|
+
readonly value: "queryParam";
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export declare const BASIC_CONFIG_IDS: (string | number)[];
|
|
80
|
+
export declare const BASIC_FORM: IFormConfig;
|
|
81
|
+
export declare const DYNAMIC_AUTH_FORM: IFormConfig;
|
|
82
|
+
export declare const BASE_AUTH_FORM: IFormConfig[];
|
|
83
|
+
export declare const API_KEY_AUTH_FORM: IFormConfig[];
|
|
84
|
+
export declare const OAUTH_FORM: IFormConfig[];
|
|
85
|
+
export declare const BASIC_AUTH_FORM: IFormConfig[];
|
|
86
|
+
export declare const VALIDATIONS: FormValidation;
|
|
87
|
+
export type oAuthKeyMapType = keyof Omit<typeof COMMON_FIELD_NAMES, 'baseUrl'> | keyof Omit<typeof OAuth_FIELDS_NAMES, 'oAuthRedirectUrl'>;
|
|
88
|
+
export declare const oAuthRequestKeyMap: Record<oAuthKeyMapType, keyof oAuthRequest>;
|
|
89
|
+
export declare const oAuthRequestKeyMapReversed: any;
|
|
90
|
+
export type ApiKeyMapType = keyof Omit<typeof COMMON_FIELD_NAMES, 'baseUrl'> | keyof typeof API_KEY_AUTH_FIELDS_NAMES;
|
|
91
|
+
export declare const apiKeyRequestKeyMap: Record<ApiKeyMapType, keyof ApiKeyRequest>;
|
|
92
|
+
export declare const apiKeyRequestKeyMapReversed: any;
|
|
93
|
+
export type BasicAuthMapType = keyof Omit<typeof COMMON_FIELD_NAMES, 'baseUrl'> | keyof typeof BASIC_AUTH_FIELDS_NAMES;
|
|
94
|
+
export declare const basicAuthRequestKeyMap: Record<BasicAuthMapType, keyof BasicAuthRequest>;
|
|
95
|
+
export declare const basicAuthRequestKeyMapReversed: any;
|
|
96
|
+
//# sourceMappingURL=form-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-config.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/auth/constants/form-config.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEtF,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;CAM5B,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;CAUrB,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;;;CAM1B,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;CAKpB,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;CAIpB,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;;;;;CAGjB,CAAC;AAEX,eAAO,MAAM,gBAAgB,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAkB,CAAC;AAEnE,eAAO,MAAM,UAAU,EAAE,WAGxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,WAG/B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,WAAW,EAcvC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,WAAW,EA+C1C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,WAAW,EAmFnC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,WAAW,EA4CxC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,cA4DzB,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,eAAO,MAAM,0BAA0B,KAAiC,CAAC;AAEzE,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;AAEX,eAAO,MAAM,2BAA2B,KAAkC,CAAC;AAE3E,MAAM,MAAM,gBAAgB,GAAG,MAAM,IAAI,CAAC,OAAO,kBAAkB,EAAE,SAAS,CAAC,GAAG,MAAM,OAAO,uBAAuB,CAAC;AAEvH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,gBAAgB,CAO1E,CAAC;AAEX,eAAO,MAAM,8BAA8B,KAAqC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 TOKEN = "token";
|
|
5
|
+
export declare const CONNECTOR_ID_PARAM = "connector_id";
|
|
6
|
+
export declare const AUTH_STATUS: {
|
|
7
|
+
[key: string]: IAUTH_STATUS;
|
|
8
|
+
};
|
|
9
|
+
export declare const AUTH_SUCCESS_TOAST_MSG = "Successfully Authorized";
|
|
10
|
+
export declare const AUTH_FAILED_TOAST_MSG = "Authorization Failed";
|
|
11
|
+
export declare const COPY_SUCCESS = "Copied to clipboard";
|
|
12
|
+
export declare const AUTH_REQUEST_FAILED_TOAST_MSG = "Something Went Wrong!";
|
|
13
|
+
export declare const API_KEY_SUCCESS_TOAST = "Successfully Saved Details";
|
|
14
|
+
export declare const INVALID_URL_MSG = "Please enter a valid URL";
|
|
15
|
+
export declare const URL_MUST_START_WITH_HTTPS = "URL must start with https://";
|
|
16
|
+
export declare const URL_SHOULD_NOT_END_WITH_SLASH = "URL should not end with a slash";
|
|
17
|
+
export declare const LEARN_MORE_TEXT = "Have trouble setting up the connector?";
|
|
18
|
+
export declare const LEARN_MORE_ANCHOR_TEXT = "Learn more here";
|
|
19
|
+
export declare const LEARN_MORE_URL = "https://help.hiverhq.com/custom-connectors";
|
|
20
|
+
export declare const UPDATE_CONNECTOR: string;
|
|
21
|
+
export declare const UPDATE_CONNECTOR_DESC: string;
|
|
22
|
+
export declare const REQUIRED_STEPS: string;
|
|
23
|
+
export declare const VIEW_UPGRADE_GUIDE: string;
|
|
24
|
+
export declare const UPGRADE_SUCCESS: string;
|
|
25
|
+
export declare const UPGRADE_FAILURE: string;
|
|
26
|
+
export declare const TEMPLATE_REGEX = "\\{\\{([\\w_]+)\\}\\}";
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2/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,KAAK,UAAU,CAAC;AAC7B,eAAO,MAAM,kBAAkB,iBAAiB,CAAC;AAEjD,eAAO,MAAM,WAAW,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,CAAA;CAUtD,CAAC;AAEF,eAAO,MAAM,sBAAsB,4BAA4B,CAAC;AAChE,eAAO,MAAM,qBAAqB,yBAAyB,CAAC;AAC5D,eAAO,MAAM,YAAY,wBAAwB,CAAC;AAClD,eAAO,MAAM,6BAA6B,0BAA0B,CAAC;AACrE,eAAO,MAAM,qBAAqB,+BAA+B,CAAC;AAClE,eAAO,MAAM,eAAe,6BAA6B,CAAC;AAC1D,eAAO,MAAM,yBAAyB,iCAAiC,CAAC;AACxE,eAAO,MAAM,6BAA6B,oCAAoC,CAAC;AAE/E,eAAO,MAAM,eAAe,2CAA2C,CAAC;AACxE,eAAO,MAAM,sBAAsB,oBAAoB,CAAC;AACxD,eAAO,MAAM,cAAc,+CAA+C,CAAC;AAE3E,eAAO,MAAM,gBAAgB,EAAE,MAA2B,CAAC;AAC3D,eAAO,MAAM,qBAAqB,EAAE,MACkD,CAAC;AACvF,eAAO,MAAM,cAAc,EAAE,MAA0B,CAAC;AACxD,eAAO,MAAM,kBAAkB,EAAE,MAA6B,CAAC;AAC/D,eAAO,MAAM,eAAe,EAAE,MAA0C,CAAC;AACzE,eAAO,MAAM,eAAe,EAAE,MAAmC,CAAC;AAClE,eAAO,MAAM,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ApiStatus } from '../../../types/api';
|
|
2
|
+
import { ITestUrlData } from '../types/request';
|
|
3
|
+
export interface AuthState {
|
|
4
|
+
testApiStatus: ApiStatus;
|
|
5
|
+
isAuthenticated: {
|
|
6
|
+
[key: string]: boolean;
|
|
7
|
+
};
|
|
8
|
+
verifyTokenApiStatus: ApiStatus;
|
|
9
|
+
authVerificationDone: boolean;
|
|
10
|
+
testApiData: ITestUrlData | null;
|
|
11
|
+
}
|
|
12
|
+
export declare const initialState: AuthState;
|
|
13
|
+
//# sourceMappingURL=initial-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/auth/store/initial-state.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,MAAM,WAAW,SAAS;IACxB,aAAa,EAAE,SAAS,CAAC;IACzB,eAAe,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAC5C,oBAAoB,EAAE,SAAS,CAAC;IAChC,oBAAoB,EAAE,OAAO,CAAC;IAC9B,WAAW,EAAE,YAAY,GAAG,IAAI,CAAC;CAClC;AAGD,eAAO,MAAM,YAAY,EAAE,SAM1B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RootState } from '../../../store';
|
|
2
|
+
export declare const selectVerifyTokenApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
3
|
+
export declare const selectIsAuthVerificationDone: (state: RootState) => boolean;
|
|
4
|
+
export declare const selectTestApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
5
|
+
export declare const selectTestApiData: (state: RootState) => import('../types/request').ITestUrlData | null;
|
|
6
|
+
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/auth/store/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,eAAO,MAAM,0BAA0B,UAAW,SAAS,2CAAoC,CAAC;AAChG,eAAO,MAAM,4BAA4B,UAAW,SAAS,YAAoC,CAAC;AAClG,eAAO,MAAM,mBAAmB,UAAW,SAAS,2CAA6B,CAAC;AAClF,eAAO,MAAM,iBAAiB,UAAW,SAAS,mDAA2B,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { JSONValue } from '../../../types/json';
|
|
2
|
+
export declare const authSlice: import('@reduxjs/toolkit').Slice<import('./initial-state').AuthState, {
|
|
3
|
+
resetState: () => import('./initial-state').AuthState;
|
|
4
|
+
}, "auth", "auth", import('@reduxjs/toolkit').SliceSelectors<import('./initial-state').AuthState>>;
|
|
5
|
+
declare const testAuth: import('@reduxjs/toolkit').AsyncThunk<{
|
|
6
|
+
response: null;
|
|
7
|
+
statusCode: string;
|
|
8
|
+
} | {
|
|
9
|
+
response: string | number | true | import('../../../types/json').JSONArray | import('../../../types/json').JSONObject | undefined;
|
|
10
|
+
statusCode: string;
|
|
11
|
+
}, {
|
|
12
|
+
data: {
|
|
13
|
+
testUrl: string;
|
|
14
|
+
};
|
|
15
|
+
connectorId: string;
|
|
16
|
+
}, {
|
|
17
|
+
state?: unknown;
|
|
18
|
+
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
19
|
+
extra?: unknown;
|
|
20
|
+
rejectValue?: unknown;
|
|
21
|
+
serializedErrorType?: unknown;
|
|
22
|
+
pendingMeta?: unknown;
|
|
23
|
+
fulfilledMeta?: unknown;
|
|
24
|
+
rejectedMeta?: unknown;
|
|
25
|
+
}>;
|
|
26
|
+
declare const verifyToken: import('@reduxjs/toolkit').AsyncThunk<void, {
|
|
27
|
+
data: JSONValue;
|
|
28
|
+
connectorId: string;
|
|
29
|
+
}, {
|
|
30
|
+
state?: unknown;
|
|
31
|
+
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
32
|
+
extra?: unknown;
|
|
33
|
+
rejectValue?: unknown;
|
|
34
|
+
serializedErrorType?: unknown;
|
|
35
|
+
pendingMeta?: unknown;
|
|
36
|
+
fulfilledMeta?: unknown;
|
|
37
|
+
rejectedMeta?: unknown;
|
|
38
|
+
}>;
|
|
39
|
+
declare const resetState: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"auth/resetState">;
|
|
40
|
+
declare const _default: import('redux').Reducer<import('./initial-state').AuthState>;
|
|
41
|
+
export default _default;
|
|
42
|
+
export { testAuth, verifyToken, resetState };
|
|
43
|
+
//# sourceMappingURL=slice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/auth/store/slice.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,eAAO,MAAM,SAAS;;kGAuCpB,CAAC;AAEH,QAAA,MAAM,QAAQ;;;;;;;UAE0B;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE;iBAAe,MAAM;;;;;;;;;;EAgB/E,CAAC;AAEF,QAAA,MAAM,WAAW;UAEuB,SAAS;iBAAe,MAAM;;;;;;;;;;EAGrE,CAAC;AAEF,QAAA,MAAQ,UAAU,2EAAsB,CAAC;;AACzC,wBAAiC;AACjC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connector.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/auth/types/connector.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AUTH_FIELDS_NAMES } from '../constants/form-config';
|
|
2
|
+
export type LabelValueField = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
export type FieldValue = string | LabelValueField;
|
|
7
|
+
export type AuthFieldKeys = keyof typeof AUTH_FIELDS_NAMES;
|
|
8
|
+
export interface AuthFormState {
|
|
9
|
+
values: Partial<Record<AuthFieldKeys, FieldValue>>;
|
|
10
|
+
errors: Partial<Record<AuthFieldKeys, 'string | boolean'>>;
|
|
11
|
+
}
|
|
12
|
+
export declare const intialState: AuthFormState;
|
|
13
|
+
export interface AllValues {
|
|
14
|
+
values: Partial<Record<AuthFieldKeys, FieldValue>>;
|
|
15
|
+
}
|
|
16
|
+
export interface Value {
|
|
17
|
+
value?: FieldValue | boolean;
|
|
18
|
+
name: string;
|
|
19
|
+
}
|
|
20
|
+
export interface FormActionValue {
|
|
21
|
+
type: string;
|
|
22
|
+
payload?: AllValues | Value;
|
|
23
|
+
}
|
|
24
|
+
export type Predicates = Partial<Record<AuthFieldKeys, boolean>>;
|
|
25
|
+
//# sourceMappingURL=form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/auth/types/form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,iBAAiB,EAAqB,MAAM,0BAA0B,CAAC;AAEhG,MAAM,MAAM,eAAe,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/D,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,eAAe,CAAC;AAElD,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,iBAAiB,CAAC;AAC3D,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC,CAAC;IACnD,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAAC,CAAC;CAC5D;AAED,eAAO,MAAM,WAAW,EAAE,aAGzB,CAAC;AAEF,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC,CAAC;CACpD;AAED,MAAM,WAAW,KAAK;IACpB,KAAK,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,SAAS,GAAG,KAAK,CAAC;CAC7B;AAED,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { JSONValue } from '../../../types/json';
|
|
2
|
+
import { FieldValue } from './form';
|
|
3
|
+
export type AuthType = 'Oauth2' | 'ApiKey' | 'BasicAuth';
|
|
4
|
+
export interface oAuthRequest {
|
|
5
|
+
clientId: string;
|
|
6
|
+
clientSecret: string;
|
|
7
|
+
authType: 'Oauth2';
|
|
8
|
+
authEndpointUrl: string;
|
|
9
|
+
tokenEndpointUrl: string;
|
|
10
|
+
refreshTokenUrl: string;
|
|
11
|
+
scopes?: string;
|
|
12
|
+
grantType?: string;
|
|
13
|
+
keyName?: string;
|
|
14
|
+
prefix?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface ApiKeyRequest {
|
|
17
|
+
authType: 'ApiKey';
|
|
18
|
+
location: string;
|
|
19
|
+
keyName: string;
|
|
20
|
+
keyValue: string;
|
|
21
|
+
prefix?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface BasicAuthRequest {
|
|
24
|
+
authType: 'BasicAuth';
|
|
25
|
+
location: string;
|
|
26
|
+
keyName: string;
|
|
27
|
+
keyValue: string;
|
|
28
|
+
secretValue: string;
|
|
29
|
+
prefix: string;
|
|
30
|
+
}
|
|
31
|
+
export interface EditAuthRequest {
|
|
32
|
+
authDetails: oAuthRequest | ApiKeyRequest | BasicAuthRequest;
|
|
33
|
+
baseUrl?: string;
|
|
34
|
+
variables?: {
|
|
35
|
+
[key: string]: FieldValue;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export interface AuthRequest extends EditAuthRequest {
|
|
39
|
+
templateId: string;
|
|
40
|
+
}
|
|
41
|
+
export interface ITestUrlData {
|
|
42
|
+
response: JSONValue;
|
|
43
|
+
statusCode: string;
|
|
44
|
+
errorMessage?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface AuthUrlResponse {
|
|
47
|
+
authorizationUrl: string | undefined;
|
|
48
|
+
id: string;
|
|
49
|
+
}
|
|
50
|
+
export type IAUTH_STATUS = 'idle' | 'pending' | 'oauth_failed' | 'oauth_success' | 'api_failed' | 'api_success' | 'basic_auth_failed' | 'basic_auth_success' | 'request_failed';
|
|
51
|
+
//# sourceMappingURL=request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/auth/types/request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,WAAW,CAAC;AAEzD,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,WAAW,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,YAAY,GAAG,aAAa,GAAG,gBAAgB,CAAC;IAC7D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;KAAE,CAAC;CAC3C;AAED,MAAM,WAAW,WAAY,SAAQ,eAAe;IAClD,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,MAAM,YAAY,GACpB,MAAM,GACN,SAAS,GACT,cAAc,GACd,eAAe,GACf,YAAY,GACZ,aAAa,GACb,mBAAmB,GACnB,oBAAoB,GACpB,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { FormFieldProps, IFormConfig } from '@connector/ui';
|
|
2
|
+
import { AuthFieldKeys, AuthFormState, FieldValue, Predicates } from '../types/form';
|
|
3
|
+
import { AuthRequest, EditAuthRequest, ApiKeyRequest, oAuthRequest, BasicAuthRequest } from '../types/request';
|
|
4
|
+
import { IAuthDetails } from '../../../types/connector';
|
|
5
|
+
export declare const isAdvancedConfig: (config: IFormConfig) => boolean;
|
|
6
|
+
export declare const getFormFields: (formFields: FormFieldProps[], advancedFields: string[], authType?: string) => {
|
|
7
|
+
advanced: FormFieldProps[];
|
|
8
|
+
basic: FormFieldProps[];
|
|
9
|
+
};
|
|
10
|
+
export declare const getFormConfigs: (configs: IFormConfig[], advancedFields: string[], authType?: string) => {
|
|
11
|
+
basicFields: FormFieldProps[];
|
|
12
|
+
advancedConfigs: IFormConfig[];
|
|
13
|
+
};
|
|
14
|
+
export declare const getAuthRequestBody: ({ isEdit, templateId, values, formFields, predicates }: {
|
|
15
|
+
isEdit: boolean;
|
|
16
|
+
templateId?: string;
|
|
17
|
+
values: AuthFormState["values"];
|
|
18
|
+
formFields: Partial<Record<AuthFieldKeys, FormFieldProps>>;
|
|
19
|
+
predicates: Predicates;
|
|
20
|
+
}) => AuthRequest | EditAuthRequest;
|
|
21
|
+
export declare function mapAuthApiDataToStateData(authData: IAuthDetails): Partial<Record<AuthFieldKeys, FieldValue>>;
|
|
22
|
+
export declare const getVariablesRequestData: (variablesConfig: FormFieldProps[], values: {
|
|
23
|
+
[key: string]: FieldValue;
|
|
24
|
+
}) => {
|
|
25
|
+
[key: string]: FieldValue;
|
|
26
|
+
};
|
|
27
|
+
export declare const validateUrl: (url: unknown) => string | boolean;
|
|
28
|
+
export declare const reverseMap: (object: Record<string, string>) => any;
|
|
29
|
+
export declare const getKeyMap: (authType?: string) => Record<import('../constants/form-config').oAuthKeyMapType, keyof oAuthRequest> | Record<import('../constants/form-config').BasicAuthMapType, keyof BasicAuthRequest> | Record<import('../constants/form-config').ApiKeyMapType, keyof ApiKeyRequest>;
|
|
30
|
+
export declare const getReversedKeyMap: (authType?: string) => any;
|
|
31
|
+
export declare const convertTemplate: (template: string, values: Record<string, string>) => string;
|
|
32
|
+
export declare const getTemplateDependencies: (templates: Record<string, string>) => Record<string, string[]>;
|
|
33
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/auth/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAyB5D,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC1F,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,eAAO,MAAM,gBAAgB,WAAY,WAAW,YAA0C,CAAC;AAE/F,eAAO,MAAM,aAAa,eAAgB,cAAc,EAAE,kBAAkB,MAAM,EAAE,aAAa,MAAM;;;CAetG,CAAC;AAEF,eAAO,MAAM,cAAc,YAAa,WAAW,EAAE,kBAAkB,MAAM,EAAE,aAAa,MAAM;;;CAgBjG,CAAC;AAEF,eAAO,MAAM,kBAAkB,2DAM5B;IACD,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAChC,UAAU,EAAE,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC,CAAC;IAC3D,UAAU,EAAE,UAAU,CAAC;CACxB,KAAG,WAAW,GAAG,eAoDjB,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC,CAiC5G;AAED,eAAO,MAAM,uBAAuB,oBAAqB,cAAc,EAAE,UAAU;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;CAAE;;CAQ/G,CAAC;AAEF,eAAO,MAAM,WAAW,QAAS,OAAO,KAAG,MAAM,GAAG,OAyBnD,CAAC;AAEF,eAAO,MAAM,UAAU,WAAY,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,QAGxD,CAAC;AAEF,eAAO,MAAM,SAAS,cAAe,MAAM,yPAS1C,CAAC;AAEF,eAAO,MAAM,iBAAiB,cAAe,MAAM,QASlD,CAAC;AAIF,eAAO,MAAM,eAAe,aAAc,MAAM,UAAU,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,WAI/E,CAAC;AAEF,eAAO,MAAM,uBAAuB,cAAe,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,6BAYxE,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EnableCardRequestBody, IEnableConnectorParam, UpdateConnectorRequestBody } from '../../../types/connector';
|
|
2
|
+
export interface IUpdateConnectorDetails {
|
|
3
|
+
id: string;
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const getConnectors: () => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
7
|
+
export declare const updateConnectorDetails: ({ id, enabled }: IUpdateConnectorDetails) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
8
|
+
export declare const getConnectorDetail: (connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
9
|
+
export declare const enableConnectorsForCardId: ({ cardId, data }: {
|
|
10
|
+
cardId: string;
|
|
11
|
+
data: IEnableConnectorParam;
|
|
12
|
+
}) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
13
|
+
export declare const getCardsCustomFields: (cardId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
14
|
+
export declare const getCustomCards: (connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
15
|
+
export declare const patchCustomCard: ({ connectorId, data }: {
|
|
16
|
+
connectorId: string;
|
|
17
|
+
data: EnableCardRequestBody;
|
|
18
|
+
}) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
19
|
+
export declare const patchConnectorById: ({ connectorId, data }: {
|
|
20
|
+
connectorId: string;
|
|
21
|
+
data: UpdateConnectorRequestBody;
|
|
22
|
+
}) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/connector-library/api/index.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAGrH,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;AAEF,eAAO,MAAM,oBAAoB,WAAY,MAAM,iEAKlD,CAAC;AAEF,eAAO,MAAM,cAAc,gBAAiB,MAAM,iEAKjD,CAAC;AAEF,eAAO,MAAM,eAAe,0BAA2B;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,qBAAqB,CAAA;CAAE,iEAM1G,CAAC;AAEF,eAAO,MAAM,kBAAkB,0BAG5B;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,0BAA0B,CAAC;CAClC,iEAMA,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CustomInfoCard, InfoCard } from '../../../../types/connector';
|
|
2
|
+
interface ConnectorInfoCard {
|
|
3
|
+
infoCard: CustomInfoCard | InfoCard;
|
|
4
|
+
currentConnectorId: string;
|
|
5
|
+
setShowEnabledModal: (T: boolean) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const ConnectorInfoCard: ({ infoCard, currentConnectorId, setShowEnabledModal }: ConnectorInfoCard) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/connector-info-card/index.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAehE,UAAU,iBAAiB;IACzB,QAAQ,EAAE,cAAc,GAAG,QAAQ,CAAC;IACpC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3C;AAED,eAAO,MAAM,iBAAiB,0DAA2D,iBAAiB,4CAmHzG,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { TypographyProps, StackProps, BoxProps, IconButtonProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const CardWrapper: StyledComponent<BoxProps>;
|
|
4
|
+
export declare const ConnectorText: StyledComponent<TypographyProps>;
|
|
5
|
+
export declare const RightWrapper: StyledComponent<StackProps>;
|
|
6
|
+
export declare const ToolTipChildren: StyledComponent<BoxProps>;
|
|
7
|
+
export declare const IconWrapper: StyledComponent<IconButtonProps>;
|
|
8
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/connector-info-card/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAElG,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,QAAQ,CAwCjD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,eAAe,CAI1D,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,UAAU,CAGpD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CAErD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAOxD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CustomInfoCard, InfoCard } from '../../../../types/connector';
|
|
2
|
+
interface ConnectorInfoCardListProps {
|
|
3
|
+
infoCards: (CustomInfoCard | InfoCard)[];
|
|
4
|
+
currentConnectorId: string;
|
|
5
|
+
setShowEnabledModal: (T: boolean) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const ConnectorInfoCardList: ({ infoCards, currentConnectorId, setShowEnabledModal }: ConnectorInfoCardListProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/connector-info-card-list/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErE,UAAU,0BAA0B;IAClC,SAAS,EAAE,CAAC,cAAc,GAAG,QAAQ,CAAC,EAAE,CAAC;IACzC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3C;AACD,eAAO,MAAM,qBAAqB,2DAI/B,0BAA0B,4CAwD5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/connector-info-card-list/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,GAAG;IAAE,cAAc,CAAC,EAAE,MAAM,CAAA;CAAE,CAIlH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/connector-library-skeleton/index.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,wBAAwB,+CAcpC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { SkeletonProps, StackProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const SkeletonRow: StyledComponent<SkeletonProps & {
|
|
4
|
+
maxWidth?: string;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const SkeletonWrapper: StyledComponent<StackProps>;
|
|
7
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/connector-library-skeleton/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGrE,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,aAAa,GAAG;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,CAE9E,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,UAAU,CAQvD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IConnectorDetails } from '../../../../types/connector';
|
|
2
|
+
interface ICustomConnectorCardItem {
|
|
3
|
+
connector: IConnectorDetails;
|
|
4
|
+
isConfigSettingsPage?: boolean;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
isEdit?: boolean;
|
|
7
|
+
isConnectorCard?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const CustomConnectorCardItem: ({ connector, isConfigSettingsPage, isEdit, isConnectorCard }: ICustomConnectorCardItem) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/custom-connector-card-item/index.tsx"],"names":[],"mappings":"AAsCA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAqBzD,UAAU,wBAAwB;IAChC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAcD,eAAO,MAAM,uBAAuB,iEAKjC,wBAAwB,4CA8K1B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { TypographyProps, StackProps, BoxProps, ButtonProps, AlertProps, IconOwnProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const CardWrapper: StyledComponent<BoxProps>;
|
|
4
|
+
export declare const CardDataWrapper: StyledComponent<BoxProps>;
|
|
5
|
+
export declare const ConnectorText: StyledComponent<TypographyProps>;
|
|
6
|
+
export declare const ActionsWrapper: StyledComponent<StackProps>;
|
|
7
|
+
export declare const LoaderWrapper: StyledComponent<StackProps>;
|
|
8
|
+
export declare const LoaderIcon: StyledComponent<BoxProps>;
|
|
9
|
+
export declare const AddConnectorBtn: StyledComponent<ButtonProps>;
|
|
10
|
+
export declare const AuthFailed: StyledComponent<AlertProps>;
|
|
11
|
+
export declare const InfoIcon: StyledComponent<IconOwnProps>;
|
|
12
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/custom-connector-card-item/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExH,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,QAAQ,CAQjD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CAkDrD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,eAAe,CAI1D,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CAItD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAQrD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CA0BhD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,WAAW,CAExD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,UAAU,CASlD,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,YAAY,CAGlD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-connector-card.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/custom-connector-card-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAmBvC,eAAO,MAAM,uBAAuB,EAAE,EA2ErC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface IProps {
|
|
3
|
+
shown: boolean;
|
|
4
|
+
connectorName: string;
|
|
5
|
+
setShown: (value: boolean) => void;
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const CustomConnectorEnabledModal: React.FC<IProps>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
package/v2/features/connector-library/components/custom-connector-enabled-modal/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/custom-connector-enabled-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,UAAU,MAAM;IACd,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA8BxD,CAAC"}
|
package/v2/features/connector-library/components/custom-connector-enabled-modal/styles.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/custom-connector-enabled-modal/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,QAAQ,EAAU,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAKhD,CAAC"}
|
package/v2/features/connector-library/components/custom-connector-upgrades-tooltip/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/custom-connector-upgrades-tooltip/index.tsx"],"names":[],"mappings":"AAGA,UAAU,MAAM;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,eAAO,MAAM,8BAA8B,+BAAqC,MAAM,4CASrF,CAAC"}
|
package/v2/features/connector-library/components/custom-connector-upgrades-tooltip/styled.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/custom-connector-upgrades-tooltip/styled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,eAAe,CAM3D,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IOptions } from '../../../../../types/visibility';
|
|
2
|
+
interface IProps {
|
|
3
|
+
selectedEmailInboxes: IOptions[];
|
|
4
|
+
setSelectedEmailInboxes: React.Dispatch<React.SetStateAction<IOptions[]>>;
|
|
5
|
+
selectedRoles: IOptions;
|
|
6
|
+
setSelectedRoles: React.Dispatch<React.SetStateAction<IOptions>>;
|
|
7
|
+
}
|
|
8
|
+
export declare const CardVisibility: (props: IProps) => import("react/jsx-runtime").JSX.Element[];
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
package/v2/features/connector-library/components/visibility-modal/card-visibility/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/features/connector-library/components/visibility-modal/card-visibility/index.tsx"],"names":[],"mappings":"AASA,OAAO,EAAc,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAS7D,UAAU,MAAM;IACd,oBAAoB,EAAE,QAAQ,EAAE,CAAC;IACjC,uBAAuB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IAC1E,aAAa,EAAE,QAAQ,CAAC;IACxB,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC;CAClE;AAED,eAAO,MAAM,cAAc,UAAW,MAAM,8CAwC3C,CAAC"}
|