@hiver/connector-admin 4.21.3 → 4.22.0-appsActivation-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/automation-map-fields/index.d.ts +2 -2
- package/app/automation-map-fields/index.d.ts.map +1 -1
- package/app/automation-map-fields/provider.d.ts +1 -1
- package/app/automation-map-fields/provider.d.ts.map +1 -1
- package/app/connectors/index.d.ts +2 -2
- package/app/connectors/index.d.ts.map +1 -1
- package/app/connectors/pages/api-view/__tests__/connector-config.test.d.ts +2 -0
- package/app/connectors/pages/api-view/__tests__/connector-config.test.d.ts.map +1 -0
- package/app/connectors/pages/api-view/index.d.ts +1 -1
- package/app/connectors/pages/api-view/index.d.ts.map +1 -1
- package/app/connectors/pages/api-view/style.d.ts.map +1 -1
- package/app/connectors/pages/auth-success/styles.d.ts.map +1 -1
- package/app/connectors/pages/connector-view/agent/index.d.ts +2 -0
- package/app/connectors/pages/connector-view/agent/index.d.ts.map +1 -0
- package/app/connectors/pages/connector-view/agent/styles.d.ts +4 -0
- package/app/connectors/pages/connector-view/agent/styles.d.ts.map +1 -0
- package/app/connectors/pages/connector-view/dashboard/__tests__/dashboard.test.d.ts +2 -0
- package/app/connectors/pages/connector-view/dashboard/__tests__/dashboard.test.d.ts.map +1 -0
- package/app/connectors/pages/connector-view/dashboard/index.d.ts +3 -0
- package/app/connectors/pages/connector-view/dashboard/index.d.ts.map +1 -0
- package/app/connectors/pages/connector-view/dashboard/styles.d.ts +9 -0
- package/app/connectors/pages/connector-view/dashboard/styles.d.ts.map +1 -0
- package/app/connectors/pages/connector-view/index.d.ts +3 -0
- package/app/connectors/pages/connector-view/index.d.ts.map +1 -0
- package/app/connectors/pages/connector-view/style.d.ts +5 -0
- package/app/connectors/pages/connector-view/style.d.ts.map +1 -0
- package/app/connectors/pages/settings/components/upgrade-guide/index.d.ts.map +1 -0
- package/app/connectors/pages/settings/components/upgrade-guide/styles.d.ts.map +1 -0
- package/app/connectors/pages/settings/index.d.ts.map +1 -1
- package/app/connectors/pages/settings/styles.d.ts +1 -1
- package/app/connectors/pages/settings/styles.d.ts.map +1 -1
- package/app/connectors/pages/upgrade-page/index.d.ts +1 -1
- package/app/connectors/pages/upgrade-page/index.d.ts.map +1 -1
- package/app/connectors/pages/upgrade-page/style.d.ts.map +1 -1
- package/app/connectors/provider.d.ts +1 -1
- package/app/connectors/provider.d.ts.map +1 -1
- package/app/connectors/router.d.ts.map +1 -1
- package/app/index.d.ts +1 -1
- package/app/style.d.ts +1 -0
- package/app/style.d.ts.map +1 -1
- package/bootstrap.d.ts +3 -2
- package/bootstrap.d.ts.map +1 -1
- package/components/layouts/__tests__/sidebar.test.d.ts +2 -0
- package/components/layouts/__tests__/sidebar.test.d.ts.map +1 -0
- package/components/layouts/sidebar/index.d.ts +7 -0
- package/components/layouts/sidebar/index.d.ts.map +1 -0
- package/components/layouts/sidebar/styles.d.ts +7 -0
- package/components/layouts/sidebar/styles.d.ts.map +1 -0
- package/components/ui/auto-complete/index.d.ts +1 -5
- package/components/ui/auto-complete/index.d.ts.map +1 -1
- package/components/ui/auto-complete/style.d.ts.map +1 -1
- package/components/ui/bread-crumbs/__tests__/bread-crumb.test.d.ts +2 -0
- package/components/ui/bread-crumbs/__tests__/bread-crumb.test.d.ts.map +1 -0
- package/components/ui/bread-crumbs/styles.d.ts.map +1 -1
- package/components/ui/modal/__tests__/modal.test.d.ts +2 -0
- package/components/ui/modal/__tests__/modal.test.d.ts.map +1 -0
- package/components/ui/modal/index.d.ts +0 -7
- package/components/ui/modal/index.d.ts.map +1 -1
- package/components/ui/styled-ui-components.d.ts +1 -3
- package/components/ui/styled-ui-components.d.ts.map +1 -1
- package/constants/api.d.ts +0 -1
- package/constants/api.d.ts.map +1 -1
- package/constants/app-constants.d.ts +0 -11
- package/constants/app-constants.d.ts.map +1 -1
- package/constants/bread-crumbs.d.ts +1 -1
- package/constants/bread-crumbs.d.ts.map +1 -1
- package/constants/gainsight.d.ts +0 -34
- package/constants/gainsight.d.ts.map +1 -1
- package/constants/global-constants.d.ts +0 -30
- package/constants/global-constants.d.ts.map +1 -1
- package/constants/modal.d.ts +2 -2
- package/constants/modal.d.ts.map +1 -1
- package/constants/remote-assets.d.ts +1 -1
- package/constants/remote-assets.d.ts.map +1 -1
- package/constants/router-paths.d.ts +3 -5
- package/constants/router-paths.d.ts.map +1 -1
- package/constants/sidebar.d.ts +9 -1
- package/constants/sidebar.d.ts.map +1 -1
- package/context/index.d.ts +6 -8
- package/context/index.d.ts.map +1 -1
- package/context/main-app-provider/index.d.ts +2 -2
- package/context/main-app-provider/index.d.ts.map +1 -1
- package/context/react-query-client-provider/index.d.ts.map +1 -1
- package/dev/theme-mode-widget.d.ts +2 -2
- package/dev/theme-mode-widget.d.ts.map +1 -1
- package/features/agent/constants/index.d.ts +2 -2
- package/features/agent/constants/index.d.ts.map +1 -1
- package/features/api-library/components/api-library/index.d.ts.map +1 -1
- package/features/api-library/components/api-library/styles.d.ts.map +1 -1
- package/features/api-library/constants/api-library.d.ts +1 -1
- package/features/api-library/constants/api-library.d.ts.map +1 -1
- package/features/auth/api/authDetailsMutation.d.ts +1 -3
- package/features/auth/api/authDetailsMutation.d.ts.map +1 -1
- package/features/auth/api/authSuccessQuery.d.ts +2 -15
- package/features/auth/api/authSuccessQuery.d.ts.map +1 -1
- package/features/auth/api/index.d.ts +0 -15
- package/features/auth/api/index.d.ts.map +1 -1
- package/features/auth/components/api-executor/index.d.ts.map +1 -1
- package/features/auth/components/api-executor/styles.d.ts.map +1 -1
- package/features/auth/components/auth-form/index.d.ts +1 -2
- package/features/auth/components/auth-form/index.d.ts.map +1 -1
- package/features/auth/constants/api.d.ts +0 -2
- package/features/auth/constants/api.d.ts.map +1 -1
- package/features/auth/constants/form-config.d.ts +1 -23
- package/features/auth/constants/form-config.d.ts.map +1 -1
- package/features/auth/constants/index.d.ts +5 -8
- package/features/auth/constants/index.d.ts.map +1 -1
- package/features/auth/store/slice.d.ts.map +1 -1
- package/features/auth/types/request.d.ts +3 -39
- package/features/auth/types/request.d.ts.map +1 -1
- package/features/auth/utils/index.d.ts +4 -4
- package/features/auth/utils/index.d.ts.map +1 -1
- package/features/connector-library/api/index.d.ts +1 -13
- package/features/connector-library/api/index.d.ts.map +1 -1
- package/features/connector-library/components/connector-info-card/index.d.ts +3 -4
- package/features/connector-library/components/connector-info-card/index.d.ts.map +1 -1
- package/features/connector-library/components/connector-info-card-list/index.d.ts +3 -4
- package/features/connector-library/components/connector-info-card-list/index.d.ts.map +1 -1
- package/features/connector-library/components/custom-connector-card-item/index.d.ts.map +1 -1
- package/features/connector-library/components/custom-connector-card-item/styles.d.ts.map +1 -1
- package/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts +2 -0
- package/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts.map +1 -0
- package/features/connector-library/components/custom-connector-card-list/index.d.ts.map +1 -1
- package/features/connector-library/components/custom-connector-enabled-modal/index.d.ts +0 -1
- package/features/connector-library/components/custom-connector-enabled-modal/index.d.ts.map +1 -1
- package/features/connector-library/components/custom-connector-enabled-modal/styles.d.ts +2 -1
- package/features/connector-library/components/custom-connector-enabled-modal/styles.d.ts.map +1 -1
- package/features/connector-library/components/custom-connector-upgrades-tooltip/index.d.ts.map +1 -1
- package/features/connector-library/components/singleton-popover-tooltip/index.d.ts +7 -0
- package/features/connector-library/components/singleton-popover-tooltip/index.d.ts.map +1 -0
- package/features/connector-library/components/singleton-popover-tooltip/popover-title.d.ts +2 -0
- package/features/connector-library/components/singleton-popover-tooltip/popover-title.d.ts.map +1 -0
- package/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.d.ts +7 -0
- package/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.d.ts.map +1 -0
- package/features/connector-library/components/singleton-popover-tooltip/styles.d.ts +6 -0
- package/features/connector-library/components/singleton-popover-tooltip/styles.d.ts.map +1 -0
- package/features/connector-library/components/visibility-modal/card-visibility/index.d.ts +9 -3
- package/features/connector-library/components/visibility-modal/card-visibility/index.d.ts.map +1 -1
- package/features/connector-library/components/visibility-modal/field-visibility/index.d.ts +8 -3
- package/features/connector-library/components/visibility-modal/field-visibility/index.d.ts.map +1 -1
- package/features/connector-library/components/visibility-modal/field-visibility/sortable-field.d.ts.map +1 -1
- package/features/connector-library/components/visibility-modal/index.d.ts.map +1 -1
- package/features/connector-library/components/visibility-modal/style.d.ts.map +1 -1
- package/features/connector-library/constants/api.d.ts +0 -13
- package/features/connector-library/constants/api.d.ts.map +1 -1
- package/features/connector-library/constants/index.d.ts +3 -17
- package/features/connector-library/constants/index.d.ts.map +1 -1
- package/features/connector-library/store/initial-state.d.ts +4 -7
- package/features/connector-library/store/initial-state.d.ts.map +1 -1
- package/features/connector-library/store/selectors.d.ts +4 -8
- package/features/connector-library/store/selectors.d.ts.map +1 -1
- package/features/connector-library/store/slice.d.ts +23 -61
- package/features/connector-library/store/slice.d.ts.map +1 -1
- package/features/connector-library/utils/index.d.ts +0 -25
- package/features/connector-library/utils/index.d.ts.map +1 -1
- package/features/connector-preview/components/connector-preview/index.d.ts +2 -5
- package/features/connector-preview/components/connector-preview/index.d.ts.map +1 -1
- package/features/connector-preview/components/connector-preview/styles.d.ts.map +1 -1
- package/features/connector-preview/components/footer/styles.d.ts.map +1 -1
- package/features/connector-setup-guide/components/guide-links/styles.d.ts.map +1 -1
- package/features/connector-setup-guide/components/schedule-call/index.d.ts.map +1 -1
- package/features/connector-setup-guide/components/schedule-call/styles.d.ts.map +1 -1
- package/features/connector-setup-guide/constants/index.d.ts +1 -1
- package/features/connector-setup-guide/constants/index.d.ts.map +1 -1
- package/features/request-new-connector/components/request-new-card/index.d.ts +7 -0
- package/features/request-new-connector/components/request-new-card/index.d.ts.map +1 -0
- package/features/request-new-connector/components/request-new-card/styles.d.ts +11 -0
- package/features/request-new-connector/components/request-new-card/styles.d.ts.map +1 -0
- package/features/request-new-connector/components/request-new-modal/__tests__/request-new-modal.test.d.ts +2 -0
- package/features/request-new-connector/components/request-new-modal/__tests__/request-new-modal.test.d.ts.map +1 -0
- package/features/request-new-connector/components/request-new-modal/index.d.ts +1 -2
- package/features/request-new-connector/components/request-new-modal/index.d.ts.map +1 -1
- package/features/request-new-connector/components/request-new-modal/request-panel.d.ts.map +1 -1
- package/features/request-new-connector/components/request-new-modal/styles.d.ts +2 -1
- package/features/request-new-connector/components/request-new-modal/styles.d.ts.map +1 -1
- package/features/request-new-connector/constants/index.d.ts +4 -2
- package/features/request-new-connector/constants/index.d.ts.map +1 -1
- package/features/template-library/components/library-card-list/__tests__/library-card-list.test.d.ts +2 -0
- package/features/template-library/components/library-card-list/__tests__/library-card-list.test.d.ts.map +1 -0
- package/features/template-library/components/library-card-list/index.d.ts +1 -5
- package/features/template-library/components/library-card-list/index.d.ts.map +1 -1
- package/features/template-library/components/library-card-list/styles.d.ts +1 -0
- package/features/template-library/components/library-card-list/styles.d.ts.map +1 -1
- package/features/template-library/constants/content-page.d.ts +1 -0
- package/features/template-library/constants/content-page.d.ts.map +1 -1
- package/features/template-library/store/selectors.d.ts +0 -1
- package/features/template-library/store/selectors.d.ts.map +1 -1
- package/features/template-library/store/slice.d.ts.map +1 -1
- package/features/toast-message/__tests__/toastMessage.test.d.ts +2 -0
- package/features/toast-message/__tests__/toastMessage.test.d.ts.map +1 -0
- package/features/toast-message/constants/toast.d.ts +2 -4
- package/features/toast-message/constants/toast.d.ts.map +1 -1
- package/index.d.ts +19 -2
- package/index.d.ts.map +1 -1
- package/index.es.js +34096 -28989
- package/index.umd.js +3224 -1284
- package/mainUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/store/counter/initial-state.d.ts +6 -0
- package/store/counter/initial-state.d.ts.map +1 -0
- package/store/counter/selectors.d.ts +4 -0
- package/store/counter/selectors.d.ts.map +1 -0
- package/store/counter/slice.d.ts +23 -0
- package/store/counter/slice.d.ts.map +1 -0
- package/store/hooks.d.ts +2 -2
- package/store/index.d.ts +4 -4
- package/store/index.d.ts.map +1 -1
- package/testing/mocks/handlers/auth.d.ts.map +1 -1
- package/testing/mocks/handlers/connector-template.d.ts +9 -16
- package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
- package/testing/mocks/handlers.d.ts.map +1 -1
- package/testing/setup-store.d.ts +2 -2
- package/{theme/index.d.ts → theme.d.ts} +1 -1
- package/theme.d.ts.map +1 -0
- package/types/api.d.ts +1 -1
- package/types/api.d.ts.map +1 -1
- package/types/connector.d.ts +3 -158
- package/types/connector.d.ts.map +1 -1
- package/types/exposedTypes.d.ts +0 -1
- package/types/exposedTypes.d.ts.map +1 -1
- package/types/form.d.ts +0 -16
- package/types/form.d.ts.map +1 -1
- package/types/router.d.ts +31 -0
- package/types/router.d.ts.map +1 -0
- package/types/visibility.d.ts +0 -29
- package/types/visibility.d.ts.map +1 -1
- package/utils/index.d.ts +1 -37
- package/utils/index.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/app-detail/AppDetailSkeleton.d.ts.map +1 -0
- package/v2/app/connectors/pages/app-detail/Configuration.d.ts.map +1 -0
- package/{app → v2/app}/connectors/pages/app-detail/EnabledToggle.d.ts +1 -1
- package/v2/app/connectors/pages/app-detail/EnabledToggle.d.ts.map +1 -0
- package/v2/app/connectors/pages/app-detail/Overview.d.ts.map +1 -0
- package/v2/app/connectors/pages/app-detail/__tests__/configuration-actions.test.d.ts +2 -0
- package/v2/app/connectors/pages/app-detail/__tests__/configuration-actions.test.d.ts.map +1 -0
- package/v2/app/connectors/pages/app-detail/__tests__/header-and-default-tab.test.d.ts +2 -0
- package/v2/app/connectors/pages/app-detail/__tests__/header-and-default-tab.test.d.ts.map +1 -0
- package/v2/app/connectors/pages/app-detail/index.d.ts.map +1 -0
- package/{app → v2/app}/connectors/pages/app-detail/registry.d.ts +1 -1
- package/v2/app/connectors/pages/app-detail/registry.d.ts.map +1 -0
- package/v2/app/connectors/pages/app-detail/schema.d.ts.map +1 -0
- package/{app → v2/app}/connectors/pages/app-detail/style.d.ts +9 -0
- package/v2/app/connectors/pages/app-detail/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.map +1 -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.map +1 -0
- package/v2/app/connectors/pages/initial-setup/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/native-integration/index.d.ts.map +1 -0
- package/v2/app/connectors/pages/settings/auth/__tests__/auth-status-poll.test.d.ts +2 -0
- package/v2/app/connectors/pages/settings/auth/__tests__/auth-status-poll.test.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.map +1 -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.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/dropdownOmni.d.ts.map +1 -0
- package/v2/components/ui/auto-complete/index.d.ts +18 -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.map +1 -0
- package/v2/components/ui/connector-item/index.d.ts.map +1 -0
- package/v2/components/ui/connector-item/styles.d.ts.map +1 -0
- package/v2/components/ui/connector-item-skeleton/index.d.ts.map +1 -0
- package/v2/components/ui/connector-item-skeleton/styles.d.ts.map +1 -0
- package/v2/components/ui/custom-tooltip/index.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-button/index.d.ts.map +1 -0
- package/v2/components/ui/loader-switch/index.d.ts.map +1 -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 +20 -0
- package/v2/components/ui/modal/index.d.ts.map +1 -0
- package/v2/components/ui/status-chip/index.d.ts.map +1 -0
- package/v2/components/ui/status-chip/styles.d.ts.map +1 -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 +15 -0
- package/v2/constants/api.d.ts.map +1 -0
- package/v2/constants/app-constants.d.ts +18 -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 +73 -0
- package/v2/constants/gainsight.d.ts.map +1 -0
- package/v2/constants/global-constants.d.ts +53 -0
- package/v2/constants/global-constants.d.ts.map +1 -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.map +1 -0
- package/v2/constants/router-paths.d.ts +12 -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 +43 -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/add-new-store/components/add-new-store-button/__tests__/add-new-store-button.test.d.ts +2 -0
- package/v2/features/add-new-store/components/add-new-store-button/__tests__/add-new-store-button.test.d.ts.map +1 -0
- package/v2/features/add-new-store/components/add-new-store-button/index.d.ts.map +1 -0
- package/v2/features/add-new-store/components/add-new-store-modal/index.d.ts.map +1 -0
- package/v2/features/add-new-store/constants/index.d.ts.map +1 -0
- package/v2/features/add-new-store/utils/__tests__/store-error-message.test.d.ts +2 -0
- package/v2/features/add-new-store/utils/__tests__/store-error-message.test.d.ts.map +1 -0
- package/v2/features/add-new-store/utils/index.d.ts.map +1 -0
- package/v2/features/advanced-features/api/__tests__/userAuthEnabledMutation.test.d.ts +2 -0
- package/v2/features/advanced-features/api/__tests__/userAuthEnabledMutation.test.d.ts.map +1 -0
- package/v2/features/advanced-features/api/advanceFeatureMutation.d.ts.map +1 -0
- package/v2/features/advanced-features/api/feedback.d.ts.map +1 -0
- package/v2/features/advanced-features/api/userAuthEnabledMutation.d.ts.map +1 -0
- package/v2/features/advanced-features/components/confirm-modal/index.d.ts.map +1 -0
- package/v2/features/advanced-features/components/feature-item/index.d.ts.map +1 -0
- package/v2/features/advanced-features/components/feature-list/index.d.ts.map +1 -0
- package/v2/features/advanced-features/components/feedback-form/index.d.ts.map +1 -0
- package/v2/features/advanced-features/constants/api.d.ts.map +1 -0
- package/v2/features/advanced-features/constants/index.d.ts.map +1 -0
- package/v2/features/advanced-features/types/index.d.ts.map +1 -0
- package/v2/features/advanced-features/utils/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/__tests__/authSuccessQuery.test.d.ts +2 -0
- package/v2/features/auth/api/__tests__/authSuccessQuery.test.d.ts.map +1 -0
- package/v2/features/auth/api/__tests__/create-store.test.d.ts +2 -0
- package/v2/features/auth/api/__tests__/create-store.test.d.ts.map +1 -0
- package/v2/features/auth/api/authDetailsMutation.d.ts +27 -0
- package/v2/features/auth/api/authDetailsMutation.d.ts.map +1 -0
- package/v2/features/auth/api/authSuccessQuery.d.ts +22 -0
- package/v2/features/auth/api/authSuccessQuery.d.ts.map +1 -0
- package/v2/features/auth/api/index.d.ts +19 -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/__tests__/auth-form-alert.test.d.ts +2 -0
- package/v2/features/auth/components/auth-form/__tests__/auth-form-alert.test.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/components/connector-auth-card/__tests__/auth-card.test.d.ts +2 -0
- package/v2/features/auth/components/connector-auth-card/__tests__/auth-card.test.d.ts.map +1 -0
- package/v2/features/auth/components/connector-auth-card/index.d.ts +3 -0
- package/v2/features/auth/components/connector-auth-card/index.d.ts.map +1 -0
- package/v2/features/auth/components/connector-auth-card/styles.d.ts +51 -0
- package/v2/features/auth/components/connector-auth-card/styles.d.ts.map +1 -0
- package/v2/features/auth/components/connector-auth-card/types.d.ts +111 -0
- package/v2/features/auth/components/connector-auth-card/types.d.ts.map +1 -0
- package/v2/features/auth/constants/api.d.ts +8 -0
- package/v2/features/auth/constants/api.d.ts.map +1 -0
- package/v2/features/auth/constants/form-config.d.ts +138 -0
- package/v2/features/auth/constants/form-config.d.ts.map +1 -0
- package/v2/features/auth/constants/index.d.ts +30 -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 +95 -0
- package/v2/features/auth/types/request.d.ts.map +1 -0
- package/v2/features/auth/utils/__tests__/auth-request-body.test.d.ts +2 -0
- package/v2/features/auth/utils/__tests__/auth-request-body.test.d.ts.map +1 -0
- package/v2/features/auth/utils/__tests__/convert-template.test.d.ts +2 -0
- package/v2/features/auth/utils/__tests__/convert-template.test.d.ts.map +1 -0
- package/v2/features/auth/utils/__tests__/validate-url.test.d.ts +2 -0
- package/v2/features/auth/utils/__tests__/validate-url.test.d.ts.map +1 -0
- package/v2/features/auth/utils/helpers.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/{features → v2/features}/auth/utils/oauthPopup.d.ts +2 -2
- package/v2/features/auth/utils/oauthPopup.d.ts.map +1 -0
- package/v2/features/clickup/__tests__/clickup-controller.test.d.ts +2 -0
- package/v2/features/clickup/__tests__/clickup-controller.test.d.ts.map +1 -0
- package/v2/features/clickup/controller.d.ts +28 -0
- package/v2/features/clickup/controller.d.ts.map +1 -0
- package/v2/features/connector-library/api/__tests__/enable-connector-payload.test.d.ts +2 -0
- package/v2/features/connector-library/api/__tests__/enable-connector-payload.test.d.ts.map +1 -0
- package/v2/features/connector-library/api/fetchDefaults.d.ts.map +1 -0
- package/v2/features/connector-library/api/fetchDefaultsById.d.ts.map +1 -0
- package/v2/features/connector-library/api/fetchForm.d.ts.map +1 -0
- package/v2/features/connector-library/api/fetchFormById.d.ts.map +1 -0
- package/{features → v2/features}/connector-library/api/fetchOptions.d.ts +1 -1
- package/v2/features/connector-library/api/fetchOptions.d.ts.map +1 -0
- package/v2/features/connector-library/api/index.d.ts +26 -0
- package/v2/features/connector-library/api/index.d.ts.map +1 -0
- package/v2/features/connector-library/api/putDefaults.d.ts.map +1 -0
- package/v2/features/connector-library/api/putDefaultsById.d.ts.map +1 -0
- package/v2/features/connector-library/components/connector-info-card/index.d.ts +10 -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 +10 -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.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/customer-identity-mapping/index.d.ts.map +1 -0
- package/v2/features/connector-library/components/map-form-defaults/automation.d.ts.map +1 -0
- package/v2/features/connector-library/components/map-form-defaults/index.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/card-visibility/form.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/card-visibility/index.d.ts +4 -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/configure-fields/__tests__/configure-fields.test.d.ts +2 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/__tests__/configure-fields.test.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/field-tabs.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/fields-table.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/index.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/sortable-field.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/styles.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/form.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/index.d.ts +4 -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 +28 -0
- package/v2/features/connector-library/constants/api.d.ts.map +1 -0
- package/v2/features/connector-library/constants/configure-field.d.ts.map +1 -0
- package/v2/features/connector-library/constants/index.d.ts +44 -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/__tests__/slice.test.d.ts +2 -0
- package/v2/features/connector-library/store/__tests__/slice.test.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 +162 -0
- package/v2/features/connector-library/store/slice.d.ts.map +1 -0
- package/v2/features/connector-library/utils/__tests__/field-identity.test.d.ts +2 -0
- package/v2/features/connector-library/utils/__tests__/field-identity.test.d.ts.map +1 -0
- package/v2/features/connector-library/utils/index.d.ts +28 -0
- package/v2/features/connector-library/utils/index.d.ts.map +1 -0
- package/v2/features/connector-preview/components/connector-preview/index.d.ts +17 -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.map +1 -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 +10 -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 +23 -0
- package/v2/features/request-new-connector/constants/index.d.ts.map +1 -0
- package/v2/features/request-new-connector/hooks/useRequestOptions.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/slack/__tests__/controller-dirty.test.d.ts +2 -0
- package/v2/features/slack/__tests__/controller-dirty.test.d.ts.map +1 -0
- package/v2/features/slack/api/configs.d.ts.map +1 -0
- package/v2/features/slack/api/index.d.ts.map +1 -0
- package/v2/features/slack/components/ConfigBlockIcons.d.ts.map +1 -0
- package/v2/features/slack/components/DefaultMessageEditor/constants.d.ts.map +1 -0
- package/v2/features/slack/components/DefaultMessageEditor/index.d.ts.map +1 -0
- package/v2/features/slack/components/DefaultMessageEditor/serialize.d.ts.map +1 -0
- package/v2/features/slack/components/DefaultMessageEditor/serialize.test.d.ts +2 -0
- package/v2/features/slack/components/DefaultMessageEditor/serialize.test.d.ts.map +1 -0
- package/v2/features/slack/components/DefaultMessageEditor/styles.d.ts.map +1 -0
- package/v2/features/slack/components/SlackLogo.d.ts.map +1 -0
- package/v2/features/slack/constants/api.d.ts.map +1 -0
- package/v2/features/slack/controller.d.ts.map +1 -0
- package/v2/features/slack/types/wire.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 +7 -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 +8 -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/hooks/__tests__/use-app-event.test.d.ts +2 -0
- package/v2/hooks/__tests__/use-app-event.test.d.ts.map +1 -0
- package/v2/hooks/use-app-event.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.map +1 -0
- package/{store → v2/store}/inboxes/selectors.d.ts +2 -2
- package/v2/store/inboxes/selectors.d.ts.map +1 -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/advancedFeatures.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 +40 -0
- package/v2/testing/mocks/handlers/connector-template.d.ts.map +1 -0
- package/v2/testing/mocks/handlers/form.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/slack.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 +79 -0
- package/v2/testing/test-utils.d.ts.map +1 -0
- package/v2/theme/connector-admin-theme-provider.d.ts.map +1 -0
- package/v2/theme/connector-admin-theme.d.ts.map +1 -0
- package/v2/theme/connector-admin-theme.test.d.ts +2 -0
- package/v2/theme/connector-admin-theme.test.d.ts.map +1 -0
- package/v2/types/api.d.ts +2 -0
- package/v2/types/api.d.ts.map +1 -0
- package/{types → v2/types}/app.d.ts +1 -5
- 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 +277 -0
- package/v2/types/connector.d.ts.map +1 -0
- package/v2/types/exposedTypes.d.ts +35 -0
- package/v2/types/exposedTypes.d.ts.map +1 -0
- package/v2/types/form.d.ts +55 -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 +64 -0
- package/v2/types/visibility.d.ts.map +1 -0
- package/v2/utils/__tests__/app-event-metadata.test.d.ts +2 -0
- package/v2/utils/__tests__/app-event-metadata.test.d.ts.map +1 -0
- package/v2/utils/__tests__/get-app-state.test.d.ts +2 -0
- package/v2/utils/__tests__/get-app-state.test.d.ts.map +1 -0
- package/v2/utils/__tests__/get-pit-connector-stats.test.d.ts +2 -0
- package/v2/utils/__tests__/get-pit-connector-stats.test.d.ts.map +1 -0
- package/v2/utils/app-event-metadata.d.ts.map +1 -0
- package/v2/utils/index.d.ts +64 -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
- package/app/connectors/pages/app-detail/AppDetailSkeleton.d.ts.map +0 -1
- package/app/connectors/pages/app-detail/Configuration.d.ts.map +0 -1
- package/app/connectors/pages/app-detail/EnabledToggle.d.ts.map +0 -1
- package/app/connectors/pages/app-detail/Overview.d.ts.map +0 -1
- package/app/connectors/pages/app-detail/index.d.ts.map +0 -1
- package/app/connectors/pages/app-detail/registry.d.ts.map +0 -1
- package/app/connectors/pages/app-detail/schema.d.ts.map +0 -1
- package/app/connectors/pages/app-detail/style.d.ts.map +0 -1
- package/app/connectors/pages/connector-dashboard/index.d.ts.map +0 -1
- package/app/connectors/pages/connector-dashboard/style.d.ts.map +0 -1
- package/app/connectors/pages/initial-setup/components/connector-visibility.d.ts.map +0 -1
- package/app/connectors/pages/initial-setup/index.d.ts.map +0 -1
- package/app/connectors/pages/native-integration/index.d.ts.map +0 -1
- package/app/connectors/pages/settings/auth/components/upgrade-guide/index.d.ts.map +0 -1
- package/app/connectors/pages/settings/auth/components/upgrade-guide/styles.d.ts.map +0 -1
- package/app/connectors/pages/settings/auth/index.d.ts.map +0 -1
- package/app/connectors/pages/settings/auth/styles.d.ts.map +0 -1
- package/app/connectors/pages/settings/visibility/index.d.ts.map +0 -1
- package/components/ui/auto-complete/dropdownOmni.d.ts.map +0 -1
- package/components/ui/connector-alert/index.d.ts.map +0 -1
- package/components/ui/connector-item/index.d.ts.map +0 -1
- package/components/ui/connector-item/styles.d.ts.map +0 -1
- package/components/ui/connector-item-skeleton/index.d.ts.map +0 -1
- package/components/ui/connector-item-skeleton/styles.d.ts.map +0 -1
- package/components/ui/custom-tooltip/index.d.ts.map +0 -1
- package/components/ui/loader-button/index.d.ts.map +0 -1
- package/components/ui/loader-switch/index.d.ts.map +0 -1
- package/components/ui/loader-switch/style.d.ts.map +0 -1
- package/components/ui/status-chip/index.d.ts.map +0 -1
- package/components/ui/status-chip/styles.d.ts.map +0 -1
- package/components/ui/status-chip/types.d.ts.map +0 -1
- package/constants/initial-setup.d.ts.map +0 -1
- package/constants/roles.d.ts.map +0 -1
- package/features/add-new-store/components/add-new-store-button/index.d.ts.map +0 -1
- package/features/add-new-store/components/add-new-store-modal/index.d.ts.map +0 -1
- package/features/add-new-store/constants/index.d.ts.map +0 -1
- package/features/add-new-store/utils/index.d.ts.map +0 -1
- package/features/advanced-features/api/advanceFeatureMutation.d.ts.map +0 -1
- package/features/advanced-features/api/feedback.d.ts.map +0 -1
- package/features/advanced-features/api/userAuthEnabledMutation.d.ts.map +0 -1
- package/features/advanced-features/components/confirm-modal/index.d.ts.map +0 -1
- package/features/advanced-features/components/feature-item/index.d.ts.map +0 -1
- package/features/advanced-features/components/feature-list/index.d.ts.map +0 -1
- package/features/advanced-features/components/feedback-form/index.d.ts.map +0 -1
- package/features/advanced-features/constants/api.d.ts.map +0 -1
- package/features/advanced-features/constants/index.d.ts.map +0 -1
- package/features/advanced-features/types/index.d.ts.map +0 -1
- package/features/advanced-features/utils/index.d.ts.map +0 -1
- package/features/auth/utils/helpers.d.ts.map +0 -1
- package/features/auth/utils/oauthPopup.d.ts.map +0 -1
- package/features/connector-library/api/fetchDefaults.d.ts.map +0 -1
- package/features/connector-library/api/fetchDefaultsById.d.ts.map +0 -1
- package/features/connector-library/api/fetchForm.d.ts.map +0 -1
- package/features/connector-library/api/fetchFormById.d.ts.map +0 -1
- package/features/connector-library/api/fetchOptions.d.ts.map +0 -1
- package/features/connector-library/api/putDefaults.d.ts.map +0 -1
- package/features/connector-library/api/putDefaultsById.d.ts.map +0 -1
- package/features/connector-library/components/connector-info-card-list/styles.d.ts.map +0 -1
- package/features/connector-library/components/customer-identity-mapping/index.d.ts.map +0 -1
- package/features/connector-library/components/map-form-defaults/automation.d.ts.map +0 -1
- package/features/connector-library/components/map-form-defaults/index.d.ts.map +0 -1
- package/features/connector-library/components/visibility-modal/card-visibility/form.d.ts.map +0 -1
- package/features/connector-library/components/visibility-modal/field-visibility/configure-fields/field-tabs.d.ts.map +0 -1
- package/features/connector-library/components/visibility-modal/field-visibility/configure-fields/fields-table.d.ts.map +0 -1
- package/features/connector-library/components/visibility-modal/field-visibility/configure-fields/index.d.ts.map +0 -1
- package/features/connector-library/components/visibility-modal/field-visibility/configure-fields/sortable-field.d.ts.map +0 -1
- package/features/connector-library/components/visibility-modal/field-visibility/configure-fields/styles.d.ts.map +0 -1
- package/features/connector-library/components/visibility-modal/field-visibility/form.d.ts.map +0 -1
- package/features/connector-library/constants/configure-field.d.ts.map +0 -1
- package/features/native-integrations/components/inbox-selector/index.d.ts.map +0 -1
- package/features/native-integrations/components/native-connectors-list/index.d.ts.map +0 -1
- package/features/request-new-connector/hooks/useRequestOptions.d.ts.map +0 -1
- package/features/slack/api/configs.d.ts.map +0 -1
- package/features/slack/api/index.d.ts.map +0 -1
- package/features/slack/components/ConfigBlockIcons.d.ts.map +0 -1
- package/features/slack/components/DefaultMessageEditor/constants.d.ts.map +0 -1
- package/features/slack/components/DefaultMessageEditor/index.d.ts.map +0 -1
- package/features/slack/components/DefaultMessageEditor/serialize.d.ts.map +0 -1
- package/features/slack/components/DefaultMessageEditor/styles.d.ts.map +0 -1
- package/features/slack/components/SlackLogo.d.ts.map +0 -1
- package/features/slack/constants/api.d.ts.map +0 -1
- package/features/slack/controller.d.ts.map +0 -1
- package/features/slack/types/wire.d.ts.map +0 -1
- package/hooks/use-app-event.d.ts.map +0 -1
- package/store/inboxes/initial-state.d.ts.map +0 -1
- package/store/inboxes/selectors.d.ts.map +0 -1
- package/store/inboxes/slice.d.ts.map +0 -1
- package/testing/mocks/handlers/advancedFeatures.d.ts.map +0 -1
- package/testing/mocks/handlers/form.d.ts.map +0 -1
- package/testing/mocks/handlers/slack.d.ts.map +0 -1
- package/theme/connector-admin-theme-provider.d.ts.map +0 -1
- package/theme/connector-admin-theme.d.ts.map +0 -1
- package/theme/index.d.ts.map +0 -1
- package/types/app.d.ts.map +0 -1
- package/utils/app-event-metadata.d.ts.map +0 -1
- /package/app/connectors/pages/settings/{auth/components → components}/upgrade-guide/index.d.ts +0 -0
- /package/app/connectors/pages/settings/{auth/components → components}/upgrade-guide/styles.d.ts +0 -0
- /package/{app → v2/app}/connectors/pages/app-detail/AppDetailSkeleton.d.ts +0 -0
- /package/{app → v2/app}/connectors/pages/app-detail/Configuration.d.ts +0 -0
- /package/{app → v2/app}/connectors/pages/app-detail/Overview.d.ts +0 -0
- /package/{app → v2/app}/connectors/pages/app-detail/index.d.ts +0 -0
- /package/{app → v2/app}/connectors/pages/app-detail/schema.d.ts +0 -0
- /package/{app → v2/app}/connectors/pages/connector-dashboard/index.d.ts +0 -0
- /package/{app → v2/app}/connectors/pages/connector-dashboard/style.d.ts +0 -0
- /package/{app → v2/app}/connectors/pages/initial-setup/components/connector-visibility.d.ts +0 -0
- /package/{app → v2/app}/connectors/pages/initial-setup/index.d.ts +0 -0
- /package/{app → v2/app}/connectors/pages/native-integration/index.d.ts +0 -0
- /package/{app → v2/app}/connectors/pages/settings/auth/index.d.ts +0 -0
- /package/{app → v2/app}/connectors/pages/settings/auth/styles.d.ts +0 -0
- /package/{app → v2/app}/connectors/pages/settings/visibility/index.d.ts +0 -0
- /package/{components → v2/components}/ui/auto-complete/dropdownOmni.d.ts +0 -0
- /package/{components → v2/components}/ui/connector-alert/index.d.ts +0 -0
- /package/{components → v2/components}/ui/connector-item/index.d.ts +0 -0
- /package/{components → v2/components}/ui/connector-item/styles.d.ts +0 -0
- /package/{components → v2/components}/ui/connector-item-skeleton/index.d.ts +0 -0
- /package/{components → v2/components}/ui/connector-item-skeleton/styles.d.ts +0 -0
- /package/{components → v2/components}/ui/custom-tooltip/index.d.ts +0 -0
- /package/{components → v2/components}/ui/loader-button/index.d.ts +0 -0
- /package/{components → v2/components}/ui/loader-switch/index.d.ts +0 -0
- /package/{components → v2/components}/ui/loader-switch/style.d.ts +0 -0
- /package/{components → v2/components}/ui/status-chip/index.d.ts +0 -0
- /package/{components → v2/components}/ui/status-chip/styles.d.ts +0 -0
- /package/{components → v2/components}/ui/status-chip/types.d.ts +0 -0
- /package/{constants → v2/constants}/initial-setup.d.ts +0 -0
- /package/{constants → v2/constants}/roles.d.ts +0 -0
- /package/{features → v2/features}/add-new-store/components/add-new-store-button/index.d.ts +0 -0
- /package/{features → v2/features}/add-new-store/components/add-new-store-modal/index.d.ts +0 -0
- /package/{features → v2/features}/add-new-store/constants/index.d.ts +0 -0
- /package/{features → v2/features}/add-new-store/utils/index.d.ts +0 -0
- /package/{features → v2/features}/advanced-features/api/advanceFeatureMutation.d.ts +0 -0
- /package/{features → v2/features}/advanced-features/api/feedback.d.ts +0 -0
- /package/{features → v2/features}/advanced-features/api/userAuthEnabledMutation.d.ts +0 -0
- /package/{features → v2/features}/advanced-features/components/confirm-modal/index.d.ts +0 -0
- /package/{features → v2/features}/advanced-features/components/feature-item/index.d.ts +0 -0
- /package/{features → v2/features}/advanced-features/components/feature-list/index.d.ts +0 -0
- /package/{features → v2/features}/advanced-features/components/feedback-form/index.d.ts +0 -0
- /package/{features → v2/features}/advanced-features/constants/api.d.ts +0 -0
- /package/{features → v2/features}/advanced-features/constants/index.d.ts +0 -0
- /package/{features → v2/features}/advanced-features/types/index.d.ts +0 -0
- /package/{features → v2/features}/advanced-features/utils/index.d.ts +0 -0
- /package/{features → v2/features}/auth/utils/helpers.d.ts +0 -0
- /package/{features → v2/features}/connector-library/api/fetchDefaults.d.ts +0 -0
- /package/{features → v2/features}/connector-library/api/fetchDefaultsById.d.ts +0 -0
- /package/{features → v2/features}/connector-library/api/fetchForm.d.ts +0 -0
- /package/{features → v2/features}/connector-library/api/fetchFormById.d.ts +0 -0
- /package/{features → v2/features}/connector-library/api/putDefaults.d.ts +0 -0
- /package/{features → v2/features}/connector-library/api/putDefaultsById.d.ts +0 -0
- /package/{features → v2/features}/connector-library/components/connector-info-card-list/styles.d.ts +0 -0
- /package/{features → v2/features}/connector-library/components/customer-identity-mapping/index.d.ts +0 -0
- /package/{features → v2/features}/connector-library/components/map-form-defaults/automation.d.ts +0 -0
- /package/{features → v2/features}/connector-library/components/map-form-defaults/index.d.ts +0 -0
- /package/{features → v2/features}/connector-library/components/visibility-modal/card-visibility/form.d.ts +0 -0
- /package/{features → v2/features}/connector-library/components/visibility-modal/field-visibility/configure-fields/field-tabs.d.ts +0 -0
- /package/{features → v2/features}/connector-library/components/visibility-modal/field-visibility/configure-fields/fields-table.d.ts +0 -0
- /package/{features → v2/features}/connector-library/components/visibility-modal/field-visibility/configure-fields/index.d.ts +0 -0
- /package/{features → v2/features}/connector-library/components/visibility-modal/field-visibility/configure-fields/sortable-field.d.ts +0 -0
- /package/{features → v2/features}/connector-library/components/visibility-modal/field-visibility/configure-fields/styles.d.ts +0 -0
- /package/{features → v2/features}/connector-library/components/visibility-modal/field-visibility/form.d.ts +0 -0
- /package/{features → v2/features}/connector-library/constants/configure-field.d.ts +0 -0
- /package/{features → v2/features}/native-integrations/components/inbox-selector/index.d.ts +0 -0
- /package/{features → v2/features}/native-integrations/components/native-connectors-list/index.d.ts +0 -0
- /package/{features → v2/features}/request-new-connector/hooks/useRequestOptions.d.ts +0 -0
- /package/{features → v2/features}/slack/api/configs.d.ts +0 -0
- /package/{features → v2/features}/slack/api/index.d.ts +0 -0
- /package/{features → v2/features}/slack/components/ConfigBlockIcons.d.ts +0 -0
- /package/{features → v2/features}/slack/components/DefaultMessageEditor/constants.d.ts +0 -0
- /package/{features → v2/features}/slack/components/DefaultMessageEditor/index.d.ts +0 -0
- /package/{features → v2/features}/slack/components/DefaultMessageEditor/serialize.d.ts +0 -0
- /package/{features → v2/features}/slack/components/DefaultMessageEditor/styles.d.ts +0 -0
- /package/{features → v2/features}/slack/components/SlackLogo.d.ts +0 -0
- /package/{features → v2/features}/slack/constants/api.d.ts +0 -0
- /package/{features → v2/features}/slack/controller.d.ts +0 -0
- /package/{features → v2/features}/slack/types/wire.d.ts +0 -0
- /package/{hooks → v2/hooks}/use-app-event.d.ts +0 -0
- /package/{store → v2/store}/inboxes/initial-state.d.ts +0 -0
- /package/{store → v2/store}/inboxes/slice.d.ts +0 -0
- /package/{testing → v2/testing}/mocks/handlers/advancedFeatures.d.ts +0 -0
- /package/{testing → v2/testing}/mocks/handlers/form.d.ts +0 -0
- /package/{testing → v2/testing}/mocks/handlers/slack.d.ts +0 -0
- /package/{theme → v2/theme}/connector-admin-theme-provider.d.ts +0 -0
- /package/{theme → v2/theme}/connector-admin-theme.d.ts +0 -0
- /package/{utils → v2/utils}/app-event-metadata.d.ts +0 -0
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import { AuthFieldKeys } from '../features/auth/types/form';
|
|
2
|
+
import { TextFieldBaseProps } from './form';
|
|
3
|
+
import { IField, FieldAccessMode } from './visibility';
|
|
4
|
+
export type ConnectorId = string;
|
|
5
|
+
export interface IAPI {
|
|
6
|
+
name: string;
|
|
7
|
+
keyName: string;
|
|
8
|
+
description: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IOAuth1Details {
|
|
11
|
+
authType: 'Oauth1';
|
|
12
|
+
consumerKey: string;
|
|
13
|
+
consumerSecret: string;
|
|
14
|
+
accessToken: string;
|
|
15
|
+
tokenSecret: string;
|
|
16
|
+
realm: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IOAuth2Details {
|
|
19
|
+
authType: 'Oauth2';
|
|
20
|
+
authEndpointUrl: string;
|
|
21
|
+
tokenEndpointUrl: string;
|
|
22
|
+
scopes?: Array<string>;
|
|
23
|
+
grantType?: string;
|
|
24
|
+
keyName: string;
|
|
25
|
+
prefix?: string;
|
|
26
|
+
clientId: string;
|
|
27
|
+
clientSecret: string;
|
|
28
|
+
}
|
|
29
|
+
export interface IOAuth2PatDetails {
|
|
30
|
+
authType: 'Oauth2Pat';
|
|
31
|
+
clientId: string;
|
|
32
|
+
clientSecret: string;
|
|
33
|
+
pat: string;
|
|
34
|
+
tokenEndpointUrl: string;
|
|
35
|
+
userId?: string;
|
|
36
|
+
orgId?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface IAuthAPIKeyDetails {
|
|
39
|
+
authType: 'ApiKey';
|
|
40
|
+
location: string;
|
|
41
|
+
keyName: string;
|
|
42
|
+
keyValue: string;
|
|
43
|
+
prefix?: string;
|
|
44
|
+
}
|
|
45
|
+
export interface IBasicAuthDetails {
|
|
46
|
+
authType: 'BasicAuth';
|
|
47
|
+
location: string;
|
|
48
|
+
keyName: string;
|
|
49
|
+
keyValue: string;
|
|
50
|
+
secretValue: string;
|
|
51
|
+
prefix: string;
|
|
52
|
+
}
|
|
53
|
+
export interface IConnectorVariable {
|
|
54
|
+
[key: string]: string;
|
|
55
|
+
}
|
|
56
|
+
export type IAuthDetails = IOAuth2Details | IOAuth2PatDetails | IAuthAPIKeyDetails | IBasicAuthDetails | IOAuth1Details;
|
|
57
|
+
export interface IAPIKey {
|
|
58
|
+
label: string;
|
|
59
|
+
placeholderValue: string;
|
|
60
|
+
priority: number;
|
|
61
|
+
}
|
|
62
|
+
export interface ICard {
|
|
63
|
+
title: string;
|
|
64
|
+
priority: number;
|
|
65
|
+
type: 'flat' | 'flat_with_list' | 'create_resource';
|
|
66
|
+
output_map: {
|
|
67
|
+
[key: string]: IAPIKey;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
export interface IIntegrationPanel {
|
|
71
|
+
position: string;
|
|
72
|
+
cards: Array<ICard>;
|
|
73
|
+
}
|
|
74
|
+
export interface InfoCard {
|
|
75
|
+
title: string;
|
|
76
|
+
id: string;
|
|
77
|
+
inboxes: {
|
|
78
|
+
email?: (string | number)[];
|
|
79
|
+
chat?: (string | number)[];
|
|
80
|
+
};
|
|
81
|
+
roles?: string[];
|
|
82
|
+
fields?: IField[];
|
|
83
|
+
isCardNew: false;
|
|
84
|
+
priority: number;
|
|
85
|
+
isCardCustom: boolean;
|
|
86
|
+
cardKey?: string;
|
|
87
|
+
isEnabledCustomCard: true;
|
|
88
|
+
cardAccessMode?: FieldAccessMode;
|
|
89
|
+
/** Per-card gate for the "Pre-fill fields" action, sent by newer backends.
|
|
90
|
+
* Honored only when it's an actual boolean; when absent, the UI falls back
|
|
91
|
+
* to the legacy connector-level flag on IConnectorDetails. */
|
|
92
|
+
formDefaultsEnabled?: boolean;
|
|
93
|
+
}
|
|
94
|
+
export interface CustomInfoCard extends Partial<Omit<InfoCard, 'isEnabledCustomCard'>> {
|
|
95
|
+
title: string;
|
|
96
|
+
key: string;
|
|
97
|
+
custom_card_key: string;
|
|
98
|
+
cardKey: string;
|
|
99
|
+
isCardCustom: true;
|
|
100
|
+
isEnabledCustomCard: false;
|
|
101
|
+
}
|
|
102
|
+
export type SupportLinks = {
|
|
103
|
+
setupGuideVideoLink?: string;
|
|
104
|
+
setupGuideVideoPreviewImage?: string;
|
|
105
|
+
helpArticleLink?: string;
|
|
106
|
+
};
|
|
107
|
+
export type CarouselData = {
|
|
108
|
+
url: string;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* One bordered config card on the admin app-detail Configuration tab.
|
|
112
|
+
* `field` selects which controller input the card wraps; `icon` picks the
|
|
113
|
+
* leading glyph; title/subtitle are the card's own copy. Served by the
|
|
114
|
+
* backend on the template's `configuration.blocks`.
|
|
115
|
+
*/
|
|
116
|
+
export interface ConfigBlockSpec {
|
|
117
|
+
field: 'inboxes' | 'roles' | 'defaultMessage';
|
|
118
|
+
icon: 'mail' | 'message';
|
|
119
|
+
title: string;
|
|
120
|
+
subtitle?: string;
|
|
121
|
+
}
|
|
122
|
+
export interface ConfigurationSchema {
|
|
123
|
+
title: string;
|
|
124
|
+
subtitle?: string;
|
|
125
|
+
/** Per-card specs (icon + copy + which input). Each renders as a Figma
|
|
126
|
+
* bordered card wrapping a reused StyledAutoComplete. */
|
|
127
|
+
blocks?: ConfigBlockSpec[];
|
|
128
|
+
/** Legacy flag: render the plain <ConnectorVisibility> form instead of
|
|
129
|
+
* `blocks` cards. Kept for any app that hasn't supplied blocks. */
|
|
130
|
+
visibility?: boolean;
|
|
131
|
+
saveLabel?: string;
|
|
132
|
+
cancelLabel?: string;
|
|
133
|
+
}
|
|
134
|
+
export type AdvancedFeatures = {
|
|
135
|
+
[key: string extends 'connector' ? never : string]: boolean;
|
|
136
|
+
} & {
|
|
137
|
+
connector?: {
|
|
138
|
+
id: string;
|
|
139
|
+
name: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
export type AdvancedFeaturesV2 = Record<string, {
|
|
143
|
+
enabled: boolean;
|
|
144
|
+
connector?: {
|
|
145
|
+
id: string;
|
|
146
|
+
name: string;
|
|
147
|
+
};
|
|
148
|
+
metadata?: Record<string, unknown> | null;
|
|
149
|
+
}>;
|
|
150
|
+
export interface IConnectorDetails {
|
|
151
|
+
id: string;
|
|
152
|
+
/**
|
|
153
|
+
* The marketplace template this install was cloned from. Distinct from
|
|
154
|
+
* `id`, which is the per-UG install id. The new /connector/app/:id
|
|
155
|
+
* surface is keyed on the template id, so the api-view → app-detail
|
|
156
|
+
* redirect for installed apps needs this field to avoid passing the
|
|
157
|
+
* install id where a template id is expected.
|
|
158
|
+
*/
|
|
159
|
+
templateId?: string;
|
|
160
|
+
type: string;
|
|
161
|
+
authDetails?: IAuthDetails;
|
|
162
|
+
isAuthenticated?: boolean;
|
|
163
|
+
isEnabled?: boolean;
|
|
164
|
+
name: string;
|
|
165
|
+
description: string;
|
|
166
|
+
apiList?: Array<IAPI>;
|
|
167
|
+
integrationPanel?: IIntegrationPanel;
|
|
168
|
+
variables?: IConnectorVariable;
|
|
169
|
+
redirectUrl?: string;
|
|
170
|
+
baseUrlRequired?: boolean;
|
|
171
|
+
logo: string | null;
|
|
172
|
+
variablesConfig?: TextFieldBaseProps[];
|
|
173
|
+
cardList?: InfoCard[];
|
|
174
|
+
showUpgradeButton?: boolean;
|
|
175
|
+
isTemplateNew?: boolean;
|
|
176
|
+
updates?: TrustedHTML;
|
|
177
|
+
isConnectorAvailableInPlan?: boolean;
|
|
178
|
+
upgradeGuideLink?: string;
|
|
179
|
+
upgradeGuideContent?: TrustedHTML;
|
|
180
|
+
advancedSettingsFields?: string[];
|
|
181
|
+
supportLinks?: SupportLinks;
|
|
182
|
+
interpolationFields?: Record<string, string>;
|
|
183
|
+
carouselImages?: CarouselData[];
|
|
184
|
+
templateDescription?: string;
|
|
185
|
+
/** Presentational content for the new admin app-detail page (Overview +
|
|
186
|
+
* Configuration tabs), served by the backend per template. Present only for
|
|
187
|
+
* connector types that use the new AppDetailPage (e.g. Slack). The controller
|
|
188
|
+
* hook that wires the Configuration inputs to save logic stays in code — see
|
|
189
|
+
* app-detail/registry.ts. */
|
|
190
|
+
configuration?: ConfigurationSchema;
|
|
191
|
+
/** Numbered features list rendered on the Overview tab. */
|
|
192
|
+
features?: string[];
|
|
193
|
+
/** Overview hero illustration (CDN svg). When set, the Overview renders it in
|
|
194
|
+
* place of the template carousel. */
|
|
195
|
+
illustrationUrl?: string;
|
|
196
|
+
/** Overrides the Overview setup-help heading. Falls back to NEED_HELP. */
|
|
197
|
+
overviewHelpHeading?: string;
|
|
198
|
+
/** Whether the Overview shows the "Schedule call" promo card (default: shown). */
|
|
199
|
+
showScheduleCall?: boolean;
|
|
200
|
+
oneClickAuthEnabled?: boolean;
|
|
201
|
+
hiddenFields?: AuthFieldKeys[];
|
|
202
|
+
isDeprecated?: boolean;
|
|
203
|
+
customCardsList?: CustomInfoCard[];
|
|
204
|
+
advancedFeatures?: AdvancedFeatures | AdvancedFeaturesV2;
|
|
205
|
+
createdAt?: string;
|
|
206
|
+
/** Legacy connector-level gate for the "Pre-fill fields" action. Newer
|
|
207
|
+
* backends send `formDefaultsEnabled` per card instead (see InfoCard);
|
|
208
|
+
* this remains as the fallback when a card doesn't carry the flag. */
|
|
209
|
+
formDefaultsEnabled?: boolean;
|
|
210
|
+
/** Multi-store: id of the parent connector this store was cloned from.
|
|
211
|
+
* Null/absent means this connector is itself a parent (not a store). */
|
|
212
|
+
parentConnectorId?: string;
|
|
213
|
+
/** Multi-store: true when this connector is a store (has a parent). */
|
|
214
|
+
isStore?: boolean;
|
|
215
|
+
/** Multi-store: server-computed — multi-store enabled AND this is a parent.
|
|
216
|
+
* Controls whether the "Add New Store" button renders at all. */
|
|
217
|
+
showAddStore?: boolean;
|
|
218
|
+
/** Multi-store: server-computed — showAddStore AND storesUsed < maxStores.
|
|
219
|
+
* Controls whether the "Add New Store" button is enabled. */
|
|
220
|
+
canAddStore?: boolean;
|
|
221
|
+
/** Multi-store: number of store connectors already created for this template. */
|
|
222
|
+
storesUsed?: number;
|
|
223
|
+
/** Multi-store: max store connectors allowed per template (excludes parent). */
|
|
224
|
+
maxStores?: number;
|
|
225
|
+
/** Multi-store: server-computed auth-gating copy for the "Add New Store"
|
|
226
|
+
* button. Non-null means the button must stay disabled with this exact
|
|
227
|
+
* message as the tooltip: "Authentication pending" (this parent's own auth
|
|
228
|
+
* never completed) or "Authenticate your existing stores to add another"
|
|
229
|
+
* (some store of the template never authenticated). Null/absent = not
|
|
230
|
+
* auth-blocked; the cap can still disable via `canAddStore` (which the
|
|
231
|
+
* server already forces false whenever this message is set). Render it
|
|
232
|
+
* verbatim — never re-derive. */
|
|
233
|
+
addStoreDisabledMessage?: string | null;
|
|
234
|
+
/** Multi-store: server-computed — true only for a store that has never held
|
|
235
|
+
* credentials, i.e. nobody has attempted authentication yet. This is NOT the
|
|
236
|
+
* same as `isAuthenticated: false`, which means the auth actually broke: a
|
|
237
|
+
* store whose auth later expires comes back with `authPending: false`. The UI
|
|
238
|
+
* must only ever read this flag, never re-derive it from
|
|
239
|
+
* `isStore`/`parentConnectorId`. */
|
|
240
|
+
authPending?: boolean;
|
|
241
|
+
}
|
|
242
|
+
export interface IEnableConnectorParam {
|
|
243
|
+
roles: string[];
|
|
244
|
+
inboxes: {
|
|
245
|
+
email: string[];
|
|
246
|
+
chat: string[];
|
|
247
|
+
};
|
|
248
|
+
fields: IField[];
|
|
249
|
+
}
|
|
250
|
+
export interface EnableCardRequestBody {
|
|
251
|
+
title: string;
|
|
252
|
+
key: string;
|
|
253
|
+
custom_card_key: string;
|
|
254
|
+
}
|
|
255
|
+
export interface UpdateConnectorRequestBody {
|
|
256
|
+
inboxes: {
|
|
257
|
+
email: string[];
|
|
258
|
+
chat: string[];
|
|
259
|
+
};
|
|
260
|
+
roles: string[];
|
|
261
|
+
}
|
|
262
|
+
export interface ILookupConfig {
|
|
263
|
+
connectorId: string;
|
|
264
|
+
hiverParam: string;
|
|
265
|
+
}
|
|
266
|
+
export interface ILookupPreset {
|
|
267
|
+
hiverParam: string;
|
|
268
|
+
label: string;
|
|
269
|
+
objectParamLabel: string;
|
|
270
|
+
}
|
|
271
|
+
export interface ILookupBulkEntry {
|
|
272
|
+
connectorId: string;
|
|
273
|
+
hiverParam: string;
|
|
274
|
+
}
|
|
275
|
+
export type ConnectorAlertStatus = 'notAuthenticated' | 'upgrade' | 'deprecated';
|
|
276
|
+
export type ConnectorAppState = 'authenticated_enabled' | 'authenticated_disabled' | 'not_authenticated' | 'enabled_upgrade_available' | 'authentication_failed' | 'authentication_pending';
|
|
277
|
+
//# sourceMappingURL=connector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connector.d.ts","sourceRoot":"","sources":["../../../src/v2/types/connector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,6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
|
+
export interface IInboxData {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IRolesData {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ConnectorsAdminFunctions {
|
|
12
|
+
getInboxDetails: () => Promise<{
|
|
13
|
+
chatInboxes: IInboxData[];
|
|
14
|
+
emailInboxes: IInboxData[];
|
|
15
|
+
} | {
|
|
16
|
+
chatInboxes: null;
|
|
17
|
+
emailInboxes: null;
|
|
18
|
+
}>;
|
|
19
|
+
getRoles: () => Promise<{
|
|
20
|
+
roles: IRolesData[] | null;
|
|
21
|
+
}>;
|
|
22
|
+
redirectToUpgradePage?: () => void;
|
|
23
|
+
/**
|
|
24
|
+
* Opens the host's Apps Activation assistant for a connector.
|
|
25
|
+
*
|
|
26
|
+
* Optional for the same reason as `redirectToUpgradePage`: a host that has
|
|
27
|
+
* not shipped the assistant simply does not pass it, and the action that
|
|
28
|
+
* calls it stays hidden rather than rendering a dead control.
|
|
29
|
+
*/
|
|
30
|
+
openCopilot?: (params: {
|
|
31
|
+
app: string;
|
|
32
|
+
connectorId: string;
|
|
33
|
+
}) => void;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=exposedTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exposedTypes.d.ts","sourceRoot":"","sources":["../../../src/v2/types/exposedTypes.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,wBAAwB;IACvC,eAAe,EAAE,MAAM,OAAO,CAC5B;QAAE,WAAW,EAAE,UAAU,EAAE,CAAC;QAAC,YAAY,EAAE,UAAU,EAAE,CAAA;KAAE,GAAG;QAAE,WAAW,EAAE,IAAI,CAAC;QAAC,YAAY,EAAE,IAAI,CAAA;KAAE,CACtG,CAAC;IACF,QAAQ,EAAE,MAAM,OAAO,CAAC;QAAE,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;IACxD,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CACtE"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { OutlinedInputProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
import { Props as SelectProps } from 'react-select';
|
|
4
|
+
import { InterfaceDetails, FieldList } from '@connector/ui';
|
|
5
|
+
export interface BaseFormFieldProps {
|
|
6
|
+
helperText?: string;
|
|
7
|
+
error?: boolean;
|
|
8
|
+
name: string;
|
|
9
|
+
toolTipTitle?: string;
|
|
10
|
+
isRequired?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface TextFieldBaseProps extends BaseFormFieldProps {
|
|
13
|
+
type: 'text' | 'number' | 'password';
|
|
14
|
+
label?: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export interface TextFieldProps extends TextFieldBaseProps, Omit<OutlinedInputProps, 'label' | 'name' | 'type'> {
|
|
17
|
+
}
|
|
18
|
+
export interface SelectFieldProps extends BaseFormFieldProps, Omit<SelectProps, 'name'> {
|
|
19
|
+
type: 'select';
|
|
20
|
+
label?: string;
|
|
21
|
+
}
|
|
22
|
+
export type FormFieldProps = TextFieldProps | SelectFieldProps;
|
|
23
|
+
export interface IFormConfig {
|
|
24
|
+
id: string | number;
|
|
25
|
+
title?: string;
|
|
26
|
+
formFields: FormFieldProps[];
|
|
27
|
+
}
|
|
28
|
+
export interface IValidateConfig {
|
|
29
|
+
id?: string;
|
|
30
|
+
name: string;
|
|
31
|
+
label?: React.ReactNode | string;
|
|
32
|
+
}
|
|
33
|
+
export interface ElementValidation {
|
|
34
|
+
isRequired?: boolean;
|
|
35
|
+
validate?: (values: unknown, appConfigs: IValidateConfig) => boolean | string;
|
|
36
|
+
}
|
|
37
|
+
export interface FormValidation {
|
|
38
|
+
[x: string]: ElementValidation;
|
|
39
|
+
}
|
|
40
|
+
export type ConnectorFormType = 'create' | 'link' | 'edit' | 'search_and_link';
|
|
41
|
+
export type ConnectorForm = {
|
|
42
|
+
id: string;
|
|
43
|
+
name: string;
|
|
44
|
+
logoUrl: string;
|
|
45
|
+
interfaceDetails?: InterfaceDetails;
|
|
46
|
+
hasCustomFields?: boolean;
|
|
47
|
+
customFieldsArgs?: Record<string, unknown>;
|
|
48
|
+
type: ConnectorFormType;
|
|
49
|
+
connectorId: string;
|
|
50
|
+
cardId: string;
|
|
51
|
+
authenticated?: boolean;
|
|
52
|
+
connectorName?: string;
|
|
53
|
+
fieldList: FieldList[];
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/v2/types/form.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEjE,MAAM,WAAW,kBAAkB;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC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MAAM,GAAG,iBAAiB,CAAC;AAE/E,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3C,IAAI,EAAE,iBAAiB,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,SAAS,EAAE,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../src/v2/types/json.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAC7D,MAAM,MAAM,UAAU,GAAG;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;AACpD,MAAM,MAAM,SAAS,GAAG,SAAS,EAAE,CAAC;AACpC,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/v2/types/sidebar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAE3C,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,EAAE,CAAC;CACX;AAED,MAAM,MAAM,WAAW,GAAG,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export type FieldAccessMode = 'read_write' | 'read' | 'write';
|
|
2
|
+
export interface IVisibilityModal {
|
|
3
|
+
emailSMs?: string[];
|
|
4
|
+
roles?: string[];
|
|
5
|
+
fields?: IField[];
|
|
6
|
+
id: string;
|
|
7
|
+
handleClose: () => void;
|
|
8
|
+
currentConnectorId: string;
|
|
9
|
+
setShowEnabledModal: (T: boolean) => void;
|
|
10
|
+
title: string;
|
|
11
|
+
setVisitedFieldVisTab: (value: React.SetStateAction<boolean>) => void;
|
|
12
|
+
}
|
|
13
|
+
export interface ICardVisibilityModal {
|
|
14
|
+
emailSMs?: string[];
|
|
15
|
+
roles?: string[];
|
|
16
|
+
id: string;
|
|
17
|
+
currentConnectorId: string;
|
|
18
|
+
title: string;
|
|
19
|
+
handleClose: () => void;
|
|
20
|
+
setShowEnabledModal: (T: boolean) => void;
|
|
21
|
+
}
|
|
22
|
+
export interface IFieldVisibilityModal {
|
|
23
|
+
id: string;
|
|
24
|
+
currentConnectorId: string;
|
|
25
|
+
title: string;
|
|
26
|
+
emailSMs?: string[];
|
|
27
|
+
roles?: string[];
|
|
28
|
+
fields?: IField[];
|
|
29
|
+
preSelectTab?: FieldTabType;
|
|
30
|
+
handleClose: () => void;
|
|
31
|
+
}
|
|
32
|
+
export type FieldTabType = 'standard' | 'custom';
|
|
33
|
+
export interface IOptions {
|
|
34
|
+
[T: string]: string;
|
|
35
|
+
}
|
|
36
|
+
export interface IField {
|
|
37
|
+
key: string;
|
|
38
|
+
label: string;
|
|
39
|
+
enabled: boolean;
|
|
40
|
+
priority: number;
|
|
41
|
+
isFieldNew: boolean;
|
|
42
|
+
isFieldCustom: boolean;
|
|
43
|
+
fieldAccessMode?: FieldAccessMode | null;
|
|
44
|
+
isWriteRequired: boolean;
|
|
45
|
+
isReadonly: boolean;
|
|
46
|
+
/** Parent container id. The backend's saved-selection identity is `(key, parent_id)`, so echo it
|
|
47
|
+
* back unchanged on save — dropping it collapses same-named fields from different parents. */
|
|
48
|
+
parentId?: string;
|
|
49
|
+
/** Parent container display name. camelCase on both read surfaces; absent for single-parent connectors. */
|
|
50
|
+
parentLabel?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface IDDMapping {
|
|
53
|
+
type: string;
|
|
54
|
+
options: IOptions[];
|
|
55
|
+
label: string;
|
|
56
|
+
isSingleSelect: boolean;
|
|
57
|
+
}
|
|
58
|
+
export interface ITabsMap {
|
|
59
|
+
[T: string]: {
|
|
60
|
+
ID: number;
|
|
61
|
+
LABEL: string;
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=visibility.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visibility.d.ts","sourceRoot":"","sources":["../../../src/v2/types/visibility.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,YAAY,GAAG,MAAM,GAAG,OAAO,CAAC;AAC9D,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;CACvE;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,MA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AAC;QACX,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-event-metadata.test.d.ts","sourceRoot":"","sources":["../../../../src/v2/utils/__tests__/app-event-metadata.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-app-state.test.d.ts","sourceRoot":"","sources":["../../../../src/v2/utils/__tests__/get-app-state.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-pit-connector-stats.test.d.ts","sourceRoot":"","sources":["../../../../src/v2/utils/__tests__/get-pit-connector-stats.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-event-metadata.d.ts","sourceRoot":"","sources":["../../../src/v2/utils/app-event-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,sBAAsB;IACrC,oFAAoF;IACpF,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,4DAA4D;IAC5D,GAAG,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAC/B,iFAAiF;IACjF,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,kFAAkF;IAClF,YAAY,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC;CACzC;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;AAEzE,eAAO,MAAM,qBAAqB,mDAM/B,sBAAsB,KAAG,gBAuB3B,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { FormFieldProps, IFormConfig } from '@connector/ui';
|
|
2
|
+
import { NativeIntegrations, IAvailableFtr } from '../types/app';
|
|
3
|
+
import { ConnectorAppState, IConnectorDetails } from '../types/connector';
|
|
4
|
+
type LoggerType = 'log' | 'warn' | 'error' | 'info';
|
|
5
|
+
export declare function listToDict<T>(list: T[], idGen: (arg: T) => string): {
|
|
6
|
+
[k: string]: T;
|
|
7
|
+
};
|
|
8
|
+
export declare function getIdList<T>(list: T[], idGen: (arg: T) => string): string[];
|
|
9
|
+
export declare function getFlatFormFields<T extends string>(formConfig: IFormConfig[]): Partial<Record<T, FormFieldProps>>;
|
|
10
|
+
/**
|
|
11
|
+
* Function to check whether the specified feature(featureName) is availabe or not.
|
|
12
|
+
* @param {Object} availableFeatures
|
|
13
|
+
* @param {String} featureName
|
|
14
|
+
*/
|
|
15
|
+
export declare const isFeatureAvailable: (availableFeatures: IAvailableFtr | undefined, featureName: string) => boolean;
|
|
16
|
+
export declare const isUpgradeFlow: (availableFeatures: IAvailableFtr) => boolean;
|
|
17
|
+
export declare const showNewChips: (availableFeatures: IAvailableFtr) => boolean;
|
|
18
|
+
export declare const showConnectorsEnhancements: (availableFeatures: IAvailableFtr) => boolean;
|
|
19
|
+
export declare const openChatWindow: (email?: string, name?: string, referrer?: string) => void;
|
|
20
|
+
export declare const copyText: (copyText: string, callback?: (isFailed: boolean) => void) => Promise<void>;
|
|
21
|
+
export declare const checkIsAdminOrMailBoxAdmin: (userPermissions: string[]) => boolean;
|
|
22
|
+
export declare const checkIsAdmin: (userPermissions: string[]) => boolean;
|
|
23
|
+
export declare const getClassNames: (classObj: {
|
|
24
|
+
[key: string]: boolean;
|
|
25
|
+
}) => string;
|
|
26
|
+
export declare const mapToArray: <T>(count: number, callbackFn: (index: number) => T) => T[];
|
|
27
|
+
export declare const replacePlaceholders: (template: string, values: {
|
|
28
|
+
[key: string]: string | number;
|
|
29
|
+
}) => string;
|
|
30
|
+
export declare const isNativeIntegrationAvailable: (nativeIntegration: NativeIntegrations, availableFeatures: IAvailableFtr) => boolean;
|
|
31
|
+
export declare const getAppState: ({ connector, isTemplate }: {
|
|
32
|
+
connector?: IConnectorDetails;
|
|
33
|
+
isTemplate?: boolean;
|
|
34
|
+
}) => ConnectorAppState;
|
|
35
|
+
/**
|
|
36
|
+
* Creates a logger function that only logs when dev__logs is enabled in localStorage
|
|
37
|
+
* @param type - The type of console method to use ('log', 'warn', 'error', 'info')
|
|
38
|
+
* @param prefixStr - Optional prefix string to include in all log messages
|
|
39
|
+
* @returns A logging function that accepts multiple arguments
|
|
40
|
+
*/
|
|
41
|
+
export declare const createDevLogger: (type: LoggerType, prefixStr?: string) => (...args: (string | number | object)[]) => void;
|
|
42
|
+
export declare const devLogger: {
|
|
43
|
+
log: (...args: (string | number | object)[]) => void;
|
|
44
|
+
warn: (...args: (string | number | object)[]) => void;
|
|
45
|
+
error: (...args: (string | number | object)[]) => void;
|
|
46
|
+
info: (...args: (string | number | object)[]) => void;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Fetches the Point in time (PIT) connector stats
|
|
50
|
+
* @param connectorsObj
|
|
51
|
+
* @returns Point in time (PIT) connector stats
|
|
52
|
+
*/
|
|
53
|
+
export declare const getPITConnectorStats: (connectorsObj: Record<string, IConnectorDetails>) => {
|
|
54
|
+
total_authenticated_apps: number;
|
|
55
|
+
total_enabled_apps: number;
|
|
56
|
+
total_apps_activated: number;
|
|
57
|
+
total_apps_setup: number;
|
|
58
|
+
apps_list: string;
|
|
59
|
+
apps_auth_status: Record<string, boolean>;
|
|
60
|
+
apps_enabled_status: Record<string, boolean>;
|
|
61
|
+
first_app_created_at: string;
|
|
62
|
+
};
|
|
63
|
+
export {};
|
|
64
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v2/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAU5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face LocalStorageData {
|
|
10
|
+
[version: string]: VersionData;
|
|
11
|
+
}
|
|
12
|
+
export declare const getCurrentData: () => LocalStorageData;
|
|
13
|
+
export declare const getCurrentVersion: () => string | undefined;
|
|
14
|
+
export declare const getCurrentVersionData: (version: string) => VersionData;
|
|
15
|
+
export declare const setLSCurrentVersion: (version: string) => void;
|
|
16
|
+
export declare const setLSFieldVisibility: (cardId: string, userId: string) => void;
|
|
17
|
+
export declare const hasVisitedFieldVisibility: (cardId: string, userId: string) => boolean;
|
|
18
|
+
export declare const setLSCard: (cardId: string, userId: string) => void;
|
|
19
|
+
export declare const hasConfiguredVisibility: (cardId: string, userId: string) => boolean;
|
|
20
|
+
export declare const setLSSidePanel: (userId: string) => void;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=localstorage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localstorage.d.ts","sourceRoot":"","sources":["../../../src/v2/utils/localstorage.ts"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACnB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAChC,eAAe,EAAE;QACf,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;KACjC,CAAC;CACH;AAED,UAAU,gBAAgB;IACxB,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC;CAChC;AAaD,eAAO,MAAM,cAAc,QAAO,gBAMjC,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,MAAM,GAAG,SAG7C,CAAC;AAEF,eAAO,MAAM,qBAAqB,YAAa,MAAM,KAAG,WAEvD,CAAC;AAEF,eAAO,MAAM,mBAAmB,YAAa,MAAM,KAAG,IASrD,CAAC;AAEF,eAAO,MAAM,oBAAoB,WAAY,MAAM,UAAU,MAAM,KAAG,IAyBrE,CAAC;AAEF,eAAO,MAAM,yBAAyB,WAAY,MAAM,UAAU,MAAM,KAAG,OAM1E,CAAC;AAEF,eAAO,MAAM,SAAS,WAAY,MAAM,UAAU,MAAM,SAuBvD,CAAC;AAEF,eAAO,MAAM,uBAAuB,WAAY,MAAM,UAAU,MAAM,YAMrE,CAAC;AAEF,eAAO,MAAM,cAAc,WAAY,MAAM,SAmB5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type-guards.d.ts","sourceRoot":"","sources":["../../../src/v2/utils/type-guards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,wBAAgB,OAAO,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,GAAG,IAAI,OAAO,CAAC,CAAC,CAAC,CAElG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppDetailSkeleton.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/AppDetailSkeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAK3B;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,EAAE,EA6C/B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Configuration.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/Configuration.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAiBvC,OAAO,KAAK,EAAE,aAAa,EAAmB,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAGpF,UAAU,kBAAkB;IAC1B,MAAM,EAAE,mBAAmB,CAAC;IAC5B,UAAU,EAAE,aAAa,CAAC;CAC3B;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAgKhD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EnabledToggle.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/EnabledToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,EAAE,EAAc,MAAM,OAAO,CAAC;AAkBpD,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB;;0CAEsC;IACtC,eAAe,EAAE,OAAO,CAAC;IACzB,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAsDhD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Overview.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/Overview.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAQ3B,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIpE,UAAU,aAAa;IACrB,cAAc,CAAC,EAAE,YAAY,EAAE,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+EAA+E;IAC/E,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAkEtC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAgD,MAAM,OAAO,CAAC;AAsBzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAqC9C,UAAU,kBAAkB;IAC1B;;;;;;;;OAQG;IACH,IAAI,EAAE,aAAa,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAgGhD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/registry.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAEpE,CAAC;AAEF,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,iBAAiB,GAAG,IAClC,CAAC;AAEhD,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,OAAkD,CAAC"}
|