Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sendbird

Package Overview
Dependencies
Maintainers
1
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sendbird - npm Package Compare versions

Comparing version 3.0.111 to 3.0.112

20

bower.json
{
"name": "sendbird",
"version": "3.0.110",
"authors": ["SendBird <support@sendbird.com>"],
"version": "3.0.112",
"authors": [
"SendBird <support@sendbird.com>"
],
"homepage": "https://github.com/sendbird/SendBird-SDK-JavaScript",

@@ -9,5 +11,13 @@ "description": "SendBird JavaScript SDK",

"moduleType": [],
"keywords": ["sendbird", "sendbird.com", "messaging", "chat", "js"],
"keywords": [
"sendbird",
"sendbird.com",
"messaging",
"chat",
"js"
],
"license": "LICENSE.md",
"ignore": ["package.json"]
}
"ignore": [
"package.json"
]
}
Changelog
=========
## v3.0.112(NOV 8, 2019)
* Added `updateCurrentUserInfoWithPreferredLanguages()` in `SendBird`.
* When `preferredLanguages` is set, push notification message would get translated with target languages.
* Added `preferredLanguages` in `User`.
* Added `messageOffsetTimestamp` in `GroupChannel`.
* Added `reqId` for the `BaseMessage`s which are fetched from API call.
* Improved stability.
## v3.0.111(OCT 25, 2019)

@@ -5,0 +13,0 @@ * Compatibility fix for React Native and Internet Explorer 10.

{
"name": "sendbird",
"version": "3.0.111",
"version": "3.0.112",
"description": "SendBird JavaScript SDK",

@@ -32,2 +32,2 @@ "main": "SendBird.min.js",

"typings": "SendBird.d.ts"
}
}

