File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
packages/react-use-intercom/src Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ export const mapDataAttributesToRawDataAttributes = (
74
74
companies : attributes . companies ?. map (
75
75
mapDataAttributesCompanyToRawDataAttributesCompany ,
76
76
) ,
77
+ intercom_user_jwt : attributes . intercomUserJwt ,
77
78
...attributes . customAttributes ,
78
79
} ) ;
79
80
Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ export type RawDataAttributes = {
135
135
user_hash ?: string ;
136
136
company ?: RawDataAttributesCompany ;
137
137
companies ?: RawDataAttributesCompany [ ] ;
138
+ intercom_user_jwt ?: string ;
138
139
customAttributes ?: Record < string , any > ;
139
140
} ;
140
141
@@ -217,6 +218,12 @@ export type DataAttributes = {
217
218
* @see {@link https://www.intercom.com/help/en/articles/186-group-your-users-by-company }
218
219
*/
219
220
companies ?: DataAttributesCompany [ ] ;
221
+ /**
222
+ * The JWT for authenticating users in the Messenger
223
+ *
224
+ * @see {@link https://www.intercom.com/help/en/articles/10589769-authenticating-users-in-the-messenger-with-json-web-tokens-jwts }
225
+ */
226
+ intercomUserJwt ?: string ;
220
227
/**
221
228
* You can do this anytime by adding additional key/value pairs to your intercomSettings code snippet
222
229
* These should be raw snake_cased
You can’t perform that action at this time.
0 commit comments