@hiver/connector-admin 3.1.2-unifiedView2-beta.11 → 3.1.2-variableInterpolation-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/connectors/index.d.ts +1 -1
- package/app/connectors/index.d.ts.map +1 -1
- package/app/index.d.ts +1 -1
- package/app/index.d.ts.map +1 -1
- package/features/auth/components/auth-form/index.d.ts.map +1 -1
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.es.js +13832 -18814
- package/index.umd.js +253 -1900
- package/main.d.ts +1 -0
- package/main.d.ts.map +1 -1
- package/package.json +1 -1
- package/testing/mocks/handlers/connector-template.d.ts +1 -1
- package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
- package/types/router.d.ts +0 -1
- package/types/router.d.ts.map +1 -1
- package/bootstrap.d.ts +0 -4
- package/bootstrap.d.ts.map +0 -1
- package/style.css +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/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 +0 -3
- package/v2/app/connectors/pages/connector-dashboard/index.d.ts.map +0 -1
- package/v2/app/connectors/pages/connector-dashboard/style.d.ts +0 -6
- 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 +0 -15
- 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 +0 -2
- package/v2/app/connectors/pages/initial-setup/index.d.ts.map +0 -1
- package/v2/app/connectors/pages/native-integration/index.d.ts +0 -2
- package/v2/app/connectors/pages/native-integration/index.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 +0 -7
- package/v2/app/connectors/pages/settings/auth/index.d.ts.map +0 -1
- package/v2/app/connectors/pages/settings/auth/styles.d.ts +0 -5
- 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 +0 -7
- 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/index.d.ts +0 -15
- 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 +0 -10
- package/v2/components/ui/connector-alert/index.d.ts.map +0 -1
- package/v2/components/ui/connector-item/index.d.ts +0 -16
- package/v2/components/ui/connector-item/index.d.ts.map +0 -1
- package/v2/components/ui/connector-item-skeleton/index.d.ts +0 -2
- package/v2/components/ui/connector-item-skeleton/index.d.ts.map +0 -1
- package/v2/components/ui/connector-item-skeleton/styles.d.ts +0 -7
- package/v2/components/ui/connector-item-skeleton/styles.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-switch/index.d.ts +0 -5
- package/v2/components/ui/loader-switch/index.d.ts.map +0 -1
- package/v2/components/ui/loader-switch/style.d.ts +0 -4
- 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 -14
- package/v2/components/ui/modal/index.d.ts.map +0 -1
- package/v2/components/ui/status-chip/index.d.ts +0 -3
- package/v2/components/ui/status-chip/index.d.ts.map +0 -1
- package/v2/components/ui/status-chip/styles.d.ts +0 -8
- package/v2/components/ui/status-chip/styles.d.ts.map +0 -1
- package/v2/components/ui/status-chip/types.d.ts +0 -6
- 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 -14
- package/v2/constants/api.d.ts.map +0 -1
- package/v2/constants/app-constants.d.ts +0 -15
- 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 -41
- package/v2/constants/gainsight.d.ts.map +0 -1
- package/v2/constants/global-constants.d.ts +0 -30
- package/v2/constants/global-constants.d.ts.map +0 -1
- package/v2/constants/initial-setup.d.ts +0 -7
- 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 +0 -10
- package/v2/constants/roles.d.ts.map +0 -1
- package/v2/constants/router-paths.d.ts +0 -10
- 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 -39
- 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/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/authDetailsMutation.d.ts +0 -25
- package/v2/features/auth/api/authDetailsMutation.d.ts.map +0 -1
- package/v2/features/auth/api/authSuccessQuery.d.ts +0 -9
- package/v2/features/auth/api/authSuccessQuery.d.ts.map +0 -1
- package/v2/features/auth/api/index.d.ts +0 -4
- 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/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 -6
- package/v2/features/auth/constants/api.d.ts.map +0 -1
- package/v2/features/auth/constants/form-config.d.ts +0 -96
- package/v2/features/auth/constants/form-config.d.ts.map +0 -1
- package/v2/features/auth/constants/index.d.ts +0 -27
- 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 -51
- package/v2/features/auth/types/request.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/connector-library/api/index.d.ts +0 -23
- package/v2/features/connector-library/api/index.d.ts.map +0 -1
- package/v2/features/connector-library/components/connector-info-card/index.d.ts +0 -9
- 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 -9
- 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 +0 -5
- 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/singleton-popover-tooltip/index.d.ts +0 -7
- package/v2/features/connector-library/components/singleton-popover-tooltip/index.d.ts.map +0 -1
- package/v2/features/connector-library/components/singleton-popover-tooltip/popover-title.d.ts +0 -2
- package/v2/features/connector-library/components/singleton-popover-tooltip/popover-title.d.ts.map +0 -1
- package/v2/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.d.ts +0 -7
- package/v2/features/connector-library/components/singleton-popover-tooltip/popover-tooltip.d.ts.map +0 -1
- package/v2/features/connector-library/components/singleton-popover-tooltip/styles.d.ts +0 -6
- package/v2/features/connector-library/components/singleton-popover-tooltip/styles.d.ts.map +0 -1
- package/v2/features/connector-library/components/visibility-modal/card-visibility/index.d.ts +0 -10
- 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/index.d.ts +0 -9
- 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 -18
- package/v2/features/connector-library/constants/api.d.ts.map +0 -1
- package/v2/features/connector-library/constants/index.d.ts +0 -30
- 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/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 -158
- package/v2/features/connector-library/store/slice.d.ts.map +0 -1
- package/v2/features/connector-library/utils/index.d.ts +0 -3
- package/v2/features/connector-library/utils/index.d.ts.map +0 -1
- package/v2/features/connector-preview/components/connector-preview/index.d.ts +0 -14
- 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 +0 -9
- 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 +0 -2
- 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 -9
- 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 -27
- package/v2/features/request-new-connector/constants/index.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/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 -3
- 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 -7
- 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/store/hooks.d.ts +0 -15
- package/v2/store/hooks.d.ts.map +0 -1
- package/v2/store/inboxes/initial-state.d.ts +0 -9
- package/v2/store/inboxes/initial-state.d.ts.map +0 -1
- package/v2/store/inboxes/selectors.d.ts +0 -5
- package/v2/store/inboxes/selectors.d.ts.map +0 -1
- package/v2/store/inboxes/slice.d.ts +0 -26
- 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/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 -34
- package/v2/testing/mocks/handlers/connector-template.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/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 +0 -2
- 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/types/api.d.ts +0 -2
- package/v2/types/api.d.ts.map +0 -1
- package/v2/types/app.d.ts +0 -43
- 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 -140
- package/v2/types/connector.d.ts.map +0 -1
- package/v2/types/exposedTypes.d.ts +0 -23
- package/v2/types/exposedTypes.d.ts.map +0 -1
- package/v2/types/form.d.ts +0 -39
- 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 -35
- package/v2/types/visibility.d.ts.map +0 -1
- package/v2/utils/index.d.ts +0 -33
- 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/store/index.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Action, ThunkAction } from '@reduxjs/toolkit';
|
|
2
|
-
export declare const rootReducer: import('redux').Reducer<{
|
|
3
|
-
connectorLirary: import('../features/connector-library/store/initial-state').ConnectorState;
|
|
4
|
-
templateLibrary: import('../features/template-library/store/initial-state').ConnectorState;
|
|
5
|
-
auth: import('../features/auth/store/initial-state').AuthState;
|
|
6
|
-
requestConnectorApi: import('./request-connector-api/initial-state').RequestState;
|
|
7
|
-
inboxes: import('./inboxes/initial-state').ConnectorState;
|
|
8
|
-
}, import('redux').UnknownAction, Partial<{
|
|
9
|
-
connectorLirary: import('../features/connector-library/store/initial-state').ConnectorState | undefined;
|
|
10
|
-
templateLibrary: import('../features/template-library/store/initial-state').ConnectorState | undefined;
|
|
11
|
-
auth: import('../features/auth/store/initial-state').AuthState | undefined;
|
|
12
|
-
requestConnectorApi: import('./request-connector-api/initial-state').RequestState | undefined;
|
|
13
|
-
inboxes: import('./inboxes/initial-state').ConnectorState | undefined;
|
|
14
|
-
}>>;
|
|
15
|
-
export declare const store: import('@reduxjs/toolkit').EnhancedStore<{
|
|
16
|
-
connectorLirary: import('../features/connector-library/store/initial-state').ConnectorState;
|
|
17
|
-
templateLibrary: import('../features/template-library/store/initial-state').ConnectorState;
|
|
18
|
-
auth: import('../features/auth/store/initial-state').AuthState;
|
|
19
|
-
requestConnectorApi: import('./request-connector-api/initial-state').RequestState;
|
|
20
|
-
inboxes: import('./inboxes/initial-state').ConnectorState;
|
|
21
|
-
}, import('redux').UnknownAction, import('@reduxjs/toolkit').Tuple<[import('redux').StoreEnhancer<{
|
|
22
|
-
dispatch: import('redux-thunk').ThunkDispatch<{
|
|
23
|
-
connectorLirary: import('../features/connector-library/store/initial-state').ConnectorState;
|
|
24
|
-
templateLibrary: import('../features/template-library/store/initial-state').ConnectorState;
|
|
25
|
-
auth: import('../features/auth/store/initial-state').AuthState;
|
|
26
|
-
requestConnectorApi: import('./request-connector-api/initial-state').RequestState;
|
|
27
|
-
inboxes: import('./inboxes/initial-state').ConnectorState;
|
|
28
|
-
}, undefined, import('redux').UnknownAction>;
|
|
29
|
-
}>, import('redux').StoreEnhancer]>>;
|
|
30
|
-
export type AppStore = typeof store;
|
|
31
|
-
export type RootState = ReturnType<AppStore['getState']>;
|
|
32
|
-
export type AppDispatch = AppStore['dispatch'];
|
|
33
|
-
export type AppThunk<ThunkReturnType = void> = ThunkAction<ThunkReturnType, RootState, unknown, Action>;
|
|
34
|
-
//# sourceMappingURL=index.d.ts.map
|
package/v2/store/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v2/store/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE5D,eAAO,MAAM,WAAW;;;;;;;;;;;;GAMtB,CAAC;AAEH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;oCAGhB,CAAC;AAGH,MAAM,MAAM,QAAQ,GAAG,OAAO,KAAK,CAAC;AACpC,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC;AAEzD,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC;AAE/C,MAAM,MAAM,QAAQ,CAAC,eAAe,GAAG,IAAI,IAAI,WAAW,CAAC,eAAe,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IRequestableAPI, IRequestableConnector } from '../../features/request-new-connector/types';
|
|
2
|
-
import { ApiStatus } from '../../types/api';
|
|
3
|
-
export interface RequestState {
|
|
4
|
-
connectorRequestsApiStatus: ApiStatus;
|
|
5
|
-
requestableConnectors: Array<IRequestableConnector> | null;
|
|
6
|
-
requestableApis: Array<IRequestableAPI> | null;
|
|
7
|
-
}
|
|
8
|
-
export declare const initialState: RequestState;
|
|
9
|
-
//# sourceMappingURL=initial-state.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/v2/store/request-connector-api/initial-state.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AACnG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,MAAM,WAAW,YAAY;IAC3B,0BAA0B,EAAE,SAAS,CAAC;IACtC,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC;IAC3D,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,YAAY,EAAE,YAI1B,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { RootState } from '..';
|
|
2
|
-
export declare const selectRequestsApiStatus: (state: RootState) => import('../../types/api').ApiStatus;
|
|
3
|
-
export declare const selectRequestableConnectors: (state: RootState) => import('../../features/request-new-connector/types').IRequestableConnector[] | null;
|
|
4
|
-
export declare const selectRequestabelAPIs: (state: RootState) => import('../../features/request-new-connector/types').IRequestableAPI[] | null;
|
|
5
|
-
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/v2/store/request-connector-api/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,eAAO,MAAM,uBAAuB,UAAW,SAAS,wCAAyD,CAAC;AAClH,eAAO,MAAM,2BAA2B,UAAW,SAAS,wFAAoD,CAAC;AACjH,eAAO,MAAM,qBAAqB,UAAW,SAAS,kFAA8C,CAAC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export declare const requestConnectorApiSlice: import('@reduxjs/toolkit').Slice<import('./initial-state').RequestState, {}, "connectorLibrary", "connectorLibrary", import('@reduxjs/toolkit').SliceSelectors<import('./initial-state').RequestState>>;
|
|
2
|
-
declare const fetchConnectorRequests: import('@reduxjs/toolkit').AsyncThunk<{
|
|
3
|
-
requestableConnectors: import('../../features/request-new-connector/types').IRequestableConnector[];
|
|
4
|
-
requestableApis: any;
|
|
5
|
-
}, void, {
|
|
6
|
-
state?: unknown;
|
|
7
|
-
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
8
|
-
extra?: unknown;
|
|
9
|
-
rejectValue?: unknown;
|
|
10
|
-
serializedErrorType?: unknown;
|
|
11
|
-
pendingMeta?: unknown;
|
|
12
|
-
fulfilledMeta?: unknown;
|
|
13
|
-
rejectedMeta?: unknown;
|
|
14
|
-
}>;
|
|
15
|
-
declare const submitConnectorRequest: import('@reduxjs/toolkit').AsyncThunk<{
|
|
16
|
-
params: {
|
|
17
|
-
type: string;
|
|
18
|
-
values: Array<string>;
|
|
19
|
-
description: string;
|
|
20
|
-
};
|
|
21
|
-
}, {
|
|
22
|
-
type: string;
|
|
23
|
-
values: Array<string>;
|
|
24
|
-
description: string;
|
|
25
|
-
}, {
|
|
26
|
-
state?: unknown;
|
|
27
|
-
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
28
|
-
extra?: unknown;
|
|
29
|
-
rejectValue?: unknown;
|
|
30
|
-
serializedErrorType?: unknown;
|
|
31
|
-
pendingMeta?: unknown;
|
|
32
|
-
fulfilledMeta?: unknown;
|
|
33
|
-
rejectedMeta?: unknown;
|
|
34
|
-
}>;
|
|
35
|
-
declare const _default: import('redux').Reducer<import('./initial-state').RequestState>;
|
|
36
|
-
export default _default;
|
|
37
|
-
export declare const actions: import('@reduxjs/toolkit').CaseReducerActions<{}, "connectorLibrary">;
|
|
38
|
-
export { fetchConnectorRequests, submitConnectorRequest };
|
|
39
|
-
//# sourceMappingURL=slice.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/v2/store/request-connector-api/slice.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,wBAAwB,yMA2BnC,CAAC;AAEH,QAAA,MAAM,sBAAsB;;;;;;;;;;;;EAiB1B,CAAC;AAEH,QAAA,MAAM,sBAAsB;;cAEH,MAAM;gBAAU,KAAK,CAAC,MAAM,CAAC;qBAAe,MAAM;;;UAAlD,MAAM;YAAU,KAAK,CAAC,MAAM,CAAC;iBAAe,MAAM;;;;;;;;;;EAI1E,CAAC;;AAEF,wBAAgD;AAChD,eAAO,MAAM,OAAO,uEAAmC,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../../../src/v2/testing/mocks/browser.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,mCAA2B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../../src/v2/testing/mocks/handlers/auth.ts"],"names":[],"mappings":"AA+EA,eAAO,MAAM,QAAQ,6BAA0E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bifrost-token.d.ts","sourceRoot":"","sources":["../../../../../src/v2/testing/mocks/handlers/bifrost-token.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,QAAQ,6BAAoB,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export declare const connectorsList: {
|
|
2
|
-
readonly id: string;
|
|
3
|
-
readonly description: string;
|
|
4
|
-
readonly logo: string | null;
|
|
5
|
-
readonly name: string;
|
|
6
|
-
readonly isAuthenticated: boolean;
|
|
7
|
-
readonly isEnabled: boolean;
|
|
8
|
-
readonly showUpgradeButton: boolean;
|
|
9
|
-
readonly upgradeGuideLink: string;
|
|
10
|
-
readonly upgradeGuideContent: `<ol>\n ${string}\n </ol>\n `;
|
|
11
|
-
readonly updates: `<div>This upgrade will include:</div>\n <ul>\n ${string}\n </ul>\n `;
|
|
12
|
-
readonly type: string;
|
|
13
|
-
readonly cardList: {
|
|
14
|
-
id: string;
|
|
15
|
-
title: string;
|
|
16
|
-
priority: number;
|
|
17
|
-
roles: string[];
|
|
18
|
-
inboxes: {
|
|
19
|
-
email: string[];
|
|
20
|
-
};
|
|
21
|
-
fields: {
|
|
22
|
-
readonly priority: number;
|
|
23
|
-
readonly key: string;
|
|
24
|
-
readonly label: string;
|
|
25
|
-
readonly selected: boolean;
|
|
26
|
-
readonly isFieldNew: boolean;
|
|
27
|
-
readonly isFieldCustom: boolean;
|
|
28
|
-
}[];
|
|
29
|
-
isCardNew: boolean;
|
|
30
|
-
isCardCustom: boolean;
|
|
31
|
-
}[];
|
|
32
|
-
}[];
|
|
33
|
-
export declare const handlers: import('msw').HttpHandler[];
|
|
34
|
-
//# sourceMappingURL=connector-template.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connector-template.d.ts","sourceRoot":"","sources":["../../../../../src/v2/testing/mocks/handlers/connector-template.ts"],"names":[],"mappings":"AAyOA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyB,CAAC;AA+CrD,eAAO,MAAM,QAAQ,6BASpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"request-connector-api.d.ts","sourceRoot":"","sources":["../../../../../src/v2/testing/mocks/handlers/request-connector-api.ts"],"names":[],"mappings":"AAmDA,eAAO,MAAM,QAAQ,6BAAgC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-connector.d.ts","sourceRoot":"","sources":["../../../../../src/v2/testing/mocks/handlers/update-connector.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,QAAQ,6BAAoD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v2Api.d.ts","sourceRoot":"","sources":["../../../../../src/v2/testing/mocks/handlers/v2Api.ts"],"names":[],"mappings":"AAmHA,eAAO,MAAM,QAAQ,6BAAiD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../../src/v2/testing/mocks/handlers.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,QAAQ,6BAOpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../../src/v2/testing/mocks/server.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,mCAA2B,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { RootState } from '../store';
|
|
2
|
-
export declare const setupStore: (preloadedState?: Partial<RootState>) => import('@reduxjs/toolkit').EnhancedStore<{
|
|
3
|
-
connectorLirary: import('../features/connector-library/store/initial-state').ConnectorState;
|
|
4
|
-
templateLibrary: import('../features/template-library/store/initial-state').ConnectorState;
|
|
5
|
-
auth: import('../features/auth/store/initial-state').AuthState;
|
|
6
|
-
requestConnectorApi: import('../store/request-connector-api/initial-state').RequestState;
|
|
7
|
-
inboxes: import('../store/inboxes/initial-state').ConnectorState;
|
|
8
|
-
}, import('redux').UnknownAction, import('@reduxjs/toolkit').Tuple<[import('redux').StoreEnhancer<{
|
|
9
|
-
dispatch: import('redux-thunk').ThunkDispatch<{
|
|
10
|
-
connectorLirary: import('../features/connector-library/store/initial-state').ConnectorState;
|
|
11
|
-
templateLibrary: import('../features/template-library/store/initial-state').ConnectorState;
|
|
12
|
-
auth: import('../features/auth/store/initial-state').AuthState;
|
|
13
|
-
requestConnectorApi: import('../store/request-connector-api/initial-state').RequestState;
|
|
14
|
-
inboxes: import('../store/inboxes/initial-state').ConnectorState;
|
|
15
|
-
}, undefined, import('redux').UnknownAction>;
|
|
16
|
-
}>, import('redux').StoreEnhancer]>>;
|
|
17
|
-
//# sourceMappingURL=setup-store.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup-store.d.ts","sourceRoot":"","sources":["../../../src/v2/testing/setup-store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAe,MAAM,YAAY,CAAC;AAEpD,eAAO,MAAM,UAAU,oBAAqB,OAAO,CAAC,SAAS,CAAC;;;;;;;;;;;;;;oCAK7D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=setup-test.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup-test.d.ts","sourceRoot":"","sources":["../../../src/v2/testing/setup-test.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { render as rtlRender, RenderOptions } from '@testing-library/react';
|
|
2
|
-
import { default as userEvent } from '@testing-library/user-event';
|
|
3
|
-
import { AppStore, RootState } from '../store';
|
|
4
|
-
interface ExtendedRenderOptions extends Omit<RenderOptions, 'queries'> {
|
|
5
|
-
url?: string;
|
|
6
|
-
path?: string;
|
|
7
|
-
preloadedState?: Partial<RootState>;
|
|
8
|
-
store?: AppStore;
|
|
9
|
-
}
|
|
10
|
-
export declare const waitForLoadingToFinish: () => Promise<void>;
|
|
11
|
-
export declare const renderApp: (ui: React.ReactElement, { url, path, preloadedState, store, ...renderOptions }?: ExtendedRenderOptions) => Promise<{
|
|
12
|
-
container: HTMLElement;
|
|
13
|
-
baseElement: HTMLElement;
|
|
14
|
-
debug: (baseElement?: import('react-dom/client').Container | (Element | Document) | Array<import('react-dom/client').Container | (Element | Document)> | undefined, maxLength?: number | undefined, options?: import('pretty-format').OptionsReceived | undefined) => void;
|
|
15
|
-
rerender: (ui: React.ReactNode) => void;
|
|
16
|
-
unmount: () => void;
|
|
17
|
-
asFragment: () => DocumentFragment;
|
|
18
|
-
getByLabelText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement;
|
|
19
|
-
getAllByLabelText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
20
|
-
queryByLabelText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement | null;
|
|
21
|
-
queryAllByLabelText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
22
|
-
findByLabelText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
23
|
-
findAllByLabelText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
24
|
-
getByPlaceholderText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement;
|
|
25
|
-
getAllByPlaceholderText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
26
|
-
queryByPlaceholderText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement | null;
|
|
27
|
-
queryAllByPlaceholderText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
28
|
-
findByPlaceholderText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
29
|
-
findAllByPlaceholderText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
30
|
-
getByText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement;
|
|
31
|
-
getAllByText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
32
|
-
queryByText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement | null;
|
|
33
|
-
queryAllByText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
34
|
-
findByText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
35
|
-
findAllByText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').SelectorMatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
36
|
-
getByAltText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement;
|
|
37
|
-
getAllByAltText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
38
|
-
queryByAltText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement | null;
|
|
39
|
-
queryAllByAltText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
40
|
-
findByAltText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
41
|
-
findAllByAltText: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
42
|
-
getByTitle: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement;
|
|
43
|
-
getAllByTitle: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
44
|
-
queryByTitle: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement | null;
|
|
45
|
-
queryAllByTitle: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
46
|
-
findByTitle: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
47
|
-
findAllByTitle: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
48
|
-
getByDisplayValue: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement;
|
|
49
|
-
getAllByDisplayValue: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
50
|
-
queryByDisplayValue: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement | null;
|
|
51
|
-
queryAllByDisplayValue: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
52
|
-
findByDisplayValue: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
53
|
-
findAllByDisplayValue: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
54
|
-
getByRole: (role: import('@testing-library/dom').ByRoleMatcher, options?: import('@testing-library/dom').ByRoleOptions | undefined) => HTMLElement;
|
|
55
|
-
getAllByRole: (role: import('@testing-library/dom').ByRoleMatcher, options?: import('@testing-library/dom').ByRoleOptions | undefined) => HTMLElement[];
|
|
56
|
-
queryByRole: (role: import('@testing-library/dom').ByRoleMatcher, options?: import('@testing-library/dom').ByRoleOptions | undefined) => HTMLElement | null;
|
|
57
|
-
queryAllByRole: (role: import('@testing-library/dom').ByRoleMatcher, options?: import('@testing-library/dom').ByRoleOptions | undefined) => HTMLElement[];
|
|
58
|
-
findByRole: (role: import('@testing-library/dom').ByRoleMatcher, options?: import('@testing-library/dom').ByRoleOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
59
|
-
findAllByRole: (role: import('@testing-library/dom').ByRoleMatcher, options?: import('@testing-library/dom').ByRoleOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
60
|
-
getByTestId: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement;
|
|
61
|
-
getAllByTestId: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
62
|
-
queryByTestId: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement | null;
|
|
63
|
-
queryAllByTestId: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined) => HTMLElement[];
|
|
64
|
-
findByTestId: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement>;
|
|
65
|
-
findAllByTestId: (id: import('@testing-library/dom').Matcher, options?: import('@testing-library/dom').MatcherOptions | undefined, waitForElementOptions?: import('@testing-library/dom').waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
66
|
-
}>;
|
|
67
|
-
export * from '@testing-library/react';
|
|
68
|
-
export { userEvent, rtlRender };
|
|
69
|
-
//# sourceMappingURL=test-utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../../src/v2/testing/test-utils.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,IAAI,SAAS,EAAqC,MAAM,wBAAwB,CAAC;AAChG,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAKpD,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,UAAU,qBAAsB,SAAQ,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC;IACpE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IACpC,KAAK,CAAC,EAAE,QAAQ,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,qBAG/B,CAAC;AAEL,eAAO,MAAM,SAAS,OAChB,KAAK,CAAC,YAAY,2DAOnB,qBAAqB;;;uBALb,CAAC,yJAOH,CAAC,6BAEN,CAAH;yBAMU,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBrB,CAAC;AAGF,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC"}
|
package/v2/types/api.d.ts
DELETED
package/v2/types/api.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/v2/types/api.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC"}
|
package/v2/types/app.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { IBaseUrls } from '../context';
|
|
3
|
-
import { IMetaData } from '@connector/utils';
|
|
4
|
-
import { ConnectorsAdminFunctions } from './exposedTypes';
|
|
5
|
-
export interface IAvailableFtr {
|
|
6
|
-
[key: string]: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface ISendTrackingEventData {
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
}
|
|
11
|
-
export interface IExtraParams {
|
|
12
|
-
sendTrackingEvent?: (event: string, data?: ISendTrackingEventData) => void;
|
|
13
|
-
userPermissions?: string[];
|
|
14
|
-
metaData?: IMetaData;
|
|
15
|
-
}
|
|
16
|
-
export interface IAppProviderProps {
|
|
17
|
-
children: ReactNode;
|
|
18
|
-
baseUrls?: IBaseUrls;
|
|
19
|
-
availableFeatures?: IAvailableFtr;
|
|
20
|
-
extraParams?: IExtraParams;
|
|
21
|
-
connectorFunctions: ConnectorsAdminFunctions;
|
|
22
|
-
nativeIntegrations?: NativeIntegrations[];
|
|
23
|
-
}
|
|
24
|
-
export interface NativeIntegrations {
|
|
25
|
-
name: string;
|
|
26
|
-
id: string;
|
|
27
|
-
Component: React.ComponentType;
|
|
28
|
-
logo: string;
|
|
29
|
-
isInboxLevConnector?: boolean;
|
|
30
|
-
featureKey: string;
|
|
31
|
-
isDeprecated?: boolean;
|
|
32
|
-
[key: string]: string | number | boolean | object | undefined;
|
|
33
|
-
}
|
|
34
|
-
export interface IConnectorApp {
|
|
35
|
-
isUnifiedView: true;
|
|
36
|
-
basename?: string;
|
|
37
|
-
baseUrls?: IBaseUrls;
|
|
38
|
-
availableFeatures?: IAvailableFtr;
|
|
39
|
-
extraParams?: IExtraParams;
|
|
40
|
-
connectorFunctions: ConnectorsAdminFunctions;
|
|
41
|
-
nativeIntegrations?: NativeIntegrations[];
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=app.d.ts.map
|
package/v2/types/app.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../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MAAM,WAAW,aAAa;IAC5B,aAAa,EAAE,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,aAAa,CAAC;IAClC,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,kBAAkB,EAAE,wBAAwB,CAAC;IAC7C,kBAAkB,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAC3C"}
|
package/v2/types/common.d.ts
DELETED
package/v2/types/common.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/v2/types/common.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,GAAG,MAAM,CAAC,GAAG,KAAK,CAAC;AACzD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
package/v2/types/connector.d.ts
DELETED
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { AuthFieldKeys } from '../features/auth/types/form';
|
|
2
|
-
import { TextFieldBaseProps } from './form';
|
|
3
|
-
import { IField } from './visibility';
|
|
4
|
-
export type ConnectorId = string;
|
|
5
|
-
export interface IAPI {
|
|
6
|
-
name: string;
|
|
7
|
-
keyName: string;
|
|
8
|
-
description: string;
|
|
9
|
-
}
|
|
10
|
-
export interface IOAuthDetails {
|
|
11
|
-
authType: 'Oauth2';
|
|
12
|
-
authEndpointUrl: string;
|
|
13
|
-
tokenEndpointUrl: string;
|
|
14
|
-
scopes?: Array<string>;
|
|
15
|
-
grantType?: string;
|
|
16
|
-
keyName: string;
|
|
17
|
-
prefix?: string;
|
|
18
|
-
clientId: string;
|
|
19
|
-
clientSecret: string;
|
|
20
|
-
}
|
|
21
|
-
export interface IAuthAPIKeyDetails {
|
|
22
|
-
authType: 'ApiKey';
|
|
23
|
-
location: string;
|
|
24
|
-
keyName: string;
|
|
25
|
-
keyValue: string;
|
|
26
|
-
prefix?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface IBasicAuthDetails {
|
|
29
|
-
authType: 'BasicAuth';
|
|
30
|
-
location: string;
|
|
31
|
-
keyName: string;
|
|
32
|
-
keyValue: string;
|
|
33
|
-
secretValue: string;
|
|
34
|
-
prefix: string;
|
|
35
|
-
}
|
|
36
|
-
export interface IConnectorVariable {
|
|
37
|
-
[key: string]: string;
|
|
38
|
-
}
|
|
39
|
-
export type IAuthDetails = IOAuthDetails | IAuthAPIKeyDetails | IBasicAuthDetails;
|
|
40
|
-
export interface IAPIKey {
|
|
41
|
-
label: string;
|
|
42
|
-
placeholderValue: string;
|
|
43
|
-
priority: number;
|
|
44
|
-
}
|
|
45
|
-
export interface ICard {
|
|
46
|
-
title: string;
|
|
47
|
-
priority: number;
|
|
48
|
-
type: 'flat' | 'flat_with_list' | 'create_resource';
|
|
49
|
-
output_map: {
|
|
50
|
-
[key: string]: IAPIKey;
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
export interface IIntegrationPanel {
|
|
54
|
-
position: string;
|
|
55
|
-
cards: Array<ICard>;
|
|
56
|
-
}
|
|
57
|
-
export interface InfoCard {
|
|
58
|
-
title: string;
|
|
59
|
-
id: string;
|
|
60
|
-
inboxes: {
|
|
61
|
-
email?: (string | number)[];
|
|
62
|
-
chat?: (string | number)[];
|
|
63
|
-
};
|
|
64
|
-
roles?: string[];
|
|
65
|
-
fields?: IField[];
|
|
66
|
-
isCardNew: false;
|
|
67
|
-
priority: number;
|
|
68
|
-
isCardCustom: boolean;
|
|
69
|
-
custom_card_key?: string;
|
|
70
|
-
isEnabledCustomCard: true;
|
|
71
|
-
}
|
|
72
|
-
export interface CustomInfoCard extends Partial<Omit<InfoCard, 'isEnabledCustomCard'>> {
|
|
73
|
-
title: string;
|
|
74
|
-
key: string;
|
|
75
|
-
custom_card_key: string;
|
|
76
|
-
isCardCustom: true;
|
|
77
|
-
isEnabledCustomCard: false;
|
|
78
|
-
}
|
|
79
|
-
export type SupportLinks = {
|
|
80
|
-
setupGuideVideoLink?: string;
|
|
81
|
-
setupGuideVideoPreviewImage?: string;
|
|
82
|
-
helpArticleLink?: string;
|
|
83
|
-
};
|
|
84
|
-
export type CarouselData = {
|
|
85
|
-
url: string;
|
|
86
|
-
};
|
|
87
|
-
export interface IConnectorDetails {
|
|
88
|
-
id: string;
|
|
89
|
-
type: string;
|
|
90
|
-
authDetails?: IAuthDetails;
|
|
91
|
-
isAuthenticated?: boolean;
|
|
92
|
-
isEnabled?: boolean;
|
|
93
|
-
name: string;
|
|
94
|
-
description: string;
|
|
95
|
-
apiList?: Array<IAPI>;
|
|
96
|
-
integrationPanel?: IIntegrationPanel;
|
|
97
|
-
variables?: IConnectorVariable;
|
|
98
|
-
redirectUrl?: string;
|
|
99
|
-
baseUrlRequired?: boolean;
|
|
100
|
-
logo: string | null;
|
|
101
|
-
variablesConfig?: TextFieldBaseProps[];
|
|
102
|
-
cardList?: InfoCard[];
|
|
103
|
-
showUpgradeButton?: boolean;
|
|
104
|
-
isTemplateNew?: boolean;
|
|
105
|
-
updates?: TrustedHTML;
|
|
106
|
-
upgradeGuideLink?: string;
|
|
107
|
-
upgradeGuideContent?: TrustedHTML;
|
|
108
|
-
advancedSettingsFields?: string[];
|
|
109
|
-
supportLinks?: SupportLinks;
|
|
110
|
-
interpolationFields?: Record<string, string>;
|
|
111
|
-
carouselImages?: CarouselData[];
|
|
112
|
-
templateDescription?: string;
|
|
113
|
-
oneClickAuthEnabled?: boolean;
|
|
114
|
-
hiddenFields?: AuthFieldKeys[];
|
|
115
|
-
isDeprecated?: boolean;
|
|
116
|
-
customCardsList?: CustomInfoCard[];
|
|
117
|
-
}
|
|
118
|
-
export interface IEnableConnectorParam {
|
|
119
|
-
roles: string[];
|
|
120
|
-
inboxes: {
|
|
121
|
-
email: string[];
|
|
122
|
-
chat: string[];
|
|
123
|
-
};
|
|
124
|
-
fields: IField[];
|
|
125
|
-
}
|
|
126
|
-
export interface EnableCardRequestBody {
|
|
127
|
-
title: string;
|
|
128
|
-
key: string;
|
|
129
|
-
custom_card_key: string;
|
|
130
|
-
}
|
|
131
|
-
export interface UpdateConnectorRequestBody {
|
|
132
|
-
inboxes: {
|
|
133
|
-
email: string[];
|
|
134
|
-
chat: string[];
|
|
135
|
-
};
|
|
136
|
-
roles: string[];
|
|
137
|
-
}
|
|
138
|
-
export type ConnectorAlertStatus = 'notAuthenticated' | 'upgrade' | 'deprecated';
|
|
139
|
-
export type ConnectorAppState = 'authenticated_enabled' | 'authenticated_disabled' | 'not_authenticated' | 'enabled_upgrade_available' | 'authentication_failed';
|
|
140
|
-
//# sourceMappingURL=connector.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connector.d.ts","sourceRoot":"","sources":["../../../src/v2/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,MAAM,cAAc,CAAC;AAEtC,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,aAAa;IAC5B,QAAQ,EAAE,QAAQ,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM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BAAoB,GAAG,kBAAkB,GAAG,SAAS,GAAG,YAAY,CAAC;AAEjF,MAAM,MAAM,iBAAiB,GACzB,uBAAuB,GACvB,wBAAwB,GACxB,mBAAmB,GACnB,2BAA2B,GAC3B,uBAAuB,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export interface IInboxData {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
[key: string]: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IRolesData {
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
[key: string]: string;
|
|
10
|
-
}
|
|
11
|
-
export interface ConnectorsAdminFunctions {
|
|
12
|
-
getInboxDetails: () => Promise<{
|
|
13
|
-
chatInboxes: IInboxData[];
|
|
14
|
-
emailInboxes: IInboxData[];
|
|
15
|
-
} | {
|
|
16
|
-
chatInboxes: null;
|
|
17
|
-
emailInboxes: null;
|
|
18
|
-
}>;
|
|
19
|
-
getRoles: () => Promise<{
|
|
20
|
-
roles: IRolesData[] | null;
|
|
21
|
-
}>;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=exposedTypes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"exposedTypes.d.ts","sourceRoot":"","sources":["../../../src/v2/types/exposedTypes.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,wBAAwB;IACvC,eAAe,EAAE,MAAM,OAAO,CAC5B;QAAE,WAAW,EAAE,UAAU,EAAE,CAAC;QAAC,YAAY,EAAE,UAAU,EAAE,CAAA;KAAE,GAAG;QAAE,WAAW,EAAE,IAAI,CAAC;QAAC,YAAY,EAAE,IAAI,CAAA;KAAE,CACtG,CAAC;IACF,QAAQ,EAAE,MAAM,OAAO,CAAC;QAAE,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;CACzD"}
|
package/v2/types/form.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { OutlinedInputProps } from '@hiver/hiver-ui-kit';
|
|
3
|
-
import { Props as SelectProps } from 'react-select';
|
|
4
|
-
export interface BaseFormFieldProps {
|
|
5
|
-
helperText?: string;
|
|
6
|
-
error?: boolean;
|
|
7
|
-
name: string;
|
|
8
|
-
toolTipTitle?: string;
|
|
9
|
-
isRequired?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface TextFieldBaseProps extends BaseFormFieldProps {
|
|
12
|
-
type: 'text' | 'number' | 'password';
|
|
13
|
-
label?: React.ReactNode;
|
|
14
|
-
}
|
|
15
|
-
export interface TextFieldProps extends TextFieldBaseProps, Omit<OutlinedInputProps, 'label' | 'name' | 'type'> {
|
|
16
|
-
}
|
|
17
|
-
export interface SelectFieldProps extends BaseFormFieldProps, Omit<SelectProps, 'name'> {
|
|
18
|
-
type: 'select';
|
|
19
|
-
label?: string;
|
|
20
|
-
}
|
|
21
|
-
export type FormFieldProps = TextFieldProps | SelectFieldProps;
|
|
22
|
-
export interface IFormConfig {
|
|
23
|
-
id: string | number;
|
|
24
|
-
title?: string;
|
|
25
|
-
formFields: FormFieldProps[];
|
|
26
|
-
}
|
|
27
|
-
export interface IValidateConfig {
|
|
28
|
-
id?: string;
|
|
29
|
-
name: string;
|
|
30
|
-
label?: React.ReactNode | string;
|
|
31
|
-
}
|
|
32
|
-
export interface ElementValidation {
|
|
33
|
-
isRequired?: boolean;
|
|
34
|
-
validate?: (values: unknown, appConfigs: IValidateConfig) => boolean | string;
|
|
35
|
-
}
|
|
36
|
-
export interface FormValidation {
|
|
37
|
-
[x: string]: ElementValidation;
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=form.d.ts.map
|
package/v2/types/form.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/v2/types/form.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,kBAAkB;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB;IAC5D,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;IACrC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB;AAED,MAAM,WAAW,cAAe,SAAQ,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;CAAG;AAElH,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC;IACrF,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG,gBAAgB,CAAC;AAE/D,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,cAAc,EAAE,CAAC;CAC9B;AAED,MAAM,WAA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