@wildix/stream-client 4.2.1 → 4.2.3
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.
|
@@ -316,6 +316,7 @@ const _cu = "cursor";
|
|
|
316
316
|
const _d = "disabled";
|
|
317
317
|
const _dA = "deletedAt";
|
|
318
318
|
const _dAe = "deactivatedAt";
|
|
319
|
+
const _dN = "displayName";
|
|
319
320
|
const _de = "description";
|
|
320
321
|
const _do = "download";
|
|
321
322
|
const _e = "error";
|
|
@@ -1344,8 +1345,8 @@ exports.ShowChannelOutput$ = [3, n1, _SCOh,
|
|
|
1344
1345
|
];
|
|
1345
1346
|
exports.StreamUser$ = [3, n1, _SU,
|
|
1346
1347
|
0,
|
|
1347
|
-
[_i, _bo, _n, _em, _ph, _cIo, _pi, _pE, _lo, _tZ, _dAe, _cA, _uA],
|
|
1348
|
-
[0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
1348
|
+
[_i, _dN, _bo, _n, _em, _ph, _cIo, _pi, _pE, _lo, _tZ, _dAe, _cA, _uA],
|
|
1349
|
+
[0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 3
|
|
1349
1350
|
];
|
|
1350
1351
|
exports.UnmuteChannelInput$ = [3, n1, _UCI,
|
|
1351
1352
|
0,
|
|
@@ -308,6 +308,7 @@ const _cu = "cursor";
|
|
|
308
308
|
const _d = "disabled";
|
|
309
309
|
const _dA = "deletedAt";
|
|
310
310
|
const _dAe = "deactivatedAt";
|
|
311
|
+
const _dN = "displayName";
|
|
311
312
|
const _de = "description";
|
|
312
313
|
const _do = "download";
|
|
313
314
|
const _e = "error";
|
|
@@ -1336,8 +1337,8 @@ export var ShowChannelOutput$ = [3, n1, _SCOh,
|
|
|
1336
1337
|
];
|
|
1337
1338
|
export var StreamUser$ = [3, n1, _SU,
|
|
1338
1339
|
0,
|
|
1339
|
-
[_i, _bo, _n, _em, _ph, _cIo, _pi, _pE, _lo, _tZ, _dAe, _cA, _uA],
|
|
1340
|
-
[0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
1340
|
+
[_i, _dN, _bo, _n, _em, _ph, _cIo, _pi, _pE, _lo, _tZ, _dAe, _cA, _uA],
|
|
1341
|
+
[0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 3
|
|
1341
1342
|
];
|
|
1342
1343
|
export var UnmuteChannelInput$ = [3, n1, _UCI,
|
|
1343
1344
|
0,
|
|
@@ -59,12 +59,13 @@ declare const QueryUsersCommand_base: {
|
|
|
59
59
|
* // users: [ // StreamUserList // required
|
|
60
60
|
* // { // StreamUser
|
|
61
61
|
* // id: "STRING_VALUE", // required
|
|
62
|
+
* // displayName: "STRING_VALUE", // required
|
|
63
|
+
* // bot: true || false, // required
|
|
62
64
|
* // name: "STRING_VALUE",
|
|
63
65
|
* // email: "STRING_VALUE",
|
|
64
66
|
* // phone: "STRING_VALUE",
|
|
65
67
|
* // companyId: "STRING_VALUE",
|
|
66
68
|
* // picture: "STRING_VALUE",
|
|
67
|
-
* // bot: true || false, // required
|
|
68
69
|
* // pbxExtension: "STRING_VALUE",
|
|
69
70
|
* // locale: "STRING_VALUE",
|
|
70
71
|
* // timeZone: "STRING_VALUE",
|
|
@@ -56,12 +56,13 @@ declare const SearchUsersCommand_base: {
|
|
|
56
56
|
* // { // SearchUserHit
|
|
57
57
|
* // user: { // StreamUser
|
|
58
58
|
* // id: "STRING_VALUE", // required
|
|
59
|
+
* // displayName: "STRING_VALUE", // required
|
|
60
|
+
* // bot: true || false, // required
|
|
59
61
|
* // name: "STRING_VALUE",
|
|
60
62
|
* // email: "STRING_VALUE",
|
|
61
63
|
* // phone: "STRING_VALUE",
|
|
62
64
|
* // companyId: "STRING_VALUE",
|
|
63
65
|
* // picture: "STRING_VALUE",
|
|
64
|
-
* // bot: true || false, // required
|
|
65
66
|
* // pbxExtension: "STRING_VALUE",
|
|
66
67
|
* // locale: "STRING_VALUE",
|
|
67
68
|
* // timeZone: "STRING_VALUE",
|
|
@@ -3575,7 +3575,7 @@ export interface QueryUsersInput {
|
|
|
3575
3575
|
query: UsersQuery;
|
|
3576
3576
|
}
|
|
3577
3577
|
/**
|
|
3578
|
-
* A user of the directory. Every field except `id` and `bot` is present only when the directory holds it.
|
|
3578
|
+
* A user of the directory. Every field except `id`, `displayName` and `bot` is present only when the directory holds it and the caller may see it.
|
|
3579
3579
|
* @public
|
|
3580
3580
|
*/
|
|
3581
3581
|
export interface StreamUser {
|
|
@@ -3585,7 +3585,17 @@ export interface StreamUser {
|
|
|
3585
3585
|
*/
|
|
3586
3586
|
id: string;
|
|
3587
3587
|
/**
|
|
3588
|
-
*
|
|
3588
|
+
* What to call the user: their name, or when they have none the part of their email before the @, or when they have neither their id. Always present.
|
|
3589
|
+
* @public
|
|
3590
|
+
*/
|
|
3591
|
+
displayName: string;
|
|
3592
|
+
/**
|
|
3593
|
+
* True when the user is a bot.
|
|
3594
|
+
* @public
|
|
3595
|
+
*/
|
|
3596
|
+
bot: boolean;
|
|
3597
|
+
/**
|
|
3598
|
+
* Name.
|
|
3589
3599
|
* @public
|
|
3590
3600
|
*/
|
|
3591
3601
|
name?: string | undefined;
|
|
@@ -3609,11 +3619,6 @@ export interface StreamUser {
|
|
|
3609
3619
|
* @public
|
|
3610
3620
|
*/
|
|
3611
3621
|
picture?: string | undefined;
|
|
3612
|
-
/**
|
|
3613
|
-
* True when the user is a bot.
|
|
3614
|
-
* @public
|
|
3615
|
-
*/
|
|
3616
|
-
bot: boolean;
|
|
3617
3622
|
/**
|
|
3618
3623
|
* Extension on the PBX the user is linked to.
|
|
3619
3624
|
* @public
|
|
@@ -3952,7 +3957,7 @@ export interface SearchMessagesOutput {
|
|
|
3952
3957
|
*/
|
|
3953
3958
|
export interface SearchUserHit {
|
|
3954
3959
|
/**
|
|
3955
|
-
* A user of the directory. Every field except `id` and `bot` is present only when the directory holds it.
|
|
3960
|
+
* A user of the directory. Every field except `id`, `displayName` and `bot` is present only when the directory holds it and the caller may see it.
|
|
3956
3961
|
* @public
|
|
3957
3962
|
*/
|
|
3958
3963
|
user: StreamUser;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/stream-client",
|
|
3
3
|
"description": "@wildix/stream-client client",
|
|
4
|
-
"version": "4.2.
|
|
4
|
+
"version": "4.2.3",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|