@scryme/chat 2.91.29 → 2.91.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/v3-client.d.ts +2438 -1441
- package/dist/generated/v3-client.js +1795 -999
- package/dist/generated/v3-server.d.ts +315 -149
- package/dist/generated/v3-server.js +451 -202
- package/dist/sdk.d.ts +49 -49
- package/dist/sdk.js +195 -77
- package/package.json +1 -1
- package/src/__tests__/sdk.test.ts +41 -17
- package/src/generated/v3-client.ts +4467 -2471
- package/src/generated/v3-server.ts +1156 -574
- package/src/sdk.ts +142 -67
|
@@ -7,11 +7,6 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { customInstance } from '../custom-instance';
|
|
9
9
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
10
|
-
export var ScheduledNotificationsControllerUpdateNotificationBodyAction = {
|
|
11
|
-
pause: 'pause',
|
|
12
|
-
resume: 'resume',
|
|
13
|
-
};
|
|
14
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
15
10
|
export var DepartmentsControllerGetAnnouncementsPriority = {
|
|
16
11
|
low: 'low',
|
|
17
12
|
normal: 'normal',
|
|
@@ -30,11 +25,17 @@ export var FriendsControllerGetFriendRequestsType = {
|
|
|
30
25
|
outgoing: 'outgoing',
|
|
31
26
|
};
|
|
32
27
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
33
|
-
export var
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
28
|
+
export var UpdateScheduledNotificationDtoScheduleType = {
|
|
29
|
+
custom: 'custom',
|
|
30
|
+
once: 'once',
|
|
31
|
+
daily: 'daily',
|
|
32
|
+
weekly: 'weekly',
|
|
33
|
+
monthly: 'monthly',
|
|
34
|
+
};
|
|
35
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
36
|
+
export var UpdateScheduledNotificationDtoAction = {
|
|
37
|
+
pause: 'pause',
|
|
38
|
+
resume: 'resume',
|
|
38
39
|
};
|
|
39
40
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
40
41
|
export var CreateScheduledNotificationDtoScheduleType = {
|
|
@@ -178,6 +179,27 @@ export var V3ProvisionWorkspaceDtoInitialMembersItemRole = {
|
|
|
178
179
|
export var V3TokenRequestDtoGrantType = {
|
|
179
180
|
client_credentials: 'client_credentials',
|
|
180
181
|
};
|
|
182
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
183
|
+
export var RegisterDeviceTokenDtoPlatform = {
|
|
184
|
+
web: 'web',
|
|
185
|
+
ios: 'ios',
|
|
186
|
+
android: 'android',
|
|
187
|
+
desktop: 'desktop',
|
|
188
|
+
};
|
|
189
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
190
|
+
export var UpdateUserProfileDtoStatus = {
|
|
191
|
+
online: 'online',
|
|
192
|
+
offline: 'offline',
|
|
193
|
+
away: 'away',
|
|
194
|
+
dnd: 'dnd',
|
|
195
|
+
};
|
|
196
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
197
|
+
export var UpdateUserStatusDtoStatus = {
|
|
198
|
+
online: 'online',
|
|
199
|
+
offline: 'offline',
|
|
200
|
+
away: 'away',
|
|
201
|
+
dnd: 'dnd',
|
|
202
|
+
};
|
|
181
203
|
export var getSkyrmeChatAPI = function () {
|
|
182
204
|
/**
|
|
183
205
|
* @summary Check health
|
|
@@ -226,14 +248,18 @@ export var getSkyrmeChatAPI = function () {
|
|
|
226
248
|
/**
|
|
227
249
|
* @summary Update current user profile
|
|
228
250
|
*/
|
|
229
|
-
var usersControllerPatchMe = function (options) {
|
|
230
|
-
return customInstance({ url: "/api/users/me", method: 'PATCH'
|
|
251
|
+
var usersControllerPatchMe = function (updateUserProfileDto, options) {
|
|
252
|
+
return customInstance({ url: "/api/users/me", method: 'PATCH',
|
|
253
|
+
headers: { 'Content-Type': 'application/json', },
|
|
254
|
+
data: updateUserProfileDto }, options);
|
|
231
255
|
};
|
|
232
256
|
/**
|
|
233
257
|
* @summary Update current user profile
|
|
234
258
|
*/
|
|
235
|
-
var usersControllerUpdateMe = function (options) {
|
|
236
|
-
return customInstance({ url: "/api/users/me", method: 'POST'
|
|
259
|
+
var usersControllerUpdateMe = function (updateUserProfileDto, options) {
|
|
260
|
+
return customInstance({ url: "/api/users/me", method: 'POST',
|
|
261
|
+
headers: { 'Content-Type': 'application/json', },
|
|
262
|
+
data: updateUserProfileDto }, options);
|
|
237
263
|
};
|
|
238
264
|
/**
|
|
239
265
|
* @summary Get a user profile by ID
|
|
@@ -244,8 +270,10 @@ export var getSkyrmeChatAPI = function () {
|
|
|
244
270
|
/**
|
|
245
271
|
* @summary Update user profile by ID
|
|
246
272
|
*/
|
|
247
|
-
var usersControllerPatchUser = function (id, options) {
|
|
248
|
-
return customInstance({ url: "/api/users/".concat(id), method: 'PATCH'
|
|
273
|
+
var usersControllerPatchUser = function (id, updateUserProfileDto, options) {
|
|
274
|
+
return customInstance({ url: "/api/users/".concat(id), method: 'PATCH',
|
|
275
|
+
headers: { 'Content-Type': 'application/json', },
|
|
276
|
+
data: updateUserProfileDto }, options);
|
|
249
277
|
};
|
|
250
278
|
/**
|
|
251
279
|
* @summary Get social profile between current user and target user
|
|
@@ -268,16 +296,18 @@ export var getSkyrmeChatAPI = function () {
|
|
|
268
296
|
/**
|
|
269
297
|
* @summary Update current user status
|
|
270
298
|
*/
|
|
271
|
-
var usersControllerUpdateMyStatus = function (options) {
|
|
272
|
-
return customInstance({ url: "/api/users/me/status", method: 'PATCH'
|
|
299
|
+
var usersControllerUpdateMyStatus = function (updateUserStatusDto, options) {
|
|
300
|
+
return customInstance({ url: "/api/users/me/status", method: 'PATCH',
|
|
301
|
+
headers: { 'Content-Type': 'application/json', },
|
|
302
|
+
data: updateUserStatusDto }, options);
|
|
273
303
|
};
|
|
274
304
|
/**
|
|
275
305
|
* @summary Register a device token for push notifications
|
|
276
306
|
*/
|
|
277
|
-
var usersControllerRegisterDeviceToken = function (
|
|
307
|
+
var usersControllerRegisterDeviceToken = function (registerDeviceTokenDto, options) {
|
|
278
308
|
return customInstance({ url: "/api/users/me/device-tokens", method: 'POST',
|
|
279
309
|
headers: { 'Content-Type': 'application/json', },
|
|
280
|
-
data:
|
|
310
|
+
data: registerDeviceTokenDto }, options);
|
|
281
311
|
};
|
|
282
312
|
/**
|
|
283
313
|
* @summary Get active device tokens for the current user
|
|
@@ -288,8 +318,10 @@ export var getSkyrmeChatAPI = function () {
|
|
|
288
318
|
/**
|
|
289
319
|
* @summary Deactivate a device token
|
|
290
320
|
*/
|
|
291
|
-
var usersControllerDeleteDeviceToken = function (params, options) {
|
|
292
|
-
return customInstance({ url: "/api/users/me/device-tokens", method: 'DELETE',
|
|
321
|
+
var usersControllerDeleteDeviceToken = function (deleteDeviceTokenDto, params, options) {
|
|
322
|
+
return customInstance({ url: "/api/users/me/device-tokens", method: 'DELETE',
|
|
323
|
+
headers: { 'Content-Type': 'application/json', },
|
|
324
|
+
data: deleteDeviceTokenDto, params: params
|
|
293
325
|
}, options);
|
|
294
326
|
};
|
|
295
327
|
var v10UsersControllerGetUser = function (id, options) {
|
|
@@ -446,7 +478,7 @@ export var getSkyrmeChatAPI = function () {
|
|
|
446
478
|
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/members"), method: 'GET' }, options);
|
|
447
479
|
};
|
|
448
480
|
/**
|
|
449
|
-
* Add a new member to a specific workspace. Requires members:write scope.
|
|
481
|
+
* Add a new member to a specific workspace using user email, user ID, or workspace member ID. Requires members:write scope.
|
|
450
482
|
* @summary Add a member to the workspace (Enterprise M2M)
|
|
451
483
|
*/
|
|
452
484
|
var v3WorkspacesControllerAddWorkspaceMember = function (slug, v3AddMemberDto, options) {
|
|
@@ -455,27 +487,27 @@ export var getSkyrmeChatAPI = function () {
|
|
|
455
487
|
data: v3AddMemberDto }, options);
|
|
456
488
|
};
|
|
457
489
|
/**
|
|
458
|
-
* Retrieve details of a specific workspace member by
|
|
490
|
+
* Retrieve details of a specific workspace member by member ID, user ID, or user email address. Requires members:read scope.
|
|
459
491
|
* @summary Get details of a specific workspace member (Enterprise M2M)
|
|
460
492
|
*/
|
|
461
|
-
var v3WorkspacesControllerGetWorkspaceMember = function (slug,
|
|
462
|
-
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/members/").concat(
|
|
493
|
+
var v3WorkspacesControllerGetWorkspaceMember = function (slug, memberId, options) {
|
|
494
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/members/").concat(memberId), method: 'GET' }, options);
|
|
463
495
|
};
|
|
464
496
|
/**
|
|
465
|
-
* Update the role of a specific workspace member. Requires members:write scope.
|
|
497
|
+
* Update the role of a specific workspace member by member ID, user ID, or user email address. Requires members:write scope.
|
|
466
498
|
* @summary Update a workspace member role (Enterprise M2M)
|
|
467
499
|
*/
|
|
468
|
-
var v3WorkspacesControllerUpdateWorkspaceMember = function (slug,
|
|
469
|
-
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/members/").concat(
|
|
500
|
+
var v3WorkspacesControllerUpdateWorkspaceMember = function (slug, memberId, v3UpdateMemberRoleDto, options) {
|
|
501
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/members/").concat(memberId), method: 'PATCH',
|
|
470
502
|
headers: { 'Content-Type': 'application/json', },
|
|
471
503
|
data: v3UpdateMemberRoleDto }, options);
|
|
472
504
|
};
|
|
473
505
|
/**
|
|
474
|
-
* Remove a workspace member by
|
|
506
|
+
* Remove a workspace member by member ID, user ID, or user email address. Requires members:write scope.
|
|
475
507
|
* @summary Remove a member from the workspace (Enterprise M2M)
|
|
476
508
|
*/
|
|
477
|
-
var v3WorkspacesControllerDeleteWorkspaceMember = function (slug,
|
|
478
|
-
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/members/").concat(
|
|
509
|
+
var v3WorkspacesControllerDeleteWorkspaceMember = function (slug, memberId, options) {
|
|
510
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/members/").concat(memberId), method: 'DELETE' }, options);
|
|
479
511
|
};
|
|
480
512
|
/**
|
|
481
513
|
* Retrieve all public channels and authorized private channels in a workspace. Requires channels:read scope.
|
|
@@ -524,7 +556,7 @@ export var getSkyrmeChatAPI = function () {
|
|
|
524
556
|
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/members"), method: 'GET' }, options);
|
|
525
557
|
};
|
|
526
558
|
/**
|
|
527
|
-
* Add user(s) to a channel with customizable role and permissions. Requires channels:write scope.
|
|
559
|
+
* Add user(s) to a channel using user IDs, member IDs, or email addresses with customizable role and permissions. Requires channels:write scope.
|
|
528
560
|
* @summary Add members to a channel (Enterprise M2M)
|
|
529
561
|
*/
|
|
530
562
|
var v3WorkspacesControllerAddChannelMembers = function (slug, channelId, v3AddChannelMemberDto, options) {
|
|
@@ -533,20 +565,63 @@ export var getSkyrmeChatAPI = function () {
|
|
|
533
565
|
data: v3AddChannelMemberDto }, options);
|
|
534
566
|
};
|
|
535
567
|
/**
|
|
536
|
-
* Update the role or bitwise permissions of a channel member. Requires channels:write scope.
|
|
568
|
+
* Update the role or bitwise permissions of a channel member using user ID, member ID, or email address. Requires channels:write scope.
|
|
537
569
|
* @summary Update channel member role and permissions (Enterprise M2M)
|
|
538
570
|
*/
|
|
539
|
-
var v3WorkspacesControllerUpdateChannelMember = function (slug, channelId,
|
|
540
|
-
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/members/").concat(
|
|
571
|
+
var v3WorkspacesControllerUpdateChannelMember = function (slug, channelId, memberId, v3UpdateChannelMemberDto, options) {
|
|
572
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/members/").concat(memberId), method: 'PATCH',
|
|
541
573
|
headers: { 'Content-Type': 'application/json', },
|
|
542
574
|
data: v3UpdateChannelMemberDto }, options);
|
|
543
575
|
};
|
|
544
576
|
/**
|
|
545
|
-
* Remove a specific member from a channel. Requires channels:write scope.
|
|
577
|
+
* Remove a specific member from a channel using user ID, workspace member ID, or email address. Requires channels:write scope.
|
|
546
578
|
* @summary Remove a member from a channel (Enterprise M2M)
|
|
547
579
|
*/
|
|
548
|
-
var v3WorkspacesControllerDeleteChannelMember = function (slug, channelId,
|
|
549
|
-
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/members/").concat(
|
|
580
|
+
var v3WorkspacesControllerDeleteChannelMember = function (slug, channelId, memberId, options) {
|
|
581
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/members/").concat(memberId), method: 'DELETE' }, options);
|
|
582
|
+
};
|
|
583
|
+
/**
|
|
584
|
+
* Retrieve message history for a channel in a workspace. Requires messages:read scope.
|
|
585
|
+
* @summary Get channel messages (Enterprise M2M)
|
|
586
|
+
*/
|
|
587
|
+
var v3WorkspacesControllerGetChannelMessages = function (slug, channelId, params, options) {
|
|
588
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/messages"), method: 'GET', params: params
|
|
589
|
+
}, options);
|
|
590
|
+
};
|
|
591
|
+
/**
|
|
592
|
+
* Send a message to a channel. Requires messages:send scope.
|
|
593
|
+
* @summary Send a message to a channel (Enterprise M2M)
|
|
594
|
+
*/
|
|
595
|
+
var v3WorkspacesControllerCreateChannelMessage = function (slug, channelId, options) {
|
|
596
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/messages"), method: 'POST' }, options);
|
|
597
|
+
};
|
|
598
|
+
/**
|
|
599
|
+
* Update content of a message. Requires messages:send scope.
|
|
600
|
+
* @summary Update a channel message (Enterprise M2M)
|
|
601
|
+
*/
|
|
602
|
+
var v3WorkspacesControllerUpdateChannelMessage = function (slug, channelId, messageId, options) {
|
|
603
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/messages/").concat(messageId), method: 'PATCH' }, options);
|
|
604
|
+
};
|
|
605
|
+
/**
|
|
606
|
+
* Delete a message. Requires messages:send scope.
|
|
607
|
+
* @summary Delete a channel message (Enterprise M2M)
|
|
608
|
+
*/
|
|
609
|
+
var v3WorkspacesControllerDeleteChannelMessage = function (slug, channelId, messageId, options) {
|
|
610
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/messages/").concat(messageId), method: 'DELETE' }, options);
|
|
611
|
+
};
|
|
612
|
+
/**
|
|
613
|
+
* Add an emoji reaction to a message. Requires messages:send scope.
|
|
614
|
+
* @summary Add a reaction to a channel message (Enterprise M2M)
|
|
615
|
+
*/
|
|
616
|
+
var v3WorkspacesControllerAddChannelMessageReaction = function (slug, channelId, messageId, options) {
|
|
617
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/messages/").concat(messageId, "/reactions"), method: 'POST' }, options);
|
|
618
|
+
};
|
|
619
|
+
/**
|
|
620
|
+
* Remove an emoji reaction from a message. Requires messages:send scope.
|
|
621
|
+
* @summary Remove a reaction from a channel message (Enterprise M2M)
|
|
622
|
+
*/
|
|
623
|
+
var v3WorkspacesControllerRemoveChannelMessageReaction = function (slug, channelId, messageId, emoji, options) {
|
|
624
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/messages/").concat(messageId, "/reactions/").concat(emoji), method: 'DELETE' }, options);
|
|
550
625
|
};
|
|
551
626
|
/**
|
|
552
627
|
* Requires webhooks:read scope. Retrieves all webhooks configured for this workspace.
|
|
@@ -587,6 +662,13 @@ export var getSkyrmeChatAPI = function () {
|
|
|
587
662
|
var v3WebhooksControllerDeleteWebhook = function (slug, webhookId, options) {
|
|
588
663
|
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/webhooks/").concat(webhookId), method: 'DELETE' }, options);
|
|
589
664
|
};
|
|
665
|
+
/**
|
|
666
|
+
* Requires webhooks:read scope. Retrieves all incoming webhooks configured across all channels in this workspace.
|
|
667
|
+
* @summary List all incoming webhooks in a workspace
|
|
668
|
+
*/
|
|
669
|
+
var v3ChannelIncomingWebhooksControllerGetWorkspaceIncomingWebhooks = function (slug, options) {
|
|
670
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/incoming-webhooks"), method: 'GET' }, options);
|
|
671
|
+
};
|
|
590
672
|
/**
|
|
591
673
|
* Requires webhooks:read scope. Retrieves all incoming webhooks configured for this channel.
|
|
592
674
|
* @summary List incoming webhooks for a channel
|
|
@@ -693,6 +775,238 @@ export var getSkyrmeChatAPI = function () {
|
|
|
693
775
|
var v3OrganizationsControllerDeleteM2mApplication = function (orgSlug, id, options) {
|
|
694
776
|
return customInstance({ url: "/api/v3/organizations/".concat(orgSlug, "/m2m/").concat(id), method: 'DELETE' }, options);
|
|
695
777
|
};
|
|
778
|
+
/**
|
|
779
|
+
* @summary List bot applications
|
|
780
|
+
*/
|
|
781
|
+
var v3ApplicationsControllerListApplications0 = function (options) {
|
|
782
|
+
return customInstance({ url: "/api/v3/applications", method: 'GET' }, options);
|
|
783
|
+
};
|
|
784
|
+
/**
|
|
785
|
+
* @summary Create a bot application
|
|
786
|
+
*/
|
|
787
|
+
var v3ApplicationsControllerCreateApplication0 = function (options) {
|
|
788
|
+
return customInstance({ url: "/api/v3/applications", method: 'POST' }, options);
|
|
789
|
+
};
|
|
790
|
+
/**
|
|
791
|
+
* @summary List bot applications
|
|
792
|
+
*/
|
|
793
|
+
var v3ApplicationsControllerListApplications1 = function (options) {
|
|
794
|
+
return customInstance({ url: "/api/v2/applications", method: 'GET' }, options);
|
|
795
|
+
};
|
|
796
|
+
/**
|
|
797
|
+
* @summary Create a bot application
|
|
798
|
+
*/
|
|
799
|
+
var v3ApplicationsControllerCreateApplication1 = function (options) {
|
|
800
|
+
return customInstance({ url: "/api/v2/applications", method: 'POST' }, options);
|
|
801
|
+
};
|
|
802
|
+
/**
|
|
803
|
+
* @summary Get application details
|
|
804
|
+
*/
|
|
805
|
+
var v3ApplicationsControllerGetApplication0 = function (id, options) {
|
|
806
|
+
return customInstance({ url: "/api/v3/applications/".concat(id), method: 'GET' }, options);
|
|
807
|
+
};
|
|
808
|
+
/**
|
|
809
|
+
* @summary Update bot application
|
|
810
|
+
*/
|
|
811
|
+
var v3ApplicationsControllerUpdateApplication = function (id, options) {
|
|
812
|
+
return customInstance({ url: "/api/v3/applications/".concat(id), method: 'PATCH' }, options);
|
|
813
|
+
};
|
|
814
|
+
/**
|
|
815
|
+
* @summary Delete bot application
|
|
816
|
+
*/
|
|
817
|
+
var v3ApplicationsControllerDeleteApplication = function (id, options) {
|
|
818
|
+
return customInstance({ url: "/api/v3/applications/".concat(id), method: 'DELETE' }, options);
|
|
819
|
+
};
|
|
820
|
+
/**
|
|
821
|
+
* @summary Get application details
|
|
822
|
+
*/
|
|
823
|
+
var v3ApplicationsControllerGetApplication1 = function (id, options) {
|
|
824
|
+
return customInstance({ url: "/api/v2/applications/".concat(id), method: 'GET' }, options);
|
|
825
|
+
};
|
|
826
|
+
/**
|
|
827
|
+
* @summary Reset bot token
|
|
828
|
+
*/
|
|
829
|
+
var v3ApplicationsControllerResetToken0 = function (id, options) {
|
|
830
|
+
return customInstance({ url: "/api/v3/applications/".concat(id, "/reset-token"), method: 'POST' }, options);
|
|
831
|
+
};
|
|
832
|
+
/**
|
|
833
|
+
* @summary Reset bot token
|
|
834
|
+
*/
|
|
835
|
+
var v3ApplicationsControllerResetToken1 = function (id, options) {
|
|
836
|
+
return customInstance({ url: "/api/v2/applications/".concat(id, "/reset-token"), method: 'POST' }, options);
|
|
837
|
+
};
|
|
838
|
+
/**
|
|
839
|
+
* @summary Install bot application to a workspace
|
|
840
|
+
*/
|
|
841
|
+
var v3ApplicationsControllerInstallApplication0 = function (id, options) {
|
|
842
|
+
return customInstance({ url: "/api/v3/applications/".concat(id, "/install"), method: 'POST' }, options);
|
|
843
|
+
};
|
|
844
|
+
/**
|
|
845
|
+
* @summary Install bot application to a workspace
|
|
846
|
+
*/
|
|
847
|
+
var v3ApplicationsControllerInstallApplication1 = function (id, options) {
|
|
848
|
+
return customInstance({ url: "/api/v2/applications/".concat(id, "/install"), method: 'POST' }, options);
|
|
849
|
+
};
|
|
850
|
+
/**
|
|
851
|
+
* @summary List installed bots in workspace
|
|
852
|
+
*/
|
|
853
|
+
var v3ApplicationsControllerListWorkspaceBots = function (slug, options) {
|
|
854
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/bots"), method: 'GET' }, options);
|
|
855
|
+
};
|
|
856
|
+
/**
|
|
857
|
+
* @summary Add a bot to a workspace
|
|
858
|
+
*/
|
|
859
|
+
var v3ApplicationsControllerAddBotToWorkspace = function (slug, options) {
|
|
860
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/bots"), method: 'POST' }, options);
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* Retrieve active direct message conversations for the authenticated user/bot. Requires messages:read scope.
|
|
864
|
+
* @summary List direct message conversations (Enterprise M2M V3)
|
|
865
|
+
*/
|
|
866
|
+
var v3DmsControllerGetDms = function (options) {
|
|
867
|
+
return customInstance({ url: "/api/v3/dms", method: 'GET' }, options);
|
|
868
|
+
};
|
|
869
|
+
/**
|
|
870
|
+
* Create a new DM conversation with a target user. Requires messages:send scope.
|
|
871
|
+
* @summary Create or retrieve a direct message conversation (Enterprise M2M V3)
|
|
872
|
+
*/
|
|
873
|
+
var v3DmsControllerCreateDm = function (v3CreateDmDto, options) {
|
|
874
|
+
return customInstance({ url: "/api/v3/dms", method: 'POST',
|
|
875
|
+
headers: { 'Content-Type': 'application/json', },
|
|
876
|
+
data: v3CreateDmDto }, options);
|
|
877
|
+
};
|
|
878
|
+
/**
|
|
879
|
+
* Retrieve specific direct message conversation details. Requires messages:read scope.
|
|
880
|
+
* @summary Get details of a direct message conversation (Enterprise M2M V3)
|
|
881
|
+
*/
|
|
882
|
+
var v3DmsControllerGetDm = function (dmId, options) {
|
|
883
|
+
return customInstance({ url: "/api/v3/dms/".concat(dmId), method: 'GET' }, options);
|
|
884
|
+
};
|
|
885
|
+
/**
|
|
886
|
+
* Delete a direct message conversation. Requires messages:send scope.
|
|
887
|
+
* @summary Delete a direct message conversation (Enterprise M2M V3)
|
|
888
|
+
*/
|
|
889
|
+
var v3DmsControllerDeleteDm = function (dmId, options) {
|
|
890
|
+
return customInstance({ url: "/api/v3/dms/".concat(dmId), method: 'DELETE' }, options);
|
|
891
|
+
};
|
|
892
|
+
/**
|
|
893
|
+
* Retrieve message history for a direct message conversation. Requires messages:read scope.
|
|
894
|
+
* @summary Get direct message conversation messages (Enterprise M2M V3)
|
|
895
|
+
*/
|
|
896
|
+
var v3DmsControllerGetMessages = function (dmId, params, options) {
|
|
897
|
+
return customInstance({ url: "/api/v3/dms/".concat(dmId, "/messages"), method: 'GET', params: params
|
|
898
|
+
}, options);
|
|
899
|
+
};
|
|
900
|
+
/**
|
|
901
|
+
* Send a message in a DM conversation. Requires messages:send scope.
|
|
902
|
+
* @summary Send a message in a direct message conversation (Enterprise M2M V3)
|
|
903
|
+
*/
|
|
904
|
+
var v3DmsControllerCreateMessage = function (dmId, options) {
|
|
905
|
+
return customInstance({ url: "/api/v3/dms/".concat(dmId, "/messages"), method: 'POST' }, options);
|
|
906
|
+
};
|
|
907
|
+
/**
|
|
908
|
+
* Update content of a direct message. Requires messages:send scope.
|
|
909
|
+
* @summary Update a direct message (Enterprise M2M V3)
|
|
910
|
+
*/
|
|
911
|
+
var v3DmsControllerUpdateMessage = function (dmId, messageId, options) {
|
|
912
|
+
return customInstance({ url: "/api/v3/dms/".concat(dmId, "/messages/").concat(messageId), method: 'PATCH' }, options);
|
|
913
|
+
};
|
|
914
|
+
/**
|
|
915
|
+
* Delete a direct message. Requires messages:send scope.
|
|
916
|
+
* @summary Delete a direct message (Enterprise M2M V3)
|
|
917
|
+
*/
|
|
918
|
+
var v3DmsControllerDeleteMessage = function (dmId, messageId, options) {
|
|
919
|
+
return customInstance({ url: "/api/v3/dms/".concat(dmId, "/messages/").concat(messageId), method: 'DELETE' }, options);
|
|
920
|
+
};
|
|
921
|
+
/**
|
|
922
|
+
* Add an emoji reaction to a DM message. Requires messages:send scope.
|
|
923
|
+
* @summary Add a reaction to a direct message (Enterprise M2M V3)
|
|
924
|
+
*/
|
|
925
|
+
var v3DmsControllerAddReaction = function (dmId, messageId, options) {
|
|
926
|
+
return customInstance({ url: "/api/v3/dms/".concat(dmId, "/messages/").concat(messageId, "/reactions"), method: 'POST' }, options);
|
|
927
|
+
};
|
|
928
|
+
/**
|
|
929
|
+
* Remove an emoji reaction from a DM message. Requires messages:send scope.
|
|
930
|
+
* @summary Remove a reaction from a direct message (Enterprise M2M V3)
|
|
931
|
+
*/
|
|
932
|
+
var v3DmsControllerRemoveReaction = function (dmId, messageId, emoji, options) {
|
|
933
|
+
return customInstance({ url: "/api/v3/dms/".concat(dmId, "/messages/").concat(messageId, "/reactions/").concat(emoji), method: 'DELETE' }, options);
|
|
934
|
+
};
|
|
935
|
+
/**
|
|
936
|
+
* @summary Get global channels
|
|
937
|
+
*/
|
|
938
|
+
var channelsControllerGetGlobalChannels = function (options) {
|
|
939
|
+
return customInstance({ url: "/api/channels", method: 'GET' }, options);
|
|
940
|
+
};
|
|
941
|
+
/**
|
|
942
|
+
* @summary Create a new channel in a workspace
|
|
943
|
+
*/
|
|
944
|
+
var channelsControllerCreateChannel = function (slug, createWorkspaceChannelDto, options) {
|
|
945
|
+
return customInstance({ url: "/api/workspaces/".concat(slug, "/channels"), method: 'POST',
|
|
946
|
+
headers: { 'Content-Type': 'application/json', },
|
|
947
|
+
data: createWorkspaceChannelDto }, options);
|
|
948
|
+
};
|
|
949
|
+
/**
|
|
950
|
+
* @summary Get messages from a channel
|
|
951
|
+
*/
|
|
952
|
+
var channelsControllerGetMessages = function (channelId, params, options) {
|
|
953
|
+
return customInstance({ url: "/api/channels/".concat(channelId, "/messages"), method: 'GET', params: params
|
|
954
|
+
}, options);
|
|
955
|
+
};
|
|
956
|
+
/**
|
|
957
|
+
* @summary Send a message to a channel
|
|
958
|
+
*/
|
|
959
|
+
var channelsControllerCreateMessage = function (channelId, options) {
|
|
960
|
+
return customInstance({ url: "/api/channels/".concat(channelId, "/messages"), method: 'POST' }, options);
|
|
961
|
+
};
|
|
962
|
+
/**
|
|
963
|
+
* @summary Update a message
|
|
964
|
+
*/
|
|
965
|
+
var channelsControllerUpdateMessage = function (channelId, messageId, channelsControllerUpdateMessageBody, options) {
|
|
966
|
+
return customInstance({ url: "/api/channels/".concat(channelId, "/messages/").concat(messageId), method: 'PATCH',
|
|
967
|
+
headers: { 'Content-Type': 'application/json', },
|
|
968
|
+
data: channelsControllerUpdateMessageBody }, options);
|
|
969
|
+
};
|
|
970
|
+
/**
|
|
971
|
+
* @summary Delete a message
|
|
972
|
+
*/
|
|
973
|
+
var channelsControllerDeleteMessage = function (channelId, messageId, options) {
|
|
974
|
+
return customInstance({ url: "/api/channels/".concat(channelId, "/messages/").concat(messageId), method: 'DELETE' }, options);
|
|
975
|
+
};
|
|
976
|
+
/**
|
|
977
|
+
* @summary Mark messages as read
|
|
978
|
+
*/
|
|
979
|
+
var channelsControllerMarkAsRead = function (channelId, channelsControllerMarkAsReadBody, options) {
|
|
980
|
+
return customInstance({ url: "/api/channels/".concat(channelId, "/messages/read"), method: 'POST',
|
|
981
|
+
headers: { 'Content-Type': 'application/json', },
|
|
982
|
+
data: channelsControllerMarkAsReadBody }, options);
|
|
983
|
+
};
|
|
984
|
+
/**
|
|
985
|
+
* @summary Add a reaction to a message
|
|
986
|
+
*/
|
|
987
|
+
var channelsControllerAddReaction = function (channelId, messageId, channelsControllerAddReactionBody, options) {
|
|
988
|
+
return customInstance({ url: "/api/channels/".concat(channelId, "/messages/").concat(messageId, "/reactions"), method: 'POST',
|
|
989
|
+
headers: { 'Content-Type': 'application/json', },
|
|
990
|
+
data: channelsControllerAddReactionBody }, options);
|
|
991
|
+
};
|
|
992
|
+
/**
|
|
993
|
+
* @summary Remove a reaction from a message
|
|
994
|
+
*/
|
|
995
|
+
var channelsControllerRemoveReaction = function (channelId, messageId, emoji, options) {
|
|
996
|
+
return customInstance({ url: "/api/channels/".concat(channelId, "/messages/").concat(messageId, "/reactions/").concat(emoji), method: 'DELETE' }, options);
|
|
997
|
+
};
|
|
998
|
+
/**
|
|
999
|
+
* @summary Share a channel with another workspace
|
|
1000
|
+
*/
|
|
1001
|
+
var channelsControllerShareChannel = function (channelId, options) {
|
|
1002
|
+
return customInstance({ url: "/api/channels/".concat(channelId, "/share"), method: 'POST' }, options);
|
|
1003
|
+
};
|
|
1004
|
+
/**
|
|
1005
|
+
* @summary Reply to a message
|
|
1006
|
+
*/
|
|
1007
|
+
var channelsControllerCreateReply = function (channelId, messageId, options) {
|
|
1008
|
+
return customInstance({ url: "/api/channels/".concat(channelId, "/messages/").concat(messageId, "/reply"), method: 'POST' }, options);
|
|
1009
|
+
};
|
|
696
1010
|
/**
|
|
697
1011
|
* @summary Get notifications for the current user
|
|
698
1012
|
*/
|
|
@@ -756,6 +1070,81 @@ export var getSkyrmeChatAPI = function () {
|
|
|
756
1070
|
headers: { 'Content-Type': 'application/json', },
|
|
757
1071
|
data: channelSettingsDto }, options);
|
|
758
1072
|
};
|
|
1073
|
+
/**
|
|
1074
|
+
* @summary Get all DM conversations for the current user
|
|
1075
|
+
*/
|
|
1076
|
+
var dmsControllerGetDms = function (options) {
|
|
1077
|
+
return customInstance({ url: "/api/dms", method: 'GET' }, options);
|
|
1078
|
+
};
|
|
1079
|
+
/**
|
|
1080
|
+
* @summary Start a new DM conversation
|
|
1081
|
+
*/
|
|
1082
|
+
var dmsControllerCreateDm = function (createDmDto, options) {
|
|
1083
|
+
return customInstance({ url: "/api/dms", method: 'POST',
|
|
1084
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1085
|
+
data: createDmDto }, options);
|
|
1086
|
+
};
|
|
1087
|
+
/**
|
|
1088
|
+
* @summary Get DM conversation details
|
|
1089
|
+
*/
|
|
1090
|
+
var dmsControllerGetDm = function (conversationId, options) {
|
|
1091
|
+
return customInstance({ url: "/api/dms/".concat(conversationId), method: 'GET' }, options);
|
|
1092
|
+
};
|
|
1093
|
+
/**
|
|
1094
|
+
* @summary Delete a DM conversation
|
|
1095
|
+
*/
|
|
1096
|
+
var dmsControllerDeleteDm = function (conversationId, options) {
|
|
1097
|
+
return customInstance({ url: "/api/dms/".concat(conversationId), method: 'DELETE' }, options);
|
|
1098
|
+
};
|
|
1099
|
+
/**
|
|
1100
|
+
* @summary Get messages in a DM conversation
|
|
1101
|
+
*/
|
|
1102
|
+
var dmsControllerGetMessages = function (conversationId, params, options) {
|
|
1103
|
+
return customInstance({ url: "/api/dms/".concat(conversationId, "/messages"), method: 'GET', params: params
|
|
1104
|
+
}, options);
|
|
1105
|
+
};
|
|
1106
|
+
/**
|
|
1107
|
+
* @summary Send a message in a DM
|
|
1108
|
+
*/
|
|
1109
|
+
var dmsControllerCreateMessage = function (conversationId, options) {
|
|
1110
|
+
return customInstance({ url: "/api/dms/".concat(conversationId, "/messages"), method: 'POST' }, options);
|
|
1111
|
+
};
|
|
1112
|
+
/**
|
|
1113
|
+
* @summary Update a DM message
|
|
1114
|
+
*/
|
|
1115
|
+
var dmsControllerUpdateMessage = function (conversationId, messageId, updateDmMessageDto, options) {
|
|
1116
|
+
return customInstance({ url: "/api/dms/".concat(conversationId, "/messages/").concat(messageId), method: 'PATCH',
|
|
1117
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1118
|
+
data: updateDmMessageDto }, options);
|
|
1119
|
+
};
|
|
1120
|
+
/**
|
|
1121
|
+
* @summary Delete a DM message
|
|
1122
|
+
*/
|
|
1123
|
+
var dmsControllerDeleteMessage = function (conversationId, messageId, options) {
|
|
1124
|
+
return customInstance({ url: "/api/dms/".concat(conversationId, "/messages/").concat(messageId), method: 'DELETE' }, options);
|
|
1125
|
+
};
|
|
1126
|
+
/**
|
|
1127
|
+
* @summary Mark messages as read in a DM
|
|
1128
|
+
*/
|
|
1129
|
+
var dmsControllerMarkAsRead = function (conversationId, markAsReadDto, options) {
|
|
1130
|
+
return customInstance({ url: "/api/dms/".concat(conversationId, "/messages/read"), method: 'POST',
|
|
1131
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1132
|
+
data: markAsReadDto }, options);
|
|
1133
|
+
};
|
|
1134
|
+
/**
|
|
1135
|
+
* @summary Add a reaction to a DM message
|
|
1136
|
+
*/
|
|
1137
|
+
var dmsControllerAddReaction = function (conversationId, messageId, dmsControllerAddReactionBody, options) {
|
|
1138
|
+
return customInstance({ url: "/api/dms/".concat(conversationId, "/messages/").concat(messageId, "/reactions"), method: 'POST',
|
|
1139
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1140
|
+
data: dmsControllerAddReactionBody }, options);
|
|
1141
|
+
};
|
|
1142
|
+
/**
|
|
1143
|
+
* @summary Remove a reaction from a DM message
|
|
1144
|
+
*/
|
|
1145
|
+
var dmsControllerRemoveReaction = function (conversationId, messageId, emoji, options) {
|
|
1146
|
+
return customInstance({ url: "/api/dms/".concat(conversationId, "/messages/").concat(messageId, "/reactions/").concat(emoji), method: 'DELETE' }, options);
|
|
1147
|
+
};
|
|
759
1148
|
/**
|
|
760
1149
|
* @summary Get invitations for the current user
|
|
761
1150
|
*/
|
|
@@ -975,81 +1364,6 @@ export var getSkyrmeChatAPI = function () {
|
|
|
975
1364
|
headers: { 'Content-Type': 'application/json', },
|
|
976
1365
|
data: soundboardSoundDto }, options);
|
|
977
1366
|
};
|
|
978
|
-
/**
|
|
979
|
-
* @summary Get global channels
|
|
980
|
-
*/
|
|
981
|
-
var channelsControllerGetGlobalChannels = function (options) {
|
|
982
|
-
return customInstance({ url: "/api/channels", method: 'GET' }, options);
|
|
983
|
-
};
|
|
984
|
-
/**
|
|
985
|
-
* @summary Create a new channel in a workspace
|
|
986
|
-
*/
|
|
987
|
-
var channelsControllerCreateChannel = function (slug, createWorkspaceChannelDto, options) {
|
|
988
|
-
return customInstance({ url: "/api/workspaces/".concat(slug, "/channels"), method: 'POST',
|
|
989
|
-
headers: { 'Content-Type': 'application/json', },
|
|
990
|
-
data: createWorkspaceChannelDto }, options);
|
|
991
|
-
};
|
|
992
|
-
/**
|
|
993
|
-
* @summary Get messages from a channel
|
|
994
|
-
*/
|
|
995
|
-
var channelsControllerGetMessages = function (channelId, params, options) {
|
|
996
|
-
return customInstance({ url: "/api/channels/".concat(channelId, "/messages"), method: 'GET', params: params
|
|
997
|
-
}, options);
|
|
998
|
-
};
|
|
999
|
-
/**
|
|
1000
|
-
* @summary Send a message to a channel
|
|
1001
|
-
*/
|
|
1002
|
-
var channelsControllerCreateMessage = function (channelId, options) {
|
|
1003
|
-
return customInstance({ url: "/api/channels/".concat(channelId, "/messages"), method: 'POST' }, options);
|
|
1004
|
-
};
|
|
1005
|
-
/**
|
|
1006
|
-
* @summary Update a message
|
|
1007
|
-
*/
|
|
1008
|
-
var channelsControllerUpdateMessage = function (channelId, messageId, channelsControllerUpdateMessageBody, options) {
|
|
1009
|
-
return customInstance({ url: "/api/channels/".concat(channelId, "/messages/").concat(messageId), method: 'PATCH',
|
|
1010
|
-
headers: { 'Content-Type': 'application/json', },
|
|
1011
|
-
data: channelsControllerUpdateMessageBody }, options);
|
|
1012
|
-
};
|
|
1013
|
-
/**
|
|
1014
|
-
* @summary Delete a message
|
|
1015
|
-
*/
|
|
1016
|
-
var channelsControllerDeleteMessage = function (channelId, messageId, options) {
|
|
1017
|
-
return customInstance({ url: "/api/channels/".concat(channelId, "/messages/").concat(messageId), method: 'DELETE' }, options);
|
|
1018
|
-
};
|
|
1019
|
-
/**
|
|
1020
|
-
* @summary Mark messages as read
|
|
1021
|
-
*/
|
|
1022
|
-
var channelsControllerMarkAsRead = function (channelId, channelsControllerMarkAsReadBody, options) {
|
|
1023
|
-
return customInstance({ url: "/api/channels/".concat(channelId, "/messages/read"), method: 'POST',
|
|
1024
|
-
headers: { 'Content-Type': 'application/json', },
|
|
1025
|
-
data: channelsControllerMarkAsReadBody }, options);
|
|
1026
|
-
};
|
|
1027
|
-
/**
|
|
1028
|
-
* @summary Add a reaction to a message
|
|
1029
|
-
*/
|
|
1030
|
-
var channelsControllerAddReaction = function (channelId, messageId, channelsControllerAddReactionBody, options) {
|
|
1031
|
-
return customInstance({ url: "/api/channels/".concat(channelId, "/messages/").concat(messageId, "/reactions"), method: 'POST',
|
|
1032
|
-
headers: { 'Content-Type': 'application/json', },
|
|
1033
|
-
data: channelsControllerAddReactionBody }, options);
|
|
1034
|
-
};
|
|
1035
|
-
/**
|
|
1036
|
-
* @summary Remove a reaction from a message
|
|
1037
|
-
*/
|
|
1038
|
-
var channelsControllerRemoveReaction = function (channelId, messageId, emoji, options) {
|
|
1039
|
-
return customInstance({ url: "/api/channels/".concat(channelId, "/messages/").concat(messageId, "/reactions/").concat(emoji), method: 'DELETE' }, options);
|
|
1040
|
-
};
|
|
1041
|
-
/**
|
|
1042
|
-
* @summary Share a channel with another workspace
|
|
1043
|
-
*/
|
|
1044
|
-
var channelsControllerShareChannel = function (channelId, options) {
|
|
1045
|
-
return customInstance({ url: "/api/channels/".concat(channelId, "/share"), method: 'POST' }, options);
|
|
1046
|
-
};
|
|
1047
|
-
/**
|
|
1048
|
-
* @summary Reply to a message
|
|
1049
|
-
*/
|
|
1050
|
-
var channelsControllerCreateReply = function (channelId, messageId, options) {
|
|
1051
|
-
return customInstance({ url: "/api/channels/".concat(channelId, "/messages/").concat(messageId, "/reply"), method: 'POST' }, options);
|
|
1052
|
-
};
|
|
1053
1367
|
/**
|
|
1054
1368
|
* @summary Get global system statistics
|
|
1055
1369
|
*/
|
|
@@ -1126,81 +1440,6 @@ export var getSkyrmeChatAPI = function () {
|
|
|
1126
1440
|
headers: { 'Content-Type': 'multipart/form-data', },
|
|
1127
1441
|
data: formData }, options);
|
|
1128
1442
|
};
|
|
1129
|
-
/**
|
|
1130
|
-
* @summary Get all DM conversations for the current user
|
|
1131
|
-
*/
|
|
1132
|
-
var dmsControllerGetDms = function (options) {
|
|
1133
|
-
return customInstance({ url: "/api/dms", method: 'GET' }, options);
|
|
1134
|
-
};
|
|
1135
|
-
/**
|
|
1136
|
-
* @summary Start a new DM conversation
|
|
1137
|
-
*/
|
|
1138
|
-
var dmsControllerCreateDm = function (createDmDto, options) {
|
|
1139
|
-
return customInstance({ url: "/api/dms", method: 'POST',
|
|
1140
|
-
headers: { 'Content-Type': 'application/json', },
|
|
1141
|
-
data: createDmDto }, options);
|
|
1142
|
-
};
|
|
1143
|
-
/**
|
|
1144
|
-
* @summary Get DM conversation details
|
|
1145
|
-
*/
|
|
1146
|
-
var dmsControllerGetDm = function (conversationId, options) {
|
|
1147
|
-
return customInstance({ url: "/api/dms/".concat(conversationId), method: 'GET' }, options);
|
|
1148
|
-
};
|
|
1149
|
-
/**
|
|
1150
|
-
* @summary Delete a DM conversation
|
|
1151
|
-
*/
|
|
1152
|
-
var dmsControllerDeleteDm = function (conversationId, options) {
|
|
1153
|
-
return customInstance({ url: "/api/dms/".concat(conversationId), method: 'DELETE' }, options);
|
|
1154
|
-
};
|
|
1155
|
-
/**
|
|
1156
|
-
* @summary Get messages in a DM conversation
|
|
1157
|
-
*/
|
|
1158
|
-
var dmsControllerGetMessages = function (conversationId, params, options) {
|
|
1159
|
-
return customInstance({ url: "/api/dms/".concat(conversationId, "/messages"), method: 'GET', params: params
|
|
1160
|
-
}, options);
|
|
1161
|
-
};
|
|
1162
|
-
/**
|
|
1163
|
-
* @summary Send a message in a DM
|
|
1164
|
-
*/
|
|
1165
|
-
var dmsControllerCreateMessage = function (conversationId, options) {
|
|
1166
|
-
return customInstance({ url: "/api/dms/".concat(conversationId, "/messages"), method: 'POST' }, options);
|
|
1167
|
-
};
|
|
1168
|
-
/**
|
|
1169
|
-
* @summary Update a DM message
|
|
1170
|
-
*/
|
|
1171
|
-
var dmsControllerUpdateMessage = function (conversationId, messageId, updateDmMessageDto, options) {
|
|
1172
|
-
return customInstance({ url: "/api/dms/".concat(conversationId, "/messages/").concat(messageId), method: 'PATCH',
|
|
1173
|
-
headers: { 'Content-Type': 'application/json', },
|
|
1174
|
-
data: updateDmMessageDto }, options);
|
|
1175
|
-
};
|
|
1176
|
-
/**
|
|
1177
|
-
* @summary Delete a DM message
|
|
1178
|
-
*/
|
|
1179
|
-
var dmsControllerDeleteMessage = function (conversationId, messageId, options) {
|
|
1180
|
-
return customInstance({ url: "/api/dms/".concat(conversationId, "/messages/").concat(messageId), method: 'DELETE' }, options);
|
|
1181
|
-
};
|
|
1182
|
-
/**
|
|
1183
|
-
* @summary Mark messages as read in a DM
|
|
1184
|
-
*/
|
|
1185
|
-
var dmsControllerMarkAsRead = function (conversationId, markAsReadDto, options) {
|
|
1186
|
-
return customInstance({ url: "/api/dms/".concat(conversationId, "/messages/read"), method: 'POST',
|
|
1187
|
-
headers: { 'Content-Type': 'application/json', },
|
|
1188
|
-
data: markAsReadDto }, options);
|
|
1189
|
-
};
|
|
1190
|
-
/**
|
|
1191
|
-
* @summary Add a reaction to a DM message
|
|
1192
|
-
*/
|
|
1193
|
-
var dmsControllerAddReaction = function (conversationId, messageId, dmsControllerAddReactionBody, options) {
|
|
1194
|
-
return customInstance({ url: "/api/dms/".concat(conversationId, "/messages/").concat(messageId, "/reactions"), method: 'POST',
|
|
1195
|
-
headers: { 'Content-Type': 'application/json', },
|
|
1196
|
-
data: dmsControllerAddReactionBody }, options);
|
|
1197
|
-
};
|
|
1198
|
-
/**
|
|
1199
|
-
* @summary Remove a reaction from a DM message
|
|
1200
|
-
*/
|
|
1201
|
-
var dmsControllerRemoveReaction = function (conversationId, messageId, emoji, options) {
|
|
1202
|
-
return customInstance({ url: "/api/dms/".concat(conversationId, "/messages/").concat(messageId, "/reactions/").concat(emoji), method: 'DELETE' }, options);
|
|
1203
|
-
};
|
|
1204
1443
|
/**
|
|
1205
1444
|
* @summary Get list of friends
|
|
1206
1445
|
*/
|
|
@@ -1664,10 +1903,10 @@ export var getSkyrmeChatAPI = function () {
|
|
|
1664
1903
|
/**
|
|
1665
1904
|
* @summary Update a scheduled notification
|
|
1666
1905
|
*/
|
|
1667
|
-
var scheduledNotificationsControllerUpdateNotification = function (id,
|
|
1906
|
+
var scheduledNotificationsControllerUpdateNotification = function (id, updateScheduledNotificationDto, options) {
|
|
1668
1907
|
return customInstance({ url: "/api/scheduled-notifications/".concat(id), method: 'PATCH',
|
|
1669
1908
|
headers: { 'Content-Type': 'application/json', },
|
|
1670
|
-
data:
|
|
1909
|
+
data: updateScheduledNotificationDto }, options);
|
|
1671
1910
|
};
|
|
1672
1911
|
/**
|
|
1673
1912
|
* @summary Delete a scheduled notification
|
|
@@ -1684,8 +1923,10 @@ export var getSkyrmeChatAPI = function () {
|
|
|
1684
1923
|
/**
|
|
1685
1924
|
* @summary Create a support ticket
|
|
1686
1925
|
*/
|
|
1687
|
-
var supportControllerCreateTicket = function (options) {
|
|
1688
|
-
return customInstance({ url: "/api/support/tickets", method: 'POST'
|
|
1926
|
+
var supportControllerCreateTicket = function (createTicketDto, options) {
|
|
1927
|
+
return customInstance({ url: "/api/support/tickets", method: 'POST',
|
|
1928
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1929
|
+
data: createTicketDto }, options);
|
|
1689
1930
|
};
|
|
1690
1931
|
/**
|
|
1691
1932
|
* @summary Get support tickets
|
|
@@ -1697,8 +1938,10 @@ export var getSkyrmeChatAPI = function () {
|
|
|
1697
1938
|
/**
|
|
1698
1939
|
* @summary Start a live chat session
|
|
1699
1940
|
*/
|
|
1700
|
-
var supportControllerStartLiveChat = function (options) {
|
|
1701
|
-
return customInstance({ url: "/api/support/live-chat", method: 'POST'
|
|
1941
|
+
var supportControllerStartLiveChat = function (startLiveChatDto, options) {
|
|
1942
|
+
return customInstance({ url: "/api/support/live-chat", method: 'POST',
|
|
1943
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1944
|
+
data: startLiveChatDto }, options);
|
|
1702
1945
|
};
|
|
1703
1946
|
/**
|
|
1704
1947
|
* @summary End a live chat session
|
|
@@ -1709,20 +1952,26 @@ export var getSkyrmeChatAPI = function () {
|
|
|
1709
1952
|
/**
|
|
1710
1953
|
* @summary Update ticket status
|
|
1711
1954
|
*/
|
|
1712
|
-
var supportControllerUpdateTicketStatus = function (ticketId, options) {
|
|
1713
|
-
return customInstance({ url: "/api/support/tickets/".concat(ticketId, "/status"), method: 'PATCH'
|
|
1955
|
+
var supportControllerUpdateTicketStatus = function (ticketId, updateTicketStatusDto, options) {
|
|
1956
|
+
return customInstance({ url: "/api/support/tickets/".concat(ticketId, "/status"), method: 'PATCH',
|
|
1957
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1958
|
+
data: updateTicketStatusDto }, options);
|
|
1714
1959
|
};
|
|
1715
1960
|
/**
|
|
1716
1961
|
* @summary Assign ticket to an agent
|
|
1717
1962
|
*/
|
|
1718
|
-
var supportControllerAssignTicket = function (ticketId, options) {
|
|
1719
|
-
return customInstance({ url: "/api/support/tickets/".concat(ticketId, "/assign"), method: 'PATCH'
|
|
1963
|
+
var supportControllerAssignTicket = function (ticketId, assignTicketDto, options) {
|
|
1964
|
+
return customInstance({ url: "/api/support/tickets/".concat(ticketId, "/assign"), method: 'PATCH',
|
|
1965
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1966
|
+
data: assignTicketDto }, options);
|
|
1720
1967
|
};
|
|
1721
1968
|
/**
|
|
1722
1969
|
* @summary Create or update customer profile
|
|
1723
1970
|
*/
|
|
1724
|
-
var supportControllerCreateCustomerProfile = function (options) {
|
|
1725
|
-
return customInstance({ url: "/api/support/customers", method: 'POST'
|
|
1971
|
+
var supportControllerCreateCustomerProfile = function (createCustomerProfileDto, options) {
|
|
1972
|
+
return customInstance({ url: "/api/support/customers", method: 'POST',
|
|
1973
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1974
|
+
data: createCustomerProfileDto }, options);
|
|
1726
1975
|
};
|
|
1727
1976
|
/**
|
|
1728
1977
|
* @summary Get customer profiles
|
|
@@ -1731,5 +1980,5 @@ export var getSkyrmeChatAPI = function () {
|
|
|
1731
1980
|
return customInstance({ url: "/api/support/customers", method: 'GET', params: params
|
|
1732
1981
|
}, options);
|
|
1733
1982
|
};
|
|
1734
|
-
return { appControllerGetHealth: appControllerGetHealth, appControllerGetHello: appControllerGetHello, appControllerGetRealtimeConfig: appControllerGetRealtimeConfig, appControllerGetLinkPreview: appControllerGetLinkPreview, usersControllerGetUsers: usersControllerGetUsers, usersControllerSearchUsers: usersControllerSearchUsers, usersControllerGetMe: usersControllerGetMe, usersControllerPatchMe: usersControllerPatchMe, usersControllerUpdateMe: usersControllerUpdateMe, usersControllerGetUser: usersControllerGetUser, usersControllerPatchUser: usersControllerPatchUser, usersControllerGetSocialProfile: usersControllerGetSocialProfile, usersControllerBlockUser: usersControllerBlockUser, usersControllerUnblockUser: usersControllerUnblockUser, usersControllerUpdateMyStatus: usersControllerUpdateMyStatus, usersControllerRegisterDeviceToken: usersControllerRegisterDeviceToken, usersControllerGetDeviceTokens: usersControllerGetDeviceTokens, usersControllerDeleteDeviceToken: usersControllerDeleteDeviceToken, v10UsersControllerGetUser: v10UsersControllerGetUser, v10UsersControllerGetMe: v10UsersControllerGetMe, v10GatewayControllerGetBotGateway: v10GatewayControllerGetBotGateway, v10GatewayControllerBotAuth: v10GatewayControllerBotAuth, v10ChannelsControllerGetChannel: v10ChannelsControllerGetChannel, v10ChannelsControllerCreateMessage: v10ChannelsControllerCreateMessage, v10ChannelsControllerGetMessages: v10ChannelsControllerGetMessages, v10ChannelsControllerUpdateMessage: v10ChannelsControllerUpdateMessage, v10ChannelsControllerDeleteMessage: v10ChannelsControllerDeleteMessage, v10GuildsControllerGetGuild: v10GuildsControllerGetGuild, v10GuildsControllerGetChannels: v10GuildsControllerGetChannels, v10GuildsControllerGetMembers: v10GuildsControllerGetMembers, v10GuildsControllerGetRoles: v10GuildsControllerGetRoles, v10GuildsControllerAddMemberRole: v10GuildsControllerAddMemberRole, v10GuildsControllerRemoveMemberRole: v10GuildsControllerRemoveMemberRole, v10ApplicationsControllerGetCommands: v10ApplicationsControllerGetCommands, v10ApplicationsControllerCreateCommand: v10ApplicationsControllerCreateCommand, v10ApplicationsControllerGetGuildCommands: v10ApplicationsControllerGetGuildCommands, v10ApplicationsControllerCreateGuildCommand: v10ApplicationsControllerCreateGuildCommand, v10InteractionsControllerHandleCallback: v10InteractionsControllerHandleCallback, v10EnterpriseControllerCreateAnnouncement: v10EnterpriseControllerCreateAnnouncement, v3OAuthControllerGetToken: v3OAuthControllerGetToken, v3WorkspacesControllerGetWorkspaces: v3WorkspacesControllerGetWorkspaces, v3WorkspacesControllerProvisionWorkspace: v3WorkspacesControllerProvisionWorkspace, v3WorkspacesControllerGetWorkspaceBySlug: v3WorkspacesControllerGetWorkspaceBySlug, v3WorkspacesControllerUpdateWorkspace: v3WorkspacesControllerUpdateWorkspace, v3WorkspacesControllerDeleteWorkspace: v3WorkspacesControllerDeleteWorkspace, v3WorkspacesControllerGetWorkspaceMembers: v3WorkspacesControllerGetWorkspaceMembers, v3WorkspacesControllerAddWorkspaceMember: v3WorkspacesControllerAddWorkspaceMember, v3WorkspacesControllerGetWorkspaceMember: v3WorkspacesControllerGetWorkspaceMember, v3WorkspacesControllerUpdateWorkspaceMember: v3WorkspacesControllerUpdateWorkspaceMember, v3WorkspacesControllerDeleteWorkspaceMember: v3WorkspacesControllerDeleteWorkspaceMember, v3WorkspacesControllerGetChannels: v3WorkspacesControllerGetChannels, v3WorkspacesControllerCreateChannel: v3WorkspacesControllerCreateChannel, v3WorkspacesControllerGetChannel: v3WorkspacesControllerGetChannel, v3WorkspacesControllerUpdateChannel: v3WorkspacesControllerUpdateChannel, v3WorkspacesControllerDeleteChannel: v3WorkspacesControllerDeleteChannel, v3WorkspacesControllerGetChannelMembers: v3WorkspacesControllerGetChannelMembers, v3WorkspacesControllerAddChannelMembers: v3WorkspacesControllerAddChannelMembers, v3WorkspacesControllerUpdateChannelMember: v3WorkspacesControllerUpdateChannelMember, v3WorkspacesControllerDeleteChannelMember: v3WorkspacesControllerDeleteChannelMember, v3WebhooksControllerGetWebhooks: v3WebhooksControllerGetWebhooks, v3WebhooksControllerCreateWebhook: v3WebhooksControllerCreateWebhook, v3WebhooksControllerGetWebhook: v3WebhooksControllerGetWebhook, v3WebhooksControllerUpdateWebhook: v3WebhooksControllerUpdateWebhook, v3WebhooksControllerDeleteWebhook: v3WebhooksControllerDeleteWebhook, v3ChannelIncomingWebhooksControllerGetChannelWebhooks: v3ChannelIncomingWebhooksControllerGetChannelWebhooks, v3ChannelIncomingWebhooksControllerCreateChannelWebhook: v3ChannelIncomingWebhooksControllerCreateChannelWebhook, v3ChannelIncomingWebhooksControllerGetChannelWebhook: v3ChannelIncomingWebhooksControllerGetChannelWebhook, v3ChannelIncomingWebhooksControllerUpdateChannelWebhook: v3ChannelIncomingWebhooksControllerUpdateChannelWebhook, v3ChannelIncomingWebhooksControllerDeleteChannelWebhook: v3ChannelIncomingWebhooksControllerDeleteChannelWebhook, v3ChannelIncomingWebhooksControllerExecuteWebhookByUrlToken: v3ChannelIncomingWebhooksControllerExecuteWebhookByUrlToken, v3ChannelIncomingWebhooksControllerExecuteWebhookByChannelId: v3ChannelIncomingWebhooksControllerExecuteWebhookByChannelId, v3OrganizationsControllerGetOrganizationWorkspaces: v3OrganizationsControllerGetOrganizationWorkspaces, v3OrganizationsControllerGetOrganization: v3OrganizationsControllerGetOrganization, v3OrganizationsControllerUpdateOrganization: v3OrganizationsControllerUpdateOrganization, v3OrganizationsControllerGetM2mApplications: v3OrganizationsControllerGetM2mApplications, v3OrganizationsControllerCreateM2mApplication: v3OrganizationsControllerCreateM2mApplication, v3OrganizationsControllerUpdateM2mApplication: v3OrganizationsControllerUpdateM2mApplication, v3OrganizationsControllerDeleteM2mApplication: v3OrganizationsControllerDeleteM2mApplication, notificationsControllerGetNotifications: notificationsControllerGetNotifications, notificationsControllerGetNotificationById: notificationsControllerGetNotificationById, notificationsControllerUpdateNotification: notificationsControllerUpdateNotification, notificationsControllerDeleteNotification: notificationsControllerDeleteNotification, notificationsControllerMarkAllRead: notificationsControllerMarkAllRead, notificationsControllerGetWorkspaceSettings: notificationsControllerGetWorkspaceSettings, notificationsControllerUpdateWorkspaceSettings: notificationsControllerUpdateWorkspaceSettings, notificationsControllerGetChannelSettings: notificationsControllerGetChannelSettings, notificationsControllerUpdateChannelSettings: notificationsControllerUpdateChannelSettings, invitationsControllerGetInvitations: invitationsControllerGetInvitations, invitationsControllerCreateInvitation: invitationsControllerCreateInvitation, invitationsControllerGetInvitationByToken: invitationsControllerGetInvitationByToken, invitationsControllerAcceptInvitation: invitationsControllerAcceptInvitation, integrationsControllerHandlePlaneWebhook: integrationsControllerHandlePlaneWebhook, integrationsControllerHandleHulyWebhook: integrationsControllerHandleHulyWebhook, integrationsControllerGetStats: integrationsControllerGetStats, integrationsControllerGetWebhooks: integrationsControllerGetWebhooks, integrationsControllerCreateWebhook: integrationsControllerCreateWebhook, integrationsControllerUpdateWebhook: integrationsControllerUpdateWebhook, integrationsControllerDeleteWebhook: integrationsControllerDeleteWebhook, integrationsControllerGetWebhookLogs: integrationsControllerGetWebhookLogs, integrationsControllerGetApiKeys: integrationsControllerGetApiKeys, integrationsControllerUpdateApiKey: integrationsControllerUpdateApiKey, integrationsControllerDeleteApiKey: integrationsControllerDeleteApiKey, workspaceIntegrationsControllerGetWorkspaceIntegrations: workspaceIntegrationsControllerGetWorkspaceIntegrations, workspaceIntegrationsControllerCreateWorkspaceIntegration: workspaceIntegrationsControllerCreateWorkspaceIntegration, workspaceIntegrationsControllerGetWorkspaceIntegration: workspaceIntegrationsControllerGetWorkspaceIntegration, workspaceIntegrationsControllerUpdateWorkspaceIntegration: workspaceIntegrationsControllerUpdateWorkspaceIntegration, workspaceIntegrationsControllerDeleteWorkspaceIntegration: workspaceIntegrationsControllerDeleteWorkspaceIntegration, workspaceIntegrationsControllerTestWorkspaceIntegration: workspaceIntegrationsControllerTestWorkspaceIntegration, workspaceIntegrationsControllerGetWorkspaceWebhooks: workspaceIntegrationsControllerGetWorkspaceWebhooks, workspaceIntegrationsControllerCreateWorkspaceWebhook: workspaceIntegrationsControllerCreateWorkspaceWebhook, ablyControllerGetToken: ablyControllerGetToken, storageControllerUploadFile: storageControllerUploadFile, shortUrlControllerRedirect: shortUrlControllerRedirect, callsControllerStartCall: callsControllerStartCall, callsControllerUpdateCall: callsControllerUpdateCall, callsControllerInviteToCall: callsControllerInviteToCall, callsControllerGetParticipants: callsControllerGetParticipants, callsControllerGetScheduledCalls: callsControllerGetScheduledCalls, callsControllerScheduleCall: callsControllerScheduleCall, callsControllerPlaySoundboardSound: callsControllerPlaySoundboardSound, channelsControllerGetGlobalChannels: channelsControllerGetGlobalChannels, channelsControllerCreateChannel: channelsControllerCreateChannel, channelsControllerGetMessages: channelsControllerGetMessages, channelsControllerCreateMessage: channelsControllerCreateMessage, channelsControllerUpdateMessage: channelsControllerUpdateMessage, channelsControllerDeleteMessage: channelsControllerDeleteMessage, channelsControllerMarkAsRead: channelsControllerMarkAsRead, channelsControllerAddReaction: channelsControllerAddReaction, channelsControllerRemoveReaction: channelsControllerRemoveReaction, channelsControllerShareChannel: channelsControllerShareChannel, channelsControllerCreateReply: channelsControllerCreateReply, adminControllerGetStats: adminControllerGetStats, adminControllerGetMembers: adminControllerGetMembers, adminControllerUpdateMemberRole: adminControllerUpdateMemberRole, adminControllerGetAssets: adminControllerGetAssets, adminControllerCreateAsset: adminControllerCreateAsset, adminControllerUpdateAsset: adminControllerUpdateAsset, adminControllerDeleteAsset: adminControllerDeleteAsset, adminControllerGetProfileAssets: adminControllerGetProfileAssets, adminControllerCreateProfileAsset: adminControllerCreateProfileAsset, adminControllerGetAssetStats: adminControllerGetAssetStats, adminControllerUploadFile: adminControllerUploadFile, dmsControllerGetDms: dmsControllerGetDms, dmsControllerCreateDm: dmsControllerCreateDm, dmsControllerGetDm: dmsControllerGetDm, dmsControllerDeleteDm: dmsControllerDeleteDm, dmsControllerGetMessages: dmsControllerGetMessages, dmsControllerCreateMessage: dmsControllerCreateMessage, dmsControllerUpdateMessage: dmsControllerUpdateMessage, dmsControllerDeleteMessage: dmsControllerDeleteMessage, dmsControllerMarkAsRead: dmsControllerMarkAsRead, dmsControllerAddReaction: dmsControllerAddReaction, dmsControllerRemoveReaction: dmsControllerRemoveReaction, friendsControllerGetFriends: friendsControllerGetFriends, friendsControllerGetFriendRequests: friendsControllerGetFriendRequests, friendsControllerSendFriendRequest: friendsControllerSendFriendRequest, friendsControllerUpdateFriendRequest: friendsControllerUpdateFriendRequest, friendsControllerDeleteFriendRequest: friendsControllerDeleteFriendRequest, workspacesControllerGetWorkspaces: workspacesControllerGetWorkspaces, workspacesControllerCreateWorkspace: workspacesControllerCreateWorkspace, workspacesControllerGetWorkspaceRoles: workspacesControllerGetWorkspaceRoles, workspacesControllerGetWorkspaceSlugRoles: workspacesControllerGetWorkspaceSlugRoles, workspacesControllerDiscoverWorkspaces: workspacesControllerDiscoverWorkspaces, workspacesControllerJoinWorkspace: workspacesControllerJoinWorkspace, workspacesControllerGetWorkspaceBySlug: workspacesControllerGetWorkspaceBySlug, workspacesControllerUpdateWorkspaceBySlug: workspacesControllerUpdateWorkspaceBySlug, workspacesControllerDeleteWorkspaceBySlug: workspacesControllerDeleteWorkspaceBySlug, membersControllerGetWorkspaceMembers: membersControllerGetWorkspaceMembers, membersControllerUpdateMember: membersControllerUpdateMember, membersControllerRemoveMember: membersControllerRemoveMember, channelsControllerGetWorkspaceChannels: channelsControllerGetWorkspaceChannels, channelsControllerGetChannel: channelsControllerGetChannel, channelsControllerUpdateChannel: channelsControllerUpdateChannel, channelsControllerDeleteChannel: channelsControllerDeleteChannel, channelsControllerGetChannelMembers: channelsControllerGetChannelMembers, channelsControllerAddChannelMembers: channelsControllerAddChannelMembers, channelsControllerUpdateChannelMember: channelsControllerUpdateChannelMember, channelsControllerRemoveChannelMember: channelsControllerRemoveChannelMember, departmentsControllerGetDepartments: departmentsControllerGetDepartments, departmentsControllerCreateDepartment: departmentsControllerCreateDepartment, departmentsControllerGetDepartment: departmentsControllerGetDepartment, departmentsControllerUpdateDepartment: departmentsControllerUpdateDepartment, departmentsControllerDeleteDepartment: departmentsControllerDeleteDepartment, departmentsControllerGetAnnouncements: departmentsControllerGetAnnouncements, departmentsControllerCreateAnnouncement: departmentsControllerCreateAnnouncement, teamsControllerGetTeams: teamsControllerGetTeams, teamsControllerCreateTeam: teamsControllerCreateTeam, teamsControllerAddMember: teamsControllerAddMember, teamsControllerRemoveMember: teamsControllerRemoveMember, messagesControllerGetMessages: messagesControllerGetMessages, messagesControllerCreateMessage: messagesControllerCreateMessage, messagesControllerUpdateMessage: messagesControllerUpdateMessage, messagesControllerDeleteMessage: messagesControllerDeleteMessage, messagesControllerMarkAsRead: messagesControllerMarkAsRead, messagesControllerAddReaction: messagesControllerAddReaction, messagesControllerRemoveReaction: messagesControllerRemoveReaction, messagesControllerCreateReply: messagesControllerCreateReply, emojisControllerGetEmojis: emojisControllerGetEmojis, emojisControllerCreateEmoji: emojisControllerCreateEmoji, auditLogsControllerGetAuditLogs: auditLogsControllerGetAuditLogs, auditLogsControllerExportAuditLogs: auditLogsControllerExportAuditLogs, inviteLinksControllerGetInviteLinks: inviteLinksControllerGetInviteLinks, inviteLinksControllerCreateInviteLink: inviteLinksControllerCreateInviteLink, apiTokensControllerGetApiTokens: apiTokensControllerGetApiTokens, apiTokensControllerCreateApiToken: apiTokensControllerCreateApiToken, apiTokensControllerDeleteApiToken: apiTokensControllerDeleteApiToken, webhooksControllerGetWebhooks: webhooksControllerGetWebhooks, webhooksControllerCreateWebhook: webhooksControllerCreateWebhook, webhooksControllerUpdateWebhook: webhooksControllerUpdateWebhook, webhooksControllerDeleteWebhook: webhooksControllerDeleteWebhook, callsControllerGetActiveCalls: callsControllerGetActiveCalls, searchControllerSearch: searchControllerSearch, deviceAuthControllerGenerateQR: deviceAuthControllerGenerateQR, deviceAuthControllerCheckStatus: deviceAuthControllerCheckStatus, deviceAuthControllerAuthorize: deviceAuthControllerAuthorize, deviceAuthControllerDeny: deviceAuthControllerDeny, androidAuthControllerGetProfile: androidAuthControllerGetProfile, androidAuthControllerChangePassword: androidAuthControllerChangePassword, androidAuthControllerCheckUsername: androidAuthControllerCheckUsername, androidAuthControllerLogin: androidAuthControllerLogin, androidAuthControllerSignup: androidAuthControllerSignup, androidAuthControllerGoogleLogin: androidAuthControllerGoogleLogin, androidAuthControllerGithubLogin: androidAuthControllerGithubLogin, androidAuthControllerRefresh: androidAuthControllerRefresh, scheduledNotificationsControllerGetNotifications: scheduledNotificationsControllerGetNotifications, scheduledNotificationsControllerCreateNotification: scheduledNotificationsControllerCreateNotification, scheduledNotificationsControllerUpdateNotification: scheduledNotificationsControllerUpdateNotification, scheduledNotificationsControllerDeleteNotification: scheduledNotificationsControllerDeleteNotification, assetsControllerGetEligibleAssets: assetsControllerGetEligibleAssets, supportControllerCreateTicket: supportControllerCreateTicket, supportControllerGetTickets: supportControllerGetTickets, supportControllerStartLiveChat: supportControllerStartLiveChat, supportControllerEndLiveChat: supportControllerEndLiveChat, supportControllerUpdateTicketStatus: supportControllerUpdateTicketStatus, supportControllerAssignTicket: supportControllerAssignTicket, supportControllerCreateCustomerProfile: supportControllerCreateCustomerProfile, supportControllerGetCustomerProfiles: supportControllerGetCustomerProfiles };
|
|
1983
|
+
return { appControllerGetHealth: appControllerGetHealth, appControllerGetHello: appControllerGetHello, appControllerGetRealtimeConfig: appControllerGetRealtimeConfig, appControllerGetLinkPreview: appControllerGetLinkPreview, usersControllerGetUsers: usersControllerGetUsers, usersControllerSearchUsers: usersControllerSearchUsers, usersControllerGetMe: usersControllerGetMe, usersControllerPatchMe: usersControllerPatchMe, usersControllerUpdateMe: usersControllerUpdateMe, usersControllerGetUser: usersControllerGetUser, usersControllerPatchUser: usersControllerPatchUser, usersControllerGetSocialProfile: usersControllerGetSocialProfile, usersControllerBlockUser: usersControllerBlockUser, usersControllerUnblockUser: usersControllerUnblockUser, usersControllerUpdateMyStatus: usersControllerUpdateMyStatus, usersControllerRegisterDeviceToken: usersControllerRegisterDeviceToken, usersControllerGetDeviceTokens: usersControllerGetDeviceTokens, usersControllerDeleteDeviceToken: usersControllerDeleteDeviceToken, v10UsersControllerGetUser: v10UsersControllerGetUser, v10UsersControllerGetMe: v10UsersControllerGetMe, v10GatewayControllerGetBotGateway: v10GatewayControllerGetBotGateway, v10GatewayControllerBotAuth: v10GatewayControllerBotAuth, v10ChannelsControllerGetChannel: v10ChannelsControllerGetChannel, v10ChannelsControllerCreateMessage: v10ChannelsControllerCreateMessage, v10ChannelsControllerGetMessages: v10ChannelsControllerGetMessages, v10ChannelsControllerUpdateMessage: v10ChannelsControllerUpdateMessage, v10ChannelsControllerDeleteMessage: v10ChannelsControllerDeleteMessage, v10GuildsControllerGetGuild: v10GuildsControllerGetGuild, v10GuildsControllerGetChannels: v10GuildsControllerGetChannels, v10GuildsControllerGetMembers: v10GuildsControllerGetMembers, v10GuildsControllerGetRoles: v10GuildsControllerGetRoles, v10GuildsControllerAddMemberRole: v10GuildsControllerAddMemberRole, v10GuildsControllerRemoveMemberRole: v10GuildsControllerRemoveMemberRole, v10ApplicationsControllerGetCommands: v10ApplicationsControllerGetCommands, v10ApplicationsControllerCreateCommand: v10ApplicationsControllerCreateCommand, v10ApplicationsControllerGetGuildCommands: v10ApplicationsControllerGetGuildCommands, v10ApplicationsControllerCreateGuildCommand: v10ApplicationsControllerCreateGuildCommand, v10InteractionsControllerHandleCallback: v10InteractionsControllerHandleCallback, v10EnterpriseControllerCreateAnnouncement: v10EnterpriseControllerCreateAnnouncement, v3OAuthControllerGetToken: v3OAuthControllerGetToken, v3WorkspacesControllerGetWorkspaces: v3WorkspacesControllerGetWorkspaces, v3WorkspacesControllerProvisionWorkspace: v3WorkspacesControllerProvisionWorkspace, v3WorkspacesControllerGetWorkspaceBySlug: v3WorkspacesControllerGetWorkspaceBySlug, v3WorkspacesControllerUpdateWorkspace: v3WorkspacesControllerUpdateWorkspace, v3WorkspacesControllerDeleteWorkspace: v3WorkspacesControllerDeleteWorkspace, v3WorkspacesControllerGetWorkspaceMembers: v3WorkspacesControllerGetWorkspaceMembers, v3WorkspacesControllerAddWorkspaceMember: v3WorkspacesControllerAddWorkspaceMember, v3WorkspacesControllerGetWorkspaceMember: v3WorkspacesControllerGetWorkspaceMember, v3WorkspacesControllerUpdateWorkspaceMember: v3WorkspacesControllerUpdateWorkspaceMember, v3WorkspacesControllerDeleteWorkspaceMember: v3WorkspacesControllerDeleteWorkspaceMember, v3WorkspacesControllerGetChannels: v3WorkspacesControllerGetChannels, v3WorkspacesControllerCreateChannel: v3WorkspacesControllerCreateChannel, v3WorkspacesControllerGetChannel: v3WorkspacesControllerGetChannel, v3WorkspacesControllerUpdateChannel: v3WorkspacesControllerUpdateChannel, v3WorkspacesControllerDeleteChannel: v3WorkspacesControllerDeleteChannel, v3WorkspacesControllerGetChannelMembers: v3WorkspacesControllerGetChannelMembers, v3WorkspacesControllerAddChannelMembers: v3WorkspacesControllerAddChannelMembers, v3WorkspacesControllerUpdateChannelMember: v3WorkspacesControllerUpdateChannelMember, v3WorkspacesControllerDeleteChannelMember: v3WorkspacesControllerDeleteChannelMember, v3WorkspacesControllerGetChannelMessages: v3WorkspacesControllerGetChannelMessages, v3WorkspacesControllerCreateChannelMessage: v3WorkspacesControllerCreateChannelMessage, v3WorkspacesControllerUpdateChannelMessage: v3WorkspacesControllerUpdateChannelMessage, v3WorkspacesControllerDeleteChannelMessage: v3WorkspacesControllerDeleteChannelMessage, v3WorkspacesControllerAddChannelMessageReaction: v3WorkspacesControllerAddChannelMessageReaction, v3WorkspacesControllerRemoveChannelMessageReaction: v3WorkspacesControllerRemoveChannelMessageReaction, v3WebhooksControllerGetWebhooks: v3WebhooksControllerGetWebhooks, v3WebhooksControllerCreateWebhook: v3WebhooksControllerCreateWebhook, v3WebhooksControllerGetWebhook: v3WebhooksControllerGetWebhook, v3WebhooksControllerUpdateWebhook: v3WebhooksControllerUpdateWebhook, v3WebhooksControllerDeleteWebhook: v3WebhooksControllerDeleteWebhook, v3ChannelIncomingWebhooksControllerGetWorkspaceIncomingWebhooks: v3ChannelIncomingWebhooksControllerGetWorkspaceIncomingWebhooks, v3ChannelIncomingWebhooksControllerGetChannelWebhooks: v3ChannelIncomingWebhooksControllerGetChannelWebhooks, v3ChannelIncomingWebhooksControllerCreateChannelWebhook: v3ChannelIncomingWebhooksControllerCreateChannelWebhook, v3ChannelIncomingWebhooksControllerGetChannelWebhook: v3ChannelIncomingWebhooksControllerGetChannelWebhook, v3ChannelIncomingWebhooksControllerUpdateChannelWebhook: v3ChannelIncomingWebhooksControllerUpdateChannelWebhook, v3ChannelIncomingWebhooksControllerDeleteChannelWebhook: v3ChannelIncomingWebhooksControllerDeleteChannelWebhook, v3ChannelIncomingWebhooksControllerExecuteWebhookByUrlToken: v3ChannelIncomingWebhooksControllerExecuteWebhookByUrlToken, v3ChannelIncomingWebhooksControllerExecuteWebhookByChannelId: v3ChannelIncomingWebhooksControllerExecuteWebhookByChannelId, v3OrganizationsControllerGetOrganizationWorkspaces: v3OrganizationsControllerGetOrganizationWorkspaces, v3OrganizationsControllerGetOrganization: v3OrganizationsControllerGetOrganization, v3OrganizationsControllerUpdateOrganization: v3OrganizationsControllerUpdateOrganization, v3OrganizationsControllerGetM2mApplications: v3OrganizationsControllerGetM2mApplications, v3OrganizationsControllerCreateM2mApplication: v3OrganizationsControllerCreateM2mApplication, v3OrganizationsControllerUpdateM2mApplication: v3OrganizationsControllerUpdateM2mApplication, v3OrganizationsControllerDeleteM2mApplication: v3OrganizationsControllerDeleteM2mApplication, v3ApplicationsControllerListApplications0: v3ApplicationsControllerListApplications0, v3ApplicationsControllerCreateApplication0: v3ApplicationsControllerCreateApplication0, v3ApplicationsControllerListApplications1: v3ApplicationsControllerListApplications1, v3ApplicationsControllerCreateApplication1: v3ApplicationsControllerCreateApplication1, v3ApplicationsControllerGetApplication0: v3ApplicationsControllerGetApplication0, v3ApplicationsControllerUpdateApplication: v3ApplicationsControllerUpdateApplication, v3ApplicationsControllerDeleteApplication: v3ApplicationsControllerDeleteApplication, v3ApplicationsControllerGetApplication1: v3ApplicationsControllerGetApplication1, v3ApplicationsControllerResetToken0: v3ApplicationsControllerResetToken0, v3ApplicationsControllerResetToken1: v3ApplicationsControllerResetToken1, v3ApplicationsControllerInstallApplication0: v3ApplicationsControllerInstallApplication0, v3ApplicationsControllerInstallApplication1: v3ApplicationsControllerInstallApplication1, v3ApplicationsControllerListWorkspaceBots: v3ApplicationsControllerListWorkspaceBots, v3ApplicationsControllerAddBotToWorkspace: v3ApplicationsControllerAddBotToWorkspace, v3DmsControllerGetDms: v3DmsControllerGetDms, v3DmsControllerCreateDm: v3DmsControllerCreateDm, v3DmsControllerGetDm: v3DmsControllerGetDm, v3DmsControllerDeleteDm: v3DmsControllerDeleteDm, v3DmsControllerGetMessages: v3DmsControllerGetMessages, v3DmsControllerCreateMessage: v3DmsControllerCreateMessage, v3DmsControllerUpdateMessage: v3DmsControllerUpdateMessage, v3DmsControllerDeleteMessage: v3DmsControllerDeleteMessage, v3DmsControllerAddReaction: v3DmsControllerAddReaction, v3DmsControllerRemoveReaction: v3DmsControllerRemoveReaction, channelsControllerGetGlobalChannels: channelsControllerGetGlobalChannels, channelsControllerCreateChannel: channelsControllerCreateChannel, channelsControllerGetMessages: channelsControllerGetMessages, channelsControllerCreateMessage: channelsControllerCreateMessage, channelsControllerUpdateMessage: channelsControllerUpdateMessage, channelsControllerDeleteMessage: channelsControllerDeleteMessage, channelsControllerMarkAsRead: channelsControllerMarkAsRead, channelsControllerAddReaction: channelsControllerAddReaction, channelsControllerRemoveReaction: channelsControllerRemoveReaction, channelsControllerShareChannel: channelsControllerShareChannel, channelsControllerCreateReply: channelsControllerCreateReply, notificationsControllerGetNotifications: notificationsControllerGetNotifications, notificationsControllerGetNotificationById: notificationsControllerGetNotificationById, notificationsControllerUpdateNotification: notificationsControllerUpdateNotification, notificationsControllerDeleteNotification: notificationsControllerDeleteNotification, notificationsControllerMarkAllRead: notificationsControllerMarkAllRead, notificationsControllerGetWorkspaceSettings: notificationsControllerGetWorkspaceSettings, notificationsControllerUpdateWorkspaceSettings: notificationsControllerUpdateWorkspaceSettings, notificationsControllerGetChannelSettings: notificationsControllerGetChannelSettings, notificationsControllerUpdateChannelSettings: notificationsControllerUpdateChannelSettings, dmsControllerGetDms: dmsControllerGetDms, dmsControllerCreateDm: dmsControllerCreateDm, dmsControllerGetDm: dmsControllerGetDm, dmsControllerDeleteDm: dmsControllerDeleteDm, dmsControllerGetMessages: dmsControllerGetMessages, dmsControllerCreateMessage: dmsControllerCreateMessage, dmsControllerUpdateMessage: dmsControllerUpdateMessage, dmsControllerDeleteMessage: dmsControllerDeleteMessage, dmsControllerMarkAsRead: dmsControllerMarkAsRead, dmsControllerAddReaction: dmsControllerAddReaction, dmsControllerRemoveReaction: dmsControllerRemoveReaction, invitationsControllerGetInvitations: invitationsControllerGetInvitations, invitationsControllerCreateInvitation: invitationsControllerCreateInvitation, invitationsControllerGetInvitationByToken: invitationsControllerGetInvitationByToken, invitationsControllerAcceptInvitation: invitationsControllerAcceptInvitation, integrationsControllerHandlePlaneWebhook: integrationsControllerHandlePlaneWebhook, integrationsControllerHandleHulyWebhook: integrationsControllerHandleHulyWebhook, integrationsControllerGetStats: integrationsControllerGetStats, integrationsControllerGetWebhooks: integrationsControllerGetWebhooks, integrationsControllerCreateWebhook: integrationsControllerCreateWebhook, integrationsControllerUpdateWebhook: integrationsControllerUpdateWebhook, integrationsControllerDeleteWebhook: integrationsControllerDeleteWebhook, integrationsControllerGetWebhookLogs: integrationsControllerGetWebhookLogs, integrationsControllerGetApiKeys: integrationsControllerGetApiKeys, integrationsControllerUpdateApiKey: integrationsControllerUpdateApiKey, integrationsControllerDeleteApiKey: integrationsControllerDeleteApiKey, workspaceIntegrationsControllerGetWorkspaceIntegrations: workspaceIntegrationsControllerGetWorkspaceIntegrations, workspaceIntegrationsControllerCreateWorkspaceIntegration: workspaceIntegrationsControllerCreateWorkspaceIntegration, workspaceIntegrationsControllerGetWorkspaceIntegration: workspaceIntegrationsControllerGetWorkspaceIntegration, workspaceIntegrationsControllerUpdateWorkspaceIntegration: workspaceIntegrationsControllerUpdateWorkspaceIntegration, workspaceIntegrationsControllerDeleteWorkspaceIntegration: workspaceIntegrationsControllerDeleteWorkspaceIntegration, workspaceIntegrationsControllerTestWorkspaceIntegration: workspaceIntegrationsControllerTestWorkspaceIntegration, workspaceIntegrationsControllerGetWorkspaceWebhooks: workspaceIntegrationsControllerGetWorkspaceWebhooks, workspaceIntegrationsControllerCreateWorkspaceWebhook: workspaceIntegrationsControllerCreateWorkspaceWebhook, ablyControllerGetToken: ablyControllerGetToken, storageControllerUploadFile: storageControllerUploadFile, shortUrlControllerRedirect: shortUrlControllerRedirect, callsControllerStartCall: callsControllerStartCall, callsControllerUpdateCall: callsControllerUpdateCall, callsControllerInviteToCall: callsControllerInviteToCall, callsControllerGetParticipants: callsControllerGetParticipants, callsControllerGetScheduledCalls: callsControllerGetScheduledCalls, callsControllerScheduleCall: callsControllerScheduleCall, callsControllerPlaySoundboardSound: callsControllerPlaySoundboardSound, adminControllerGetStats: adminControllerGetStats, adminControllerGetMembers: adminControllerGetMembers, adminControllerUpdateMemberRole: adminControllerUpdateMemberRole, adminControllerGetAssets: adminControllerGetAssets, adminControllerCreateAsset: adminControllerCreateAsset, adminControllerUpdateAsset: adminControllerUpdateAsset, adminControllerDeleteAsset: adminControllerDeleteAsset, adminControllerGetProfileAssets: adminControllerGetProfileAssets, adminControllerCreateProfileAsset: adminControllerCreateProfileAsset, adminControllerGetAssetStats: adminControllerGetAssetStats, adminControllerUploadFile: adminControllerUploadFile, friendsControllerGetFriends: friendsControllerGetFriends, friendsControllerGetFriendRequests: friendsControllerGetFriendRequests, friendsControllerSendFriendRequest: friendsControllerSendFriendRequest, friendsControllerUpdateFriendRequest: friendsControllerUpdateFriendRequest, friendsControllerDeleteFriendRequest: friendsControllerDeleteFriendRequest, workspacesControllerGetWorkspaces: workspacesControllerGetWorkspaces, workspacesControllerCreateWorkspace: workspacesControllerCreateWorkspace, workspacesControllerGetWorkspaceRoles: workspacesControllerGetWorkspaceRoles, workspacesControllerGetWorkspaceSlugRoles: workspacesControllerGetWorkspaceSlugRoles, workspacesControllerDiscoverWorkspaces: workspacesControllerDiscoverWorkspaces, workspacesControllerJoinWorkspace: workspacesControllerJoinWorkspace, workspacesControllerGetWorkspaceBySlug: workspacesControllerGetWorkspaceBySlug, workspacesControllerUpdateWorkspaceBySlug: workspacesControllerUpdateWorkspaceBySlug, workspacesControllerDeleteWorkspaceBySlug: workspacesControllerDeleteWorkspaceBySlug, membersControllerGetWorkspaceMembers: membersControllerGetWorkspaceMembers, membersControllerUpdateMember: membersControllerUpdateMember, membersControllerRemoveMember: membersControllerRemoveMember, channelsControllerGetWorkspaceChannels: channelsControllerGetWorkspaceChannels, channelsControllerGetChannel: channelsControllerGetChannel, channelsControllerUpdateChannel: channelsControllerUpdateChannel, channelsControllerDeleteChannel: channelsControllerDeleteChannel, channelsControllerGetChannelMembers: channelsControllerGetChannelMembers, channelsControllerAddChannelMembers: channelsControllerAddChannelMembers, channelsControllerUpdateChannelMember: channelsControllerUpdateChannelMember, channelsControllerRemoveChannelMember: channelsControllerRemoveChannelMember, departmentsControllerGetDepartments: departmentsControllerGetDepartments, departmentsControllerCreateDepartment: departmentsControllerCreateDepartment, departmentsControllerGetDepartment: departmentsControllerGetDepartment, departmentsControllerUpdateDepartment: departmentsControllerUpdateDepartment, departmentsControllerDeleteDepartment: departmentsControllerDeleteDepartment, departmentsControllerGetAnnouncements: departmentsControllerGetAnnouncements, departmentsControllerCreateAnnouncement: departmentsControllerCreateAnnouncement, teamsControllerGetTeams: teamsControllerGetTeams, teamsControllerCreateTeam: teamsControllerCreateTeam, teamsControllerAddMember: teamsControllerAddMember, teamsControllerRemoveMember: teamsControllerRemoveMember, messagesControllerGetMessages: messagesControllerGetMessages, messagesControllerCreateMessage: messagesControllerCreateMessage, messagesControllerUpdateMessage: messagesControllerUpdateMessage, messagesControllerDeleteMessage: messagesControllerDeleteMessage, messagesControllerMarkAsRead: messagesControllerMarkAsRead, messagesControllerAddReaction: messagesControllerAddReaction, messagesControllerRemoveReaction: messagesControllerRemoveReaction, messagesControllerCreateReply: messagesControllerCreateReply, emojisControllerGetEmojis: emojisControllerGetEmojis, emojisControllerCreateEmoji: emojisControllerCreateEmoji, auditLogsControllerGetAuditLogs: auditLogsControllerGetAuditLogs, auditLogsControllerExportAuditLogs: auditLogsControllerExportAuditLogs, inviteLinksControllerGetInviteLinks: inviteLinksControllerGetInviteLinks, inviteLinksControllerCreateInviteLink: inviteLinksControllerCreateInviteLink, apiTokensControllerGetApiTokens: apiTokensControllerGetApiTokens, apiTokensControllerCreateApiToken: apiTokensControllerCreateApiToken, apiTokensControllerDeleteApiToken: apiTokensControllerDeleteApiToken, webhooksControllerGetWebhooks: webhooksControllerGetWebhooks, webhooksControllerCreateWebhook: webhooksControllerCreateWebhook, webhooksControllerUpdateWebhook: webhooksControllerUpdateWebhook, webhooksControllerDeleteWebhook: webhooksControllerDeleteWebhook, callsControllerGetActiveCalls: callsControllerGetActiveCalls, searchControllerSearch: searchControllerSearch, deviceAuthControllerGenerateQR: deviceAuthControllerGenerateQR, deviceAuthControllerCheckStatus: deviceAuthControllerCheckStatus, deviceAuthControllerAuthorize: deviceAuthControllerAuthorize, deviceAuthControllerDeny: deviceAuthControllerDeny, androidAuthControllerGetProfile: androidAuthControllerGetProfile, androidAuthControllerChangePassword: androidAuthControllerChangePassword, androidAuthControllerCheckUsername: androidAuthControllerCheckUsername, androidAuthControllerLogin: androidAuthControllerLogin, androidAuthControllerSignup: androidAuthControllerSignup, androidAuthControllerGoogleLogin: androidAuthControllerGoogleLogin, androidAuthControllerGithubLogin: androidAuthControllerGithubLogin, androidAuthControllerRefresh: androidAuthControllerRefresh, scheduledNotificationsControllerGetNotifications: scheduledNotificationsControllerGetNotifications, scheduledNotificationsControllerCreateNotification: scheduledNotificationsControllerCreateNotification, scheduledNotificationsControllerUpdateNotification: scheduledNotificationsControllerUpdateNotification, scheduledNotificationsControllerDeleteNotification: scheduledNotificationsControllerDeleteNotification, assetsControllerGetEligibleAssets: assetsControllerGetEligibleAssets, supportControllerCreateTicket: supportControllerCreateTicket, supportControllerGetTickets: supportControllerGetTickets, supportControllerStartLiveChat: supportControllerStartLiveChat, supportControllerEndLiveChat: supportControllerEndLiveChat, supportControllerUpdateTicketStatus: supportControllerUpdateTicketStatus, supportControllerAssignTicket: supportControllerAssignTicket, supportControllerCreateCustomerProfile: supportControllerCreateCustomerProfile, supportControllerGetCustomerProfiles: supportControllerGetCustomerProfiles };
|
|
1735
1984
|
};
|