@hiver/connector-agent 4.12.1 → 4.13.1-saFix-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.
Files changed (33) hide show
  1. package/app/connector-cards.d.ts.map +1 -1
  2. package/app/index.d.ts.map +1 -1
  3. package/app/omni-email-logger/index.d.ts +7 -0
  4. package/app/omni-email-logger/index.d.ts.map +1 -0
  5. package/features/email-logger/api/getRecommendations.d.ts.map +1 -1
  6. package/features/email-logger/components/select-entity/components/feedback/index.d.ts.map +1 -1
  7. package/features/email-logger/components/select-entity/index.d.ts.map +1 -1
  8. package/features/email-logger/constants/index.d.ts +1 -0
  9. package/features/email-logger/constants/index.d.ts.map +1 -1
  10. package/features/email-logger/context/contexts.d.ts +2 -0
  11. package/features/email-logger/context/contexts.d.ts.map +1 -1
  12. package/features/email-logger/context/index.d.ts +1 -1
  13. package/features/email-logger/context/index.d.ts.map +1 -1
  14. package/features/email-logger/omni/OmniSyncPanel.d.ts +6 -0
  15. package/features/email-logger/omni/OmniSyncPanel.d.ts.map +1 -0
  16. package/features/email-logger/omni/components/EntityGroup.d.ts +14 -0
  17. package/features/email-logger/omni/components/EntityGroup.d.ts.map +1 -0
  18. package/features/email-logger/omni/components/EntityRow.d.ts +12 -0
  19. package/features/email-logger/omni/components/EntityRow.d.ts.map +1 -0
  20. package/features/email-logger/omni/components/LogEmailPill.d.ts +12 -0
  21. package/features/email-logger/omni/components/LogEmailPill.d.ts.map +1 -0
  22. package/features/email-logger/omni/components/SyncConversationDropdown.d.ts +8 -0
  23. package/features/email-logger/omni/components/SyncConversationDropdown.d.ts.map +1 -0
  24. package/features/email-logger/omni/components/entityKey.d.ts +4 -0
  25. package/features/email-logger/omni/components/entityKey.d.ts.map +1 -0
  26. package/features/email-logger/omni/styles.d.ts +43 -0
  27. package/features/email-logger/omni/styles.d.ts.map +1 -0
  28. package/index.d.ts +2 -0
  29. package/index.d.ts.map +1 -1
  30. package/index.es.js +7436 -6502
  31. package/index.umd.js +1022 -364
  32. package/package.json +1 -1
  33. package/utils/poll.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"connector-cards.d.ts","sourceRoot":"","sources":["../../src/app/connector-cards.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAkF,MAAM,OAAO,CAAC;AAmG3G,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,SAAS,CAmmBxC,CAAC"}
1
+ {"version":3,"file":"connector-cards.d.ts","sourceRoot":"","sources":["../../src/app/connector-cards.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAkF,MAAM,OAAO,CAAC;AAmG3G,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,SAAS,CAomBxC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAC;AAMhD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAI/F,UAAU,IAAI;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,iBAAiB,CAAC,EAAE,aAAa,CAAC;IAClC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,eAAe,EAAE,eAAe,CAAC;IACjC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CAC3B;AAED,eAAO,MAAM,GAAG,EAAE,EAAE,CAAC,IAAI,CA0DxB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAC;AAMhD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAI/F,UAAU,IAAI;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,iBAAiB,CAAC,EAAE,aAAa,CAAC;IAClC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,eAAe,EAAE,eAAe,CAAC;IACjC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CAC3B;AAED,eAAO,MAAM,GAAG,EAAE,EAAE,CAAC,IAAI,CA6DxB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ import { ContextData } from '../../features/email-logger/context';
3
+ export type OmniEmailLoggerProps = Omit<ContextData, 'tenant'> & {
4
+ onVisibilityChange?: (visible: boolean) => void;
5
+ };
6
+ export declare const OmniEmailLogger: FC<OmniEmailLoggerProps>;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app/omni-email-logger/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAQ3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEnE,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG;IAC/D,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAuBpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getRecommendations.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/getRecommendations.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,MAAM,MAAM,mBAAmB,GAAG;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAoBF,eAAO,MAAM,uBAAuB,gCAAwC,mBAAmB,oEAM9F,CAAC"}
1
+ {"version":3,"file":"getRecommendations.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/getRecommendations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,MAAM,MAAM,mBAAmB,GAAG;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AA8BF,eAAO,MAAM,uBAAuB,gCAAwC,mBAAmB,oEAM9F,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/feedback/index.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,QAAQ,+CAqEpB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/feedback/index.tsx"],"names":[],"mappings":"AAyBA,eAAO,MAAM,QAAQ,+CAsEpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/select-entity/index.tsx"],"names":[],"mappings":"AAyCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAKzD,KAAK,iBAAiB,GAAG;IACvB,cAAc,EAAE,iBAAiB,CAAC;IAClC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,YAAY,8BAA+B,iBAAiB,4CAqMxE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/components/select-entity/index.tsx"],"names":[],"mappings":"AAyCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAKzD,KAAK,iBAAiB,GAAG;IACvB,cAAc,EAAE,iBAAiB,CAAC;IAClC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,YAAY,8BAA+B,iBAAiB,4CAwMxE,CAAC"}
@@ -18,6 +18,7 @@ export declare const FEEDBACK_TITLE = "Tell us how we can improve";
18
18
  export declare const THUMBS_UP_MSG = "Everything looks good";
