@scryme/chat 2.91.7 → 2.91.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -3
- package/dist/generated/v3-client.d.ts +474 -20
- package/dist/generated/v3-client.js +287 -4
- package/dist/generated/v3-server.d.ts +178 -20
- package/dist/generated/v3-server.js +112 -3
- package/dist/sdk.d.ts +168 -1
- package/dist/sdk.js +166 -0
- package/package.json +1 -1
- package/src/__tests__/sdk.test.ts +49 -0
- package/src/generated/v3-client.ts +1001 -222
- package/src/generated/v3-server.ts +346 -21
- package/src/sdk.ts +254 -0
|
@@ -91,6 +91,12 @@ export var CreateDepartmentAnnouncementDtoPriority = {
|
|
|
91
91
|
urgent: 'urgent',
|
|
92
92
|
};
|
|
93
93
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
94
|
+
export var UpdateChannelMemberDtoRole = {
|
|
95
|
+
admin: 'admin',
|
|
96
|
+
moderator: 'moderator',
|
|
97
|
+
member: 'member',
|
|
98
|
+
};
|
|
99
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
94
100
|
export var UpdateWorkspaceChannelDtoType = {
|
|
95
101
|
public: 'public',
|
|
96
102
|
private: 'private',
|
|
@@ -155,6 +161,28 @@ export var WorkspaceSettingsDtoPreference = {
|
|
|
155
161
|
none: 'none',
|
|
156
162
|
};
|
|
157
163
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
164
|
+
export var V3UpdateChannelMemberDtoRole = {
|
|
165
|
+
admin: 'admin',
|
|
166
|
+
moderator: 'moderator',
|
|
167
|
+
member: 'member',
|
|
168
|
+
};
|
|
169
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
170
|
+
export var V3UpdateChannelDtoType = {
|
|
171
|
+
public: 'public',
|
|
172
|
+
private: 'private',
|
|
173
|
+
};
|
|
174
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
175
|
+
export var V3CreateChannelDtoType = {
|
|
176
|
+
public: 'public',
|
|
177
|
+
private: 'private',
|
|
178
|
+
};
|
|
179
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
180
|
+
export var V3CreateChannelDtoInitialMembersItemRole = {
|
|
181
|
+
admin: 'admin',
|
|
182
|
+
moderator: 'moderator',
|
|
183
|
+
member: 'member',
|
|
184
|
+
};
|
|
185
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
158
186
|
export var V3UpdateMemberRoleDtoRole = {
|
|
159
187
|
owner: 'owner',
|
|
160
188
|
admin: 'admin',
|
|
@@ -1363,6 +1391,236 @@ export var useV3WorkspacesControllerDeleteWorkspaceMember = function (options) {
|
|
|
1363
1391
|
var mutationOptions = getV3WorkspacesControllerDeleteWorkspaceMemberMutationOptions(options);
|
|
1364
1392
|
return useMutation(mutationOptions);
|
|
1365
1393
|
};
|
|
1394
|
+
/**
|
|
1395
|
+
* Retrieve all public channels and authorized private channels in a workspace. Requires channels:read scope.
|
|
1396
|
+
* @summary List channels in a workspace (Enterprise M2M)
|
|
1397
|
+
*/
|
|
1398
|
+
export var v3WorkspacesControllerGetChannels = function (slug, options, signal) {
|
|
1399
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels"), method: 'GET', signal: signal
|
|
1400
|
+
}, options);
|
|
1401
|
+
};
|
|
1402
|
+
export var getV3WorkspacesControllerGetChannelsQueryKey = function (slug) {
|
|
1403
|
+
return ["/api/v3/workspaces/".concat(slug, "/channels")];
|
|
1404
|
+
};
|
|
1405
|
+
export var getV3WorkspacesControllerGetChannelsQueryOptions = function (slug, options) {
|
|
1406
|
+
var _a;
|
|
1407
|
+
var _b = options !== null && options !== void 0 ? options : {}, queryOptions = _b.query, requestOptions = _b.request;
|
|
1408
|
+
var queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getV3WorkspacesControllerGetChannelsQueryKey(slug);
|
|
1409
|
+
var queryFn = function (_a) {
|
|
1410
|
+
var signal = _a.signal;
|
|
1411
|
+
return v3WorkspacesControllerGetChannels(slug, requestOptions, signal);
|
|
1412
|
+
};
|
|
1413
|
+
return __assign({ queryKey: queryKey, queryFn: queryFn, enabled: !!(slug) }, queryOptions);
|
|
1414
|
+
};
|
|
1415
|
+
/**
|
|
1416
|
+
* @summary List channels in a workspace (Enterprise M2M)
|
|
1417
|
+
*/
|
|
1418
|
+
export var useV3WorkspacesControllerGetChannels = function (slug, options) {
|
|
1419
|
+
var queryOptions = getV3WorkspacesControllerGetChannelsQueryOptions(slug, options);
|
|
1420
|
+
var query = useQuery(queryOptions);
|
|
1421
|
+
query.queryKey = queryOptions.queryKey;
|
|
1422
|
+
return query;
|
|
1423
|
+
};
|
|
1424
|
+
/**
|
|
1425
|
+
* Create a new channel with customizable visibility, icon, metadata, and members. Requires channels:write scope.
|
|
1426
|
+
* @summary Create a channel in a workspace (Enterprise M2M)
|
|
1427
|
+
*/
|
|
1428
|
+
export var v3WorkspacesControllerCreateChannel = function (slug, v3CreateChannelDto, options) {
|
|
1429
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels"), method: 'POST',
|
|
1430
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1431
|
+
data: v3CreateChannelDto }, options);
|
|
1432
|
+
};
|
|
1433
|
+
export var getV3WorkspacesControllerCreateChannelMutationOptions = function (options) {
|
|
1434
|
+
var _a = options !== null && options !== void 0 ? options : {}, mutationOptions = _a.mutation, requestOptions = _a.request;
|
|
1435
|
+
var mutationFn = function (props) {
|
|
1436
|
+
var _a = props !== null && props !== void 0 ? props : {}, slug = _a.slug, data = _a.data;
|
|
1437
|
+
return v3WorkspacesControllerCreateChannel(slug, data, requestOptions);
|
|
1438
|
+
};
|
|
1439
|
+
return __assign({ mutationFn: mutationFn }, mutationOptions);
|
|
1440
|
+
};
|
|
1441
|
+
/**
|
|
1442
|
+
* @summary Create a channel in a workspace (Enterprise M2M)
|
|
1443
|
+
*/
|
|
1444
|
+
export var useV3WorkspacesControllerCreateChannel = function (options) {
|
|
1445
|
+
var mutationOptions = getV3WorkspacesControllerCreateChannelMutationOptions(options);
|
|
1446
|
+
return useMutation(mutationOptions);
|
|
1447
|
+
};
|
|
1448
|
+
/**
|
|
1449
|
+
* Retrieve details of a specific channel in a workspace. Requires channels:read scope.
|
|
1450
|
+
* @summary Get channel details (Enterprise M2M)
|
|
1451
|
+
*/
|
|
1452
|
+
export var v3WorkspacesControllerGetChannel = function (slug, channelId, options, signal) {
|
|
1453
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId), method: 'GET', signal: signal
|
|
1454
|
+
}, options);
|
|
1455
|
+
};
|
|
1456
|
+
export var getV3WorkspacesControllerGetChannelQueryKey = function (slug, channelId) {
|
|
1457
|
+
return ["/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId)];
|
|
1458
|
+
};
|
|
1459
|
+
export var getV3WorkspacesControllerGetChannelQueryOptions = function (slug, channelId, options) {
|
|
1460
|
+
var _a;
|
|
1461
|
+
var _b = options !== null && options !== void 0 ? options : {}, queryOptions = _b.query, requestOptions = _b.request;
|
|
1462
|
+
var queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getV3WorkspacesControllerGetChannelQueryKey(slug, channelId);
|
|
1463
|
+
var queryFn = function (_a) {
|
|
1464
|
+
var signal = _a.signal;
|
|
1465
|
+
return v3WorkspacesControllerGetChannel(slug, channelId, requestOptions, signal);
|
|
1466
|
+
};
|
|
1467
|
+
return __assign({ queryKey: queryKey, queryFn: queryFn, enabled: !!(slug && channelId) }, queryOptions);
|
|
1468
|
+
};
|
|
1469
|
+
/**
|
|
1470
|
+
* @summary Get channel details (Enterprise M2M)
|
|
1471
|
+
*/
|
|
1472
|
+
export var useV3WorkspacesControllerGetChannel = function (slug, channelId, options) {
|
|
1473
|
+
var queryOptions = getV3WorkspacesControllerGetChannelQueryOptions(slug, channelId, options);
|
|
1474
|
+
var query = useQuery(queryOptions);
|
|
1475
|
+
query.queryKey = queryOptions.queryKey;
|
|
1476
|
+
return query;
|
|
1477
|
+
};
|
|
1478
|
+
/**
|
|
1479
|
+
* Update settings, name, description, icon, metadata, or visibility of a channel. Requires channels:write scope.
|
|
1480
|
+
* @summary Update channel configuration and visibility (Enterprise M2M)
|
|
1481
|
+
*/
|
|
1482
|
+
export var v3WorkspacesControllerUpdateChannel = function (slug, channelId, v3UpdateChannelDto, options) {
|
|
1483
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId), method: 'PATCH',
|
|
1484
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1485
|
+
data: v3UpdateChannelDto }, options);
|
|
1486
|
+
};
|
|
1487
|
+
export var getV3WorkspacesControllerUpdateChannelMutationOptions = function (options) {
|
|
1488
|
+
var _a = options !== null && options !== void 0 ? options : {}, mutationOptions = _a.mutation, requestOptions = _a.request;
|
|
1489
|
+
var mutationFn = function (props) {
|
|
1490
|
+
var _a = props !== null && props !== void 0 ? props : {}, slug = _a.slug, channelId = _a.channelId, data = _a.data;
|
|
1491
|
+
return v3WorkspacesControllerUpdateChannel(slug, channelId, data, requestOptions);
|
|
1492
|
+
};
|
|
1493
|
+
return __assign({ mutationFn: mutationFn }, mutationOptions);
|
|
1494
|
+
};
|
|
1495
|
+
/**
|
|
1496
|
+
* @summary Update channel configuration and visibility (Enterprise M2M)
|
|
1497
|
+
*/
|
|
1498
|
+
export var useV3WorkspacesControllerUpdateChannel = function (options) {
|
|
1499
|
+
var mutationOptions = getV3WorkspacesControllerUpdateChannelMutationOptions(options);
|
|
1500
|
+
return useMutation(mutationOptions);
|
|
1501
|
+
};
|
|
1502
|
+
/**
|
|
1503
|
+
* Permanently deletes a channel from a workspace. Requires channels:write scope.
|
|
1504
|
+
* @summary Delete a channel (Enterprise M2M)
|
|
1505
|
+
*/
|
|
1506
|
+
export var v3WorkspacesControllerDeleteChannel = function (slug, channelId, options) {
|
|
1507
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId), method: 'DELETE' }, options);
|
|
1508
|
+
};
|
|
1509
|
+
export var getV3WorkspacesControllerDeleteChannelMutationOptions = function (options) {
|
|
1510
|
+
var _a = options !== null && options !== void 0 ? options : {}, mutationOptions = _a.mutation, requestOptions = _a.request;
|
|
1511
|
+
var mutationFn = function (props) {
|
|
1512
|
+
var _a = props !== null && props !== void 0 ? props : {}, slug = _a.slug, channelId = _a.channelId;
|
|
1513
|
+
return v3WorkspacesControllerDeleteChannel(slug, channelId, requestOptions);
|
|
1514
|
+
};
|
|
1515
|
+
return __assign({ mutationFn: mutationFn }, mutationOptions);
|
|
1516
|
+
};
|
|
1517
|
+
/**
|
|
1518
|
+
* @summary Delete a channel (Enterprise M2M)
|
|
1519
|
+
*/
|
|
1520
|
+
export var useV3WorkspacesControllerDeleteChannel = function (options) {
|
|
1521
|
+
var mutationOptions = getV3WorkspacesControllerDeleteChannelMutationOptions(options);
|
|
1522
|
+
return useMutation(mutationOptions);
|
|
1523
|
+
};
|
|
1524
|
+
/**
|
|
1525
|
+
* Retrieve members belonging to a specific channel. Requires channels:read scope.
|
|
1526
|
+
* @summary List channel members (Enterprise M2M)
|
|
1527
|
+
*/
|
|
1528
|
+
export var v3WorkspacesControllerGetChannelMembers = function (slug, channelId, options, signal) {
|
|
1529
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/members"), method: 'GET', signal: signal
|
|
1530
|
+
}, options);
|
|
1531
|
+
};
|
|
1532
|
+
export var getV3WorkspacesControllerGetChannelMembersQueryKey = function (slug, channelId) {
|
|
1533
|
+
return ["/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/members")];
|
|
1534
|
+
};
|
|
1535
|
+
export var getV3WorkspacesControllerGetChannelMembersQueryOptions = function (slug, channelId, options) {
|
|
1536
|
+
var _a;
|
|
1537
|
+
var _b = options !== null && options !== void 0 ? options : {}, queryOptions = _b.query, requestOptions = _b.request;
|
|
1538
|
+
var queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getV3WorkspacesControllerGetChannelMembersQueryKey(slug, channelId);
|
|
1539
|
+
var queryFn = function (_a) {
|
|
1540
|
+
var signal = _a.signal;
|
|
1541
|
+
return v3WorkspacesControllerGetChannelMembers(slug, channelId, requestOptions, signal);
|
|
1542
|
+
};
|
|
1543
|
+
return __assign({ queryKey: queryKey, queryFn: queryFn, enabled: !!(slug && channelId) }, queryOptions);
|
|
1544
|
+
};
|
|
1545
|
+
/**
|
|
1546
|
+
* @summary List channel members (Enterprise M2M)
|
|
1547
|
+
*/
|
|
1548
|
+
export var useV3WorkspacesControllerGetChannelMembers = function (slug, channelId, options) {
|
|
1549
|
+
var queryOptions = getV3WorkspacesControllerGetChannelMembersQueryOptions(slug, channelId, options);
|
|
1550
|
+
var query = useQuery(queryOptions);
|
|
1551
|
+
query.queryKey = queryOptions.queryKey;
|
|
1552
|
+
return query;
|
|
1553
|
+
};
|
|
1554
|
+
/**
|
|
1555
|
+
* Add user(s) to a channel with customizable role and permissions. Requires channels:write scope.
|
|
1556
|
+
* @summary Add members to a channel (Enterprise M2M)
|
|
1557
|
+
*/
|
|
1558
|
+
export var v3WorkspacesControllerAddChannelMembers = function (slug, channelId, v3AddChannelMemberDto, options) {
|
|
1559
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/members"), method: 'POST',
|
|
1560
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1561
|
+
data: v3AddChannelMemberDto }, options);
|
|
1562
|
+
};
|
|
1563
|
+
export var getV3WorkspacesControllerAddChannelMembersMutationOptions = function (options) {
|
|
1564
|
+
var _a = options !== null && options !== void 0 ? options : {}, mutationOptions = _a.mutation, requestOptions = _a.request;
|
|
1565
|
+
var mutationFn = function (props) {
|
|
1566
|
+
var _a = props !== null && props !== void 0 ? props : {}, slug = _a.slug, channelId = _a.channelId, data = _a.data;
|
|
1567
|
+
return v3WorkspacesControllerAddChannelMembers(slug, channelId, data, requestOptions);
|
|
1568
|
+
};
|
|
1569
|
+
return __assign({ mutationFn: mutationFn }, mutationOptions);
|
|
1570
|
+
};
|
|
1571
|
+
/**
|
|
1572
|
+
* @summary Add members to a channel (Enterprise M2M)
|
|
1573
|
+
*/
|
|
1574
|
+
export var useV3WorkspacesControllerAddChannelMembers = function (options) {
|
|
1575
|
+
var mutationOptions = getV3WorkspacesControllerAddChannelMembersMutationOptions(options);
|
|
1576
|
+
return useMutation(mutationOptions);
|
|
1577
|
+
};
|
|
1578
|
+
/**
|
|
1579
|
+
* Update the role or bitwise permissions of a channel member. Requires channels:write scope.
|
|
1580
|
+
* @summary Update channel member role and permissions (Enterprise M2M)
|
|
1581
|
+
*/
|
|
1582
|
+
export var v3WorkspacesControllerUpdateChannelMember = function (slug, channelId, userId, v3UpdateChannelMemberDto, options) {
|
|
1583
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/members/").concat(userId), method: 'PATCH',
|
|
1584
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1585
|
+
data: v3UpdateChannelMemberDto }, options);
|
|
1586
|
+
};
|
|
1587
|
+
export var getV3WorkspacesControllerUpdateChannelMemberMutationOptions = function (options) {
|
|
1588
|
+
var _a = options !== null && options !== void 0 ? options : {}, mutationOptions = _a.mutation, requestOptions = _a.request;
|
|
1589
|
+
var mutationFn = function (props) {
|
|
1590
|
+
var _a = props !== null && props !== void 0 ? props : {}, slug = _a.slug, channelId = _a.channelId, userId = _a.userId, data = _a.data;
|
|
1591
|
+
return v3WorkspacesControllerUpdateChannelMember(slug, channelId, userId, data, requestOptions);
|
|
1592
|
+
};
|
|
1593
|
+
return __assign({ mutationFn: mutationFn }, mutationOptions);
|
|
1594
|
+
};
|
|
1595
|
+
/**
|
|
1596
|
+
* @summary Update channel member role and permissions (Enterprise M2M)
|
|
1597
|
+
*/
|
|
1598
|
+
export var useV3WorkspacesControllerUpdateChannelMember = function (options) {
|
|
1599
|
+
var mutationOptions = getV3WorkspacesControllerUpdateChannelMemberMutationOptions(options);
|
|
1600
|
+
return useMutation(mutationOptions);
|
|
1601
|
+
};
|
|
1602
|
+
/**
|
|
1603
|
+
* Remove a specific member from a channel. Requires channels:write scope.
|
|
1604
|
+
* @summary Remove a member from a channel (Enterprise M2M)
|
|
1605
|
+
*/
|
|
1606
|
+
export var v3WorkspacesControllerDeleteChannelMember = function (slug, channelId, userId, options) {
|
|
1607
|
+
return customInstance({ url: "/api/v3/workspaces/".concat(slug, "/channels/").concat(channelId, "/members/").concat(userId), method: 'DELETE' }, options);
|
|
1608
|
+
};
|
|
1609
|
+
export var getV3WorkspacesControllerDeleteChannelMemberMutationOptions = function (options) {
|
|
1610
|
+
var _a = options !== null && options !== void 0 ? options : {}, mutationOptions = _a.mutation, requestOptions = _a.request;
|
|
1611
|
+
var mutationFn = function (props) {
|
|
1612
|
+
var _a = props !== null && props !== void 0 ? props : {}, slug = _a.slug, channelId = _a.channelId, userId = _a.userId;
|
|
1613
|
+
return v3WorkspacesControllerDeleteChannelMember(slug, channelId, userId, requestOptions);
|
|
1614
|
+
};
|
|
1615
|
+
return __assign({ mutationFn: mutationFn }, mutationOptions);
|
|
1616
|
+
};
|
|
1617
|
+
/**
|
|
1618
|
+
* @summary Remove a member from a channel (Enterprise M2M)
|
|
1619
|
+
*/
|
|
1620
|
+
export var useV3WorkspacesControllerDeleteChannelMember = function (options) {
|
|
1621
|
+
var mutationOptions = getV3WorkspacesControllerDeleteChannelMemberMutationOptions(options);
|
|
1622
|
+
return useMutation(mutationOptions);
|
|
1623
|
+
};
|
|
1366
1624
|
/**
|
|
1367
1625
|
* Requires webhooks:read scope. Retrieves all webhooks configured for this workspace.
|
|
1368
1626
|
* @summary List all webhooks in the workspace
|
|
@@ -4236,14 +4494,16 @@ export var useChannelsControllerGetChannelMembers = function (slug, channelId, o
|
|
|
4236
4494
|
/**
|
|
4237
4495
|
* @summary Add members to a channel
|
|
4238
4496
|
*/
|
|
4239
|
-
export var channelsControllerAddChannelMembers = function (slug, channelId, options) {
|
|
4240
|
-
return customInstance({ url: "/api/workspaces/".concat(slug, "/channels/").concat(channelId, "/members"), method: 'POST'
|
|
4497
|
+
export var channelsControllerAddChannelMembers = function (slug, channelId, addChannelMemberDto, options) {
|
|
4498
|
+
return customInstance({ url: "/api/workspaces/".concat(slug, "/channels/").concat(channelId, "/members"), method: 'POST',
|
|
4499
|
+
headers: { 'Content-Type': 'application/json', },
|
|
4500
|
+
data: addChannelMemberDto }, options);
|
|
4241
4501
|
};
|
|
4242
4502
|
export var getChannelsControllerAddChannelMembersMutationOptions = function (options) {
|
|
4243
4503
|
var _a = options !== null && options !== void 0 ? options : {}, mutationOptions = _a.mutation, requestOptions = _a.request;
|
|
4244
4504
|
var mutationFn = function (props) {
|
|
4245
|
-
var _a = props !== null && props !== void 0 ? props : {}, slug = _a.slug, channelId = _a.channelId;
|
|
4246
|
-
return channelsControllerAddChannelMembers(slug, channelId, requestOptions);
|
|
4505
|
+
var _a = props !== null && props !== void 0 ? props : {}, slug = _a.slug, channelId = _a.channelId, data = _a.data;
|
|
4506
|
+
return channelsControllerAddChannelMembers(slug, channelId, data, requestOptions);
|
|
4247
4507
|
};
|
|
4248
4508
|
return __assign({ mutationFn: mutationFn }, mutationOptions);
|
|
4249
4509
|
};
|
|
@@ -4254,6 +4514,29 @@ export var useChannelsControllerAddChannelMembers = function (options) {
|
|
|
4254
4514
|
var mutationOptions = getChannelsControllerAddChannelMembersMutationOptions(options);
|
|
4255
4515
|
return useMutation(mutationOptions);
|
|
4256
4516
|
};
|
|
4517
|
+
/**
|
|
4518
|
+
* @summary Update channel member role and permissions
|
|
4519
|
+
*/
|
|
4520
|
+
export var channelsControllerUpdateChannelMember = function (slug, channelId, targetUserId, updateChannelMemberDto, options) {
|
|
4521
|
+
return customInstance({ url: "/api/workspaces/".concat(slug, "/channels/").concat(channelId, "/members/").concat(targetUserId), method: 'PATCH',
|
|
4522
|
+
headers: { 'Content-Type': 'application/json', },
|
|
4523
|
+
data: updateChannelMemberDto }, options);
|
|
4524
|
+
};
|
|
4525
|
+
export var getChannelsControllerUpdateChannelMemberMutationOptions = function (options) {
|
|
4526
|
+
var _a = options !== null && options !== void 0 ? options : {}, mutationOptions = _a.mutation, requestOptions = _a.request;
|
|
4527
|
+
var mutationFn = function (props) {
|
|
4528
|
+
var _a = props !== null && props !== void 0 ? props : {}, slug = _a.slug, channelId = _a.channelId, targetUserId = _a.targetUserId, data = _a.data;
|
|
4529
|
+
return channelsControllerUpdateChannelMember(slug, channelId, targetUserId, data, requestOptions);
|
|
4530
|
+
};
|
|
4531
|
+
return __assign({ mutationFn: mutationFn }, mutationOptions);
|
|
4532
|
+
};
|
|
4533
|
+
/**
|
|
4534
|
+
* @summary Update channel member role and permissions
|
|
4535
|
+
*/
|
|
4536
|
+
export var useChannelsControllerUpdateChannelMember = function (options) {
|
|
4537
|
+
var mutationOptions = getChannelsControllerUpdateChannelMemberMutationOptions(options);
|
|
4538
|
+
return useMutation(mutationOptions);
|
|
4539
|
+
};
|
|
4257
4540
|
/**
|
|
4258
4541
|
* @summary Remove a member from a channel
|
|
4259
4542
|
*/
|
|
@@ -224,12 +224,6 @@ export type V3WorkspacesControllerDeleteWorkspace200 = {
|
|
|
224
224
|
success?: boolean;
|
|
225
225
|
timestamp?: string;
|
|
226
226
|
};
|
|
227
|
-
/**
|
|
228
|
-
* @nullable
|
|
229
|
-
*/
|
|
230
|
-
export type V3WorkspacesControllerUpdateWorkspace200DataWorkspaceBrandingConfig = {
|
|
231
|
-
[key: string]: unknown;
|
|
232
|
-
} | null;
|
|
233
227
|
export type V3WorkspacesControllerUpdateWorkspace200DataWorkspace = {
|
|
234
228
|
/** @nullable */
|
|
235
229
|
brandingConfig?: V3WorkspacesControllerUpdateWorkspace200DataWorkspaceBrandingConfig;
|
|
@@ -252,11 +246,12 @@ export type V3WorkspacesControllerUpdateWorkspace200 = {
|
|
|
252
246
|
success?: boolean;
|
|
253
247
|
timestamp?: string;
|
|
254
248
|
};
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
249
|
+
/**
|
|
250
|
+
* @nullable
|
|
251
|
+
*/
|
|
252
|
+
export type V3WorkspacesControllerUpdateWorkspace200DataWorkspaceBrandingConfig = {
|
|
253
|
+
[key: string]: unknown;
|
|
254
|
+
} | null;
|
|
260
255
|
/**
|
|
261
256
|
* @nullable
|
|
262
257
|
*/
|
|
@@ -280,8 +275,8 @@ export type V3WorkspacesControllerGetWorkspaceBySlug200DataWorkspace = {
|
|
|
280
275
|
export type V3WorkspacesControllerGetWorkspaceBySlug200Data = {
|
|
281
276
|
workspace?: V3WorkspacesControllerGetWorkspaceBySlug200DataWorkspace;
|
|
282
277
|
};
|
|
283
|
-
export type
|
|
284
|
-
data?:
|
|
278
|
+
export type V3WorkspacesControllerGetWorkspaceBySlug200 = {
|
|
279
|
+
data?: V3WorkspacesControllerGetWorkspaceBySlug200Data;
|
|
285
280
|
success?: boolean;
|
|
286
281
|
timestamp?: string;
|
|
287
282
|
};
|
|
@@ -299,6 +294,11 @@ export type V3WorkspacesControllerProvisionWorkspace201Data = {
|
|
|
299
294
|
bot?: V3WorkspacesControllerProvisionWorkspace201DataBot;
|
|
300
295
|
workspace?: V3WorkspacesControllerProvisionWorkspace201DataWorkspace;
|
|
301
296
|
};
|
|
297
|
+
export type V3WorkspacesControllerProvisionWorkspace201 = {
|
|
298
|
+
data?: V3WorkspacesControllerProvisionWorkspace201Data;
|
|
299
|
+
success?: boolean;
|
|
300
|
+
timestamp?: string;
|
|
301
|
+
};
|
|
302
302
|
export type V3WorkspacesControllerGetWorkspaces200DataWorkspacesItem = {
|
|
303
303
|
createdAt?: string;
|
|
304
304
|
/** @nullable */
|
|
@@ -540,14 +540,57 @@ export interface CreateWorkspaceDepartmentDto {
|
|
|
540
540
|
settings?: CreateWorkspaceDepartmentDtoSettings;
|
|
541
541
|
slug: string;
|
|
542
542
|
}
|
|
543
|
+
export type UpdateChannelMemberDtoRole = typeof UpdateChannelMemberDtoRole[keyof typeof UpdateChannelMemberDtoRole];
|
|
544
|
+
export declare const UpdateChannelMemberDtoRole: {
|
|
545
|
+
readonly admin: "admin";
|
|
546
|
+
readonly moderator: "moderator";
|
|
547
|
+
readonly member: "member";
|
|
548
|
+
};
|
|
549
|
+
/**
|
|
550
|
+
* Bitwise permission string or integer value
|
|
551
|
+
*/
|
|
552
|
+
export type UpdateChannelMemberDtoPermissions = {
|
|
553
|
+
[key: string]: unknown;
|
|
554
|
+
};
|
|
555
|
+
export interface UpdateChannelMemberDto {
|
|
556
|
+
/** Bitwise permission string or integer value */
|
|
557
|
+
permissions?: UpdateChannelMemberDtoPermissions;
|
|
558
|
+
role?: UpdateChannelMemberDtoRole;
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
* Bitwise permission string or integer value
|
|
562
|
+
*/
|
|
563
|
+
export type AddChannelMemberDtoPermissions = {
|
|
564
|
+
[key: string]: unknown;
|
|
565
|
+
};
|
|
566
|
+
export interface AddChannelMemberDto {
|
|
567
|
+
/** Bitwise permission string or integer value */
|
|
568
|
+
permissions?: AddChannelMemberDtoPermissions;
|
|
569
|
+
/** Channel role */
|
|
570
|
+
role?: string;
|
|
571
|
+
/** User ID to add */
|
|
572
|
+
userId?: string;
|
|
573
|
+
/** Array of user IDs to add */
|
|
574
|
+
userIds?: string[];
|
|
575
|
+
}
|
|
543
576
|
export type UpdateWorkspaceChannelDtoType = typeof UpdateWorkspaceChannelDtoType[keyof typeof UpdateWorkspaceChannelDtoType];
|
|
544
577
|
export declare const UpdateWorkspaceChannelDtoType: {
|
|
545
578
|
readonly public: "public";
|
|
546
579
|
readonly private: "private";
|
|
547
580
|
};
|
|
581
|
+
/**
|
|
582
|
+
* Custom channel metadata or branding settings
|
|
583
|
+
*/
|
|
584
|
+
export type UpdateWorkspaceChannelDtoMetadata = {
|
|
585
|
+
[key: string]: unknown;
|
|
586
|
+
};
|
|
548
587
|
export interface UpdateWorkspaceChannelDto {
|
|
549
588
|
description?: string;
|
|
550
589
|
icon?: string;
|
|
590
|
+
/** Explicit private status flag */
|
|
591
|
+
isPrivate?: boolean;
|
|
592
|
+
/** Custom channel metadata or branding settings */
|
|
593
|
+
metadata?: UpdateWorkspaceChannelDtoMetadata;
|
|
551
594
|
name?: string;
|
|
552
595
|
type?: UpdateWorkspaceChannelDtoType;
|
|
553
596
|
}
|
|
@@ -556,10 +599,20 @@ export declare const CreateWorkspaceChannelDtoType: {
|
|
|
556
599
|
readonly public: "public";
|
|
557
600
|
readonly private: "private";
|
|
558
601
|
};
|
|
602
|
+
/**
|
|
603
|
+
* Custom channel metadata or branding settings
|
|
604
|
+
*/
|
|
605
|
+
export type CreateWorkspaceChannelDtoMetadata = {
|
|
606
|
+
[key: string]: unknown;
|
|
607
|
+
};
|
|
559
608
|
export interface CreateWorkspaceChannelDto {
|
|
560
609
|
departmentId?: string;
|
|
561
610
|
description?: string;
|
|
562
611
|
icon?: string;
|
|
612
|
+
/** Explicit private status flag */
|
|
613
|
+
isPrivate?: boolean;
|
|
614
|
+
/** Custom channel metadata or branding settings */
|
|
615
|
+
metadata?: CreateWorkspaceChannelDtoMetadata;
|
|
563
616
|
name: string;
|
|
564
617
|
type?: CreateWorkspaceChannelDtoType;
|
|
565
618
|
}
|
|
@@ -662,12 +715,6 @@ export declare const CreateIntegrationDtoService: {
|
|
|
662
715
|
readonly custom: "custom";
|
|
663
716
|
readonly huly: "huly";
|
|
664
717
|
};
|
|
665
|
-
export interface CreateIntegrationDto {
|
|
666
|
-
config: CreateIntegrationDtoConfig;
|
|
667
|
-
description?: string;
|
|
668
|
-
name: string;
|
|
669
|
-
service: CreateIntegrationDtoService;
|
|
670
|
-
}
|
|
671
718
|
export type CreateIntegrationDtoConfigCustomHeaders = {
|
|
672
719
|
[key: string]: unknown;
|
|
673
720
|
};
|
|
@@ -685,6 +732,12 @@ export type CreateIntegrationDtoConfig = {
|
|
|
685
732
|
teamId?: string;
|
|
686
733
|
webhookUrl?: string;
|
|
687
734
|
};
|
|
735
|
+
export interface CreateIntegrationDto {
|
|
736
|
+
config: CreateIntegrationDtoConfig;
|
|
737
|
+
description?: string;
|
|
738
|
+
name: string;
|
|
739
|
+
service: CreateIntegrationDtoService;
|
|
740
|
+
}
|
|
688
741
|
export interface CreateIntegrationWebhookDto {
|
|
689
742
|
events: string[];
|
|
690
743
|
name: string;
|
|
@@ -771,6 +824,91 @@ export interface V3CreateWebhookDto {
|
|
|
771
824
|
name: string;
|
|
772
825
|
url: string;
|
|
773
826
|
}
|
|
827
|
+
export type V3UpdateChannelMemberDtoRole = typeof V3UpdateChannelMemberDtoRole[keyof typeof V3UpdateChannelMemberDtoRole];
|
|
828
|
+
export declare const V3UpdateChannelMemberDtoRole: {
|
|
829
|
+
readonly admin: "admin";
|
|
830
|
+
readonly moderator: "moderator";
|
|
831
|
+
readonly member: "member";
|
|
832
|
+
};
|
|
833
|
+
/**
|
|
834
|
+
* Bitwise permission string or integer value
|
|
835
|
+
*/
|
|
836
|
+
export type V3UpdateChannelMemberDtoPermissions = {
|
|
837
|
+
[key: string]: unknown;
|
|
838
|
+
};
|
|
839
|
+
export interface V3UpdateChannelMemberDto {
|
|
840
|
+
/** Bitwise permission string or integer value */
|
|
841
|
+
permissions?: V3UpdateChannelMemberDtoPermissions;
|
|
842
|
+
role?: V3UpdateChannelMemberDtoRole;
|
|
843
|
+
}
|
|
844
|
+
/**
|
|
845
|
+
* Bitwise permission string or integer value
|
|
846
|
+
*/
|
|
847
|
+
export type V3AddChannelMemberDtoPermissions = {
|
|
848
|
+
[key: string]: unknown;
|
|
849
|
+
};
|
|
850
|
+
export interface V3AddChannelMemberDto {
|
|
851
|
+
/** Bitwise permission string or integer value */
|
|
852
|
+
permissions?: V3AddChannelMemberDtoPermissions;
|
|
853
|
+
/** Channel role */
|
|
854
|
+
role?: string;
|
|
855
|
+
/** User ID to add to channel */
|
|
856
|
+
userId?: string;
|
|
857
|
+
/** Array of user IDs to add */
|
|
858
|
+
userIds?: string[];
|
|
859
|
+
}
|
|
860
|
+
export type V3UpdateChannelDtoType = typeof V3UpdateChannelDtoType[keyof typeof V3UpdateChannelDtoType];
|
|
861
|
+
export declare const V3UpdateChannelDtoType: {
|
|
862
|
+
readonly public: "public";
|
|
863
|
+
readonly private: "private";
|
|
864
|
+
};
|
|
865
|
+
export type V3UpdateChannelDtoMetadata = {
|
|
866
|
+
[key: string]: unknown;
|
|
867
|
+
};
|
|
868
|
+
export interface V3UpdateChannelDto {
|
|
869
|
+
description?: string;
|
|
870
|
+
icon?: string;
|
|
871
|
+
isPrivate?: boolean;
|
|
872
|
+
metadata?: V3UpdateChannelDtoMetadata;
|
|
873
|
+
name?: string;
|
|
874
|
+
type?: V3UpdateChannelDtoType;
|
|
875
|
+
}
|
|
876
|
+
export type V3CreateChannelDtoType = typeof V3CreateChannelDtoType[keyof typeof V3CreateChannelDtoType];
|
|
877
|
+
export declare const V3CreateChannelDtoType: {
|
|
878
|
+
readonly public: "public";
|
|
879
|
+
readonly private: "private";
|
|
880
|
+
};
|
|
881
|
+
/**
|
|
882
|
+
* Custom channel metadata
|
|
883
|
+
*/
|
|
884
|
+
export type V3CreateChannelDtoMetadata = {
|
|
885
|
+
[key: string]: unknown;
|
|
886
|
+
};
|
|
887
|
+
export type V3CreateChannelDtoInitialMembersItemRole = typeof V3CreateChannelDtoInitialMembersItemRole[keyof typeof V3CreateChannelDtoInitialMembersItemRole];
|
|
888
|
+
export declare const V3CreateChannelDtoInitialMembersItemRole: {
|
|
889
|
+
readonly admin: "admin";
|
|
890
|
+
readonly moderator: "moderator";
|
|
891
|
+
readonly member: "member";
|
|
892
|
+
};
|
|
893
|
+
export type V3CreateChannelDtoInitialMembersItem = {
|
|
894
|
+
permissions?: string;
|
|
895
|
+
role?: V3CreateChannelDtoInitialMembersItemRole;
|
|
896
|
+
userId?: string;
|
|
897
|
+
};
|
|
898
|
+
export interface V3CreateChannelDto {
|
|
899
|
+
description?: string;
|
|
900
|
+
/** Icon identifier */
|
|
901
|
+
icon?: string;
|
|
902
|
+
/** Initial members to add to the channel */
|
|
903
|
+
initialMembers?: V3CreateChannelDtoInitialMembersItem[];
|
|
904
|
+
/** Explicit private status flag */
|
|
905
|
+
isPrivate?: boolean;
|
|
906
|
+
/** Custom channel metadata */
|
|
907
|
+
metadata?: V3CreateChannelDtoMetadata;
|
|
908
|
+
/** Name of the channel */
|
|
909
|
+
name: string;
|
|
910
|
+
type?: V3CreateChannelDtoType;
|
|
911
|
+
}
|
|
774
912
|
export type V3UpdateMemberRoleDtoRole = typeof V3UpdateMemberRoleDtoRole[keyof typeof V3UpdateMemberRoleDtoRole];
|
|
775
913
|
export declare const V3UpdateMemberRoleDtoRole: {
|
|
776
914
|
readonly owner: "owner";
|
|
@@ -910,6 +1048,15 @@ export declare const getSkyrmeChatAPI: () => {
|
|
|
910
1048
|
v3WorkspacesControllerGetWorkspaceMember: (slug: string, userId: string, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
911
1049
|
v3WorkspacesControllerUpdateWorkspaceMember: (slug: string, userId: string, v3UpdateMemberRoleDto: BodyType<V3UpdateMemberRoleDto>, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
912
1050
|
v3WorkspacesControllerDeleteWorkspaceMember: (slug: string, userId: string, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1051
|
+
v3WorkspacesControllerGetChannels: (slug: string, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1052
|
+
v3WorkspacesControllerCreateChannel: (slug: string, v3CreateChannelDto: BodyType<V3CreateChannelDto>, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1053
|
+
v3WorkspacesControllerGetChannel: (slug: string, channelId: string, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1054
|
+
v3WorkspacesControllerUpdateChannel: (slug: string, channelId: string, v3UpdateChannelDto: BodyType<V3UpdateChannelDto>, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1055
|
+
v3WorkspacesControllerDeleteChannel: (slug: string, channelId: string, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1056
|
+
v3WorkspacesControllerGetChannelMembers: (slug: string, channelId: string, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1057
|
+
v3WorkspacesControllerAddChannelMembers: (slug: string, channelId: string, v3AddChannelMemberDto: BodyType<V3AddChannelMemberDto>, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1058
|
+
v3WorkspacesControllerUpdateChannelMember: (slug: string, channelId: string, userId: string, v3UpdateChannelMemberDto: BodyType<V3UpdateChannelMemberDto>, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1059
|
+
v3WorkspacesControllerDeleteChannelMember: (slug: string, channelId: string, userId: string, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
913
1060
|
v3WebhooksControllerGetWebhooks: (slug: string, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
914
1061
|
v3WebhooksControllerCreateWebhook: (slug: string, v3CreateWebhookDto: BodyType<V3CreateWebhookDto>, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
915
1062
|
v3WebhooksControllerGetWebhook: (slug: string, webhookId: string, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
@@ -1026,7 +1173,8 @@ export declare const getSkyrmeChatAPI: () => {
|
|
|
1026
1173
|
channelsControllerUpdateChannel: (slug: string, channelId: string, updateWorkspaceChannelDto: BodyType<UpdateWorkspaceChannelDto>, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1027
1174
|
channelsControllerDeleteChannel: (slug: string, channelId: string, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1028
1175
|
channelsControllerGetChannelMembers: (slug: string, channelId: string, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1029
|
-
channelsControllerAddChannelMembers: (slug: string, channelId: string, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1176
|
+
channelsControllerAddChannelMembers: (slug: string, channelId: string, addChannelMemberDto: BodyType<AddChannelMemberDto>, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1177
|
+
channelsControllerUpdateChannelMember: (slug: string, channelId: string, targetUserId: string, updateChannelMemberDto: BodyType<UpdateChannelMemberDto>, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1030
1178
|
channelsControllerRemoveChannelMember: (slug: string, channelId: string, targetUserId: string, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1031
1179
|
departmentsControllerGetDepartments: (slug: string, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
1032
1180
|
departmentsControllerCreateDepartment: (slug: string, createWorkspaceDepartmentDto: BodyType<CreateWorkspaceDepartmentDto>, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
@@ -1138,6 +1286,15 @@ export type V3WorkspacesControllerAddWorkspaceMemberResult = NonNullable<Awaited
|
|
|
1138
1286
|
export type V3WorkspacesControllerGetWorkspaceMemberResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerGetWorkspaceMember']>>>;
|
|
1139
1287
|
export type V3WorkspacesControllerUpdateWorkspaceMemberResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerUpdateWorkspaceMember']>>>;
|
|
1140
1288
|
export type V3WorkspacesControllerDeleteWorkspaceMemberResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerDeleteWorkspaceMember']>>>;
|
|
1289
|
+
export type V3WorkspacesControllerGetChannelsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerGetChannels']>>>;
|
|
1290
|
+
export type V3WorkspacesControllerCreateChannelResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerCreateChannel']>>>;
|
|
1291
|
+
export type V3WorkspacesControllerGetChannelResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerGetChannel']>>>;
|
|
1292
|
+
export type V3WorkspacesControllerUpdateChannelResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerUpdateChannel']>>>;
|
|
1293
|
+
export type V3WorkspacesControllerDeleteChannelResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerDeleteChannel']>>>;
|
|
1294
|
+
export type V3WorkspacesControllerGetChannelMembersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerGetChannelMembers']>>>;
|
|
1295
|
+
export type V3WorkspacesControllerAddChannelMembersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerAddChannelMembers']>>>;
|
|
1296
|
+
export type V3WorkspacesControllerUpdateChannelMemberResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerUpdateChannelMember']>>>;
|
|
1297
|
+
export type V3WorkspacesControllerDeleteChannelMemberResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WorkspacesControllerDeleteChannelMember']>>>;
|
|
1141
1298
|
export type V3WebhooksControllerGetWebhooksResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WebhooksControllerGetWebhooks']>>>;
|
|
1142
1299
|
export type V3WebhooksControllerCreateWebhookResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WebhooksControllerCreateWebhook']>>>;
|
|
1143
1300
|
export type V3WebhooksControllerGetWebhookResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['v3WebhooksControllerGetWebhook']>>>;
|
|
@@ -1255,6 +1412,7 @@ export type ChannelsControllerUpdateChannelResult = NonNullable<Awaited<ReturnTy
|
|
|
1255
1412
|
export type ChannelsControllerDeleteChannelResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerDeleteChannel']>>>;
|
|
1256
1413
|
export type ChannelsControllerGetChannelMembersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerGetChannelMembers']>>>;
|
|
1257
1414
|
export type ChannelsControllerAddChannelMembersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerAddChannelMembers']>>>;
|
|
1415
|
+
export type ChannelsControllerUpdateChannelMemberResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerUpdateChannelMember']>>>;
|
|
1258
1416
|
export type ChannelsControllerRemoveChannelMemberResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['channelsControllerRemoveChannelMember']>>>;
|
|
1259
1417
|
export type DepartmentsControllerGetDepartmentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['departmentsControllerGetDepartments']>>>;
|
|
1260
1418
|
export type DepartmentsControllerCreateDepartmentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSkyrmeChatAPI>['departmentsControllerCreateDepartment']>>>;
|