@hiver/connector-agent 4.18.2-slackm2-beta.0 → 4.19.0-attachment-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/hig-slack/HigSlackSection.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/attachment/card-attachment-list.d.ts +6 -0
- package/features/connector-cards/components/card-list/attachment/card-attachment-list.d.ts.map +1 -0
- package/features/connector-cards/components/card-list/attachment/styles.d.ts +9 -0
- package/features/connector-cards/components/card-list/attachment/styles.d.ts.map +1 -0
- package/features/connector-cards/components/card-list/card-content-value.d.ts +1 -1
- package/features/connector-cards/components/card-list/card-content-value.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/list-item-modal.d.ts.map +1 -1
- package/features/slack/api/linked-conv.d.ts +6 -38
- package/features/slack/api/linked-conv.d.ts.map +1 -1
- package/features/slack/components/HeroIllustration.d.ts +0 -1
- package/features/slack/components/HeroIllustration.d.ts.map +1 -1
- package/features/slack/components/LinkedConversationPanel/ThreadDetailView.d.ts.map +1 -1
- package/features/slack/components/SlackConversationTab.d.ts.map +1 -1
- package/features/write-form/api/uploadAttachment.d.ts +10 -0
- package/features/write-form/api/uploadAttachment.d.ts.map +1 -0
- package/features/write-form/components/write-form/index.d.ts.map +1 -1
- package/features/write-form/constants/api.d.ts +1 -0
- package/features/write-form/constants/api.d.ts.map +1 -1
- package/features/write-form/constants/index.d.ts +1 -0
- package/features/write-form/constants/index.d.ts.map +1 -1
- package/features/write-form/store/slice.d.ts +2 -0
- package/features/write-form/store/slice.d.ts.map +1 -1
- package/features/write-form/utils/response.d.ts.map +1 -1
- package/index.es.js +11052 -10334
- package/index.umd.js +621 -399
- package/main-dev.d.ts.map +1 -1
- package/package.json +1 -1
- package/testing/mocks/handlers/attachments.d.ts +2 -0
- package/testing/mocks/handlers/attachments.d.ts.map +1 -0
- package/testing/mocks/handlers/fetch-cards.d.ts +32 -4
- package/testing/mocks/handlers/fetch-cards.d.ts.map +1 -1
- package/testing/mocks/handlers/write-capability.d.ts.map +1 -1
- package/testing/mocks/handlers.d.ts.map +1 -1
- package/types/cards.d.ts +18 -5
- package/types/cards.d.ts.map +1 -1
- package/types/form.d.ts +6 -3
- package/types/form.d.ts.map +1 -1
- package/utils/form.d.ts +1 -1
- package/utils/form.d.ts.map +1 -1
- package/features/slack/api/__tests__/linked-conv.test.d.ts +0 -2
- package/features/slack/api/__tests__/linked-conv.test.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HigSlackSection.d.ts","sourceRoot":"","sources":["../../../src/app/hig-slack/HigSlackSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAkC,MAAM,OAAO,CAAC;AAQ3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAiCjE,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,GAAG;IACpD;yEACqE;IACrE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;
|
|
1
|
+
{"version":3,"file":"HigSlackSection.d.ts","sourceRoot":"","sources":["../../../src/app/hig-slack/HigSlackSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAkC,MAAM,OAAO,CAAC;AAQ3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAiCjE,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,GAAG;IACpD;yEACqE;IACrE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAwOF;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAIpD,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ICardAttachment } from '../../../../../types/cards';
|
|
2
|
+
export interface ICardAttachmentListProps {
|
|
3
|
+
attachments: ICardAttachment[];
|
|
4
|
+
}
|
|
5
|
+
export declare const CardAttachmentList: ({ attachments }: ICardAttachmentListProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=card-attachment-list.d.ts.map
|
package/features/connector-cards/components/card-list/attachment/card-attachment-list.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-attachment-list.d.ts","sourceRoot":"","sources":["../../../../../../src/features/connector-cards/components/card-list/attachment/card-attachment-list.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAWrD,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,eAAe,EAAE,CAAC;CAChC;AA8DD,eAAO,MAAM,kBAAkB,oBAAqB,wBAAwB,4CAuB3E,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BoxProps, StackProps } from '@hiver/hiver-ui-kit';
|
|
2
|
+
import { StyledComponent } from '@emotion/styled';
|
|
3
|
+
export declare const AttachmentList: StyledComponent<StackProps>;
|
|
4
|
+
export declare const AttachmentPillButton: StyledComponent<JSX.IntrinsicElements['button']>;
|
|
5
|
+
export declare const AttachmentPillAnchor: StyledComponent<JSX.IntrinsicElements['a']>;
|
|
6
|
+
export declare const FileIconWrapper: StyledComponent<BoxProps>;
|
|
7
|
+
export declare const FileName: StyledComponent<BoxProps>;
|
|
8
|
+
export declare const ActionIcon: StyledComponent<BoxProps>;
|
|
9
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/features/connector-cards/components/card-list/attachment/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAsClD,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CAItD,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,GAAG,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAGjF,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAE5E,CAAC;AAGF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CASrD,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAO9C,CAAC;AAGF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAOhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-content-value.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/card-content-value.tsx"],"names":[],"mappings":"AAyBA,OAAO,EAAE,KAAK,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"card-content-value.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/card-content-value.tsx"],"names":[],"mappings":"AAyBA,OAAO,EAAE,KAAK,EAAE,cAAc,EAAmB,MAAM,eAAe,CAAC;AAGvE,UAAU,MAAM;IACd,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IAC7B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,gBAAgB,UAAW,MAAM,4CA2L7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-item-modal.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/list-item-modal.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"list-item-modal.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/list-item-modal.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAE,KAAK,EAAmB,YAAY,EAAE,MAAM,eAAe,CAAC;AAE1E,UAAU,MAAM;IACd,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC7D;AAaD,eAAO,MAAM,aAAa,+CAAgD,MAAM,4CA8G/E,CAAC"}
|
|
@@ -10,29 +10,6 @@ import { ExternalConversation, SlackThreadGroup } from '../types/wire';
|
|
|
10
10
|
* the timer.
|
|
11
11
|
*/
|
|
12
12
|
export declare const LINKED_CONV_POLL_INTERVAL_MS = 2000;
|
|
13
|
-
/**
|
|
14
|
-
* Slower cadence for the HIG details-panel section (M-HIG). Unlike the tab
|
|
15
|
-
* — which mounts only when the agent opens it — the section lives in the
|
|
16
|
-
* mail-view details column and is near-permanently mounted, so it polls at a
|
|
17
|
-
* lighter rate to keep the always-on background load down. The tab keeps the
|
|
18
|
-
* snappier LINKED_CONV_POLL_INTERVAL_MS.
|
|
19
|
-
*/
|
|
20
|
-
export declare const SECTION_POLL_INTERVAL_MS = 5000;
|
|
21
|
-
/**
|
|
22
|
-
* Backoff ceiling for a failing poll. While the endpoint keeps erroring the
|
|
23
|
-
* interval doubles per consecutive failure and is clamped here, so a dead
|
|
24
|
-
* backend is hit at most once a minute instead of every 2s. The first
|
|
25
|
-
* successful fetch resets react-query's failure count, snapping the cadence
|
|
26
|
-
* straight back to the base interval.
|
|
27
|
-
*/
|
|
28
|
-
export declare const MAX_POLL_BACKOFF_MS = 60000;
|
|
29
|
-
/**
|
|
30
|
-
* Base interval → actual interval given the number of consecutive fetch
|
|
31
|
-
* failures. Exponential backoff (base·2^failures) capped at
|
|
32
|
-
* MAX_POLL_BACKOFF_MS; a healthy / just-recovered query (failureCount 0)
|
|
33
|
-
* polls at the base cadence.
|
|
34
|
-
*/
|
|
35
|
-
export declare function backedOffInterval(baseMs: number, failureCount: number): number;
|
|
36
13
|
/**
|
|
37
14
|
* Reads the linked Slack thread for a Hiver conversation, if any.
|
|
38
15
|
* Returns `null` on 404 (no link yet) and surfaces other errors
|
|
@@ -40,26 +17,17 @@ export declare function backedOffInterval(baseMs: number, failureCount: number):
|
|
|
40
17
|
*
|
|
41
18
|
* Used by SlackEmptyState (UI-1) to branch between the "Start" CTAs
|
|
42
19
|
* and the LinkedConversationPanel (UI-5). Polls every
|
|
43
|
-
*
|
|
44
|
-
* messages surface without a websocket — react-query pauses
|
|
45
|
-
* when the
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* Two load-shedding behaviours layer on the base cadence:
|
|
49
|
-
* - Pass a falsy interval (0 / undefined) to disable polling entirely
|
|
50
|
-
* (the surface is inactive / hidden behind another tab).
|
|
51
|
-
* - While the endpoint is failing, the effective interval backs off
|
|
52
|
-
* exponentially up to MAX_POLL_BACKOFF_MS and snaps back to base on
|
|
53
|
-
* the first success (see `backedOffInterval`).
|
|
20
|
+
* LINKED_CONV_POLL_INTERVAL_MS while the tab is mounted so inbound
|
|
21
|
+
* Slack messages surface without a websocket — react-query pauses
|
|
22
|
+
* the timer automatically when the tab is in the background, so
|
|
23
|
+
* idle conversations don't burn requests.
|
|
54
24
|
*/
|
|
55
25
|
export declare function useLinkedConversation(hiverConvId: string, enabled?: boolean, refetchIntervalMs?: number): import('@tanstack/react-query').UseQueryResult<ExternalConversation | null, Error>;
|
|
56
26
|
/**
|
|
57
27
|
* Channel mode (B4): lazily fetch a single thread's messages (root +
|
|
58
28
|
* replies) when the user drills into it from the channel list. Enabled
|
|
59
29
|
* only while a thread is open, so the channel list view never pays for
|
|
60
|
-
* replies. Polls on the same cadence so live replies surface
|
|
61
|
-
* `useLinkedConversation`, pauses when the surface is inactive (`isActive`
|
|
62
|
-
* false) and backs off while the endpoint is failing.
|
|
30
|
+
* replies. Polls on the same cadence so live replies surface.
|
|
63
31
|
*/
|
|
64
|
-
export declare function useThread(hiverConvId: string, threadTs: string | null
|
|
32
|
+
export declare function useThread(hiverConvId: string, threadTs: string | null): import('@tanstack/react-query').UseQueryResult<SlackThreadGroup, Error>;
|
|
65
33
|
//# sourceMappingURL=linked-conv.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linked-conv.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/api/linked-conv.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE1F;;;;;;;;;GASG;AACH,eAAO,MAAM,4BAA4B,OAAO,CAAC;AAEjD
|
|
1
|
+
{"version":3,"file":"linked-conv.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/api/linked-conv.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE1F;;;;;;;;;GASG;AACH,eAAO,MAAM,4BAA4B,OAAO,CAAC;AAEjD;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,MAAM,EACnB,OAAO,UAAO,EACd,iBAAiB,GAAE,MAAqC,sFAoBzD;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,2EASrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeroIllustration.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/HeroIllustration.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAM3B;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC;IAAE,KAAK,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"HeroIllustration.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/HeroIllustration.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAM3B;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAQnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThreadDetailView.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/ThreadDetailView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAyC,MAAM,OAAO,CAAC;AA0F7E,UAAU,qBAAqB;IAC7B,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC;0EACsE;IACtE,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;IAChD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB;;qEAEiE;IACjE,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"ThreadDetailView.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/ThreadDetailView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAyC,MAAM,OAAO,CAAC;AA0F7E,UAAU,qBAAqB;IAC7B,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC;0EACsE;IACtE,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;IAChD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB;;qEAEiE;IACjE,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAwKtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlackConversationTab.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/SlackConversationTab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAwB7D,UAAU,yBAAyB;IACjC;;oDAEgD;IAChD,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;CACnC;AAuCD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,
|
|
1
|
+
{"version":3,"file":"SlackConversationTab.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/components/SlackConversationTab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAwB7D,UAAU,yBAAyB;IACjC;;oDAEgD;IAChD,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;CACnC;AAuCD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CA2M9D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface UploadedAttachment {
|
|
2
|
+
attachmentId: string;
|
|
3
|
+
filename: string;
|
|
4
|
+
size: number;
|
|
5
|
+
mimeType: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const uploadAttachment: (file: File) => Promise<UploadedAttachment>;
|
|
9
|
+
export declare const useUploadAttachmentMutation: () => import('@tanstack/react-query').UseMutationResult<UploadedAttachment, Error, File, unknown>;
|
|
10
|
+
//# sourceMappingURL=uploadAttachment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploadAttachment.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/api/uploadAttachment.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IAGjB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,gBAAgB,SAAgB,IAAI,KAAG,OAAO,CAAC,kBAAkB,CAgC7E,CAAC;AAKF,eAAO,MAAM,2BAA2B,mGAGpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/write-form/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/write-form/index.tsx"],"names":[],"mappings":"AAkDA,OAAO,KAAK,EAA+B,UAAU,EAAkB,MAAM,eAAe,CAAC;AAyB7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAE1D,OAAO,KAAK,EAA+B,UAAU,EAAc,MAAM,cAAc,CAAC;AAGxF,eAAO,MAAM,iBAAiB,wCAAwC,CAAC;AAEvE,UAAU,cAAc;IACtB,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAClC,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC,CAAC;IACxE,cAAc,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/D,eAAe,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC;IAC3E,iBAAiB,CAAC,EAAE,CAAC,aAAa,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CAC1D;AACD,QAAA,MAAM,SAAS,gJAWZ,cAAc,4CA8rBhB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -8,4 +8,5 @@ export declare const FETCH_CURRENT_RESOURCE_DETAILS_API: string;
|
|
|
8
8
|
export declare const CUSTOM_FIELDS_API_PATH: string;
|
|
9
9
|
export declare const FORM_DEFAULTS_API = "/v1/api/connectors/forms/:formId/defaults";
|
|
10
10
|
export declare const FORM_DEFAULT_VALUES_API = "/v1/api/connectors/forms/:formId/default-values";
|
|
11
|
+
export declare const ATTACHMENTS_API = "/v1/api/connectors/attachments";
|
|
11
12
|
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/constants/api.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,YAAY,CAAC;AAClC,eAAO,MAAM,qBAAqB,EAAE,MAA4C,CAAC;AACjF,eAAO,MAAM,eAAe,EAAE,MAAkD,CAAC;AACjF,eAAO,MAAM,aAAa,EAAE,MAAgD,CAAC;AAC7E,eAAO,MAAM,gBAAgB,EAAE,MAAmD,CAAC;AACnF,eAAO,MAAM,WAAW,EAAE,MAA8C,CAAC;AACzE,eAAO,MAAM,kCAAkC,EAAE,MAAoD,CAAC;AACtG,eAAO,MAAM,sBAAsB,EAAE,MAAuE,CAAC;AAC7G,eAAO,MAAM,iBAAiB,8CAAkD,CAAC;AACjF,eAAO,MAAM,uBAAuB,oDAAwD,CAAC"}
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/constants/api.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,YAAY,CAAC;AAClC,eAAO,MAAM,qBAAqB,EAAE,MAA4C,CAAC;AACjF,eAAO,MAAM,eAAe,EAAE,MAAkD,CAAC;AACjF,eAAO,MAAM,aAAa,EAAE,MAAgD,CAAC;AAC7E,eAAO,MAAM,gBAAgB,EAAE,MAAmD,CAAC;AACnF,eAAO,MAAM,WAAW,EAAE,MAA8C,CAAC;AACzE,eAAO,MAAM,kCAAkC,EAAE,MAAoD,CAAC;AACtG,eAAO,MAAM,sBAAsB,EAAE,MAAuE,CAAC;AAC7G,eAAO,MAAM,iBAAiB,8CAAkD,CAAC;AACjF,eAAO,MAAM,uBAAuB,oDAAwD,CAAC;AAC7F,eAAO,MAAM,eAAe,mCAAuC,CAAC"}
|
|
@@ -18,6 +18,7 @@ export declare const PASTE_URL_PLACEHOLDER = "Paste URL or ID";
|
|
|
18
18
|
export declare const OBJECT_ID_LABEL = "Object ID/Link";
|
|
19
19
|
export declare const CARD_UPDATED = "Card updated";
|
|
20
20
|
export declare const CARD_UPDATION_FAILED = "Card updation failed";
|
|
21
|
+
export declare const ATTACHMENTS_EXPIRED_PREFIX = "These attachments expired and could not be added \u2014 please re-upload:";
|
|
21
22
|
export declare const EXPANDED_COLS = 3;
|
|
22
23
|
export declare const FIELD_MAP_BUTTON_LABEL = "Pre-fill fields";
|
|
23
24
|
export declare const DEFAULT_WARNING_TEXT = "Variables linked to inbox may not be available as conversation is linked to multiple inboxes.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,iCAAiC,CAAC;AACrE,eAAO,MAAM,yBAAyB,+EAA+E,CAAC;AACtH,eAAO,MAAM,4BAA4B,wBAAwB,CAAC;AAClE,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,mBAAmB,8BAA8B,CAAC;AAC/D,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAC3D,eAAO,MAAM,kBAAkB,qDAAqD,CAAC;AACrF,eAAO,MAAM,mBAAmB,qEAAqE,CAAC;AACtG,eAAO,MAAM,gCAAgC,wDAAwD,CAAC;AACtG,eAAO,MAAM,sCAAsC,0IAC4E,CAAC;AAChI,eAAO,MAAM,qBAAqB,oCAAoC,CAAC;AACvE,eAAO,MAAM,2BAA2B,oIAA0H,CAAC;AACnK,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AACvE,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AACnE,eAAO,MAAM,yBAAyB,kBAAkB,CAAC;AACzD,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,eAAe,mBAAmB,CAAC;AAChD,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,iCAAiC,CAAC;AACrE,eAAO,MAAM,yBAAyB,+EAA+E,CAAC;AACtH,eAAO,MAAM,4BAA4B,wBAAwB,CAAC;AAClE,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,mBAAmB,8BAA8B,CAAC;AAC/D,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAC3D,eAAO,MAAM,kBAAkB,qDAAqD,CAAC;AACrF,eAAO,MAAM,mBAAmB,qEAAqE,CAAC;AACtG,eAAO,MAAM,gCAAgC,wDAAwD,CAAC;AACtG,eAAO,MAAM,sCAAsC,0IAC4E,CAAC;AAChI,eAAO,MAAM,qBAAqB,oCAAoC,CAAC;AACvE,eAAO,MAAM,2BAA2B,oIAA0H,CAAC;AACnK,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AACvE,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AACnE,eAAO,MAAM,yBAAyB,kBAAkB,CAAC;AACzD,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,eAAe,mBAAmB,CAAC;AAChD,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAI3D,eAAO,MAAM,0BAA0B,8EAAyE,CAAC;AACjH,eAAO,MAAM,aAAa,IAAI,CAAC;AAC/B,eAAO,MAAM,sBAAsB,oBAAoB,CAAC;AACxD,eAAO,MAAM,oBAAoB,kGACgE,CAAC"}
|
|
@@ -64,6 +64,7 @@ declare const createForm: import('@reduxjs/toolkit').AsyncThunk<undefined, {
|
|
|
64
64
|
};
|
|
65
65
|
conversationId: number;
|
|
66
66
|
interfaceId: string;
|
|
67
|
+
attachmentIdToName?: Record<string, string>;
|
|
67
68
|
successCallback?: () => void;
|
|
68
69
|
failureCallback?: (err: unknown) => void;
|
|
69
70
|
}, {
|
|
@@ -87,6 +88,7 @@ declare const updateForm: import('@reduxjs/toolkit').AsyncThunk<undefined, {
|
|
|
87
88
|
previousArgs: {
|
|
88
89
|
[key: string]: FormArgValue;
|
|
89
90
|
};
|
|
91
|
+
attachmentIdToName?: Record<string, string>;
|
|
90
92
|
successCallback?: () => void;
|
|
91
93
|
failureCallback?: (err: unknown) => void;
|
|
92
94
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/store/slice.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/store/slice.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAarD,OAAO,KAAK,EAAsB,eAAe,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACzF,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAExD,eAAO,MAAM,oBAAoB;;;;;;;;;;;mIAkH/B,CAAC;AAEH,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;cAGP,MAAM,EAAE;iBACL,MAAM;oBACH,MAAM;2BACC,OAAO;kBAChB,MAAM;;;;;;;;;;EAkHvB,CAAC;AA+CF,QAAA,MAAM,UAAU;YAIF,MAAM;UACR;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,CAAA;KAAE;oBACrB,MAAM;iBACT,MAAM;yBAGE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;sBACzB,MAAM,IAAI;sBACV,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI;;;;;;;;;;EAkC7C,CAAC;AAEF,QAAA,MAAM,UAAU;YAIF,MAAM;UACR;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,CAAA;KAAE;oBACrB,MAAM;iBACT,MAAM;wBACC,MAAM;kBACZ;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,CAAA;KAAE;yBACxB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;sBACzB,MAAM,IAAI;sBACV,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI;;;;;;;;;;EAgC7C,CAAC;AAEF,QAAA,MAAM,UAAU;QAQR,MAAM;kBACI,MAAM;wBACA,MAAM;oBACV,MAAM;;;;;;;;;;EAIzB,CAAC;AAEF,QAAA,MAAM,QAAQ;QAUJ,MAAM;wBACU,MAAM;kBACZ,MAAM;oBACJ,MAAM;YACd,MAAM;;;;;;;;;;EAanB,CAAC;AAEF,QAAA,MAAM,2BAA2B;;;;QAIvB,MAAM;iBACG,MAAM;oBACH,MAAM;wBACF,MAAM;kBACZ,MAAM;;;;;;;;;;EAmEzB,CAAC;AAEF,QAAA,MAAQ,UAAU,wFAAE,oBAAoB,oGAAE,2BAA2B,yGAAE,oBAAoB,kGAC7D,CAAC;;AAC/B,wBAA4C;AAC5C,OAAO,EACL,eAAe,EACf,UAAU,EACV,oBAAoB,EACpB,UAAU,EACV,QAAQ,EACR,UAAU,EACV,UAAU,EACV,2BAA2B,EAC3B,oBAAoB,EACpB,2BAA2B,EAC3B,oBAAoB,EACrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/utils/response.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAGlE,eAAO,MAAM,gBAAgB,UAAW,iBAAiB,cAAc,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/utils/response.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAGlE,eAAO,MAAM,gBAAgB,UAAW,iBAAiB,cAAc,OAAO,CAAC,UAAU,CAAC,eAkHzF,CAAC"}
|