19
19
  export declare const THUMBS_DOWN_MSG = "Something is not working";
20
20
  export declare const PROMPT_MSG = "Please provide your feedback";
21
+ export declare const OMNI_PROMPT_MSG = "Share your feedback";
21
22
  export declare const SUCCESS_FEEDBACK_TOAST_MSG = "Feedback submitted";
22
23
  export declare const FAILED_FEEDBACK_TOAST_MSG = "Failed to submit feedback";
23
24
  export declare const FEEDBACK_TYPE = "email-logging";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAEhE,eAAO,MAAM,yBAAyB,gDAAgD,CAAC;AACvF,eAAO,MAAM,wBAAwB,mDAAmD,CAAC;AACzF,eAAO,MAAM,eAAe,0BAA0B,CAAC;AACvD,eAAO,MAAM,mBAAmB,gFAAgF,CAAC;AACjH,eAAO,MAAM,uBAAuB,6DAA6D,CAAC;AAClG,eAAO,MAAM,oBAAoB,kFAAkF,CAAC;AACpH,eAAO,MAAM,kBAAkB,4EAA4E,CAAC;AAC5G,eAAO,MAAM,mBAAmB,6BAA6B,CAAC;AAC9D,eAAO,MAAM,aAAa,2CAA2C,CAAC;AAItE,eAAO,MAAM,aAAa,mFAAmF,CAAC;AAC9G,eAAO,MAAM,oBAAoB,sCAAsC,CAAC;AACxE,eAAO,MAAM,sBAAsB,qGACiE,CAAC;AACrG,eAAO,MAAM,mBAAmB,0CAA0C,CAAC;AAC3E,eAAO,MAAM,yBAAyB,+CAA+C,CAAC;AAEtF,eAAO,MAAM,sBAAsB,kGAC8D,CAAC;AAGlG,eAAO,MAAM,cAAc,+BAA+B,CAAC;AAC3D,eAAO,MAAM,aAAa,0BAA0B,CAAC;AACrD,eAAO,MAAM,eAAe,6BAA6B,CAAC;AAC1D,eAAO,MAAM,UAAU,iCAAiC,CAAC;AACzD,eAAO,MAAM,0BAA0B,uBAAuB,CAAC;AAC/D,eAAO,MAAM,yBAAyB,8BAA8B,CAAC;AACrE,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,gBAAgB,EAAE,cAAc,EAa5C,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;CAe3B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAEhE,eAAO,MAAM,yBAAyB,gDAAgD,CAAC;AACvF,eAAO,MAAM,wBAAwB,mDAAmD,CAAC;AACzF,eAAO,MAAM,eAAe,0BAA0B,CAAC;AACvD,eAAO,MAAM,mBAAmB,gFAAgF,CAAC;AACjH,eAAO,MAAM,uBAAuB,6DAA6D,CAAC;AAClG,eAAO,MAAM,oBAAoB,kFAAkF,CAAC;AACpH,eAAO,MAAM,kBAAkB,4EAA4E,CAAC;AAC5G,eAAO,MAAM,mBAAmB,6BAA6B,CAAC;AAC9D,eAAO,MAAM,aAAa,2CAA2C,CAAC;AAItE,eAAO,MAAM,aAAa,mFAAmF,CAAC;AAC9G,eAAO,MAAM,oBAAoB,sCAAsC,CAAC;AACxE,eAAO,MAAM,sBAAsB,qGACiE,CAAC;AACrG,eAAO,MAAM,mBAAmB,0CAA0C,CAAC;AAC3E,eAAO,MAAM,yBAAyB,+CAA+C,CAAC;AAEtF,eAAO,MAAM,sBAAsB,kGAC8D,CAAC;AAGlG,eAAO,MAAM,cAAc,+BAA+B,CAAC;AAC3D,eAAO,MAAM,aAAa,0BAA0B,CAAC;AACrD,eAAO,MAAM,eAAe,6BAA6B,CAAC;AAC1D,eAAO,MAAM,UAAU,iCAAiC,CAAC;AACzD,eAAO,MAAM,eAAe,wBAAwB,CAAC;AACrD,eAAO,MAAM,0BAA0B,uBAAuB,CAAC;AAC/D,eAAO,MAAM,yBAAyB,8BAA8B,CAAC;AACrE,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,gBAAgB,EAAE,cAAc,EAa5C,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;CAe3B,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import { ConnectorFunctions } from '../types';
