mezon-js 2.15.19 → 2.15.21
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/README.md +244 -244
- package/dist/client.d.ts +119 -177
- package/dist/index.d.ts +1 -6
- package/dist/mezon-js.cjs.js +1 -1
- package/dist/mezon-js.esm.mjs +1 -1
- package/dist/mezon-js.iife.js +1 -1
- package/dist/mezon-js.umd.js +1 -1
- package/dist/mezon-js.umd.js.map +1 -1
- package/dist/transport.d.ts +513 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{api.gen.d.ts → types.d.ts} +1188 -426
- package/package.json +71 -71
- package/dist/api.d.ts +0 -2604
- package/dist/config.d.ts +0 -13
- package/dist/socket.d.ts +0 -1194
|
@@ -0,0 +1,513 @@
|
|
|
1
|
+
import * as tsproto from "mezon-js-protobuf";
|
|
2
|
+
import { MultipartUploadAttachment, MultipartUploadAttachmentFinishRequest, TransportAdapter } from "mezon-js-protobuf";
|
|
3
|
+
import { ApiAccount, ApiAccountEmail, ApiAccountMezon, ApiAddAppRequest, ApiAddFavoriteChannelRequest, ApiAddFriendsResponse, ApiAddRoleChannelDescRequest, ApiAllUserClans, ApiAllUsersAddChannelResponse, ApiApp, ApiAppList, ApiAuthenticateEmailRequest, ApiAuthenticateSMSRequest, ApiBannedUserList, ApiCategoryDesc, ApiCategoryDescList, ApiChanEncryptionMethod, ApiChangeChannelPrivateRequest, ApiChannelAttachmentList, ApiChannelCanvasDetailResponse, ApiChannelCanvasListResponse, ApiChannelDescList, ApiChannelDescription, ApiChannelMessageHeader, ApiChannelMessageList, ApiChannelSettingListResponse, ApiChannelUserList, ApiCheckDuplicateNameRequest, ApiCheckDuplicateNameResponse, ApiClanDesc, ApiClanDescList, ApiClanDiscoverRequest, ApiClanEmojiCreateRequest, ApiClanProfile, ApiClanStickerAddRequest, ApiClanUserList, ApiClanUserStatusList, ApiClosePollRequest, ApiConfirmLoginRequest, ApiCreateActivityRequest, ApiCreateCategoryDescRequest, ApiCreateChannelDescRequest, ApiCreateChannelTimelineRequest, ApiCreateChannelTimelineResponse, ApiCreateClanDescRequest, ApiCreateEventRequest, ApiCreateHashChannelAppsResponse, ApiCreateOnboardingRequest, ApiCreatePollRequest, ApiCreatePollResponse, ApiCreateRoleRequest, ApiDeleteChannelDescRequest, ApiDeleteEventRequest, ApiDeleteRoleRequest, ApiDetailChannelTimelineRequest, ApiDetailChannelTimelineResponse, ApiEditChannelCanvasRequest, ApiEditChannelCanvasResponse, ApiEmojiListedResponse, ApiEmojiRecentList, ApiEvent, ApiEventList, ApiEventManagement, ApiForSaleItemList, ApiFriendList, ApiGenerateClanWebhookRequest, ApiGenerateClanWebhookResponse, ApiGenerateMeetTokenExternalResponse, ApiGenerateMeetTokenRequest, ApiGenerateMeetTokenResponse, ApiGenerateMezonMeetResponse, ApiGetKeyServerResp, ApiGetPollRequest, ApiGetPollResponse, ApiGetPubKeysResponse, ApiGiveCoffeeEvent, ApiInviteUserRes, ApiIsBannedResponse, ApiIsFollowerRequest, ApiIsFollowerResponse, ApiLinkAccountConfirmRequest, ApiLinkAccountMezon, ApiLinkInviteUser, ApiLinkInviteUserRequest, ApiListChannelAppsResponse, ApiListChannelBadgeCountResponse, ApiListChannelTimelineRequest, ApiListChannelTimelineResponse, ApiListClanDiscover, ApiListClanWebhookResponse, ApiListFavoriteChannelResponse, ApiListOnboardingResponse, ApiListOnboardingStepResponse, ApiListUserActivity, ApiListUserOnlineResponse, ApiLoginIDResponse, ApiLoginRequest, ApiMarkAsReadRequest, ApiMeetParticipantRequest, ApiMessage2InboxRequest, ApiMessageAttachment, ApiMessageMention, ApiMessageReaction, ApiMessageRef, ApiMezonOauthClient, ApiMezonOauthClientList, ApiMutedChannelList, ApiNotificationChannel, ApiNotificationChannelCategorySettingList, ApiNotificationList, ApiNotificationSetting, ApiNotificationUserChannel, ApiNotifiReactMessage, ApiOnboardingItem, ApiPermissionList, ApiPermissionRoleChannelListEventResponse, ApiPinMessageRequest, ApiPushPubKeyRequest, ApiQuickMenuAccessList, ApiQuickMenuAccessRequest, ApiRegisterStreamingChannelRequest, ApiRegisterStreamingChannelResponse, ApiRegistFcmDeviceTokenResponse, ApiRegistrationEmailRequest, ApiRole, ApiRoleList, ApiRoleListEventResponse, ApiRoleUserList, ApiSdTopic, ApiSdTopicList, ApiSdTopicRequest, ApiSearchMessageRequest, ApiSearchMessageResponse, ApiSession, ApiSessionLogoutRequest, ApiSessionRefreshRequest, ApiSetDefaultNotificationRequest, ApiSetMuteRequest, ApiSetNotificationRequest, ApiStickerListedResponse, ApiStreamingChannelUserList, ApiSystemMessage, ApiSystemMessageRequest, ApiSystemMessagesList, ApiTokenSentEvent, ApiTransferOwnershipRequest, ApiUpdateAccountRequest, ApiUpdateCategoryOrderRequest, ApiUpdateChannelDescRequest, ApiUpdateChannelTimelineRequest, ApiUpdateChannelTimelineResponse, ApiUpdateClanOrderRequest, ApiUpdateRoleChannelRequest, ApiUpdateRoleOrderRequest, ApiUpdateUsernameRequest, ApiUpdateUsersRequest, ApiUploadAttachment, ApiUploadAttachmentRequest, ApiUserActivity, ApiUserEventRequest, ApiUserPermissionInChannelListResponse, ApiUserStatus, ApiUserStatusUpdate, ApiVoiceChannelUserList, ApiVotePollRequest, ApiVotePollResponse, ApiWebhookCreateRequest, ApiWebhookListResponse, Channel, ChannelAppEvent, ClanJoin, CustomStatusEvent, IncomingCallPush, LastPinMessageEvent, LastSeenMessageEvent, ListDataSocket, MessageTypingEvent, MezonapiCreateRoomChannelApps, MezonapiListAuditLog, MezonChangeChannelCategoryBody, MezonDeleteWebhookByIdBody, MezonSetChanEncryptionMethodBody, MezonUpdateAppBody, MezonUpdateCategoryBody, MezonUpdateClanEmojiByIdBody, MezonUpdateClanStickerByIdBody, MezonUpdateClanWebhookByIdBody, MezonUpdateEventBody, MezonUpdateOnboardingBody, MezonUpdateOnboardingStepByClanIdBody, MezonUpdateRoleBody, MezonUpdateRoleDeleteBody, MezonUpdateSystemMessageBody, MezonUpdateUserProfileByClanBody, MezonUpdateWebhookByIdBody, QuickMenuEvent, Status, VoiceReactionSend, WebrtcSignalingFwd } from "./types";
|
|
4
|
+
declare enum ApiNameEnum {
|
|
5
|
+
ListRoles = 0,
|
|
6
|
+
ListEvents = 1,
|
|
7
|
+
GetRoleOfUserInTheClan = 2,
|
|
8
|
+
GetListPermission = 3,
|
|
9
|
+
ListUserPermissionInChannel = 4,
|
|
10
|
+
GetNotificationClan = 5,
|
|
11
|
+
ListMutedChannel = 6,
|
|
12
|
+
ListStreamingChannelUsers = 7,
|
|
13
|
+
ListQuickMenuAccess = 8,
|
|
14
|
+
GetNotificationChannel = 9,
|
|
15
|
+
ListFriends = 10,
|
|
16
|
+
EmojiRecentList = 11,
|
|
17
|
+
GetListEmojisByUserId = 12,
|
|
18
|
+
ListChannelBadgeCount = 13,
|
|
19
|
+
ListClanUsersStatus = 14,
|
|
20
|
+
ListChannelApps = 15,
|
|
21
|
+
GetListFavoriteChannel = 16,
|
|
22
|
+
ListCategoryDescs = 17,
|
|
23
|
+
ListOnboarding = 18,
|
|
24
|
+
GetListStickersByUserId = 19,
|
|
25
|
+
GetSystemMessageByClanId = 20,
|
|
26
|
+
GetPinMessagesList = 21,
|
|
27
|
+
GetChannelCanvasList = 22,
|
|
28
|
+
ListChannelTimeline = 23,
|
|
29
|
+
ListChannelMessages = 24
|
|
30
|
+
}
|
|
31
|
+
import { Session } from "./session";
|
|
32
|
+
export declare class MezonTransport {
|
|
33
|
+
readonly serverKey: string;
|
|
34
|
+
readonly timeoutMs: number;
|
|
35
|
+
static readonly DefaultSendTimeoutMs = 10000;
|
|
36
|
+
private readonly cIds;
|
|
37
|
+
private nextCid;
|
|
38
|
+
adapter: TransportAdapter;
|
|
39
|
+
private basePath;
|
|
40
|
+
constructor(serverKey: string, timeoutMs: number, adapter: TransportAdapter, basePath: string);
|
|
41
|
+
setOnOpen(onopen: (evt: Event) => void): void;
|
|
42
|
+
setOnError(onerror: (evt: Event) => void): void;
|
|
43
|
+
close(): void;
|
|
44
|
+
generatecid(): number;
|
|
45
|
+
setTransportAdapter(transportAdapter: TransportAdapter): void;
|
|
46
|
+
setFallbackSession(_session: Session): void;
|
|
47
|
+
getApiFromPath(apiPath: string): ApiNameEnum | undefined;
|
|
48
|
+
connect(session: Session, createStatus: boolean | undefined, verbose: boolean | undefined, onMessage: tsproto.SocketMessageHandler, onDisconnected: tsproto.SocketCloseHandler, signal?: AbortSignal): void;
|
|
49
|
+
send(data: any, sendTimeout?: number): Promise<any>;
|
|
50
|
+
setBasePath(basePath: string): void;
|
|
51
|
+
/** Delete the current user's account. */
|
|
52
|
+
deleteAccount(bearerToken: string, options?: {}): Promise<any>;
|
|
53
|
+
/** Fetch the current user's account. */
|
|
54
|
+
getAccount(bearerToken: string, options?: {}): Promise<ApiAccount>;
|
|
55
|
+
/** Update fields in the current user's account. */
|
|
56
|
+
updateAccount(bearerToken: string, body: ApiUpdateAccountRequest, options?: {}): Promise<any>;
|
|
57
|
+
checkLoginRequest(basicAuthUsername: string, basicAuthPassword: string, body: ApiConfirmLoginRequest, options?: {}): Promise<ApiSession>;
|
|
58
|
+
/** */
|
|
59
|
+
confirmLogin(bearerToken: string, basePath: string, body: ApiConfirmLoginRequest, options?: {}): Promise<any>;
|
|
60
|
+
/** */
|
|
61
|
+
createQRLogin(basicAuthUsername: string, basicAuthPassword: string, body: ApiLoginRequest, options?: {}): Promise<ApiLoginIDResponse>;
|
|
62
|
+
/** Authenticate a user with an SMS against the server. */
|
|
63
|
+
AuthenticateSMSOTPRequest(basicAuthUsername: string, basicAuthPassword: string, body: ApiAuthenticateSMSRequest, options?: {}): Promise<ApiLinkAccountConfirmRequest>;
|
|
64
|
+
/** Authenticate a user with an email+password against the server. */
|
|
65
|
+
AuthenticateEmailOTPRequest(basicAuthUsername: string, basicAuthPassword: string, body: ApiAuthenticateEmailRequest, options?: {}): Promise<ApiLinkAccountConfirmRequest>;
|
|
66
|
+
/** Authenticate a user with an email+password against the server. */
|
|
67
|
+
authenticateEmail(basicAuthUsername: string, basicAuthPassword: string, body: ApiAuthenticateEmailRequest, options?: {}): Promise<ApiSession>;
|
|
68
|
+
/** Authenticate a user with Mezon against the server. */
|
|
69
|
+
authenticateMezon(basicAuthUsername: string, basicAuthPassword: string, account: ApiAccountMezon, create?: boolean, username?: string, isRemember?: boolean, options?: {}): Promise<ApiSession>;
|
|
70
|
+
/** Add an email+password to the social profiles on the current user's account. */
|
|
71
|
+
linkEmail(bearerToken: string, body: ApiAccountEmail, options?: {}): Promise<ApiLinkAccountConfirmRequest>;
|
|
72
|
+
/** Add a mezon ID to the social profiles on the current user's account. */
|
|
73
|
+
linkSMS(bearerToken: string, body: ApiLinkAccountMezon, options?: {}): Promise<ApiLinkAccountConfirmRequest>;
|
|
74
|
+
/** */
|
|
75
|
+
confirmLinkMezonOTP(bearerToken: string, body: ApiLinkAccountConfirmRequest, options?: {}): Promise<ApiSession>;
|
|
76
|
+
/** */
|
|
77
|
+
confirmAuthenticateOTP(basicAuthUsername: string, basicAuthPassword: string, body: ApiLinkAccountConfirmRequest, options?: {}): Promise<ApiSession>;
|
|
78
|
+
/** Authenticate a user with an email+password against the server. */
|
|
79
|
+
registrationEmail(bearerToken: string, body: ApiRegistrationEmailRequest, options?: {}): Promise<ApiSession>;
|
|
80
|
+
/** Refresh a user's session using a refresh token retrieved from a previous authentication request. */
|
|
81
|
+
sessionRefresh(basicAuthUsername: string, basicAuthPassword: string, body: ApiSessionRefreshRequest, options?: {}): Promise<ApiSession>;
|
|
82
|
+
/** Remove the email+password from the social profiles on the current user's account. */
|
|
83
|
+
unlinkEmail(bearerToken: string, body: ApiAccountEmail, options?: {}): Promise<any>;
|
|
84
|
+
/** List activity */
|
|
85
|
+
listActivity(bearerToken: string, options?: {}): Promise<ApiListUserActivity>;
|
|
86
|
+
/** Create user activity */
|
|
87
|
+
createActiviy(bearerToken: string, body: ApiCreateActivityRequest, options?: {}): Promise<ApiUserActivity>;
|
|
88
|
+
/** Add a new apps. */
|
|
89
|
+
addApp(bearerToken: string, body: ApiAddAppRequest, options?: {}): Promise<ApiApp>;
|
|
90
|
+
/** List (and optionally filter) accounts. */
|
|
91
|
+
listApps(bearerToken: string, filter?: string, tombstones?: boolean, cursor?: string, options?: {}): Promise<ApiAppList>;
|
|
92
|
+
/** Add an app to clan. */
|
|
93
|
+
addAppToClan(bearerToken: string, appId: string, clanId: string, options?: {}): Promise<any>;
|
|
94
|
+
/** Delete all information stored for an app. */
|
|
95
|
+
deleteApp(bearerToken: string, id: string, options?: {}): Promise<any>;
|
|
96
|
+
/** Get detailed app information. */
|
|
97
|
+
getApp(bearerToken: string, id: string, options?: {}): Promise<ApiApp>;
|
|
98
|
+
/** Update one or more fields on a app. */
|
|
99
|
+
updateApp(bearerToken: string, id: string, body: MezonUpdateAppBody, options?: {}): Promise<ApiApp>;
|
|
100
|
+
/** */
|
|
101
|
+
listAuditLog(bearerToken: string, actionLog?: string, userId?: string, clanId?: string, dateLog?: string, options?: {}): Promise<MezonapiListAuditLog>;
|
|
102
|
+
/** */
|
|
103
|
+
updateCategoryOrder(bearerToken: string, body: ApiUpdateCategoryOrderRequest, options?: {}): Promise<any>;
|
|
104
|
+
/** */
|
|
105
|
+
listCategoryDescs(bearerToken: string, clanId: string, creatorId?: string, categoryName?: string, categoryId?: string, categoryOrder?: number, options?: {}): Promise<ApiCategoryDescList>;
|
|
106
|
+
/** List channel apps. */
|
|
107
|
+
listChannelApps(bearerToken: string, clanId?: string, options?: {}): Promise<ApiListChannelAppsResponse>;
|
|
108
|
+
/** */
|
|
109
|
+
getChannelCanvasList(bearerToken: string, channelId: string, clanId?: string, limit?: number, page?: number, options?: {}): Promise<ApiChannelCanvasListResponse>;
|
|
110
|
+
/** */
|
|
111
|
+
addChannelFavorite(bearerToken: string, body: ApiAddFavoriteChannelRequest, options?: {}): Promise<any>;
|
|
112
|
+
/** */
|
|
113
|
+
removeChannelFavorite(bearerToken: string, channelId: string, clanId?: string, options?: {}): Promise<any>;
|
|
114
|
+
/** */
|
|
115
|
+
getListFavoriteChannel(bearerToken: string, clanId: string, options?: {}): Promise<ApiListFavoriteChannelResponse>;
|
|
116
|
+
/** List a channel's message history. */
|
|
117
|
+
listChannelMessages(bearerToken: string, clanId: string, channelId: string, messageId?: string, direction?: number, limit?: number, topicId?: string, options?: {}): Promise<ApiChannelMessageList>;
|
|
118
|
+
/** Add users to a channel. */
|
|
119
|
+
addChannelUsers(bearerToken: string, channelId: string, userIds?: Array<string>, options?: {}): Promise<any>;
|
|
120
|
+
/** List all attachment that are part of a channel. */
|
|
121
|
+
listChannelAttachment(bearerToken: string, channelId: string, clanId?: string, fileType?: string, limit?: number, state?: number, before?: number, after?: number, around?: number, options?: {}): Promise<ApiChannelAttachmentList>;
|
|
122
|
+
/** get channel encryption method */
|
|
123
|
+
getChanEncryptionMethod(bearerToken: string, channelId: string, method?: string, options?: {}): Promise<ApiChanEncryptionMethod>;
|
|
124
|
+
/** store channel encryption method */
|
|
125
|
+
setChanEncryptionMethod(bearerToken: string, channelId: string, body: MezonSetChanEncryptionMethodBody, options?: {}): Promise<any>;
|
|
126
|
+
/** Leave a channel the user is a member of. */
|
|
127
|
+
leaveThread(bearerToken: string, clanId: string, channelId: string, options?: {}): Promise<any>;
|
|
128
|
+
/** Archive a single channel/thread (active = 0). */
|
|
129
|
+
archiveChannel(bearerToken: string, clanId: string, channelId: string, options?: {}): Promise<any>;
|
|
130
|
+
/** List archived top-level channels in a clan. */
|
|
131
|
+
listArchivedChannelDescs(bearerToken: string, clanId: string, options?: {}): Promise<ApiChannelDescList>;
|
|
132
|
+
/** Kick a set of users from a channel. */
|
|
133
|
+
removeChannelUsers(bearerToken: string, channelId: string, userIds?: Array<string>, options?: {}): Promise<any>;
|
|
134
|
+
/** List all users that are part of a channel. */
|
|
135
|
+
listChannelUsers(bearerToken: string, clanId: string, channelId: string, channelType?: number, limit?: number, state?: number, cursor?: string, options?: {}): Promise<ApiChannelUserList>;
|
|
136
|
+
/** List user channels */
|
|
137
|
+
listChannelDescs(bearerToken: string, limit?: number, state?: number, page?: number, clanId?: string, channelType?: number, isMobile?: boolean, options?: {}): Promise<ApiChannelDescList>;
|
|
138
|
+
/** Create a new channel with the current user as the owner. */
|
|
139
|
+
createChannelDesc(bearerToken: string, body: ApiCreateChannelDescRequest, options?: {}): Promise<ApiChannelDescription>;
|
|
140
|
+
/** list user add channel by channel ids */
|
|
141
|
+
listChannelUsersUC(bearerToken: string, channelId?: string, limit?: number, options?: {}): Promise<ApiAllUsersAddChannelResponse>;
|
|
142
|
+
/** Delete a channel by ID. */
|
|
143
|
+
deleteChannelDesc(bearerToken: string, clanId: string, channelId: string, options?: {}): Promise<any>;
|
|
144
|
+
/** Update fields in a given channel. */
|
|
145
|
+
updateChannelDesc(bearerToken: string, channelId: string, body: ApiUpdateChannelDescRequest, options?: {}): Promise<any>;
|
|
146
|
+
/** List channel setting */
|
|
147
|
+
listChannelSetting(bearerToken: string, clanId: string, parentId?: string, categoryId?: string, privateChannel?: number, active?: number, status?: number, type?: number, limit?: number, page?: number, channelLabel?: string, options?: {}): Promise<ApiChannelSettingListResponse>;
|
|
148
|
+
/** List all users that are part of a channel. */
|
|
149
|
+
listChannelVoiceUsers(bearerToken: string, clanId?: string, limit?: number, options?: {}): Promise<ApiVoiceChannelUserList>;
|
|
150
|
+
/** List clans */
|
|
151
|
+
listClanDescs(bearerToken: string, limit?: number, state?: number, cursor?: string, options?: {}): Promise<ApiClanDescList>;
|
|
152
|
+
/** Paged list of channel unread/badge metadata (HTTP counterpart to socket ListChannelBadgeCount). */
|
|
153
|
+
listChannelBadgeCount(bearerToken: string, clanId: string, limit?: number, page?: number, options?: {}): Promise<ApiListChannelBadgeCountResponse>;
|
|
154
|
+
/** Paged list of online users in a clan (HTTP counterpart to socket ListUserOnline). */
|
|
155
|
+
listUserOnline(bearerToken: string, clanId: string, limit?: number, page?: number, options?: {}): Promise<ApiListUserOnlineResponse>;
|
|
156
|
+
/** Create a clan */
|
|
157
|
+
createClanDesc(bearerToken: string, body: ApiCreateClanDescRequest, options?: {}): Promise<ApiClanDesc>;
|
|
158
|
+
/** Delete a clan desc by ID. */
|
|
159
|
+
deleteClanDesc(bearerToken: string, clanDescId: string, options?: {}): Promise<any>;
|
|
160
|
+
/** Update fields in a given clan. */
|
|
161
|
+
updateClanDesc(bearerToken: string, clanId: string, body: {}, options?: {}): Promise<any>;
|
|
162
|
+
/** Kick a set of users from a clan. */
|
|
163
|
+
removeClanUsers(bearerToken: string, clanId: string, userIds?: Array<string>, options?: {}): Promise<any>;
|
|
164
|
+
/** List banned user */
|
|
165
|
+
listBannedUsers(bearerToken: string, clanId?: string, channelId?: string, options?: {}): Promise<ApiBannedUserList>;
|
|
166
|
+
/** Ban a set of users from a channel. */
|
|
167
|
+
unbanClanUsers(bearerToken: string, clanId: string, channelId?: string, userIds?: Array<string>, banTime?: number, options?: {}): Promise<any>;
|
|
168
|
+
/** Ban a set of users from a channel. */
|
|
169
|
+
banClanUsers(bearerToken: string, clanId: string, channelId?: string, userIds?: Array<string>, banTime?: number, options?: {}): Promise<any>;
|
|
170
|
+
/** List all users that are part of a clan. */
|
|
171
|
+
listClanUsers(bearerToken: string, clanId: string, options?: {}): Promise<ApiClanUserList>;
|
|
172
|
+
/** List clan members' custom status strings (user_status). */
|
|
173
|
+
listClanUsersStatus(bearerToken: string, clanId: string, options?: {}): Promise<ApiClanUserStatusList>;
|
|
174
|
+
/** */
|
|
175
|
+
createCategoryDesc(bearerToken: string, body: ApiCreateCategoryDescRequest, options?: {}): Promise<ApiCategoryDesc>;
|
|
176
|
+
/** Check whether a clan/category/channel/thread/nickname/username already exists. */
|
|
177
|
+
checkDuplicateName(bearerToken: string, body: ApiCheckDuplicateNameRequest, options?: {}): Promise<ApiCheckDuplicateNameResponse>;
|
|
178
|
+
/** */
|
|
179
|
+
deleteCategoryDesc(bearerToken: string, categoryId: string, clanId: string, categoryLabel?: string, options?: {}): Promise<any>;
|
|
180
|
+
/** regist fcm device token */
|
|
181
|
+
registFCMDeviceToken(bearerToken: string, token?: string, deviceId?: string, platform?: string, voipToken?: string, options?: {}): Promise<ApiRegistFcmDeviceTokenResponse>;
|
|
182
|
+
/** close direct message. */
|
|
183
|
+
closeDirectMess(bearerToken: string, body: ApiDeleteChannelDescRequest, options?: {}): Promise<any>;
|
|
184
|
+
/** open direct message. */
|
|
185
|
+
openDirectMess(bearerToken: string, body: ApiDeleteChannelDescRequest, options?: {}): Promise<any>;
|
|
186
|
+
/** Post clan Emoji /v2/emoji/create */
|
|
187
|
+
createClanEmoji(bearerToken: string, body: ApiClanEmojiCreateRequest, options?: {}): Promise<any>;
|
|
188
|
+
/** Delete a emoji by ID. */
|
|
189
|
+
deleteClanEmojiById(bearerToken: string, id: string, clanId?: string, emojiLabel?: string, options?: {}): Promise<any>;
|
|
190
|
+
/** Update ClanEmoj By id */
|
|
191
|
+
updateClanEmojiById(bearerToken: string, id: string, body: MezonUpdateClanEmojiByIdBody, options?: {}): Promise<any>;
|
|
192
|
+
/** get list emoji recent by user id */
|
|
193
|
+
emojiRecentList(bearerToken: string, options?: {}): Promise<ApiEmojiRecentList>;
|
|
194
|
+
/** get list emoji by user id */
|
|
195
|
+
getListEmojisByUserId(bearerToken: string, options?: {}): Promise<ApiEmojiListedResponse>;
|
|
196
|
+
/** Search message from elasticsearch service. */
|
|
197
|
+
searchMessage(bearerToken: string, body: ApiSearchMessageRequest, options?: {}): Promise<ApiSearchMessageResponse>;
|
|
198
|
+
/** Submit an event for processing in the server's registered runtime custom events handler. */
|
|
199
|
+
event(bearerToken: string, body: ApiEvent, options?: {}): Promise<any>;
|
|
200
|
+
/** List user events */
|
|
201
|
+
listEvents(bearerToken: string, clanId?: string, options?: {}): Promise<ApiEventList>;
|
|
202
|
+
/** Create a new event for clan. */
|
|
203
|
+
createEvent(bearerToken: string, body: ApiCreateEventRequest, options?: {}): Promise<ApiEventManagement>;
|
|
204
|
+
/** Update fields in a given event. */
|
|
205
|
+
updateEventUser(bearerToken: string, body: ApiDeleteEventRequest, options?: {}): Promise<any>;
|
|
206
|
+
/** Delete a event by ID. */
|
|
207
|
+
deleteEvent(bearerToken: string, eventId: string, clanId?: string, creatorId?: string, eventLabel?: string, channelId?: string, options?: {}): Promise<any>;
|
|
208
|
+
/** Update fields in a given event. */
|
|
209
|
+
updateEvent(bearerToken: string, eventId: string, body: MezonUpdateEventBody, options?: {}): Promise<any>;
|
|
210
|
+
/** Delete one or more users by ID or username. */
|
|
211
|
+
deleteFriends(bearerToken: string, ids?: Array<string>, usernames?: Array<string>, options?: {}): Promise<any>;
|
|
212
|
+
/** List all friends for the current user. */
|
|
213
|
+
listFriends(bearerToken: string, limit?: number, state?: number, cursor?: string, options?: {}): Promise<ApiFriendList>;
|
|
214
|
+
/** Add friends by ID or username to a user's account. */
|
|
215
|
+
addFriends(bearerToken: string, ids?: Array<string>, usernames?: Array<string>, options?: {}): Promise<ApiAddFriendsResponse>;
|
|
216
|
+
/** Block one or more users by ID or username. */
|
|
217
|
+
blockFriends(bearerToken: string, ids?: Array<string>, usernames?: Array<string>, options?: {}): Promise<any>;
|
|
218
|
+
/** Block one or more users by ID or username. */
|
|
219
|
+
unblockFriends(bearerToken: string, ids?: Array<string>, usernames?: Array<string>, options?: {}): Promise<any>;
|
|
220
|
+
/** List GetChannelCategoryNotiSettingsList */
|
|
221
|
+
getChannelCategoryNotiSettingsList(bearerToken: string, clanId?: string, options?: {}): Promise<ApiNotificationChannelCategorySettingList>;
|
|
222
|
+
/** */
|
|
223
|
+
getUserProfileOnClan(bearerToken: string, clanId: string, options?: {}): Promise<ApiClanProfile>;
|
|
224
|
+
/** List GetNotificationChannel */
|
|
225
|
+
getNotificationCategory(bearerToken: string, categoryId?: string, options?: {}): Promise<ApiNotificationUserChannel>;
|
|
226
|
+
/** List GetNotificationChannel */
|
|
227
|
+
getNotificationChannel(bearerToken: string, channelId?: string, options?: {}): Promise<ApiNotificationUserChannel>;
|
|
228
|
+
/** List GetNotificationClan */
|
|
229
|
+
getNotificationClan(bearerToken: string, clanId?: string, options?: {}): Promise<ApiNotificationSetting>;
|
|
230
|
+
/** List GetNotificationReactMessage */
|
|
231
|
+
getNotificationReactMessage(bearerToken: string, channelId?: string, options?: {}): Promise<ApiNotifiReactMessage>;
|
|
232
|
+
/** Give a coffee */
|
|
233
|
+
giveMeACoffee(bearerToken: string, body: ApiGiveCoffeeEvent, options?: {}): Promise<any>;
|
|
234
|
+
/** get key server */
|
|
235
|
+
getKeyServer(bearerToken: string, options?: {}): Promise<ApiGetKeyServerResp>;
|
|
236
|
+
/** Add users to a channel. */
|
|
237
|
+
createLinkInviteUser(bearerToken: string, body: ApiLinkInviteUserRequest, options?: {}): Promise<ApiLinkInviteUser>;
|
|
238
|
+
/** Add users to a channel. */
|
|
239
|
+
inviteUser(bearerToken: string, inviteId: string, options?: {}): Promise<ApiInviteUserRes>;
|
|
240
|
+
/** Add users to a channel. */
|
|
241
|
+
getLinkInvite(basicAuthUsername: string, basicAuthPassword: string, inviteId: string, options?: {}): Promise<ApiInviteUserRes>;
|
|
242
|
+
/** List HashtagDMList */
|
|
243
|
+
listChannelByUserId(bearerToken: string, options?: {}): Promise<ApiChannelDescList>;
|
|
244
|
+
/** Mark as read */
|
|
245
|
+
markAsRead(bearerToken: string, body: ApiMarkAsReadRequest, options?: {}): Promise<any>;
|
|
246
|
+
/** List mezon OAuth client */
|
|
247
|
+
listMezonOauthClient(bearerToken: string, options?: {}): Promise<ApiMezonOauthClientList>;
|
|
248
|
+
/** set mute notification user channel. */
|
|
249
|
+
setMuteCategory(bearerToken: string, body: ApiSetMuteRequest, options?: {}): Promise<any>;
|
|
250
|
+
/** set mute notification user channel. */
|
|
251
|
+
setMuteChannel(bearerToken: string, body: ApiSetMuteRequest, options?: {}): Promise<any>;
|
|
252
|
+
/** Delete one or more notifications for the current user. */
|
|
253
|
+
deleteNotifications(bearerToken: string, ids?: Array<string>, category?: number, options?: {}): Promise<any>;
|
|
254
|
+
/** Fetch list of notifications. */
|
|
255
|
+
listNotifications(bearerToken: string, limit?: number, clanId?: string, notificationId?: string, category?: number, direction?: number, options?: {}): Promise<ApiNotificationList>;
|
|
256
|
+
/** set notification user channel. */
|
|
257
|
+
setNotificationChannelSetting(bearerToken: string, body: ApiSetNotificationRequest, options?: {}): Promise<any>;
|
|
258
|
+
/** set notification user channel. */
|
|
259
|
+
setNotificationClanSetting(bearerToken: string, body: ApiSetDefaultNotificationRequest, options?: {}): Promise<any>;
|
|
260
|
+
/** set notification user channel. */
|
|
261
|
+
setNotificationCategorySetting(bearerToken: string, body: ApiSetNotificationRequest, options?: {}): Promise<any>;
|
|
262
|
+
/** */
|
|
263
|
+
deleteNotificationCategorySetting(bearerToken: string, categoryId?: string, options?: {}): Promise<any>;
|
|
264
|
+
/** */
|
|
265
|
+
deleteNotificationChannel(bearerToken: string, channelId?: string, options?: {}): Promise<any>;
|
|
266
|
+
/** */
|
|
267
|
+
deleteNotiReactMessage(bearerToken: string, channelId?: string, options?: {}): Promise<any>;
|
|
268
|
+
/** */
|
|
269
|
+
setNotificationReactMessage(bearerToken: string, body: ApiNotificationChannel, options?: {}): Promise<any>;
|
|
270
|
+
/** set permission role channel. */
|
|
271
|
+
setRoleChannelPermission(bearerToken: string, body: ApiUpdateRoleChannelRequest, options?: {}): Promise<any>;
|
|
272
|
+
/** Get permission list */
|
|
273
|
+
getListPermission(bearerToken: string, options?: {}): Promise<ApiPermissionList>;
|
|
274
|
+
/** GetPermissionByRoleIdChannelId */
|
|
275
|
+
getPermissionByRoleIdChannelId(bearerToken: string, roleId?: string, channelId?: string, userId?: string, options?: {}): Promise<ApiPermissionRoleChannelListEventResponse>;
|
|
276
|
+
/** */
|
|
277
|
+
deletePinMessage(bearerToken: string, id?: string, messageId?: string, channelId?: string, clanId?: string, options?: {}): Promise<any>;
|
|
278
|
+
/** */
|
|
279
|
+
getPinMessagesList(bearerToken: string, messageId?: string, channelId?: string, clanId?: string, options?: {}): Promise<tsproto.PinMessagesList>;
|
|
280
|
+
/** create message to inbox. */
|
|
281
|
+
createMessage2Inbox(bearerToken: string, body: ApiMessage2InboxRequest, options?: {}): Promise<ApiChannelMessageHeader>;
|
|
282
|
+
/** set notification user channel. */
|
|
283
|
+
createPinMessage(bearerToken: string, body: ApiPinMessageRequest, options?: {}): Promise<ApiChannelMessageHeader>;
|
|
284
|
+
/** get pubkey */
|
|
285
|
+
getPubKeys(bearerToken: string, userIds?: Array<string>, options?: {}): Promise<ApiGetPubKeysResponse>;
|
|
286
|
+
/** store pubkey for e2ee */
|
|
287
|
+
pushPubKey(bearerToken: string, body: ApiPushPubKeyRequest, options?: {}): Promise<any>;
|
|
288
|
+
/** */
|
|
289
|
+
addRolesChannelDesc(bearerToken: string, body: ApiAddRoleChannelDescRequest, options?: {}): Promise<any>;
|
|
290
|
+
/** update the category of a channel */
|
|
291
|
+
changeChannelCategory(bearerToken: string, newCategoryId: string, body: MezonChangeChannelCategoryBody, options?: {}): Promise<any>;
|
|
292
|
+
/** Update a role when Delete a role by ID. */
|
|
293
|
+
deleteRoleChannelDesc(bearerToken: string, body: ApiDeleteRoleRequest, options?: {}): Promise<any>;
|
|
294
|
+
/** ListRoles */
|
|
295
|
+
listRoles(bearerToken: string, clanId?: string, limit?: number, state?: number, cursor?: string, options?: {}): Promise<ApiRoleListEventResponse>;
|
|
296
|
+
/** Create a new role for clan. */
|
|
297
|
+
createRole(bearerToken: string, body: ApiCreateRoleRequest, options?: {}): Promise<ApiRole>;
|
|
298
|
+
/** Update a role when Delete a role by ID. */
|
|
299
|
+
updateRoleDelete(bearerToken: string, roleId: string, body: MezonUpdateRoleDeleteBody, options?: {}): Promise<any>;
|
|
300
|
+
/** Delete a role by ID. */
|
|
301
|
+
deleteRole(bearerToken: string, roleId: string, channelId?: string, clanId?: string, roleLabel?: string, options?: {}): Promise<any>;
|
|
302
|
+
/** Update fields in a given role. */
|
|
303
|
+
updateRole(bearerToken: string, roleId: string, body: MezonUpdateRoleBody, options?: {}): Promise<any>;
|
|
304
|
+
/** List role permissions */
|
|
305
|
+
listRolePermissions(bearerToken: string, roleId: string, options?: {}): Promise<ApiPermissionList>;
|
|
306
|
+
/** List role permissions */
|
|
307
|
+
listRoleUsers(bearerToken: string, roleId: string, limit?: number, cursor?: string, options?: {}): Promise<ApiRoleUserList>;
|
|
308
|
+
/** */
|
|
309
|
+
getRoleOfUserInTheClan(bearerToken: string, clanId: string, channelId?: string, options?: {}): Promise<ApiRoleList>;
|
|
310
|
+
/** */
|
|
311
|
+
searchThread(bearerToken: string, clanId?: string, channelId?: string, label?: string, options?: {}): Promise<ApiChannelDescList>;
|
|
312
|
+
/** UpdateWallets */
|
|
313
|
+
sendToken(bearerToken: string, body: ApiTokenSentEvent, options?: {}): Promise<any>;
|
|
314
|
+
/** Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user. */
|
|
315
|
+
sessionLogout(bearerToken: string, body: ApiSessionLogoutRequest, options?: {}): Promise<any>;
|
|
316
|
+
/** Add a new sticker */
|
|
317
|
+
addClanSticker(bearerToken: string, body: ApiClanStickerAddRequest, options?: {}): Promise<any>;
|
|
318
|
+
/** Delete a sticker by ID */
|
|
319
|
+
deleteClanStickerById(bearerToken: string, id: string, clanId?: string, stickerLabel?: string, options?: {}): Promise<any>;
|
|
320
|
+
/** Update a sticker by ID */
|
|
321
|
+
updateClanStickerById(bearerToken: string, id: string, body: MezonUpdateClanStickerByIdBody, options?: {}): Promise<any>;
|
|
322
|
+
/** get list sticker by user id */
|
|
323
|
+
getListStickersByUserId(bearerToken: string, options?: {}): Promise<ApiStickerListedResponse>;
|
|
324
|
+
/** Register streaming in channel ( for bot - get streaming key) */
|
|
325
|
+
registerStreamingChannel(bearerToken: string, body: ApiRegisterStreamingChannelRequest, options?: {}): Promise<ApiRegisterStreamingChannelResponse>;
|
|
326
|
+
/** List all users that are part of a channel. */
|
|
327
|
+
listStreamingChannelUsers(bearerToken: string, clanId?: string, channelId?: string, channelType?: number, limit?: number, state?: number, cursor?: string, options?: {}): Promise<ApiStreamingChannelUserList>;
|
|
328
|
+
/** Get the list of system messages. */
|
|
329
|
+
getSystemMessagesList(bearerToken: string, options?: {}): Promise<ApiSystemMessagesList>;
|
|
330
|
+
/** Create a system messages. */
|
|
331
|
+
createSystemMessage(bearerToken: string, body: ApiSystemMessageRequest, options?: {}): Promise<any>;
|
|
332
|
+
/** List Sd Topic */
|
|
333
|
+
listSdTopic(bearerToken: string, clanId?: string, limit?: number, options?: {}): Promise<ApiSdTopicList>;
|
|
334
|
+
/** Create Sd Topic */
|
|
335
|
+
createSdTopic(bearerToken: string, body: ApiSdTopicRequest, options?: {}): Promise<ApiSdTopic>;
|
|
336
|
+
/** Delete a specific system messages. */
|
|
337
|
+
deleteSystemMessage(bearerToken: string, clanId: string, options?: {}): Promise<any>;
|
|
338
|
+
/** Get details of a specific system messages. */
|
|
339
|
+
getSystemMessageByClanId(bearerToken: string, clanId: string, options?: {}): Promise<ApiSystemMessage>;
|
|
340
|
+
/** Update a system messages. */
|
|
341
|
+
updateSystemMessage(bearerToken: string, clanId: string, body: MezonUpdateSystemMessageBody, options?: {}): Promise<any>;
|
|
342
|
+
/** List user channels */
|
|
343
|
+
listThreadDescs(bearerToken: string, channelId: string, limit?: number, state?: number, clanId?: string, threadId?: string, page?: number, options?: {}): Promise<ApiChannelDescList>;
|
|
344
|
+
/** Update fields in a given category. */
|
|
345
|
+
updateCategory(bearerToken: string, clanId: string, body: MezonUpdateCategoryBody, options?: {}): Promise<any>;
|
|
346
|
+
/** Update channel private. */
|
|
347
|
+
updateChannelPrivate(bearerToken: string, body: ApiChangeChannelPrivateRequest, options?: {}): Promise<any>;
|
|
348
|
+
/** */
|
|
349
|
+
updateUserProfileByClan(bearerToken: string, clanId: string, body: MezonUpdateUserProfileByClanBody, options?: {}): Promise<any>;
|
|
350
|
+
/** Upload attachment */
|
|
351
|
+
uploadOauthFile(bearerToken: string, body: ApiUploadAttachmentRequest, options?: {}): Promise<ApiUploadAttachment>;
|
|
352
|
+
/** Upload attachment */
|
|
353
|
+
uploadAttachmentFile(bearerToken: string, body: ApiUploadAttachmentRequest, options?: {}): Promise<ApiUploadAttachment>;
|
|
354
|
+
multipartUploadAttachmentFile(bearerToken: string, body: ApiUploadAttachmentRequest, options?: {}): Promise<MultipartUploadAttachment>;
|
|
355
|
+
multipartUploadAttachmentFileFinsih(bearerToken: string, body: MultipartUploadAttachmentFinishRequest, options?: {}): Promise<any>;
|
|
356
|
+
/** */
|
|
357
|
+
updateUser(bearerToken: string, body: ApiUpdateUsersRequest, options?: {}): Promise<any>;
|
|
358
|
+
/** ListUserClansByUserId */
|
|
359
|
+
listUserClansByUserId(bearerToken: string, options?: {}): Promise<ApiAllUserClans>;
|
|
360
|
+
/** ListUserPermissionInChannel */
|
|
361
|
+
listUserPermissionInChannel(bearerToken: string, clanId?: string, channelId?: string, options?: {}): Promise<ApiUserPermissionInChannelListResponse>;
|
|
362
|
+
/** Get user status */
|
|
363
|
+
getUserStatus(bearerToken: string, options?: {}): Promise<ApiUserStatus>;
|
|
364
|
+
/** Update user status */
|
|
365
|
+
updateUserStatus(bearerToken: string, body: ApiUserStatusUpdate, options?: {}): Promise<any>;
|
|
366
|
+
/** Update user custom status (user_status). */
|
|
367
|
+
updateUserCustomStatus(bearerToken: string, body: ApiUserStatusUpdate, options?: {}): Promise<any>;
|
|
368
|
+
/** create webhook */
|
|
369
|
+
generateWebhook(bearerToken: string, body: ApiWebhookCreateRequest, options?: {}): Promise<any>;
|
|
370
|
+
/** update webhook name by id */
|
|
371
|
+
updateWebhookById(bearerToken: string, id: string, body: MezonUpdateWebhookByIdBody, options?: {}): Promise<any>;
|
|
372
|
+
/** list webhook belong to the channel */
|
|
373
|
+
listWebhookByChannelId(bearerToken: string, channelId: string, clanId?: string, options?: {}): Promise<ApiWebhookListResponse>;
|
|
374
|
+
/** disabled webhook */
|
|
375
|
+
deleteWebhookById(bearerToken: string, id: string, body: MezonDeleteWebhookByIdBody, options?: {}): Promise<any>;
|
|
376
|
+
buildFullUrl(basePath: string, fragment: string, queryParams: Map<string, any>): string;
|
|
377
|
+
/** Channel canvas editor */
|
|
378
|
+
editChannelCanvases(bearerToken: string, body: ApiEditChannelCanvasRequest, options?: {}): Promise<ApiEditChannelCanvasResponse>;
|
|
379
|
+
/** */
|
|
380
|
+
getChannelCanvasDetail(bearerToken: string, id: string, clanId?: string, channelId?: string, options?: {}): Promise<ApiChannelCanvasDetailResponse>;
|
|
381
|
+
/** */
|
|
382
|
+
deleteChannelCanvas(bearerToken: string, canvasId: string, clanId?: string, channelId?: string, options?: {}): Promise<any>;
|
|
383
|
+
/** list onboarding. */
|
|
384
|
+
listOnboarding(bearerToken: string, clanId?: string, guideType?: number, limit?: number, page?: number, options?: {}): Promise<ApiListOnboardingResponse>;
|
|
385
|
+
/** create onboarding. */
|
|
386
|
+
createOnboarding(bearerToken: string, body: ApiCreateOnboardingRequest, options?: {}): Promise<ApiListOnboardingResponse>;
|
|
387
|
+
/** delete onboarding. */
|
|
388
|
+
deleteOnboarding(bearerToken: string, id: string, clanId?: string, options?: {}): Promise<any>;
|
|
389
|
+
/** get detailed onboarding information. */
|
|
390
|
+
getOnboardingDetail(bearerToken: string, id: string, clanId?: string, options?: {}): Promise<ApiOnboardingItem>;
|
|
391
|
+
/** update onboarding. */
|
|
392
|
+
updateOnboarding(bearerToken: string, id: string, body: MezonUpdateOnboardingBody, options?: {}): Promise<any>;
|
|
393
|
+
/** Generate clan webhook. */
|
|
394
|
+
generateClanWebhook(bearerToken: string, body: ApiGenerateClanWebhookRequest, options?: {}): Promise<ApiGenerateClanWebhookResponse>;
|
|
395
|
+
/** List clan webhook. */
|
|
396
|
+
listClanWebhook(bearerToken: string, clanId: string, options?: {}): Promise<ApiListClanWebhookResponse>;
|
|
397
|
+
/** Disabled clan webhook. */
|
|
398
|
+
deleteClanWebhookById(bearerToken: string, id: string, clanId?: string, options?: {}): Promise<any>;
|
|
399
|
+
/** Update clan webhook by id. */
|
|
400
|
+
updateClanWebhookById(bearerToken: string, id: string, body: MezonUpdateClanWebhookByIdBody, options?: {}): Promise<any>;
|
|
401
|
+
/** Sd Topic */
|
|
402
|
+
getTopicDetail(bearerToken: string, topicId?: string, options?: {}): Promise<ApiSdTopic>;
|
|
403
|
+
/** List onboarding step. */
|
|
404
|
+
listOnboardingStep(bearerToken: string, clanId?: string, limit?: number, page?: number, options?: {}): Promise<ApiListOnboardingStepResponse>;
|
|
405
|
+
/** Update onboarding step. */
|
|
406
|
+
updateOnboardingStepByClanId(bearerToken: string, clanId: string, body: MezonUpdateOnboardingStepByClanIdBody, options?: {}): Promise<any>;
|
|
407
|
+
/** create meeting room */
|
|
408
|
+
createRoomChannelApps(bearerToken: string, body: MezonapiCreateRoomChannelApps, options?: {}): Promise<MezonapiCreateRoomChannelApps>;
|
|
409
|
+
/** Generate Meet Token */
|
|
410
|
+
generateMeetToken(bearerToken: string, body: ApiGenerateMeetTokenRequest, options?: {}): Promise<ApiGenerateMeetTokenResponse>;
|
|
411
|
+
/** Create mezon OAuth client */
|
|
412
|
+
getMezonOauthClient(bearerToken: string, clientId?: string, clientName?: string, options?: {}): Promise<ApiMezonOauthClient>;
|
|
413
|
+
/** update mezon OAuth */
|
|
414
|
+
updateMezonOauthClient(bearerToken: string, body: ApiMezonOauthClient, options?: {}): Promise<ApiMezonOauthClient>;
|
|
415
|
+
/** */
|
|
416
|
+
generateHashChannelApps(bearerToken: string, appId?: string, options?: {}): Promise<ApiCreateHashChannelAppsResponse>;
|
|
417
|
+
/** Add user event */
|
|
418
|
+
addUserEvent(bearerToken: string, body: ApiUserEventRequest, options?: {}): Promise<any>;
|
|
419
|
+
/** Delete user event */
|
|
420
|
+
deleteUserEvent(bearerToken: string, clanId?: string, eventId?: string, options?: {}): Promise<any>;
|
|
421
|
+
/** */
|
|
422
|
+
updateRoleOrder(bearerToken: string, body: ApiUpdateRoleOrderRequest, options?: {}): Promise<any>;
|
|
423
|
+
/** Create external Mezon meet */
|
|
424
|
+
createExternalMezonMeet(bearerToken: string, options?: {}): Promise<ApiGenerateMezonMeetResponse>;
|
|
425
|
+
/** handler external mezon meet */
|
|
426
|
+
generateMeetTokenExternal(bearerToken: string, basePath: string, token: string, username?: string, metadata?: string, isGuest?: boolean, options?: {}): Promise<ApiGenerateMeetTokenExternalResponse>;
|
|
427
|
+
/** mute participant in the room */
|
|
428
|
+
muteParticipantMezonMeet(bearerToken: string, body: ApiMeetParticipantRequest, options?: {}): Promise<any>;
|
|
429
|
+
/** Remove participant out the room */
|
|
430
|
+
removeParticipantMezonMeet(bearerToken: string, body: ApiMeetParticipantRequest, options?: {}): Promise<any>;
|
|
431
|
+
/** List channels detail */
|
|
432
|
+
listChannelDetail(bearerToken: string, channelId: string, options?: {}): Promise<ApiChannelDescription>;
|
|
433
|
+
/** List channel events */
|
|
434
|
+
listChannelTimeline(bearerToken: string, request: ApiListChannelTimelineRequest, options?: {}): Promise<ApiListChannelTimelineResponse>;
|
|
435
|
+
/** Create channel event */
|
|
436
|
+
createChannelTimeline(bearerToken: string, request: ApiCreateChannelTimelineRequest, options?: {}): Promise<ApiCreateChannelTimelineResponse>;
|
|
437
|
+
/** Update channel event */
|
|
438
|
+
updateChannelTimeline(bearerToken: string, request: ApiUpdateChannelTimelineRequest, options?: {}): Promise<ApiUpdateChannelTimelineResponse>;
|
|
439
|
+
/** List channel events */
|
|
440
|
+
detailChannelTimeline(bearerToken: string, request: ApiDetailChannelTimelineRequest, options?: {}): Promise<ApiDetailChannelTimelineResponse>;
|
|
441
|
+
/** */
|
|
442
|
+
updateClanOrder(bearerToken: string, body: ApiUpdateClanOrderRequest, options?: {}): Promise<any>;
|
|
443
|
+
/** Discover mezon clan. */
|
|
444
|
+
clanDiscover(basicAuthUsername: string, basicAuthPassword: string, basePath: string, body: ApiClanDiscoverRequest, options?: {}): Promise<ApiListClanDiscover>;
|
|
445
|
+
/** */
|
|
446
|
+
deleteQuickMenuAccess(bearerToken: string, id?: string, clanId?: string, botId?: string, menuName?: string, background?: string, actionMsg?: string, options?: {}): Promise<any>;
|
|
447
|
+
/** */
|
|
448
|
+
listQuickMenuAccess(bearerToken: string, botId?: string, channelId?: string, menuType?: number, options?: {}): Promise<ApiQuickMenuAccessList>;
|
|
449
|
+
/** */
|
|
450
|
+
addQuickMenuAccess(bearerToken: string, body: ApiQuickMenuAccessRequest, options?: {}): Promise<any>;
|
|
451
|
+
/** */
|
|
452
|
+
updateQuickMenuAccess(bearerToken: string, body: ApiQuickMenuAccessRequest, options?: {}): Promise<any>;
|
|
453
|
+
/** For sale items */
|
|
454
|
+
listForSaleItems(bearerToken: string, page?: number, options?: {}): Promise<ApiForSaleItemList>;
|
|
455
|
+
/** */
|
|
456
|
+
isFollower(bearerToken: string, body: ApiIsFollowerRequest, options?: {}): Promise<ApiIsFollowerResponse>;
|
|
457
|
+
/** */
|
|
458
|
+
transferOwnership(bearerToken: string, body: ApiTransferOwnershipRequest, options?: {}): Promise<any>;
|
|
459
|
+
/** Update username */
|
|
460
|
+
updateUsername(bearerToken: string, body: ApiUpdateUsernameRequest, options?: {}): Promise<ApiSession>;
|
|
461
|
+
/** Ban a set of users from a channel. */
|
|
462
|
+
isBanned(bearerToken: string, channelId: string, options?: {}): Promise<ApiIsBannedResponse>;
|
|
463
|
+
/** */
|
|
464
|
+
reportMessageAbuse(bearerToken: string, messageId?: string, abuseType?: string, options?: {}): Promise<any>;
|
|
465
|
+
/** */
|
|
466
|
+
sendChannelMessage(bearerToken: string, clan_id: string, channel_id: string, mode: number, is_public: boolean, content: any, mentions?: Array<ApiMessageMention>, attachments?: Array<ApiMessageAttachment>, references?: Array<ApiMessageRef>, anonymous_message?: boolean, mention_everyone?: boolean, avatar?: string, code?: number, topic_id?: string): Promise<tsproto.ChannelMessageAck>;
|
|
467
|
+
/** */
|
|
468
|
+
updateChannelMessage(bearerToken: string, clan_id: string, channel_id: string, mode: number, is_public: boolean, message_id: string, content: any, mentions?: Array<ApiMessageMention>, attachments?: Array<ApiMessageAttachment>, hideEditted?: boolean, topic_id?: string, is_update_msg_topic?: boolean): Promise<any>;
|
|
469
|
+
/** */
|
|
470
|
+
deleteChannelMessage(bearerToken: string, clan_id: string, channel_id: string, mode: number, is_public: boolean, message_id: string, has_attachment?: boolean, topic_id?: string, mentions?: Uint8Array, references?: Uint8Array): Promise<any>;
|
|
471
|
+
/** */
|
|
472
|
+
updateMezonVoiceState(bearerToken: string, clanId?: string, channelId?: string, displayName?: string, roomName?: string, state?: number, options?: {}): Promise<any>;
|
|
473
|
+
/** */
|
|
474
|
+
messageButtonClick(bearerToken: string, messageId?: string, channelId?: string, buttonId?: string, senderId?: string, userId?: string, extraData?: string, options?: {}): Promise<any>;
|
|
475
|
+
/** */
|
|
476
|
+
dropdownBoxSelected(bearerToken: string, messageId?: string, channelId?: string, selectboxId?: string, senderId?: string, userId?: string, values?: string[], options?: {}): Promise<any>;
|
|
477
|
+
activeArchivedThread(bearerToken: string, clanId?: string, channelId?: string, options?: {}): Promise<any>;
|
|
478
|
+
addAgentToChannel(bearerToken: string, roomName?: string, channelId?: string, options?: {}): Promise<any>;
|
|
479
|
+
disconnectAgent(bearerToken: string, roomName?: string, channelId?: string, options?: {}): Promise<any>;
|
|
480
|
+
listMutedChannel(bearerToken: string, clanId: string, options?: {}): Promise<ApiMutedChannelList>;
|
|
481
|
+
channelMessageReact(bearerToken: string, clan_id: string, channel_id: string, mode: number, is_public: boolean, message_id: string, emoji_id: string, emoji: string, count: number, message_sender_id: string, action_delete: boolean, topic_id?: string, emoji_recent_id?: string, sender_name?: string): Promise<tsproto.ChannelMessageAck>;
|
|
482
|
+
/** Create a poll in a channel. */
|
|
483
|
+
createPoll(bearerToken: string, body: ApiCreatePollRequest, options?: {}): Promise<ApiCreatePollResponse>;
|
|
484
|
+
/** Vote on a poll. */
|
|
485
|
+
votePoll(bearerToken: string, body: ApiVotePollRequest, options?: {}): Promise<ApiVotePollResponse>;
|
|
486
|
+
/** Close a poll (creator only). */
|
|
487
|
+
closePoll(bearerToken: string, body: ApiClosePollRequest, options?: {}): Promise<any>;
|
|
488
|
+
/** Get poll details. */
|
|
489
|
+
getPoll(bearerToken: string, body: ApiGetPollRequest, options?: {}): Promise<ApiGetPollResponse>;
|
|
490
|
+
followUsers(userIds: string[]): Promise<Status>;
|
|
491
|
+
joinClanChat(clan_id: string): Promise<ClanJoin>;
|
|
492
|
+
follower(): Promise<void>;
|
|
493
|
+
joinChat(clan_id: string, channel_id: string, channel_type: number, is_public: boolean): Promise<Channel>;
|
|
494
|
+
leaveChat(clan_id: string, channel_id: string, channel_type: number, is_public: boolean): Promise<void>;
|
|
495
|
+
removeChatMessage(clan_id: string, channel_id: string, mode: number, is_public: boolean, message_id: string, has_attachment?: boolean, topic_id?: string, mentions?: string, references?: string): Promise<tsproto.ChannelMessageAck>;
|
|
496
|
+
unfollowUsers(user_ids: string[]): Promise<void>;
|
|
497
|
+
updateChatMessage(clan_id: string, channel_id: string, mode: number, is_public: boolean, message_id: string, content: any, mentions?: Array<ApiMessageMention>, attachments?: Array<ApiMessageAttachment>, hideEditted?: boolean, topic_id?: string, is_update_msg_topic?: boolean): Promise<tsproto.ChannelMessageAck>;
|
|
498
|
+
updateStatus(status?: string): Promise<void>;
|
|
499
|
+
writeQuickMenuEvent(menu_name: string, clan_id: string, channel_id: string, mode: number, is_public: boolean, content: any, mentions?: Array<ApiMessageMention>, attachments?: Array<ApiMessageAttachment>, references?: Array<ApiMessageRef>, anonymous_message?: boolean, mention_everyone?: boolean, avatar?: string, code?: number, topic_id?: string): Promise<QuickMenuEvent>;
|
|
500
|
+
writeEphemeralMessage(receiver_ids: string[], clan_id: string, channel_id: string, mode: number, is_public: boolean, content: any, mentions?: Array<ApiMessageMention>, attachments?: Array<ApiMessageAttachment>, references?: Array<ApiMessageRef>, anonymous_message?: boolean, mention_everyone?: boolean, avatar?: string, code?: number, topic_id?: string, id?: string): Promise<tsproto.ChannelMessageAck>;
|
|
501
|
+
writeChatMessage(clan_id: string, channel_id: string, mode: number, is_public: boolean, content: any, mentions?: Array<ApiMessageMention>, attachments?: Array<ApiMessageAttachment>, references?: Array<ApiMessageRef>, anonymous_message?: boolean, mention_everyone?: boolean, avatar?: string, code?: number, topic_id?: string): Promise<tsproto.ChannelMessageAck>;
|
|
502
|
+
writeMessageReaction(id: string, clan_id: string, channel_id: string, mode: number, is_public: boolean, message_id: string, emoji_id: string, emoji: string, count: number, message_sender_id: string, action_delete: boolean, topic_id?: string, emoji_recent_id?: string, sender_name?: string): Promise<ApiMessageReaction>;
|
|
503
|
+
writeMessageTyping(clan_id: string, channel_id: string, mode: number, is_public: boolean, sender_display_name: string, topic_id?: string): Promise<MessageTypingEvent>;
|
|
504
|
+
writeLastSeenMessage(clan_id: string, channel_id: string, mode: number, message_id: string, timestamp_seconds: number, badge_count: number): Promise<LastSeenMessageEvent>;
|
|
505
|
+
writeLastPinMessage(clan_id: string, channel_id: string, mode: number, is_public: boolean, message_id: string, timestamp_seconds: number, operation: number, message_sender_avatar: string, message_sender_id: string, message_sender_username: string, message_content: string, message_attachment: string, message_created_time: string): Promise<LastPinMessageEvent>;
|
|
506
|
+
writeCustomStatus(clan_id: string, status: string, time_reset: number, no_clear: boolean): Promise<CustomStatusEvent>;
|
|
507
|
+
writeVoiceReaction(emojis: Array<string>, channel_id: string): Promise<VoiceReactionSend>;
|
|
508
|
+
forwardWebrtcSignaling(receiver_id: string, data_type: number, json_data: string, channel_id: string, caller_id: string): Promise<WebrtcSignalingFwd>;
|
|
509
|
+
makeCallPush(receiver_id: string, json_data: string, channel_id: string, caller_id: string): Promise<IncomingCallPush>;
|
|
510
|
+
writeChannelAppEvent(clan_id: string, channel_id: string, action: number): Promise<ChannelAppEvent>;
|
|
511
|
+
listDataSocket(request: ListDataSocket): Promise<any>;
|
|
512
|
+
}
|
|
513
|
+
export {};
|