@@ -51,6 +51,10 @@ [![npm](https://img.shields.io/npm/v/sendbird.svg?style=popout&colorB=red)](https://www.npmjs.com/package/sendbird)

## v3.0.111(OCT 25, 2019)
## v3.0.112(NOV 8, 2019)
If you want to check the record of other version, go to [Change Log](https://github.com/sendbird/SendBird-SDK-JavaScript/blob/master/CHANGELOG.md).
* Compatibility fix for React Native and Internet Explorer 10.
* Added `updateCurrentUserInfoWithPreferredLanguages()` in `SendBird`.
* When `preferredLanguages` is set, push notification message would get translated with target languages.
* Added `preferredLanguages` in `User`.
* Added `messageOffsetTimestamp` in `GroupChannel`.
* Added `reqId` for the `BaseMessage`s which are fetched from API call.
* Improved stability.

@@ -57,0 +61,0 @@

/**
* Type Definitions for SendBird SDK v3.0.111
* homepage: https://sendbird.com
* Type Definitions for SendBird SDK v3.0.112
* homepage: https://sendbird.com/
* git: https://github.com/sendbird/SendBird-SDK-JavaScript

@@ -45,3 +45,3 @@ */

deviceTokens: Array<string>;
type: "gcm" | "apns" | "apns_voip";
type: 'gcm' | 'apns' | 'apns_voip';
hasMore: boolean;

@@ -91,2 +91,3 @@ token: string;

updateCurrentUserInfoWithProfileImage(nickname: string, profileImageFile: File, callback?: userCallback): void;
updateCurrentUserInfoWithPreferredLanguages(preferredLanguages: Array<string>, callback?: userCallback): void;

@@ -137,3 +138,3 @@ getCurrentUserId(): string; // DEPRECATED

unregisterPushTokenAllForCurrentUser(callback?: commonCallback): void; // This removes all push tokens including APNS/GCM
getMyPushTokensByToken(token: string, type: "gcm" | "apns" | "apns_voip", callback: getMyPushTokensHandler): void;
getMyPushTokensByToken(token: string, type: 'gcm' | 'apns' | 'apns_voip', callback: getMyPushTokensHandler): void;

@@ -143,3 +144,3 @@ setPushTemplate(templateName: string, callback?: pushSettingCallback): void;

setPushTriggerOption(pushTriggerOption: "all" | "mention_only" | "off", callback: commonCallback): void;
setPushTriggerOption(pushTriggerOption: 'all' | 'mention_only' | 'off', callback: commonCallback): void;
getPushTriggerOption(callback: getPushTriggerOptionCallback): void;

@@ -188,3 +189,6 @@

getUnreadItemCount(keys: Array<string>, callback: commonCallback): void;
getTotalUnreadMessageCount(groupChannelTotalUnreadMessageCountParams: GroupChannelTotalUnreadMessageCountParams, callback: groupChannelCountCallback): void;
getTotalUnreadMessageCount(
groupChannelTotalUnreadMessageCountParams: GroupChannelTotalUnreadMessageCountParams,
callback: groupChannelCountCallback
): void;
getTotalUnreadMessageCount(callback: groupChannelCountCallback): void;

@@ -198,6 +202,24 @@ getTotalUnreadMessageCount(channelCustomTypes: Array<string>, callback: groupChannelCountCallback): void;

getMyGroupChannelChangeLogsByToken(token: string, customTypes: Array<string>, callback: getGroupChannelChangeLogsHandler): void;
getMyGroupChannelChangeLogsByToken(token: string, customTypes: Array<string>, includeEmpty: boolean, callback: getGroupChannelChangeLogsHandler): void;
getMyGroupChannelChangeLogsByTimestamp(ts: number, customTypes: Array<string>, callback: getGroupChannelChangeLogsHandler): void;
getMyGroupChannelChangeLogsByTimestamp(ts: number, customTypes: Array<string>, includeEmpty: boolean, callback: getGroupChannelChangeLogsHandler): void;
getMyGroupChannelChangeLogsByToken(
token: string,
customTypes: Array<string>,
callback: getGroupChannelChangeLogsHandler
): void;
getMyGroupChannelChangeLogsByToken(
token: string,
customTypes: Array<string>,
includeEmpty: boolean,
callback: getGroupChannelChangeLogsHandler
): void;
getMyGroupChannelChangeLogsByTimestamp(
ts: number,
customTypes: Array<string>,
callback: getGroupChannelChangeLogsHandler
): void;
getMyGroupChannelChangeLogsByTimestamp(
ts: number,
customTypes: Array<string>,
includeEmpty: boolean,
callback: getGroupChannelChangeLogsHandler
): void;
}

@@ -308,3 +330,3 @@

channelCustomTypesFilter: Array<string>;
superChannelFilter: "all" | "super" | "nonsuper";
superChannelFilter: 'all' | 'super' | 'nonsuper';
}

@@ -319,7 +341,7 @@

translationTargetLanguages: Array<string>;
mentionType: "users" | "channel";
mentionType: 'users' | 'channel';
mentionedUserIds: Array<string>;
mentionedUsers: Array<User>;
metaArrayKeys: Array<string>;
pushNotificationDeliveryOption: "default" | "suppress";
pushNotificationDeliveryOption: 'default' | 'suppress';
}

@@ -331,3 +353,3 @@ interface UserMessage extends BaseMessageInstance {

translations: Object;
requestState: "none" | "pending" | "failed" | "succeeded";
requestState: 'none' | 'pending' | 'failed' | 'succeeded';
requestedMentionUserIds: Array<string>;

@@ -349,7 +371,7 @@ }

thumbnailSizes: Array<ThumbnailSize>;
mentionType: "users" | "channel";
mentionType: 'users' | 'channel';
mentionedUserIds: Array<string>;
mentionedUsers: Array<User>;
metaArrayKeys: Array<string>;
pushNotificationDeliveryOption: "default" | "suppress";
pushNotificationDeliveryOption: 'default' | 'suppress';
}

@@ -364,3 +386,3 @@ interface FileMessage extends BaseMessageInstance {

thumbnails: Array<ThumbnailObject>;
requestState: "none" | "pending" | "failed" | "succeeded";
requestState: 'none' | 'pending' | 'failed' | 'succeeded';
requestedMentionUserIds: Array<string>;

@@ -397,2 +419,3 @@ }

