@linktr.ee/messaging-react 3.31.1-rc-1785925535 → 3.31.2-rc-1785926144
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 +5 -24
- package/dist/testing.d.ts +5 -24
- package/package.json +3 -3
- package/src/stream-custom-data.ts +7 -24
package/dist/index.d.ts
CHANGED
|
@@ -1787,32 +1787,13 @@ declare module 'stream-chat' {
|
|
|
1787
1787
|
*/
|
|
1788
1788
|
accent_color?: string;
|
|
1789
1789
|
}
|
|
1790
|
-
interface CustomChannelData {
|
|
1790
|
+
interface CustomChannelData extends LinktreeChannelData {
|
|
1791
1791
|
/**
|
|
1792
|
-
* Whether
|
|
1793
|
-
*
|
|
1794
|
-
|
|
1795
|
-
has_visitor_message?: boolean;
|
|
1796
|
-
/**
|
|
1797
|
-
* Priority score assigned by backend classification for spotlighting.
|
|
1798
|
-
*/
|
|
1799
|
-
priority_score?: number;
|
|
1800
|
-
/**
|
|
1801
|
-
* Indicates a paid message is pending creator reply.
|
|
1802
|
-
*/
|
|
1803
|
-
pending_earn_message_reply?: boolean;
|
|
1804
|
-
/**
|
|
1805
|
-
* Indicates DM agent has deferred and creator follow-up is needed.
|
|
1806
|
-
*/
|
|
1807
|
-
agent_deferred?: boolean;
|
|
1808
|
-
/**
|
|
1809
|
-
* Whether DM agent auto-replies are paused for this channel.
|
|
1792
|
+
* Whether DM agent auto-replies are paused for this channel. Writer-only
|
|
1793
|
+
* field not read by other clients, so it stays local rather than in the
|
|
1794
|
+
* shared {@link LinktreeChannelData} contract.
|
|
1810
1795
|
*/
|
|
1811
1796
|
chatbot_paused?: boolean;
|
|
1812
|
-
/**
|
|
1813
|
-
* Customer classification tag for this conversation (e.g. CUSTOMER_PAID).
|
|
1814
|
-
*/
|
|
1815
|
-
customer_tag?: string;
|
|
1816
1797
|
}
|
|
1817
1798
|
interface CustomMemberData {
|
|
1818
1799
|
/**
|
|
@@ -1820,7 +1801,7 @@ declare module 'stream-chat' {
|
|
|
1820
1801
|
*/
|
|
1821
1802
|
is_follower?: boolean;
|
|
1822
1803
|
}
|
|
1823
|
-
interface CustomMessageData {
|
|
1804
|
+
interface CustomMessageData extends LinktreeMessageData {
|
|
1824
1805
|
/**
|
|
1825
1806
|
* Message metadata from backend.
|
|
1826
1807
|
* 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
|
|
130
|
-
*
|
|
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.
|
|
3
|
+
"version": "3.31.2-rc-1785926144",
|
|
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-
|
|
54
|
-
"@linktr.ee/messaging-taxonomy": "^0.5.
|
|
53
|
+
"@linktr.ee/messaging-core": "2.4.0-rc-1785926144",
|
|
54
|
+
"@linktr.ee/messaging-taxonomy": "^0.5.1",
|
|
55
55
|
"@phosphor-icons/react": "^2.1.10"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
@@ -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
|
|
99
|
-
*
|
|
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.
|