@hiver/connector-agent 4.22.7-ghlSubAccountMapping-beta.1 → 4.22.7-ghlSubAccountMapping-beta.2

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.
@@ -2,5 +2,13 @@ import { LogStatusResponse } from '../types/api';
2
2
  export type LogsStatusProps = {
3
3
  conversationId?: string;
4
4
  };
5
+ /**
6
+ * How often an open conversation re-checks its sync status once nothing is
7
+ * pending. The backoff poll stops when every message is logged, so without
8
+ * this a reply that arrives later -- and starts a new sync -- never shows as
9
+ * "Syncing" until the page is refreshed. A check that finds work pending hands
10
+ * over to the backoff poll, which takes it through to "Synced".
11
+ */
12
+ export declare const LOG_STATUS_IDLE_REFETCH_MILLIS = 5000;
5
13
  export declare const useLogsStatusQuery: ({ conversationId }: LogsStatusProps) => import('@tanstack/react-query').UseQueryResult<LogStatusResponse, Error>;
6
14
  //# sourceMappingURL=getLogStatus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getLogStatus.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/getLogStatus.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGjD,MAAM,MAAM,eAAe,GAAG;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAuBF,eAAO,MAAM,kBAAkB,uBAAwB,eAAe,6EA4BrE,CAAC"}
1
+ {"version":3,"file":"getLogStatus.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/getLogStatus.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGjD,MAAM,MAAM,eAAe,GAAG;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAuBF;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B,OAAO,CAAC;AAEnD,eAAO,MAAM,kBAAkB,uBAAwB,eAAe,6EAgCrE,CAAC"}