friendName: string | null;
preferredLanguages: Array<string>;

@@ -420,3 +443,3 @@ getOriginalProfileUrl(): string;

interface Member extends User {
state: "invited" | "joined";
state: 'invited' | 'joined';
isBlockedByMe: boolean;

@@ -668,7 +691,11 @@ isBlockingMe: boolean;

sendFileMessage(file: File, data: string, customType: string, callback: messageCallback): FileMessage; // DEPRECATED
sendFileMessage(file: File, data: string, customType: string, thumbnailSizes: Array<ThumbnailSize>, callback: messageCallback): FileMessage; // DEPRECATED
sendFileMessage(file: File, name: string, type: string, size: number, data: string, callback: messageCallback): FileMessage; // DEPRECATED
sendFileMessage(file: File, name: string, type: string, size: number, data: string, customType: string, callback: messageCallback): FileMessage; // DEPRECATED
sendFileMessage(
file: File,
data: string,
customType: string,
thumbnailSizes: Array<ThumbnailSize>,
callback: messageCallback
): FileMessage; // DEPRECATED
sendFileMessage(
file: File,
name: string,

@@ -678,3 +705,20 @@ type: string,

data: string,
callback: messageCallback
): FileMessage; // DEPRECATED
sendFileMessage(
file: File,
name: string,
type: string,
size: number,
data: string,
customType: string,
callback: messageCallback
): FileMessage; // DEPRECATED
sendFileMessage(
file: File,
name: string,
type: string,
size: number,
data: string,
customType: string,
thumbnailSizes: Array<ThumbnailSize>,

@@ -684,10 +728,25 @@ callback: messageCallback

sendFileMessage(fileMessageParams: FileMessageParams, progressHandler: fileUploadprogressHandler, callback: messageCallback): FileMessage;
sendFileMessage(
fileMessageParams: FileMessageParams,
progressHandler: fileUploadprogressHandler,
callback: messageCallback
): FileMessage;
sendFileMessage(file: File, progressHandler: fileUploadprogressHandler, callback: messageCallback): FileMessage;
sendFileMessage(file: File, data: string, progressHandler: fileUploadprogressHandler, callback: messageCallback): FileMessage; // DEPRECATED
sendFileMessage(file: File, data: string, customType: string, progressHandler: fileUploadprogressHandler, callback: messageCallback): FileMessage; // DEPRECATED
sendFileMessage(
file: File,
data: string,
progressHandler: fileUploadprogressHandler,
callback: messageCallback
): FileMessage; // DEPRECATED
sendFileMessage(
file: File,
data: string,
customType: string,
progressHandler: fileUploadprogressHandler,
callback: messageCallback
): FileMessage; // DEPRECATED
sendFileMessage(
file: File,
data: string,
customType: string,
thumbnailSizes: Array<ThumbnailSize>,

@@ -731,10 +790,36 @@ progressHandler: fileUploadprogressHandler,

sendFileMessage(file: string, data: string, customType: string, callback: messageCallback): FileMessage; // DEPRECATED
sendFileMessage(file: string, name: string, type: string, size: number, data: string, callback: messageCallback): FileMessage; // DEPRECATED
sendFileMessage(file: string, name: string, type: string, size: number, data: string, customType: string, callback: messageCallback): FileMessage;
sendFileMessage(
file: string,
name: string,
type: string,
size: number,
data: string,
callback: messageCallback
): FileMessage; // DEPRECATED
sendFileMessage(
file: string,
name: string,
type: string,
size: number,
data: string,
customType: string,
callback: messageCallback
): FileMessage;
sendFileMessage(file: string, progressHandler: fileUploadprogressHandler, callback: messageCallback): FileMessage; // DEPRECATED
sendFileMessage(file: string, data: string, progressHandler: fileUploadprogressHandler, callback: messageCallback): FileMessage; // DEPRECATED
sendFileMessage(file: string, data: string, customType: string, progressHandler: fileUploadprogressHandler, callback: messageCallback): FileMessage; // DEPRECATED
sendFileMessage(
file: string,
data: string,
progressHandler: fileUploadprogressHandler,
callback: messageCallback
): FileMessage; // DEPRECATED
sendFileMessage(
file: string,
data: string,
customType: string,
progressHandler: fileUploadprogressHandler,
callback: messageCallback
): FileMessage; // DEPRECATED
sendFileMessage(
file: string,
name: string,

@@ -758,3 +843,6 @@ type: string,

sendFileMessages(fileMessageParamsList: Array<FileMessageParams>, callbackObject: fileMessagesCallbackObject): Array<FileMessage>;
sendFileMessages(
fileMessageParamsList: Array<FileMessageParams>,
callbackObject: fileMessagesCallbackObject
): Array<FileMessage>;

@@ -766,3 +854,9 @@ /** UserMessage */

sendUserMessage(message: string, data: string, customType: string, callback: messageCallback): UserMessage; // DEPRECATED
sendUserMessage(message: string, data: string, customType: string, translationTargetLanguages: Array<string>, callback: messageCallback): UserMessage;
sendUserMessage(
message: string,
data: string,
customType: string,
translationTargetLanguages: Array<string>,
callback: messageCallback
): UserMessage;

@@ -773,3 +867,7 @@ resendUserMessage(userMessage: UserMessage, callback: messageCallback): void;

translateUserMessage(message: UserMessage, translationTargetLanguages: Array<string>, callback: messageCallback): void;
translateUserMessage(
message: UserMessage,
translationTargetLanguages: Array<string>,
callback: messageCallback
): void;

@@ -779,3 +877,9 @@ /** Edit Message */

updateFileMessage(messageId: number, fileMessageParams: FileMessageParams, callback: messageCallback): void;
updateUserMessage(messageId: number, message: string, data: string, customType: string, callback: messageCallback): void;
updateUserMessage(
messageId: number,
message: string,
data: string,
customType: string,
callback: messageCallback
): void;
updateUserMessage(messageId: number, userMessageParams: UserMessageParams, callback: messageCallback): void;

@@ -806,9 +910,33 @@ deleteMessage(message: FileMessage | UserMessage, callback: commonCallback): void;

/** MessageMetaArray */
createMessageMetaArrayKeys(message: UserMessage | FileMessage | AdminMessage, keys: Array<string>, callback: commonCallback): void;
deleteMessageMetaArrayKeys(message: UserMessage | FileMessage | AdminMessage, keys: Array<string>, callback: commonCallback): void;
addMessageMetaArrayValues(message: UserMessage | FileMessage | AdminMessage, data: Array<MessageMetaArray>, callback: commonCallback): void;
removeMessageMetaArrayValues(message: UserMessage | FileMessage | AdminMessage, data: Array<MessageMetaArray>, callback: commonCallback): void;
createMessageMetaArrayKeys(
message: UserMessage | FileMessage | AdminMessage,
keys: Array<string>,
callback: commonCallback
): void;
deleteMessageMetaArrayKeys(
message: UserMessage | FileMessage | AdminMessage,
keys: Array<string>,
callback: commonCallback
): void;
addMessageMetaArrayValues(
message: UserMessage | FileMessage | AdminMessage,
data: Array<MessageMetaArray>,
callback: commonCallback
): void;
removeMessageMetaArrayValues(
message: UserMessage | FileMessage | AdminMessage,
data: Array<MessageMetaArray>,
callback: commonCallback
): void;
addMessageMetaArrayValues(message: UserMessage | FileMessage | AdminMessage, data: Object, callback: commonCallback): void; // DEPRECATED
removeMessageMetaArrayValues(message: UserMessage | FileMessage | AdminMessage, data: Object, callback: commonCallback): void; // DEPRECATED
addMessageMetaArrayValues(
message: UserMessage | FileMessage | AdminMessage,
data: Object,
callback: commonCallback
): void; // DEPRECATED
removeMessageMetaArrayValues(
message: UserMessage | FileMessage | AdminMessage,
data: Object,
callback: commonCallback
): void; // DEPRECATED

@@ -818,6 +946,14 @@ /** Report */

reportUser(user: User, category: string, description: string, callback: commonCallback): void;
reportMessage(message: UserMessage | FileMessage | AdminMessage, category: string, description: string, callback: commonCallback): void;
reportMessage(
message: UserMessage | FileMessage | AdminMessage,
category: string,
description: string,
callback: commonCallback
): void;
}
type messageListCallback = (messageList: Array<UserMessage | FileMessage | AdminMessage>, error: SendBirdError) => void;
type messageListCallback = (
messageList: Array<UserMessage | FileMessage | AdminMessage>,
error: SendBirdError
) => void;
interface MessageListQuery {

@@ -827,3 +963,9 @@ // DEPRECATED

prev(messageTimestamp: number, limit: number, reverse: boolean, callback: messageListCallback): void;
load(messageTimestamp: number, prevLimit: number, nextLimit: number, reverse: boolean, callback: messageListCallback): void;
load(
messageTimestamp: number,
prevLimit: number,
nextLimit: number,
reverse: boolean,
callback: messageListCallback
): void;
}

@@ -865,3 +1007,2 @@

updateChannel(name: string, coverUrlOrImageFile: string | File, data: string, callback: openChannelCallback): void;
updateChannel(name: string, coverUrlOrImageFile: string | File, data: string, operatorUserIds: Array<string> | string, callback: openChannelCallback): void; // DEPRECATED
updateChannel(

@@ -872,2 +1013,9 @@ name: string,

operatorUserIds: Array<string> | string,
callback: openChannelCallback
): void; // DEPRECATED
updateChannel(
name: string,
coverUrlOrImageFile: string | File,
data: string,
operatorUserIds: Array<string> | string,
customType: string,

@@ -982,3 +1130,2 @@ callback: openChannelCallback

createChannel(name: string, coverUrlOrImageFile: string | File, data: string, callback: openChannelCallback): void; // DEPRECATED
createChannel(name: string, coverUrlOrImageFile: string | File, data: string, operatorUserIds: Array<string> | string, callback: openChannelCallback): void; // DEPRECATED
createChannel(

@@ -989,2 +1136,9 @@ name: string,

operatorUserIds: Array<string> | string,
callback: openChannelCallback
): void; // DEPRECATED
createChannel(
name: string,
coverUrlOrImageFile: string | File,
data: string,
operatorUserIds: Array<string> | string,
customType: string,

@@ -1031,3 +1185,3 @@ callback: openChannelCallback

scheduledTimezone: string;
status: "scheduled" | "sent" | "canceled" | "failed";
status: 'scheduled' | 'sent' | 'canceled' | 'failed';
createdAt: number;

@@ -1042,5 +1196,5 @@ updatedAt: number;

metaArrays: Array<MessageMetaArray>;
mentionType: "users" | "channel";
mentionType: 'users' | 'channel';
mentionedUsers: Array<User>;
pushNotificationDeliveryOption: "default" | "suppress";
pushNotificationDeliveryOption: 'default' | 'suppress';
translationTargetLanguages: Array<string>;

@@ -1090,6 +1244,6 @@ errorMessage: string;

metaArrayKeys: Array<string>;
mentionType: "users" | "channel";
mentionType: 'users' | 'channel';
mentionedUserIds: Array<string>;
mentionedUsers: Array<User>;
pushNotificationDeliveryOption: "default" | "suppress";
pushNotificationDeliveryOption: 'default' | 'suppress';
year: number;

@@ -1119,3 +1273,6 @@ month: number;

type getPushPreferenceCallback = (isPushOn: boolean, error: SendBirdError) => void;
type getPushTriggerOptionCallback = (pushTriggerOption: "all" | "mention_only" | "off" | "default", error: SendBirdError) => void;
type getPushTriggerOptionCallback = (
pushTriggerOption: 'all' | 'mention_only' | 'off' | 'default',
error: SendBirdError
) => void;
interface GroupChannel extends BaseChannel {

@@ -1127,3 +1284,3 @@ isHidden: boolean;

isPushEnabled: boolean; // DEPRECATED
myPushTriggerOption: "default" | "all" | "mention_only" | "off";
myPushTriggerOption: 'default' | 'all' | 'mention_only' | 'off';
myCountPreference: string;

@@ -1136,11 +1293,12 @@ lastMessage: UserMessage | FileMessage | AdminMessage;

joinedMemberCount: number;
myMemberState: "none" | "joined" | "invited";
myRole: "operator" | "none";
myMutedState: "muted" | "unmuted";
myMemberState: 'none' | 'joined' | 'invited';
myRole: 'operator' | 'none';
myMutedState: 'muted' | 'unmuted';
inviter: User;
invitedAt: number;
isAccessCodeRequired: boolean;
hiddenState: "unhidden" | "hidden_allow_auto_unhide" | "hidden_prevent_auto_unhide";
hiddenState: 'unhidden' | 'hidden_allow_auto_unhide' | 'hidden_prevent_auto_unhide';
isDiscoverable: boolean;
myLastRead: number;
messageOffsetTimestamp: number;

@@ -1154,3 +1312,2 @@ isEqual(target: GroupChannel): boolean;

updateChannel(name: string, coverUrlOrImageFile: string | File, data: string, callback: groupChannelCallback): void;
updateChannel(isDistinct: boolean, name: string, coverUrlOrImageFile: string | File, data: string, callback: groupChannelCallback): void; // DEPRECATED
updateChannel(

@@ -1161,2 +1318,9 @@ isDistinct: boolean,

data: string,
callback: groupChannelCallback
): void; // DEPRECATED
updateChannel(
isDistinct: boolean,
name: string,
coverUrlOrImageFile: string | File,
data: string,
customType: string,

@@ -1196,5 +1360,11 @@ callback: groupChannelCallback

getPushPreference(callback: getPushPreferenceCallback): void; // DEPRECATED
setMyPushTriggerOption(pushTriggerOption: "all" | "mention_only" | "off" | "default", callback: getPushTriggerOptionCallback): void;
setMyPushTriggerOption(
pushTriggerOption: 'all' | 'mention_only' | 'off' | 'default',
callback: getPushTriggerOptionCallback
): void;
getMyPushTriggerOption(callback: getPushTriggerOptionCallback): void;
setMyCountPreference(preference: "all" | "unread_message_count_only" | "unread_mention_count_only" | "off", callback: commonCallback): void;
setMyCountPreference(
preference: 'all' | 'unread_message_count_only' | 'unread_mention_count_only' | 'off',
callback: commonCallback
): void;

@@ -1219,3 +1389,6 @@ createMemberListQuery(): GroupChannelMemberListQuery;

registerScheduledUserMessage(scheduledUserMessageParams: ScheduledUserMessageParams, callback: scheduledUserMessageCallback): void;
registerScheduledUserMessage(
scheduledUserMessageParams: ScheduledUserMessageParams,
callback: scheduledUserMessageCallback
): void;
}

@@ -1231,3 +1404,6 @@

getUnreadItemCount(keys: Array<string>, callback: commonCallback): void; // DEPRECATED
getTotalUnreadMessageCount(groupChannelTotalUnreadMessageCountParams: GroupChannelTotalUnreadMessageCountParams, callback: groupChannelCountCallback): void; // DEPRECATED
getTotalUnreadMessageCount(
groupChannelTotalUnreadMessageCountParams: GroupChannelTotalUnreadMessageCountParams,
callback: groupChannelCountCallback
): void; // DEPRECATED
getTotalUnreadMessageCount(callback: groupChannelCountCallback): void; // DEPRECATED

@@ -1258,10 +1434,18 @@ getTotalUnreadMessageCount(channelCustomTypes: Array<string>, callback: groupChannelCountCallback): void; // DEPRECATED

): void;
createDistinctChannelIfNotExist(groupChannelParams: GroupChannelParams, callback: distinctGroupChannelCallback): void;
createDistinctChannelIfNotExist(
groupChannelParams: GroupChannelParams,
callback: distinctGroupChannelCallback
): void;
createChannelWithUserIds(userIds: Array<string>, callback: groupChannelCallback): void;
createChannelWithUserIds(userIds: Array<string>, isDistinct: boolean, callback: groupChannelCallback): void; // DEPRECATED
createChannelWithUserIds(userIds: Array<string>, isDistinct: boolean, customType: string, callback: groupChannelCallback): void; // DEPRECATED
createChannelWithUserIds(
userIds: Array<string>,
isDistinct: boolean,
customType: string,
callback: groupChannelCallback
): void; // DEPRECATED
createChannelWithUserIds(
userIds: Array<string>,
isDistinct: boolean,
name: string,

@@ -1293,5 +1477,5 @@ coverUrlOrImageFile: string | File,

isLoading: boolean;
mutedMemberFilter: "all" | "muted" | "unmuted";
operatorFilter: "all" | "operator" | "nonoperator"; // DEPRECATED
memberStateFilter: "all" | "joined_only" | "invited_only" | "invited_by_friend" | "invited_by_non_friend";
mutedMemberFilter: 'all' | 'muted' | 'unmuted';
operatorFilter: 'all' | 'operator' | 'nonoperator'; // DEPRECATED
memberStateFilter: 'all' | 'joined_only' | 'invited_only' | 'invited_by_friend' | 'invited_by_non_friend';
nicknameStartsWithFilter: string;

@@ -1311,9 +1495,9 @@

includeEmpty: boolean;
order: "latest_last_message" | "chronological" | "channel_name_alphabetical" | "metadata_value_alphabetical";
order: 'latest_last_message' | 'chronological' | 'channel_name_alphabetical' | 'metadata_value_alphabetical';
userIdsFilter: Array<string>; // DEPRECATED
userIdsFilterExactMatch: boolean; // DEPRECATED
queryType: "AND" | "OR"; // DEPRECATED
queryType: 'AND' | 'OR'; // DEPRECATED
userIdsExactFilter: Array<string>;
userIdsIncludeFilter: Array<string>;
userIdsIncludeFilterQueryType: "AND" | "OR";
userIdsIncludeFilterQueryType: 'AND' | 'OR';
nicknameContainsFilter: string;

@@ -1325,8 +1509,8 @@ channelNameContainsFilter: string;

channelUrlsFilter: Array<string>;
superChannelFilter: "all" | "super" | "nonsuper";
publicChannelFilter: "all" | "public" | "private";
superChannelFilter: 'all' | 'super' | 'nonsuper';
publicChannelFilter: 'all' | 'public' | 'private';
metadataOrderKeyFilter: string;
memberStateFilter: "all" | "joined_only" | "invited_only" | "invited_by_friend" | "invited_by_non_friend";
hiddenChannelFilter: "unhidden_only" | "hidden_only" | "hidden_allow_auto_unhide" | "hidden_prevent_auto_unhide";
unreadChannelFilter: "all" | "unread_message";
memberStateFilter: 'all' | 'joined_only' | 'invited_only' | 'invited_by_friend' | 'invited_by_non_friend';
hiddenChannelFilter: 'unhidden_only' | 'hidden_only' | 'hidden_allow_auto_unhide' | 'hidden_prevent_auto_unhide';
unreadChannelFilter: 'all' | 'unread_message';

@@ -1343,3 +1527,3 @@ setSearchFilter(fields: Array<string>, queryString: string): void;

includeEmpty: boolean;
order: "chronological" | "channel_name_alphabetical" | "metadata_value_alphabetical";
order: 'chronological' | 'channel_name_alphabetical' | 'metadata_value_alphabetical';
channelNameContainsFilter: string;

@@ -1349,4 +1533,4 @@ channelUrlsFilter: Array<string>;

customTypeStartsWithFilter: string;
superChannelFilter: "all" | "super" | "nonsuper";
membershipFilter: "all" | "joined";
superChannelFilter: 'all' | 'super' | 'nonsuper';
membershipFilter: 'all' | 'joined';
metadataOrderKeyFilter: string;

@@ -1353,0 +1537,0 @@ next(callback: groupChannelListQueryCallback): void;

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc