@hiver/connector-agent 4.22.7-ghlSubAccountMapping-beta.0 → 4.22.7-ghlSubAccountMapping-beta.1
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/features/connector-cards/components/card-list/Card.d.ts.map +1 -1
- package/features/email-logger/api/validateEntity.d.ts +9 -0
- package/features/email-logger/api/validateEntity.d.ts.map +1 -1
- package/features/email-logger/components/select-entity/components/entity-option/index.d.ts.map +1 -1
- package/features/email-logger/omni/components/EntityRow.d.ts.map +1 -1
- package/hooks/useMappedSmId.d.ts +16 -0
- package/hooks/useMappedSmId.d.ts.map +1 -0
- package/index.es.js +3419 -3416
- package/index.umd.js +371 -371
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/Card.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAa,MAAM,eAAe,CAAC;AAkBhE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/Card.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAa,MAAM,eAAe,CAAC;AAkBhE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAqBxC,UAAU,MAAM;IACd,IAAI,EAAE,KAAK,CAAC;IACZ,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE;QAChB,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;KAC9B,GAAG,IAAI,CAAC;IACT,KAAK,EAAE,MAAM,CAAC;IACd,0BAA0B,EAAE;QAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,GAAG,IAAI,CAAC;IACT,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,eAAO,MAAM,IAAI,UAAW,MAAM,4CA4NjC,CAAC"}
|
|
@@ -3,6 +3,15 @@ export type ValidateEntityPayload = {
|
|
|
3
3
|
entityType: string;
|
|
4
4
|
searchString: string;
|
|
5
5
|
cardId: string;
|
|
6
|
+
/**
|
|
7
|
+
* Agency installs: the shared inbox this validation is happening in.
|
|
8
|
+
*
|
|
9
|
+
* Bounds the sub-account search to the inbox's mapping. Without it the search
|
|
10
|
+
* spans every sub-account, and a customer who is a contact in two client
|
|
11
|
+
* businesses comes back ambiguous — resolved by "most recently updated",
|
|
12
|
+
* which stamps a guess onto the record and makes the eventual write fail.
|
|
13
|
+
*/
|
|
14
|
+
smId?: string;
|
|
6
15
|
};
|
|
7
16
|
export type ValidateEntityProps = {
|
|
8
17
|
payload: ValidateEntityPayload;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateEntity.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/validateEntity.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,MAAM,EAAgB,aAAa,EAAE,MAAM,UAAU,CAAC;AAGpE,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"validateEntity.d.ts","sourceRoot":"","sources":["../../../../src/features/email-logger/api/validateEntity.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,MAAM,EAAgB,aAAa,EAAE,MAAM,UAAU,CAAC;AAGpE,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,qBAAqB,CAAC;IAC/B,MAAM,EAAE,MAAM,GAAG,aAAa,CAAC;IAC/B,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAIF,MAAM,MAAM,mBAAmB,GAAG,KAAK,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAsCnE,eAAO,MAAM,yBAAyB,2BAA4B,aAAa,0GAM9E,CAAC"}
|
package/features/email-logger/components/select-entity/components/entity-option/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/entity-option/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/email-logger/components/select-entity/components/entity-option/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,oBAAoB,EAAiB,MAAM,+BAA+B,CAAC;AAEjH,KAAK,iBAAiB,GAAG;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,GAAG,cAAc,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,YAAY,qEAAsE,iBAAiB,4CA0E/G,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityRow.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/omni/components/EntityRow.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EntityRow.d.ts","sourceRoot":"","sources":["../../../../../src/features/email-logger/omni/components/EntityRow.tsx"],"names":[],"mappings":"AASA,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,4CAqE9G,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The shared inbox to resolve an agency install's sub-account against.
|
|
3
|
+
*
|
|
4
|
+
* Returns a value only when the conversation belongs to exactly one inbox. The
|
|
5
|
+
* sub-account mapping is per inbox, so with several there is no single right
|
|
6
|
+
* answer, and picking one arbitrarily would confine the search to a client
|
|
7
|
+
* business the conversation may have nothing to do with. Undefined falls back
|
|
8
|
+
* to searching every sub-account — the behaviour before mapping existed, and
|
|
9
|
+
* wrong-but-slow beats confidently-wrong.
|
|
10
|
+
*
|
|
11
|
+
* Shared rather than inlined per call site: the card render and the
|
|
12
|
+
* entity-validation calls have to agree, or a record gets validated against one
|
|
13
|
+
* sub-account and rendered from another.
|
|
14
|
+
*/
|
|
15
|
+
export declare const useMappedSmId: () => string | undefined;
|
|
16
|
+
//# sourceMappingURL=useMappedSmId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMappedSmId.d.ts","sourceRoot":"","sources":["../../src/hooks/useMappedSmId.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa,QAAO,MAAM,GAAG,SAGzC,CAAC"}
|