@wildix/xbees-conversations-client 1.1.7 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +26 -0
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +3 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +15 -0
- package/dist-types/commands/GetChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +3 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +3 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +3 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +27 -1
- package/dist-types/commands/QueryChannelsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +26 -0
- package/dist-types/models/models_0.d.ts +29 -0
- package/package.json +1 -1
|
@@ -312,6 +312,9 @@ exports.MarkUnreadChannelsLimitReachedException = MarkUnreadChannelsLimitReached
|
|
|
312
312
|
exports.GroupChannelUnsetOptions = {
|
|
313
313
|
ACCESS: "access",
|
|
314
314
|
BROADCAST: "broadcast",
|
|
315
|
+
CONTEXT: "context",
|
|
316
|
+
CONTEXT_EVENTS: "context_events",
|
|
317
|
+
CONTEXT_PTT: "context_ptt",
|
|
315
318
|
DESCRIPTION: "description",
|
|
316
319
|
PICTURE: "picture",
|
|
317
320
|
PICTURE_COLOR: "pictureColor",
|
|
@@ -67,6 +67,7 @@ const se_CreateGroupChannelCommand = async (input, context) => {
|
|
|
67
67
|
'access': [],
|
|
68
68
|
'broadcast': [],
|
|
69
69
|
'channelId': [],
|
|
70
|
+
'context': _ => (0, smithy_client_1._json)(_),
|
|
70
71
|
'description': [],
|
|
71
72
|
'members': _ => (0, smithy_client_1._json)(_),
|
|
72
73
|
'membersToInvite': _ => (0, smithy_client_1._json)(_),
|
|
@@ -967,6 +968,7 @@ const se_UpdateChannelCommand = async (input, context) => {
|
|
|
967
968
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
968
969
|
'access': [],
|
|
969
970
|
'broadcast': [],
|
|
971
|
+
'context': _ => (0, smithy_client_1._json)(_),
|
|
970
972
|
'description': [],
|
|
971
973
|
'picture': [],
|
|
972
974
|
'pictureColor': [],
|
|
@@ -294,6 +294,9 @@ export class MarkUnreadChannelsLimitReachedException extends __BaseException {
|
|
|
294
294
|
export const GroupChannelUnsetOptions = {
|
|
295
295
|
ACCESS: "access",
|
|
296
296
|
BROADCAST: "broadcast",
|
|
297
|
+
CONTEXT: "context",
|
|
298
|
+
CONTEXT_EVENTS: "context_events",
|
|
299
|
+
CONTEXT_PTT: "context_ptt",
|
|
297
300
|
DESCRIPTION: "description",
|
|
298
301
|
PICTURE: "picture",
|
|
299
302
|
PICTURE_COLOR: "pictureColor",
|
|
@@ -60,6 +60,7 @@ export const se_CreateGroupChannelCommand = async (input, context) => {
|
|
|
60
60
|
'access': [],
|
|
61
61
|
'broadcast': [],
|
|
62
62
|
'channelId': [],
|
|
63
|
+
'context': _ => _json(_),
|
|
63
64
|
'description': [],
|
|
64
65
|
'members': _ => _json(_),
|
|
65
66
|
'membersToInvite': _ => _json(_),
|
|
@@ -911,6 +912,7 @@ export const se_UpdateChannelCommand = async (input, context) => {
|
|
|
911
912
|
body = JSON.stringify(take(input, {
|
|
912
913
|
'access': [],
|
|
913
914
|
'broadcast': [],
|
|
915
|
+
'context': _ => _json(_),
|
|
914
916
|
'description': [],
|
|
915
917
|
'picture': [],
|
|
916
918
|
'pictureColor': [],
|
|
@@ -41,6 +41,29 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
41
41
|
* pictureColor: "STRING_VALUE",
|
|
42
42
|
* access: "private" || "public",
|
|
43
43
|
* broadcast: true || false,
|
|
44
|
+
* context: { // ChannelContext
|
|
45
|
+
* source: "kite",
|
|
46
|
+
* target: "STRING_VALUE",
|
|
47
|
+
* events: [ // ChannelContextEventList
|
|
48
|
+
* { // ChannelContextEvent
|
|
49
|
+
* id: "STRING_VALUE",
|
|
50
|
+
* owner: "STRING_VALUE",
|
|
51
|
+
* start: "STRING_VALUE",
|
|
52
|
+
* end: "STRING_VALUE",
|
|
53
|
+
* summary: "STRING_VALUE",
|
|
54
|
+
* attendees: [ // ChannelContextEventAttendeeList
|
|
55
|
+
* { // ChannelContextEventAttendee
|
|
56
|
+
* email: "STRING_VALUE", // required
|
|
57
|
+
* name: "STRING_VALUE",
|
|
58
|
+
* status: "accepted" || "tentative" || "declined" || "none", // required
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* ppt: { // ChannelContextPushToTalk
|
|
64
|
+
* broadcastId: "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
44
67
|
* userId: "STRING_VALUE",
|
|
45
68
|
* channelId: "STRING_VALUE",
|
|
46
69
|
* members: [ // UsersIdList
|
|
@@ -84,6 +107,9 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
84
107
|
* // ],
|
|
85
108
|
* // },
|
|
86
109
|
* // ],
|
|
110
|
+
* // ppt: { // ChannelContextPushToTalk
|
|
111
|
+
* // broadcastId: "STRING_VALUE",
|
|
112
|
+
* // },
|
|
87
113
|
* // },
|
|
88
114
|
* // kite: true || false,
|
|
89
115
|
* // kiteTarget: "STRING_VALUE",
|
|
@@ -255,6 +255,9 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
255
255
|
* // ],
|
|
256
256
|
* // },
|
|
257
257
|
* // ],
|
|
258
|
+
* // ppt: { // ChannelContextPushToTalk
|
|
259
|
+
* // broadcastId: "STRING_VALUE",
|
|
260
|
+
* // },
|
|
258
261
|
* // },
|
|
259
262
|
* // kite: true || false,
|
|
260
263
|
* // kiteTarget: "STRING_VALUE",
|
|
@@ -73,6 +73,9 @@ declare const DescribeEventCommand_base: {
|
|
|
73
73
|
* // ],
|
|
74
74
|
* // },
|
|
75
75
|
* // ],
|
|
76
|
+
* // ppt: { // ChannelContextPushToTalk
|
|
77
|
+
* // broadcastId: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
76
79
|
* // },
|
|
77
80
|
* // kite: true || false,
|
|
78
81
|
* // kiteTarget: "STRING_VALUE",
|
|
@@ -178,6 +181,9 @@ declare const DescribeEventCommand_base: {
|
|
|
178
181
|
* // ],
|
|
179
182
|
* // },
|
|
180
183
|
* // ],
|
|
184
|
+
* // ppt: {
|
|
185
|
+
* // broadcastId: "STRING_VALUE",
|
|
186
|
+
* // },
|
|
181
187
|
* // },
|
|
182
188
|
* // kite: true || false,
|
|
183
189
|
* // kiteTarget: "STRING_VALUE",
|
|
@@ -283,6 +289,9 @@ declare const DescribeEventCommand_base: {
|
|
|
283
289
|
* // ],
|
|
284
290
|
* // },
|
|
285
291
|
* // ],
|
|
292
|
+
* // ppt: {
|
|
293
|
+
* // broadcastId: "STRING_VALUE",
|
|
294
|
+
* // },
|
|
286
295
|
* // },
|
|
287
296
|
* // kite: true || false,
|
|
288
297
|
* // kiteTarget: "STRING_VALUE",
|
|
@@ -367,6 +376,9 @@ declare const DescribeEventCommand_base: {
|
|
|
367
376
|
* // ],
|
|
368
377
|
* // },
|
|
369
378
|
* // ],
|
|
379
|
+
* // ppt: {
|
|
380
|
+
* // broadcastId: "STRING_VALUE",
|
|
381
|
+
* // },
|
|
370
382
|
* // },
|
|
371
383
|
* // kite: true || false,
|
|
372
384
|
* // kiteTarget: "STRING_VALUE",
|
|
@@ -434,6 +446,9 @@ declare const DescribeEventCommand_base: {
|
|
|
434
446
|
* // ],
|
|
435
447
|
* // },
|
|
436
448
|
* // ],
|
|
449
|
+
* // ppt: {
|
|
450
|
+
* // broadcastId: "STRING_VALUE",
|
|
451
|
+
* // },
|
|
437
452
|
* // },
|
|
438
453
|
* // kite: true || false,
|
|
439
454
|
* // kiteTarget: "STRING_VALUE",
|
|
@@ -45,9 +45,32 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
45
45
|
* pictureColor: "STRING_VALUE",
|
|
46
46
|
* access: "private" || "public",
|
|
47
47
|
* broadcast: true || false,
|
|
48
|
+
* context: { // ChannelContext
|
|
49
|
+
* source: "kite",
|
|
50
|
+
* target: "STRING_VALUE",
|
|
51
|
+
* events: [ // ChannelContextEventList
|
|
52
|
+
* { // ChannelContextEvent
|
|
53
|
+
* id: "STRING_VALUE",
|
|
54
|
+
* owner: "STRING_VALUE",
|
|
55
|
+
* start: "STRING_VALUE",
|
|
56
|
+
* end: "STRING_VALUE",
|
|
57
|
+
* summary: "STRING_VALUE",
|
|
58
|
+
* attendees: [ // ChannelContextEventAttendeeList
|
|
59
|
+
* { // ChannelContextEventAttendee
|
|
60
|
+
* email: "STRING_VALUE", // required
|
|
61
|
+
* name: "STRING_VALUE",
|
|
62
|
+
* status: "accepted" || "tentative" || "declined" || "none", // required
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* ppt: { // ChannelContextPushToTalk
|
|
68
|
+
* broadcastId: "STRING_VALUE",
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
48
71
|
* },
|
|
49
72
|
* unset: [ // PartialUpdateChannelUnsetOptions
|
|
50
|
-
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast",
|
|
73
|
+
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "context_ptt" || "context_events",
|
|
51
74
|
* ],
|
|
52
75
|
* };
|
|
53
76
|
* const command = new PartialUpdateChannelCommand(input);
|
|
@@ -79,6 +102,9 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
79
102
|
* // ],
|
|
80
103
|
* // },
|
|
81
104
|
* // ],
|
|
105
|
+
* // ppt: { // ChannelContextPushToTalk
|
|
106
|
+
* // broadcastId: "STRING_VALUE",
|
|
107
|
+
* // },
|
|
82
108
|
* // },
|
|
83
109
|
* // kite: true || false,
|
|
84
110
|
* // kiteTarget: "STRING_VALUE",
|
|
@@ -41,6 +41,29 @@ declare const UpdateChannelCommand_base: {
|
|
|
41
41
|
* pictureColor: "STRING_VALUE",
|
|
42
42
|
* access: "private" || "public",
|
|
43
43
|
* broadcast: true || false,
|
|
44
|
+
* context: { // ChannelContext
|
|
45
|
+
* source: "kite",
|
|
46
|
+
* target: "STRING_VALUE",
|
|
47
|
+
* events: [ // ChannelContextEventList
|
|
48
|
+
* { // ChannelContextEvent
|
|
49
|
+
* id: "STRING_VALUE",
|
|
50
|
+
* owner: "STRING_VALUE",
|
|
51
|
+
* start: "STRING_VALUE",
|
|
52
|
+
* end: "STRING_VALUE",
|
|
53
|
+
* summary: "STRING_VALUE",
|
|
54
|
+
* attendees: [ // ChannelContextEventAttendeeList
|
|
55
|
+
* { // ChannelContextEventAttendee
|
|
56
|
+
* email: "STRING_VALUE", // required
|
|
57
|
+
* name: "STRING_VALUE",
|
|
58
|
+
* status: "accepted" || "tentative" || "declined" || "none", // required
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* ppt: { // ChannelContextPushToTalk
|
|
64
|
+
* broadcastId: "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
44
67
|
* channelId: "STRING_VALUE", // required
|
|
45
68
|
* userId: "STRING_VALUE",
|
|
46
69
|
* silent: true || false,
|
|
@@ -74,6 +97,9 @@ declare const UpdateChannelCommand_base: {
|
|
|
74
97
|
* // ],
|
|
75
98
|
* // },
|
|
76
99
|
* // ],
|
|
100
|
+
* // ppt: { // ChannelContextPushToTalk
|
|
101
|
+
* // broadcastId: "STRING_VALUE",
|
|
102
|
+
* // },
|
|
77
103
|
* // },
|
|
78
104
|
* // kite: true || false,
|
|
79
105
|
* // kiteTarget: "STRING_VALUE",
|
|
@@ -425,6 +425,16 @@ export interface ChannelContextEvent {
|
|
|
425
425
|
summary?: string;
|
|
426
426
|
attendees?: (ChannelContextEventAttendee)[];
|
|
427
427
|
}
|
|
428
|
+
/**
|
|
429
|
+
* @public
|
|
430
|
+
*/
|
|
431
|
+
export interface ChannelContextPushToTalk {
|
|
432
|
+
/**
|
|
433
|
+
* A unique identifier of x-hoppers broadcast conference. If present x-hoppers application will use broadcast and push-to-talk functionality for the channel.
|
|
434
|
+
* @public
|
|
435
|
+
*/
|
|
436
|
+
broadcastId?: string;
|
|
437
|
+
}
|
|
428
438
|
/**
|
|
429
439
|
* @public
|
|
430
440
|
* @enum
|
|
@@ -443,6 +453,7 @@ export interface ChannelContext {
|
|
|
443
453
|
source?: ChannelContextSource;
|
|
444
454
|
target?: string;
|
|
445
455
|
events?: (ChannelContextEvent)[];
|
|
456
|
+
ppt?: ChannelContextPushToTalk;
|
|
446
457
|
}
|
|
447
458
|
/**
|
|
448
459
|
* @public
|
|
@@ -549,6 +560,11 @@ export interface CreateGroupChannelInput {
|
|
|
549
560
|
* @public
|
|
550
561
|
*/
|
|
551
562
|
broadcast?: boolean;
|
|
563
|
+
/**
|
|
564
|
+
* An additional information that associated with this channel.
|
|
565
|
+
* @public
|
|
566
|
+
*/
|
|
567
|
+
context?: ChannelContext;
|
|
552
568
|
/**
|
|
553
569
|
* The unique identifier of the user when a service token is used.
|
|
554
570
|
* @public
|
|
@@ -1929,6 +1945,11 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
1929
1945
|
* @public
|
|
1930
1946
|
*/
|
|
1931
1947
|
broadcast?: boolean;
|
|
1948
|
+
/**
|
|
1949
|
+
* An additional information that associated with this channel.
|
|
1950
|
+
* @public
|
|
1951
|
+
*/
|
|
1952
|
+
context?: ChannelContext;
|
|
1932
1953
|
}
|
|
1933
1954
|
/**
|
|
1934
1955
|
* @public
|
|
@@ -1937,6 +1958,9 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
1937
1958
|
export declare const GroupChannelUnsetOptions: {
|
|
1938
1959
|
readonly ACCESS: "access";
|
|
1939
1960
|
readonly BROADCAST: "broadcast";
|
|
1961
|
+
readonly CONTEXT: "context";
|
|
1962
|
+
readonly CONTEXT_EVENTS: "context_events";
|
|
1963
|
+
readonly CONTEXT_PTT: "context_ptt";
|
|
1940
1964
|
readonly DESCRIPTION: "description";
|
|
1941
1965
|
readonly PICTURE: "picture";
|
|
1942
1966
|
readonly PICTURE_COLOR: "pictureColor";
|
|
@@ -2550,6 +2574,11 @@ export interface UpdateChannelInput {
|
|
|
2550
2574
|
* @public
|
|
2551
2575
|
*/
|
|
2552
2576
|
broadcast?: boolean;
|
|
2577
|
+
/**
|
|
2578
|
+
* An additional information that associated with this channel.
|
|
2579
|
+
* @public
|
|
2580
|
+
*/
|
|
2581
|
+
context?: ChannelContext;
|
|
2553
2582
|
/**
|
|
2554
2583
|
* The unique identifier of the channel to be updated.
|
|
2555
2584
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-conversations-client",
|
|
3
3
|
"description": "@wildix/xbees-conversations-client client",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.8",
|
|
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",
|