@hiver/connector-admin 3.0.2 → 3.0.3-unifiedView-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/connectors/index.d.ts +1 -1
- package/app/connectors/index.d.ts.map +1 -1
- package/app/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 +17544 -12979
- package/index.umd.js +1927 -252
- 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/Dashboard/index.d.ts +3 -0
- package/v2/app/connectors/pages/Dashboard/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/Dashboard/style.d.ts +8 -0
- package/v2/app/connectors/pages/Dashboard/style.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-edit/index.d.ts +2 -0
- package/v2/app/connectors/pages/connector-edit/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/settings/components/upgrade-guide/index.d.ts +7 -0
- package/v2/app/connectors/pages/settings/components/upgrade-guide/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/settings/components/upgrade-guide/styles.d.ts +8 -0
- package/v2/app/connectors/pages/settings/components/upgrade-guide/styles.d.ts.map +1 -0
- package/v2/app/connectors/pages/settings/index.d.ts +6 -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/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 +14 -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 +15 -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/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 +13 -0
- package/v2/components/ui/modal/index.d.ts.map +1 -0
- package/v2/components/ui/styled-ui-components.d.ts +6 -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 +14 -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 +37 -0
- package/v2/constants/gainsight.d.ts.map +1 -0
- package/v2/constants/global-constants.d.ts +27 -0
- package/v2/constants/global-constants.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/router-paths.d.ts +11 -0
- package/v2/constants/router-paths.d.ts.map +1 -0
- package/v2/constants/sidebar.d.ts +10 -0
- package/v2/constants/sidebar.d.ts.map +1 -0
- package/v2/context/index.d.ts +37 -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 +15 -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 +14 -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/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/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 +9 -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 +5 -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/singleton-popover-tooltip/index.d.ts +7 -0
- package/v2/features/connector-library/components/singleton-popover-tooltip/index.d.ts.map +1 -0
- package/v2/features/connector-library/components/singleton-popover-tooltip/popover-title.d.ts +2 -0
- package/v2/features/connector-library/components/singleton-popover-tooltip/popover-title.d.ts.map +1 -0
- package/v2/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.d.ts +7 -0
- package/v2/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.d.ts.map +1 -0
- package/v2/features/connector-library/components/singleton-popover-tooltip/styles.d.ts +6 -0
- package/v2/features/connector-library/components/singleton-popover-tooltip/styles.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 +15 -0
- package/v2/features/connector-library/constants/api.d.ts.map +1 -0
- package/v2/features/connector-library/constants/index.d.ts +30 -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 +33 -0
- package/v2/features/connector-library/store/initial-state.d.ts.map +1 -0
- package/v2/features/connector-library/store/selectors.d.ts +26 -0
- package/v2/features/connector-library/store/selectors.d.ts.map +1 -0
- package/v2/features/connector-library/store/slice.d.ts +126 -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/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-card/index.d.ts +7 -0
- package/v2/features/request-new-connector/components/request-new-card/index.d.ts.map +1 -0
- package/v2/features/request-new-connector/components/request-new-card/styles.d.ts +11 -0
- package/v2/features/request-new-connector/components/request-new-card/styles.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 +6 -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 +25 -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 +8 -0
- package/v2/features/template-library/components/library-card-list/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/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 +8 -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 +6 -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/counter/initial-state.d.ts +6 -0
- package/v2/store/counter/initial-state.d.ts.map +1 -0
- package/v2/store/counter/selectors.d.ts +4 -0
- package/v2/store/counter/selectors.d.ts.map +1 -0
- package/v2/store/counter/slice.d.ts +23 -0
- package/v2/store/counter/slice.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/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 +33 -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 +38 -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 +113 -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 +28 -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":"gainsight.d.ts","sourceRoot":"","sources":["../../../src/v2/constants/gainsight.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B1B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;CAI/B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const CONNECTORS_RELEASE_FLAG = "rls-connectors-enabled";
|
|
2
|
+
export declare const CONNECTORS_FEATURE_FLAG = "ftr-connectors-enabled";
|
|
3
|
+
export declare const FTR_CONNECTORS_BLUE_DOT = "ftr-connector-blue-dot";
|
|
4
|
+
export declare const SCHEDULE_CALENDLY_FEATURE_FLAG_AUTH_PAGE = "ftr-connectors-schedule-call-auth-page";
|
|
5
|
+
export declare const SCHEDULE_CALENDLY_FEATURE_FLAG_ADMIN_PAGES = "ftr-connectors-admin-schedule-call";
|
|
6
|
+
export declare const CONNECTOR_SETUP_GUIDE_LINKS = "ftr-connectors-admin-guide-links";
|
|
7
|
+
export declare const FTR_CONNECTORS_ENHANCEMENTS = "ftr-connectors-enhancements";
|
|
8
|
+
export declare const FTR_CONNECTOR_PREVIEW = "ftr-connector-preview";
|
|
9
|
+
export declare const FTR_NEW_AUTH_FLOW = "ftr-connectors-oauth-flow-improvements";
|
|
10
|
+
export declare const HIGHER_PLAN = "On a higher plan";
|
|
11
|
+
export declare const UPGRADE_DESCRIPTION_TEXT = "Create, authenticate and enable powerful integrations to enhance your team's productivity within Gmail.";
|
|
12
|
+
export declare const UPGRADE = "Upgrade";
|
|
13
|
+
export declare const LEARN_MORE = "Learn more";
|
|
14
|
+
export declare const HAVE_QUESTIONS = "Have any questions?";
|
|
15
|
+
export declare const CONTACT_US = "Contact us";
|
|
16
|
+
export declare const CHAT_CDN_URL = "https://cdn.hiverhq.com/chat-support/hiver-chat.html";
|
|
17
|
+
export declare const HIVER_CHAT_SUPPORT = "Hiver Chat Support";
|
|
18
|
+
export declare const COPY_CLIPBOARD = "Copy";
|
|
19
|
+
export declare const LOCALSTORAGE_KEY = "hiver_connectors";
|
|
20
|
+
export declare const ENABLE_ALL_FEATURE = "enableAllConnectorFtr";
|
|
21
|
+
export declare const CONNECTOR_AUTH_EXPIRED = "Authentication expired. Click to reconnect your app.";
|
|
22
|
+
export declare const CONNECTOR_UPGRADE = "New update available. Click to upgrade your app.";
|
|
23
|
+
export declare const CONNECTOR_DEPRECATED = "Support ending soon. Click to switch to the new app.";
|
|
24
|
+
export declare const CONNECTOR_INACTIVE = "Your app is inactive. Click to enable it.";
|
|
25
|
+
export declare const CONNECTOR_UPGRADE_ALERT_MSG = "New upgrade is available for :connectorName. Re-authenticate to get access to all updates.";
|
|
26
|
+
export declare const CONNECTOR_NOT_AUTH_ALERT_MSG = "Authentication failed for :connectorName. Re-authenticate to resolve the issue.";
|
|
27
|
+
//# sourceMappingURL=global-constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global-constants.d.ts","sourceRoot":"","sources":["../../../src/v2/constants/global-constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,wCAAwC,2CAA2C,CAAC;AACjG,eAAO,MAAM,0CAA0C,uCAAuC,CAAC;AAC/F,eAAO,MAAM,2BAA2B,qCAAqC,CAAC;AAC9E,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AACzE,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,iBAAiB,2CAA2C,CAAC;AAE1E,eAAO,MAAM,WAAW,qBAAqB,CAAC;AAC9C,eAAO,MAAM,wBAAwB,4GAA4G,CAAC;AAClJ,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,cAAc,wBAAwB,CAAC;AACpD,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,YAAY,yDAAyD,CAAC;AACnF,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,cAAc,SAAS,CAAC;AACrC,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,kBAAkB,0BAA0B,CAAC;AAE1D,eAAO,MAAM,sBAAsB,yDAAyD,CAAC;AAC7F,eAAO,MAAM,iBAAiB,qDAAqD,CAAC;AACpF,eAAO,MAAM,oBAAoB,yDAAyD,CAAC;AAC3F,eAAO,MAAM,kBAAkB,8CAA8C,CAAC;AAC9E,eAAO,MAAM,2BAA2B,+FACsD,CAAC;AAC/F,eAAO,MAAM,4BAA4B,oFAC0C,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const ENABLED_CONNECTOR_MODAL_TITLE = "Connector enabled";
|
|
2
|
+
export declare const ENABLED_CONNECTOR_MODAL_DESCRIPTION = "Access and manage the information from the connector directly from Hiver\u2019s right panel for seamless integration and easy reference.";
|
|
3
|
+
export declare const ENABLED_CONNECTOR_MODAL_BUTTON_TEXT = "Got it";
|
|
4
|
+
//# sourceMappingURL=modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../src/v2/constants/modal.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,6BAA6B,sBAAsB,CAAC;AACjE,eAAO,MAAM,mCAAmC,6IACuF,CAAC;AACxI,eAAO,MAAM,mCAAmC,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-image-viewer.d.ts","sourceRoot":"","sources":["../../../src/v2/constants/react-image-viewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,yBAAyB,EAAE,KAIvC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const REQUEST_NEW_CC_LOGO_SVG_URL = "https://cdn.hiverhq.com/connectors-module/assets/RequestNewCCLogo.svg";
|
|
2
|
+
export declare const AGENT_VIEW_SVG_URL = "https://cdn.hiverhq.com/connectors-module/assets/agent-view.svg";
|
|
3
|
+
export declare const REQUEST_CONNECTOR_SVG_URL = "https://cdn.hiverhq.com/connectors-module/assets/RequestConnector.svg";
|
|
4
|
+
export declare const UPGRADE_IMAGE_SVG_URL = "https://cdn.hiverhq.com/connectors-module/assets/UpgradeImage.svg";
|
|
5
|
+
//# sourceMappingURL=remote-assets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-assets.d.ts","sourceRoot":"","sources":["../../../src/v2/constants/remote-assets.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,0EAA0E,CAAC;AACnH,eAAO,MAAM,kBAAkB,oEAAoE,CAAC;AACpG,eAAO,MAAM,yBAAyB,0EAA0E,CAAC;AACjH,eAAO,MAAM,qBAAqB,sEAAsE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const ROUTES: {
|
|
2
|
+
BASEPATH: string;
|
|
3
|
+
CONNECTOR_SETTINGS: string;
|
|
4
|
+
DASHBOARD: string;
|
|
5
|
+
AGENT: string;
|
|
6
|
+
CONNECTOR_CONFIG: string;
|
|
7
|
+
API_VIEW: string;
|
|
8
|
+
AUTH_SUCCESS: string;
|
|
9
|
+
CONNECTOR_EDIT: string;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=router-paths.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"router-paths.d.ts","sourceRoot":"","sources":["../../../src/v2/constants/router-paths.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;CASlB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SidebarList, SidebarItem } from '../types/sidebar';
|
|
2
|
+
export declare const CUSTOM_CONNECTORS = "Custom Connectors";
|
|
3
|
+
export declare const CONNECTORS_DESCRIPTION = "Connectors help you get a better customer context and key actions right into your inbox";
|
|
4
|
+
export declare const CONNECTORS: SidebarItem;
|
|
5
|
+
export declare const AGENT_VIEW: SidebarItem;
|
|
6
|
+
export declare const SIDEBAR_OPTIONS: SidebarList;
|
|
7
|
+
export declare const SIDEBAR_MAPPER: {
|
|
8
|
+
[x: string]: string[];
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=sidebar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/v2/constants/sidebar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGnE,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,sBAAsB,4FACwD,CAAC;AAC5F,eAAO,MAAM,UAAU,EAAE,WAAqF,CAAC;AAC/G,eAAO,MAAM,UAAU,EAAE,WAA4E,CAAC;AACtG,eAAO,MAAM,eAAe,EAAE,WAAsC,CAAC;AAErE,eAAO,MAAM,cAAc;;CAS1B,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ConnectorsAdminFunctions } from '../types/exposedTypes';
|
|
2
|
+
import { IAvailableFtr, ISendTrackingEventData } from '../types/app';
|
|
3
|
+
import { IMetaData } from '@connector/utils';
|
|
4
|
+
export interface IConnectorType {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
isEnabled: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface IBaseUrls {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
}
|
|
12
|
+
interface IMainAppContext {
|
|
13
|
+
currentConnector: string;
|
|
14
|
+
setCurrentConnector: (str: string) => void;
|
|
15
|
+
baseUrls: IBaseUrls;
|
|
16
|
+
availableFeatures: IAvailableFtr;
|
|
17
|
+
currentAvailableConnectors: Array<IConnectorType>;
|
|
18
|
+
setCurrentAvailableConnectors: (arr: Array<IConnectorType>) => void;
|
|
19
|
+
sendTrackingEvent: (event: string, data?: ISendTrackingEventData) => void;
|
|
20
|
+
userPermissions: string[];
|
|
21
|
+
metaData?: IMetaData;
|
|
22
|
+
connectorFunctions?: ConnectorsAdminFunctions;
|
|
23
|
+
}
|
|
24
|
+
export declare const defaultMainAppvalues: {
|
|
25
|
+
currentConnector: string;
|
|
26
|
+
setCurrentConnector: () => void;
|
|
27
|
+
currentAvailableConnectors: never[];
|
|
28
|
+
setCurrentAvailableConnectors: () => void;
|
|
29
|
+
baseUrls: {};
|
|
30
|
+
availableFeatures: {};
|
|
31
|
+
sendTrackingEvent: () => void;
|
|
32
|
+
userPermissions: never[];
|
|
33
|
+
metaData: undefined;
|
|
34
|
+
};
|
|
35
|
+
export declare const MainAppContext: import('react').Context<IMainAppContext>;
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v2/context/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,UAAU,eAAe;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,QAAQ,EAAE,SAAS,CAAC;IACpB,iBAAiB,EAAE,aAAa,CAAC;IACjC,0BAA0B,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAClD,6BAA6B,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACpE,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAC1E,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,kBAAkB,CAAC,EAAE,wBAAwB,CAAC;CAC/C;AAGD,eAAO,MAAM,oBAAoB;;;;;;;;;;CAUhC,CAAC;AAEF,eAAO,MAAM,cAAc,0CAAuD,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IAppProviderProps } from '../../types/app';
|
|
2
|
+
declare const MainAppProvider: ({ children, baseUrls, availableFeatures, extraParams, connectorFunctions }: IAppProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default MainAppProvider;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/context/main-app-provider/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,QAAA,MAAM,eAAe,+EAMlB,iBAAiB,4CAqBnB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type ReactQueryProviderProps = {
|
|
2
|
+
children: React.ReactNode;
|
|
3
|
+
};
|
|
4
|
+
declare const ReactQueryClientProvider: ({ children }: ReactQueryProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export default ReactQueryClientProvider;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/context/react-query-client-provider/index.tsx"],"names":[],"mappings":"AAEA,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,wBAAwB,iBAAkB,uBAAuB,4CAGtE,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/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/v2/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/v2/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,11 @@
|
|
|
1
|
+
import { IAPI } from '../../../../types/connector';
|
|
2
|
+
interface IProps {
|
|
3
|
+
isLoading?: boolean;
|
|
4
|
+
apiList: IAPI[];
|
|
5
|
+
connectorName?: string;
|
|
6
|
+
connectorType?: string;
|
|
7
|
+
isEdit?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const APILibrary: ({ connectorName, connectorType, apiList, isLoading, isEdit }: IProps) => 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/api-library/components/api-library/index.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAK5C,UAAU,MAAM;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,IAAI,EAAE,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,UAAU,iEAAkF,MAAM,4CAsD9G,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ButtonProps, StackProps } from '@hiver/hiver-ui-kit';
|
|
2
|
+
import { StyledComponent } from '@emotion/styled';
|
|
3
|
+
export declare const APILibraryWrapper: StyledComponent<StackProps>;
|
|
4
|
+
export declare const RequestNewApiButton: StyledComponent<ButtonProps>;
|
|
5
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/api-library/components/api-library/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,WAAW,EAAS,UAAU,EAAiB,MAAM,qBAAqB,CAAC;AAC5F,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAO,MAAM,iBAAiB,EAAE,eAAe,CAAC,UAAU,CAEzD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,WAAW,CAO5D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/api-library/components/api-library-skeleton/index.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,+CAe9B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
height?: string;
|
|
8
|
+
}>;
|
|
9
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/api-library/components/api-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,GAAG;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAQ7E,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const API_LIB_TITLE = "{{connector}} features";
|
|
2
|
+
export declare const API_LIB_DESCRIPTION = "Following are the list of features that you will find in this connector";
|
|
3
|
+
export declare const REQUEST_NEW_API = "Request new feature";
|
|
4
|
+
//# sourceMappingURL=api-library.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-library.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/api-library/constants/api-library.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,2BAA2B,CAAC;AACtD,eAAO,MAAM,mBAAmB,4EAA4E,CAAC;AAC7G,eAAO,MAAM,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AuthRequest, EditAuthRequest, IAUTH_STATUS } from '../types/request';
|
|
2
|
+
export type AuthMutationPayload = {
|
|
3
|
+
data: AuthRequest;
|
|
4
|
+
} | {
|
|
5
|
+
data: EditAuthRequest;
|
|
6
|
+
connectorId: string;
|
|
7
|
+
};
|
|
8
|
+
export type AuthMutationResponse = {
|
|
9
|
+
authUrl: string;
|
|
10
|
+
authStatus: IAUTH_STATUS;
|
|
11
|
+
};
|
|
12
|
+
export declare const useAuthDetailsMutation: ({ connectorId, onSuccess }: {
|
|
13
|
+
connectorId: string;
|
|
14
|
+
onSuccess?: () => void;
|
|
15
|
+
}) => {
|
|
16
|
+
mutate: import('@tanstack/react-query').UseMutateFunction<AuthMutationResponse, Error, AuthMutationPayload, unknown>;
|
|
17
|
+
isLoading: boolean;
|
|
18
|
+
data: {
|
|
19
|
+
authUrl: string;
|
|
20
|
+
authStatus: IAUTH_STATUS;
|
|
21
|
+
id: string;
|
|
22
|
+
} | undefined;
|
|
23
|
+
mutateStatus: (status: IAUTH_STATUS) => void;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=authDetailsMutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authDetailsMutation.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/auth/api/authDetailsMutation.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAmB,eAAe,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEpG,MAAM,MAAM,mBAAmB,GAAG;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC;AACzG,MAAM,MAAM,oBAAoB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,YAAY,CAAA;CAAE,CAAC;AA4EjF,eAAO,MAAM,sBAAsB,+BAAgC;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE;;;;;;;;2BAoCrG,YAAY;CAmBxB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface AuthSuccessResponse {
|
|
2
|
+
status: 'success' | 'pending' | 'failed';
|
|
3
|
+
}
|
|
4
|
+
export declare const useAuthSuccessQuery: ({ connectorId, enabled }: {
|
|
5
|
+
connectorId: string;
|
|
6
|
+
enabled: boolean;
|
|
7
|
+
}) => import('@tanstack/react-query').UseQueryResult<AuthSuccessResponse, Error>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=authSuccessQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authSuccessQuery.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/auth/api/authSuccessQuery.ts"],"names":[],"mappings":"AASA,UAAU,mBAAmB;IAC3B,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;CAC1C;AAmBD,eAAO,MAAM,mBAAmB,6BAAsC;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,+EAsB9G,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { JSONValue } from '../../../types/json';
|
|
2
|
+
export declare const testAuthApi: (data: JSONValue, connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
3
|
+
export declare const postVerifyToken: (data: JSONValue, connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/auth/api/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,eAAO,MAAM,WAAW,SAAU,SAAS,eAAe,MAAM,iEAO/D,CAAC;AAEF,eAAO,MAAM,eAAe,SAAU,SAAS,eAAe,MAAM,iEAOnE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IConnectorDetails } from '../../../../types/connector';
|
|
2
|
+
interface IAPiExecutorProp {
|
|
3
|
+
url?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
connectorId: string;
|
|
6
|
+
connectorData?: IConnectorDetails | null;
|
|
7
|
+
}
|
|
8
|
+
export declare const ApiExecutor: ({ url, disabled, connectorId, connectorData }: IAPiExecutorProp) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/auth/components/api-executor/index.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,UAAU,gBAAgB;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;CAC1C;AAED,eAAO,MAAM,WAAW,kDAA2D,gBAAgB,4CAmDlG,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/v2/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,15 @@
|
|
|
1
|
+
import { UseMutateFunction } from '@tanstack/react-query';
|
|
2
|
+
import { IAUTH_STATUS } from '../../types/request';
|
|
3
|
+
import { IConnectorDetails } from '../../../../types/connector';
|
|
4
|
+
import { AuthMutationPayload, AuthMutationResponse } from '../../api/authDetailsMutation';
|
|
5
|
+
interface IAuthForm {
|
|
6
|
+
isEdit?: boolean;
|
|
7
|
+
connectorId: string;
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
connectorData?: IConnectorDetails | null;
|
|
10
|
+
authStatus: IAUTH_STATUS;
|
|
11
|
+
authMutate: UseMutateFunction<AuthMutationResponse, Error, AuthMutationPayload>;
|
|
12
|
+
}
|
|
13
|
+
export declare const AuthForm: ({ isEdit, connectorId, isLoading, connectorData, authStatus, authMutate }: IAuthForm) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/auth/components/auth-form/index.tsx"],"names":[],"mappings":"AAsDA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAG/F,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;IACzB,UAAU,EAAE,iBAAiB,CAAC,oBAAoB,EAAE,KAAK,EAAE,mBAAmB,CAAC,CAAC;CACjF;AAED,eAAO,MAAM,QAAQ,8EAOlB,SAAS,4CA+SX,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/v2/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,9 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { TypographyProps, StackProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const TitleWrapper: StyledComponent<StackProps>;
|
|
4
|
+
export declare const PageTitle: StyledComponent<TypographyProps>;
|
|
5
|
+
export declare const Description: StyledComponent<TypographyProps>;
|
|
6
|
+
export declare const FormWrapper: StyledComponent<StackProps>;
|
|
7
|
+
export declare const AuthWrapper: StyledComponent<StackProps>;
|
|
8
|
+
export declare const ButtonWrapper: StyledComponent<StackProps>;
|
|
9
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/auth/components/auth-form/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEvE,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,UAAU,CASpD,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,eAAe,CAEtD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAExD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,UAAU,CA8BnD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,UAAU,CAEnD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAKrD,CAAC"}
|
|
@@ -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":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAIjF,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"}
|