@wildix/xbees-conversations-client 1.0.35 → 1.0.37
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/ConversationsClient.js +7 -3
- package/dist-cjs/commands/AddChannelMemberCommand.js +12 -32
- package/dist-cjs/commands/AddChannelMembersCommand.js +12 -32
- package/dist-cjs/commands/CreateGroupChannelCommand.js +12 -32
- package/dist-cjs/commands/DeleteChannelCommand.js +12 -32
- package/dist-cjs/commands/DeleteChannelMemberCommand.js +12 -32
- package/dist-cjs/commands/DeleteMessageCommand.js +12 -32
- package/dist-cjs/commands/DeleteMessageReactionCommand.js +12 -32
- package/dist-cjs/commands/GetChannelCommand.js +12 -32
- package/dist-cjs/commands/GetChannelMemberCommand.js +12 -32
- package/dist-cjs/commands/GetDirectChannelIdCommand.js +12 -32
- package/dist-cjs/commands/GetMessageCommand.js +12 -32
- package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +12 -32
- package/dist-cjs/commands/HideChannelCommand.js +12 -32
- package/dist-cjs/commands/InviteCommand.js +12 -32
- package/dist-cjs/commands/JoinChannelCommand.js +12 -32
- package/dist-cjs/commands/LeaveChannelCommand.js +12 -32
- package/dist-cjs/commands/ListChannelMembersCommand.js +12 -32
- package/dist-cjs/commands/ListChannelsCommand.js +12 -32
- package/dist-cjs/commands/ListMessageReactionsCommand.js +12 -32
- package/dist-cjs/commands/ListMessagesCommand.js +12 -32
- package/dist-cjs/commands/MarkReadCommand.js +12 -32
- package/dist-cjs/commands/PartialUpdateChannelCommand.js +12 -32
- package/dist-cjs/commands/PartialUpdateMessageCommand.js +12 -32
- package/dist-cjs/commands/ScheduleExternalFlagAdjustmentJobCommand.js +12 -32
- package/dist-cjs/commands/SendGiphyCommand.js +12 -32
- package/dist-cjs/commands/SendMessageCommand.js +12 -32
- package/dist-cjs/commands/SendMessageReactionCommand.js +12 -32
- package/dist-cjs/commands/SendTypingStartCommand.js +12 -32
- package/dist-cjs/commands/SendTypingStopCommand.js +12 -32
- package/dist-cjs/commands/ShowChannelCommand.js +12 -32
- package/dist-cjs/commands/UpdateChannelCommand.js +12 -32
- package/dist-cjs/commands/UpdateMessageCommand.js +12 -32
- package/dist-cjs/protocols/Aws_restJson1.js +346 -1270
- package/dist-cjs/runtimeConfig.browser.js +5 -1
- package/dist-cjs/runtimeConfig.js +5 -1
- package/dist-cjs/runtimeConfig.shared.js +13 -11
- package/dist-es/ConversationsClient.js +7 -3
- package/dist-es/commands/AddChannelMemberCommand.js +12 -32
- package/dist-es/commands/AddChannelMembersCommand.js +12 -32
- package/dist-es/commands/CreateGroupChannelCommand.js +12 -32
- package/dist-es/commands/DeleteChannelCommand.js +12 -32
- package/dist-es/commands/DeleteChannelMemberCommand.js +12 -32
- package/dist-es/commands/DeleteMessageCommand.js +12 -32
- package/dist-es/commands/DeleteMessageReactionCommand.js +12 -32
- package/dist-es/commands/GetChannelCommand.js +12 -32
- package/dist-es/commands/GetChannelMemberCommand.js +12 -32
- package/dist-es/commands/GetDirectChannelIdCommand.js +12 -32
- package/dist-es/commands/GetMessageCommand.js +12 -32
- package/dist-es/commands/GetOrCreateDirectChannelCommand.js +12 -32
- package/dist-es/commands/HideChannelCommand.js +12 -32
- package/dist-es/commands/InviteCommand.js +12 -32
- package/dist-es/commands/JoinChannelCommand.js +12 -32
- package/dist-es/commands/LeaveChannelCommand.js +12 -32
- package/dist-es/commands/ListChannelMembersCommand.js +12 -32
- package/dist-es/commands/ListChannelsCommand.js +12 -32
- package/dist-es/commands/ListMessageReactionsCommand.js +12 -32
- package/dist-es/commands/ListMessagesCommand.js +12 -32
- package/dist-es/commands/MarkReadCommand.js +12 -32
- package/dist-es/commands/PartialUpdateChannelCommand.js +12 -32
- package/dist-es/commands/PartialUpdateMessageCommand.js +12 -32
- package/dist-es/commands/ScheduleExternalFlagAdjustmentJobCommand.js +12 -32
- package/dist-es/commands/SendGiphyCommand.js +12 -32
- package/dist-es/commands/SendMessageCommand.js +12 -32
- package/dist-es/commands/SendMessageReactionCommand.js +12 -32
- package/dist-es/commands/SendTypingStartCommand.js +12 -32
- package/dist-es/commands/SendTypingStopCommand.js +12 -32
- package/dist-es/commands/ShowChannelCommand.js +12 -32
- package/dist-es/commands/UpdateChannelCommand.js +12 -32
- package/dist-es/commands/UpdateMessageCommand.js +12 -32
- package/dist-es/protocols/Aws_restJson1.js +347 -1271
- package/dist-es/runtimeConfig.browser.js +4 -1
- package/dist-es/runtimeConfig.js +4 -1
- package/dist-es/runtimeConfig.shared.js +13 -11
- package/dist-types/Conversations.d.ts +4 -0
- package/dist-types/ConversationsClient.d.ts +13 -7
- package/dist-types/commands/AddChannelMemberCommand.d.ts +8 -19
- package/dist-types/commands/AddChannelMembersCommand.d.ts +8 -19
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +7 -19
- package/dist-types/commands/DeleteChannelCommand.d.ts +7 -19
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +8 -19
- package/dist-types/commands/DeleteMessageCommand.d.ts +7 -19
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +7 -19
- package/dist-types/commands/GetChannelCommand.d.ts +7 -19
- package/dist-types/commands/GetChannelMemberCommand.d.ts +7 -19
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +9 -21
- package/dist-types/commands/GetMessageCommand.d.ts +7 -19
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +7 -19
- package/dist-types/commands/HideChannelCommand.d.ts +8 -84
- package/dist-types/commands/InviteCommand.d.ts +7 -19
- package/dist-types/commands/JoinChannelCommand.d.ts +7 -19
- package/dist-types/commands/LeaveChannelCommand.d.ts +7 -19
- package/dist-types/commands/ListChannelMembersCommand.d.ts +7 -19
- package/dist-types/commands/ListChannelsCommand.d.ts +7 -19
- package/dist-types/commands/ListMessageReactionsCommand.d.ts +7 -19
- package/dist-types/commands/ListMessagesCommand.d.ts +8 -20
- package/dist-types/commands/MarkReadCommand.d.ts +7 -19
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +8 -19
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +7 -19
- package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +8 -20
- package/dist-types/commands/SendGiphyCommand.d.ts +7 -19
- package/dist-types/commands/SendMessageCommand.d.ts +7 -19
- package/dist-types/commands/SendMessageReactionCommand.d.ts +7 -19
- package/dist-types/commands/SendTypingStartCommand.d.ts +7 -19
- package/dist-types/commands/SendTypingStopCommand.d.ts +7 -19
- package/dist-types/commands/ShowChannelCommand.d.ts +8 -84
- package/dist-types/commands/UpdateChannelCommand.d.ts +8 -19
- package/dist-types/commands/UpdateMessageCommand.d.ts +7 -19
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +69 -46
- package/dist-types/runtimeConfig.browser.d.ts +3 -4
- package/dist-types/runtimeConfig.d.ts +3 -4
- package/dist-types/runtimeConfig.native.d.ts +3 -4
- package/package.json +30 -28
|
@@ -67,8 +67,13 @@ export interface UserToInvite {
|
|
|
67
67
|
export interface AddChannelMemberInput {
|
|
68
68
|
channelId: string;
|
|
69
69
|
/**
|
|
70
|
+
* User ID for server side calls
|
|
70
71
|
* @public
|
|
72
|
+
*/
|
|
73
|
+
userId?: string;
|
|
74
|
+
/**
|
|
71
75
|
* True to not send a system message that members added from the conversartion. Default - false.
|
|
76
|
+
* @public
|
|
72
77
|
*/
|
|
73
78
|
silent?: boolean;
|
|
74
79
|
memberId?: string;
|
|
@@ -92,20 +97,20 @@ export type ChannelMemberRole = typeof ChannelMemberRole[keyof typeof ChannelMem
|
|
|
92
97
|
export interface ChannelMember {
|
|
93
98
|
id: string;
|
|
94
99
|
createdAt: string;
|
|
95
|
-
role: ChannelMemberRole
|
|
100
|
+
role: ChannelMemberRole;
|
|
96
101
|
}
|
|
97
102
|
/**
|
|
98
103
|
* @public
|
|
99
104
|
*/
|
|
100
105
|
export interface AddChannelMemberOutput {
|
|
101
106
|
/**
|
|
102
|
-
* @public
|
|
103
107
|
* Member added to the channel
|
|
108
|
+
* @public
|
|
104
109
|
*/
|
|
105
110
|
member: ChannelMember;
|
|
106
111
|
/**
|
|
107
|
-
* @public
|
|
108
112
|
* Users added to the channel
|
|
113
|
+
* @public
|
|
109
114
|
*/
|
|
110
115
|
user: User;
|
|
111
116
|
}
|
|
@@ -137,8 +142,13 @@ export declare class MemberAlreadyExistException extends __BaseException {
|
|
|
137
142
|
export interface AddChannelMembersInput {
|
|
138
143
|
channelId: string;
|
|
139
144
|
/**
|
|
145
|
+
* User ID for server side calls
|
|
140
146
|
* @public
|
|
147
|
+
*/
|
|
148
|
+
userId?: string;
|
|
149
|
+
/**
|
|
141
150
|
* True to not send a system message that members added from the conversartion. Default - false.
|
|
151
|
+
* @public
|
|
142
152
|
*/
|
|
143
153
|
silent?: boolean;
|
|
144
154
|
members?: (string)[];
|
|
@@ -149,13 +159,13 @@ export interface AddChannelMembersInput {
|
|
|
149
159
|
*/
|
|
150
160
|
export interface AddChannelMembersOutput {
|
|
151
161
|
/**
|
|
152
|
-
* @public
|
|
153
162
|
* The list of members added to the channel
|
|
163
|
+
* @public
|
|
154
164
|
*/
|
|
155
165
|
members: (ChannelMember)[];
|
|
156
166
|
/**
|
|
157
|
-
* @public
|
|
158
167
|
* The list of users added to the channel
|
|
168
|
+
* @public
|
|
159
169
|
*/
|
|
160
170
|
users: (User)[];
|
|
161
171
|
}
|
|
@@ -191,7 +201,7 @@ export type ChannelContextEventAttendeeStatus = typeof ChannelContextEventAttend
|
|
|
191
201
|
export interface ChannelContextEventAttendee {
|
|
192
202
|
email: string;
|
|
193
203
|
name?: string;
|
|
194
|
-
status: ChannelContextEventAttendeeStatus
|
|
204
|
+
status: ChannelContextEventAttendeeStatus;
|
|
195
205
|
}
|
|
196
206
|
/**
|
|
197
207
|
* @public
|
|
@@ -219,7 +229,7 @@ export type ChannelContextSource = typeof ChannelContextSource[keyof typeof Chan
|
|
|
219
229
|
* @public
|
|
220
230
|
*/
|
|
221
231
|
export interface ChannelContext {
|
|
222
|
-
source?: ChannelContextSource
|
|
232
|
+
source?: ChannelContextSource;
|
|
223
233
|
target?: string;
|
|
224
234
|
events?: (ChannelContextEvent)[];
|
|
225
235
|
}
|
|
@@ -230,16 +240,16 @@ export interface Channel {
|
|
|
230
240
|
subject?: string;
|
|
231
241
|
description?: string;
|
|
232
242
|
/**
|
|
233
|
-
* @public
|
|
234
243
|
* Picture URL
|
|
244
|
+
* @public
|
|
235
245
|
*/
|
|
236
246
|
picture?: string;
|
|
237
247
|
/**
|
|
238
|
-
* @public
|
|
239
248
|
* Picture dominant color represented by a hex value.
|
|
249
|
+
* @public
|
|
240
250
|
*/
|
|
241
251
|
pictureColor?: string;
|
|
242
|
-
access?: ChannelAccess
|
|
252
|
+
access?: ChannelAccess;
|
|
243
253
|
company?: string;
|
|
244
254
|
context?: ChannelContext;
|
|
245
255
|
kite?: boolean;
|
|
@@ -258,7 +268,7 @@ export interface Channel {
|
|
|
258
268
|
broadcast?: boolean;
|
|
259
269
|
external?: boolean;
|
|
260
270
|
channelId: string;
|
|
261
|
-
channelType: ChannelType
|
|
271
|
+
channelType: ChannelType;
|
|
262
272
|
memberCount: number;
|
|
263
273
|
createdAt: string;
|
|
264
274
|
createdBy: string;
|
|
@@ -282,16 +292,16 @@ export interface CreateGroupChannelInput {
|
|
|
282
292
|
subject?: string;
|
|
283
293
|
description?: string;
|
|
284
294
|
/**
|
|
285
|
-
* @public
|
|
286
295
|
* Picture URL
|
|
296
|
+
* @public
|
|
287
297
|
*/
|
|
288
298
|
picture?: string;
|
|
289
299
|
/**
|
|
290
|
-
* @public
|
|
291
300
|
* Picture dominant color represented by a hex value.
|
|
301
|
+
* @public
|
|
292
302
|
*/
|
|
293
303
|
pictureColor?: string;
|
|
294
|
-
access?: ChannelAccess
|
|
304
|
+
access?: ChannelAccess;
|
|
295
305
|
broadcast?: boolean;
|
|
296
306
|
userId?: string;
|
|
297
307
|
channelId?: string;
|
|
@@ -320,10 +330,15 @@ export interface DeleteChannelOutput {
|
|
|
320
330
|
*/
|
|
321
331
|
export interface DeleteChannelMemberInput {
|
|
322
332
|
channelId: string;
|
|
323
|
-
memberId: string;
|
|
324
333
|
/**
|
|
334
|
+
* User ID for server side calls
|
|
325
335
|
* @public
|
|
336
|
+
*/
|
|
337
|
+
userId?: string;
|
|
338
|
+
memberId: string;
|
|
339
|
+
/**
|
|
326
340
|
* True to not send a system message that member was removed from the conversartion. Default - false.
|
|
341
|
+
* @public
|
|
327
342
|
*/
|
|
328
343
|
silent?: boolean;
|
|
329
344
|
}
|
|
@@ -350,8 +365,8 @@ export interface DeleteMessageInput {
|
|
|
350
365
|
channelId: string;
|
|
351
366
|
messageId: string;
|
|
352
367
|
/**
|
|
353
|
-
* @public
|
|
354
368
|
* User ID for server side calls
|
|
369
|
+
* @public
|
|
355
370
|
*/
|
|
356
371
|
userId?: string;
|
|
357
372
|
}
|
|
@@ -396,18 +411,18 @@ export type ReactionType = typeof ReactionType[keyof typeof ReactionType];
|
|
|
396
411
|
export interface DeleteMessageReactionInput {
|
|
397
412
|
channelId: string;
|
|
398
413
|
/**
|
|
399
|
-
* @public
|
|
400
414
|
* ID of the message to react to.
|
|
415
|
+
* @public
|
|
401
416
|
*/
|
|
402
417
|
messageId: string;
|
|
403
418
|
/**
|
|
404
|
-
* @public
|
|
405
419
|
* Type of the reaction.
|
|
420
|
+
* @public
|
|
406
421
|
*/
|
|
407
|
-
reactionType: ReactionType
|
|
422
|
+
reactionType: ReactionType;
|
|
408
423
|
/**
|
|
409
|
-
* @public
|
|
410
424
|
* User ID for server side calls
|
|
425
|
+
* @public
|
|
411
426
|
*/
|
|
412
427
|
userId?: string;
|
|
413
428
|
}
|
|
@@ -447,8 +462,8 @@ export interface GetChannelMemberOutput {
|
|
|
447
462
|
*/
|
|
448
463
|
export interface GetDirectChannelIdInput {
|
|
449
464
|
userId?: string;
|
|
450
|
-
|
|
451
|
-
|
|
465
|
+
memberId?: string;
|
|
466
|
+
memberToInvite?: UserToInvite;
|
|
452
467
|
}
|
|
453
468
|
/**
|
|
454
469
|
* @public
|
|
@@ -469,8 +484,8 @@ export interface GetMessageInput {
|
|
|
469
484
|
export interface MessageAttachment {
|
|
470
485
|
id: string;
|
|
471
486
|
/**
|
|
472
|
-
* @public
|
|
473
487
|
* This *is* documentation about the field. Describe here what fsId and how to get it.
|
|
488
|
+
* @public
|
|
474
489
|
*/
|
|
475
490
|
fsId: string;
|
|
476
491
|
mime?: string;
|
|
@@ -556,12 +571,12 @@ export interface Message {
|
|
|
556
571
|
attachments?: (MessageAttachment)[];
|
|
557
572
|
quote?: MessageQuote;
|
|
558
573
|
forward?: MessageForward;
|
|
559
|
-
type: MessageType
|
|
574
|
+
type: MessageType;
|
|
560
575
|
giphy?: MessageGiphy;
|
|
561
576
|
silent?: boolean;
|
|
562
577
|
event?: string;
|
|
563
578
|
sms?: boolean;
|
|
564
|
-
smsStatus?: MessageSmsStatus
|
|
579
|
+
smsStatus?: MessageSmsStatus;
|
|
565
580
|
messageId: string;
|
|
566
581
|
channelId: string;
|
|
567
582
|
user: User;
|
|
@@ -603,7 +618,6 @@ export interface HideChannelInput {
|
|
|
603
618
|
* @public
|
|
604
619
|
*/
|
|
605
620
|
export interface HideChannelOutput {
|
|
606
|
-
channel: Channel;
|
|
607
621
|
}
|
|
608
622
|
/**
|
|
609
623
|
* @public
|
|
@@ -657,13 +671,13 @@ export interface ListChannelMembersInput {
|
|
|
657
671
|
*/
|
|
658
672
|
export interface ListChannelMembersOutput {
|
|
659
673
|
/**
|
|
660
|
-
* @public
|
|
661
674
|
* The list of members matching the query
|
|
675
|
+
* @public
|
|
662
676
|
*/
|
|
663
677
|
members: (ChannelMember)[];
|
|
664
678
|
/**
|
|
665
|
-
* @public
|
|
666
679
|
* The list of users matching the query
|
|
680
|
+
* @public
|
|
667
681
|
*/
|
|
668
682
|
users: (User)[];
|
|
669
683
|
}
|
|
@@ -708,7 +722,7 @@ export interface ListMessagesInput {
|
|
|
708
722
|
* @public
|
|
709
723
|
*/
|
|
710
724
|
export interface ListMessagesOutput {
|
|
711
|
-
messages
|
|
725
|
+
messages: (Message)[];
|
|
712
726
|
}
|
|
713
727
|
/**
|
|
714
728
|
* @public
|
|
@@ -729,16 +743,16 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
729
743
|
subject?: string;
|
|
730
744
|
description?: string;
|
|
731
745
|
/**
|
|
732
|
-
* @public
|
|
733
746
|
* Picture URL
|
|
747
|
+
* @public
|
|
734
748
|
*/
|
|
735
749
|
picture?: string;
|
|
736
750
|
/**
|
|
737
|
-
* @public
|
|
738
751
|
* Picture dominant color represented by a hex value.
|
|
752
|
+
* @public
|
|
739
753
|
*/
|
|
740
754
|
pictureColor?: string;
|
|
741
|
-
access?: ChannelAccess
|
|
755
|
+
access?: ChannelAccess;
|
|
742
756
|
broadcast?: boolean;
|
|
743
757
|
}
|
|
744
758
|
/**
|
|
@@ -763,8 +777,13 @@ export type GroupChannelUnsetOptions = typeof GroupChannelUnsetOptions[keyof typ
|
|
|
763
777
|
export interface PartialUpdateChannelInput {
|
|
764
778
|
channelId: string;
|
|
765
779
|
userId?: string;
|
|
780
|
+
/**
|
|
781
|
+
* True to not send a system message about updates. Default - false.
|
|
782
|
+
* @public
|
|
783
|
+
*/
|
|
784
|
+
silent?: boolean;
|
|
766
785
|
set?: PartialUpdateChannelSetOptions;
|
|
767
|
-
unset?: (GroupChannelUnsetOptions
|
|
786
|
+
unset?: (GroupChannelUnsetOptions)[];
|
|
768
787
|
}
|
|
769
788
|
/**
|
|
770
789
|
* @public
|
|
@@ -802,7 +821,7 @@ export interface PartialUpdateMessageInput {
|
|
|
802
821
|
channelId: string;
|
|
803
822
|
messageId: string;
|
|
804
823
|
set?: PartialUpdateMessageSetInput;
|
|
805
|
-
unset?: (MessageUnsetFields
|
|
824
|
+
unset?: (MessageUnsetFields)[];
|
|
806
825
|
}
|
|
807
826
|
/**
|
|
808
827
|
* @public
|
|
@@ -826,8 +845,8 @@ export declare class ConversationsServiceException extends __BaseException {
|
|
|
826
845
|
*/
|
|
827
846
|
export interface ScheduleExternalFlagAdjustmentJobInput {
|
|
828
847
|
/**
|
|
829
|
-
* @public
|
|
830
848
|
* User ID at x-bees.
|
|
849
|
+
* @public
|
|
831
850
|
*/
|
|
832
851
|
userId: string;
|
|
833
852
|
}
|
|
@@ -842,13 +861,13 @@ export interface ScheduleExternalFlagAdjustmentJobOutput {
|
|
|
842
861
|
export interface SendGiphyInput {
|
|
843
862
|
channelId: string;
|
|
844
863
|
/**
|
|
845
|
-
* @public
|
|
846
864
|
* User ID for server side calls
|
|
865
|
+
* @public
|
|
847
866
|
*/
|
|
848
867
|
userId?: string;
|
|
849
868
|
/**
|
|
850
|
-
* @public
|
|
851
869
|
* Message ID if empty ID will be auto-generated.
|
|
870
|
+
* @public
|
|
852
871
|
*/
|
|
853
872
|
messageId?: string;
|
|
854
873
|
giphy: MessageGiphy;
|
|
@@ -869,13 +888,13 @@ export interface SendMessageInput {
|
|
|
869
888
|
forward?: MessageForward;
|
|
870
889
|
channelId: string;
|
|
871
890
|
/**
|
|
872
|
-
* @public
|
|
873
891
|
* User ID for server side calls
|
|
892
|
+
* @public
|
|
874
893
|
*/
|
|
875
894
|
userId?: string;
|
|
876
895
|
/**
|
|
877
|
-
* @public
|
|
878
896
|
* Message ID if empty ID will be auto-generated.
|
|
897
|
+
* @public
|
|
879
898
|
*/
|
|
880
899
|
messageId?: string;
|
|
881
900
|
mentions?: (string)[];
|
|
@@ -893,13 +912,13 @@ export interface SendMessageReactionInput {
|
|
|
893
912
|
channelId: string;
|
|
894
913
|
messageId: string;
|
|
895
914
|
/**
|
|
896
|
-
* @public
|
|
897
915
|
* Type of the reaction. User could have only 1 reaction of each type per message.
|
|
916
|
+
* @public
|
|
898
917
|
*/
|
|
899
|
-
reactionType: ReactionType
|
|
918
|
+
reactionType: ReactionType;
|
|
900
919
|
/**
|
|
901
|
-
* @public
|
|
902
920
|
* User ID for server side calls
|
|
921
|
+
* @public
|
|
903
922
|
*/
|
|
904
923
|
userId?: string;
|
|
905
924
|
}
|
|
@@ -943,7 +962,6 @@ export interface ShowChannelInput {
|
|
|
943
962
|
* @public
|
|
944
963
|
*/
|
|
945
964
|
export interface ShowChannelOutput {
|
|
946
|
-
channel: Channel;
|
|
947
965
|
}
|
|
948
966
|
/**
|
|
949
967
|
* @public
|
|
@@ -952,19 +970,24 @@ export interface UpdateChannelInput {
|
|
|
952
970
|
subject?: string;
|
|
953
971
|
description?: string;
|
|
954
972
|
/**
|
|
955
|
-
* @public
|
|
956
973
|
* Picture URL
|
|
974
|
+
* @public
|
|
957
975
|
*/
|
|
958
976
|
picture?: string;
|
|
959
977
|
/**
|
|
960
|
-
* @public
|
|
961
978
|
* Picture dominant color represented by a hex value.
|
|
979
|
+
* @public
|
|
962
980
|
*/
|
|
963
981
|
pictureColor?: string;
|
|
964
|
-
access?: ChannelAccess
|
|
982
|
+
access?: ChannelAccess;
|
|
965
983
|
broadcast?: boolean;
|
|
966
984
|
channelId: string;
|
|
967
985
|
userId?: string;
|
|
986
|
+
/**
|
|
987
|
+
* True to not send a system message about updates. Default - false.
|
|
988
|
+
* @public
|
|
989
|
+
*/
|
|
990
|
+
silent?: boolean;
|
|
968
991
|
}
|
|
969
992
|
/**
|
|
970
993
|
* @public
|
|
@@ -7,11 +7,9 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
10
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
11
|
-
requestHandler:
|
|
12
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
13
|
-
httpHandlerConfigs(): {};
|
|
14
|
-
}) | RequestHandler;
|
|
12
|
+
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
15
13
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
14
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -26,4 +24,5 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
26
24
|
disableHostPrefix: boolean;
|
|
27
25
|
logger: import("@smithy/types").Logger;
|
|
28
26
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
27
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
29
28
|
};
|
|
@@ -7,11 +7,9 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
10
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
11
|
-
requestHandler:
|
|
12
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
13
|
-
httpHandlerConfigs(): {};
|
|
14
|
-
}) | RequestHandler;
|
|
12
|
+
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
15
13
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
14
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -26,4 +24,5 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
26
24
|
disableHostPrefix: boolean;
|
|
27
25
|
logger: import("@smithy/types").Logger;
|
|
28
26
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
27
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
29
28
|
};
|
|
@@ -7,10 +7,7 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
env: "stage" | "stable" | "prod";
|
|
9
9
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
10
|
-
requestHandler:
|
|
11
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
12
|
-
httpHandlerConfigs(): {};
|
|
13
|
-
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
10
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
14
11
|
apiVersion: string;
|
|
15
12
|
urlParser: import("@smithy/types").UrlParser;
|
|
16
13
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -20,9 +17,11 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
20
17
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
21
18
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
22
19
|
disableHostPrefix: boolean;
|
|
20
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
23
21
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
24
22
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
23
|
logger: import("@smithy/types").Logger;
|
|
26
24
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
27
25
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
26
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
28
27
|
};
|
package/package.json
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-conversations-client",
|
|
3
3
|
"description": "@wildix/xbees-conversations-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.37",
|
|
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",
|
|
8
|
-
"build:docs": "typedoc",
|
|
9
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
9
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
10
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
11
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
13
12
|
"prepack": "yarn run clean && yarn run build"
|
|
14
13
|
},
|
|
15
14
|
"main": "./dist-cjs/index.js",
|
|
@@ -17,41 +16,44 @@
|
|
|
17
16
|
"module": "./dist-es/index.js",
|
|
18
17
|
"sideEffects": false,
|
|
19
18
|
"dependencies": {
|
|
20
|
-
"tslib": "^2.
|
|
19
|
+
"tslib": "^2.6.2",
|
|
21
20
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
21
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
22
|
+
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
23
23
|
"@aws-sdk/types": "latest",
|
|
24
|
-
"@
|
|
25
|
-
"@
|
|
26
|
-
"@smithy/
|
|
27
|
-
"@smithy/
|
|
28
|
-
"@smithy/
|
|
29
|
-
"@smithy/
|
|
30
|
-
"@smithy/
|
|
31
|
-
"@smithy/middleware-
|
|
32
|
-
"@smithy/
|
|
33
|
-
"@smithy/
|
|
34
|
-
"@smithy/
|
|
35
|
-
"@smithy/
|
|
36
|
-
"@smithy/
|
|
37
|
-
"@smithy/
|
|
38
|
-
"@smithy/
|
|
39
|
-
"@smithy/
|
|
40
|
-
"@smithy/
|
|
41
|
-
"@smithy/util-
|
|
42
|
-
"@smithy/util-
|
|
43
|
-
"@smithy/util-
|
|
44
|
-
"@smithy/util-
|
|
45
|
-
"@
|
|
24
|
+
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
25
|
+
"@aws-sdk/util-user-agent-node": "3.428.0",
|
|
26
|
+
"@smithy/config-resolver": "^2.2.0",
|
|
27
|
+
"@smithy/core": "^1.4.0",
|
|
28
|
+
"@smithy/fetch-http-handler": "^2.5.0",
|
|
29
|
+
"@smithy/hash-node": "^2.2.0",
|
|
30
|
+
"@smithy/invalid-dependency": "^2.2.0",
|
|
31
|
+
"@smithy/middleware-content-length": "^2.2.0",
|
|
32
|
+
"@smithy/middleware-retry": "^2.2.0",
|
|
33
|
+
"@smithy/middleware-serde": "^2.3.0",
|
|
34
|
+
"@smithy/middleware-stack": "^2.2.0",
|
|
35
|
+
"@smithy/node-config-provider": "^2.3.0",
|
|
36
|
+
"@smithy/node-http-handler": "^2.5.0",
|
|
37
|
+
"@smithy/protocol-http": "^3.3.0",
|
|
38
|
+
"@smithy/smithy-client": "^2.5.0",
|
|
39
|
+
"@smithy/types": "^2.12.0",
|
|
40
|
+
"@smithy/url-parser": "^2.2.0",
|
|
41
|
+
"@smithy/util-base64": "^2.3.0",
|
|
42
|
+
"@smithy/util-body-length-browser": "^2.2.0",
|
|
43
|
+
"@smithy/util-body-length-node": "^2.3.0",
|
|
44
|
+
"@smithy/util-defaults-mode-browser": "^2.2.0",
|
|
45
|
+
"@smithy/util-defaults-mode-node": "^2.3.0",
|
|
46
|
+
"@smithy/util-retry": "^2.2.0",
|
|
47
|
+
"@smithy/util-utf8": "^2.3.0",
|
|
48
|
+
"@wildix/smithy-utils": "^1.0.2"
|
|
46
49
|
},
|
|
47
50
|
"devDependencies": {
|
|
48
51
|
"@tsconfig/node14": "1.0.3",
|
|
49
52
|
"concurrently": "7.0.0",
|
|
50
53
|
"downlevel-dts": "0.10.1",
|
|
51
54
|
"rimraf": "^3.0.0",
|
|
52
|
-
"typedoc": "0.23.23",
|
|
53
55
|
"typescript": "~4.9.5",
|
|
54
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
56
|
+
"@smithy/service-client-documentation-generator": "^2.2.0",
|
|
55
57
|
"@types/node": "^14.14.31"
|
|
56
58
|
},
|
|
57
59
|
"engines": {
|