@scryme/chat 2.91.43 → 2.91.76

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.
@@ -15,21 +15,6 @@ export type SupportControllerGetTicketsParams = {
15
15
  workspaceId: string;
16
16
  };
17
17
 
18
- export type ScheduledNotificationsControllerUpdateNotificationBodyAction = typeof ScheduledNotificationsControllerUpdateNotificationBodyAction[keyof typeof ScheduledNotificationsControllerUpdateNotificationBodyAction];
19
-
20
-
21
- // eslint-disable-next-line @typescript-eslint/no-redeclare
22
- export const ScheduledNotificationsControllerUpdateNotificationBodyAction = {
23
- pause: 'pause',
24
- resume: 'resume',
25
- } as const;
26
-
27
- export type ScheduledNotificationsControllerUpdateNotificationBody = {
28
- action?: ScheduledNotificationsControllerUpdateNotificationBodyAction;
29
- message?: string;
30
- title?: string;
31
- };
32
-
33
18
  export type ScheduledNotificationsControllerGetNotificationsParams = {
34
19
  /**
35
20
  * Return stats instead of list
@@ -153,21 +138,6 @@ export type FriendsControllerGetFriendsParams = {
153
138
  search?: string;
154
139
  };
155
140
 
156
- export type DmsControllerAddReactionBody = {
157
- emoji?: string;
158
- };
159
-
160
- export type DmsControllerGetMessagesParams = {
161
- /**
162
- * Pagination cursor
163
- */
164
- cursor?: string;
165
- /**
166
- * Number of messages to return
167
- */
168
- limit?: unknown;
169
- };
170
-
171
141
  export type AdminControllerUploadFileBody = {
172
142
  file?: Blob;
173
143
  };
@@ -192,23 +162,6 @@ role: string;
192
162
  status: string;
193
163
  };
194
164
 