2
+ export type Tenant = 'GMAIL' | 'HIVERWEB';
2
3
  export type ContextData = {
3
4
  conversationId?: string;
4
5
  isAdmin?: boolean;
5
6
  connectorFunctions?: ConnectorFunctions;
7
+ tenant?: Tenant;
6
8
  };
7
9
  export declare const EmailLoggerContext: import('react').Context<ContextData>;
8
10
  //# sourceMappingURL=contexts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/context/contexts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,MAAM,MAAM,WAAW,GAAG;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,kBAAkB,sCAAiC,CAAC"}
1
+ {"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/context/contexts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,MAAM,MAAM,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC;AAE1C,MAAM,MAAM,WAAW,GAAG;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,kBAAkB,sCAAiC,CAAC"}
@@ -4,5 +4,5 @@ type EmailLoggerProviderProps = ContextData & {
4
4
  children: ReactNode;
5
5
  };
6
6
  export type { ContextData };
7
- export declare const EmailLoggerProvider: ({ isAdmin, conversationId, connectorFunctions, children }: EmailLoggerProviderProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const EmailLoggerProvider: ({ isAdmin, conversationId, connectorFunctions, tenant, children }: EmailLoggerProviderProps) => import("react/jsx-runtime").JSX.Element;
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/context/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAW,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAsB,WAAW,EAAE,MAAM,YAAY,CAAC;AAE7D,KAAK,wBAAwB,GAAG,WAAW,GAAG;IAC5C,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B,eAAO,MAAM,mBAAmB,8DAK7B,wBAAwB,4CAW1B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/context/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAW,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAsB,WAAW,EAAE,MAAM,YAAY,CAAC;AAE7D,KAAK,wBAAwB,GAAG,WAAW,GAAG;IAC5C,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B,eAAO,MAAM,mBAAmB,sEAM7B,wBAAwB,4CAY1B,CAAC"}
@@ -0,0 +1,6 @@
1
+ type OmniSyncPanelProps = {
2
+ onVisibilityChange?: (visible: boolean) => void;
3
+ };
4
+ export declare const OmniSyncPanel: ({ onVisibilityChange }?: OmniSyncPanelProps) => import("react/jsx-runtime").JSX.Element | null;
5
+ export {};
6
+ //# sourceMappingURL=OmniSyncPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OmniSyncPanel.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/omni/OmniSyncPanel.tsx"],"names":[],"mappings":"AAoBA,KAAK,kBAAkB,GAAG;IACxB,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,aAAa,4BAA4B,kBAAkB,mDAkHvE,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { CheckedKeys } from './entityKey';
2
+ import { CheckedEntity, Entity, SelectedEntity } from '../../types';
3
+ type EntityGroupProps = {
4
+ type: string;
5
+ entities: (Entity | SelectedEntity)[];
6
+ checkedKeys: CheckedKeys;
7
+ connectorName?: string;
8
+ disabled?: boolean;
9
+ onValidated: (key: string, entity: CheckedEntity) => void;
10
+ onUnselect: (key: string) => void;
11
+ };
12
+ export declare const EntityGroup: ({ type, entities, checkedKeys, connectorName, disabled, onValidated, onUnselect }: EntityGroupProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=EntityGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityGroup.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/omni/components/EntityGroup.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAa,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAK1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEzE,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,MAAM,GAAG,cAAc,CAAC,EAAE,CAAC;IACtC,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1D,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AASF,eAAO,MAAM,WAAW,sFAQrB,gBAAgB,4CA+BlB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { CheckedEntity, Entity, SelectedEntity } from '../../types';
2
+ type EntityRowProps = {
3
+ entity: Entity | SelectedEntity;
4
+ checked: boolean;
5
+ disabled?: boolean;
6
+ connectorName?: string;
7
+ onValidated: (entity: CheckedEntity) => void;
8
+ onUnselect: () => void;
9
+ };
10
+ export declare const EntityRow: ({ entity, checked, disabled, connectorName, onValidated, onUnselect }: EntityRowProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=EntityRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityRow.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/omni/components/EntityRow.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEzE,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,MAAM,GAAG,cAAc,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;IAC7C,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAUF,eAAO,MAAM,SAAS,0EAA2E,cAAc,4CAiE9G,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { LogStatusEnum } from '../../types';
2
+ type LogEmailPillProps = {
3
+ status: LogStatusEnum;
4
+ loggedCount?: number;
5
+ totalCount?: number;
6
+ onClick: () => void;
7
+ onRetry?: () => void;
8
+ isRetrying?: boolean;
9
+ };
10
+ export declare const LogEmailPill: ({ status, loggedCount, totalCount, onClick, onRetry, isRetrying }: LogEmailPillProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=LogEmailPill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogEmailPill.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/omni/components/LogEmailPill.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG5C,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE,aAAa,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAkGF,eAAO,MAAM,YAAY,sEAOtB,iBAAiB,4CA+BnB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { LogStatusResponse } from '../../types/api';
2
+ type SyncConversationDropdownProps = {
3
+ emailLogStatus: LogStatusResponse;
4
+ close: () => void;
5
+ };
6
+ export declare const SyncConversationDropdown: ({ emailLogStatus, close }: SyncConversationDropdownProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=SyncConversationDropdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SyncConversationDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/omni/components/SyncConversationDropdown.tsx"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,KAAK,6BAA6B,GAAG;IACnC,cAAc,EAAE,iBAAiB,CAAC;IAClC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,wBAAwB,8BAA+B,6BAA6B,4CAkLhG,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { Entity, SelectedEntity } from '../../types';
2
+ export type CheckedKeys = Record<string, boolean>;
3
+ export declare const entityKey: (entity: Entity | SelectedEntity) => string;
4
+ //# sourceMappingURL=entityKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entityKey.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/omni/components/entityKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE1D,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAElD,eAAO,MAAM,SAAS,WAAY,MAAM,GAAG,cAAc,WAC2B,CAAC"}
@@ -0,0 +1,43 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { ButtonHTMLAttributes, HTMLAttributes, ImgHTMLAttributes } from 'react';
3
+ import { ButtonProps, CheckboxProps, StackProps, OutlinedInputProps, SwitchProps, TypographyProps } from '@hiver/hiver-ui-kit';
4
+ export declare const DropdownContainer: StyledComponent<StackProps>;
5
+ export declare const TopBar: StyledComponent<StackProps>;
6
+ export declare const TopBarLeft: StyledComponent<StackProps>;
7
+ export declare const BrandIconBox: StyledComponent<StackProps>;
8
+ export declare const BrandIcon: StyledComponent<ImgHTMLAttributes<HTMLImageElement>>;
9
+ export declare const TopBarTitle: StyledComponent<TypographyProps>;
10
+ export declare const AutoLogSwitch: StyledComponent<SwitchProps>;
11
+ export declare const Body: StyledComponent<StackProps>;
12
+ export declare const SearchRow: StyledComponent<StackProps>;
13
+ export declare const SearchInput: StyledComponent<OutlinedInputProps>;
14
+ export declare const SearchIconBox: StyledComponent<StackProps>;
15
+ export declare const GroupContainer: StyledComponent<StackProps>;
16
+ export declare const GroupHeader: StyledComponent<StackProps>;
17
+ export declare const GroupBody: StyledComponent<StackProps>;
18
+ export declare const GroupHeaderText: StyledComponent<TypographyProps>;
19
+ export declare const EntityRowContainer: StyledComponent<StackProps>;
20
+ export declare const EntityRowText: StyledComponent<TypographyProps>;
21
+ export declare const EntityCheckbox: StyledComponent<CheckboxProps>;
22
+ export declare const Footer: StyledComponent<StackProps>;
23
+ export declare const SecondaryButton: StyledComponent<ButtonProps>;
24
+ export declare const PrimaryButton: StyledComponent<ButtonProps>;
25
+ export declare const EmptyState: StyledComponent<TypographyProps>;
26
+ export type PillTone = 'brand' | 'success' | 'danger' | 'muted' | 'paused' | 'pending';
27
+ export declare const Pill: StyledComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
28
+ tone?: PillTone;
29
+ }>;
30
+ export declare const PillIconCircle: StyledComponent<HTMLAttributes<HTMLSpanElement> & {
31
+ tone?: PillTone;
32
+ }>;
33
+ export declare const PillLabel: StyledComponent<HTMLAttributes<HTMLSpanElement> & {
34
+ tone?: PillTone;
35
+ }>;
36
+ export declare const PillCount: StyledComponent<HTMLAttributes<HTMLSpanElement> & {
37
+ tone?: PillTone;
38
+ }>;
39
+ export declare const PillRetry: StyledComponent<HTMLAttributes<HTMLSpanElement>>;
40
+ export declare const Anchor: StyledComponent<StackProps>;
41
+ export declare const DropdownFloater: StyledComponent<HTMLAttributes<HTMLDivElement>>;
42
+ export declare const LegacyDropdownOverrides: StyledComponent<HTMLAttributes<HTMLDivElement>>;
43
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/omni/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,KAAK,EACV,WAAW,EACX,aAAa,EACb,UAAU,EACV,kBAAkB,EAClB,WAAW,EACX,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAG7B,eAAO,MAAM,iBAAiB,EAAE,eAAe,CAAC,UAAU,CAQzD,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,UAAU,CAM9C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,UAAU,CAMlD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,UAAU,CAKpD,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAI1E,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAQxD,CAAC;AAIF,eAAO,MAAM,aAAa,EAAE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AE,eAAe,CAAC,cAAc,CAAC,eAAe,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,QAAQ,CAAA;CAAE,CAYjG,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,cAAc,CAAC,eAAe,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,QAAQ,CAAA;CAAE,CAW5F,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,cAAc,CAAC,eAAe,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,QAAQ,CAAA;CAAE,CAS5F,CAAC;AAKF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,cAAc,CAAC,eAAe,CAAC,CAsBtE,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,UAAU,CAG9C,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,cAAc,CAAC,cAAc,CAAC,CAK3E,CAAC;AAMF,eAAO,MAAM,uBAAuB,EAAE,eAAe,CAAC,cAAc,CAAC,cAAc,CAAC,CAiVnF,CAAC"}
package/index.d.ts CHANGED
@@ -7,6 +7,8 @@ export { ActionQueue } from './utils/action-queue';
7
7
  export { addNewConnectors, shouldCaptureFeedback, setCaptureFeedbackOnDemand, dismissNotification, shouldShowNotification } from '@connector/indexeddb';
8
8
  export type { ISectionItems, IActionButtons, ISections, IMetaData, ITemplateUpdates } from '@connector/utils';
9
9
  export { EmailLogger, GmailLogObserver } from './app/email-logger';
10
+ export { OmniEmailLogger } from './app/omni-email-logger';
11
+ export type { OmniEmailLoggerProps } from './app/omni-email-logger';
10
12
  export { fetchAppCfValues, fetchDeferredAppCfValues } from './api/appCustomField';
11
13
  export type { AppCfValuesRequest, AppCfValuesResponse, AppFieldValue, AppFieldValueStatus } from './api/appCustomField';
12
14
  export { useConnectorSelectedEmail } from './store/connectorEmailStore';
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index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