mezon-js 2.15.26 → 2.15.27

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.
@@ -220,14 +220,14 @@ export declare class MezonTransport {
220
220
  send(data: any, sendTimeout?: number): Promise<any>;
221
221
  setBasePath(basePath: string): void;
222
222
  /** Delete the current user's account. */
223
- deleteAccount(bearerToken: string, options?: {}): Promise<any>;
223
+ deleteAccount(options?: {}): Promise<any>;
224
224
  /** Fetch the current user's account. */
225
- getAccount(bearerToken: string, options?: {}): Promise<ApiAccount>;
225
+ getAccount(options?: {}): Promise<ApiAccount>;
226
226
  /** Update fields in the current user's account. */
227
- updateAccount(bearerToken: string, body: ApiUpdateAccountRequest, options?: {}): Promise<any>;
227
+ updateAccount(body: ApiUpdateAccountRequest, options?: {}): Promise<any>;
228
228
  checkLoginRequest(basicAuthUsername: string, basicAuthPassword: string, body: ApiConfirmLoginRequest, options?: {}): Promise<ApiSession>;
229
229
  /** */
230
- confirmLogin(bearerToken: string, basePath: string, body: ApiConfirmLoginRequest, options?: {}): Promise<any>;
230
+ confirmLogin(basePath: string, body: ApiConfirmLoginRequest, options?: {}): Promise<any>;
231
231
  /** */
232
232
  createQRLogin(basicAuthUsername: string, basicAuthPassword: string, body: ApiLoginRequest, options?: {}): Promise<ApiLoginIDResponse>;
233
233
  /** Authenticate a user with an SMS against the server. */
@@ -239,425 +239,425 @@ export declare class MezonTransport {
239
239
  /** Authenticate a user with Mezon against the server. */
240
240
  authenticateMezon(basicAuthUsername: string, basicAuthPassword: string, account: ApiAccountMezon, create?: boolean, username?: string, isRemember?: boolean, options?: {}): Promise<ApiSession>;
241
241
  /** Add an email+password to the social profiles on the current user's account. */
242
- linkEmail(bearerToken: string, body: ApiAccountEmail, options?: {}): Promise<ApiLinkAccountConfirmRequest>;
242
+ linkEmail(body: ApiAccountEmail, options?: {}): Promise<ApiLinkAccountConfirmRequest>;
243
243
  /** Add a mezon ID to the social profiles on the current user's account. */
244
- linkSMS(bearerToken: string, body: ApiLinkAccountMezon, options?: {}): Promise<ApiLinkAccountConfirmRequest>;
244
+ linkSMS(body: ApiLinkAccountMezon, options?: {}): Promise<ApiLinkAccountConfirmRequest>;
245
245
  /** */
246
- confirmLinkMezonOTP(bearerToken: string, body: ApiLinkAccountConfirmRequest, options?: {}): Promise<ApiSession>;
246
+ confirmLinkMezonOTP(body: ApiLinkAccountConfirmRequest, options?: {}): Promise<ApiSession>;
247
247
  /** */
248
248
  confirmAuthenticateOTP(basicAuthUsername: string, basicAuthPassword: string, body: ApiLinkAccountConfirmRequest, options?: {}): Promise<ApiSession>;
249
249
  /** Authenticate a user with an email+password against the server. */
250
- registrationEmail(bearerToken: string, body: ApiRegistrationEmailRequest, options?: {}): Promise<ApiSession>;
250
+ registrationEmail(body: ApiRegistrationEmailRequest, options?: {}): Promise<ApiSession>;
251
251
  /** Refresh a user's session using a refresh token retrieved from a previous authentication request. */
252
252
  sessionRefresh(basicAuthUsername: string, basicAuthPassword: string, body: ApiSessionRefreshRequest, options?: {}): Promise<ApiSession>;
253
253
  /** Remove the email+password from the social profiles on the current user's account. */
254
- unlinkEmail(bearerToken: string, body: ApiAccountEmail, options?: {}): Promise<any>;
254
+ unlinkEmail(body: ApiAccountEmail, options?: {}): Promise<any>;
255
255
  /** List activity */
256
- listActivity(bearerToken: string, options?: {}): Promise<ApiListUserActivity>;
256
+ listActivity(options?: {}): Promise<ApiListUserActivity>;
257
257
  /** Create user activity */
258
- createActiviy(bearerToken: string, body: ApiCreateActivityRequest, options?: {}): Promise<ApiUserActivity>;
258
+ createActiviy(body: ApiCreateActivityRequest, options?: {}): Promise<ApiUserActivity>;
259
259
  /** Add a new apps. */
260
- addApp(bearerToken: string, body: ApiAddAppRequest, options?: {}): Promise<ApiApp>;
260
+ addApp(body: ApiAddAppRequest, options?: {}): Promise<ApiApp>;
261
261
  /** List (and optionally filter) accounts. */
262
- listApps(bearerToken: string, filter?: string, tombstones?: boolean, cursor?: string, options?: {}): Promise<ApiAppList>;
262
+ listApps(filter?: string, tombstones?: boolean, cursor?: string, options?: {}): Promise<ApiAppList>;
263
263
  /** Add an app to clan. */
264
- addAppToClan(bearerToken: string, appId: string, clanId: string, options?: {}): Promise<any>;
264
+ addAppToClan(appId: string, clanId: string, options?: {}): Promise<any>;
265
265
  /** Delete all information stored for an app. */
266
- deleteApp(bearerToken: string, id: string, options?: {}): Promise<any>;
266
+ deleteApp(id: string, options?: {}): Promise<any>;
267
267
  /** Get detailed app information. */
268
- getApp(bearerToken: string, id: string, options?: {}): Promise<ApiApp>;
268
+ getApp(id: string, options?: {}): Promise<ApiApp>;
269
269
  /** Update one or more fields on a app. */
270
- updateApp(bearerToken: string, id: string, body: MezonUpdateAppBody, options?: {}): Promise<ApiApp>;
270
+ updateApp(id: string, body: MezonUpdateAppBody, options?: {}): Promise<ApiApp>;
271
271
  /** */
272
- listAuditLog(bearerToken: string, actionLog?: string, userId?: string, clanId?: string, dateLog?: string, options?: {}): Promise<MezonapiListAuditLog>;
272
+ listAuditLog(actionLog?: string, userId?: string, clanId?: string, dateLog?: string, options?: {}): Promise<MezonapiListAuditLog>;
273
273
  /** */
274
- updateCategoryOrder(bearerToken: string, body: ApiUpdateCategoryOrderRequest, options?: {}): Promise<any>;
274
+ updateCategoryOrder(body: ApiUpdateCategoryOrderRequest, options?: {}): Promise<any>;
275
275
  /** */
276
- listCategoryDescs(bearerToken: string, clanId: string, creatorId?: string, categoryName?: string, categoryId?: string, categoryOrder?: number, options?: {}): Promise<ApiCategoryDescList>;
276
+ listCategoryDescs(clanId: string, creatorId?: string, categoryName?: string, categoryId?: string, categoryOrder?: number, options?: {}): Promise<ApiCategoryDescList>;
277
277
  /** List channel apps. */
278
- listChannelApps(bearerToken: string, clanId?: string, options?: {}): Promise<ApiListChannelAppsResponse>;
278
+ listChannelApps(clanId?: string, options?: {}): Promise<ApiListChannelAppsResponse>;
279
279
  /** */
280
- getChannelCanvasList(bearerToken: string, channelId: string, clanId?: string, limit?: number, page?: number, options?: {}): Promise<ApiChannelCanvasListResponse>;
280
+ getChannelCanvasList(channelId: string, clanId?: string, limit?: number, page?: number, options?: {}): Promise<ApiChannelCanvasListResponse>;
281
281
  /** */
282
- addChannelFavorite(bearerToken: string, body: ApiAddFavoriteChannelRequest, options?: {}): Promise<any>;
282
+ addChannelFavorite(body: ApiAddFavoriteChannelRequest, options?: {}): Promise<any>;
283
283
  /** */
284
- removeChannelFavorite(bearerToken: string, channelId: string, clanId?: string, options?: {}): Promise<any>;
284
+ removeChannelFavorite(channelId: string, clanId?: string, options?: {}): Promise<any>;
285
285
  /** */
286
- getListFavoriteChannel(bearerToken: string, clanId: string, options?: {}): Promise<ApiListFavoriteChannelResponse>;
286
+ getListFavoriteChannel(clanId: string, options?: {}): Promise<ApiListFavoriteChannelResponse>;
287
287
  /** List a channel's message history. */
288
- listChannelMessages(bearerToken: string, clanId: string, channelId: string, messageId?: string, direction?: number, limit?: number, topicId?: string, options?: {}): Promise<ApiChannelMessageList>;
288
+ listChannelMessages(clanId: string, channelId: string, messageId?: string, direction?: number, limit?: number, topicId?: string, options?: {}): Promise<ApiChannelMessageList>;
289
289
  /** Add users to a channel. */
290
- addChannelUsers(bearerToken: string, channelId: string, userIds?: Array<string>, options?: {}): Promise<any>;
290
+ addChannelUsers(channelId: string, userIds?: Array<string>, options?: {}): Promise<any>;
291
291
  /** List all attachment that are part of a channel. */
292
- listChannelAttachment(bearerToken: string, channelId: string, clanId?: string, fileType?: string, limit?: number, state?: number, before?: number, after?: number, around?: number, options?: {}): Promise<ApiChannelAttachmentList>;
292
+ listChannelAttachment(channelId: string, clanId?: string, fileType?: string, limit?: number, state?: number, before?: number, after?: number, around?: number, options?: {}): Promise<ApiChannelAttachmentList>;
293
293
  /** get channel encryption method */
294
- getChanEncryptionMethod(bearerToken: string, channelId: string, method?: string, options?: {}): Promise<ApiChanEncryptionMethod>;
294
+ getChanEncryptionMethod(channelId: string, method?: string, options?: {}): Promise<ApiChanEncryptionMethod>;
295
295
  /** store channel encryption method */
296
- setChanEncryptionMethod(bearerToken: string, channelId: string, body: MezonSetChanEncryptionMethodBody, options?: {}): Promise<any>;
296
+ setChanEncryptionMethod(channelId: string, body: MezonSetChanEncryptionMethodBody, options?: {}): Promise<any>;
297
297
  /** Leave a channel the user is a member of. */
298
- leaveThread(bearerToken: string, clanId: string, channelId: string, options?: {}): Promise<any>;
298
+ leaveThread(clanId: string, channelId: string, options?: {}): Promise<any>;
299
299
  /** Archive a single channel/thread (active = 0). */
300
- archiveChannel(bearerToken: string, clanId: string, channelId: string, options?: {}): Promise<any>;
300
+ archiveChannel(clanId: string, channelId: string, options?: {}): Promise<any>;
301
301
  /** List archived top-level channels in a clan. */
302
- listArchivedChannelDescs(bearerToken: string, clanId: string, options?: {}): Promise<ApiChannelDescList>;
302
+ listArchivedChannelDescs(clanId: string, options?: {}): Promise<ApiChannelDescList>;
303
303
  /** Kick a set of users from a channel. */
304
- removeChannelUsers(bearerToken: string, channelId: string, userIds?: Array<string>, options?: {}): Promise<any>;
304
+ removeChannelUsers(channelId: string, userIds?: Array<string>, options?: {}): Promise<any>;
305
305
  /** List all users that are part of a channel. */
306
- listChannelUsers(bearerToken: string, clanId: string, channelId: string, channelType?: number, limit?: number, state?: number, cursor?: string, options?: {}): Promise<ApiChannelUserList>;
306
+ listChannelUsers(clanId: string, channelId: string, channelType?: number, limit?: number, state?: number, cursor?: string, options?: {}): Promise<ApiChannelUserList>;
307
307
  /** List user channels */
308
- listChannelDescs(bearerToken: string, limit?: number, state?: number, page?: number, clanId?: string, channelType?: number, isMobile?: boolean, options?: {}): Promise<ApiChannelDescList>;
308
+ listChannelDescs(limit?: number, state?: number, page?: number, clanId?: string, channelType?: number, isMobile?: boolean, options?: {}): Promise<ApiChannelDescList>;
309
309
  /** Create a new channel with the current user as the owner. */
310
- createChannelDesc(bearerToken: string, body: ApiCreateChannelDescRequest, options?: {}): Promise<ApiChannelDescription>;
310
+ createChannelDesc(body: ApiCreateChannelDescRequest, options?: {}): Promise<ApiChannelDescription>;
311
311
  /** list user add channel by channel ids */
312
- listChannelUsersUC(bearerToken: string, channelId?: string, limit?: number, options?: {}): Promise<ApiAllUsersAddChannelResponse>;
312
+ listChannelUsersUC(channelId?: string, limit?: number, options?: {}): Promise<ApiAllUsersAddChannelResponse>;
313
313
  /** Delete a channel by ID. */
314
- deleteChannelDesc(bearerToken: string, clanId: string, channelId: string, options?: {}): Promise<any>;
314
+ deleteChannelDesc(clanId: string, channelId: string, options?: {}): Promise<any>;
315
315
  /** Update fields in a given channel. */
316
- updateChannelDesc(bearerToken: string, channelId: string, body: ApiUpdateChannelDescRequest, options?: {}): Promise<any>;
316
+ updateChannelDesc(channelId: string, body: ApiUpdateChannelDescRequest, options?: {}): Promise<any>;
317
317
  /** List channel setting */
318
- 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>;
318
+ listChannelSetting(clanId: string, parentId?: string, categoryId?: string, privateChannel?: number, active?: number, status?: number, type?: number, limit?: number, page?: number, channelLabel?: string, options?: {}): Promise<ApiChannelSettingListResponse>;
319
319
  /** List all users that are part of a channel. */
320
- listChannelVoiceUsers(bearerToken: string, clanId?: string, limit?: number, options?: {}): Promise<ApiVoiceChannelUserList>;
320
+ listChannelVoiceUsers(clanId?: string, limit?: number, options?: {}): Promise<ApiVoiceChannelUserList>;
321
321
  /** List clans */
322
- listClanDescs(bearerToken: string, limit?: number, state?: number, cursor?: string, options?: {}): Promise<ApiClanDescList>;
322
+ listClanDescs(limit?: number, state?: number, cursor?: string, options?: {}): Promise<ApiClanDescList>;
323
323
  /** Paged list of channel unread/badge metadata (HTTP counterpart to socket ListChannelBadgeCount). */
324
- listChannelBadgeCount(bearerToken: string, clanId: string, limit?: number, page?: number, options?: {}): Promise<ApiListChannelBadgeCountResponse>;
324
+ listChannelBadgeCount(clanId: string, limit?: number, page?: number, options?: {}): Promise<ApiListChannelBadgeCountResponse>;
325
325
  /** Paged list of online users in a clan (HTTP counterpart to socket ListUserOnline). */
326
- listUserOnline(bearerToken: string, clanId: string, limit?: number, page?: number, options?: {}): Promise<ApiListUserOnlineResponse>;
326
+ listUserOnline(clanId: string, limit?: number, page?: number, options?: {}): Promise<ApiListUserOnlineResponse>;
327
327
  /** Create a clan */
328
- createClanDesc(bearerToken: string, body: ApiCreateClanDescRequest, options?: {}): Promise<ApiClanDesc>;
328
+ createClanDesc(body: ApiCreateClanDescRequest, options?: {}): Promise<ApiClanDesc>;
329
329
  /** Delete a clan desc by ID. */
330
- deleteClanDesc(bearerToken: string, clanDescId: string, options?: {}): Promise<any>;
330
+ deleteClanDesc(clanDescId: string, options?: {}): Promise<any>;
331
331
  /** Update fields in a given clan. */
332
- updateClanDesc(bearerToken: string, clanId: string, body: {}, options?: {}): Promise<any>;
332
+ updateClanDesc(clanId: string, body: {}, options?: {}): Promise<any>;
333
333
  /** Kick a set of users from a clan. */
334
- removeClanUsers(bearerToken: string, clanId: string, userIds?: Array<string>, options?: {}): Promise<any>;
334
+ removeClanUsers(clanId: string, userIds?: Array<string>, options?: {}): Promise<any>;
335
335
  /** List banned user */
336
- listBannedUsers(bearerToken: string, clanId?: string, channelId?: string, options?: {}): Promise<ApiBannedUserList>;
336
+ listBannedUsers(clanId?: string, channelId?: string, options?: {}): Promise<ApiBannedUserList>;
337
337
  /** Ban a set of users from a channel. */
338
- unbanClanUsers(bearerToken: string, clanId: string, channelId?: string, userIds?: Array<string>, banTime?: number, options?: {}): Promise<any>;
338
+ unbanClanUsers(clanId: string, channelId?: string, userIds?: Array<string>, banTime?: number, options?: {}): Promise<any>;
339
339
  /** Ban a set of users from a channel. */
340
- banClanUsers(bearerToken: string, clanId: string, channelId?: string, userIds?: Array<string>, banTime?: number, options?: {}): Promise<any>;
340
+ banClanUsers(clanId: string, channelId?: string, userIds?: Array<string>, banTime?: number, options?: {}): Promise<any>;
341
341
  /** List all users that are part of a clan. */
342
- listClanUsers(bearerToken: string, clanId: string, options?: {}): Promise<ApiClanUserList>;
342
+ listClanUsers(clanId: string, options?: {}): Promise<ApiClanUserList>;
343
343
  /** List clan members' custom status strings (user_status). */
344
- listClanUsersStatus(bearerToken: string, clanId: string, options?: {}): Promise<ApiClanUserStatusList>;
344
+ listClanUsersStatus(clanId: string, options?: {}): Promise<ApiClanUserStatusList>;
345
345
  /** */
346
- createCategoryDesc(bearerToken: string, body: ApiCreateCategoryDescRequest, options?: {}): Promise<ApiCategoryDesc>;
346
+ createCategoryDesc(body: ApiCreateCategoryDescRequest, options?: {}): Promise<ApiCategoryDesc>;
347
347
  /** Check whether a clan/category/channel/thread/nickname/username already exists. */
348
- checkDuplicateName(bearerToken: string, body: ApiCheckDuplicateNameRequest, options?: {}): Promise<ApiCheckDuplicateNameResponse>;
348
+ checkDuplicateName(body: ApiCheckDuplicateNameRequest, options?: {}): Promise<ApiCheckDuplicateNameResponse>;
349
349
  /** */
350
- deleteCategoryDesc(bearerToken: string, categoryId: string, clanId: string, categoryLabel?: string, options?: {}): Promise<any>;
350
+ deleteCategoryDesc(categoryId: string, clanId: string, categoryLabel?: string, options?: {}): Promise<any>;
351
351
  /** regist fcm device token */
352
- registFCMDeviceToken(bearerToken: string, token?: string, deviceId?: string, platform?: string, voipToken?: string, options?: {}): Promise<ApiRegistFcmDeviceTokenResponse>;
352
+ registFCMDeviceToken(token?: string, deviceId?: string, platform?: string, voipToken?: string, options?: {}): Promise<ApiRegistFcmDeviceTokenResponse>;
353
353
  /** close direct message. */
354
- closeDirectMess(bearerToken: string, body: ApiDeleteChannelDescRequest, options?: {}): Promise<any>;
354
+ closeDirectMess(body: ApiDeleteChannelDescRequest, options?: {}): Promise<any>;
355
355
  /** open direct message. */
356
- openDirectMess(bearerToken: string, body: ApiDeleteChannelDescRequest, options?: {}): Promise<any>;
356
+ openDirectMess(body: ApiDeleteChannelDescRequest, options?: {}): Promise<any>;
357
357
  /** Post clan Emoji /v2/emoji/create */
358
- createClanEmoji(bearerToken: string, body: ApiClanEmojiCreateRequest, options?: {}): Promise<any>;
358
+ createClanEmoji(body: ApiClanEmojiCreateRequest, options?: {}): Promise<any>;
359
359
  /** Delete a emoji by ID. */
360
- deleteClanEmojiById(bearerToken: string, id: string, clanId?: string, emojiLabel?: string, options?: {}): Promise<any>;
360
+ deleteClanEmojiById(id: string, clanId?: string, emojiLabel?: string, options?: {}): Promise<any>;
361
361
  /** Update ClanEmoj By id */
362
- updateClanEmojiById(bearerToken: string, id: string, body: MezonUpdateClanEmojiByIdBody, options?: {}): Promise<any>;
362
+ updateClanEmojiById(id: string, body: MezonUpdateClanEmojiByIdBody, options?: {}): Promise<any>;
363
363
  /** get list emoji recent by user id */
364
- emojiRecentList(bearerToken: string, options?: {}): Promise<ApiEmojiRecentList>;
364
+ emojiRecentList(options?: {}): Promise<ApiEmojiRecentList>;
365
365
  /** get list emoji by user id */
366
- getListEmojisByUserId(bearerToken: string, options?: {}): Promise<ApiEmojiListedResponse>;
366
+ getListEmojisByUserId(options?: {}): Promise<ApiEmojiListedResponse>;
367
367
  /** Search message from elasticsearch service. */
368
- searchMessage(bearerToken: string, body: ApiSearchMessageRequest, options?: {}): Promise<ApiSearchMessageResponse>;
368
+ searchMessage(body: ApiSearchMessageRequest, options?: {}): Promise<ApiSearchMessageResponse>;
369
369
  /** Submit an event for processing in the server's registered runtime custom events handler. */
370
- event(bearerToken: string, body: ApiEvent, options?: {}): Promise<any>;
370
+ event(body: ApiEvent, options?: {}): Promise<any>;
371
371
  /** List user events */
372
- listEvents(bearerToken: string, clanId?: string, options?: {}): Promise<ApiEventList>;
372
+ listEvents(clanId?: string, options?: {}): Promise<ApiEventList>;
373
373
  /** Create a new event for clan. */
374
- createEvent(bearerToken: string, body: ApiCreateEventRequest, options?: {}): Promise<ApiEventManagement>;
374
+ createEvent(body: ApiCreateEventRequest, options?: {}): Promise<ApiEventManagement>;
375
375
  /** Update fields in a given event. */
376
- updateEventUser(bearerToken: string, body: ApiDeleteEventRequest, options?: {}): Promise<any>;
376
+ updateEventUser(body: ApiDeleteEventRequest, options?: {}): Promise<any>;
377
377
  /** Delete a event by ID. */
378
- deleteEvent(bearerToken: string, eventId: string, clanId?: string, creatorId?: string, eventLabel?: string, channelId?: string, options?: {}): Promise<any>;
378
+ deleteEvent(eventId: string, clanId?: string, creatorId?: string, eventLabel?: string, channelId?: string, options?: {}): Promise<any>;
379
379
  /** Update fields in a given event. */
380
- updateEvent(bearerToken: string, eventId: string, body: MezonUpdateEventBody, options?: {}): Promise<any>;
380
+ updateEvent(eventId: string, body: MezonUpdateEventBody, options?: {}): Promise<any>;
381
381
  /** Delete one or more users by ID or username. */
382
- deleteFriends(bearerToken: string, ids?: Array<string>, usernames?: Array<string>, options?: {}): Promise<any>;
382
+ deleteFriends(ids?: Array<string>, usernames?: Array<string>, options?: {}): Promise<any>;
383
383
  /** List all friends for the current user. */
384
- listFriends(bearerToken: string, limit?: number, state?: number, cursor?: string, options?: {}): Promise<ApiFriendList>;
384
+ listFriends(limit?: number, state?: number, cursor?: string, options?: {}): Promise<ApiFriendList>;
385
385
  /** Add friends by ID or username to a user's account. */
386
- addFriends(bearerToken: string, ids?: Array<string>, usernames?: Array<string>, options?: {}): Promise<ApiAddFriendsResponse>;
386
+ addFriends(ids?: Array<string>, usernames?: Array<string>, options?: {}): Promise<ApiAddFriendsResponse>;
387
387
  /** Block one or more users by ID or username. */
388
- blockFriends(bearerToken: string, ids?: Array<string>, usernames?: Array<string>, options?: {}): Promise<any>;
388
+ blockFriends(ids?: Array<string>, usernames?: Array<string>, options?: {}): Promise<any>;
389
389
  /** Block one or more users by ID or username. */
390
- unblockFriends(bearerToken: string, ids?: Array<string>, usernames?: Array<string>, options?: {}): Promise<any>;
390
+ unblockFriends(ids?: Array<string>, usernames?: Array<string>, options?: {}): Promise<any>;
391
391
  /** List GetChannelCategoryNotiSettingsList */
392
- getChannelCategoryNotiSettingsList(bearerToken: string, clanId?: string, options?: {}): Promise<ApiNotificationChannelCategorySettingList>;
392
+ getChannelCategoryNotiSettingsList(clanId?: string, options?: {}): Promise<ApiNotificationChannelCategorySettingList>;
393
393
  /** */
394
- getUserProfileOnClan(bearerToken: string, clanId: string, options?: {}): Promise<ApiClanProfile>;
394
+ getUserProfileOnClan(clanId: string, options?: {}): Promise<ApiClanProfile>;
395
395
  /** List GetNotificationChannel */
396
- getNotificationCategory(bearerToken: string, categoryId?: string, options?: {}): Promise<ApiNotificationUserChannel>;
396
+ getNotificationCategory(categoryId?: string, options?: {}): Promise<ApiNotificationUserChannel>;
397
397
  /** List GetNotificationChannel */
398
- getNotificationChannel(bearerToken: string, channelId?: string, options?: {}): Promise<ApiNotificationUserChannel>;
398
+ getNotificationChannel(channelId?: string, options?: {}): Promise<ApiNotificationUserChannel>;
399
399
  /** List GetNotificationClan */
400
- getNotificationClan(bearerToken: string, clanId?: string, options?: {}): Promise<ApiNotificationSetting>;
400
+ getNotificationClan(clanId?: string, options?: {}): Promise<ApiNotificationSetting>;
401
401
  /** List GetNotificationReactMessage */
402
- getNotificationReactMessage(bearerToken: string, channelId?: string, options?: {}): Promise<ApiNotifiReactMessage>;
402
+ getNotificationReactMessage(channelId?: string, options?: {}): Promise<ApiNotifiReactMessage>;
403
403
  /** Give a coffee */
404
- giveMeACoffee(bearerToken: string, body: ApiGiveCoffeeEvent, options?: {}): Promise<any>;
404
+ giveMeACoffee(body: ApiGiveCoffeeEvent, options?: {}): Promise<any>;
405
405
  /** get key server */
406
- getKeyServer(bearerToken: string, options?: {}): Promise<ApiGetKeyServerResp>;
406
+ getKeyServer(options?: {}): Promise<ApiGetKeyServerResp>;
407
407
  /** Add users to a channel. */
408
- createLinkInviteUser(bearerToken: string, body: ApiLinkInviteUserRequest, options?: {}): Promise<ApiLinkInviteUser>;
408
+ createLinkInviteUser(body: ApiLinkInviteUserRequest, options?: {}): Promise<ApiLinkInviteUser>;
409
409
  /** Add users to a channel. */
410
- inviteUser(bearerToken: string, inviteId: string, options?: {}): Promise<ApiInviteUserRes>;
410
+ inviteUser(inviteId: string, options?: {}): Promise<ApiInviteUserRes>;
411
411
  /** Add users to a channel. */
412
412
  getLinkInvite(basicAuthUsername: string, basicAuthPassword: string, inviteId: string, options?: {}): Promise<ApiInviteUserRes>;
413
413
  /** List HashtagDMList */
414
- listChannelByUserId(bearerToken: string, options?: {}): Promise<ApiChannelDescList>;
414
+ listChannelByUserId(options?: {}): Promise<ApiChannelDescList>;
415
415
  /** Mark as read */
416
- markAsRead(bearerToken: string, body: ApiMarkAsReadRequest, options?: {}): Promise<any>;
416
+ markAsRead(body: ApiMarkAsReadRequest, options?: {}): Promise<any>;
417
417
  /** List mezon OAuth client */
418
- listMezonOauthClient(bearerToken: string, options?: {}): Promise<ApiMezonOauthClientList>;
418
+ listMezonOauthClient(options?: {}): Promise<ApiMezonOauthClientList>;
419
419
  /** set mute notification user channel. */
420
- setMuteCategory(bearerToken: string, body: ApiSetMuteRequest, options?: {}): Promise<any>;
420
+ setMuteCategory(body: ApiSetMuteRequest, options?: {}): Promise<any>;
421
421
  /** set mute notification user channel. */
422
- setMuteChannel(bearerToken: string, body: ApiSetMuteRequest, options?: {}): Promise<any>;
422
+ setMuteChannel(body: ApiSetMuteRequest, options?: {}): Promise<any>;
423
423
  /** Delete one or more notifications for the current user. */
424
- deleteNotifications(bearerToken: string, ids?: Array<string>, category?: number, options?: {}): Promise<any>;
424
+ deleteNotifications(ids?: Array<string>, category?: number, options?: {}): Promise<any>;
425
425
  /** Fetch list of notifications. */
426
- listNotifications(bearerToken: string, limit?: number, clanId?: string, notificationId?: string, category?: number, direction?: number, options?: {}): Promise<ApiNotificationList>;
426
+ listNotifications(limit?: number, clanId?: string, notificationId?: string, category?: number, direction?: number, options?: {}): Promise<ApiNotificationList>;
427
427
  /** set notification user channel. */
428
- setNotificationChannelSetting(bearerToken: string, body: ApiSetNotificationRequest, options?: {}): Promise<any>;
428
+ setNotificationChannelSetting(body: ApiSetNotificationRequest, options?: {}): Promise<any>;
429
429
  /** set notification user channel. */
430
- setNotificationClanSetting(bearerToken: string, body: ApiSetDefaultNotificationRequest, options?: {}): Promise<any>;
430
+ setNotificationClanSetting(body: ApiSetDefaultNotificationRequest, options?: {}): Promise<any>;
431
431
  /** set notification user channel. */
432
- setNotificationCategorySetting(bearerToken: string, body: ApiSetNotificationRequest, options?: {}): Promise<any>;
432
+ setNotificationCategorySetting(body: ApiSetNotificationRequest, options?: {}): Promise<any>;
433
433
  /** */
434
- deleteNotificationCategorySetting(bearerToken: string, categoryId?: string, options?: {}): Promise<any>;
434
+ deleteNotificationCategorySetting(categoryId?: string, options?: {}): Promise<any>;
435
435
  /** */
436
- deleteNotificationChannel(bearerToken: string, channelId?: string, options?: {}): Promise<any>;
436
+ deleteNotificationChannel(channelId?: string, options?: {}): Promise<any>;
437
437
  /** */
438
- deleteNotiReactMessage(bearerToken: string, channelId?: string, options?: {}): Promise<any>;
438
+ deleteNotiReactMessage(channelId?: string, options?: {}): Promise<any>;
439
439
  /** */
440
- setNotificationReactMessage(bearerToken: string, body: ApiNotificationChannel, options?: {}): Promise<any>;
440
+ setNotificationReactMessage(body: ApiNotificationChannel, options?: {}): Promise<any>;
441
441
  /** set permission role channel. */
442
- setRoleChannelPermission(bearerToken: string, body: ApiUpdateRoleChannelRequest, options?: {}): Promise<any>;
442
+ setRoleChannelPermission(body: ApiUpdateRoleChannelRequest, options?: {}): Promise<any>;
443
443
  /** Get permission list */
444
- getListPermission(bearerToken: string, options?: {}): Promise<ApiPermissionList>;
444
+ getListPermission(options?: {}): Promise<ApiPermissionList>;
445
445
  /** GetPermissionByRoleIdChannelId */
446
- getPermissionByRoleIdChannelId(bearerToken: string, roleId?: string, channelId?: string, userId?: string, options?: {}): Promise<ApiPermissionRoleChannelListEventResponse>;
446
+ getPermissionByRoleIdChannelId(roleId?: string, channelId?: string, userId?: string, options?: {}): Promise<ApiPermissionRoleChannelListEventResponse>;
447
447
  /** */
448
- deletePinMessage(bearerToken: string, id?: string, messageId?: string, channelId?: string, clanId?: string, options?: {}): Promise<any>;
448
+ deletePinMessage(id?: string, messageId?: string, channelId?: string, clanId?: string, options?: {}): Promise<any>;
449
449
  /** */
450
- getPinMessagesList(bearerToken: string, messageId?: string, channelId?: string, clanId?: string, options?: {}): Promise<tsproto.PinMessagesList>;
450
+ getPinMessagesList(messageId?: string, channelId?: string, clanId?: string, options?: {}): Promise<tsproto.PinMessagesList>;
451
451
  /** create message to inbox. */
452
- createMessage2Inbox(bearerToken: string, body: ApiMessage2InboxRequest, options?: {}): Promise<ApiChannelMessageHeader>;
452
+ createMessage2Inbox(body: ApiMessage2InboxRequest, options?: {}): Promise<ApiChannelMessageHeader>;
453
453
  /** set notification user channel. */
454
- createPinMessage(bearerToken: string, body: ApiPinMessageRequest, options?: {}): Promise<ApiChannelMessageHeader>;
454
+ createPinMessage(body: ApiPinMessageRequest, options?: {}): Promise<ApiChannelMessageHeader>;
455
455
  /** get pubkey */
456
- getPubKeys(bearerToken: string, userIds?: Array<string>, options?: {}): Promise<ApiGetPubKeysResponse>;
456
+ getPubKeys(userIds?: Array<string>, options?: {}): Promise<ApiGetPubKeysResponse>;
457
457
  /** store pubkey for e2ee */
458
- pushPubKey(bearerToken: string, body: ApiPushPubKeyRequest, options?: {}): Promise<any>;
458
+ pushPubKey(body: ApiPushPubKeyRequest, options?: {}): Promise<any>;
459
459
  /** */
460
- addRolesChannelDesc(bearerToken: string, body: ApiAddRoleChannelDescRequest, options?: {}): Promise<any>;
460
+ addRolesChannelDesc(body: ApiAddRoleChannelDescRequest, options?: {}): Promise<any>;
461
461
  /** update the category of a channel */
462
- changeChannelCategory(bearerToken: string, newCategoryId: string, body: MezonChangeChannelCategoryBody, options?: {}): Promise<any>;
462
+ changeChannelCategory(newCategoryId: string, body: MezonChangeChannelCategoryBody, options?: {}): Promise<any>;
463
463
  /** Update a role when Delete a role by ID. */
464
- deleteRoleChannelDesc(bearerToken: string, body: ApiDeleteRoleRequest, options?: {}): Promise<any>;
464
+ deleteRoleChannelDesc(body: ApiDeleteRoleRequest, options?: {}): Promise<any>;
465
465
  /** ListRoles */
466
- listRoles(bearerToken: string, clanId?: string, limit?: number, state?: number, cursor?: string, options?: {}): Promise<ApiRoleListEventResponse>;
466
+ listRoles(clanId?: string, limit?: number, state?: number, cursor?: string, options?: {}): Promise<ApiRoleListEventResponse>;
467
467
  /** Create a new role for clan. */
468
- createRole(bearerToken: string, body: ApiCreateRoleRequest, options?: {}): Promise<ApiRole>;
468
+ createRole(body: ApiCreateRoleRequest, options?: {}): Promise<ApiRole>;
469
469
  /** Update a role when Delete a role by ID. */
470
- updateRoleDelete(bearerToken: string, roleId: string, body: MezonUpdateRoleDeleteBody, options?: {}): Promise<any>;
470
+ updateRoleDelete(roleId: string, body: MezonUpdateRoleDeleteBody, options?: {}): Promise<any>;
471
471
  /** Delete a role by ID. */
472
- deleteRole(bearerToken: string, roleId: string, channelId?: string, clanId?: string, roleLabel?: string, options?: {}): Promise<any>;
472
+ deleteRole(roleId: string, channelId?: string, clanId?: string, roleLabel?: string, options?: {}): Promise<any>;
473
473
  /** Update fields in a given role. */
474
- updateRole(bearerToken: string, roleId: string, body: MezonUpdateRoleBody, options?: {}): Promise<any>;
474
+ updateRole(roleId: string, body: MezonUpdateRoleBody, options?: {}): Promise<any>;
475
475
  /** List role permissions */
476
- listRolePermissions(bearerToken: string, roleId: string, options?: {}): Promise<ApiPermissionList>;
476
+ listRolePermissions(roleId: string, options?: {}): Promise<ApiPermissionList>;
477
477
  /** List role permissions */
478
- listRoleUsers(bearerToken: string, roleId: string, limit?: number, cursor?: string, options?: {}): Promise<ApiRoleUserList>;
478
+ listRoleUsers(roleId: string, limit?: number, cursor?: string, options?: {}): Promise<ApiRoleUserList>;
479
479
  /** */
480
- getRoleOfUserInTheClan(bearerToken: string, clanId: string, channelId?: string, options?: {}): Promise<ApiRoleList>;
480
+ getRoleOfUserInTheClan(clanId: string, channelId?: string, options?: {}): Promise<ApiRoleList>;
481
481
  /** */
482
- searchThread(bearerToken: string, clanId?: string, channelId?: string, label?: string, options?: {}): Promise<ApiChannelDescList>;
482
+ searchThread(clanId?: string, channelId?: string, label?: string, options?: {}): Promise<ApiChannelDescList>;
483
483
  /** UpdateWallets */
484
- sendToken(bearerToken: string, body: ApiTokenSentEvent, options?: {}): Promise<any>;
484
+ sendToken(body: ApiTokenSentEvent, options?: {}): Promise<any>;
485
485
  /** Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user. */
486
- sessionLogout(bearerToken: string, body: ApiSessionLogoutRequest, options?: {}): Promise<any>;
486
+ sessionLogout(body: ApiSessionLogoutRequest, options?: {}): Promise<any>;
487
487
  /** Add a new sticker */
488
- addClanSticker(bearerToken: string, body: ApiClanStickerAddRequest, options?: {}): Promise<any>;
488
+ addClanSticker(body: ApiClanStickerAddRequest, options?: {}): Promise<any>;
489
489
  /** Delete a sticker by ID */
490
- deleteClanStickerById(bearerToken: string, id: string, clanId?: string, stickerLabel?: string, options?: {}): Promise<any>;
490
+ deleteClanStickerById(id: string, clanId?: string, stickerLabel?: string, options?: {}): Promise<any>;
491
491
  /** Update a sticker by ID */
492
- updateClanStickerById(bearerToken: string, id: string, body: MezonUpdateClanStickerByIdBody, options?: {}): Promise<any>;
492
+ updateClanStickerById(id: string, body: MezonUpdateClanStickerByIdBody, options?: {}): Promise<any>;
493
493
  /** get list sticker by user id */
494
- getListStickersByUserId(bearerToken: string, options?: {}): Promise<ApiStickerListedResponse>;
494
+ getListStickersByUserId(options?: {}): Promise<ApiStickerListedResponse>;
495
495
  /** Register streaming in channel ( for bot - get streaming key) */
496
- registerStreamingChannel(bearerToken: string, body: ApiRegisterStreamingChannelRequest, options?: {}): Promise<ApiRegisterStreamingChannelResponse>;
496
+ registerStreamingChannel(body: ApiRegisterStreamingChannelRequest, options?: {}): Promise<ApiRegisterStreamingChannelResponse>;
497
497
  /** List all users that are part of a channel. */
498
- listStreamingChannelUsers(bearerToken: string, clanId?: string, channelId?: string, channelType?: number, limit?: number, state?: number, cursor?: string, options?: {}): Promise<ApiStreamingChannelUserList>;
498
+ listStreamingChannelUsers(clanId?: string, channelId?: string, channelType?: number, limit?: number, state?: number, cursor?: string, options?: {}): Promise<ApiStreamingChannelUserList>;
499
499
  /** Get the list of system messages. */
500
- getSystemMessagesList(bearerToken: string, options?: {}): Promise<ApiSystemMessagesList>;
500
+ getSystemMessagesList(options?: {}): Promise<ApiSystemMessagesList>;
501
501
  /** Create a system messages. */
502
- createSystemMessage(bearerToken: string, body: ApiSystemMessageRequest, options?: {}): Promise<any>;
502
+ createSystemMessage(body: ApiSystemMessageRequest, options?: {}): Promise<any>;
503
503
  /** List Sd Topic */
504
- listSdTopic(bearerToken: string, clanId?: string, limit?: number, options?: {}): Promise<ApiSdTopicList>;
504
+ listSdTopic(clanId?: string, limit?: number, options?: {}): Promise<ApiSdTopicList>;
505
505
  /** Create Sd Topic */
506
- createSdTopic(bearerToken: string, body: ApiSdTopicRequest, options?: {}): Promise<ApiSdTopic>;
506
+ createSdTopic(body: ApiSdTopicRequest, options?: {}): Promise<ApiSdTopic>;
507
507
  /** Delete a specific system messages. */
508
- deleteSystemMessage(bearerToken: string, clanId: string, options?: {}): Promise<any>;
508
+ deleteSystemMessage(clanId: string, options?: {}): Promise<any>;
509
509
  /** Get details of a specific system messages. */
510
- getSystemMessageByClanId(bearerToken: string, clanId: string, options?: {}): Promise<ApiSystemMessage>;
510
+ getSystemMessageByClanId(clanId: string, options?: {}): Promise<ApiSystemMessage>;
511
511
  /** Update a system messages. */
512
- updateSystemMessage(bearerToken: string, clanId: string, body: MezonUpdateSystemMessageBody, options?: {}): Promise<any>;
512
+ updateSystemMessage(clanId: string, body: MezonUpdateSystemMessageBody, options?: {}): Promise<any>;
513
513
  /** List user channels */
514
- listThreadDescs(bearerToken: string, channelId: string, limit?: number, state?: number, clanId?: string, threadId?: string, page?: number, options?: {}): Promise<ApiChannelDescList>;
514
+ listThreadDescs(channelId: string, limit?: number, state?: number, clanId?: string, threadId?: string, page?: number, options?: {}): Promise<ApiChannelDescList>;
515
515
  /** Update fields in a given category. */
516
- updateCategory(bearerToken: string, clanId: string, body: MezonUpdateCategoryBody, options?: {}): Promise<any>;
516
+ updateCategory(clanId: string, body: MezonUpdateCategoryBody, options?: {}): Promise<any>;
517
517
  /** Update channel private. */
518
- updateChannelPrivate(bearerToken: string, body: ApiChangeChannelPrivateRequest, options?: {}): Promise<any>;
518
+ updateChannelPrivate(body: ApiChangeChannelPrivateRequest, options?: {}): Promise<any>;
519
519
  /** */
520
- updateUserProfileByClan(bearerToken: string, clanId: string, body: MezonUpdateUserProfileByClanBody, options?: {}): Promise<any>;
520
+ updateUserProfileByClan(clanId: string, body: MezonUpdateUserProfileByClanBody, options?: {}): Promise<any>;
521
521
  /** Upload attachment */
522
- uploadOauthFile(bearerToken: string, body: ApiUploadAttachmentRequest, options?: {}): Promise<ApiUploadAttachment>;
522
+ uploadOauthFile(body: ApiUploadAttachmentRequest, options?: {}): Promise<ApiUploadAttachment>;
523
523
  /** Upload attachment */
524
- uploadAttachmentFile(bearerToken: string, body: ApiUploadAttachmentRequest, options?: {}): Promise<ApiUploadAttachment>;
525
- multipartUploadAttachmentFile(bearerToken: string, body: ApiUploadAttachmentRequest, options?: {}): Promise<MultipartUploadAttachment>;
526
- multipartUploadAttachmentFileFinsih(bearerToken: string, body: MultipartUploadAttachmentFinishRequest, options?: {}): Promise<any>;
524
+ uploadAttachmentFile(body: ApiUploadAttachmentRequest, options?: {}): Promise<ApiUploadAttachment>;
525
+ multipartUploadAttachmentFile(body: ApiUploadAttachmentRequest, options?: {}): Promise<MultipartUploadAttachment>;
526
+ multipartUploadAttachmentFileFinsih(body: MultipartUploadAttachmentFinishRequest, options?: {}): Promise<any>;
527
527
  /** */
528
- updateUser(bearerToken: string, body: ApiUpdateUsersRequest, options?: {}): Promise<any>;
528
+ updateUser(body: ApiUpdateUsersRequest, options?: {}): Promise<any>;
529
529
  /** ListUserClansByUserId */
530
- listUserClansByUserId(bearerToken: string, options?: {}): Promise<ApiAllUserClans>;
530
+ listUserClansByUserId(options?: {}): Promise<ApiAllUserClans>;
531
531
  /** ListUserPermissionInChannel */
532
- listUserPermissionInChannel(bearerToken: string, clanId?: string, channelId?: string, options?: {}): Promise<ApiUserPermissionInChannelListResponse>;
532
+ listUserPermissionInChannel(clanId?: string, channelId?: string, options?: {}): Promise<ApiUserPermissionInChannelListResponse>;
533
533
  /** Get user status */
534
- getUserStatus(bearerToken: string, options?: {}): Promise<ApiUserStatus>;
534
+ getUserStatus(options?: {}): Promise<ApiUserStatus>;
535
535
  /** Update user status */
536
- updateUserStatus(bearerToken: string, body: ApiUserStatusUpdate, options?: {}): Promise<any>;
536
+ updateUserStatus(body: ApiUserStatusUpdate, options?: {}): Promise<any>;
537
537
  /** Update user custom status (user_status). */
538
- updateUserCustomStatus(bearerToken: string, body: ApiUserStatusUpdate, options?: {}): Promise<any>;
538
+ updateUserCustomStatus(body: ApiUserStatusUpdate, options?: {}): Promise<any>;
539
539
  /** create webhook */
540
- generateWebhook(bearerToken: string, body: ApiWebhookCreateRequest, options?: {}): Promise<any>;
540
+ generateWebhook(body: ApiWebhookCreateRequest, options?: {}): Promise<any>;
541
541
  /** update webhook name by id */
542
- updateWebhookById(bearerToken: string, id: string, body: MezonUpdateWebhookByIdBody, options?: {}): Promise<any>;
542
+ updateWebhookById(id: string, body: MezonUpdateWebhookByIdBody, options?: {}): Promise<any>;
543
543
  /** list webhook belong to the channel */
544
- listWebhookByChannelId(bearerToken: string, channelId: string, clanId?: string, options?: {}): Promise<ApiWebhookListResponse>;
544
+ listWebhookByChannelId(channelId: string, clanId?: string, options?: {}): Promise<ApiWebhookListResponse>;
545
545
  /** disabled webhook */
546
- deleteWebhookById(bearerToken: string, id: string, body: MezonDeleteWebhookByIdBody, options?: {}): Promise<any>;
546
+ deleteWebhookById(id: string, body: MezonDeleteWebhookByIdBody, options?: {}): Promise<any>;
547
547
  buildFullUrl(basePath: string, fragment: string, queryParams: Map<string, any>): string;
548
548
  /** Channel canvas editor */
549
- editChannelCanvases(bearerToken: string, body: ApiEditChannelCanvasRequest, options?: {}): Promise<ApiEditChannelCanvasResponse>;
549
+ editChannelCanvases(body: ApiEditChannelCanvasRequest, options?: {}): Promise<ApiEditChannelCanvasResponse>;
550
550
  /** */
551
- getChannelCanvasDetail(bearerToken: string, id: string, clanId?: string, channelId?: string, options?: {}): Promise<ApiChannelCanvasDetailResponse>;
551
+ getChannelCanvasDetail(id: string, clanId?: string, channelId?: string, options?: {}): Promise<ApiChannelCanvasDetailResponse>;
552
552
  /** */
553
- deleteChannelCanvas(bearerToken: string, canvasId: string, clanId?: string, channelId?: string, options?: {}): Promise<any>;
553
+ deleteChannelCanvas(canvasId: string, clanId?: string, channelId?: string, options?: {}): Promise<any>;
554
554
  /** list onboarding. */
555
- listOnboarding(bearerToken: string, clanId?: string, guideType?: number, limit?: number, page?: number, options?: {}): Promise<ApiListOnboardingResponse>;
555
+ listOnboarding(clanId?: string, guideType?: number, limit?: number, page?: number, options?: {}): Promise<ApiListOnboardingResponse>;
556
556
  /** create onboarding. */
557
- createOnboarding(bearerToken: string, body: ApiCreateOnboardingRequest, options?: {}): Promise<ApiListOnboardingResponse>;
557
+ createOnboarding(body: ApiCreateOnboardingRequest, options?: {}): Promise<ApiListOnboardingResponse>;
558
558
  /** delete onboarding. */
559
- deleteOnboarding(bearerToken: string, id: string, clanId?: string, options?: {}): Promise<any>;
559
+ deleteOnboarding(id: string, clanId?: string, options?: {}): Promise<any>;
560
560
  /** get detailed onboarding information. */
561
- getOnboardingDetail(bearerToken: string, id: string, clanId?: string, options?: {}): Promise<ApiOnboardingItem>;
561
+ getOnboardingDetail(id: string, clanId?: string, options?: {}): Promise<ApiOnboardingItem>;
562
562
  /** update onboarding. */
563
- updateOnboarding(bearerToken: string, id: string, body: MezonUpdateOnboardingBody, options?: {}): Promise<any>;
563
+ updateOnboarding(id: string, body: MezonUpdateOnboardingBody, options?: {}): Promise<any>;
564
564
  /** Generate clan webhook. */
565
- generateClanWebhook(bearerToken: string, body: ApiGenerateClanWebhookRequest, options?: {}): Promise<ApiGenerateClanWebhookResponse>;
565
+ generateClanWebhook(body: ApiGenerateClanWebhookRequest, options?: {}): Promise<ApiGenerateClanWebhookResponse>;
566
566
  /** List clan webhook. */
567
- listClanWebhook(bearerToken: string, clanId: string, options?: {}): Promise<ApiListClanWebhookResponse>;
567
+ listClanWebhook(clanId: string, options?: {}): Promise<ApiListClanWebhookResponse>;
568
568
  /** Disabled clan webhook. */
569
- deleteClanWebhookById(bearerToken: string, id: string, clanId?: string, options?: {}): Promise<any>;
569
+ deleteClanWebhookById(id: string, clanId?: string, options?: {}): Promise<any>;
570
570
  /** Update clan webhook by id. */
571
- updateClanWebhookById(bearerToken: string, id: string, body: MezonUpdateClanWebhookByIdBody, options?: {}): Promise<any>;
571
+ updateClanWebhookById(id: string, body: MezonUpdateClanWebhookByIdBody, options?: {}): Promise<any>;
572
572
  /** Sd Topic */
573
- getTopicDetail(bearerToken: string, topicId?: string, options?: {}): Promise<ApiSdTopic>;
573
+ getTopicDetail(topicId?: string, options?: {}): Promise<ApiSdTopic>;
574
574
  /** List onboarding step. */
575
- listOnboardingStep(bearerToken: string, clanId?: string, limit?: number, page?: number, options?: {}): Promise<ApiListOnboardingStepResponse>;
575
+ listOnboardingStep(clanId?: string, limit?: number, page?: number, options?: {}): Promise<ApiListOnboardingStepResponse>;
576
576
  /** Update onboarding step. */
577
- updateOnboardingStepByClanId(bearerToken: string, clanId: string, body: MezonUpdateOnboardingStepByClanIdBody, options?: {}): Promise<any>;
577
+ updateOnboardingStepByClanId(clanId: string, body: MezonUpdateOnboardingStepByClanIdBody, options?: {}): Promise<any>;
578
578
  /** create meeting room */
579
- createRoomChannelApps(bearerToken: string, body: MezonapiCreateRoomChannelApps, options?: {}): Promise<MezonapiCreateRoomChannelApps>;
579
+ createRoomChannelApps(body: MezonapiCreateRoomChannelApps, options?: {}): Promise<MezonapiCreateRoomChannelApps>;
580
580
  /** Generate Meet Token */
581
- generateMeetToken(bearerToken: string, body: ApiGenerateMeetTokenRequest, options?: {}): Promise<ApiGenerateMeetTokenResponse>;
581
+ generateMeetToken(body: ApiGenerateMeetTokenRequest, options?: {}): Promise<ApiGenerateMeetTokenResponse>;
582
582
  /** Create mezon OAuth client */
583
- getMezonOauthClient(bearerToken: string, clientId?: string, clientName?: string, options?: {}): Promise<ApiMezonOauthClient>;
583
+ getMezonOauthClient(clientId?: string, clientName?: string, options?: {}): Promise<ApiMezonOauthClient>;
584
584
  /** update mezon OAuth */
585
- updateMezonOauthClient(bearerToken: string, body: ApiMezonOauthClient, options?: {}): Promise<ApiMezonOauthClient>;
585
+ updateMezonOauthClient(body: ApiMezonOauthClient, options?: {}): Promise<ApiMezonOauthClient>;
586
586
  /** */
587
- generateHashChannelApps(bearerToken: string, appId?: string, options?: {}): Promise<ApiCreateHashChannelAppsResponse>;
587
+ generateHashChannelApps(appId?: string, options?: {}): Promise<ApiCreateHashChannelAppsResponse>;
588
588
  /** Add user event */
589
- addUserEvent(bearerToken: string, body: ApiUserEventRequest, options?: {}): Promise<any>;
589
+ addUserEvent(body: ApiUserEventRequest, options?: {}): Promise<any>;
590
590
  /** Delete user event */
591
- deleteUserEvent(bearerToken: string, clanId?: string, eventId?: string, options?: {}): Promise<any>;
591
+ deleteUserEvent(clanId?: string, eventId?: string, options?: {}): Promise<any>;
592
592
  /** */
593
- updateRoleOrder(bearerToken: string, body: ApiUpdateRoleOrderRequest, options?: {}): Promise<any>;
593
+ updateRoleOrder(body: ApiUpdateRoleOrderRequest, options?: {}): Promise<any>;
594
594
  /** Create external Mezon meet */
595
- createExternalMezonMeet(bearerToken: string, options?: {}): Promise<ApiGenerateMezonMeetResponse>;
595
+ createExternalMezonMeet(options?: {}): Promise<ApiGenerateMezonMeetResponse>;
596
596
  /** handler external mezon meet */
597
- generateMeetTokenExternal(bearerToken: string, basePath: string, token: string, username?: string, metadata?: string, isGuest?: boolean, options?: {}): Promise<ApiGenerateMeetTokenExternalResponse>;
597
+ generateMeetTokenExternal(basePath: string, token: string, username?: string, metadata?: string, isGuest?: boolean, options?: {}): Promise<ApiGenerateMeetTokenExternalResponse>;
598
598
  /** mute participant in the room */
599
- muteParticipantMezonMeet(bearerToken: string, body: ApiMeetParticipantRequest, options?: {}): Promise<any>;
599
+ muteParticipantMezonMeet(body: ApiMeetParticipantRequest, options?: {}): Promise<any>;
600
600
  /** Remove participant out the room */
601
- removeParticipantMezonMeet(bearerToken: string, body: ApiMeetParticipantRequest, options?: {}): Promise<any>;
601
+ removeParticipantMezonMeet(body: ApiMeetParticipantRequest, options?: {}): Promise<any>;
602
602
  /** List channels detail */
603
- listChannelDetail(bearerToken: string, channelId: string, options?: {}): Promise<ApiChannelDescription>;
603
+ listChannelDetail(channelId: string, options?: {}): Promise<ApiChannelDescription>;
604
604
  /** List channel events */
605
- listChannelTimeline(bearerToken: string, request: ApiListChannelTimelineRequest, options?: {}): Promise<ApiListChannelTimelineResponse>;
605
+ listChannelTimeline(request: ApiListChannelTimelineRequest, options?: {}): Promise<ApiListChannelTimelineResponse>;
606
606
  /** Create channel event */
607
- createChannelTimeline(bearerToken: string, request: ApiCreateChannelTimelineRequest, options?: {}): Promise<ApiCreateChannelTimelineResponse>;
607
+ createChannelTimeline(request: ApiCreateChannelTimelineRequest, options?: {}): Promise<ApiCreateChannelTimelineResponse>;
608
608
  /** Update channel event */
609
- updateChannelTimeline(bearerToken: string, request: ApiUpdateChannelTimelineRequest, options?: {}): Promise<ApiUpdateChannelTimelineResponse>;
609
+ updateChannelTimeline(request: ApiUpdateChannelTimelineRequest, options?: {}): Promise<ApiUpdateChannelTimelineResponse>;
610
610
  /** List channel events */
611
- detailChannelTimeline(bearerToken: string, request: ApiDetailChannelTimelineRequest, options?: {}): Promise<ApiDetailChannelTimelineResponse>;
611
+ detailChannelTimeline(request: ApiDetailChannelTimelineRequest, options?: {}): Promise<ApiDetailChannelTimelineResponse>;
612
612
  /** */
613
- updateClanOrder(bearerToken: string, body: ApiUpdateClanOrderRequest, options?: {}): Promise<any>;
613
+ updateClanOrder(body: ApiUpdateClanOrderRequest, options?: {}): Promise<any>;
614
614
  /** Discover mezon clan. */
615
615
  clanDiscover(basicAuthUsername: string, basicAuthPassword: string, basePath: string, body: ApiClanDiscoverRequest, options?: {}): Promise<ApiListClanDiscover>;
616
616
  /** */
617
- deleteQuickMenuAccess(bearerToken: string, id?: string, clanId?: string, botId?: string, menuName?: string, background?: string, actionMsg?: string, options?: {}): Promise<any>;
617
+ deleteQuickMenuAccess(id?: string, clanId?: string, botId?: string, menuName?: string, background?: string, actionMsg?: string, options?: {}): Promise<any>;
618
618
  /** */
619
- listQuickMenuAccess(bearerToken: string, botId?: string, channelId?: string, menuType?: number, options?: {}): Promise<ApiQuickMenuAccessList>;
619
+ listQuickMenuAccess(botId?: string, channelId?: string, menuType?: number, options?: {}): Promise<ApiQuickMenuAccessList>;
620
620
  /** */
621
- addQuickMenuAccess(bearerToken: string, body: ApiQuickMenuAccessRequest, options?: {}): Promise<any>;
621
+ addQuickMenuAccess(body: ApiQuickMenuAccessRequest, options?: {}): Promise<any>;
622
622
  /** */
623
- updateQuickMenuAccess(bearerToken: string, body: ApiQuickMenuAccessRequest, options?: {}): Promise<any>;
623
+ updateQuickMenuAccess(body: ApiQuickMenuAccessRequest, options?: {}): Promise<any>;
624
624
  /** For sale items */
625
- listForSaleItems(bearerToken: string, page?: number, options?: {}): Promise<ApiForSaleItemList>;
625
+ listForSaleItems(page?: number, options?: {}): Promise<ApiForSaleItemList>;
626
626
  /** */
627
- isFollower(bearerToken: string, body: ApiIsFollowerRequest, options?: {}): Promise<ApiIsFollowerResponse>;
627
+ isFollower(body: ApiIsFollowerRequest, options?: {}): Promise<ApiIsFollowerResponse>;
628
628
  /** */
629
- transferOwnership(bearerToken: string, body: ApiTransferOwnershipRequest, options?: {}): Promise<any>;
629
+ transferOwnership(body: ApiTransferOwnershipRequest, options?: {}): Promise<any>;
630
630
  /** Update username */
631
- updateUsername(bearerToken: string, body: ApiUpdateUsernameRequest, options?: {}): Promise<ApiSession>;
631
+ updateUsername(body: ApiUpdateUsernameRequest, options?: {}): Promise<ApiSession>;
632
632
  /** Ban a set of users from a channel. */
633
- isBanned(bearerToken: string, channelId: string, options?: {}): Promise<ApiIsBannedResponse>;
633
+ isBanned(channelId: string, options?: {}): Promise<ApiIsBannedResponse>;
634
634
  /** */
635
- reportMessageAbuse(bearerToken: string, messageId?: string, abuseType?: string, options?: {}): Promise<any>;
635
+ reportMessageAbuse(messageId?: string, abuseType?: string, options?: {}): Promise<any>;
636
636
  /** */
637
- 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>;
637
+ sendChannelMessage(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>;
638
638
  /** */
639
- 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>;
639
+ updateChannelMessage(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>;
640
640
  /** */
641
- 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>;
641
+ deleteChannelMessage(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>;
642
642
  /** */
643
- updateMezonVoiceState(bearerToken: string, clanId?: string, channelId?: string, displayName?: string, roomName?: string, state?: number, options?: {}): Promise<any>;
643
+ updateMezonVoiceState(clanId?: string, channelId?: string, displayName?: string, roomName?: string, state?: number, options?: {}): Promise<any>;
644
644
  /** */
645
- messageButtonClick(bearerToken: string, messageId?: string, channelId?: string, buttonId?: string, senderId?: string, userId?: string, extraData?: string, options?: {}): Promise<any>;
645
+ messageButtonClick(messageId?: string, channelId?: string, buttonId?: string, senderId?: string, userId?: string, extraData?: string, options?: {}): Promise<any>;
646
646
  /** */
647
- dropdownBoxSelected(bearerToken: string, messageId?: string, channelId?: string, selectboxId?: string, senderId?: string, userId?: string, values?: string[], options?: {}): Promise<any>;
648
- activeArchivedThread(bearerToken: string, clanId?: string, channelId?: string, options?: {}): Promise<any>;
649
- addAgentToChannel(bearerToken: string, roomName?: string, channelId?: string, options?: {}): Promise<any>;
650
- disconnectAgent(bearerToken: string, roomName?: string, channelId?: string, options?: {}): Promise<any>;
651
- listMutedChannel(bearerToken: string, clanId: string, options?: {}): Promise<ApiMutedChannelList>;
652
- 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>;
647
+ dropdownBoxSelected(messageId?: string, channelId?: string, selectboxId?: string, senderId?: string, userId?: string, values?: string[], options?: {}): Promise<any>;
648
+ activeArchivedThread(clanId?: string, channelId?: string, options?: {}): Promise<any>;
649
+ addAgentToChannel(roomName?: string, channelId?: string, options?: {}): Promise<any>;
650
+ disconnectAgent(roomName?: string, channelId?: string, options?: {}): Promise<any>;
651
+ listMutedChannel(clanId: string, options?: {}): Promise<ApiMutedChannelList>;
652
+ channelMessageReact(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>;
653
653
  /** Create a poll in a channel. */
654
- createPoll(bearerToken: string, body: ApiCreatePollRequest, options?: {}): Promise<ApiCreatePollResponse>;
654
+ createPoll(body: ApiCreatePollRequest, options?: {}): Promise<ApiCreatePollResponse>;
655
655
  /** Vote on a poll. */
656
- votePoll(bearerToken: string, body: ApiVotePollRequest, options?: {}): Promise<ApiVotePollResponse>;
656
+ votePoll(body: ApiVotePollRequest, options?: {}): Promise<ApiVotePollResponse>;
657
657
  /** Close a poll (creator only). */
658
- closePoll(bearerToken: string, body: ApiClosePollRequest, options?: {}): Promise<any>;
658
+ closePoll(body: ApiClosePollRequest, options?: {}): Promise<any>;
659
659
  /** Get poll details. */
660
- getPoll(bearerToken: string, body: ApiGetPollRequest, options?: {}): Promise<ApiGetPollResponse>;
660
+ getPoll(body: ApiGetPollRequest, options?: {}): Promise<ApiGetPollResponse>;
661
661
  followUsers(userIds: string[]): Promise<Status>;
662
662
  joinClanChat(clan_id: string): Promise<ClanJoin>;
663
663
  follower(): Promise<void>;