@sendbird/ai-agent-messenger-react-native 1.3.2 → 1.4.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/dist/index.cjs +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1037 -1023
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -267,6 +267,7 @@ declare interface AIAgentMessengerSessionContextValue {
|
|
|
267
267
|
setActiveChannel: (param: { url: string; status: ConversationStatus }) => void;
|
|
268
268
|
|
|
269
269
|
createConversation: (params: ConversationCreateParams) => Promise<string>;
|
|
270
|
+
searchConversation: (params: SearchConversationParams) => Promise<string[]>;
|
|
270
271
|
refreshActiveChannel: () => Promise<string>;
|
|
271
272
|
|
|
272
273
|
authenticate: () => Promise<MessengerSettingsResponse>;
|
|
@@ -2305,6 +2306,11 @@ declare type PositionVertical = 'top' | 'bottom';
|
|
|
2305
2306
|
|
|
2306
2307
|
declare type RNPermissionsModule = typeof RNPermissions;
|
|
2307
2308
|
|
|
2309
|
+
declare interface SearchConversationParams {
|
|
2310
|
+
aiAgentId: string;
|
|
2311
|
+
context: Record<string, string>;
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2308
2314
|
declare type SingleSelectField = {
|
|
2309
2315
|
key: string;
|
|
2310
2316
|
type: 'single-select';
|