@hiver/connector-admin 4.29.0-pmCommentSync-beta.0 → 4.29.0-slackRichText-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/pages/app-detail/StatusMenu.d.ts.map +1 -1
- package/app/connectors/pages/app-detail/legacy/EnabledToggle.d.ts.map +1 -1
- package/app/connectors/pages/settings/index.d.ts.map +1 -1
- package/constants/global-constants.d.ts +0 -1
- package/constants/global-constants.d.ts.map +1 -1
- package/features/advanced-features/api/advanceFeatureMutation.d.ts +0 -2
- package/features/advanced-features/api/advanceFeatureMutation.d.ts.map +1 -1
- package/features/advanced-features/components/confirm-modal/index.d.ts +4 -1
- package/features/advanced-features/components/confirm-modal/index.d.ts.map +1 -1
- package/features/advanced-features/components/feature-item/index.d.ts +2 -4
- package/features/advanced-features/components/feature-item/index.d.ts.map +1 -1
- package/features/advanced-features/components/feature-list/index.d.ts.map +1 -1
- package/features/advanced-features/constants/index.d.ts +0 -2
- package/features/advanced-features/constants/index.d.ts.map +1 -1
- package/features/advanced-features/types/index.d.ts +0 -10
- package/features/advanced-features/types/index.d.ts.map +1 -1
- package/features/connector-library/components/custom-connector-card-item/index.d.ts.map +1 -1
- package/features/slack/api/automationImpact.d.ts +14 -0
- package/features/slack/api/automationImpact.d.ts.map +1 -0
- package/features/slack/api/index.d.ts +2 -0
- package/features/slack/api/index.d.ts.map +1 -1
- package/features/slack/components/DisableSlackImpactNames.d.ts +5 -0
- package/features/slack/components/DisableSlackImpactNames.d.ts.map +1 -0
- package/features/slack/constants/api.d.ts +1 -0
- package/features/slack/constants/api.d.ts.map +1 -1
- package/features/slack/constants/disableConfirm.d.ts +8 -0
- package/features/slack/constants/disableConfirm.d.ts.map +1 -0
- package/features/slack/hooks/useConfirmSlackDisable.d.ts +13 -0
- package/features/slack/hooks/useConfirmSlackDisable.d.ts.map +1 -0
- package/index.es.js +8802 -8769
- package/index.umd.js +303 -303
- package/package.json +1 -1
- package/style.css +1 -1
- package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusMenu.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/StatusMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"StatusMenu.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/StatusMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAoB7D,UAAU,eAAe;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,mHAAmH;IACnH,eAAe,EAAE,OAAO,CAAC;IACzB,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAOD;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA6E1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnabledToggle.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/app-detail/legacy/EnabledToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,EAAE,EAAc,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"EnabledToggle.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/app-detail/legacy/EnabledToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,EAAE,EAAc,MAAM,OAAO,CAAC;AAmBpD,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB;;0CAEsC;IACtC,eAAe,EAAE,OAAO,CAAC;IACzB,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAiEhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/settings/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/settings/index.tsx"],"names":[],"mappings":"AAkDA,eAAO,MAAM,QAAQ,+CAkNpB,CAAC"}
|
|
@@ -11,7 +11,6 @@ export declare const FTR_AUTH_STATUS_POLL = "ftr-connectors-auth-status-poll";
|
|
|
11
11
|
export declare const FTR_INTEGRATION_SENSE = "ftr-integration-sense-ui";
|
|
12
12
|
export declare const FTR_QUICK_ACCESS = "ftr-connectors-quick-actions";
|
|
13
13
|
export declare const FTR_EMAIL_LOGGING = "ftr-ci-log-emails";
|
|
14
|
-
export declare const FTR_PM_COMMENT_SYNC = "ftr-pm-comment-sync";
|
|
15
14
|
export declare const FTR_APP_CUSTOM_FIELDS = "ftr-app-custom-fields";
|
|
16
15
|
export declare const FTR_SETUP_WITH_AI = "ftr-connectors-setup-with-ai";
|
|
17
16
|
export declare const FTR_USER_AUTH = "ftr-ci-user-auth";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-constants.d.ts","sourceRoot":"","sources":["../../src/constants/global-constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,wCAAwC,2CAA2C,CAAC;AACjG,eAAO,MAAM,0CAA0C,uCAAuC,CAAC;AAC/F,eAAO,MAAM,2BAA2B,qCAAqC,CAAC;AAC9E,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AACzE,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,iBAAiB,2CAA2C,CAAC;AAO1E,eAAO,MAAM,oBAAoB,oCAAoC,CAAC;AACtE,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,gBAAgB,iCAAiC,CAAC;AAC/D,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"global-constants.d.ts","sourceRoot":"","sources":["../../src/constants/global-constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,wCAAwC,2CAA2C,CAAC;AACjG,eAAO,MAAM,0CAA0C,uCAAuC,CAAC;AAC/F,eAAO,MAAM,2BAA2B,qCAAqC,CAAC;AAC9E,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AACzE,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,iBAAiB,2CAA2C,CAAC;AAO1E,eAAO,MAAM,oBAAoB,oCAAoC,CAAC;AACtE,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,gBAAgB,iCAAiC,CAAC;AAC/D,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,iBAAiB,iCAAiC,CAAC;AAIhE,eAAO,MAAM,aAAa,qBAAqB,CAAC;AAChD,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAE/D,eAAO,MAAM,iBAAiB,SAAS,CAAC;AACxC,eAAO,MAAM,WAAW,qBAAqB,CAAC;AAC9C,eAAO,MAAM,wBAAwB,4GAA4G,CAAC;AAClJ,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,cAAc,wBAAwB,CAAC;AACpD,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,YAAY,yDAAyD,CAAC;AACnF,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,cAAc,SAAS,CAAC;AACrC,eAAO,MAAM,yBAAyB,0BAA0B,CAAC;AACjE,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,kBAAkB,0BAA0B,CAAC;AAE1D,eAAO,MAAM,sBAAsB,yDAAyD,CAAC;AAC7F,eAAO,MAAM,qBAAqB,mDAAmD,CAAC;AACtF,eAAO,MAAM,iBAAiB,qDAAqD,CAAC;AACpF,eAAO,MAAM,oBAAoB,+DAA+D,CAAC;AACjG,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AACzE,eAAO,MAAM,2BAA2B,+FACsD,CAAC;AAC/F,eAAO,MAAM,4BAA4B,8CAA8C,CAAC;AACxF,eAAO,MAAM,wBAAwB,iCAAiC,CAAC;AACvE,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,uBAAuB,+BAA+B,CAAC;AACpE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,6BAA6B,CAAC"}
|
|
@@ -2,8 +2,6 @@ type AdvancedFeatureData = Record<string, boolean>;
|
|
|
2
2
|
interface PatchAdvancedFeature {
|
|
3
3
|
connectorId: string;
|
|
4
4
|
data: AdvancedFeatureData;
|
|
5
|
-
/** Replaces the generic success toast. */
|
|
6
|
-
successMessage?: string;
|
|
7
5
|
}
|
|
8
6
|
interface PatchAdvancedFeatureResponse {
|
|
9
7
|
success: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advanceFeatureMutation.d.ts","sourceRoot":"","sources":["../../../../src/features/advanced-features/api/advanceFeatureMutation.ts"],"names":[],"mappings":"AAUA,KAAK,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEnD,UAAU,oBAAoB;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"advanceFeatureMutation.d.ts","sourceRoot":"","sources":["../../../../src/features/advanced-features/api/advanceFeatureMutation.ts"],"names":[],"mappings":"AAUA,KAAK,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEnD,UAAU,oBAAoB;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED,UAAU,4BAA4B;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAwBD,wBAAgB,wBAAwB,0HAavC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
interface ConfirmModalProps {
|
|
2
3
|
title: string;
|
|
3
4
|
description: string;
|
|
@@ -8,6 +9,8 @@ interface ConfirmModalProps {
|
|
|
8
9
|
danger?: boolean;
|
|
9
10
|
onConfirm: () => void;
|
|
10
11
|
onCancel: () => void;
|
|
12
|
+
/** Extra content under the description (e.g. a list of affected items). */
|
|
13
|
+
children?: ReactNode;
|
|
11
14
|
}
|
|
12
15
|
/**
|
|
13
16
|
* Generic confirm dialog content, rendered inside the shared `Modal`.
|
|
@@ -16,6 +19,6 @@ interface ConfirmModalProps {
|
|
|
16
19
|
* the shared Modal wrapper (showCloseButton). Built for the "Confirm
|
|
17
20
|
* Changes?" gate before enabling user-level auth, kept prop-driven for reuse.
|
|
18
21
|
*/
|
|
19
|
-
export declare const ConfirmModal: ({ title, description, confirmLabel, cancelLabel, isLoading, danger, onConfirm, onCancel }: ConfirmModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const ConfirmModal: ({ title, description, confirmLabel, cancelLabel, isLoading, danger, onConfirm, onCancel, children }: ConfirmModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
23
|
export {};
|
|
21
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/advanced-features/components/confirm-modal/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/advanced-features/components/confirm-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKlC,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iEAAiE;IACjE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAWD;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,wGAUtB,iBAAiB,4CAiFnB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentType, SVGProps } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ModalSettings } from '../../types';
|
|
3
3
|
interface FeatureItemProps {
|
|
4
4
|
id: string;
|
|
5
5
|
heading: string;
|
|
@@ -9,13 +9,11 @@ interface FeatureItemProps {
|
|
|
9
9
|
connectorId: string;
|
|
10
10
|
connectorType: string;
|
|
11
11
|
modalSettings?: ModalSettings;
|
|
12
|
-
/** Placeholders ({{app_name}}) already filled. */
|
|
13
|
-
disableConfirm?: DisableConfirm;
|
|
14
12
|
disabled?: boolean;
|
|
15
13
|
tooltipContent?: string;
|
|
16
14
|
headingWarning?: string;
|
|
17
15
|
soloSpansFullWidth?: boolean;
|
|
18
16
|
}
|
|
19
|
-
export declare const FeatureItem: ({ id, heading, subHeading, isEnabled, icon, connectorId, connectorType, modalSettings,
|
|
17
|
+
export declare const FeatureItem: ({ id, heading, subHeading, isEnabled, icon, connectorId, connectorType, modalSettings, disabled, tooltipContent, headingWarning, soloSpansFullWidth }: FeatureItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
18
|
export {};
|
|
21
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/advanced-features/components/feature-item/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAmBrD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/advanced-features/components/feature-item/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAmBrD,OAAO,KAAK,EAAE,aAAa,EAAgB,MAAM,aAAa,CAAC;AAC/D,UAAU,gBAAgB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;IAC7C,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,eAAO,MAAM,WAAW,0JAarB,gBAAgB,4CAyLlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/advanced-features/components/feature-list/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAa9F,UAAU,gBAAgB;IACxB,gBAAgB,EAAE,gBAAgB,GAAG,kBAAkB,CAAC;IACxD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAGtB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAIlD,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAGtB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAG7B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,eAAO,MAAM,WAAW,8JASrB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/advanced-features/components/feature-list/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAa9F,UAAU,gBAAgB;IACxB,gBAAgB,EAAE,gBAAgB,GAAG,kBAAkB,CAAC;IACxD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAGtB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAIlD,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAGtB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAG7B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,eAAO,MAAM,WAAW,8JASrB,gBAAgB,mDAuElB,CAAC"}
|
|
@@ -6,8 +6,6 @@ export declare const INTEGRATION_SENSE_ID = "integration_sense";
|
|
|
6
6
|
export declare const EMAIL_LOGGING_ID = "email_log_settings";
|
|
7
7
|
export declare const QUICK_ACCESS_ID = "quick_access";
|
|
8
8
|
export declare const USER_AUTH_ENABLED_ID = "user_auth_enabled";
|
|
9
|
-
/** Emitted by the backend only for the six PM connector types (PRD R1). */
|
|
10
|
-
export declare const COMMENT_SYNC_ID = "comment_sync";
|
|
11
9
|
export declare const SINGLETON_MESSAGE = "This feature can only be used for one App and is currently enabled for :enabledConnector.";
|
|
12
10
|
export declare const SMART_PREVIEWS_MULTIPLE_APPS_WARNING = "Please ensure this feature is enabled for only one App per Inbox";
|
|
13
11
|
export declare const ADVANCED_FEATURES: AdvancedFeature[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/advanced-features/constants/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/advanced-features/constants/index.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD;sEACsE;AACtE,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC,CAE1E,CAAC;AAEF,eAAO,MAAM,oBAAoB,sBAAsB,CAAC;AACxD,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM,eAAe,iBAAiB,CAAC;AAC9C,eAAO,MAAM,oBAAoB,sBAAsB,CAAC;AACxD,eAAO,MAAM,iBAAiB,8FAC+D,CAAC;AAC9F,eAAO,MAAM,oCAAoC,qEAAqE,CAAC;AACvH,eAAO,MAAM,iBAAiB,EAAE,eAAe,EA+C9C,CAAC;AAEF,eAAO,MAAM,KAAK,sBAAsB,CAAC;AACzC,eAAO,MAAM,SAAS,0EAA0E,CAAC;AAMjG,eAAO,MAAM,wBAAwB;;;;;CAMpC,CAAC"}
|
|
@@ -17,16 +17,6 @@ export interface AdvancedFeature {
|
|
|
17
17
|
icon: ComponentType<SVGProps<SVGSVGElement>>;
|
|
18
18
|
featureKey: string;
|
|
19
19
|
modalSettings?: ModalSettings;
|
|
20
|
-
/** On only when the host passes the flag as true; `enableAllConnectorFtr` doesn't turn it on. */
|
|
21
|
-
explicitFlag?: boolean;
|
|
22
|
-
/** Asked before the feature is turned off; the toast after it uses `disabledMessage`. */
|
|
23
|
-
disableConfirm?: DisableConfirm;
|
|
24
|
-
}
|
|
25
|
-
export interface DisableConfirm {
|
|
26
|
-
title: string;
|
|
27
|
-
description: string;
|
|
28
|
-
confirmLabel: string;
|
|
29
|
-
disabledMessage: string;
|
|
30
20
|
}
|
|
31
21
|
export type FeedbackData = {
|
|
32
22
|
feedback_type: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/advanced-features/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAErD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE;QACT,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACH;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;IAC7C,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/advanced-features/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAErD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE;QACT,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACH;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;IAC7C,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/custom-connector-card-item/index.tsx"],"names":[],"mappings":"AAsCA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/custom-connector-card-item/index.tsx"],"names":[],"mappings":"AAsCA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAiBtD,UAAU,wBAAwB;IAChC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAsBD,eAAO,MAAM,uBAAuB,iEAKjC,wBAAwB,4CA4M1B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface SlackAutomationImpact {
|
|
2
|
+
/** null when automations-api could not list them. */
|
|
3
|
+
count: number | null;
|
|
4
|
+
automations: {
|
|
5
|
+
id: number | string;
|
|
6
|
+
name: string;
|
|
7
|
+
}[];
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Active automations with a Slack step. null when the call fails, including the 403
|
|
11
|
+
* the backend returns while Slack automations are off for the account.
|
|
12
|
+
*/
|
|
13
|
+
export declare const fetchSlackAutomationImpact: () => Promise<SlackAutomationImpact | null>;
|
|
14
|
+
//# sourceMappingURL=automationImpact.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"automationImpact.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/api/automationImpact.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,qBAAqB;IACpC,qDAAqD;IACrD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACtD;AAED;;;GAGG;AACH,eAAO,MAAM,0BAA0B,QAAa,OAAO,CAAC,qBAAqB,GAAG,IAAI,CAYvF,CAAC"}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export { useCreateSlackAdminConfig, useDeleteSlackAdminConfig, useListSlackAdminConfigs, useSlackEffectiveConfig, useUpdateSlackAdminConfig } from './configs';
|
|
2
|
+
export { fetchSlackAutomationImpact } from './automationImpact';
|
|
3
|
+
export type { SlackAutomationImpact } from './automationImpact';
|
|
2
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisableSlackImpactNames.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/DisableSlackImpactNames.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAIpD,eAAO,MAAM,uBAAuB,eAAgB;IAAE,MAAM,EAAE,qBAAqB,CAAA;CAAE,mDAyBpF,CAAC"}
|
|
@@ -2,4 +2,5 @@ export declare const SLACK_BASE_URL = "/v1/connectors/slack";
|
|
|
2
2
|
export declare const SLACK_ADMIN_CONFIGS_API: string;
|
|
3
3
|
export declare const SLACK_ADMIN_CONFIG_BY_ID_API: string;
|
|
4
4
|
export declare const SLACK_EFFECTIVE_CONFIG_API: string;
|
|
5
|
+
export declare const SLACK_AUTOMATION_IMPACT_API = "/v1/api/connector/automation/slack/bot/impact";
|
|
5
6
|
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/constants/api.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,yBAAyB,CAAC;AAOrD,eAAO,MAAM,uBAAuB,EAAE,MAA0C,CAAC;AACjF,eAAO,MAAM,4BAA4B,EAAE,MAAoD,CAAC;AAChG,eAAO,MAAM,0BAA0B,EAAE,MAA8C,CAAC"}
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/constants/api.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,yBAAyB,CAAC;AAOrD,eAAO,MAAM,uBAAuB,EAAE,MAA0C,CAAC;AACjF,eAAO,MAAM,4BAA4B,EAAE,MAAoD,CAAC;AAChG,eAAO,MAAM,0BAA0B,EAAE,MAA8C,CAAC;AAIxF,eAAO,MAAM,2BAA2B,kDAAkD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disableConfirm.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/constants/disableConfirm.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,qBAAqB;;;;;CAKjC,CAAC;AAEF,eAAO,MAAM,uBAAuB,UAAW,MAAM,GAAG,IAAI,WAO3D,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Turning the Slack app off switches off every automation with a Slack step (Slack via
|
|
4
|
+
* Automations, decision Q7). Before disabling Slack, list those automations and ask to
|
|
5
|
+
* confirm. Other apps, accounts without Slack automations, and a failed lookup (including
|
|
6
|
+
* the 403 while the feature is off) disable straight away, as before.
|
|
7
|
+
*/
|
|
8
|
+
export declare const useConfirmSlackDisable: () => {
|
|
9
|
+
confirmDisable: (connectorType: string | undefined, proceed: () => void) => Promise<void>;
|
|
10
|
+
isChecking: boolean;
|
|
11
|
+
confirmDialog: ReactNode;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=useConfirmSlackDisable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useConfirmSlackDisable.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/hooks/useConfirmSlackDisable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAc5C;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,QAAO;IACxC,cAAc,EAAE,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1F,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,SAAS,CAAC;CA+C1B,CAAC"}
|