@hiver/connector-admin 4.21.2 → 4.22.0-ghlSubAccountMapping-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/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/app-detail/AppDetailSkeleton.d.ts.map +1 -0
- package/app/connectors/pages/app-detail/Configuration.d.ts.map +1 -0
- package/{v2/app → app}/connectors/pages/app-detail/EnabledToggle.d.ts +1 -1
- package/app/connectors/pages/app-detail/EnabledToggle.d.ts.map +1 -0
- package/app/connectors/pages/app-detail/Overview.d.ts.map +1 -0
- package/app/connectors/pages/app-detail/index.d.ts.map +1 -0
- package/{v2/app → app}/connectors/pages/app-detail/registry.d.ts +1 -1
- package/app/connectors/pages/app-detail/registry.d.ts.map +1 -0
- package/app/connectors/pages/app-detail/schema.d.ts.map +1 -0
- package/app/connectors/pages/app-detail/style.d.ts.map +1 -0
- package/app/connectors/pages/auth-success/styles.d.ts.map +1 -1
- package/app/connectors/pages/connector-dashboard/index.d.ts.map +1 -0
- package/app/connectors/pages/connector-dashboard/style.d.ts.map +1 -0
- package/app/connectors/pages/initial-setup/components/connector-visibility.d.ts.map +1 -0
- package/app/connectors/pages/initial-setup/index.d.ts.map +1 -0
- package/app/connectors/pages/native-integration/index.d.ts.map +1 -0
- package/app/connectors/pages/settings/auth/components/upgrade-guide/index.d.ts.map +1 -0
- package/app/connectors/pages/settings/auth/components/upgrade-guide/styles.d.ts.map +1 -0
- package/app/connectors/pages/settings/auth/index.d.ts.map +1 -0
- package/app/connectors/pages/settings/auth/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/settings/visibility/index.d.ts.map +1 -0
- 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 +0 -1
- package/app/style.d.ts.map +1 -1
- package/bootstrap.d.ts +2 -3
- package/bootstrap.d.ts.map +1 -1
- package/components/ui/auto-complete/dropdownOmni.d.ts.map +1 -0
- package/components/ui/auto-complete/index.d.ts +5 -1
- 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/styles.d.ts.map +1 -1
- package/components/ui/connector-alert/index.d.ts.map +1 -0
- package/components/ui/connector-item/index.d.ts.map +1 -0
- package/components/ui/connector-item/styles.d.ts.map +1 -0
- package/components/ui/connector-item-skeleton/index.d.ts.map +1 -0
- package/components/ui/connector-item-skeleton/styles.d.ts.map +1 -0
- package/components/ui/custom-tooltip/index.d.ts.map +1 -0
- package/components/ui/loader-button/index.d.ts.map +1 -0
- package/components/ui/loader-switch/index.d.ts.map +1 -0
- package/components/ui/loader-switch/style.d.ts.map +1 -0
- package/components/ui/modal/index.d.ts +7 -0
- package/components/ui/modal/index.d.ts.map +1 -1
- package/components/ui/status-chip/index.d.ts.map +1 -0
- package/components/ui/status-chip/styles.d.ts.map +1 -0
- package/components/ui/status-chip/types.d.ts.map +1 -0
- package/components/ui/styled-ui-components.d.ts +3 -1
- package/components/ui/styled-ui-components.d.ts.map +1 -1
- package/constants/api.d.ts +1 -0
- package/constants/api.d.ts.map +1 -1
- package/constants/app-constants.d.ts +11 -0
- 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 +34 -0
- package/constants/gainsight.d.ts.map +1 -1
- package/constants/global-constants.d.ts +30 -0
- package/constants/global-constants.d.ts.map +1 -1
- package/constants/initial-setup.d.ts.map +1 -0
- 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/roles.d.ts.map +1 -0
- package/constants/router-paths.d.ts +5 -3
- package/constants/router-paths.d.ts.map +1 -1
- package/constants/sidebar.d.ts +1 -9
- package/constants/sidebar.d.ts.map +1 -1
- package/context/index.d.ts +8 -6
- 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/add-new-store/components/add-new-store-button/index.d.ts.map +1 -0
- package/features/add-new-store/components/add-new-store-modal/index.d.ts.map +1 -0
- package/features/add-new-store/constants/index.d.ts.map +1 -0
- package/features/add-new-store/utils/index.d.ts.map +1 -0
- package/features/advanced-features/api/advanceFeatureMutation.d.ts.map +1 -0
- package/features/advanced-features/api/feedback.d.ts.map +1 -0
- package/features/advanced-features/api/userAuthEnabledMutation.d.ts.map +1 -0
- package/features/advanced-features/components/confirm-modal/index.d.ts.map +1 -0
- package/features/advanced-features/components/feature-item/index.d.ts.map +1 -0
- package/features/advanced-features/components/feature-list/index.d.ts.map +1 -0
- package/features/advanced-features/components/feedback-form/index.d.ts.map +1 -0
- package/features/advanced-features/constants/api.d.ts.map +1 -0
- package/features/advanced-features/constants/index.d.ts.map +1 -0
- package/features/advanced-features/types/index.d.ts.map +1 -0
- package/features/advanced-features/utils/index.d.ts.map +1 -0
- 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 +3 -1
- package/features/auth/api/authDetailsMutation.d.ts.map +1 -1
- package/features/auth/api/authSuccessQuery.d.ts +15 -2
- package/features/auth/api/authSuccessQuery.d.ts.map +1 -1
- package/features/auth/api/index.d.ts +15 -0
- 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 +2 -1
- package/features/auth/components/auth-form/index.d.ts.map +1 -1
- package/features/auth/constants/api.d.ts +2 -0
- package/features/auth/constants/api.d.ts.map +1 -1
- package/features/auth/constants/form-config.d.ts +23 -1
- package/features/auth/constants/form-config.d.ts.map +1 -1
- package/features/auth/constants/index.d.ts +8 -5
- 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 +39 -3
- package/features/auth/types/request.d.ts.map +1 -1
- package/features/auth/utils/helpers.d.ts.map +1 -0
- package/features/auth/utils/index.d.ts +4 -4
- package/features/auth/utils/index.d.ts.map +1 -1
- package/{v2/features → features}/auth/utils/oauthPopup.d.ts +2 -2
- package/features/auth/utils/oauthPopup.d.ts.map +1 -0
- package/features/connector-library/api/fetchDefaults.d.ts.map +1 -0
- package/features/connector-library/api/fetchDefaultsById.d.ts.map +1 -0
- package/features/connector-library/api/fetchForm.d.ts.map +1 -0
- package/features/connector-library/api/fetchFormById.d.ts.map +1 -0
- package/{v2/features → features}/connector-library/api/fetchOptions.d.ts +1 -1
- package/features/connector-library/api/fetchOptions.d.ts.map +1 -0
- package/features/connector-library/api/index.d.ts +35 -1
- package/features/connector-library/api/index.d.ts.map +1 -1
- package/features/connector-library/api/putDefaults.d.ts.map +1 -0
- package/features/connector-library/api/putDefaultsById.d.ts.map +1 -0
- package/features/connector-library/components/connector-info-card/index.d.ts +4 -3
- 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 +4 -3
- package/features/connector-library/components/connector-info-card-list/index.d.ts.map +1 -1
- package/features/connector-library/components/connector-info-card-list/styles.d.ts.map +1 -0
- 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/index.d.ts.map +1 -1
- package/features/connector-library/components/custom-connector-enabled-modal/index.d.ts +1 -0
- 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 +1 -2
- 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/customer-identity-mapping/index.d.ts.map +1 -0
- package/features/connector-library/components/map-form-defaults/automation.d.ts.map +1 -0
- package/features/connector-library/components/map-form-defaults/index.d.ts.map +1 -0
- package/features/connector-library/components/sub-account-mapping/index.d.ts +15 -0
- package/features/connector-library/components/sub-account-mapping/index.d.ts.map +1 -0
- package/features/connector-library/components/sub-account-mapping/mapping-modal.d.ts +15 -0
- package/features/connector-library/components/sub-account-mapping/mapping-modal.d.ts.map +1 -0
- package/features/connector-library/components/sub-account-mapping/styles.d.ts +154 -0
- package/features/connector-library/components/sub-account-mapping/styles.d.ts.map +1 -0
- package/features/connector-library/components/visibility-modal/card-visibility/form.d.ts.map +1 -0
- package/features/connector-library/components/visibility-modal/card-visibility/index.d.ts +3 -9
- package/features/connector-library/components/visibility-modal/card-visibility/index.d.ts.map +1 -1
- package/features/connector-library/components/visibility-modal/field-visibility/configure-fields/field-tabs.d.ts.map +1 -0
- package/features/connector-library/components/visibility-modal/field-visibility/configure-fields/fields-table.d.ts.map +1 -0
- package/features/connector-library/components/visibility-modal/field-visibility/configure-fields/index.d.ts.map +1 -0
- package/features/connector-library/components/visibility-modal/field-visibility/configure-fields/sortable-field.d.ts.map +1 -0
- package/features/connector-library/components/visibility-modal/field-visibility/configure-fields/styles.d.ts.map +1 -0
- package/features/connector-library/components/visibility-modal/field-visibility/form.d.ts.map +1 -0
- package/features/connector-library/components/visibility-modal/field-visibility/index.d.ts +3 -8
- 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 +17 -0
- package/features/connector-library/constants/api.d.ts.map +1 -1
- package/features/connector-library/constants/configure-field.d.ts.map +1 -0
- package/features/connector-library/constants/index.d.ts +30 -3
- package/features/connector-library/constants/index.d.ts.map +1 -1
- package/features/connector-library/store/initial-state.d.ts +7 -4
- package/features/connector-library/store/initial-state.d.ts.map +1 -1
- package/features/connector-library/store/selectors.d.ts +8 -4
- package/features/connector-library/store/selectors.d.ts.map +1 -1
- package/features/connector-library/store/slice.d.ts +61 -23
- package/features/connector-library/store/slice.d.ts.map +1 -1
- package/features/connector-library/utils/index.d.ts +25 -0
- package/features/connector-library/utils/index.d.ts.map +1 -1
- package/features/connector-preview/components/connector-preview/index.d.ts +5 -2
- 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/native-integrations/components/inbox-selector/index.d.ts.map +1 -0
- package/features/native-integrations/components/native-connectors-list/index.d.ts.map +1 -0
- package/features/request-new-connector/components/request-new-modal/index.d.ts +2 -1
- 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 +1 -2
- package/features/request-new-connector/components/request-new-modal/styles.d.ts.map +1 -1
- package/features/request-new-connector/constants/index.d.ts +2 -4
- package/features/request-new-connector/constants/index.d.ts.map +1 -1
- package/features/request-new-connector/hooks/useRequestOptions.d.ts.map +1 -0
- package/features/slack/api/configs.d.ts.map +1 -0
- package/features/slack/api/index.d.ts.map +1 -0
- package/features/slack/components/ConfigBlockIcons.d.ts.map +1 -0
- package/features/slack/components/DefaultMessageEditor/constants.d.ts.map +1 -0
- package/features/slack/components/DefaultMessageEditor/index.d.ts.map +1 -0
- package/features/slack/components/DefaultMessageEditor/serialize.d.ts.map +1 -0
- package/features/slack/components/DefaultMessageEditor/styles.d.ts.map +1 -0
- package/features/slack/components/SlackLogo.d.ts.map +1 -0
- package/features/slack/constants/api.d.ts.map +1 -0
- package/features/slack/controller.d.ts.map +1 -0
- package/features/slack/types/wire.d.ts.map +1 -0
- package/features/template-library/components/library-card-list/index.d.ts +5 -1
- 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 +0 -1
- package/features/template-library/components/library-card-list/styles.d.ts.map +1 -1
- package/features/template-library/constants/content-page.d.ts +0 -1
- package/features/template-library/constants/content-page.d.ts.map +1 -1
- package/features/template-library/store/selectors.d.ts +1 -0
- 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/constants/toast.d.ts +4 -2
- package/features/toast-message/constants/toast.d.ts.map +1 -1
- package/hooks/use-app-event.d.ts.map +1 -0
- package/index.d.ts +2 -2
- package/index.d.ts.map +1 -1
- package/index.es.js +29818 -34137
- package/index.umd.js +1288 -3086
- package/mainUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/store/hooks.d.ts +2 -2
- package/store/inboxes/initial-state.d.ts.map +1 -0
- package/{v2/store → store}/inboxes/selectors.d.ts +2 -2
- package/store/inboxes/selectors.d.ts.map +1 -0
- package/store/inboxes/slice.d.ts.map +1 -0
- package/store/index.d.ts +4 -4
- package/store/index.d.ts.map +1 -1
- package/style.css +1 -1
- package/testing/mocks/handlers/advancedFeatures.d.ts.map +1 -0
- package/testing/mocks/handlers/auth.d.ts.map +1 -1
- package/testing/mocks/handlers/connector-template.d.ts +16 -9
- package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
- package/testing/mocks/handlers/form.d.ts.map +1 -0
- package/testing/mocks/handlers/slack.d.ts.map +1 -0
- package/{v2/testing/mocks/handlers.d.ts → testing/mocks/handlers/sub-account-mapping.d.ts} +1 -1
- package/testing/mocks/handlers/sub-account-mapping.d.ts.map +1 -0
- package/testing/mocks/handlers/v2Api.d.ts.map +1 -1
- package/testing/mocks/handlers.d.ts.map +1 -1
- package/testing/setup-store.d.ts +2 -2
- package/theme/connector-admin-theme-provider.d.ts.map +1 -0
- package/theme/connector-admin-theme.d.ts.map +1 -0
- package/{theme.d.ts → theme/index.d.ts} +1 -1
- package/theme/index.d.ts.map +1 -0
- package/types/api.d.ts +1 -1
- package/types/api.d.ts.map +1 -1
- package/{v2/types → types}/app.d.ts +5 -1
- package/types/app.d.ts.map +1 -0
- package/types/connector.d.ts +179 -3
- package/types/connector.d.ts.map +1 -1
- package/types/exposedTypes.d.ts +1 -0
- package/types/exposedTypes.d.ts.map +1 -1
- package/types/form.d.ts +16 -0
- package/types/form.d.ts.map +1 -1
- package/types/visibility.d.ts +29 -0
- package/types/visibility.d.ts.map +1 -1
- package/utils/app-event-metadata.d.ts.map +1 -0
- package/utils/index.d.ts +37 -1
- package/utils/index.d.ts.map +1 -1
- package/app/connectors/pages/api-view/__tests__/connector-config.test.d.ts +0 -2
- package/app/connectors/pages/api-view/__tests__/connector-config.test.d.ts.map +0 -1
- package/app/connectors/pages/connector-view/agent/index.d.ts +0 -2
- package/app/connectors/pages/connector-view/agent/index.d.ts.map +0 -1
- package/app/connectors/pages/connector-view/agent/styles.d.ts +0 -4
- package/app/connectors/pages/connector-view/agent/styles.d.ts.map +0 -1
- package/app/connectors/pages/connector-view/dashboard/__tests__/dashboard.test.d.ts +0 -2
- package/app/connectors/pages/connector-view/dashboard/__tests__/dashboard.test.d.ts.map +0 -1
- package/app/connectors/pages/connector-view/dashboard/index.d.ts +0 -3
- package/app/connectors/pages/connector-view/dashboard/index.d.ts.map +0 -1
- package/app/connectors/pages/connector-view/dashboard/styles.d.ts +0 -9
- package/app/connectors/pages/connector-view/dashboard/styles.d.ts.map +0 -1
- package/app/connectors/pages/connector-view/index.d.ts +0 -3
- package/app/connectors/pages/connector-view/index.d.ts.map +0 -1
- package/app/connectors/pages/connector-view/style.d.ts +0 -5
- package/app/connectors/pages/connector-view/style.d.ts.map +0 -1
- package/app/connectors/pages/settings/components/upgrade-guide/index.d.ts.map +0 -1
- package/app/connectors/pages/settings/components/upgrade-guide/styles.d.ts.map +0 -1
- package/components/layouts/__tests__/sidebar.test.d.ts +0 -2
- package/components/layouts/__tests__/sidebar.test.d.ts.map +0 -1
- package/components/layouts/sidebar/index.d.ts +0 -7
- package/components/layouts/sidebar/index.d.ts.map +0 -1
- package/components/layouts/sidebar/styles.d.ts +0 -7
- package/components/layouts/sidebar/styles.d.ts.map +0 -1
- package/components/ui/bread-crumbs/__tests__/bread-crumb.test.d.ts +0 -2
- package/components/ui/bread-crumbs/__tests__/bread-crumb.test.d.ts.map +0 -1
- package/components/ui/modal/__tests__/modal.test.d.ts +0 -2
- package/components/ui/modal/__tests__/modal.test.d.ts.map +0 -1
- package/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts +0 -2
- package/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts.map +0 -1
- package/features/connector-library/components/singleton-popover-tooltip/index.d.ts +0 -7
- package/features/connector-library/components/singleton-popover-tooltip/index.d.ts.map +0 -1
- package/features/connector-library/components/singleton-popover-tooltip/popover-title.d.ts +0 -2
- package/features/connector-library/components/singleton-popover-tooltip/popover-title.d.ts.map +0 -1
- package/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.d.ts +0 -7
- package/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.d.ts.map +0 -1
- package/features/connector-library/components/singleton-popover-tooltip/styles.d.ts +0 -6
- package/features/connector-library/components/singleton-popover-tooltip/styles.d.ts.map +0 -1
- package/features/request-new-connector/components/request-new-card/index.d.ts +0 -7
- package/features/request-new-connector/components/request-new-card/index.d.ts.map +0 -1
- package/features/request-new-connector/components/request-new-card/styles.d.ts +0 -11
- package/features/request-new-connector/components/request-new-card/styles.d.ts.map +0 -1
- package/features/request-new-connector/components/request-new-modal/__tests__/request-new-modal.test.d.ts +0 -2
- package/features/request-new-connector/components/request-new-modal/__tests__/request-new-modal.test.d.ts.map +0 -1
- package/features/template-library/components/library-card-list/__tests__/library-card-list.test.d.ts +0 -2
- package/features/template-library/components/library-card-list/__tests__/library-card-list.test.d.ts.map +0 -1
- package/features/toast-message/__tests__/toastMessage.test.d.ts +0 -2
- package/features/toast-message/__tests__/toastMessage.test.d.ts.map +0 -1
- package/store/counter/initial-state.d.ts +0 -6
- package/store/counter/initial-state.d.ts.map +0 -1
- package/store/counter/selectors.d.ts +0 -4
- package/store/counter/selectors.d.ts.map +0 -1
- package/store/counter/slice.d.ts +0 -23
- package/store/counter/slice.d.ts.map +0 -1
- package/theme.d.ts.map +0 -1
- package/types/router.d.ts +0 -31
- package/types/router.d.ts.map +0 -1
- package/v2/app/connectors/index.d.ts +0 -3
- package/v2/app/connectors/index.d.ts.map +0 -1
- package/v2/app/connectors/pages/api-view/__tests__/connector-config.test.d.ts +0 -2
- package/v2/app/connectors/pages/api-view/__tests__/connector-config.test.d.ts.map +0 -1
- package/v2/app/connectors/pages/api-view/index.d.ts +0 -2
- package/v2/app/connectors/pages/api-view/index.d.ts.map +0 -1
- package/v2/app/connectors/pages/api-view/style.d.ts +0 -5
- package/v2/app/connectors/pages/api-view/style.d.ts.map +0 -1
- package/v2/app/connectors/pages/app-detail/AppDetailSkeleton.d.ts.map +0 -1
- package/v2/app/connectors/pages/app-detail/Configuration.d.ts.map +0 -1
- package/v2/app/connectors/pages/app-detail/EnabledToggle.d.ts.map +0 -1
- package/v2/app/connectors/pages/app-detail/Overview.d.ts.map +0 -1
- package/v2/app/connectors/pages/app-detail/__tests__/configuration-actions.test.d.ts +0 -2
- package/v2/app/connectors/pages/app-detail/__tests__/configuration-actions.test.d.ts.map +0 -1
- package/v2/app/connectors/pages/app-detail/__tests__/header-and-default-tab.test.d.ts +0 -2
- package/v2/app/connectors/pages/app-detail/__tests__/header-and-default-tab.test.d.ts.map +0 -1
- package/v2/app/connectors/pages/app-detail/index.d.ts.map +0 -1
- package/v2/app/connectors/pages/app-detail/registry.d.ts.map +0 -1
- package/v2/app/connectors/pages/app-detail/schema.d.ts.map +0 -1
- package/v2/app/connectors/pages/app-detail/style.d.ts.map +0 -1
- package/v2/app/connectors/pages/auth-success/index.d.ts +0 -2
- package/v2/app/connectors/pages/auth-success/index.d.ts.map +0 -1
- package/v2/app/connectors/pages/auth-success/styles.d.ts +0 -4
- package/v2/app/connectors/pages/auth-success/styles.d.ts.map +0 -1
- package/v2/app/connectors/pages/connector-dashboard/index.d.ts.map +0 -1
- package/v2/app/connectors/pages/connector-dashboard/style.d.ts.map +0 -1
- package/v2/app/connectors/pages/initial-setup/components/connector-visibility.d.ts.map +0 -1
- package/v2/app/connectors/pages/initial-setup/index.d.ts.map +0 -1
- package/v2/app/connectors/pages/native-integration/index.d.ts.map +0 -1
- package/v2/app/connectors/pages/settings/auth/__tests__/auth-status-poll.test.d.ts +0 -2
- package/v2/app/connectors/pages/settings/auth/__tests__/auth-status-poll.test.d.ts.map +0 -1
- package/v2/app/connectors/pages/settings/auth/components/upgrade-guide/index.d.ts +0 -7
- package/v2/app/connectors/pages/settings/auth/components/upgrade-guide/index.d.ts.map +0 -1
- package/v2/app/connectors/pages/settings/auth/components/upgrade-guide/styles.d.ts +0 -8
- package/v2/app/connectors/pages/settings/auth/components/upgrade-guide/styles.d.ts.map +0 -1
- package/v2/app/connectors/pages/settings/auth/index.d.ts.map +0 -1
- package/v2/app/connectors/pages/settings/auth/styles.d.ts.map +0 -1
- package/v2/app/connectors/pages/settings/index.d.ts +0 -2
- package/v2/app/connectors/pages/settings/index.d.ts.map +0 -1
- package/v2/app/connectors/pages/settings/styles.d.ts +0 -5
- package/v2/app/connectors/pages/settings/styles.d.ts.map +0 -1
- package/v2/app/connectors/pages/settings/visibility/index.d.ts.map +0 -1
- package/v2/app/connectors/pages/upgrade-page/index.d.ts +0 -7
- package/v2/app/connectors/pages/upgrade-page/index.d.ts.map +0 -1
- package/v2/app/connectors/pages/upgrade-page/style.d.ts +0 -16
- package/v2/app/connectors/pages/upgrade-page/style.d.ts.map +0 -1
- package/v2/app/connectors/provider.d.ts +0 -4
- package/v2/app/connectors/provider.d.ts.map +0 -1
- package/v2/app/connectors/router.d.ts +0 -7
- package/v2/app/connectors/router.d.ts.map +0 -1
- package/v2/app/index.d.ts +0 -2
- package/v2/app/index.d.ts.map +0 -1
- package/v2/app/style.d.ts +0 -4
- package/v2/app/style.d.ts.map +0 -1
- package/v2/components/ui/auto-complete/dropdownOmni.d.ts.map +0 -1
- package/v2/components/ui/auto-complete/index.d.ts +0 -18
- package/v2/components/ui/auto-complete/index.d.ts.map +0 -1
- package/v2/components/ui/auto-complete/style.d.ts +0 -5
- package/v2/components/ui/auto-complete/style.d.ts.map +0 -1
- package/v2/components/ui/bread-crumbs/__tests__/bread-crumb.test.d.ts +0 -2
- package/v2/components/ui/bread-crumbs/__tests__/bread-crumb.test.d.ts.map +0 -1
- package/v2/components/ui/bread-crumbs/index.d.ts +0 -7
- package/v2/components/ui/bread-crumbs/index.d.ts.map +0 -1
- package/v2/components/ui/bread-crumbs/styles.d.ts +0 -6
- package/v2/components/ui/bread-crumbs/styles.d.ts.map +0 -1
- package/v2/components/ui/connector-alert/index.d.ts.map +0 -1
- package/v2/components/ui/connector-item/index.d.ts.map +0 -1
- package/v2/components/ui/connector-item/styles.d.ts.map +0 -1
- package/v2/components/ui/connector-item-skeleton/index.d.ts.map +0 -1
- package/v2/components/ui/connector-item-skeleton/styles.d.ts.map +0 -1
- package/v2/components/ui/custom-tooltip/index.d.ts.map +0 -1
- package/v2/components/ui/details/index.d.ts +0 -9
- package/v2/components/ui/details/index.d.ts.map +0 -1
- package/v2/components/ui/details/styles.d.ts +0 -11
- package/v2/components/ui/details/styles.d.ts.map +0 -1
- package/v2/components/ui/loader-button/index.d.ts.map +0 -1
- package/v2/components/ui/loader-switch/index.d.ts.map +0 -1
- package/v2/components/ui/loader-switch/style.d.ts.map +0 -1
- package/v2/components/ui/modal/__tests__/modal.test.d.ts +0 -2
- package/v2/components/ui/modal/__tests__/modal.test.d.ts.map +0 -1
- package/v2/components/ui/modal/index.d.ts +0 -20
- package/v2/components/ui/modal/index.d.ts.map +0 -1
- package/v2/components/ui/status-chip/index.d.ts.map +0 -1
- package/v2/components/ui/status-chip/styles.d.ts.map +0 -1
- package/v2/components/ui/status-chip/types.d.ts.map +0 -1
- package/v2/components/ui/styled-ui-components.d.ts +0 -8
- package/v2/components/ui/styled-ui-components.d.ts.map +0 -1
- package/v2/components/ui/text-field/index.d.ts +0 -3
- package/v2/components/ui/text-field/index.d.ts.map +0 -1
- package/v2/constants/api.d.ts +0 -15
- package/v2/constants/api.d.ts.map +0 -1
- package/v2/constants/app-constants.d.ts +0 -18
- package/v2/constants/app-constants.d.ts.map +0 -1
- package/v2/constants/bread-crumbs.d.ts +0 -3
- package/v2/constants/bread-crumbs.d.ts.map +0 -1
- package/v2/constants/gainsight.d.ts +0 -73
- package/v2/constants/gainsight.d.ts.map +0 -1
- package/v2/constants/global-constants.d.ts +0 -52
- package/v2/constants/global-constants.d.ts.map +0 -1
- package/v2/constants/initial-setup.d.ts.map +0 -1
- package/v2/constants/modal.d.ts +0 -4
- package/v2/constants/modal.d.ts.map +0 -1
- package/v2/constants/react-image-viewer.d.ts +0 -3
- package/v2/constants/react-image-viewer.d.ts.map +0 -1
- package/v2/constants/remote-assets.d.ts +0 -5
- package/v2/constants/remote-assets.d.ts.map +0 -1
- package/v2/constants/roles.d.ts.map +0 -1
- package/v2/constants/router-paths.d.ts +0 -12
- package/v2/constants/router-paths.d.ts.map +0 -1
- package/v2/constants/sidebar.d.ts +0 -2
- package/v2/constants/sidebar.d.ts.map +0 -1
- package/v2/context/index.d.ts +0 -43
- package/v2/context/index.d.ts.map +0 -1
- package/v2/context/main-app-provider/index.d.ts +0 -4
- package/v2/context/main-app-provider/index.d.ts.map +0 -1
- package/v2/context/react-query-client-provider/index.d.ts +0 -6
- package/v2/context/react-query-client-provider/index.d.ts.map +0 -1
- package/v2/features/add-new-store/components/add-new-store-button/__tests__/add-new-store-button.test.d.ts +0 -2
- package/v2/features/add-new-store/components/add-new-store-button/__tests__/add-new-store-button.test.d.ts.map +0 -1
- package/v2/features/add-new-store/components/add-new-store-button/index.d.ts.map +0 -1
- package/v2/features/add-new-store/components/add-new-store-modal/index.d.ts.map +0 -1
- package/v2/features/add-new-store/constants/index.d.ts.map +0 -1
- package/v2/features/add-new-store/utils/__tests__/store-error-message.test.d.ts +0 -2
- package/v2/features/add-new-store/utils/__tests__/store-error-message.test.d.ts.map +0 -1
- package/v2/features/add-new-store/utils/index.d.ts.map +0 -1
- package/v2/features/advanced-features/api/__tests__/userAuthEnabledMutation.test.d.ts +0 -2
- package/v2/features/advanced-features/api/__tests__/userAuthEnabledMutation.test.d.ts.map +0 -1
- package/v2/features/advanced-features/api/advanceFeatureMutation.d.ts.map +0 -1
- package/v2/features/advanced-features/api/feedback.d.ts.map +0 -1
- package/v2/features/advanced-features/api/userAuthEnabledMutation.d.ts.map +0 -1
- package/v2/features/advanced-features/components/confirm-modal/index.d.ts.map +0 -1
- package/v2/features/advanced-features/components/feature-item/index.d.ts.map +0 -1
- package/v2/features/advanced-features/components/feature-list/index.d.ts.map +0 -1
- package/v2/features/advanced-features/components/feedback-form/index.d.ts.map +0 -1
- package/v2/features/advanced-features/constants/api.d.ts.map +0 -1
- package/v2/features/advanced-features/constants/index.d.ts.map +0 -1
- package/v2/features/advanced-features/types/index.d.ts.map +0 -1
- package/v2/features/advanced-features/utils/index.d.ts.map +0 -1
- package/v2/features/agent/components/agent-landing/index.d.ts +0 -3
- package/v2/features/agent/components/agent-landing/index.d.ts.map +0 -1
- package/v2/features/agent/components/agent-landing/styles.d.ts +0 -8
- package/v2/features/agent/components/agent-landing/styles.d.ts.map +0 -1
- package/v2/features/agent/constants/index.d.ts +0 -6
- package/v2/features/agent/constants/index.d.ts.map +0 -1
- package/v2/features/api-library/components/api-library/index.d.ts +0 -11
- package/v2/features/api-library/components/api-library/index.d.ts.map +0 -1
- package/v2/features/api-library/components/api-library/styles.d.ts +0 -5
- package/v2/features/api-library/components/api-library/styles.d.ts.map +0 -1
- package/v2/features/api-library/components/api-library-skeleton/index.d.ts +0 -2
- package/v2/features/api-library/components/api-library-skeleton/index.d.ts.map +0 -1
- package/v2/features/api-library/components/api-library-skeleton/styles.d.ts +0 -9
- package/v2/features/api-library/components/api-library-skeleton/styles.d.ts.map +0 -1
- package/v2/features/api-library/constants/api-library.d.ts +0 -4
- package/v2/features/api-library/constants/api-library.d.ts.map +0 -1
- package/v2/features/auth/api/__tests__/authSuccessQuery.test.d.ts +0 -2
- package/v2/features/auth/api/__tests__/authSuccessQuery.test.d.ts.map +0 -1
- package/v2/features/auth/api/__tests__/create-store.test.d.ts +0 -2
- package/v2/features/auth/api/__tests__/create-store.test.d.ts.map +0 -1
- package/v2/features/auth/api/authDetailsMutation.d.ts +0 -27
- package/v2/features/auth/api/authDetailsMutation.d.ts.map +0 -1
- package/v2/features/auth/api/authSuccessQuery.d.ts +0 -22
- package/v2/features/auth/api/authSuccessQuery.d.ts.map +0 -1
- package/v2/features/auth/api/index.d.ts +0 -19
- package/v2/features/auth/api/index.d.ts.map +0 -1
- package/v2/features/auth/components/api-executor/index.d.ts +0 -10
- package/v2/features/auth/components/api-executor/index.d.ts.map +0 -1
- package/v2/features/auth/components/api-executor/styles.d.ts +0 -12
- package/v2/features/auth/components/api-executor/styles.d.ts.map +0 -1
- package/v2/features/auth/components/auth-form/__tests__/auth-form-alert.test.d.ts +0 -2
- package/v2/features/auth/components/auth-form/__tests__/auth-form-alert.test.d.ts.map +0 -1
- package/v2/features/auth/components/auth-form/index.d.ts +0 -16
- package/v2/features/auth/components/auth-form/index.d.ts.map +0 -1
- package/v2/features/auth/components/auth-form/reducer.d.ts +0 -11
- package/v2/features/auth/components/auth-form/reducer.d.ts.map +0 -1
- package/v2/features/auth/components/auth-form/styles.d.ts +0 -9
- package/v2/features/auth/components/auth-form/styles.d.ts.map +0 -1
- package/v2/features/auth/components/auth-form-skeleton/index.d.ts +0 -2
- package/v2/features/auth/components/auth-form-skeleton/index.d.ts.map +0 -1
- package/v2/features/auth/components/auth-header-skeleton/index.d.ts +0 -2
- package/v2/features/auth/components/auth-header-skeleton/index.d.ts.map +0 -1
- package/v2/features/auth/constants/api.d.ts +0 -8
- package/v2/features/auth/constants/api.d.ts.map +0 -1
- package/v2/features/auth/constants/form-config.d.ts +0 -138
- package/v2/features/auth/constants/form-config.d.ts.map +0 -1
- package/v2/features/auth/constants/index.d.ts +0 -30
- package/v2/features/auth/constants/index.d.ts.map +0 -1
- package/v2/features/auth/store/initial-state.d.ts +0 -13
- package/v2/features/auth/store/initial-state.d.ts.map +0 -1
- package/v2/features/auth/store/selectors.d.ts +0 -6
- package/v2/features/auth/store/selectors.d.ts.map +0 -1
- package/v2/features/auth/store/slice.d.ts +0 -43
- package/v2/features/auth/store/slice.d.ts.map +0 -1
- package/v2/features/auth/types/connector.d.ts +0 -2
- package/v2/features/auth/types/connector.d.ts.map +0 -1
- package/v2/features/auth/types/form.d.ts +0 -25
- package/v2/features/auth/types/form.d.ts.map +0 -1
- package/v2/features/auth/types/request.d.ts +0 -95
- package/v2/features/auth/types/request.d.ts.map +0 -1
- package/v2/features/auth/utils/__tests__/auth-request-body.test.d.ts +0 -2
- package/v2/features/auth/utils/__tests__/auth-request-body.test.d.ts.map +0 -1
- package/v2/features/auth/utils/__tests__/convert-template.test.d.ts +0 -2
- package/v2/features/auth/utils/__tests__/convert-template.test.d.ts.map +0 -1
- package/v2/features/auth/utils/__tests__/validate-url.test.d.ts +0 -2
- package/v2/features/auth/utils/__tests__/validate-url.test.d.ts.map +0 -1
- package/v2/features/auth/utils/helpers.d.ts.map +0 -1
- package/v2/features/auth/utils/index.d.ts +0 -33
- package/v2/features/auth/utils/index.d.ts.map +0 -1
- package/v2/features/auth/utils/oauthPopup.d.ts.map +0 -1
- package/v2/features/connector-library/api/__tests__/enable-connector-payload.test.d.ts +0 -2
- package/v2/features/connector-library/api/__tests__/enable-connector-payload.test.d.ts.map +0 -1
- package/v2/features/connector-library/api/fetchDefaults.d.ts.map +0 -1
- package/v2/features/connector-library/api/fetchDefaultsById.d.ts.map +0 -1
- package/v2/features/connector-library/api/fetchForm.d.ts.map +0 -1
- package/v2/features/connector-library/api/fetchFormById.d.ts.map +0 -1
- package/v2/features/connector-library/api/fetchOptions.d.ts.map +0 -1
- package/v2/features/connector-library/api/index.d.ts +0 -26
- package/v2/features/connector-library/api/index.d.ts.map +0 -1
- package/v2/features/connector-library/api/putDefaults.d.ts.map +0 -1
- package/v2/features/connector-library/api/putDefaultsById.d.ts.map +0 -1
- package/v2/features/connector-library/components/connector-info-card/index.d.ts +0 -10
- package/v2/features/connector-library/components/connector-info-card/index.d.ts.map +0 -1
- package/v2/features/connector-library/components/connector-info-card/styles.d.ts +0 -8
- package/v2/features/connector-library/components/connector-info-card/styles.d.ts.map +0 -1
- package/v2/features/connector-library/components/connector-info-card-list/index.d.ts +0 -10
- package/v2/features/connector-library/components/connector-info-card-list/index.d.ts.map +0 -1
- package/v2/features/connector-library/components/connector-info-card-list/styles.d.ts.map +0 -1
- package/v2/features/connector-library/components/connector-library-skeleton/index.d.ts +0 -2
- package/v2/features/connector-library/components/connector-library-skeleton/index.d.ts.map +0 -1
- package/v2/features/connector-library/components/connector-library-skeleton/styles.d.ts +0 -7
- package/v2/features/connector-library/components/connector-library-skeleton/styles.d.ts.map +0 -1
- package/v2/features/connector-library/components/custom-connector-card-item/index.d.ts +0 -11
- package/v2/features/connector-library/components/custom-connector-card-item/index.d.ts.map +0 -1
- package/v2/features/connector-library/components/custom-connector-card-item/styles.d.ts +0 -12
- package/v2/features/connector-library/components/custom-connector-card-item/styles.d.ts.map +0 -1
- package/v2/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts +0 -2
- package/v2/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts.map +0 -1
- package/v2/features/connector-library/components/custom-connector-card-list/index.d.ts +0 -3
- package/v2/features/connector-library/components/custom-connector-card-list/index.d.ts.map +0 -1
- package/v2/features/connector-library/components/custom-connector-enabled-modal/index.d.ts +0 -10
- package/v2/features/connector-library/components/custom-connector-enabled-modal/index.d.ts.map +0 -1
- package/v2/features/connector-library/components/custom-connector-enabled-modal/styles.d.ts +0 -4
- package/v2/features/connector-library/components/custom-connector-enabled-modal/styles.d.ts.map +0 -1
- package/v2/features/connector-library/components/custom-connector-upgrades-tooltip/index.d.ts +0 -7
- package/v2/features/connector-library/components/custom-connector-upgrades-tooltip/index.d.ts.map +0 -1
- package/v2/features/connector-library/components/custom-connector-upgrades-tooltip/styled.d.ts +0 -4
- package/v2/features/connector-library/components/custom-connector-upgrades-tooltip/styled.d.ts.map +0 -1
- package/v2/features/connector-library/components/customer-identity-mapping/index.d.ts.map +0 -1
- package/v2/features/connector-library/components/map-form-defaults/automation.d.ts.map +0 -1
- package/v2/features/connector-library/components/map-form-defaults/index.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/card-visibility/form.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/card-visibility/index.d.ts +0 -4
- package/v2/features/connector-library/components/visibility-modal/card-visibility/index.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/constants.d.ts +0 -4
- package/v2/features/connector-library/components/visibility-modal/constants.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/__tests__/configure-fields.test.d.ts +0 -2
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/__tests__/configure-fields.test.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/field-tabs.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/fields-table.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/index.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/sortable-field.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/styles.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/field-visibility/form.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/field-visibility/index.d.ts +0 -4
- package/v2/features/connector-library/components/visibility-modal/field-visibility/index.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/field-visibility/sortable-field.d.ts +0 -9
- package/v2/features/connector-library/components/visibility-modal/field-visibility/sortable-field.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/field-visibility/style.d.ts +0 -5
- package/v2/features/connector-library/components/visibility-modal/field-visibility/style.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/index.d.ts +0 -4
- package/v2/features/connector-library/components/visibility-modal/index.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/style.d.ts +0 -14
- package/v2/features/connector-library/components/visibility-modal/style.d.ts.map +0 -1
- package/v2/features/connector-library/constants/api.d.ts +0 -28
- package/v2/features/connector-library/constants/api.d.ts.map +0 -1
- package/v2/features/connector-library/constants/configure-field.d.ts.map +0 -1
- package/v2/features/connector-library/constants/index.d.ts +0 -44
- package/v2/features/connector-library/constants/index.d.ts.map +0 -1
- package/v2/features/connector-library/context/singleton-context/hooks.d.ts +0 -5
- package/v2/features/connector-library/context/singleton-context/hooks.d.ts.map +0 -1
- package/v2/features/connector-library/context/singleton-context/index.d.ts +0 -9
- package/v2/features/connector-library/context/singleton-context/index.d.ts.map +0 -1
- package/v2/features/connector-library/store/__tests__/slice.test.d.ts +0 -2
- package/v2/features/connector-library/store/__tests__/slice.test.d.ts.map +0 -1
- package/v2/features/connector-library/store/initial-state.d.ts +0 -34
- package/v2/features/connector-library/store/initial-state.d.ts.map +0 -1
- package/v2/features/connector-library/store/selectors.d.ts +0 -28
- package/v2/features/connector-library/store/selectors.d.ts.map +0 -1
- package/v2/features/connector-library/store/slice.d.ts +0 -162
- package/v2/features/connector-library/store/slice.d.ts.map +0 -1
- package/v2/features/connector-library/utils/__tests__/field-identity.test.d.ts +0 -2
- package/v2/features/connector-library/utils/__tests__/field-identity.test.d.ts.map +0 -1
- package/v2/features/connector-library/utils/index.d.ts +0 -28
- package/v2/features/connector-library/utils/index.d.ts.map +0 -1
- package/v2/features/connector-preview/components/connector-preview/index.d.ts +0 -17
- package/v2/features/connector-preview/components/connector-preview/index.d.ts.map +0 -1
- package/v2/features/connector-preview/components/connector-preview/styles.d.ts +0 -5
- package/v2/features/connector-preview/components/connector-preview/styles.d.ts.map +0 -1
- package/v2/features/connector-preview/components/connector-preview-skeleton/index.d.ts +0 -2
- package/v2/features/connector-preview/components/connector-preview-skeleton/index.d.ts.map +0 -1
- package/v2/features/connector-preview/components/connector-preview-skeleton/styles.d.ts +0 -7
- package/v2/features/connector-preview/components/connector-preview-skeleton/styles.d.ts.map +0 -1
- package/v2/features/connector-preview/components/footer/index.d.ts +0 -7
- package/v2/features/connector-preview/components/footer/index.d.ts.map +0 -1
- package/v2/features/connector-preview/components/footer/styles.d.ts +0 -6
- package/v2/features/connector-preview/components/footer/styles.d.ts.map +0 -1
- package/v2/features/connector-preview/components/image-preview-list/index.d.ts +0 -6
- package/v2/features/connector-preview/components/image-preview-list/index.d.ts.map +0 -1
- package/v2/features/connector-preview/components/image-preview-list/styles.d.ts +0 -5
- package/v2/features/connector-preview/components/image-preview-list/styles.d.ts.map +0 -1
- package/v2/features/connector-preview/constants/index.d.ts +0 -4
- package/v2/features/connector-preview/constants/index.d.ts.map +0 -1
- package/v2/features/connector-preview/utils/index.d.ts +0 -2
- package/v2/features/connector-preview/utils/index.d.ts.map +0 -1
- package/v2/features/connector-setup-guide/components/guide-links/index.d.ts +0 -7
- package/v2/features/connector-setup-guide/components/guide-links/index.d.ts.map +0 -1
- package/v2/features/connector-setup-guide/components/guide-links/styles.d.ts +0 -9
- package/v2/features/connector-setup-guide/components/guide-links/styles.d.ts.map +0 -1
- package/v2/features/connector-setup-guide/components/schedule-call/index.d.ts +0 -7
- package/v2/features/connector-setup-guide/components/schedule-call/index.d.ts.map +0 -1
- package/v2/features/connector-setup-guide/components/schedule-call/styles.d.ts +0 -8
- package/v2/features/connector-setup-guide/components/schedule-call/styles.d.ts.map +0 -1
- package/v2/features/connector-setup-guide/constants/index.d.ts +0 -13
- package/v2/features/connector-setup-guide/constants/index.d.ts.map +0 -1
- package/v2/features/connector-setup-guide/types/index.d.ts +0 -16
- package/v2/features/connector-setup-guide/types/index.d.ts.map +0 -1
- package/v2/features/native-integrations/components/inbox-selector/index.d.ts.map +0 -1
- package/v2/features/native-integrations/components/native-connectors-list/index.d.ts.map +0 -1
- package/v2/features/request-new-connector/api/index.d.ts +0 -8
- package/v2/features/request-new-connector/api/index.d.ts.map +0 -1
- package/v2/features/request-new-connector/components/request-new-modal/__tests__/request-new-modal.test.d.ts +0 -2
- package/v2/features/request-new-connector/components/request-new-modal/__tests__/request-new-modal.test.d.ts.map +0 -1
- package/v2/features/request-new-connector/components/request-new-modal/index.d.ts +0 -10
- package/v2/features/request-new-connector/components/request-new-modal/index.d.ts.map +0 -1
- package/v2/features/request-new-connector/components/request-new-modal/request-panel.d.ts +0 -14
- package/v2/features/request-new-connector/components/request-new-modal/request-panel.d.ts.map +0 -1
- package/v2/features/request-new-connector/components/request-new-modal/styles.d.ts +0 -5
- package/v2/features/request-new-connector/components/request-new-modal/styles.d.ts.map +0 -1
- package/v2/features/request-new-connector/components/request-new-modal/submitted-panel.d.ts +0 -7
- package/v2/features/request-new-connector/components/request-new-modal/submitted-panel.d.ts.map +0 -1
- package/v2/features/request-new-connector/constants/api.d.ts +0 -2
- package/v2/features/request-new-connector/constants/api.d.ts.map +0 -1
- package/v2/features/request-new-connector/constants/index.d.ts +0 -23
- package/v2/features/request-new-connector/constants/index.d.ts.map +0 -1
- package/v2/features/request-new-connector/hooks/useRequestOptions.d.ts.map +0 -1
- package/v2/features/request-new-connector/types/index.d.ts +0 -20
- package/v2/features/request-new-connector/types/index.d.ts.map +0 -1
- package/v2/features/slack/__tests__/controller-dirty.test.d.ts +0 -2
- package/v2/features/slack/__tests__/controller-dirty.test.d.ts.map +0 -1
- package/v2/features/slack/api/configs.d.ts.map +0 -1
- package/v2/features/slack/api/index.d.ts.map +0 -1
- package/v2/features/slack/components/ConfigBlockIcons.d.ts.map +0 -1
- package/v2/features/slack/components/DefaultMessageEditor/constants.d.ts.map +0 -1
- package/v2/features/slack/components/DefaultMessageEditor/index.d.ts.map +0 -1
- package/v2/features/slack/components/DefaultMessageEditor/serialize.d.ts.map +0 -1
- package/v2/features/slack/components/DefaultMessageEditor/serialize.test.d.ts +0 -2
- package/v2/features/slack/components/DefaultMessageEditor/serialize.test.d.ts.map +0 -1
- package/v2/features/slack/components/DefaultMessageEditor/styles.d.ts.map +0 -1
- package/v2/features/slack/components/SlackLogo.d.ts.map +0 -1
- package/v2/features/slack/constants/api.d.ts.map +0 -1
- package/v2/features/slack/controller.d.ts.map +0 -1
- package/v2/features/slack/types/wire.d.ts.map +0 -1
- package/v2/features/template-library/api/index.d.ts +0 -7
- package/v2/features/template-library/api/index.d.ts.map +0 -1
- package/v2/features/template-library/components/library-card-list/index.d.ts +0 -7
- package/v2/features/template-library/components/library-card-list/index.d.ts.map +0 -1
- package/v2/features/template-library/components/library-card-list/styles.d.ts +0 -7
- package/v2/features/template-library/components/library-card-list/styles.d.ts.map +0 -1
- package/v2/features/template-library/components/library-card-skeleton/index.d.ts +0 -2
- package/v2/features/template-library/components/library-card-skeleton/index.d.ts.map +0 -1
- package/v2/features/template-library/components/library-card-skeleton/styles.d.ts +0 -4
- package/v2/features/template-library/components/library-card-skeleton/styles.d.ts.map +0 -1
- package/v2/features/template-library/components/library-edit-list/index.d.ts +0 -2
- package/v2/features/template-library/components/library-edit-list/index.d.ts.map +0 -1
- package/v2/features/template-library/components/library-edit-list/styles.d.ts +0 -2
- package/v2/features/template-library/components/library-edit-list/styles.d.ts.map +0 -1
- package/v2/features/template-library/constants/api.d.ts +0 -3
- package/v2/features/template-library/constants/api.d.ts.map +0 -1
- package/v2/features/template-library/constants/content-page.d.ts +0 -4
- package/v2/features/template-library/constants/content-page.d.ts.map +0 -1
- package/v2/features/template-library/store/initial-state.d.ts +0 -15
- package/v2/features/template-library/store/initial-state.d.ts.map +0 -1
- package/v2/features/template-library/store/selectors.d.ts +0 -9
- package/v2/features/template-library/store/selectors.d.ts.map +0 -1
- package/v2/features/template-library/store/slice.d.ts +0 -39
- package/v2/features/template-library/store/slice.d.ts.map +0 -1
- package/v2/features/toast-message/CloseButton.d.ts +0 -4
- package/v2/features/toast-message/CloseButton.d.ts.map +0 -1
- package/v2/features/toast-message/HiverIconToast.d.ts +0 -7
- package/v2/features/toast-message/HiverIconToast.d.ts.map +0 -1
- package/v2/features/toast-message/__tests__/toastMessage.test.d.ts +0 -2
- package/v2/features/toast-message/__tests__/toastMessage.test.d.ts.map +0 -1
- package/v2/features/toast-message/constants/toast.d.ts +0 -8
- package/v2/features/toast-message/constants/toast.d.ts.map +0 -1
- package/v2/features/toast-message/showMessage.d.ts +0 -13
- package/v2/features/toast-message/showMessage.d.ts.map +0 -1
- package/v2/features/toast-message/style.d.ts +0 -7
- package/v2/features/toast-message/style.d.ts.map +0 -1
- package/v2/hooks/__tests__/use-app-event.test.d.ts +0 -2
- package/v2/hooks/__tests__/use-app-event.test.d.ts.map +0 -1
- package/v2/hooks/use-app-event.d.ts.map +0 -1
- package/v2/store/hooks.d.ts +0 -15
- package/v2/store/hooks.d.ts.map +0 -1
- package/v2/store/inboxes/initial-state.d.ts.map +0 -1
- package/v2/store/inboxes/selectors.d.ts.map +0 -1
- package/v2/store/inboxes/slice.d.ts.map +0 -1
- package/v2/store/index.d.ts +0 -34
- package/v2/store/index.d.ts.map +0 -1
- package/v2/store/request-connector-api/initial-state.d.ts +0 -9
- package/v2/store/request-connector-api/initial-state.d.ts.map +0 -1
- package/v2/store/request-connector-api/selectors.d.ts +0 -5
- package/v2/store/request-connector-api/selectors.d.ts.map +0 -1
- package/v2/store/request-connector-api/slice.d.ts +0 -39
- package/v2/store/request-connector-api/slice.d.ts.map +0 -1
- package/v2/testing/mocks/browser.d.ts +0 -2
- package/v2/testing/mocks/browser.d.ts.map +0 -1
- package/v2/testing/mocks/handlers/advancedFeatures.d.ts.map +0 -1
- package/v2/testing/mocks/handlers/auth.d.ts +0 -2
- package/v2/testing/mocks/handlers/auth.d.ts.map +0 -1
- package/v2/testing/mocks/handlers/bifrost-token.d.ts +0 -2
- package/v2/testing/mocks/handlers/bifrost-token.d.ts.map +0 -1
- package/v2/testing/mocks/handlers/connector-template.d.ts +0 -40
- package/v2/testing/mocks/handlers/connector-template.d.ts.map +0 -1
- package/v2/testing/mocks/handlers/form.d.ts.map +0 -1
- package/v2/testing/mocks/handlers/request-connector-api.d.ts +0 -2
- package/v2/testing/mocks/handlers/request-connector-api.d.ts.map +0 -1
- package/v2/testing/mocks/handlers/slack.d.ts.map +0 -1
- package/v2/testing/mocks/handlers/update-connector.d.ts +0 -2
- package/v2/testing/mocks/handlers/update-connector.d.ts.map +0 -1
- package/v2/testing/mocks/handlers/v2Api.d.ts +0 -2
- package/v2/testing/mocks/handlers/v2Api.d.ts.map +0 -1
- package/v2/testing/mocks/handlers.d.ts.map +0 -1
- package/v2/testing/mocks/server.d.ts +0 -2
- package/v2/testing/mocks/server.d.ts.map +0 -1
- package/v2/testing/setup-store.d.ts +0 -17
- package/v2/testing/setup-store.d.ts.map +0 -1
- package/v2/testing/setup-test.d.ts +0 -1
- package/v2/testing/setup-test.d.ts.map +0 -1
- package/v2/testing/test-utils.d.ts +0 -69
- package/v2/testing/test-utils.d.ts.map +0 -1
- package/v2/theme/connector-admin-theme-provider.d.ts.map +0 -1
- package/v2/theme/connector-admin-theme.d.ts.map +0 -1
- package/v2/theme/connector-admin-theme.test.d.ts +0 -2
- package/v2/theme/connector-admin-theme.test.d.ts.map +0 -1
- package/v2/types/api.d.ts +0 -2
- package/v2/types/api.d.ts.map +0 -1
- package/v2/types/app.d.ts.map +0 -1
- package/v2/types/common.d.ts +0 -6
- package/v2/types/common.d.ts.map +0 -1
- package/v2/types/connector.d.ts +0 -277
- package/v2/types/connector.d.ts.map +0 -1
- package/v2/types/exposedTypes.d.ts +0 -24
- package/v2/types/exposedTypes.d.ts.map +0 -1
- package/v2/types/form.d.ts +0 -55
- package/v2/types/form.d.ts.map +0 -1
- package/v2/types/json.d.ts +0 -7
- package/v2/types/json.d.ts.map +0 -1
- package/v2/types/sidebar.d.ts +0 -8
- package/v2/types/sidebar.d.ts.map +0 -1
- package/v2/types/visibility.d.ts +0 -64
- package/v2/types/visibility.d.ts.map +0 -1
- package/v2/utils/__tests__/app-event-metadata.test.d.ts +0 -2
- package/v2/utils/__tests__/app-event-metadata.test.d.ts.map +0 -1
- package/v2/utils/__tests__/get-app-state.test.d.ts +0 -2
- package/v2/utils/__tests__/get-app-state.test.d.ts.map +0 -1
- package/v2/utils/__tests__/get-pit-connector-stats.test.d.ts +0 -2
- package/v2/utils/__tests__/get-pit-connector-stats.test.d.ts.map +0 -1
- package/v2/utils/app-event-metadata.d.ts.map +0 -1
- package/v2/utils/index.d.ts +0 -64
- package/v2/utils/index.d.ts.map +0 -1
- package/v2/utils/localstorage.d.ts +0 -22
- package/v2/utils/localstorage.d.ts.map +0 -1
- package/v2/utils/type-guards.d.ts +0 -3
- package/v2/utils/type-guards.d.ts.map +0 -1
- /package/{v2/app → app}/connectors/pages/app-detail/AppDetailSkeleton.d.ts +0 -0
- /package/{v2/app → app}/connectors/pages/app-detail/Configuration.d.ts +0 -0
- /package/{v2/app → app}/connectors/pages/app-detail/Overview.d.ts +0 -0
- /package/{v2/app → app}/connectors/pages/app-detail/index.d.ts +0 -0
- /package/{v2/app → app}/connectors/pages/app-detail/schema.d.ts +0 -0
- /package/{v2/app → app}/connectors/pages/app-detail/style.d.ts +0 -0
- /package/{v2/app → app}/connectors/pages/connector-dashboard/index.d.ts +0 -0
- /package/{v2/app → app}/connectors/pages/connector-dashboard/style.d.ts +0 -0
- /package/{v2/app → app}/connectors/pages/initial-setup/components/connector-visibility.d.ts +0 -0
- /package/{v2/app → app}/connectors/pages/initial-setup/index.d.ts +0 -0
- /package/{v2/app → app}/connectors/pages/native-integration/index.d.ts +0 -0
- /package/app/connectors/pages/settings/{components → auth/components}/upgrade-guide/index.d.ts +0 -0
- /package/app/connectors/pages/settings/{components → auth/components}/upgrade-guide/styles.d.ts +0 -0
- /package/{v2/app → app}/connectors/pages/settings/auth/index.d.ts +0 -0
- /package/{v2/app → app}/connectors/pages/settings/auth/styles.d.ts +0 -0
- /package/{v2/app → app}/connectors/pages/settings/visibility/index.d.ts +0 -0
- /package/{v2/components → components}/ui/auto-complete/dropdownOmni.d.ts +0 -0
- /package/{v2/components → components}/ui/connector-alert/index.d.ts +0 -0
- /package/{v2/components → components}/ui/connector-item/index.d.ts +0 -0
- /package/{v2/components → components}/ui/connector-item/styles.d.ts +0 -0
- /package/{v2/components → components}/ui/connector-item-skeleton/index.d.ts +0 -0
- /package/{v2/components → components}/ui/connector-item-skeleton/styles.d.ts +0 -0
- /package/{v2/components → components}/ui/custom-tooltip/index.d.ts +0 -0
- /package/{v2/components → components}/ui/loader-button/index.d.ts +0 -0
- /package/{v2/components → components}/ui/loader-switch/index.d.ts +0 -0
- /package/{v2/components → components}/ui/loader-switch/style.d.ts +0 -0
- /package/{v2/components → components}/ui/status-chip/index.d.ts +0 -0
- /package/{v2/components → components}/ui/status-chip/styles.d.ts +0 -0
- /package/{v2/components → components}/ui/status-chip/types.d.ts +0 -0
- /package/{v2/constants → constants}/initial-setup.d.ts +0 -0
- /package/{v2/constants → constants}/roles.d.ts +0 -0
- /package/{v2/features → features}/add-new-store/components/add-new-store-button/index.d.ts +0 -0
- /package/{v2/features → features}/add-new-store/components/add-new-store-modal/index.d.ts +0 -0
- /package/{v2/features → features}/add-new-store/constants/index.d.ts +0 -0
- /package/{v2/features → features}/add-new-store/utils/index.d.ts +0 -0
- /package/{v2/features → features}/advanced-features/api/advanceFeatureMutation.d.ts +0 -0
- /package/{v2/features → features}/advanced-features/api/feedback.d.ts +0 -0
- /package/{v2/features → features}/advanced-features/api/userAuthEnabledMutation.d.ts +0 -0
- /package/{v2/features → features}/advanced-features/components/confirm-modal/index.d.ts +0 -0
- /package/{v2/features → features}/advanced-features/components/feature-item/index.d.ts +0 -0
- /package/{v2/features → features}/advanced-features/components/feature-list/index.d.ts +0 -0
- /package/{v2/features → features}/advanced-features/components/feedback-form/index.d.ts +0 -0
- /package/{v2/features → features}/advanced-features/constants/api.d.ts +0 -0
- /package/{v2/features → features}/advanced-features/constants/index.d.ts +0 -0
- /package/{v2/features → features}/advanced-features/types/index.d.ts +0 -0
- /package/{v2/features → features}/advanced-features/utils/index.d.ts +0 -0
- /package/{v2/features → features}/auth/utils/helpers.d.ts +0 -0
- /package/{v2/features → features}/connector-library/api/fetchDefaults.d.ts +0 -0
- /package/{v2/features → features}/connector-library/api/fetchDefaultsById.d.ts +0 -0
- /package/{v2/features → features}/connector-library/api/fetchForm.d.ts +0 -0
- /package/{v2/features → features}/connector-library/api/fetchFormById.d.ts +0 -0
- /package/{v2/features → features}/connector-library/api/putDefaults.d.ts +0 -0
- /package/{v2/features → features}/connector-library/api/putDefaultsById.d.ts +0 -0
- /package/{v2/features → features}/connector-library/components/connector-info-card-list/styles.d.ts +0 -0
- /package/{v2/features → features}/connector-library/components/customer-identity-mapping/index.d.ts +0 -0
- /package/{v2/features → features}/connector-library/components/map-form-defaults/automation.d.ts +0 -0
- /package/{v2/features → features}/connector-library/components/map-form-defaults/index.d.ts +0 -0
- /package/{v2/features → features}/connector-library/components/visibility-modal/card-visibility/form.d.ts +0 -0
- /package/{v2/features → features}/connector-library/components/visibility-modal/field-visibility/configure-fields/field-tabs.d.ts +0 -0
- /package/{v2/features → features}/connector-library/components/visibility-modal/field-visibility/configure-fields/fields-table.d.ts +0 -0
- /package/{v2/features → features}/connector-library/components/visibility-modal/field-visibility/configure-fields/index.d.ts +0 -0
- /package/{v2/features → features}/connector-library/components/visibility-modal/field-visibility/configure-fields/sortable-field.d.ts +0 -0
- /package/{v2/features → features}/connector-library/components/visibility-modal/field-visibility/configure-fields/styles.d.ts +0 -0
- /package/{v2/features → features}/connector-library/components/visibility-modal/field-visibility/form.d.ts +0 -0
- /package/{v2/features → features}/connector-library/constants/configure-field.d.ts +0 -0
- /package/{v2/features → features}/native-integrations/components/inbox-selector/index.d.ts +0 -0
- /package/{v2/features → features}/native-integrations/components/native-connectors-list/index.d.ts +0 -0
- /package/{v2/features → features}/request-new-connector/hooks/useRequestOptions.d.ts +0 -0
- /package/{v2/features → features}/slack/api/configs.d.ts +0 -0
- /package/{v2/features → features}/slack/api/index.d.ts +0 -0
- /package/{v2/features → features}/slack/components/ConfigBlockIcons.d.ts +0 -0
- /package/{v2/features → features}/slack/components/DefaultMessageEditor/constants.d.ts +0 -0
- /package/{v2/features → features}/slack/components/DefaultMessageEditor/index.d.ts +0 -0
- /package/{v2/features → features}/slack/components/DefaultMessageEditor/serialize.d.ts +0 -0
- /package/{v2/features → features}/slack/components/DefaultMessageEditor/styles.d.ts +0 -0
- /package/{v2/features → features}/slack/components/SlackLogo.d.ts +0 -0
- /package/{v2/features → features}/slack/constants/api.d.ts +0 -0
- /package/{v2/features → features}/slack/controller.d.ts +0 -0
- /package/{v2/features → features}/slack/types/wire.d.ts +0 -0
- /package/{v2/hooks → hooks}/use-app-event.d.ts +0 -0
- /package/{v2/store → store}/inboxes/initial-state.d.ts +0 -0
- /package/{v2/store → store}/inboxes/slice.d.ts +0 -0
- /package/{v2/testing → testing}/mocks/handlers/advancedFeatures.d.ts +0 -0
- /package/{v2/testing → testing}/mocks/handlers/form.d.ts +0 -0
- /package/{v2/testing → testing}/mocks/handlers/slack.d.ts +0 -0
- /package/{v2/theme → theme}/connector-admin-theme-provider.d.ts +0 -0
- /package/{v2/theme → theme}/connector-admin-theme.d.ts +0 -0
- /package/{v2/utils → utils}/app-event-metadata.d.ts +0 -0
package/types/connector.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AuthFieldKeys } from '../features/auth/types/form';
|
|
2
2
|
import { TextFieldBaseProps } from './form';
|
|
3
|
-
import { IField } from './visibility';
|
|
3
|
+
import { IField, FieldAccessMode } from './visibility';
|
|
4
4
|
export type ConnectorId = string;
|
|
5
5
|
export interface IAPI {
|
|
6
6
|
name: string;
|
|
@@ -26,6 +26,15 @@ export interface IOAuth2Details {
|
|
|
26
26
|
clientId: string;
|
|
27
27
|
clientSecret: string;
|
|
28
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
|
+
}
|
|
29
38
|
export interface IAuthAPIKeyDetails {
|
|
30
39
|
authType: 'ApiKey';
|
|
31
40
|
location: string;
|
|
@@ -44,7 +53,7 @@ export interface IBasicAuthDetails {
|
|
|
44
53
|
export interface IConnectorVariable {
|
|
45
54
|
[key: string]: string;
|
|
46
55
|
}
|
|
47
|
-
export type IAuthDetails = IOAuth2Details | IAuthAPIKeyDetails | IBasicAuthDetails | IOAuth1Details;
|
|
56
|
+
export type IAuthDetails = IOAuth2Details | IOAuth2PatDetails | IAuthAPIKeyDetails | IBasicAuthDetails | IOAuth1Details;
|
|
48
57
|
export interface IAPIKey {
|
|
49
58
|
label: string;
|
|
50
59
|
placeholderValue: string;
|
|
@@ -71,8 +80,24 @@ export interface InfoCard {
|
|
|
71
80
|
};
|
|
72
81
|
roles?: string[];
|
|
73
82
|
fields?: IField[];
|
|
74
|
-
isCardNew:
|
|
83
|
+
isCardNew: false;
|
|
75
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;
|
|
76
101
|
}
|
|
77
102
|
export type SupportLinks = {
|
|
78
103
|
setupGuideVideoLink?: string;
|
|
@@ -82,8 +107,56 @@ export type SupportLinks = {
|
|
|
82
107
|
export type CarouselData = {
|
|
83
108
|
url: string;
|
|
84
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
|
+
}>;
|
|
85
150
|
export interface IConnectorDetails {
|
|
86
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;
|
|
87
160
|
type: string;
|
|
88
161
|
authDetails?: IAuthDetails;
|
|
89
162
|
isAuthenticated?: boolean;
|
|
@@ -101,6 +174,7 @@ export interface IConnectorDetails {
|
|
|
101
174
|
showUpgradeButton?: boolean;
|
|
102
175
|
isTemplateNew?: boolean;
|
|
103
176
|
updates?: TrustedHTML;
|
|
177
|
+
isConnectorAvailableInPlan?: boolean;
|
|
104
178
|
upgradeGuideLink?: string;
|
|
105
179
|
upgradeGuideContent?: TrustedHTML;
|
|
106
180
|
advancedSettingsFields?: string[];
|
|
@@ -108,8 +182,62 @@ export interface IConnectorDetails {
|
|
|
108
182
|
interpolationFields?: Record<string, string>;
|
|
109
183
|
carouselImages?: CarouselData[];
|
|
110
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;
|
|
111
200
|
oneClickAuthEnabled?: boolean;
|
|
112
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;
|
|
113
241
|
}
|
|
114
242
|
export interface IEnableConnectorParam {
|
|
115
243
|
roles: string[];
|
|
@@ -119,4 +247,52 @@ export interface IEnableConnectorParam {
|
|
|
119
247
|
};
|
|
120
248
|
fields: IField[];
|
|
121
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
|
+
/** One provider sub-account an agency install holds credentials for. */
|
|
278
|
+
export interface IAgencySubAccount {
|
|
279
|
+
locationId: string;
|
|
280
|
+
name: string;
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* A shared mailbox's connector configuration, as the admin config API returns
|
|
284
|
+
* it. Only the fields the sub-account mapping reads are typed here; `config`
|
|
285
|
+
* carries other settings (visibility, role access) that must survive a write,
|
|
286
|
+
* which is why saving re-sends it rather than replacing it.
|
|
287
|
+
*/
|
|
288
|
+
export interface IConnectorAdminConfig {
|
|
289
|
+
id: string;
|
|
290
|
+
smId: string;
|
|
291
|
+
config: {
|
|
292
|
+
locationIds?: string[];
|
|
293
|
+
[key: string]: unknown;
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
/** Shared inbox id -> the sub-accounts it is mapped to. */
|
|
297
|
+
export type ISubAccountMapping = Record<string, string[]>;
|
|
122
298
|
//# sourceMappingURL=connector.d.ts.map
|
package/types/connector.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector.d.ts","sourceRoot":"","sources":["../../src/types/connector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"connector.d.ts","sourceRoot":"","sources":["../../src/types/connector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEvD,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC;AACjC,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,QAAQ,CAAC;IACnB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,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,EAAE,CAAC;QAChB,IAAI,EAAE,MAAM,EAAE,CAAC;KAChB,CAAC;IACF,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,GAAG,SAAS,GAAG,YAAY,CAAC;AAEjF,MAAM,MAAM,iBAAiB,GACzB,uBAAuB,GACvB,wBAAwB,GACxB,mBAAmB,GACnB,2BAA2B,GAC3B,uBAAuB,GACvB,wBAAwB,CAAC;AAE7B,wEAAwE;AACxE,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE;QACN,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;QACvB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CAAC;CACH;AAED,2DAA2D;AAC3D,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC"}
|
package/types/exposedTypes.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exposedTypes.d.ts","sourceRoot":"","sources":["../../src/types/exposedTypes.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE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KAAE,CAAC,CAAC;IACxD,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;CACpC"}
|
package/types/form.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { OutlinedInputProps } from '@hiver/hiver-ui-kit';
|
|
3
3
|
import { Props as SelectProps } from 'react-select';
|
|
4
|
+
import { InterfaceDetails, FieldList } from '@connector/ui';
|
|
4
5
|
export interface BaseFormFieldProps {
|
|
5
6
|
helperText?: string;
|
|
6
7
|
error?: boolean;
|
|
@@ -36,4 +37,19 @@ export interface ElementValidation {
|
|
|
36
37
|
export interface FormValidation {
|
|
37
38
|
[x: string]: ElementValidation;
|
|
38
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
|
+
};
|
|
39
55
|
//# sourceMappingURL=form.d.ts.map
|
package/types/form.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../src/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,MAAM,WAAW,kBAAkB;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB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MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,eAAe,KAAK,OAAO,GAAG,MAAM,CAAC;CAC/E;AACD,MAAM,WAAW,cAAc;IAC7B,CAAC,CAAC,EAAE,MAAM,GAAG,iBAAiB,CAAC;CAChC;AAED,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,MAAM,GAAG,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"}
|
package/types/visibility.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export type FieldAccessMode = 'read_write' | 'read' | 'write';
|
|
1
2
|
export interface IVisibilityModal {
|
|
2
3
|
emailSMs?: string[];
|
|
3
4
|
roles?: string[];
|
|
@@ -9,6 +10,26 @@ export interface IVisibilityModal {
|
|
|
9
10
|
title: string;
|
|
10
11
|
setVisitedFieldVisTab: (value: React.SetStateAction<boolean>) => void;
|
|
11
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';
|
|
12
33
|
export interface IOptions {
|
|
13
34
|
[T: string]: string;
|
|
14
35
|
}
|
|
@@ -19,6 +40,14 @@ export interface IField {
|
|
|
19
40
|
priority: number;
|
|
20
41
|
isFieldNew: boolean;
|
|
21
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;
|
|
22
51
|
}
|
|
23
52
|
export interface IDDMapping {
|
|
24
53
|
type: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visibility.d.ts","sourceRoot":"","sources":["../../src/types/visibility.ts"],"names":[],"mappings":"AAAA,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,CAA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M,GAAG;QACX,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-event-metadata.d.ts","sourceRoot":"","sources":["../../src/utils/app-event-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D;;;;;;;;;;;;;;;;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"}
|
package/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { FormFieldProps, IFormConfig } from '@connector/ui';
|
|
2
|
-
import { IAvailableFtr } from '../types/
|
|
2
|
+
import { NativeIntegrations, IAvailableFtr } from '../types/app';
|
|
3
|
+
import { ConnectorAppState, IConnectorDetails } from '../types/connector';
|
|
4
|
+
type LoggerType = 'log' | 'warn' | 'error' | 'info';
|
|
3
5
|
export declare function listToDict<T>(list: T[], idGen: (arg: T) => string): {
|
|
4
6
|
[k: string]: T;
|
|
5
7
|
};
|
|
@@ -25,4 +27,38 @@ export declare const mapToArray: <T>(count: number, callbackFn: (index: number)
|
|
|
25
27
|
export declare const replacePlaceholders: (template: string, values: {
|
|
26
28
|
[key: string]: string | number;
|
|
27
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 {};
|
|
28
64
|
//# sourceMappingURL=index.d.ts.map
|
package/utils/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAU5D,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAU5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAG/E,KAAK,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAEpD,wBAAgB,UAAU,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,GAAG;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,CAAC,CAAA;CAAE,CAStF;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,YAEhE;AAED,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,CAQjH;AACD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,sBAAuB,aAAa,2BAAoB,MAAM,YAM5F,CAAC;AAEF,eAAO,MAAM,aAAa,sBAAuB,aAAa,YAK7D,CAAC;AAEF,eAAO,MAAM,YAAY,sBAAuB,aAAa,YACG,CAAC;AAEjE,eAAO,MAAM,0BAA0B,sBAAuB,aAAa,YACP,CAAC;AAErE,eAAO,MAAM,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AO,MAAM,oBAAoB,kBAAmB,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC;;;;;;;;;CA6CpF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connector-config.test.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/api-view/__tests__/connector-config.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/agent/index.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,+CAMjB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/agent/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,UAAU,CAQ5D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/app/connectors/pages/connector-view/dashboard/__tests__/dashboard.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/dashboard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAmC,MAAM,OAAO,CAAC;AAmC5D,eAAO,MAAM,SAAS,EAAE,EAsFvB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { StyledComponent } from '@emotion/styled';
|
|
2
|
-
import { BoxProps, TypographyProps, StackProps } from '@hiver/hiver-ui-kit';
|
|
3
|
-
export declare const ContentParentWrapper: StyledComponent<BoxProps>;
|
|
4
|
-
export declare const RequestConnectorWrapper: StyledComponent<StackProps>;
|
|
5
|
-
export declare const TitleHeader: StyledComponent<TypographyProps>;
|
|
6
|
-
export declare const DescriptionHeader: StyledComponent<TypographyProps>;
|
|
7
|
-
export declare const LibraryText: StyledComponent<TypographyProps>;
|
|
8
|
-
export declare const LibraryDescription: StyledComponent<TypographyProps>;
|
|
9
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/dashboard/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjF,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,QAAQ,CAG1D,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,eAAe,CAAC,UAAU,CAI/D,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAGxD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,eAAe,CAAC,eAAe,CAK9D,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAExD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,eAAe,CAE/D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/connector-view/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAiC,MAAM,OAAO,CAAC;AAS1D,eAAO,MAAM,aAAa,EAAE,EAmB3B,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { StyledComponent } from '@emotion/styled';
|
|
2
|
-
import { BoxProps, StackProps } from '@hiver/hiver-ui-kit';
|
|
3
|
-
export declare const ConnectorViewWrapper: StyledComponent<StackProps>;
|
|
4
|
-
export declare const OutletWrapper: StyledComponent<BoxProps>;
|
|
5
|
-
//# sourceMappingURL=style.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/connector-view/style.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEhE,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,UAAU,CAI5D,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,QAAQ,CAInD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/app/connectors/pages/settings/components/upgrade-guide/index.tsx"],"names":[],"mappings":"AAUA,UAAU,MAAM;IACd,mBAAmB,EAAE,WAAW,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,YAAY,8CAA+C,MAAM,4CAwB7E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/app/connectors/pages/settings/components/upgrade-guide/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEhG,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,UAAU,CAK3D,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,YAAY,CAGxD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,SAAS,CAUvD,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,eAAe,CAIjE,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,YAAY,CAG5D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.test.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/__tests__/sidebar.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SidebarList } from '../../../types/sidebar';
|
|
2
|
-
interface ISideBarProps {
|
|
3
|
-
sidebarOptions: SidebarList;
|
|
4
|
-
}
|
|
5
|
-
export declare const SideBar: ({ sidebarOptions }: ISideBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/sidebar/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAInD,UAAU,aAAa;IACrB,cAAc,EAAE,WAAW,CAAC;CAC7B;AAED,eAAO,MAAM,OAAO,uBAA6B,aAAa,4CA+C7D,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { StyledComponent } from '@emotion/styled';
|
|
2
|
-
import { BoxProps, TypographyProps } from '@hiver/hiver-ui-kit';
|
|
3
|
-
export declare const BoxWrapper: StyledComponent<BoxProps>;
|
|
4
|
-
export declare const SideBarWrapper: StyledComponent<BoxProps>;
|
|
5
|
-
export declare const CustomConnectorText: StyledComponent<TypographyProps>;
|
|
6
|
-
export declare const NavLinkWrapper: StyledComponent<BoxProps>;
|
|
7
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/sidebar/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAErE,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAOhD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAMpD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,eAAe,CAGhE,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAsBpD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bread-crumb.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/bread-crumbs/__tests__/bread-crumb.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modal.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/modal/__tests__/modal.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-connector-card.test.d.ts","sourceRoot":"","sources":["../../../../../../src/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
interface ISingletonPopoverTooltipProps {
|
|
3
|
-
children: React.ReactElement;
|
|
4
|
-
}
|
|
5
|
-
export declare const SingletonPopoverTooltip: ({ children }: ISingletonPopoverTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/singleton-popover-tooltip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAK/D,UAAU,6BAA6B;IACrC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;CAC9B;AACD,eAAO,MAAM,uBAAuB,iBAAkB,6BAA6B,4CAelF,CAAC"}
|
package/features/connector-library/components/singleton-popover-tooltip/popover-title.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"popover-title.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/singleton-popover-tooltip/popover-title.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,+CAYxB,CAAC"}
|
package/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
interface IPopoverTooltipProps {
|
|
3
|
-
children: ReactElement;
|
|
4
|
-
}
|
|
5
|
-
export declare const PopoverTooltip: (props: IPopoverTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=popover-tooltip.d.ts.map
|
package/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"popover-tooltip.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAkB1C,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,YAAY,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,UAAW,oBAAoB,4CAkDzD,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { StyledComponent } from '@emotion/styled';
|
|
2
|
-
import { TypographyProps, BoxProps, StackProps } from '@hiver/hiver-ui-kit';
|
|
3
|
-
export declare const PopoverWrapper: StyledComponent<BoxProps>;
|
|
4
|
-
export declare const PopoverImgWrapper: StyledComponent<StackProps>;
|
|
5
|
-
export declare const PopoverBody: StyledComponent<TypographyProps>;
|
|
6
|
-
//# sourceMappingURL=styles.d.ts.map
|