@linktr.ee/messaging-react 3.31.1-rc-1785922698 → 3.31.1-rc-1785925240

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/dist/index.d.ts CHANGED
@@ -1786,32 +1786,13 @@ declare module 'stream-chat' {
1786
1786
  */
1787
1787
  accent_color?: string;
1788
1788
  }
1789
- interface CustomChannelData {
1789
+ interface CustomChannelData extends LinktreeChannelData {
1790
1790
  /**
1791
- * Whether the channel has at least one visitor-originated message.
1792
- * Legacy channels may omit this field.
1793
- */
1794
- has_visitor_message?: boolean;
1795
- /**
1796
- * Priority score assigned by backend classification for spotlighting.
1797
- */
1798
- priority_score?: number;
1799
- /**
1800
- * Indicates a paid message is pending creator reply.
1801
- */
1802
- pending_earn_message_reply?: boolean;
1803
- /**
1804
- * Indicates DM agent has deferred and creator follow-up is needed.
1805
- */
1806
- agent_deferred?: boolean;
1807
- /**
1808
- * Whether DM agent auto-replies are paused for this channel.
1791
+ * Whether DM agent auto-replies are paused for this channel. Writer-only
1792
+ * field not read by other clients, so it stays local rather than in the
1793
+ * shared {@link LinktreeChannelData} contract.
1809
1794
  */
1810
1795
  chatbot_paused?: boolean;
1811
- /**
1812
- * Customer classification tag for this conversation (e.g. CUSTOMER_PAID).
1813
- */
1814
- customer_tag?: string;
1815
1796
  }
1816
1797
  interface CustomMemberData {
1817
1798
  /**
@@ -1819,7 +1800,7 @@ declare module 'stream-chat' {
1819
1800
  */
1820
1801
  is_follower?: boolean;
1821
1802
  }
1822
- interface CustomMessageData {
1803
+ interface CustomMessageData extends LinktreeMessageData {
1823
1804
  /**
1824
1805
  * Message metadata from backend.
1825
1806
  * Contains type and payment information.
package/dist/testing.d.ts CHANGED
@@ -124,32 +124,13 @@ declare module 'stream-chat' {
124
124
  */
125
125
  accent_color?: string;
126
126
  }
127
- interface CustomChannelData {
127
+ interface CustomChannelData extends LinktreeChannelData {
128
128
  /**
129
- * Whether the channel has at least one visitor-originated message.
130
- * Legacy channels may omit this field.
131
- */
132
- has_visitor_message?: boolean;
133
- /**
134
- * Priority score assigned by backend classification for spotlighting.
135
- */
136
- priority_score?: number;
137
- /**
138
- * Indicates a paid message is pending creator reply.
139
- */
140
- pending_earn_message_reply?: boolean;
141
- /**
142
- * Indicates DM agent has deferred and creator follow-up is needed.
143
- */
144
- agent_deferred?: boolean;
145
- /**
146
- * Whether DM agent auto-replies are paused for this channel.
129
+ * Whether DM agent auto-replies are paused for this channel. Writer-only
130
+ * field not read by other clients, so it stays local rather than in the
131
+ * shared {@link LinktreeChannelData} contract.
147
132
  */
148
133
  chatbot_paused?: boolean;
149
- /**
150
- * Customer classification tag for this conversation (e.g. CUSTOMER_PAID).
151
- */
152
- customer_tag?: string;
153
134
  }
154
135
  interface CustomMemberData {
155
136
  /**
@@ -157,7 +138,7 @@ declare module 'stream-chat' {
157
138
  */
158
139
  is_follower?: boolean;
159
140
  }
160
- interface CustomMessageData {
141
+ interface CustomMessageData extends LinktreeMessageData {
161
142
  /**
162
143
  * Message metadata from backend.
163
144
  * Contains type and payment information.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linktr.ee/messaging-react",
3
- "version": "3.31.1-rc-1785922698",
3
+ "version": "3.31.1-rc-1785925240",
4
4
  "description": "React messaging components built on messaging-core for web applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -50,8 +50,8 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@linktr.ee/component-library": "11.8.6",
53
- "@linktr.ee/messaging-core": "2.4.0-rc-1785922698",
54
- "@linktr.ee/messaging-taxonomy": "^0.5.0",
53
+ "@linktr.ee/messaging-core": "2.4.0-rc-1785925240",
54
+ "@linktr.ee/messaging-taxonomy": "^0.5.1",
55
55
  "@phosphor-icons/react": "^2.1.10",
56
56
  "culori": "^4.0.2"
57
57
  },
@@ -18,6 +18,8 @@ import {
18
18
  type DmAgentSystemType,
19
19
  type AgeSafetySystemType,
20
20
  type EscalationSystemType,
21
+ type LinktreeChannelData,
22
+ type LinktreeMessageData,
21
23
  } from '@linktr.ee/messaging-taxonomy'
22
24
  import type { Attachment, LocalMessage } from 'stream-chat'
23
25
  import 'stream-chat'
@@ -93,32 +95,13 @@ declare module 'stream-chat' {
93
95
  accent_color?: string
94
96
  }
95
97
 
96
- interface CustomChannelData {
98
+ interface CustomChannelData extends LinktreeChannelData {
97
99
  /**
98
- * Whether the channel has at least one visitor-originated message.
99
- * Legacy channels may omit this field.
100
- */
101
- has_visitor_message?: boolean
102
- /**
103
- * Priority score assigned by backend classification for spotlighting.
104
- */
105
- priority_score?: number
106
- /**
107
- * Indicates a paid message is pending creator reply.
108
- */
109
- pending_earn_message_reply?: boolean
110
- /**
111
- * Indicates DM agent has deferred and creator follow-up is needed.
112
- */
113
- agent_deferred?: boolean
114
- /**
115
- * Whether DM agent auto-replies are paused for this channel.
100
+ * Whether DM agent auto-replies are paused for this channel. Writer-only
101
+ * field not read by other clients, so it stays local rather than in the
102
+ * shared {@link LinktreeChannelData} contract.
116
103
  */
117
104
  chatbot_paused?: boolean
118
- /**
119
- * Customer classification tag for this conversation (e.g. CUSTOMER_PAID).
120
- */
121
- customer_tag?: string
122
105
  }
123
106
 
124
107
  interface CustomMemberData {
@@ -128,7 +111,7 @@ declare module 'stream-chat' {
128
111
  is_follower?: boolean
129
112
  }
130
113
 
131
- interface CustomMessageData {
114
+ interface CustomMessageData extends LinktreeMessageData {
132
115
  /**
133
116
  * Message metadata from backend.
134
117
  * Contains type and payment information.