195
- export type ChannelsControllerAddReactionBody = {
196
- emoji?: string;
197
- };
198
-
199
- export type ChannelsControllerMarkAsReadBody = {
200
- messageIds?: string[];
201
- };
202
-
203
- export type ChannelsControllerUpdateMessageBody = {
204
- content?: string;
205
- };
206
-
207
- export type ChannelsControllerGetMessagesParams = {
208
- cursor?: string;
209
- limit?: unknown;
210
- };
211
-
212
165
  export type CallsControllerGetScheduledCallsParams = {
213
166
  /**
214
167
  * The workspace ID
@@ -231,6 +184,21 @@ export type InvitationsControllerGetInvitationsParams = {
231
184
  workspaceId?: string;
232
185
  };
233
186
 
187
+ export type DmsControllerAddReactionBody = {
188
+ emoji?: string;
189
+ };
190
+
191
+ export type DmsControllerGetMessagesParams = {
192
+ /**
193
+ * Pagination cursor
194
+ */
195
+ cursor?: string;
196
+ /**
197
+ * Number of messages to return
198
+ */
199
+ limit?: unknown;
200
+ };
201
+
234
202
  export type NotificationsControllerGetChannelSettingsParams = {
235
203
  /**
236
204
  * The channel ID
@@ -256,6 +224,28 @@ unreadOnly?: string;
256
224
  limit?: string;
257
225
  };
258
226
 
227
+ export type ChannelsControllerAddReactionBody = {
228
+ emoji?: string;
229
+ };
230
+
231
+ export type ChannelsControllerMarkAsReadBody = {
232
+ messageIds?: string[];
233
+ };
234
+
235
+ export type ChannelsControllerUpdateMessageBody = {
236
+ content?: string;
237
+ };
238
+
239
+ export type ChannelsControllerGetMessagesParams = {
240
+ cursor?: string;
241
+ limit?: unknown;
242
+ };
243
+
244
+ export type V3DmsControllerGetMessagesParams = {
245
+ cursor?: string;
246
+ limit?: unknown;
247
+ };
248
+
259
249
  export type V3ChannelIncomingWebhooksControllerExecuteWebhookByChannelIdParams = {
260
250
  /**
261
251
  * The unique webhook token (can alternatively use x-webhook-token header)
@@ -263,6 +253,10 @@ export type V3ChannelIncomingWebhooksControllerExecuteWebhookByChannelIdParams =
263
253
  token?: string;
264
254
  };
265
255
 
256
+ export type V3WorkspacesControllerGetChannelMessagesParams = {
257
+ cursor: string;
258
+ };
259
+
266
260
  export type V3WorkspacesControllerDeleteWorkspace200Data = {
267
261
  success?: boolean;
268
262
  };
@@ -273,6 +267,11 @@ export type V3WorkspacesControllerDeleteWorkspace200 = {
273
267
  timestamp?: string;
274
268
  };
275
269
 
270
+ /**
271
+ * @nullable
272
+ */
273
+ export type V3WorkspacesControllerUpdateWorkspace200DataWorkspaceBrandingConfig = { [key: string]: unknown } | null;
274
+
276
275
  export type V3WorkspacesControllerUpdateWorkspace200DataWorkspace = {
277
276
  /** @nullable */
278
277
  brandingConfig?: V3WorkspacesControllerUpdateWorkspace200DataWorkspaceBrandingConfig;
@@ -298,10 +297,15 @@ export type V3WorkspacesControllerUpdateWorkspace200 = {
298
297
  timestamp?: string;
299
298
  };
300
299
 
301
- /**
302
- * @nullable
303
- */
304
- export type V3WorkspacesControllerUpdateWorkspace200DataWorkspaceBrandingConfig = { [key: string]: unknown } | null;
300
+ export type V3WorkspacesControllerGetWorkspaceBySlug200Data = {
301
+ workspace?: V3WorkspacesControllerGetWorkspaceBySlug200DataWorkspace;
302
+ };
303
+
304
+ export type V3WorkspacesControllerGetWorkspaceBySlug200 = {
305
+ data?: V3WorkspacesControllerGetWorkspaceBySlug200Data;
306
+ success?: boolean;
307
+ timestamp?: string;
308
+ };
305
309
 
306
310
  /**
307
311
  * @nullable
@@ -323,16 +327,6 @@ export type V3WorkspacesControllerGetWorkspaceBySlug200DataWorkspace = {
323
327
  slug?: string;
324
328
  };
325
329
 
326
- export type V3WorkspacesControllerGetWorkspaceBySlug200Data = {
327
- workspace?: V3WorkspacesControllerGetWorkspaceBySlug200DataWorkspace;
328
- };
329
-
330
- export type V3WorkspacesControllerGetWorkspaceBySlug200 = {
331
- data?: V3WorkspacesControllerGetWorkspaceBySlug200Data;
332
- success?: boolean;
333
- timestamp?: string;
334
- };
335
-
336
330
  export type V3WorkspacesControllerProvisionWorkspace201DataWorkspace = {
337
331
  id?: string;
338
332
  name?: string;
@@ -400,35 +394,56 @@ after?: string;
400
394
  };
401
395
 
402
396
  export type UsersControllerDeleteDeviceTokenParams = {
403
- token: string;
397
+ token?: string;
398
+ };
399
+
400
+ export type UsersControllerSearchUsersParams = {
401
+ query: string;
402
+ };
403
+
404
+ export type AppControllerGetLinkPreviewParams = {
405
+ url: string;
404
406
  };
405
407
 
406
- export type UsersControllerRegisterDeviceTokenBodyPlatform = typeof UsersControllerRegisterDeviceTokenBodyPlatform[keyof typeof UsersControllerRegisterDeviceTokenBodyPlatform];
408
+ export interface CreateCustomerProfileDto { [key: string]: unknown }
409
+
410
+ export interface AssignTicketDto { [key: string]: unknown }
411
+
412
+ export interface UpdateTicketStatusDto { [key: string]: unknown }
413
+
414
+ export interface StartLiveChatDto { [key: string]: unknown }
415
+
416
+ export interface CreateTicketDto { [key: string]: unknown }
417
+
418
+ export type UpdateScheduledNotificationDtoScheduleType = typeof UpdateScheduledNotificationDtoScheduleType[keyof typeof UpdateScheduledNotificationDtoScheduleType];
407
419
 
408
420
 
409
421
  // eslint-disable-next-line @typescript-eslint/no-redeclare
410
- export const UsersControllerRegisterDeviceTokenBodyPlatform = {
411
- web: 'web',
412
- ios: 'ios',
413
- android: 'android',
414
- desktop: 'desktop',
422
+ export const UpdateScheduledNotificationDtoScheduleType = {
423
+ custom: 'custom',
424
+ once: 'once',
425
+ daily: 'daily',
426
+ weekly: 'weekly',
427
+ monthly: 'monthly',
415
428
  } as const;
416
429
 
417
- export type UsersControllerRegisterDeviceTokenBodyDeviceInfo = { [key: string]: unknown };
430
+ export type UpdateScheduledNotificationDtoAction = typeof UpdateScheduledNotificationDtoAction[keyof typeof UpdateScheduledNotificationDtoAction];
418
431
 
419
- export type UsersControllerRegisterDeviceTokenBody = {
420
- deviceInfo?: UsersControllerRegisterDeviceTokenBodyDeviceInfo;
421
- platform: UsersControllerRegisterDeviceTokenBodyPlatform;
422
- token: string;
423
- };
424
432
 
425
- export type UsersControllerSearchUsersParams = {
426
- query: string;
427
- };
433
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
434
+ export const UpdateScheduledNotificationDtoAction = {
435
+ pause: 'pause',
436
+ resume: 'resume',
437
+ } as const;
428
438
 
429
- export type AppControllerGetLinkPreviewParams = {
430
- url: string;
431
- };
439
+ export interface UpdateScheduledNotificationDto {
440
+ action?: UpdateScheduledNotificationDtoAction;
441
+ message?: string;
442
+ /** ISO format datetime */
443
+ scheduledFor?: string;
444
+ scheduleType?: UpdateScheduledNotificationDtoScheduleType;
445
+ title?: string;
446
+ }
432
447
 
433
448
  export type CreateScheduledNotificationDtoScheduleType = typeof CreateScheduledNotificationDtoScheduleType[keyof typeof CreateScheduledNotificationDtoScheduleType];
434
449
 
@@ -794,19 +809,6 @@ export interface SendFriendRequestDto {
794
809
  receiverId: string;
795
810
  }
796
811
 
797
- export interface MarkAsReadDto {
798
- messageIds: string[];
799
- }
800
-
801
- export interface UpdateDmMessageDto {
802
- content: string;
803
- }
804
-
805
- export interface CreateDmDto {
806
- /** The ID of the user to start a DM with */
807
- userId: string;
808
- }
809
-
810
812
  export interface SoundboardSoundDto { [key: string]: unknown }
811
813
 
812
814
  export interface ScheduleCallDto { [key: string]: unknown }
@@ -886,6 +888,19 @@ export interface CreateInvitationDto {
886
888
  workspaceId?: string;
887
889
  }
888
890
 
891
+ export interface MarkAsReadDto {
892
+ messageIds: string[];
893
+ }
894
+
895
+ export interface UpdateDmMessageDto {
896
+ content: string;
897
+ }
898
+
899
+ export interface CreateDmDto {
900
+ /** The ID of the user to start a DM with */
901
+ userId: string;
902
+ }
903
+
889
904
  export interface UpdateNotificationDto {
890
905
  isRead: boolean;
891
906
  }
@@ -921,6 +936,13 @@ export interface WorkspaceSettingsDto {
921
936
  workspaceId: string;
922
937
  }
923
938
 
939
+ export interface V3CreateDmDto {
940
+ /** Target user ID to start direct message conversation with */
941
+ targetUserId?: string;
942
+ /** Target user ID (alias) */
943
+ userId?: string;
944
+ }
945
+
924
946
  export interface V3UpdateM2mApplicationDto {
925
947
  allowedIps?: string[];
926
948
  name?: string;
@@ -1002,22 +1024,22 @@ export interface V3UpdateChannelMemberDto {
1002
1024
  export type V3AddChannelMemberDtoPermissions = { [key: string]: unknown };
1003
1025
 
1004
1026
  export interface V3AddChannelMemberDto {
1027
+ /** Email address of user to add to channel */
1028
+ email?: string;
1029
+ /** Array of user emails to add */
1030
+ emails?: string[];
1031
+ /** Workspace member ID to add to channel */
1032
+ memberId?: string;
1033
+ /** Array of workspace member IDs to add */
1034
+ memberIds?: string[];
1005
1035
  /** Bitwise permission string or integer value */
1006
1036
  permissions?: V3AddChannelMemberDtoPermissions;
1007
1037
  /** Channel role */
1008
1038
  role?: string;
1009
- /** User ID to add to channel */
1039
+ /** User ID, Member ID, or Email to add to channel */
1010
1040
  userId?: string;
1011
- /** Member ID to add to channel */
1012
- memberId?: string;
1013
- /** Email address to add to channel */
1014
- email?: string;
1015
- /** Array of user IDs to add */
1041
+ /** Array of user IDs, member IDs, or emails to add */
1016
1042
  userIds?: string[];
1017
- /** Array of workspace member IDs to add */
1018
- memberIds?: string[];
1019
- /** Array of user emails to add */
1020
- emails?: string[];
1021
1043
  }
1022
1044
 
1023
1045
  export type V3UpdateChannelDtoType = typeof V3UpdateChannelDtoType[keyof typeof V3UpdateChannelDtoType];
@@ -1104,12 +1126,12 @@ export interface V3UpdateMemberRoleDto {
1104
1126
  export interface V3AddMemberDto {
1105
1127
  /** The email of the user to add */
1106
1128
  email?: string;
1107
- /** The user ID of the user to add */
1108
- userId?: string;
1109
1129
  /** The workspace member ID of the user to add */
1110
1130
  memberId?: string;
1111
1131
  /** The role of the member */
1112
1132
  role?: string;
1133
+ /** The user ID of the user to add */
1134
+ userId?: string;
1113
1135
  }
1114
1136
 
1115
1137
  /**
@@ -1192,6 +1214,100 @@ export interface V3TokenRequestDto {
1192
1214
  scope?: string;
1193
1215
  }
1194
1216
 
1217
+ export interface DeleteDeviceTokenDto {
1218
+ /** Push notification device token to deactivate */
1219
+ token?: string;
1220
+ }
1221
+
1222
+ /**
1223
+ * Device platform
1224
+ */
1225
+ export type RegisterDeviceTokenDtoPlatform = typeof RegisterDeviceTokenDtoPlatform[keyof typeof RegisterDeviceTokenDtoPlatform];
1226
+
1227
+
1228
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
1229
+ export const RegisterDeviceTokenDtoPlatform = {
1230
+ web: 'web',
1231
+ ios: 'ios',
1232
+ android: 'android',
1233
+ desktop: 'desktop',
1234
+ } as const;
1235
+
1236
+ /**
1237
+ * Metadata regarding the target device
1238
+ */
1239
+ export type RegisterDeviceTokenDtoDeviceInfo = { [key: string]: unknown };
1240
+
1241
+ export interface RegisterDeviceTokenDto {
1242
+ /** Metadata regarding the target device */
1243
+ deviceInfo?: RegisterDeviceTokenDtoDeviceInfo;
1244
+ /** Device platform */
1245
+ platform: RegisterDeviceTokenDtoPlatform;
1246
+ /** Push notification device token */
1247
+ token: string;
1248
+ }
1249
+
1250
+ /**
1251
+ * Online presence status
1252
+ */
1253
+ export type UpdateUserProfileDtoStatus = typeof UpdateUserProfileDtoStatus[keyof typeof UpdateUserProfileDtoStatus];
1254
+
1255
+
1256
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
1257
+ export const UpdateUserProfileDtoStatus = {
1258
+ online: 'online',
1259
+ offline: 'offline',
1260
+ away: 'away',
1261
+ dnd: 'dnd',
1262
+ } as const;
1263
+
1264
+ /**
1265
+ * Notification settings object
1266
+ */
1267
+ export type UpdateUserProfileDtoNotificationPreferences = { [key: string]: unknown };
1268
+
1269
+ export interface UpdateUserProfileDto {
1270
+ /** Avatar image URL */
1271
+ avatar?: string;
1272
+ /** Banner image URL */
1273
+ banner?: string;
1274
+ /** User biography */
1275
+ bio?: string;
1276
+ /** Profile image URL */
1277
+ image?: string;
1278
+ /** Full display name */
1279
+ name?: string;
1280
+ /** Notification settings object */
1281
+ notificationPreferences?: UpdateUserProfileDtoNotificationPreferences;
1282
+ /** Online presence status */
1283
+ status?: UpdateUserProfileDtoStatus;
1284
+ /** Custom status emoji */
1285
+ statusEmoji?: string;
1286
+ /** Custom status text */
1287
+ statusText?: string;
1288
+ /** Unique handle/username */
1289
+ username?: string;
1290
+ }
1291
+
1292
+ /**
1293
+ * User online status
1294
+ */
1295
+ export type UpdateUserStatusDtoStatus = typeof UpdateUserStatusDtoStatus[keyof typeof UpdateUserStatusDtoStatus];
1296
+
1297
+
1298
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
1299
+ export const UpdateUserStatusDtoStatus = {
1300
+ online: 'online',
1301
+ offline: 'offline',
1302
+ away: 'away',
1303
+ dnd: 'dnd',
1304
+ } as const;
1305
+
1306
+ export interface UpdateUserStatusDto {
1307
+ /** User online status */
1308
+ status: UpdateUserStatusDtoStatus;
1309
+ }
1310
+
1195
1311
 
1196
1312
 
1197
1313
 
@@ -1289,10 +1405,12 @@ const usersControllerGetMe = (
1289
1405
  * @summary Update current user profile
1290
1406
  */
1291
1407
  const usersControllerPatchMe = (
1292
-
1408
+ updateUserProfileDto: BodyType<UpdateUserProfileDto>,
1293
1409
  options?: SecondParameter<typeof customInstance>,) => {
1294
1410
  return customInstance<void>(
1295
- {url: `/api/users/me`, method: 'PATCH'
1411
+ {url: `/api/users/me`, method: 'PATCH',
1412
+ headers: {'Content-Type': 'application/json', },
1413
+ data: updateUserProfileDto
1296
1414
  },
1297
1415
  options);
1298
1416
  }
@@ -1301,10 +1419,12 @@ const usersControllerPatchMe = (
1301
1419
  * @summary Update current user profile
1302
1420
  */
1303
1421
  const usersControllerUpdateMe = (
1304
-
1422
+ updateUserProfileDto: BodyType<UpdateUserProfileDto>,
1305
1423
  options?: SecondParameter<typeof customInstance>,) => {
1306
1424
  return customInstance<void>(
1307
- {url: `/api/users/me`, method: 'POST'
1425
+ {url: `/api/users/me`, method: 'POST',
1426
+ headers: {'Content-Type': 'application/json', },
1427
+ data: updateUserProfileDto
1308
1428
  },
1309
1429
  options);
1310
1430
  }
@@ -1326,9 +1446,12 @@ const usersControllerGetUser = (
1326
1446
  */
1327
1447
  const usersControllerPatchUser = (
1328
1448
  id: string,
1449
+ updateUserProfileDto: BodyType<UpdateUserProfileDto>,
1329
1450
  options?: SecondParameter<typeof customInstance>,) => {
1330
1451
  return customInstance<void>(
1331
- {url: `/api/users/${id}`, method: 'PATCH'
1452
+ {url: `/api/users/${id}`, method: 'PATCH',
1453
+ headers: {'Content-Type': 'application/json', },
1454
+ data: updateUserProfileDto
1332
1455
  },
1333
1456
  options);
1334
1457
  }
@@ -1373,10 +1496,12 @@ const usersControllerUnblockUser = (
1373
1496
  * @summary Update current user status
1374
1497
  */
1375
1498
  const usersControllerUpdateMyStatus = (
1376
-
1499
+ updateUserStatusDto: BodyType<UpdateUserStatusDto>,
1377
1500
  options?: SecondParameter<typeof customInstance>,) => {
1378
1501
  return customInstance<void>(
1379
- {url: `/api/users/me/status`, method: 'PATCH'
1502
+ {url: `/api/users/me/status`, method: 'PATCH',
1503
+ headers: {'Content-Type': 'application/json', },
1504
+ data: updateUserStatusDto
1380
1505
  },
1381
1506
  options);
1382
1507
  }
@@ -1385,12 +1510,12 @@ const usersControllerUpdateMyStatus = (
1385
1510
  * @summary Register a device token for push notifications
1386
1511
  */
1387
1512
  const usersControllerRegisterDeviceToken = (
1388
- usersControllerRegisterDeviceTokenBody: BodyType<UsersControllerRegisterDeviceTokenBody>,
1513
+ registerDeviceTokenDto: BodyType<RegisterDeviceTokenDto>,
1389
1514
  options?: SecondParameter<typeof customInstance>,) => {
1390
1515
  return customInstance<void>(
1391
1516
  {url: `/api/users/me/device-tokens`, method: 'POST',
1392
1517
  headers: {'Content-Type': 'application/json', },
1393
- data: usersControllerRegisterDeviceTokenBody
1518
+ data: registerDeviceTokenDto
1394
1519
  },
1395
1520
  options);
1396
1521
  }
@@ -1411,10 +1536,13 @@ const usersControllerGetDeviceTokens = (
1411
1536
  * @summary Deactivate a device token
1412
1537
  */
1413
1538
  const usersControllerDeleteDeviceToken = (
1414
- params: UsersControllerDeleteDeviceTokenParams,
1539
+ deleteDeviceTokenDto?: BodyType<DeleteDeviceTokenDto>,
1540
+ params?: UsersControllerDeleteDeviceTokenParams,
1415
1541
  options?: SecondParameter<typeof customInstance>,) => {
1416
1542
  return customInstance<void>(
1417
1543
  {url: `/api/users/me/device-tokens`, method: 'DELETE',
1544
+ headers: {'Content-Type': 'application/json', },
1545
+ data: deleteDeviceTokenDto,
1418
1546
  params
1419
1547
  },
1420
1548
  options);
@@ -1754,7 +1882,7 @@ const v3WorkspacesControllerGetWorkspaceMembers = (
1754
1882
  }
1755
1883
 
1756
1884
  /**
1757
- * Add a new member to a specific workspace. Requires members:write scope.
1885
+ * Add a new member to a specific workspace using user email, user ID, or workspace member ID. Requires members:write scope.
1758
1886
  * @summary Add a member to the workspace (Enterprise M2M)
1759
1887
  */
1760
1888
  const v3WorkspacesControllerAddWorkspaceMember = (
@@ -1770,30 +1898,30 @@ const v3WorkspacesControllerAddWorkspaceMember = (
1770
1898
  }
1771
1899
 
1772
1900
  /**
1773
- * Retrieve details of a specific workspace member by userId. Requires members:read scope.
1901
+ * Retrieve details of a specific workspace member by member ID, user ID, or user email address. Requires members:read scope.
1774
1902
  * @summary Get details of a specific workspace member (Enterprise M2M)
1775
1903
  */
1776
1904
  const v3WorkspacesControllerGetWorkspaceMember = (
1777
1905
  slug: string,
1778
- userId: string,
1906
+ memberId: string,
1779
1907
  options?: SecondParameter<typeof customInstance>,) => {
1780
1908
  return customInstance<void>(
1781
- {url: `/api/v3/workspaces/${slug}/members/${userId}`, method: 'GET'
1909
+ {url: `/api/v3/workspaces/${slug}/members/${memberId}`, method: 'GET'
1782
1910
  },
1783
1911
  options);
1784
1912
  }
1785
1913
 
1786
1914
  /**
1787
- * Update the role of a specific workspace member. Requires members:write scope.
1915
+ * Update the role of a specific workspace member by member ID, user ID, or user email address. Requires members:write scope.
1788
1916
  * @summary Update a workspace member role (Enterprise M2M)
1789
1917
  */
1790
1918
  const v3WorkspacesControllerUpdateWorkspaceMember = (
1791
1919
  slug: string,
1792
- userId: string,
1920
+ memberId: string,
1793
1921
  v3UpdateMemberRoleDto: BodyType<V3UpdateMemberRoleDto>,
1794
1922
  options?: SecondParameter<typeof customInstance>,) => {
1795
1923
  return customInstance<void>(
1796
- {url: `/api/v3/workspaces/${slug}/members/${userId}`, method: 'PATCH',
1924
+ {url: `/api/v3/workspaces/${slug}/members/${memberId}`, method: 'PATCH',
1797
1925
  headers: {'Content-Type': 'application/json', },
1798
1926
  data: v3UpdateMemberRoleDto
1799
1927
  },
@@ -1801,15 +1929,15 @@ const v3WorkspacesControllerUpdateWorkspaceMember = (
1801
1929
  }
1802
1930
 
1803
1931
  /**
1804
- * Remove a workspace member by userId. Requires members:write scope.
1932
+ * Remove a workspace member by member ID, user ID, or user email address. Requires members:write scope.
1805
1933
  * @summary Remove a member from the workspace (Enterprise M2M)
1806
1934
  */
1807
1935
  const v3WorkspacesControllerDeleteWorkspaceMember = (
1808
1936
  slug: string,
1809
- userId: string,
1937
+ memberId: string,
1810
1938
  options?: SecondParameter<typeof customInstance>,) => {
1811
1939
  return customInstance<void>(
1812
- {url: `/api/v3/workspaces/${slug}/members/${userId}`, method: 'DELETE'
1940
+ {url: `/api/v3/workspaces/${slug}/members/${memberId}`, method: 'DELETE'
1813
1941
  },
1814
1942
  options);
1815
1943
  }
@@ -1903,7 +2031,7 @@ const v3WorkspacesControllerGetChannelMembers = (
1903
2031
  }
1904
2032
 
1905
2033
  /**
1906
- * Add user(s) to a channel with customizable role and permissions. Requires channels:write scope.
2034
+ * Add user(s) to a channel using user IDs, member IDs, or email addresses with customizable role and permissions. Requires channels:write scope.
1907
2035
  * @summary Add members to a channel (Enterprise M2M)
1908
2036
  */
1909
2037
  const v3WorkspacesControllerAddChannelMembers = (
@@ -1920,17 +2048,17 @@ const v3WorkspacesControllerAddChannelMembers = (
1920
2048
  }
1921
2049
 
1922
2050
  /**
1923
- * Update the role or bitwise permissions of a channel member. Requires channels:write scope.
2051
+ * Update the role or bitwise permissions of a channel member using user ID, member ID, or email address. Requires channels:write scope.
1924
2052
  * @summary Update channel member role and permissions (Enterprise M2M)
1925
2053
  */
1926
2054
  const v3WorkspacesControllerUpdateChannelMember = (
1927
2055
  slug: string,
1928
2056
  channelId: string,
1929
- userId: string,
2057
+ memberId: string,
1930
2058
  v3UpdateChannelMemberDto: BodyType<V3UpdateChannelMemberDto>,
1931
2059
  options?: SecondParameter<typeof customInstance>,) => {
1932
2060
  return customInstance<void>(
1933
- {url: `/api/v3/workspaces/${slug}/channels/${channelId}/members/${userId}`, method: 'PATCH',
2061
+ {url: `/api/v3/workspaces/${slug}/channels/${channelId}/members/${memberId}`, method: 'PATCH',
1934
2062
  headers: {'Content-Type': 'application/json', },
1935
2063
  data: v3UpdateChannelMemberDto
1936
2064
  },
@@ -1938,16 +2066,107 @@ const v3WorkspacesControllerUpdateChannelMember = (
1938
2066
  }
1939
2067
 
1940
2068
  /**
1941
- * Remove a specific member from a channel. Requires channels:write scope.
2069
+ * Remove a specific member from a channel using user ID, workspace member ID, or email address. Requires channels:write scope.
1942
2070
  * @summary Remove a member from a channel (Enterprise M2M)
1943
2071
  */
1944
2072
  const v3WorkspacesControllerDeleteChannelMember = (
1945
2073
  slug: string,
1946
2074
  channelId: string,
1947
- userId: string,
2075
+ memberId: string,
1948
2076
  options?: SecondParameter<typeof customInstance>,) => {
1949
2077
  return customInstance<void>(
1950
- {url: `/api/v3/workspaces/${slug}/channels/${channelId}/members/${userId}`, method: 'DELETE'
2078
+ {url: `/api/v3/workspaces/${slug}/channels/${channelId}/members/${memberId}`, method: 'DELETE'
2079
+ },
2080
+ options);
2081
+ }
2082
+
2083
+ /**
2084
+ * Retrieve message history for a channel in a workspace. Requires messages:read scope.
2085
+ * @summary Get channel messages (Enterprise M2M)
2086
+ */
2087
+ const v3WorkspacesControllerGetChannelMessages = (
2088
+ slug: string,
2089
+ channelId: string,
2090
+ params: V3WorkspacesControllerGetChannelMessagesParams,
2091
+ options?: SecondParameter<typeof customInstance>,) => {
2092
+ return customInstance<void>(
2093
+ {url: `/api/v3/workspaces/${slug}/channels/${channelId}/messages`, method: 'GET',
2094
+ params
2095
+ },
2096
+ options);
2097
+ }
2098
+
2099
+ /**
2100
+ * Send a message to a channel. Requires messages:send scope.
2101
+ * @summary Send a message to a channel (Enterprise M2M)
2102
+ */
2103
+ const v3WorkspacesControllerCreateChannelMessage = (
2104
+ slug: string,
2105
+ channelId: string,
2106
+ options?: SecondParameter<typeof customInstance>,) => {
2107
+ return customInstance<void>(
2108
+ {url: `/api/v3/workspaces/${slug}/channels/${channelId}/messages`, method: 'POST'
2109
+ },
2110
+ options);
2111
+ }
2112
+
2113
+ /**
2114
+ * Update content of a message. Requires messages:send scope.
2115
+ * @summary Update a channel message (Enterprise M2M)
2116
+ */
2117
+ const v3WorkspacesControllerUpdateChannelMessage = (
2118
+ slug: string,
2119
+ channelId: string,
2120
+ messageId: string,
2121
+ options?: SecondParameter<typeof customInstance>,) => {
2122
+ return customInstance<void>(
2123
+ {url: `/api/v3/workspaces/${slug}/channels/${channelId}/messages/${messageId}`, method: 'PATCH'
2124
+ },
2125
+ options);
2126
+ }
2127
+
2128
+ /**
2129
+ * Delete a message. Requires messages:send scope.
2130
+ * @summary Delete a channel message (Enterprise M2M)
2131
+ */
2132
+ const v3WorkspacesControllerDeleteChannelMessage = (
2133
+ slug: string,
2134
+ channelId: string,
2135
+ messageId: string,
2136
+ options?: SecondParameter<typeof customInstance>,) => {
2137
+ return customInstance<void>(
2138
+ {url: `/api/v3/workspaces/${slug}/channels/${channelId}/messages/${messageId}`, method: 'DELETE'
2139
+ },
2140
+ options);
2141
+ }
2142
+
2143
+ /**
2144
+ * Add an emoji reaction to a message. Requires messages:send scope.
2145
+ * @summary Add a reaction to a channel message (Enterprise M2M)
2146
+ */
2147
+ const v3WorkspacesControllerAddChannelMessageReaction = (
2148
+ slug: string,
2149
+ channelId: string,
2150
+ messageId: string,
2151
+ options?: SecondParameter<typeof customInstance>,) => {
2152
+ return customInstance<void>(
2153
+ {url: `/api/v3/workspaces/${slug}/channels/${channelId}/messages/${messageId}/reactions`, method: 'POST'
2154
+ },
2155
+ options);
2156
+ }
2157
+
2158
+ /**
2159
+ * Remove an emoji reaction from a message. Requires messages:send scope.
2160
+ * @summary Remove a reaction from a channel message (Enterprise M2M)
2161
+ */
2162
+ const v3WorkspacesControllerRemoveChannelMessageReaction = (
2163
+ slug: string,
2164
+ channelId: string,
2165
+ messageId: string,
2166
+ emoji: string,
2167
+ options?: SecondParameter<typeof customInstance>,) => {
2168
+ return customInstance<void>(
2169
+ {url: `/api/v3/workspaces/${slug}/channels/${channelId}/messages/${messageId}/reactions/${emoji}`, method: 'DELETE'
1951
2170
  },
1952
2171
  options);
1953
2172
  }
@@ -2026,6 +2245,19 @@ const v3WebhooksControllerDeleteWebhook = (
2026
2245
  options);
2027
2246
  }
2028
2247
 
2248
+ /**
2249
+ * Requires webhooks:read scope. Retrieves all incoming webhooks configured across all channels in this workspace.
2250
+ * @summary List all incoming webhooks in a workspace
2251
+ */
2252
+ const v3ChannelIncomingWebhooksControllerGetWorkspaceIncomingWebhooks = (
2253
+ slug: string,
2254
+ options?: SecondParameter<typeof customInstance>,) => {
2255
+ return customInstance<void>(
2256
+ {url: `/api/v3/workspaces/${slug}/incoming-webhooks`, method: 'GET'
2257
+ },
2258
+ options);
2259
+ }
2260
+
2029
2261
  /**
2030
2262
  * Requires webhooks:read scope. Retrieves all incoming webhooks configured for this channel.
2031
2263
  * @summary List incoming webhooks for a channel
@@ -2235,695 +2467,1152 @@ const v3OrganizationsControllerDeleteM2mApplication = (
2235
2467
  }
2236
2468
 
2237
2469
  /**
2238
- * @summary Get notifications for the current user
2470
+ * @summary List bot applications
2239
2471
  */
2240
- const notificationsControllerGetNotifications = (
2241
- params?: NotificationsControllerGetNotificationsParams,
2472
+ const v3ApplicationsControllerListApplications0 = (
2473
+
2242
2474
  options?: SecondParameter<typeof customInstance>,) => {
2243
2475
  return customInstance<void>(
2244
- {url: `/api/notifications`, method: 'GET',
2245
- params
2476
+ {url: `/api/v3/applications`, method: 'GET'
2246
2477
  },
2247
2478
  options);
2248
2479
  }
2249
2480
 
2250
2481
  /**
2251
- * @summary Get a single notification by ID
2482
+ * @summary Create a bot application
2252
2483
  */
2253
- const notificationsControllerGetNotificationById = (
2254
- notificationId: string,
2484
+ const v3ApplicationsControllerCreateApplication0 = (
2485
+
2255
2486
  options?: SecondParameter<typeof customInstance>,) => {
2256
2487
  return customInstance<void>(
2257
- {url: `/api/notifications/${notificationId}`, method: 'GET'
2488
+ {url: `/api/v3/applications`, method: 'POST'
2258
2489
  },
2259
2490
  options);
2260
2491
  }
2261
2492
 
2262
2493
  /**
2263
- * @summary Update a notification (e.g. mark as read)
2494
+ * @summary List bot applications
2264
2495
  */
2265
- const notificationsControllerUpdateNotification = (
2266
- notificationId: string,
2267
- updateNotificationDto: BodyType<UpdateNotificationDto>,
2496
+ const v3ApplicationsControllerListApplications1 = (
2497
+
2268
2498
  options?: SecondParameter<typeof customInstance>,) => {
2269
2499
  return customInstance<void>(
2270
- {url: `/api/notifications/${notificationId}`, method: 'PATCH',
2271
- headers: {'Content-Type': 'application/json', },
2272
- data: updateNotificationDto
2500
+ {url: `/api/v2/applications`, method: 'GET'
2273
2501
  },
2274
2502
  options);
2275
2503
  }
2276
2504
 
2277
2505
  /**
2278
- * @summary Delete a notification
2506
+ * @summary Create a bot application
2279
2507
  */
2280
- const notificationsControllerDeleteNotification = (
2281
- notificationId: string,
2508
+ const v3ApplicationsControllerCreateApplication1 = (
2509
+
2282
2510
  options?: SecondParameter<typeof customInstance>,) => {
2283
2511
  return customInstance<void>(
2284
- {url: `/api/notifications/${notificationId}`, method: 'DELETE'
2512
+ {url: `/api/v2/applications`, method: 'POST'
2285
2513
  },
2286
2514
  options);
2287
2515
  }
2288
2516
 
2289
2517
  /**
2290
- * @summary Mark all notifications as read
2518
+ * @summary Get application details
2291
2519
  */
2292
- const notificationsControllerMarkAllRead = (
2293
-
2520
+ const v3ApplicationsControllerGetApplication0 = (
2521
+ id: string,
2294
2522
  options?: SecondParameter<typeof customInstance>,) => {
2295
2523
  return customInstance<void>(
2296
- {url: `/api/notifications/mark-all-read`, method: 'POST'
2524
+ {url: `/api/v3/applications/${id}`, method: 'GET'
2297
2525
  },
2298
2526
  options);
2299
2527
  }
2300
2528
 
2301
2529
  /**
2302
- * @summary Get notification settings for a workspace
2530
+ * @summary Update bot application
2303
2531
  */
2304
- const notificationsControllerGetWorkspaceSettings = (
2305
- params: NotificationsControllerGetWorkspaceSettingsParams,
2532
+ const v3ApplicationsControllerUpdateApplication = (
2533
+ id: string,
2306
2534
  options?: SecondParameter<typeof customInstance>,) => {
2307
2535
  return customInstance<void>(
2308
- {url: `/api/notifications/settings/workspace`, method: 'GET',
2309
- params
2536
+ {url: `/api/v3/applications/${id}`, method: 'PATCH'
2310
2537
  },
2311
2538
  options);
2312
2539
  }
2313
2540
 
2314
2541
  /**
2315
- * @summary Update notification settings for a workspace
2542
+ * @summary Delete bot application
2316
2543
  */
2317
- const notificationsControllerUpdateWorkspaceSettings = (
2318
- workspaceSettingsDto: BodyType<WorkspaceSettingsDto>,
2544
+ const v3ApplicationsControllerDeleteApplication = (
2545
+ id: string,
2319
2546
  options?: SecondParameter<typeof customInstance>,) => {
2320
2547
  return customInstance<void>(
2321
- {url: `/api/notifications/settings/workspace`, method: 'PATCH',
2322
- headers: {'Content-Type': 'application/json', },
2323
- data: workspaceSettingsDto
2548
+ {url: `/api/v3/applications/${id}`, method: 'DELETE'
2324
2549
  },
2325
2550
  options);
2326
2551
  }
2327
2552
 
2328
2553
  /**
2329
- * @summary Get notification settings for a channel
2554
+ * @summary Get application details
2330
2555
  */
2331
- const notificationsControllerGetChannelSettings = (
2332
- params: NotificationsControllerGetChannelSettingsParams,
2556
+ const v3ApplicationsControllerGetApplication1 = (
2557
+ id: string,
2333
2558
  options?: SecondParameter<typeof customInstance>,) => {
2334
2559
  return customInstance<void>(
2335
- {url: `/api/notifications/settings/channel`, method: 'GET',
2336
- params
2560
+ {url: `/api/v2/applications/${id}`, method: 'GET'
2337
2561
  },
2338
2562
  options);
2339
2563
  }
2340
2564
 
2341
2565
  /**
2342
- * @summary Update notification settings for a channel
2566
+ * @summary Reset bot token
2343
2567
  */
2344
- const notificationsControllerUpdateChannelSettings = (
2345
- channelSettingsDto: BodyType<ChannelSettingsDto>,
2568
+ const v3ApplicationsControllerResetToken0 = (
2569
+ id: string,
2346
2570
  options?: SecondParameter<typeof customInstance>,) => {
2347
2571
  return customInstance<void>(
2348
- {url: `/api/notifications/settings/channel`, method: 'PATCH',
2349
- headers: {'Content-Type': 'application/json', },
2350
- data: channelSettingsDto
2572
+ {url: `/api/v3/applications/${id}/reset-token`, method: 'POST'
2351
2573
  },
2352
2574
  options);
2353
2575
  }
2354
2576
 
2355
2577
  /**
2356
- * @summary Get invitations for the current user
2578
+ * @summary Reset bot token
2357
2579
  */
2358
- const invitationsControllerGetInvitations = (
2359
- params?: InvitationsControllerGetInvitationsParams,
2580
+ const v3ApplicationsControllerResetToken1 = (
2581
+ id: string,
2360
2582
  options?: SecondParameter<typeof customInstance>,) => {
2361
2583
  return customInstance<void>(
2362
- {url: `/api/invitations`, method: 'GET',
2363
- params
2584
+ {url: `/api/v2/applications/${id}/reset-token`, method: 'POST'
2364
2585
  },
2365
2586
  options);
2366
2587
  }
2367
2588
 
2368
2589
  /**
2369
- * @summary Create a new invitation
2590
+ * @summary Install bot application to a workspace
2370
2591
  */
2371
- const invitationsControllerCreateInvitation = (
2372
- createInvitationDto: BodyType<CreateInvitationDto>,
2592
+ const v3ApplicationsControllerInstallApplication0 = (
2593
+ id: string,
2373
2594
  options?: SecondParameter<typeof customInstance>,) => {
2374
2595
  return customInstance<void>(
2375
- {url: `/api/invitations`, method: 'POST',
2376
- headers: {'Content-Type': 'application/json', },
2377
- data: createInvitationDto
2596
+ {url: `/api/v3/applications/${id}/install`, method: 'POST'
2378
2597
  },
2379
2598
  options);
2380
2599
  }
2381
2600
 
2382
2601
  /**
2383
- * @summary Get invitation details by token
2602
+ * @summary Install bot application to a workspace
2384
2603
  */
2385
- const invitationsControllerGetInvitationByToken = (
2386
- token: string,
2604
+ const v3ApplicationsControllerInstallApplication1 = (
2605
+ id: string,
2387
2606
  options?: SecondParameter<typeof customInstance>,) => {
2388
2607
  return customInstance<void>(
2389
- {url: `/api/invitations/${token}`, method: 'GET'
2608
+ {url: `/api/v2/applications/${id}/install`, method: 'POST'
2390
2609
  },
2391
2610
  options);
2392
2611
  }
2393
2612
 
2394
2613
  /**
2395
- * @summary Accept an invitation
2614
+ * @summary List installed bots in workspace
2396
2615
  */
2397
- const invitationsControllerAcceptInvitation = (
2398
- token: string,
2616
+ const v3ApplicationsControllerListWorkspaceBots = (
2617
+ slug: string,
2399
2618
  options?: SecondParameter<typeof customInstance>,) => {
2400
2619
  return customInstance<void>(
2401
- {url: `/api/invitations/${token}/accept`, method: 'POST'
2620
+ {url: `/api/v3/workspaces/${slug}/bots`, method: 'GET'
2402
2621
  },
2403
2622
  options);
2404
2623
  }
2405
2624
 
2406
2625
  /**
2407
- * @summary Handle Plane webhook
2626
+ * @summary Add a bot to a workspace
2408
2627
  */
2409
- const integrationsControllerHandlePlaneWebhook = (
2410
-
2628
+ const v3ApplicationsControllerAddBotToWorkspace = (
2629
+ slug: string,
2411
2630
  options?: SecondParameter<typeof customInstance>,) => {
2412
2631
  return customInstance<void>(
2413
- {url: `/api/integrations/plane/webhook`, method: 'POST'
2632
+ {url: `/api/v3/workspaces/${slug}/bots`, method: 'POST'
2414
2633
  },
2415
2634
  options);
2416
2635
  }
2417
2636
 
2418
2637
  /**
2419
- * @summary Handle Huly webhook
2638
+ * Retrieve active direct message conversations for the authenticated user/bot. Requires messages:read scope.
2639
+ * @summary List direct message conversations (Enterprise M2M V3)
2420
2640
  */
2421
- const integrationsControllerHandleHulyWebhook = (
2422
- id: string,
2641
+ const v3DmsControllerGetDms = (
2642
+
2423
2643
  options?: SecondParameter<typeof customInstance>,) => {
2424
2644
  return customInstance<void>(
2425
- {url: `/api/integrations/huly/webhook/${id}`, method: 'POST'
2645
+ {url: `/api/v3/dms`, method: 'GET'
2426
2646
  },
2427
2647
  options);
2428
2648
  }
2429
2649
 
2430
2650
  /**
2431
- * @summary Get integration statistics
2651
+ * Create a new DM conversation with a target user. Requires messages:send scope.
2652
+ * @summary Create or retrieve a direct message conversation (Enterprise M2M V3)
2432
2653
  */
2433
- const integrationsControllerGetStats = (
2434
-
2654
+ const v3DmsControllerCreateDm = (
2655
+ v3CreateDmDto: BodyType<V3CreateDmDto>,
2435
2656
  options?: SecondParameter<typeof customInstance>,) => {
2436
2657
  return customInstance<void>(
2437
- {url: `/api/integrations/stats`, method: 'GET'
2658
+ {url: `/api/v3/dms`, method: 'POST',
2659
+ headers: {'Content-Type': 'application/json', },
2660
+ data: v3CreateDmDto
2438
2661
  },
2439
2662
  options);
2440
2663
  }
2441
2664
 
2442
2665
  /**
2443
- * @summary Get all integration webhooks
2666
+ * Retrieve specific direct message conversation details. Requires messages:read scope.
2667
+ * @summary Get details of a direct message conversation (Enterprise M2M V3)
2444
2668
  */
2445
- const integrationsControllerGetWebhooks = (
2446
-
2669
+ const v3DmsControllerGetDm = (
2670
+ dmId: string,
2447
2671
  options?: SecondParameter<typeof customInstance>,) => {
2448
2672
  return customInstance<void>(
2449
- {url: `/api/integrations/webhooks`, method: 'GET'
2673
+ {url: `/api/v3/dms/${dmId}`, method: 'GET'
2450
2674
  },
2451
2675
  options);
2452
2676
  }
2453
2677
 
2454
2678
  /**
2455
- * @summary Create an integration webhook
2679
+ * Delete a direct message conversation. Requires messages:send scope.
2680
+ * @summary Delete a direct message conversation (Enterprise M2M V3)
2456
2681
  */
2457
- const integrationsControllerCreateWebhook = (
2458
- createIntegrationWebhookDto: BodyType<CreateIntegrationWebhookDto>,
2682
+ const v3DmsControllerDeleteDm = (
2683
+ dmId: string,
2459
2684
  options?: SecondParameter<typeof customInstance>,) => {
2460
2685
  return customInstance<void>(
2461
- {url: `/api/integrations/webhooks`, method: 'POST',
2462
- headers: {'Content-Type': 'application/json', },
2463
- data: createIntegrationWebhookDto
2686
+ {url: `/api/v3/dms/${dmId}`, method: 'DELETE'
2464
2687
  },
2465
2688
  options);
2466
2689
  }
2467
2690
 
2468
2691
  /**
2469
- * @summary Update an integration webhook
2692
+ * Retrieve message history for a direct message conversation. Requires messages:read scope.
2693
+ * @summary Get direct message conversation messages (Enterprise M2M V3)
2470
2694
  */
2471
- const integrationsControllerUpdateWebhook = (
2472
- webhookId: string,
2695
+ const v3DmsControllerGetMessages = (
2696
+ dmId: string,
2697
+ params?: V3DmsControllerGetMessagesParams,
2473
2698
  options?: SecondParameter<typeof customInstance>,) => {
2474
2699
  return customInstance<void>(
2475
- {url: `/api/integrations/webhooks/${webhookId}`, method: 'PATCH'
2700
+ {url: `/api/v3/dms/${dmId}/messages`, method: 'GET',
2701
+ params
2476
2702
  },
2477
2703
  options);
2478
2704
  }
2479
2705
 
2480
2706
  /**
2481
- * @summary Delete an integration webhook
2707
+ * Send a message in a DM conversation. Requires messages:send scope.
2708
+ * @summary Send a message in a direct message conversation (Enterprise M2M V3)
2482
2709
  */
2483
- const integrationsControllerDeleteWebhook = (
2484
- webhookId: string,
2710
+ const v3DmsControllerCreateMessage = (
2711
+ dmId: string,
2485
2712
  options?: SecondParameter<typeof customInstance>,) => {
2486
2713
  return customInstance<void>(
2487
- {url: `/api/integrations/webhooks/${webhookId}`, method: 'DELETE'
2714
+ {url: `/api/v3/dms/${dmId}/messages`, method: 'POST'
2488
2715
  },
2489
2716
  options);
2490
2717
  }
2491
2718
 
2492
2719
  /**
2493
- * @summary Get integration webhook logs
2720
+ * Update content of a direct message. Requires messages:send scope.
2721
+ * @summary Update a direct message (Enterprise M2M V3)
2494
2722
  */
2495
- const integrationsControllerGetWebhookLogs = (
2496
- webhookId: string,
2723
+ const v3DmsControllerUpdateMessage = (
2724
+ dmId: string,
2725
+ messageId: string,
2497
2726
  options?: SecondParameter<typeof customInstance>,) => {
2498
2727
  return customInstance<void>(
2499
- {url: `/api/integrations/webhooks/${webhookId}/logs`, method: 'GET'
2728
+ {url: `/api/v3/dms/${dmId}/messages/${messageId}`, method: 'PATCH'
2500
2729
  },
2501
2730
  options);
2502
2731
  }
2503
2732
 
2504
2733
  /**
2505
- * @summary Get all integration API keys
2734
+ * Delete a direct message. Requires messages:send scope.
2735
+ * @summary Delete a direct message (Enterprise M2M V3)
2506
2736
  */
2507
- const integrationsControllerGetApiKeys = (
2508
-
2737
+ const v3DmsControllerDeleteMessage = (
2738
+ dmId: string,
2739
+ messageId: string,
2509
2740
  options?: SecondParameter<typeof customInstance>,) => {
2510
2741
  return customInstance<void>(
2511
- {url: `/api/integrations/api-keys`, method: 'GET'
2742
+ {url: `/api/v3/dms/${dmId}/messages/${messageId}`, method: 'DELETE'
2512
2743
  },
2513
2744
  options);
2514
2745
  }
2515
2746
 
2516
2747
  /**
2517
- * @summary Update an integration API key
2748
+ * Add an emoji reaction to a DM message. Requires messages:send scope.
2749
+ * @summary Add a reaction to a direct message (Enterprise M2M V3)
2518
2750
  */
2519
- const integrationsControllerUpdateApiKey = (
2520
- keyId: string,
2751
+ const v3DmsControllerAddReaction = (
2752
+ dmId: string,
2753
+ messageId: string,
2521
2754
  options?: SecondParameter<typeof customInstance>,) => {
2522
2755
  return customInstance<void>(
2523
- {url: `/api/integrations/api-keys/${keyId}`, method: 'PATCH'
2756
+ {url: `/api/v3/dms/${dmId}/messages/${messageId}/reactions`, method: 'POST'
2524
2757
  },
2525
2758
  options);
2526
2759
  }
2527
2760
 
2528
2761
  /**
2529
- * @summary Delete an integration API key
2762
+ * Remove an emoji reaction from a DM message. Requires messages:send scope.
2763
+ * @summary Remove a reaction from a direct message (Enterprise M2M V3)
2530
2764
  */
2531
- const integrationsControllerDeleteApiKey = (
2532
- keyId: string,
2765
+ const v3DmsControllerRemoveReaction = (
2766
+ dmId: string,
2767
+ messageId: string,
2768
+ emoji: string,
2533
2769
  options?: SecondParameter<typeof customInstance>,) => {
2534
2770
  return customInstance<void>(
2535
- {url: `/api/integrations/api-keys/${keyId}`, method: 'DELETE'
2771
+ {url: `/api/v3/dms/${dmId}/messages/${messageId}/reactions/${emoji}`, method: 'DELETE'
2536
2772
  },
2537
2773
  options);
2538
2774
  }
2539
2775
 
2540
2776
  /**
2541
- * @summary Get all integrations for a workspace
2777
+ * @summary Get global channels
2542
2778
  */
2543
- const workspaceIntegrationsControllerGetWorkspaceIntegrations = (
2544
- slug: string,
2779
+ const channelsControllerGetGlobalChannels = (
2780
+
2545
2781
  options?: SecondParameter<typeof customInstance>,) => {
2546
2782
  return customInstance<void>(
2547
- {url: `/api/workspaces/${slug}/integrations`, method: 'GET'
2783
+ {url: `/api/channels`, method: 'GET'
2548
2784
  },
2549
2785
  options);
2550
2786
  }
2551
2787
 
2552
2788
  /**
2553
- * @summary Create a new integration for a workspace
2789
+ * @summary Create a new channel in a workspace
2554
2790
  */
2555
- const workspaceIntegrationsControllerCreateWorkspaceIntegration = (
2791
+ const channelsControllerCreateChannel = (
2556
2792
  slug: string,
2557
- createIntegrationDto: BodyType<CreateIntegrationDto>,
2793
+ createWorkspaceChannelDto: BodyType<CreateWorkspaceChannelDto>,
2558
2794
  options?: SecondParameter<typeof customInstance>,) => {
2559
2795
  return customInstance<void>(
2560
- {url: `/api/workspaces/${slug}/integrations`, method: 'POST',
2796
+ {url: `/api/workspaces/${slug}/channels`, method: 'POST',
2561
2797
  headers: {'Content-Type': 'application/json', },
2562
- data: createIntegrationDto
2798
+ data: createWorkspaceChannelDto
2563
2799
  },
2564
2800
  options);
2565
2801
  }
2566
2802
 
2567
2803
  /**
2568
- * @summary Get integration details
2804
+ * @summary Get messages from a channel
2569
2805
  */
2570
- const workspaceIntegrationsControllerGetWorkspaceIntegration = (
2571
- slug: string,
2572
- integrationId: string,
2806
+ const channelsControllerGetMessages = (
2807
+ channelId: string,
2808
+ params?: ChannelsControllerGetMessagesParams,
2573
2809
  options?: SecondParameter<typeof customInstance>,) => {
2574
2810
  return customInstance<void>(
2575
- {url: `/api/workspaces/${slug}/integrations/${integrationId}`, method: 'GET'
2811
+ {url: `/api/channels/${channelId}/messages`, method: 'GET',
2812
+ params
2576
2813
  },
2577
2814
  options);
2578
2815
  }
2579
2816
 
2580
2817
  /**
2581
- * @summary Update an integration
2818
+ * @summary Send a message to a channel
2582
2819
  */
2583
- const workspaceIntegrationsControllerUpdateWorkspaceIntegration = (
2584
- slug: string,
2585
- integrationId: string,
2820
+ const channelsControllerCreateMessage = (
2821
+ channelId: string,
2586
2822
  options?: SecondParameter<typeof customInstance>,) => {
2587
2823
  return customInstance<void>(
2588
- {url: `/api/workspaces/${slug}/integrations/${integrationId}`, method: 'PATCH'
2824
+ {url: `/api/channels/${channelId}/messages`, method: 'POST'
2589
2825
  },
2590
2826
  options);
2591
2827
  }
2592
2828
 
2593
2829
  /**
2594
- * @summary Delete an integration
2830
+ * @summary Update a message
2595
2831
  */
2596
- const workspaceIntegrationsControllerDeleteWorkspaceIntegration = (
2597
- slug: string,
2598
- integrationId: string,
2832
+ const channelsControllerUpdateMessage = (
2833
+ channelId: string,
2834
+ messageId: string,
2835
+ channelsControllerUpdateMessageBody: BodyType<ChannelsControllerUpdateMessageBody>,
2599
2836
  options?: SecondParameter<typeof customInstance>,) => {
2600
2837
  return customInstance<void>(
2601
- {url: `/api/workspaces/${slug}/integrations/${integrationId}`, method: 'DELETE'
2838
+ {url: `/api/channels/${channelId}/messages/${messageId}`, method: 'PATCH',
2839
+ headers: {'Content-Type': 'application/json', },
2840
+ data: channelsControllerUpdateMessageBody
2602
2841
  },
2603
2842
  options);
2604
2843
  }
2605
2844
 
2606
2845
  /**
2607
- * @summary Test an integration
2846
+ * @summary Delete a message
2608
2847
  */
2609
- const workspaceIntegrationsControllerTestWorkspaceIntegration = (
2610
- slug: string,
2611
- integrationId: string,
2848
+ const channelsControllerDeleteMessage = (
2849
+ channelId: string,
2850
+ messageId: string,
2612
2851
  options?: SecondParameter<typeof customInstance>,) => {
2613
2852
  return customInstance<void>(
2614
- {url: `/api/workspaces/${slug}/integrations/${integrationId}/test`, method: 'POST'
2853
+ {url: `/api/channels/${channelId}/messages/${messageId}`, method: 'DELETE'
2615
2854
  },
2616
2855
  options);
2617
2856
  }
2618
2857
 
2619
2858
  /**
2620
- * @summary Get all integration webhooks for a workspace
2859
+ * @summary Mark messages as read
2621
2860
  */
2622
- const workspaceIntegrationsControllerGetWorkspaceWebhooks = (
2623
- slug: string,
2861
+ const channelsControllerMarkAsRead = (
2862
+ channelId: string,
2863
+ channelsControllerMarkAsReadBody: BodyType<ChannelsControllerMarkAsReadBody>,
2624
2864
  options?: SecondParameter<typeof customInstance>,) => {
2625
2865
  return customInstance<void>(
2626
- {url: `/api/workspaces/${slug}/integrations/webhooks`, method: 'GET'
2866
+ {url: `/api/channels/${channelId}/messages/read`, method: 'POST',
2867
+ headers: {'Content-Type': 'application/json', },
2868
+ data: channelsControllerMarkAsReadBody
2627
2869
  },
2628
2870
  options);
2629
2871
  }
2630
2872
 
2631
2873
  /**
2632
- * @summary Create an integration webhook for a workspace
2874
+ * @summary Add a reaction to a message
2633
2875
  */
2634
- const workspaceIntegrationsControllerCreateWorkspaceWebhook = (
2635
- slug: string,
2636
- createIntegrationWebhookDto: BodyType<CreateIntegrationWebhookDto>,
2876
+ const channelsControllerAddReaction = (
2877
+ channelId: string,
2878
+ messageId: string,
2879
+ channelsControllerAddReactionBody: BodyType<ChannelsControllerAddReactionBody>,
2637
2880
  options?: SecondParameter<typeof customInstance>,) => {
2638
2881
  return customInstance<void>(
2639
- {url: `/api/workspaces/${slug}/integrations/webhooks`, method: 'POST',
2882
+ {url: `/api/channels/${channelId}/messages/${messageId}/reactions`, method: 'POST',
2640
2883
  headers: {'Content-Type': 'application/json', },
2641
- data: createIntegrationWebhookDto
2884
+ data: channelsControllerAddReactionBody
2642
2885
  },
2643
2886
  options);
2644
2887
  }
2645
2888
 
2646
- const ablyControllerGetToken = (
2647
-
2889
+ /**
2890
+ * @summary Remove a reaction from a message
2891
+ */
2892
+ const channelsControllerRemoveReaction = (
2893
+ channelId: string,
2894
+ messageId: string,
2895
+ emoji: string,
2648
2896
  options?: SecondParameter<typeof customInstance>,) => {
2649
2897
  return customInstance<void>(
2650
- {url: `/api/ably/token`, method: 'POST'
2898
+ {url: `/api/channels/${channelId}/messages/${messageId}/reactions/${emoji}`, method: 'DELETE'
2651
2899
  },
2652
2900
  options);
2653
2901
  }
2654
2902
 
2655
2903
  /**
2656
- * @summary Upload a file
2904
+ * @summary Share a channel with another workspace
2657
2905
  */
2658
- const storageControllerUploadFile = (
2659
- storageControllerUploadFileBody: BodyType<StorageControllerUploadFileBody>,
2660
- options?: SecondParameter<typeof customInstance>,) => {const formData = new FormData();
2661
- if(storageControllerUploadFileBody.file !== undefined) {
2662
- formData.append('file', storageControllerUploadFileBody.file)
2663
- }
2906
+ const channelsControllerShareChannel = (
2907
+ channelId: string,
2908
+ options?: SecondParameter<typeof customInstance>,) => {
2909
+ return customInstance<void>(
2910
+ {url: `/api/channels/${channelId}/share`, method: 'POST'
2911
+ },
2912
+ options);
2913
+ }
2664
2914
 
2915
+ /**
2916
+ * @summary Reply to a message
2917
+ */
2918
+ const channelsControllerCreateReply = (
2919
+ channelId: string,
2920
+ messageId: string,
2921
+ options?: SecondParameter<typeof customInstance>,) => {
2665
2922
  return customInstance<void>(
2666
- {url: `/api/storage/upload`, method: 'POST',
2667
- headers: {'Content-Type': 'multipart/form-data', },
2668
- data: formData
2923
+ {url: `/api/channels/${channelId}/messages/${messageId}/reply`, method: 'POST'
2669
2924
  },
2670
2925
  options);
2671
2926
  }
2672
2927
 
2673
2928
  /**
2674
- * @summary Proxy file request using high-performance streaming
2929
+ * @summary Get notifications for the current user
2675
2930
  */
2676
- const shortUrlControllerRedirect = (
2677
- code: string,
2931
+ const notificationsControllerGetNotifications = (
2932
+ params?: NotificationsControllerGetNotificationsParams,
2678
2933
  options?: SecondParameter<typeof customInstance>,) => {
2679
2934
  return customInstance<void>(
2680
- {url: `/s/${code}`, method: 'GET'
2935
+ {url: `/api/notifications`, method: 'GET',
2936
+ params
2681
2937
  },
2682
2938
  options);
2683
2939
  }
2684
2940
 
2685
2941
  /**
2686
- * @summary Start a new call
2942
+ * @summary Get a single notification by ID
2687
2943
  */
2688
- const callsControllerStartCall = (
2689
- startCallDto: BodyType<StartCallDto>,
2944
+ const notificationsControllerGetNotificationById = (
2945
+ notificationId: string,
2690
2946
  options?: SecondParameter<typeof customInstance>,) => {
2691
2947
  return customInstance<void>(
2692
- {url: `/api/calls`, method: 'POST',
2693
- headers: {'Content-Type': 'application/json', },
2694
- data: startCallDto
2948
+ {url: `/api/notifications/${notificationId}`, method: 'GET'
2695
2949
  },
2696
2950
  options);
2697
2951
  }
2698
2952
 
2699
2953
  /**
2700
- * @summary Update call state
2954
+ * @summary Update a notification (e.g. mark as read)
2701
2955
  */
2702
- const callsControllerUpdateCall = (
2703
- callId: string,
2704
- updateCallDto: BodyType<UpdateCallDto>,
2956
+ const notificationsControllerUpdateNotification = (
2957
+ notificationId: string,
2958
+ updateNotificationDto: BodyType<UpdateNotificationDto>,
2705
2959
  options?: SecondParameter<typeof customInstance>,) => {
2706
2960
  return customInstance<void>(
2707
- {url: `/api/calls/${callId}`, method: 'PATCH',
2961
+ {url: `/api/notifications/${notificationId}`, method: 'PATCH',
2708
2962
  headers: {'Content-Type': 'application/json', },
2709
- data: updateCallDto
2963
+ data: updateNotificationDto
2710
2964
  },
2711
2965
  options);
2712
2966
  }
2713
2967
 
2714
2968
  /**
2715
- * @summary Invite a user to a call
2969
+ * @summary Delete a notification
2716
2970
  */
2717
- const callsControllerInviteToCall = (
2718
- callId: string,
2971
+ const notificationsControllerDeleteNotification = (
2972
+ notificationId: string,
2719
2973
  options?: SecondParameter<typeof customInstance>,) => {
2720
2974
  return customInstance<void>(
2721
- {url: `/api/calls/${callId}/invite`, method: 'POST'
2975
+ {url: `/api/notifications/${notificationId}`, method: 'DELETE'
2722
2976
  },
2723
2977
  options);
2724
2978
  }
2725
2979
 
2726
2980
  /**
2727
- * @summary Get participants in a call
2981
+ * @summary Mark all notifications as read
2728
2982
  */
2729
- const callsControllerGetParticipants = (
2730
- callId: string,
2983
+ const notificationsControllerMarkAllRead = (
2984
+
2731
2985
  options?: SecondParameter<typeof customInstance>,) => {
2732
2986
  return customInstance<void>(
2733
- {url: `/api/calls/${callId}/participants`, method: 'GET'
2987
+ {url: `/api/notifications/mark-all-read`, method: 'POST'
2734
2988
  },
2735
2989
  options);
2736
2990
  }
2737
2991
 
2738
2992
  /**
2739
- * @summary Get scheduled calls for a workspace
2993
+ * @summary Get notification settings for a workspace
2740
2994
  */
2741
- const callsControllerGetScheduledCalls = (
2742
- params?: CallsControllerGetScheduledCallsParams,
2995
+ const notificationsControllerGetWorkspaceSettings = (
2996
+ params: NotificationsControllerGetWorkspaceSettingsParams,
2743
2997
  options?: SecondParameter<typeof customInstance>,) => {
2744
2998
  return customInstance<void>(
2745
- {url: `/api/calls/scheduled`, method: 'GET',
2999
+ {url: `/api/notifications/settings/workspace`, method: 'GET',
2746
3000
  params
2747
3001
  },
2748
3002
  options);
2749
3003
  }
2750
3004
 
2751
3005
  /**
2752
- * @summary Schedule a call
3006
+ * @summary Update notification settings for a workspace
2753
3007
  */
2754
- const callsControllerScheduleCall = (
2755
- scheduleCallDto: BodyType<ScheduleCallDto>,
3008
+ const notificationsControllerUpdateWorkspaceSettings = (
3009
+ workspaceSettingsDto: BodyType<WorkspaceSettingsDto>,
2756
3010
  options?: SecondParameter<typeof customInstance>,) => {
2757
3011
  return customInstance<void>(
2758
- {url: `/api/calls/scheduled`, method: 'POST',
3012
+ {url: `/api/notifications/settings/workspace`, method: 'PATCH',
2759
3013
  headers: {'Content-Type': 'application/json', },
2760
- data: scheduleCallDto
3014
+ data: workspaceSettingsDto
2761
3015
  },
2762
3016
  options);
2763
3017
  }
2764
3018
 
2765
3019
  /**
2766
- * @summary Play a soundboard sound
3020
+ * @summary Get notification settings for a channel
2767
3021
  */
2768
- const callsControllerPlaySoundboardSound = (
2769
- soundboardSoundDto: BodyType<SoundboardSoundDto>,
3022
+ const notificationsControllerGetChannelSettings = (
3023
+ params: NotificationsControllerGetChannelSettingsParams,
2770
3024
  options?: SecondParameter<typeof customInstance>,) => {
2771
3025
  return customInstance<void>(
2772
- {url: `/api/calls/soundboard`, method: 'POST',
3026
+ {url: `/api/notifications/settings/channel`, method: 'GET',
3027
+ params
3028
+ },
3029
+ options);
3030
+ }
3031
+
3032
+ /**
3033
+ * @summary Update notification settings for a channel
3034
+ */
3035
+ const notificationsControllerUpdateChannelSettings = (
3036
+ channelSettingsDto: BodyType<ChannelSettingsDto>,
3037
+ options?: SecondParameter<typeof customInstance>,) => {
3038
+ return customInstance<void>(
3039
+ {url: `/api/notifications/settings/channel`, method: 'PATCH',
2773
3040
  headers: {'Content-Type': 'application/json', },
2774
- data: soundboardSoundDto
3041
+ data: channelSettingsDto
2775
3042
  },
2776
3043
  options);
2777
3044
  }
2778
3045
 
2779
3046
  /**
2780
- * @summary Get global channels
3047
+ * @summary Get all DM conversations for the current user
2781
3048
  */
2782
- const channelsControllerGetGlobalChannels = (
3049
+ const dmsControllerGetDms = (
2783
3050
 
2784
3051
  options?: SecondParameter<typeof customInstance>,) => {
2785
3052
  return customInstance<void>(
2786
- {url: `/api/channels`, method: 'GET'
3053
+ {url: `/api/dms`, method: 'GET'
2787
3054
  },
2788
3055
  options);
2789
3056
  }
2790
3057
 
2791
3058
  /**
2792
- * @summary Create a new channel in a workspace
3059
+ * @summary Start a new DM conversation
2793
3060
  */
2794
- const channelsControllerCreateChannel = (
2795
- slug: string,
2796
- createWorkspaceChannelDto: BodyType<CreateWorkspaceChannelDto>,
3061
+ const dmsControllerCreateDm = (
3062
+ createDmDto: BodyType<CreateDmDto>,
2797
3063
  options?: SecondParameter<typeof customInstance>,) => {
2798
3064
  return customInstance<void>(
2799
- {url: `/api/workspaces/${slug}/channels`, method: 'POST',
3065
+ {url: `/api/dms`, method: 'POST',
2800
3066
  headers: {'Content-Type': 'application/json', },
2801
- data: createWorkspaceChannelDto
3067
+ data: createDmDto
2802
3068
  },
2803
3069
  options);
2804
3070
  }
2805
3071
 
2806
3072
  /**
2807
- * @summary Get messages from a channel
3073
+ * @summary Get DM conversation details
2808
3074
  */
2809
- const channelsControllerGetMessages = (
2810
- channelId: string,
2811
- params?: ChannelsControllerGetMessagesParams,
3075
+ const dmsControllerGetDm = (
3076
+ conversationId: string,
2812
3077
  options?: SecondParameter<typeof customInstance>,) => {
2813
3078
  return customInstance<void>(
2814
- {url: `/api/channels/${channelId}/messages`, method: 'GET',
3079
+ {url: `/api/dms/${conversationId}`, method: 'GET'
3080
+ },
3081
+ options);
3082
+ }
3083
+
3084
+ /**
3085
+ * @summary Delete a DM conversation
3086
+ */
3087
+ const dmsControllerDeleteDm = (
3088
+ conversationId: string,
3089
+ options?: SecondParameter<typeof customInstance>,) => {
3090
+ return customInstance<void>(
3091
+ {url: `/api/dms/${conversationId}`, method: 'DELETE'
3092
+ },
3093
+ options);
3094
+ }
3095
+
3096
+ /**
3097
+ * @summary Get messages in a DM conversation
3098
+ */
3099
+ const dmsControllerGetMessages = (
3100
+ conversationId: string,
3101
+ params?: DmsControllerGetMessagesParams,
3102
+ options?: SecondParameter<typeof customInstance>,) => {
3103
+ return customInstance<void>(
3104
+ {url: `/api/dms/${conversationId}/messages`, method: 'GET',
2815
3105
  params
2816
3106
  },
2817
3107
  options);
2818
3108
  }
2819
3109
 
2820
3110
  /**
2821
- * @summary Send a message to a channel
3111
+ * @summary Send a message in a DM
2822
3112
  */
2823
- const channelsControllerCreateMessage = (
2824
- channelId: string,
3113
+ const dmsControllerCreateMessage = (
3114
+ conversationId: string,
2825
3115
  options?: SecondParameter<typeof customInstance>,) => {
2826
3116
  return customInstance<void>(
2827
- {url: `/api/channels/${channelId}/messages`, method: 'POST'
3117
+ {url: `/api/dms/${conversationId}/messages`, method: 'POST'
2828
3118
  },
2829
3119
  options);
2830
3120
  }
2831
3121
 
2832
3122
  /**
2833
- * @summary Update a message
3123
+ * @summary Update a DM message
2834
3124
  */
2835
- const channelsControllerUpdateMessage = (
2836
- channelId: string,
3125
+ const dmsControllerUpdateMessage = (
3126
+ conversationId: string,
2837
3127
  messageId: string,
2838
- channelsControllerUpdateMessageBody: BodyType<ChannelsControllerUpdateMessageBody>,
3128
+ updateDmMessageDto: BodyType<UpdateDmMessageDto>,
2839
3129
  options?: SecondParameter<typeof customInstance>,) => {
2840
3130
  return customInstance<void>(
2841
- {url: `/api/channels/${channelId}/messages/${messageId}`, method: 'PATCH',
3131
+ {url: `/api/dms/${conversationId}/messages/${messageId}`, method: 'PATCH',
2842
3132
  headers: {'Content-Type': 'application/json', },
2843
- data: channelsControllerUpdateMessageBody
3133
+ data: updateDmMessageDto
2844
3134
  },
2845
3135
  options);
2846
3136
  }
2847
3137
 
2848
3138
  /**
2849
- * @summary Delete a message
3139
+ * @summary Delete a DM message
2850
3140
  */
2851
- const channelsControllerDeleteMessage = (
2852
- channelId: string,
3141
+ const dmsControllerDeleteMessage = (
3142
+ conversationId: string,
2853
3143
  messageId: string,
2854
3144
  options?: SecondParameter<typeof customInstance>,) => {
2855
3145
  return customInstance<void>(
2856
- {url: `/api/channels/${channelId}/messages/${messageId}`, method: 'DELETE'
3146
+ {url: `/api/dms/${conversationId}/messages/${messageId}`, method: 'DELETE'
2857
3147
  },
2858
3148
  options);
2859
3149
  }
2860
3150
 
2861
3151
  /**
2862
- * @summary Mark messages as read
3152
+ * @summary Mark messages as read in a DM
3153
+ */
3154
+ const dmsControllerMarkAsRead = (
3155
+ conversationId: string,
3156
+ markAsReadDto: BodyType<MarkAsReadDto>,
3157
+ options?: SecondParameter<typeof customInstance>,) => {
3158
+ return customInstance<void>(
3159
+ {url: `/api/dms/${conversationId}/messages/read`, method: 'POST',
3160
+ headers: {'Content-Type': 'application/json', },
3161
+ data: markAsReadDto
3162
+ },
3163
+ options);
3164
+ }
3165
+
3166
+ /**
3167
+ * @summary Add a reaction to a DM message
3168
+ */
3169
+ const dmsControllerAddReaction = (
3170
+ conversationId: string,
3171
+ messageId: string,
3172
+ dmsControllerAddReactionBody: BodyType<DmsControllerAddReactionBody>,
3173
+ options?: SecondParameter<typeof customInstance>,) => {
3174
+ return customInstance<void>(
3175
+ {url: `/api/dms/${conversationId}/messages/${messageId}/reactions`, method: 'POST',
3176
+ headers: {'Content-Type': 'application/json', },
3177
+ data: dmsControllerAddReactionBody
3178
+ },
3179
+ options);
3180
+ }
3181
+
3182
+ /**
3183
+ * @summary Remove a reaction from a DM message
3184
+ */
3185
+ const dmsControllerRemoveReaction = (
3186
+ conversationId: string,
3187
+ messageId: string,
3188
+ emoji: string,
3189
+ options?: SecondParameter<typeof customInstance>,) => {
3190
+ return customInstance<void>(
3191
+ {url: `/api/dms/${conversationId}/messages/${messageId}/reactions/${emoji}`, method: 'DELETE'
3192
+ },
3193
+ options);
3194
+ }
3195
+
3196
+ /**
3197
+ * @summary Get invitations for the current user
3198
+ */
3199
+ const invitationsControllerGetInvitations = (
3200
+ params?: InvitationsControllerGetInvitationsParams,
3201
+ options?: SecondParameter<typeof customInstance>,) => {
3202
+ return customInstance<void>(
3203
+ {url: `/api/invitations`, method: 'GET',
3204
+ params
3205
+ },
3206
+ options);
3207
+ }
3208
+
3209
+ /**
3210
+ * @summary Create a new invitation
3211
+ */
3212
+ const invitationsControllerCreateInvitation = (
3213
+ createInvitationDto: BodyType<CreateInvitationDto>,
3214
+ options?: SecondParameter<typeof customInstance>,) => {
3215
+ return customInstance<void>(
3216
+ {url: `/api/invitations`, method: 'POST',
3217
+ headers: {'Content-Type': 'application/json', },
3218
+ data: createInvitationDto
3219
+ },
3220
+ options);
3221
+ }
3222
+
3223
+ /**
3224
+ * @summary Get invitation details by token
3225
+ */
3226
+ const invitationsControllerGetInvitationByToken = (
3227
+ token: string,
3228
+ options?: SecondParameter<typeof customInstance>,) => {
3229
+ return customInstance<void>(
3230
+ {url: `/api/invitations/${token}`, method: 'GET'
3231
+ },
3232
+ options);
3233
+ }
3234
+
3235
+ /**
3236
+ * @summary Accept an invitation
3237
+ */
3238
+ const invitationsControllerAcceptInvitation = (
3239
+ token: string,
3240
+ options?: SecondParameter<typeof customInstance>,) => {
3241
+ return customInstance<void>(
3242
+ {url: `/api/invitations/${token}/accept`, method: 'POST'
3243
+ },
3244
+ options);
3245
+ }
3246
+
3247
+ /**
3248
+ * @summary Handle Plane webhook
3249
+ */
3250
+ const integrationsControllerHandlePlaneWebhook = (
3251
+
3252
+ options?: SecondParameter<typeof customInstance>,) => {
3253
+ return customInstance<void>(
3254
+ {url: `/api/integrations/plane/webhook`, method: 'POST'
3255
+ },
3256
+ options);
3257
+ }
3258
+
3259
+ /**
3260
+ * @summary Handle Huly webhook
3261
+ */
3262
+ const integrationsControllerHandleHulyWebhook = (
3263
+ id: string,
3264
+ options?: SecondParameter<typeof customInstance>,) => {
3265
+ return customInstance<void>(
3266
+ {url: `/api/integrations/huly/webhook/${id}`, method: 'POST'
3267
+ },
3268
+ options);
3269
+ }
3270
+
3271
+ /**
3272
+ * @summary Get integration statistics
3273
+ */
3274
+ const integrationsControllerGetStats = (
3275
+
3276
+ options?: SecondParameter<typeof customInstance>,) => {
3277
+ return customInstance<void>(
3278
+ {url: `/api/integrations/stats`, method: 'GET'
3279
+ },
3280
+ options);
3281
+ }
3282
+
3283
+ /**
3284
+ * @summary Get all integration webhooks
3285
+ */
3286
+ const integrationsControllerGetWebhooks = (
3287
+
3288
+ options?: SecondParameter<typeof customInstance>,) => {
3289
+ return customInstance<void>(
3290
+ {url: `/api/integrations/webhooks`, method: 'GET'
3291
+ },
3292
+ options);
3293
+ }
3294
+
3295
+ /**
3296
+ * @summary Create an integration webhook
3297
+ */
3298
+ const integrationsControllerCreateWebhook = (
3299
+ createIntegrationWebhookDto: BodyType<CreateIntegrationWebhookDto>,
3300
+ options?: SecondParameter<typeof customInstance>,) => {
3301
+ return customInstance<void>(
3302
+ {url: `/api/integrations/webhooks`, method: 'POST',
3303
+ headers: {'Content-Type': 'application/json', },
3304
+ data: createIntegrationWebhookDto
3305
+ },
3306
+ options);
3307
+ }
3308
+
3309
+ /**
3310
+ * @summary Update an integration webhook
3311
+ */
3312
+ const integrationsControllerUpdateWebhook = (
3313
+ webhookId: string,
3314
+ options?: SecondParameter<typeof customInstance>,) => {
3315
+ return customInstance<void>(
3316
+ {url: `/api/integrations/webhooks/${webhookId}`, method: 'PATCH'
3317
+ },
3318
+ options);
3319
+ }
3320
+
3321
+ /**
3322
+ * @summary Delete an integration webhook
3323
+ */
3324
+ const integrationsControllerDeleteWebhook = (
3325
+ webhookId: string,
3326
+ options?: SecondParameter<typeof customInstance>,) => {
3327
+ return customInstance<void>(
3328
+ {url: `/api/integrations/webhooks/${webhookId}`, method: 'DELETE'
3329
+ },
3330
+ options);
3331
+ }
3332
+
3333
+ /**
3334
+ * @summary Get integration webhook logs
3335
+ */
3336
+ const integrationsControllerGetWebhookLogs = (
3337
+ webhookId: string,
3338
+ options?: SecondParameter<typeof customInstance>,) => {
3339
+ return customInstance<void>(
3340
+ {url: `/api/integrations/webhooks/${webhookId}/logs`, method: 'GET'
3341
+ },
3342
+ options);
3343
+ }
3344
+
3345
+ /**
3346
+ * @summary Get all integration API keys
3347
+ */
3348
+ const integrationsControllerGetApiKeys = (
3349
+
3350
+ options?: SecondParameter<typeof customInstance>,) => {
3351
+ return customInstance<void>(
3352
+ {url: `/api/integrations/api-keys`, method: 'GET'
3353
+ },
3354
+ options);
3355
+ }
3356
+
3357
+ /**
3358
+ * @summary Update an integration API key
3359
+ */
3360
+ const integrationsControllerUpdateApiKey = (
3361
+ keyId: string,
3362
+ options?: SecondParameter<typeof customInstance>,) => {
3363
+ return customInstance<void>(
3364
+ {url: `/api/integrations/api-keys/${keyId}`, method: 'PATCH'
3365
+ },
3366
+ options);
3367
+ }
3368
+
3369
+ /**
3370
+ * @summary Delete an integration API key
3371
+ */
3372
+ const integrationsControllerDeleteApiKey = (
3373
+ keyId: string,
3374
+ options?: SecondParameter<typeof customInstance>,) => {
3375
+ return customInstance<void>(
3376
+ {url: `/api/integrations/api-keys/${keyId}`, method: 'DELETE'
3377
+ },
3378
+ options);
3379
+ }
3380
+
3381
+ /**
3382
+ * @summary Get all integrations for a workspace
3383
+ */
3384
+ const workspaceIntegrationsControllerGetWorkspaceIntegrations = (
3385
+ slug: string,
3386
+ options?: SecondParameter<typeof customInstance>,) => {
3387
+ return customInstance<void>(
3388
+ {url: `/api/workspaces/${slug}/integrations`, method: 'GET'
3389
+ },
3390
+ options);
3391
+ }
3392
+
3393
+ /**
3394
+ * @summary Create a new integration for a workspace
3395
+ */
3396
+ const workspaceIntegrationsControllerCreateWorkspaceIntegration = (
3397
+ slug: string,
3398
+ createIntegrationDto: BodyType<CreateIntegrationDto>,
3399
+ options?: SecondParameter<typeof customInstance>,) => {
3400
+ return customInstance<void>(
3401
+ {url: `/api/workspaces/${slug}/integrations`, method: 'POST',
3402
+ headers: {'Content-Type': 'application/json', },
3403
+ data: createIntegrationDto
3404
+ },
3405
+ options);
3406
+ }
3407
+
3408
+ /**
3409
+ * @summary Get integration details
3410
+ */
3411
+ const workspaceIntegrationsControllerGetWorkspaceIntegration = (
3412
+ slug: string,
3413
+ integrationId: string,
3414
+ options?: SecondParameter<typeof customInstance>,) => {
3415
+ return customInstance<void>(
3416
+ {url: `/api/workspaces/${slug}/integrations/${integrationId}`, method: 'GET'
3417
+ },
3418
+ options);
3419
+ }
3420
+
3421
+ /**
3422
+ * @summary Update an integration
3423
+ */
3424
+ const workspaceIntegrationsControllerUpdateWorkspaceIntegration = (
3425
+ slug: string,
3426
+ integrationId: string,
3427
+ options?: SecondParameter<typeof customInstance>,) => {
3428
+ return customInstance<void>(
3429
+ {url: `/api/workspaces/${slug}/integrations/${integrationId}`, method: 'PATCH'
3430
+ },
3431
+ options);
3432
+ }
3433
+
3434
+ /**
3435
+ * @summary Delete an integration
3436
+ */
3437
+ const workspaceIntegrationsControllerDeleteWorkspaceIntegration = (
3438
+ slug: string,
3439
+ integrationId: string,
3440
+ options?: SecondParameter<typeof customInstance>,) => {
3441
+ return customInstance<void>(
3442
+ {url: `/api/workspaces/${slug}/integrations/${integrationId}`, method: 'DELETE'
3443
+ },
3444
+ options);
3445
+ }
3446
+
3447
+ /**
3448
+ * @summary Test an integration
3449
+ */
3450
+ const workspaceIntegrationsControllerTestWorkspaceIntegration = (
3451
+ slug: string,
3452
+ integrationId: string,
3453
+ options?: SecondParameter<typeof customInstance>,) => {
3454
+ return customInstance<void>(
3455
+ {url: `/api/workspaces/${slug}/integrations/${integrationId}/test`, method: 'POST'
3456
+ },
3457
+ options);
3458
+ }
3459
+
3460
+ /**
3461
+ * @summary Get all integration webhooks for a workspace
3462
+ */
3463
+ const workspaceIntegrationsControllerGetWorkspaceWebhooks = (
3464
+ slug: string,
3465
+ options?: SecondParameter<typeof customInstance>,) => {
3466
+ return customInstance<void>(
3467
+ {url: `/api/workspaces/${slug}/integrations/webhooks`, method: 'GET'
3468
+ },
3469
+ options);
3470
+ }
3471
+
3472
+ /**
3473
+ * @summary Create an integration webhook for a workspace
3474
+ */
3475
+ const workspaceIntegrationsControllerCreateWorkspaceWebhook = (
3476
+ slug: string,
3477
+ createIntegrationWebhookDto: BodyType<CreateIntegrationWebhookDto>,
3478
+ options?: SecondParameter<typeof customInstance>,) => {
3479
+ return customInstance<void>(
3480
+ {url: `/api/workspaces/${slug}/integrations/webhooks`, method: 'POST',
3481
+ headers: {'Content-Type': 'application/json', },
3482
+ data: createIntegrationWebhookDto
3483
+ },
3484
+ options);
3485
+ }
3486
+
3487
+ const ablyControllerGetToken = (
3488
+
3489
+ options?: SecondParameter<typeof customInstance>,) => {
3490
+ return customInstance<void>(
3491
+ {url: `/api/ably/token`, method: 'POST'
3492
+ },
3493
+ options);
3494
+ }
3495
+
3496
+ /**
3497
+ * @summary Upload a file
3498
+ */
3499
+ const storageControllerUploadFile = (
3500
+ storageControllerUploadFileBody: BodyType<StorageControllerUploadFileBody>,
3501
+ options?: SecondParameter<typeof customInstance>,) => {const formData = new FormData();
3502
+ if(storageControllerUploadFileBody.file !== undefined) {
3503
+ formData.append('file', storageControllerUploadFileBody.file)
3504
+ }
3505
+
3506
+ return customInstance<void>(
3507
+ {url: `/api/storage/upload`, method: 'POST',
3508
+ headers: {'Content-Type': 'multipart/form-data', },
3509
+ data: formData
3510
+ },
3511
+ options);
3512
+ }
3513
+
3514
+ /**
3515
+ * @summary Proxy file request using high-performance streaming
3516
+ */
3517
+ const shortUrlControllerRedirect = (
3518
+ code: string,
3519
+ options?: SecondParameter<typeof customInstance>,) => {
3520
+ return customInstance<void>(
3521
+ {url: `/s/${code}`, method: 'GET'
3522
+ },
3523
+ options);
3524
+ }
3525
+
3526
+ /**
3527
+ * @summary Start a new call
3528
+ */
3529
+ const callsControllerStartCall = (
3530
+ startCallDto: BodyType<StartCallDto>,
3531
+ options?: SecondParameter<typeof customInstance>,) => {
3532
+ return customInstance<void>(
3533
+ {url: `/api/calls`, method: 'POST',
3534
+ headers: {'Content-Type': 'application/json', },
3535
+ data: startCallDto
3536
+ },
3537
+ options);
3538
+ }
3539
+
3540
+ /**
3541
+ * @summary Update call state
3542
+ */
3543
+ const callsControllerUpdateCall = (
3544
+ callId: string,
3545
+ updateCallDto: BodyType<UpdateCallDto>,
3546
+ options?: SecondParameter<typeof customInstance>,) => {
3547
+ return customInstance<void>(
3548
+ {url: `/api/calls/${callId}`, method: 'PATCH',
3549
+ headers: {'Content-Type': 'application/json', },
3550
+ data: updateCallDto
3551
+ },
3552
+ options);
3553
+ }
3554
+
3555
+ /**
3556
+ * @summary Invite a user to a call
2863
3557
  */
2864
- const channelsControllerMarkAsRead = (
2865
- channelId: string,
2866
- channelsControllerMarkAsReadBody: BodyType<ChannelsControllerMarkAsReadBody>,
3558
+ const callsControllerInviteToCall = (
3559
+ callId: string,
2867
3560
  options?: SecondParameter<typeof customInstance>,) => {
2868
3561
  return customInstance<void>(
2869
- {url: `/api/channels/${channelId}/messages/read`, method: 'POST',
2870
- headers: {'Content-Type': 'application/json', },
2871
- data: channelsControllerMarkAsReadBody
3562
+ {url: `/api/calls/${callId}/invite`, method: 'POST'
2872
3563
  },
2873
3564
  options);
2874
3565
  }
2875
3566
 
2876
3567
  /**
2877
- * @summary Add a reaction to a message
3568
+ * @summary Get participants in a call
2878
3569
  */
2879
- const channelsControllerAddReaction = (
2880
- channelId: string,
2881
- messageId: string,
2882
- channelsControllerAddReactionBody: BodyType<ChannelsControllerAddReactionBody>,
3570
+ const callsControllerGetParticipants = (
3571
+ callId: string,
2883
3572
  options?: SecondParameter<typeof customInstance>,) => {
2884
3573
  return customInstance<void>(
2885
- {url: `/api/channels/${channelId}/messages/${messageId}/reactions`, method: 'POST',
2886
- headers: {'Content-Type': 'application/json', },
2887
- data: channelsControllerAddReactionBody
3574
+ {url: `/api/calls/${callId}/participants`, method: 'GET'
2888
3575
  },
2889
3576
  options);
2890
3577
  }
2891
3578
 
2892
3579
  /**
2893
- * @summary Remove a reaction from a message
3580
+ * @summary Get scheduled calls for a workspace
2894
3581
  */
2895
- const channelsControllerRemoveReaction = (
2896
- channelId: string,
2897
- messageId: string,
2898
- emoji: string,
3582
+ const callsControllerGetScheduledCalls = (
3583
+ params?: CallsControllerGetScheduledCallsParams,
2899
3584
  options?: SecondParameter<typeof customInstance>,) => {
2900
3585
  return customInstance<void>(
2901
- {url: `/api/channels/${channelId}/messages/${messageId}/reactions/${emoji}`, method: 'DELETE'
3586
+ {url: `/api/calls/scheduled`, method: 'GET',
3587
+ params
2902
3588
  },
2903
3589
  options);
2904
3590
  }
2905
3591
 
2906
3592
  /**
2907
- * @summary Share a channel with another workspace
3593
+ * @summary Schedule a call
2908
3594
  */
2909
- const channelsControllerShareChannel = (
2910
- channelId: string,
3595
+ const callsControllerScheduleCall = (
3596
+ scheduleCallDto: BodyType<ScheduleCallDto>,
2911
3597
  options?: SecondParameter<typeof customInstance>,) => {
2912
3598
  return customInstance<void>(
2913
- {url: `/api/channels/${channelId}/share`, method: 'POST'
3599
+ {url: `/api/calls/scheduled`, method: 'POST',
3600
+ headers: {'Content-Type': 'application/json', },
3601
+ data: scheduleCallDto
2914
3602
  },
2915
3603
  options);
2916
3604
  }
2917
3605
 
2918
3606
  /**
2919
- * @summary Reply to a message
3607
+ * @summary Play a soundboard sound
2920
3608
  */
2921
- const channelsControllerCreateReply = (
2922
- channelId: string,
2923
- messageId: string,
3609
+ const callsControllerPlaySoundboardSound = (
3610
+ soundboardSoundDto: BodyType<SoundboardSoundDto>,
2924
3611
  options?: SecondParameter<typeof customInstance>,) => {
2925
3612
  return customInstance<void>(
2926
- {url: `/api/channels/${channelId}/messages/${messageId}/reply`, method: 'POST'
3613
+ {url: `/api/calls/soundboard`, method: 'POST',
3614
+ headers: {'Content-Type': 'application/json', },
3615
+ data: soundboardSoundDto
2927
3616
  },
2928
3617
  options);
2929
3618
  }
@@ -3070,156 +3759,6 @@ if(adminControllerUploadFileBody.file !== undefined) {
3070
3759
  options);
3071
3760
  }
3072
3761
 
3073
- /**
3074
- * @summary Get all DM conversations for the current user
3075
- */
3076
- const dmsControllerGetDms = (
3077
-
3078
- options?: SecondParameter<typeof customInstance>,) => {
3079
- return customInstance<void>(
3080
- {url: `/api/dms`, method: 'GET'
3081
- },
3082
- options);
3083
- }
3084
-
3085
- /**
3086
- * @summary Start a new DM conversation
3087
- */
3088
- const dmsControllerCreateDm = (
3089
- createDmDto: BodyType<CreateDmDto>,
3090
- options?: SecondParameter<typeof customInstance>,) => {
3091
- return customInstance<void>(
3092
- {url: `/api/dms`, method: 'POST',
3093
- headers: {'Content-Type': 'application/json', },
3094
- data: createDmDto
3095
- },
3096
- options);
3097
- }
3098
-
3099
- /**
3100
- * @summary Get DM conversation details
3101
- */
3102
- const dmsControllerGetDm = (
3103
- conversationId: string,
3104
- options?: SecondParameter<typeof customInstance>,) => {
3105
- return customInstance<void>(
3106
- {url: `/api/dms/${conversationId}`, method: 'GET'
3107
- },
3108
- options);
3109
- }
3110
-
3111
- /**
3112
- * @summary Delete a DM conversation
3113
- */
3114
- const dmsControllerDeleteDm = (
3115
- conversationId: string,
3116
- options?: SecondParameter<typeof customInstance>,) => {
3117
- return customInstance<void>(
3118
- {url: `/api/dms/${conversationId}`, method: 'DELETE'
3119
- },
3120
- options);
3121
- }
3122
-
3123
- /**
3124
- * @summary Get messages in a DM conversation
3125
- */
3126
- const dmsControllerGetMessages = (
3127
- conversationId: string,
3128
- params?: DmsControllerGetMessagesParams,
3129
- options?: SecondParameter<typeof customInstance>,) => {
3130
- return customInstance<void>(
3131
- {url: `/api/dms/${conversationId}/messages`, method: 'GET',
3132
- params
3133
- },
3134
- options);
3135
- }
3136
-
3137
- /**
3138
- * @summary Send a message in a DM
3139
- */
3140
- const dmsControllerCreateMessage = (
3141
- conversationId: string,
3142
- options?: SecondParameter<typeof customInstance>,) => {
3143
- return customInstance<void>(
3144
- {url: `/api/dms/${conversationId}/messages`, method: 'POST'
3145
- },
3146
- options);
3147
- }
3148
-
3149
- /**
3150
- * @summary Update a DM message
3151
- */
3152
- const dmsControllerUpdateMessage = (
3153
- conversationId: string,
3154
- messageId: string,
3155
- updateDmMessageDto: BodyType<UpdateDmMessageDto>,
3156
- options?: SecondParameter<typeof customInstance>,) => {
3157
- return customInstance<void>(
3158
- {url: `/api/dms/${conversationId}/messages/${messageId}`, method: 'PATCH',
3159
- headers: {'Content-Type': 'application/json', },
3160
- data: updateDmMessageDto
3161
- },
3162
- options);
3163
- }
3164
-
3165
- /**
3166
- * @summary Delete a DM message
3167
- */
3168
- const dmsControllerDeleteMessage = (
3169
- conversationId: string,
3170
- messageId: string,
3171
- options?: SecondParameter<typeof customInstance>,) => {
3172
- return customInstance<void>(
3173
- {url: `/api/dms/${conversationId}/messages/${messageId}`, method: 'DELETE'
3174
- },
3175
- options);
3176
- }
3177
-
3178
- /**
3179
- * @summary Mark messages as read in a DM
3180
- */
3181
- const dmsControllerMarkAsRead = (
3182
- conversationId: string,
3183
- markAsReadDto: BodyType<MarkAsReadDto>,
3184
- options?: SecondParameter<typeof customInstance>,) => {
3185
- return customInstance<void>(
3186
- {url: `/api/dms/${conversationId}/messages/read`, method: 'POST',
3187
- headers: {'Content-Type': 'application/json', },
3188
- data: markAsReadDto
3189
- },
3190
- options);
3191
- }
3192
-
3193
- /**
3194
- * @summary Add a reaction to a DM message
3195
- */
3196
- const dmsControllerAddReaction = (
3197
- conversationId: string,
3198
- messageId: string,
3199
- dmsControllerAddReactionBody: BodyType<DmsControllerAddReactionBody>,
3200
- options?: SecondParameter<typeof customInstance>,) => {
3201
- return customInstance<void>(
3202
- {url: `/api/dms/${conversationId}/messages/${messageId}/reactions`, method: 'POST',
3203
- headers: {'Content-Type': 'application/json', },
3204
- data: dmsControllerAddReactionBody
3205
- },
3206
- options);
3207
- }
3208
-
3209
- /**
3210
- * @summary Remove a reaction from a DM message
3211
- */
3212
- const dmsControllerRemoveReaction = (
3213
- conversationId: string,
3214
- messageId: string,
3215
- emoji: string,
3216
- options?: SecondParameter<typeof customInstance>,) => {
3217
- return customInstance<void>(
3218
- {url: `/api/dms/${conversationId}/messages/${messageId}/reactions/${emoji}`, method: 'DELETE'
3219
- },
3220
- options);
3221
- }
3222
-
3223
3762
  /**
3224
3763
  * @summary Get list of friends
3225
3764
  */
@@ -4185,12 +4724,12 @@ const scheduledNotificationsControllerCreateNotification = (
4185
4724
  */
4186
4725
  const scheduledNotificationsControllerUpdateNotification = (
4187
4726
  id: string,
4188
- scheduledNotificationsControllerUpdateNotificationBody: BodyType<ScheduledNotificationsControllerUpdateNotificationBody>,
4727
+ updateScheduledNotificationDto: BodyType<UpdateScheduledNotificationDto>,
4189
4728
  options?: SecondParameter<typeof customInstance>,) => {
4190
4729
  return customInstance<void>(
4191
4730
  {url: `/api/scheduled-notifications/${id}`, method: 'PATCH',
4192
4731
  headers: {'Content-Type': 'application/json', },
4193
- data: scheduledNotificationsControllerUpdateNotificationBody
4732
+ data: updateScheduledNotificationDto
4194
4733
  },
4195
4734
  options);
4196
4735
  }
@@ -4223,10 +4762,12 @@ const assetsControllerGetEligibleAssets = (
4223
4762
  * @summary Create a support ticket
4224
4763
  */
4225
4764
  const supportControllerCreateTicket = (
4226
-
4765
+ createTicketDto: BodyType<CreateTicketDto>,
4227
4766
  options?: SecondParameter<typeof customInstance>,) => {
4228
4767
  return customInstance<void>(
4229
- {url: `/api/support/tickets`, method: 'POST'
4768
+ {url: `/api/support/tickets`, method: 'POST',
4769
+ headers: {'Content-Type': 'application/json', },
4770
+ data: createTicketDto
4230
4771
  },
4231
4772
  options);
4232
4773
  }
@@ -4248,10 +4789,12 @@ const supportControllerGetTickets = (
4248
4789
  * @summary Start a live chat session
4249
4790
  */
4250
4791
  const supportControllerStartLiveChat = (
4251
-
4792
+ startLiveChatDto: BodyType<StartLiveChatDto>,
4252
4793
  options?: SecondParameter<typeof customInstance>,) => {
4253
4794
  return customInstance<void>(
4254
- {url: `/api/support/live-chat`, method: 'POST'
4795
+ {url: `/api/support/live-chat`, method: 'POST',
4796
+ headers: {'Content-Type': 'application/json', },
4797
+ data: startLiveChatDto
4255
4798
  },
4256
4799
  options);
4257
4800
  }
@@ -4273,9 +4816,12 @@ const supportControllerEndLiveChat = (
4273
4816
  */
4274
4817
  const supportControllerUpdateTicketStatus = (
4275
4818
  ticketId: string,
4819
+ updateTicketStatusDto: BodyType<UpdateTicketStatusDto>,
4276
4820
  options?: SecondParameter<typeof customInstance>,) => {
4277
4821
  return customInstance<void>(
4278
- {url: `/api/support/tickets/${ticketId}/status`, method: 'PATCH'
4822
+ {url: `/api/support/tickets/${ticketId}/status`, method: 'PATCH',
4823
+ headers: {'Content-Type': 'application/json', },
4824
+ data: updateTicketStatusDto
4279
4825
  },
4280
4826
  options);
4281
4827
  }
@@ -4285,9 +4831,12 @@ const supportControllerUpdateTicketStatus = (
4285
4831
  */
4286
4832
  const supportControllerAssignTicket = (
4287
4833
  ticketId: string,
4834
+ assignTicketDto: BodyType<AssignTicketDto>,
4288
4835
  options?: SecondParameter<typeof customInstance>,) => {
4289
4836
  return customInstance<void>(
4290
- {url: `/api/support/tickets/${ticketId}/assign`, method: 'PATCH'
4837
+ {url: `/api/support/tickets/${ticketId}/assign`, method: 'PATCH',
4838
+ headers: {'Content-Type': 'application/json', },
4839
+ data: assignTicketDto
4291
4840
  },
4292
4841
  options);
4293
4842
  }
@@ -4296,10 +4845,12 @@ const supportControllerAssignTicket = (
4296
4845
  * @summary Create or update customer profile
4297
4846
  */
4298
4847
  const supportControllerCreateCustomerProfile = (
4299
-
4848
+ createCustomerProfileDto: BodyType<CreateCustomerProfileDto>,
4300
4849
  options?: SecondParameter<typeof customInstance>,) => {
4301
4850
  return customInstance<void>(
4302
- {url: `/api/support/customers`, method: 'POST'
4851
+ {url: `/api/support/customers`, method: 'POST',
4852
+ headers: {'Content-Type': 'application/json', },
4853
+ data: createCustomerProfileDto
4303
4854
  },
4304
4855
  options);
4305
4856
  }
@@ -4317,7 +4868,7 @@ const supportControllerGetCustomerProfiles = (
4317
4868
  options);
4318
4869
  }
4319
4870
 
4320
- return {appControllerGetHealth,appControllerGetHello,appControllerGetRealtimeConfig,appControllerGetLinkPreview,usersControllerGetUsers,usersControllerSearchUsers,usersControllerGetMe,usersControllerPatchMe,usersControllerUpdateMe,usersControllerGetUser,usersControllerPatchUser,usersControllerGetSocialProfile,usersControllerBlockUser,usersControllerUnblockUser,usersControllerUpdateMyStatus,usersControllerRegisterDeviceToken,usersControllerGetDeviceTokens,usersControllerDeleteDeviceToken,v10UsersControllerGetUser,v10UsersControllerGetMe,v10GatewayControllerGetBotGateway,v10GatewayControllerBotAuth,v10ChannelsControllerGetChannel,v10ChannelsControllerCreateMessage,v10ChannelsControllerGetMessages,v10ChannelsControllerUpdateMessage,v10ChannelsControllerDeleteMessage,v10GuildsControllerGetGuild,v10GuildsControllerGetChannels,v10GuildsControllerGetMembers,v10GuildsControllerGetRoles,v10GuildsControllerAddMemberRole,v10GuildsControllerRemoveMemberRole,v10ApplicationsControllerGetCommands,v10ApplicationsControllerCreateCommand,v10ApplicationsControllerGetGuildCommands,v10ApplicationsControllerCreateGuildCommand,v10InteractionsControllerHandleCallback,v10EnterpriseControllerCreateAnnouncement,v3OAuthControllerGetToken,v3WorkspacesControllerGetWorkspaces,v3WorkspacesControllerProvisionWorkspace,v3WorkspacesControllerGetWorkspaceBySlug,v3WorkspacesControllerUpdateWorkspace,v3WorkspacesControllerDeleteWorkspace,v3WorkspacesControllerGetWorkspaceMembers,v3WorkspacesControllerAddWorkspaceMember,v3WorkspacesControllerGetWorkspaceMember,v3WorkspacesControllerUpdateWorkspaceMember,v3WorkspacesControllerDeleteWorkspaceMember,v3WorkspacesControllerGetChannels,v3WorkspacesControllerCreateChannel,v3WorkspacesControllerGetChannel,v3WorkspacesControllerUpdateChannel,v3WorkspacesControllerDeleteChannel,v3WorkspacesControllerGetChannelMembers,v3WorkspacesControllerAddChannelMembers,v3WorkspacesControllerUpdateChannelMember,v3WorkspacesControllerDeleteChannelMember,v3WebhooksControllerGetWebhooks,v3WebhooksControllerCreateWebhook,v3WebhooksControllerGetWebhook,v3WebhooksControllerUpdateWebhook,v3WebhooksControllerDeleteWebhook,v3ChannelIncomingWebhooksControllerGetChannelWebhooks,v3ChannelIncomingWebhooksControllerCreateChannelWebhook,v3ChannelIncomingWebhooksControllerGetChannelWebhook,v3ChannelIncomingWebhooksControllerUpdateChannelWebhook,v3ChannelIncomingWebhooksControllerDeleteChannelWebhook,v3ChannelIncomingWebhooksControllerExecuteWebhookByUrlToken,v3ChannelIncomingWebhooksControllerExecuteWebhookByChannelId,v3OrganizationsControllerGetOrganizationWorkspaces,v3OrganizationsControllerGetOrganization,v3OrganizationsControllerUpdateOrganization,v3OrganizationsControllerGetM2mApplications,v3OrganizationsControllerCreateM2mApplication,v3OrganizationsControllerUpdateM2mApplication,v3OrganizationsControllerDeleteM2mApplication,notificationsControllerGetNotifications,notificationsControllerGetNotificationById,notificationsControllerUpdateNotification,notificationsControllerDeleteNotification,notificationsControllerMarkAllRead,notificationsControllerGetWorkspaceSettings,notificationsControllerUpdateWorkspaceSettings,notificationsControllerGetChannelSettings,notificationsControllerUpdateChannelSettings,invitationsControllerGetInvitations,invitationsControllerCreateInvitation,invitationsControllerGetInvitationByToken,invitationsControllerAcceptInvitation,integrationsControllerHandlePlaneWebhook,integrationsControllerHandleHulyWebhook,integrationsControllerGetStats,integrationsControllerGetWebhooks,integrationsControllerCreateWebhook,integrationsControllerUpdateWebhook,integrationsControllerDeleteWebhook,integrationsControllerGetWebhookLogs,integrationsControllerGetApiKeys,integrationsControllerUpdateApiKey,integrationsControllerDeleteApiKey,workspaceIntegrationsControllerGetWorkspaceIntegrations,workspaceIntegrationsControllerCreateWorkspaceIntegration,workspaceIntegrationsControllerGetWorkspaceIntegration,workspaceIntegrationsControllerUpdateWorkspaceIntegration,workspaceIntegrationsControllerDeleteWorkspaceIntegration,workspaceIntegrationsControllerTestWorkspaceIntegration,workspaceIntegrationsControllerGetWorkspaceWebhooks,workspaceIntegrationsControllerCreateWorkspaceWebhook,ablyControllerGetToken,storageControllerUploadFile,shortUrlControllerRedirect,callsControllerStartCall,callsControllerUpdateCall,callsControllerInviteToCall,callsControllerGetParticipants,callsControllerGetScheduledCalls,callsControllerScheduleCall,callsControllerPlaySoundboardSound,channelsControllerGetGlobalChannels,channelsControllerCreateChannel,channelsControllerGetMessages,channelsControllerCreateMessage,channelsControllerUpdateMessage,channelsControllerDeleteMessage,channelsControllerMarkAsRead,channelsControllerAddReaction,channelsControllerRemoveReaction,channelsControllerShareChannel,channelsControllerCreateReply,adminControllerGetStats,adminControllerGetMembers,adminControllerUpdateMemberRole,adminControllerGetAssets,adminControllerCreateAsset,adminControllerUpdateAsset,adminControllerDeleteAsset,adminControllerGetProfileAssets,adminControllerCreateProfileAsset,adminControllerGetAssetStats,adminControllerUploadFile,dmsControllerGetDms,dmsControllerCreateDm,dmsControllerGetDm,dmsControllerDeleteDm,dmsControllerGetMessages,dmsControllerCreateMessage,dmsControllerUpdateMessage,dmsControllerDeleteMessage,dmsControllerMarkAsRead,dmsControllerAddReaction,dmsControllerRemoveReaction,friendsControllerGetFriends,friendsControllerGetFriendRequests,friendsControllerSendFriendRequest,friendsControllerUpdateFriendRequest,friendsControllerDeleteFriendRequest,workspacesControllerGetWorkspaces,workspacesControllerCreateWorkspace,workspacesControllerGetWorkspaceRoles,workspacesControllerGetWorkspaceSlugRoles,workspacesControllerDiscoverWorkspaces,workspacesControllerJoinWorkspace,workspacesControllerGetWorkspaceBySlug,workspacesControllerUpdateWorkspaceBySlug,workspacesControllerDeleteWorkspaceBySlug,membersControllerGetWorkspaceMembers,membersControllerUpdateMember,membersControllerRemoveMember,channelsControllerGetWorkspaceChannels,channelsControllerGetChannel,channelsControllerUpdateChannel,channelsControllerDeleteChannel,channelsControllerGetChannelMembers,channelsControllerAddChannelMembers,channelsControllerUpdateChannelMember,channelsControllerRemoveChannelMember,departmentsControllerGetDepartments,departmentsControllerCreateDepartment,departmentsControllerGetDepartment,departmentsControllerUpdateDepartment,departmentsControllerDeleteDepartment,departmentsControllerGetAnnouncements,departmentsControllerCreateAnnouncement,teamsControllerGetTeams,teamsControllerCreateTeam,teamsControllerAddMember,teamsControllerRemoveMember,messagesControllerGetMessages,messagesControllerCreateMessage,messagesControllerUpdateMessage,messagesControllerDeleteMessage,messagesControllerMarkAsRead,messagesControllerAddReaction,messagesControllerRemoveReaction,messagesControllerCreateReply,emojisControllerGetEmojis,emojisControllerCreateEmoji,auditLogsControllerGetAuditLogs,auditLogsControllerExportAuditLogs,inviteLinksControllerGetInviteLinks,inviteLinksControllerCreateInviteLink,apiTokensControllerGetApiTokens,apiTokensControllerCreateApiToken,apiTokensControllerDeleteApiToken,webhooksControllerGetWebhooks,webhooksControllerCreateWebhook,webhooksControllerUpdateWebhook,webhooksControllerDeleteWebhook,callsControllerGetActiveCalls,searchControllerSearch,deviceAuthControllerGenerateQR,deviceAuthControllerCheckStatus,deviceAuthControllerAuthorize,deviceAuthControllerDeny,androidAuthControllerGetProfile,androidAuthControllerChangePassword,androidAuthControllerCheckUsername,androidAuthControllerLogin,androidAuthControllerSignup,androidAuthControllerGoogleLogin,androidAuthControllerGithubLogin,androidAuthControllerRefresh,scheduledNotificationsControllerGetNotifications,scheduledNotificationsControllerCreateNotification,scheduledNotificationsControllerUpdateNotification,scheduledNotificationsControllerDeleteNotification,assetsControllerGetEligibleAssets,supportControllerCreateTicket,supportControllerGetTickets,supportControllerStartLiveChat,supportControllerEndLiveChat,supportControllerUpdateTicketStatus,supportControllerAssignTicket,supportControllerCreateCustomerProfile,supportControllerGetCustomerProfiles}};
4871
+ return {appControllerGetHealth,appControllerGetHello,appControllerGetRealtimeConfig,appControllerGetLinkPreview,usersControllerGetUsers,usersControllerSearchUsers,usersControllerGetMe,usersControllerPatchMe,usersControllerUpdateMe,usersControllerGetUser,usersControllerPatchUser,usersControllerGetSocialProfile,usersControllerBlockUser,usersControllerUnblockUser,usersControllerUpdateMyStatus,usersControllerRegisterDeviceToken,usersControllerGetDeviceTokens,usersControllerDeleteDeviceToken,v10UsersControllerGetUser,v10UsersControllerGetMe,v10GatewayControllerGetBotGateway,v10GatewayControllerBotAuth,v10ChannelsControllerGetChannel,v10ChannelsControllerCreateMessage,v10ChannelsControllerGetMessages,v10ChannelsControllerUpdateMessage,v10ChannelsControllerDeleteMessage,v10GuildsControllerGetGuild,v10GuildsControllerGetChannels,v10GuildsControllerGetMembers,v10GuildsControllerGetRoles,v10GuildsControllerAddMemberRole,v10GuildsControllerRemoveMemberRole,v10ApplicationsControllerGetCommands,v10ApplicationsControllerCreateCommand,v10ApplicationsControllerGetGuildCommands,v10ApplicationsControllerCreateGuildCommand,v10InteractionsControllerHandleCallback,v10EnterpriseControllerCreateAnnouncement,v3OAuthControllerGetToken,v3WorkspacesControllerGetWorkspaces,v3WorkspacesControllerProvisionWorkspace,v3WorkspacesControllerGetWorkspaceBySlug,v3WorkspacesControllerUpdateWorkspace,v3WorkspacesControllerDeleteWorkspace,v3WorkspacesControllerGetWorkspaceMembers,v3WorkspacesControllerAddWorkspaceMember,v3WorkspacesControllerGetWorkspaceMember,v3WorkspacesControllerUpdateWorkspaceMember,v3WorkspacesControllerDeleteWorkspaceMember,v3WorkspacesControllerGetChannels,v3WorkspacesControllerCreateChannel,v3WorkspacesControllerGetChannel,v3WorkspacesControllerUpdateChannel,v3WorkspacesControllerDeleteChannel,v3WorkspacesControllerGetChannelMembers,v3WorkspacesControllerAddChannelMembers,v3WorkspacesControllerUpdateChannelMember,v3WorkspacesControllerDeleteChannelMember,v3WorkspacesControllerGetChannelMessages,v3WorkspacesControllerCreateChannelMessage,v3WorkspacesControllerUpdateChannelMessage,v3WorkspacesControllerDeleteChannelMessage,v3WorkspacesControllerAddChannelMessageReaction,v3WorkspacesControllerRemoveChannelMessageReaction,v3WebhooksControllerGetWebhooks,v3WebhooksControllerCreateWebhook,v3WebhooksControllerGetWebhook,v3WebhooksControllerUpdateWebhook,v3WebhooksControllerDeleteWebhook,v3ChannelIncomingWebhooksControllerGetWorkspaceIncomingWebhooks,v3ChannelIncomingWebhooksControllerGetChannelWebhooks,v3ChannelIncomingWebhooksControllerCreateChannelWebhook,v3ChannelIncomingWebhooksControllerGetChannelWebhook,v3ChannelIncomingWebhooksControllerUpdateChannelWebhook,v3ChannelIncomingWebhooksControllerDeleteChannelWebhook,v3ChannelIncomingWebhooksControllerExecuteWebhookByUrlToken,v3ChannelIncomingWebhooksControllerExecuteWebhookByChannelId,v3OrganizationsControllerGetOrganizationWorkspaces,v3OrganizationsControllerGetOrganization,v3OrganizationsControllerUpdateOrganization,v3OrganizationsControllerGetM2mApplications,v3OrganizationsControllerCreateM2mApplication,v3OrganizationsControllerUpdateM2mApplication,v3OrganizationsControllerDeleteM2mApplication,v3ApplicationsControllerListApplications0,v3ApplicationsControllerCreateApplication0,v3ApplicationsControllerListApplications1,v3ApplicationsControllerCreateApplication1,v3ApplicationsControllerGetApplication0,v3ApplicationsControllerUpdateApplication,v3ApplicationsControllerDeleteApplication,v3ApplicationsControllerGetApplication1,v3ApplicationsControllerResetToken0,v3ApplicationsControllerResetToken1,v3ApplicationsControllerInstallApplication0,v3ApplicationsControllerInstallApplication1,v3ApplicationsControllerListWorkspaceBots,v3ApplicationsControllerAddBotToWorkspace,v3DmsControllerGetDms,v3DmsControllerCreateDm,v3DmsControllerGetDm,v3DmsControllerDeleteDm,v3DmsControllerGetMessages,v3DmsControllerCreateMessage,v3DmsControllerUpdateMessage,v3DmsControllerDeleteMessage,v3DmsControllerAddReaction,v3DmsControllerRemoveReaction,channelsControllerGetGlobalChannels,channelsControllerCreateChannel,channelsControllerGetMessages,channelsControllerCreateMessage,channelsControllerUpdateMessage,channelsControllerDeleteMessage,channelsControllerMarkAsRead,channelsControllerAddReaction,channelsControllerRemoveReaction,channelsControllerShareChannel,channelsControllerCreateReply,notificationsControllerGetNotifications,notificationsControllerGetNotificationById,notificationsControllerUpdateNotification,notificationsControllerDeleteNotification,notificationsControllerMarkAllRead,notificationsControllerGetWorkspaceSettings,notificationsControllerUpdateWorkspaceSettings,notificationsControllerGetChannelSettings,notificationsControllerUpdateChannelSettings,dmsControllerGetDms,dmsControllerCreateDm,dmsControllerGetDm,dmsControllerDeleteDm,dmsControllerGetMessages,dmsControllerCreateMessage,dmsControllerUpdateMessage,dmsControllerDeleteMessage,dmsControllerMarkAsRead,dmsControllerAddReaction,dmsControllerRemoveReaction,invitationsControllerGetInvitations,invitationsControllerCreateInvitation,invitationsControllerGetInvitationByToken,invitationsControllerAcceptInvitation,integrationsControllerHandlePlaneWebhook,integrationsControllerHandleHulyWebhook,integrationsControllerGetStats,integrationsControllerGetWebhooks,integrationsControllerCreateWebhook,integrationsControllerUpdateWebhook,integrationsControllerDeleteWebhook,integrationsControllerGetWebhookLogs,integrationsControllerGetApiKeys,integrationsControllerUpdateApiKey,integrationsControllerDeleteApiKey,workspaceIntegrationsControllerGetWorkspaceIntegrations,workspaceIntegrationsControllerCreateWorkspaceIntegration,workspaceIntegrationsControllerGetWorkspaceIntegration,workspaceIntegrationsControllerUpdateWorkspaceIntegration,workspaceIntegrationsControllerDeleteWorkspaceIntegration,workspaceIntegrationsControllerTestWorkspaceIntegration,workspaceIntegrationsControllerGetWorkspaceWebhooks,workspaceIntegrationsControllerCreateWorkspaceWebhook,ablyControllerGetToken,storageControllerUploadFile,shortUrlControllerRedirect,callsControllerStartCall,callsControllerUpdateCall,callsControllerInviteToCall,callsControllerGetParticipants,callsControllerGetScheduledCalls,callsControllerScheduleCall,callsControllerPlaySoundboardSound,adminControllerGetStats,adminControllerGetMembers,adminControllerUpdateMemberRole,adminControllerGetAssets,adminControllerCreateAsset,adminControllerUpdateAsset,adminControllerDeleteAsset,adminControllerGetProfileAssets,adminControllerCreateProfileAsset,adminControllerGetAssetStats,adminControllerUploadFile,friendsControllerGetFriends,friendsControllerGetFriendRequests,friendsControllerSendFriendRequest,friendsControllerUpdateFriendRequest,friendsControllerDeleteFriendRequest,workspacesControllerGetWorkspaces,workspacesControllerCreateWorkspace,workspacesControllerGetWorkspaceRoles,workspacesControllerGetWorkspaceSlugRoles,workspacesControllerDiscoverWorkspaces,workspacesControllerJoinWorkspace,workspacesControllerGetWorkspaceBySlug,workspacesControllerUpdateWorkspaceBySlug,workspacesControllerDeleteWorkspaceBySlug,membersControllerGetWorkspaceMembers,membersControllerUpdateMember,membersControllerRemoveMember,channelsControllerGetWorkspaceChannels,channelsControllerGetChannel,channelsControllerUpdateChannel,channelsControllerDeleteChannel,channelsControllerGetChannelMembers,channelsControllerAddChannelMembers,channelsControllerUpdateChannelMember,channelsControllerRemoveChannelMember,departmentsControllerGetDepartments,departmentsControllerCreateDepartment,departmentsControllerGetDepartment,departmentsControllerUpdateDepartment,departmentsControllerDeleteDepartment,departmentsControllerGetAnnouncements,departmentsControllerCreateAnnouncement,teamsControllerGetTeams,teamsControllerCreateTeam,teamsControllerAddMember,teamsControllerRemoveMember,messagesControllerGetMessages,messagesControllerCreateMessage,messagesControllerUpdateMessage,messagesControllerDeleteMessage,messagesControllerMarkAsRead,messagesControllerAddReaction,messagesControllerRemoveReaction,messagesControllerCreateReply,emojisControllerGetEmojis,emojisControllerCreateEmoji,auditLogsControllerGetAuditLogs,auditLogsControllerExportAuditLogs,inviteLinksControllerGetInviteLinks,inviteLinksControllerCreateInviteLink,apiTokensControllerGetApiTokens,apiTokensControllerCreateApiToken,apiTokensControllerDeleteApiToken,webhooksControllerGetWebhooks,webhooksControllerCreateWebhook,webhooksControllerUpdateWebhook,webhooksControllerDeleteWebhook,callsControllerGetActiveCalls,searchControllerSearch,deviceAuthControllerGenerateQR,deviceAuthControllerCheckStatus,deviceAuthControllerAuthorize,deviceAuthControllerDeny,androidAuthControllerGetProfile,androidAuthControllerChangePassword,androidAuthControllerCheckUsername,androidAuthControllerLogin,androidAuthControllerSignup,androidAuthControllerGoogleLogin,androidAuthControllerGithubLogin,androidAuthControllerRefresh,scheduledNotificationsControllerGetNotifications,scheduledNotificationsControllerCreateNotification,scheduledNotificationsControllerUpdateNotification,scheduledNotificationsControllerDeleteNotification,assetsControllerGetEligibleAssets,supportControllerCreateTicket,supportControllerGetTickets,supportControllerStartLiveChat,supportControllerEndLiveChat,supportControllerUpdateTicketStatus,supportControllerAssignTicket,supportControllerCreateCustomerProfile,supportControllerGetCustomerProfiles}};
4321
4872
  export type AppControllerGetHealthResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['appControllerGetHealth']>>>
4322
4873
  export type AppControllerGetHelloResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['appControllerGetHello']>>>
4323
4874
  export type AppControllerGetRealtimeConfigResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['appControllerGetRealtimeConfig']>>>
@@ -4377,11 +4928,18 @@ export type V3WorkspacesControllerGetChannelMembersResult = NonNullable<Awaited<
4377
4928
  export type V3WorkspacesControllerAddChannelMembersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerAddChannelMembers']>>>
4378
4929
  export type V3WorkspacesControllerUpdateChannelMemberResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerUpdateChannelMember']>>>
4379
4930
  export type V3WorkspacesControllerDeleteChannelMemberResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerDeleteChannelMember']>>>
4931
+ export type V3WorkspacesControllerGetChannelMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerGetChannelMessages']>>>
4932
+ export type V3WorkspacesControllerCreateChannelMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerCreateChannelMessage']>>>
4933
+ export type V3WorkspacesControllerUpdateChannelMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerUpdateChannelMessage']>>>
4934
+ export type V3WorkspacesControllerDeleteChannelMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerDeleteChannelMessage']>>>
4935
+ export type V3WorkspacesControllerAddChannelMessageReactionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerAddChannelMessageReaction']>>>
4936
+ export type V3WorkspacesControllerRemoveChannelMessageReactionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerRemoveChannelMessageReaction']>>>
4380
4937
  export type V3WebhooksControllerGetWebhooksResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WebhooksControllerGetWebhooks']>>>
4381
4938
  export type V3WebhooksControllerCreateWebhookResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WebhooksControllerCreateWebhook']>>>
4382
4939
  export type V3WebhooksControllerGetWebhookResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WebhooksControllerGetWebhook']>>>
4383
4940
  export type V3WebhooksControllerUpdateWebhookResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WebhooksControllerUpdateWebhook']>>>
4384
4941
  export type V3WebhooksControllerDeleteWebhookResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WebhooksControllerDeleteWebhook']>>>
4942
+ export type V3ChannelIncomingWebhooksControllerGetWorkspaceIncomingWebhooksResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ChannelIncomingWebhooksControllerGetWorkspaceIncomingWebhooks']>>>
4385
4943
  export type V3ChannelIncomingWebhooksControllerGetChannelWebhooksResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ChannelIncomingWebhooksControllerGetChannelWebhooks']>>>
4386
4944
  export type V3ChannelIncomingWebhooksControllerCreateChannelWebhookResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ChannelIncomingWebhooksControllerCreateChannelWebhook']>>>
4387
4945
  export type V3ChannelIncomingWebhooksControllerGetChannelWebhookResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ChannelIncomingWebhooksControllerGetChannelWebhook']>>>
@@ -4396,6 +4954,41 @@ export type V3OrganizationsControllerGetM2mApplicationsResult = NonNullable<Awai
4396
4954
  export type V3OrganizationsControllerCreateM2mApplicationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3OrganizationsControllerCreateM2mApplication']>>>
4397
4955
  export type V3OrganizationsControllerUpdateM2mApplicationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3OrganizationsControllerUpdateM2mApplication']>>>
4398
4956
  export type V3OrganizationsControllerDeleteM2mApplicationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3OrganizationsControllerDeleteM2mApplication']>>>
4957
+ export type V3ApplicationsControllerListApplications0Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ApplicationsControllerListApplications0']>>>
4958
+ export type V3ApplicationsControllerCreateApplication0Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ApplicationsControllerCreateApplication0']>>>
4959
+ export type V3ApplicationsControllerListApplications1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ApplicationsControllerListApplications1']>>>
4960
+ export type V3ApplicationsControllerCreateApplication1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ApplicationsControllerCreateApplication1']>>>
4961
+ export type V3ApplicationsControllerGetApplication0Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ApplicationsControllerGetApplication0']>>>
4962
+ export type V3ApplicationsControllerUpdateApplicationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ApplicationsControllerUpdateApplication']>>>
4963
+ export type V3ApplicationsControllerDeleteApplicationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ApplicationsControllerDeleteApplication']>>>
4964
+ export type V3ApplicationsControllerGetApplication1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ApplicationsControllerGetApplication1']>>>
4965
+ export type V3ApplicationsControllerResetToken0Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ApplicationsControllerResetToken0']>>>
4966
+ export type V3ApplicationsControllerResetToken1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ApplicationsControllerResetToken1']>>>
4967
+ export type V3ApplicationsControllerInstallApplication0Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ApplicationsControllerInstallApplication0']>>>
4968
+ export type V3ApplicationsControllerInstallApplication1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ApplicationsControllerInstallApplication1']>>>
4969
+ export type V3ApplicationsControllerListWorkspaceBotsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ApplicationsControllerListWorkspaceBots']>>>
4970
+ export type V3ApplicationsControllerAddBotToWorkspaceResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3ApplicationsControllerAddBotToWorkspace']>>>
4971
+ export type V3DmsControllerGetDmsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3DmsControllerGetDms']>>>
4972
+ export type V3DmsControllerCreateDmResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3DmsControllerCreateDm']>>>
4973
+ export type V3DmsControllerGetDmResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3DmsControllerGetDm']>>>
4974
+ export type V3DmsControllerDeleteDmResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3DmsControllerDeleteDm']>>>
4975
+ export type V3DmsControllerGetMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3DmsControllerGetMessages']>>>
4976
+ export type V3DmsControllerCreateMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3DmsControllerCreateMessage']>>>
4977
+ export type V3DmsControllerUpdateMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3DmsControllerUpdateMessage']>>>
4978
+ export type V3DmsControllerDeleteMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3DmsControllerDeleteMessage']>>>
4979
+ export type V3DmsControllerAddReactionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3DmsControllerAddReaction']>>>
4980
+ export type V3DmsControllerRemoveReactionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3DmsControllerRemoveReaction']>>>
4981
+ export type ChannelsControllerGetGlobalChannelsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerGetGlobalChannels']>>>
4982
+ export type ChannelsControllerCreateChannelResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerCreateChannel']>>>
4983
+ export type ChannelsControllerGetMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerGetMessages']>>>
4984
+ export type ChannelsControllerCreateMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerCreateMessage']>>>
4985
+ export type ChannelsControllerUpdateMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerUpdateMessage']>>>
4986
+ export type ChannelsControllerDeleteMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerDeleteMessage']>>>
4987
+ export type ChannelsControllerMarkAsReadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerMarkAsRead']>>>
4988
+ export type ChannelsControllerAddReactionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerAddReaction']>>>
4989
+ export type ChannelsControllerRemoveReactionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerRemoveReaction']>>>
4990
+ export type ChannelsControllerShareChannelResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerShareChannel']>>>
4991
+ export type ChannelsControllerCreateReplyResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerCreateReply']>>>
4399
4992
  export type NotificationsControllerGetNotificationsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['notificationsControllerGetNotifications']>>>
4400
4993
  export type NotificationsControllerGetNotificationByIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['notificationsControllerGetNotificationById']>>>
4401
4994
  export type NotificationsControllerUpdateNotificationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['notificationsControllerUpdateNotification']>>>
@@ -4405,6 +4998,17 @@ export type NotificationsControllerGetWorkspaceSettingsResult = NonNullable<Awai
4405
4998
  export type NotificationsControllerUpdateWorkspaceSettingsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['notificationsControllerUpdateWorkspaceSettings']>>>
4406
4999
  export type NotificationsControllerGetChannelSettingsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['notificationsControllerGetChannelSettings']>>>
4407
5000
  export type NotificationsControllerUpdateChannelSettingsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['notificationsControllerUpdateChannelSettings']>>>
5001
+ export type DmsControllerGetDmsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerGetDms']>>>
5002
+ export type DmsControllerCreateDmResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerCreateDm']>>>
5003
+ export type DmsControllerGetDmResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerGetDm']>>>
5004
+ export type DmsControllerDeleteDmResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerDeleteDm']>>>
5005
+ export type DmsControllerGetMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerGetMessages']>>>
5006
+ export type DmsControllerCreateMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerCreateMessage']>>>
5007
+ export type DmsControllerUpdateMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerUpdateMessage']>>>
5008
+ export type DmsControllerDeleteMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerDeleteMessage']>>>
5009
+ export type DmsControllerMarkAsReadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerMarkAsRead']>>>
5010
+ export type DmsControllerAddReactionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerAddReaction']>>>
5011
+ export type DmsControllerRemoveReactionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerRemoveReaction']>>>
4408
5012
  export type InvitationsControllerGetInvitationsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['invitationsControllerGetInvitations']>>>
4409
5013
  export type InvitationsControllerCreateInvitationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['invitationsControllerCreateInvitation']>>>
4410
5014
  export type InvitationsControllerGetInvitationByTokenResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['invitationsControllerGetInvitationByToken']>>>
@@ -4438,17 +5042,6 @@ export type CallsControllerGetParticipantsResult = NonNullable<Awaited<ReturnTyp
4438
5042
  export type CallsControllerGetScheduledCallsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['callsControllerGetScheduledCalls']>>>
4439
5043
  export type CallsControllerScheduleCallResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['callsControllerScheduleCall']>>>
4440
5044
  export type CallsControllerPlaySoundboardSoundResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['callsControllerPlaySoundboardSound']>>>
4441
- export type ChannelsControllerGetGlobalChannelsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerGetGlobalChannels']>>>
4442
- export type ChannelsControllerCreateChannelResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerCreateChannel']>>>
4443
- export type ChannelsControllerGetMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerGetMessages']>>>
4444
- export type ChannelsControllerCreateMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerCreateMessage']>>>
4445
- export type ChannelsControllerUpdateMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerUpdateMessage']>>>
4446
- export type ChannelsControllerDeleteMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerDeleteMessage']>>>
4447
- export type ChannelsControllerMarkAsReadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerMarkAsRead']>>>
4448
- export type ChannelsControllerAddReactionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerAddReaction']>>>
4449
- export type ChannelsControllerRemoveReactionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerRemoveReaction']>>>
4450
- export type ChannelsControllerShareChannelResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerShareChannel']>>>
4451
- export type ChannelsControllerCreateReplyResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerCreateReply']>>>
4452
5045
  export type AdminControllerGetStatsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['adminControllerGetStats']>>>
4453
5046
  export type AdminControllerGetMembersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['adminControllerGetMembers']>>>
4454
5047
  export type AdminControllerUpdateMemberRoleResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['adminControllerUpdateMemberRole']>>>
@@ -4460,17 +5053,6 @@ export type AdminControllerGetProfileAssetsResult = NonNullable<Awaited<ReturnTy
4460
5053
  export type AdminControllerCreateProfileAssetResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['adminControllerCreateProfileAsset']>>>
4461
5054
  export type AdminControllerGetAssetStatsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['adminControllerGetAssetStats']>>>
4462
5055
  export type AdminControllerUploadFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['adminControllerUploadFile']>>>
4463
- export type DmsControllerGetDmsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerGetDms']>>>
4464
- export type DmsControllerCreateDmResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerCreateDm']>>>
4465
- export type DmsControllerGetDmResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerGetDm']>>>
4466
- export type DmsControllerDeleteDmResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerDeleteDm']>>>
4467
- export type DmsControllerGetMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerGetMessages']>>>
4468
- export type DmsControllerCreateMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerCreateMessage']>>>
4469
- export type DmsControllerUpdateMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerUpdateMessage']>>>
4470
- export type DmsControllerDeleteMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerDeleteMessage']>>>
4471
- export type DmsControllerMarkAsReadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerMarkAsRead']>>>
4472
- export type DmsControllerAddReactionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerAddReaction']>>>
4473
- export type DmsControllerRemoveReactionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['dmsControllerRemoveReaction']>>>
4474
5056
  export type FriendsControllerGetFriendsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['friendsControllerGetFriends']>>>
4475
5057
  export type FriendsControllerGetFriendRequestsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['friendsControllerGetFriendRequests']>>>
4476
5058
  export type FriendsControllerSendFriendRequestResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['friendsControllerSendFriendRequest']>>>