@wildix/xbees-conversations-client 1.0.35 → 1.0.36
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 +337 -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 +338 -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 +7 -19
- package/dist-types/commands/AddChannelMembersCommand.d.ts +7 -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 +7 -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 +7 -19
- 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 +55 -47
- 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,8 @@ export interface UserToInvite {
|
|
|
67
67
|
export interface AddChannelMemberInput {
|
|
68
68
|
channelId: string;
|
|
69
69
|
/**
|
|
70
|
-
* @public
|
|
71
70
|
* True to not send a system message that members added from the conversartion. Default - false.
|
|
71
|
+
* @public
|
|
72
72
|
*/
|
|
73
73
|
silent?: boolean;
|
|
74
74
|
memberId?: string;
|
|
@@ -92,20 +92,20 @@ export type ChannelMemberRole = typeof ChannelMemberRole[keyof typeof ChannelMem
|
|
|
92
92
|
export interface ChannelMember {
|
|
93
93
|
id: string;
|
|
94
94
|
createdAt: string;
|
|
95
|
-
role: ChannelMemberRole
|
|
95
|
+
role: ChannelMemberRole;
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
98
|
* @public
|
|
99
99
|
*/
|
|
100
100
|
export interface AddChannelMemberOutput {
|
|
101
101
|
/**
|
|
102
|
-
* @public
|
|
103
102
|
* Member added to the channel
|
|
103
|
+
* @public
|
|
104
104
|
*/
|
|
105
105
|
member: ChannelMember;
|
|
106
106
|
/**
|
|
107
|
-
* @public
|
|
108
107
|
* Users added to the channel
|
|
108
|
+
* @public
|
|
109
109
|
*/
|
|
110
110
|
user: User;
|
|
111
111
|
}
|
|
@@ -137,8 +137,8 @@ export declare class MemberAlreadyExistException extends __BaseException {
|
|
|
137
137
|
export interface AddChannelMembersInput {
|
|
138
138
|
channelId: string;
|
|
139
139
|
/**
|
|
140
|
-
* @public
|
|
141
140
|
* True to not send a system message that members added from the conversartion. Default - false.
|
|
141
|
+
* @public
|
|
142
142
|
*/
|
|
143
143
|
silent?: boolean;
|
|
144
144
|
members?: (string)[];
|
|
@@ -149,13 +149,13 @@ export interface AddChannelMembersInput {
|
|
|
149
149
|
*/
|
|
150
150
|
export interface AddChannelMembersOutput {
|
|
151
151
|
/**
|
|
152
|
-
* @public
|
|
153
152
|
* The list of members added to the channel
|
|
153
|
+
* @public
|
|
154
154
|
*/
|
|
155
155
|
members: (ChannelMember)[];
|
|
156
156
|
/**
|
|
157
|
-
* @public
|
|
158
157
|
* The list of users added to the channel
|
|
158
|
+
* @public
|
|
159
159
|
*/
|
|
160
160
|
users: (User)[];
|
|
161
161
|
}
|
|
@@ -191,7 +191,7 @@ export type ChannelContextEventAttendeeStatus = typeof ChannelContextEventAttend
|
|
|
191
191
|
export interface ChannelContextEventAttendee {
|
|
192
192
|
email: string;
|
|
193
193
|
name?: string;
|
|
194
|
-
status: ChannelContextEventAttendeeStatus
|
|
194
|
+
status: ChannelContextEventAttendeeStatus;
|
|
195
195
|
}
|
|
196
196
|
/**
|
|
197
197
|
* @public
|
|
@@ -219,7 +219,7 @@ export type ChannelContextSource = typeof ChannelContextSource[keyof typeof Chan
|
|
|
219
219
|
* @public
|
|
220
220
|
*/
|
|
221
221
|
export interface ChannelContext {
|
|
222
|
-
source?: ChannelContextSource
|
|
222
|
+
source?: ChannelContextSource;
|
|
223
223
|
target?: string;
|
|
224
224
|
events?: (ChannelContextEvent)[];
|
|
225
225
|
}
|
|
@@ -230,16 +230,16 @@ export interface Channel {
|
|
|
230
230
|
subject?: string;
|
|
231
231
|
description?: string;
|
|
232
232
|
/**
|
|
233
|
-
* @public
|
|
234
233
|
* Picture URL
|
|
234
|
+
* @public
|
|
235
235
|
*/
|
|
236
236
|
picture?: string;
|
|
237
237
|
/**
|
|
238
|
-
* @public
|
|
239
238
|
* Picture dominant color represented by a hex value.
|
|
239
|
+
* @public
|
|
240
240
|
*/
|
|
241
241
|
pictureColor?: string;
|
|
242
|
-
access?: ChannelAccess
|
|
242
|
+
access?: ChannelAccess;
|
|
243
243
|
company?: string;
|
|
244
244
|
context?: ChannelContext;
|
|
245
245
|
kite?: boolean;
|
|
@@ -258,7 +258,7 @@ export interface Channel {
|
|
|
258
258
|
broadcast?: boolean;
|
|
259
259
|
external?: boolean;
|
|
260
260
|
channelId: string;
|
|
261
|
-
channelType: ChannelType
|
|
261
|
+
channelType: ChannelType;
|
|
262
262
|
memberCount: number;
|
|
263
263
|
createdAt: string;
|
|
264
264
|
createdBy: string;
|
|
@@ -282,16 +282,16 @@ export interface CreateGroupChannelInput {
|
|
|
282
282
|
subject?: string;
|
|
283
283
|
description?: string;
|
|
284
284
|
/**
|
|
285
|
-
* @public
|
|
286
285
|
* Picture URL
|
|
286
|
+
* @public
|
|
287
287
|
*/
|
|
288
288
|
picture?: string;
|
|
289
289
|
/**
|
|
290
|
-
* @public
|
|
291
290
|
* Picture dominant color represented by a hex value.
|
|
291
|
+
* @public
|
|
292
292
|
*/
|
|
293
293
|
pictureColor?: string;
|
|
294
|
-
access?: ChannelAccess
|
|
294
|
+
access?: ChannelAccess;
|
|
295
295
|
broadcast?: boolean;
|
|
296
296
|
userId?: string;
|
|
297
297
|
channelId?: string;
|
|
@@ -322,8 +322,8 @@ export interface DeleteChannelMemberInput {
|
|
|
322
322
|
channelId: string;
|
|
323
323
|
memberId: string;
|
|
324
324
|
/**
|
|
325
|
-
* @public
|
|
326
325
|
* True to not send a system message that member was removed from the conversartion. Default - false.
|
|
326
|
+
* @public
|
|
327
327
|
*/
|
|
328
328
|
silent?: boolean;
|
|
329
329
|
}
|
|
@@ -350,8 +350,8 @@ export interface DeleteMessageInput {
|
|
|
350
350
|
channelId: string;
|
|
351
351
|
messageId: string;
|
|
352
352
|
/**
|
|
353
|
-
* @public
|
|
354
353
|
* User ID for server side calls
|
|
354
|
+
* @public
|
|
355
355
|
*/
|
|
356
356
|
userId?: string;
|
|
357
357
|
}
|
|
@@ -396,18 +396,18 @@ export type ReactionType = typeof ReactionType[keyof typeof ReactionType];
|
|
|
396
396
|
export interface DeleteMessageReactionInput {
|
|
397
397
|
channelId: string;
|
|
398
398
|
/**
|
|
399
|
-
* @public
|
|
400
399
|
* ID of the message to react to.
|
|
400
|
+
* @public
|
|
401
401
|
*/
|
|
402
402
|
messageId: string;
|
|
403
403
|
/**
|
|
404
|
-
* @public
|
|
405
404
|
* Type of the reaction.
|
|
405
|
+
* @public
|
|
406
406
|
*/
|
|
407
|
-
reactionType: ReactionType
|
|
407
|
+
reactionType: ReactionType;
|
|
408
408
|
/**
|
|
409
|
-
* @public
|
|
410
409
|
* User ID for server side calls
|
|
410
|
+
* @public
|
|
411
411
|
*/
|
|
412
412
|
userId?: string;
|
|
413
413
|
}
|
|
@@ -447,8 +447,8 @@ export interface GetChannelMemberOutput {
|
|
|
447
447
|
*/
|
|
448
448
|
export interface GetDirectChannelIdInput {
|
|
449
449
|
userId?: string;
|
|
450
|
-
|
|
451
|
-
|
|
450
|
+
memberId?: string;
|
|
451
|
+
memberToInvite?: UserToInvite;
|
|
452
452
|
}
|
|
453
453
|
/**
|
|
454
454
|
* @public
|
|
@@ -469,8 +469,8 @@ export interface GetMessageInput {
|
|
|
469
469
|
export interface MessageAttachment {
|
|
470
470
|
id: string;
|
|
471
471
|
/**
|
|
472
|
-
* @public
|
|
473
472
|
* This *is* documentation about the field. Describe here what fsId and how to get it.
|
|
473
|
+
* @public
|
|
474
474
|
*/
|
|
475
475
|
fsId: string;
|
|
476
476
|
mime?: string;
|
|
@@ -556,12 +556,12 @@ export interface Message {
|
|
|
556
556
|
attachments?: (MessageAttachment)[];
|
|
557
557
|
quote?: MessageQuote;
|
|
558
558
|
forward?: MessageForward;
|
|
559
|
-
type: MessageType
|
|
559
|
+
type: MessageType;
|
|
560
560
|
giphy?: MessageGiphy;
|
|
561
561
|
silent?: boolean;
|
|
562
562
|
event?: string;
|
|
563
563
|
sms?: boolean;
|
|
564
|
-
smsStatus?: MessageSmsStatus
|
|
564
|
+
smsStatus?: MessageSmsStatus;
|
|
565
565
|
messageId: string;
|
|
566
566
|
channelId: string;
|
|
567
567
|
user: User;
|
|
@@ -603,7 +603,6 @@ export interface HideChannelInput {
|
|
|
603
603
|
* @public
|
|
604
604
|
*/
|
|
605
605
|
export interface HideChannelOutput {
|
|
606
|
-
channel: Channel;
|
|
607
606
|
}
|
|
608
607
|
/**
|
|
609
608
|
* @public
|
|
@@ -657,13 +656,13 @@ export interface ListChannelMembersInput {
|
|
|
657
656
|
*/
|
|
658
657
|
export interface ListChannelMembersOutput {
|
|
659
658
|
/**
|
|
660
|
-
* @public
|
|
661
659
|
* The list of members matching the query
|
|
660
|
+
* @public
|
|
662
661
|
*/
|
|
663
662
|
members: (ChannelMember)[];
|
|
664
663
|
/**
|
|
665
|
-
* @public
|
|
666
664
|
* The list of users matching the query
|
|
665
|
+
* @public
|
|
667
666
|
*/
|
|
668
667
|
users: (User)[];
|
|
669
668
|
}
|
|
@@ -729,16 +728,16 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
729
728
|
subject?: string;
|
|
730
729
|
description?: string;
|
|
731
730
|
/**
|
|
732
|
-
* @public
|
|
733
731
|
* Picture URL
|
|
732
|
+
* @public
|
|
734
733
|
*/
|
|
735
734
|
picture?: string;
|
|
736
735
|
/**
|
|
737
|
-
* @public
|
|
738
736
|
* Picture dominant color represented by a hex value.
|
|
737
|
+
* @public
|
|
739
738
|
*/
|
|
740
739
|
pictureColor?: string;
|
|
741
|
-
access?: ChannelAccess
|
|
740
|
+
access?: ChannelAccess;
|
|
742
741
|
broadcast?: boolean;
|
|
743
742
|
}
|
|
744
743
|
/**
|
|
@@ -763,8 +762,13 @@ export type GroupChannelUnsetOptions = typeof GroupChannelUnsetOptions[keyof typ
|
|
|
763
762
|
export interface PartialUpdateChannelInput {
|
|
764
763
|
channelId: string;
|
|
765
764
|
userId?: string;
|
|
765
|
+
/**
|
|
766
|
+
* True to not send a system message about updates. Default - false.
|
|
767
|
+
* @public
|
|
768
|
+
*/
|
|
769
|
+
silent?: boolean;
|
|
766
770
|
set?: PartialUpdateChannelSetOptions;
|
|
767
|
-
unset?: (GroupChannelUnsetOptions
|
|
771
|
+
unset?: (GroupChannelUnsetOptions)[];
|
|
768
772
|
}
|
|
769
773
|
/**
|
|
770
774
|
* @public
|
|
@@ -802,7 +806,7 @@ export interface PartialUpdateMessageInput {
|
|
|
802
806
|
channelId: string;
|
|
803
807
|
messageId: string;
|
|
804
808
|
set?: PartialUpdateMessageSetInput;
|
|
805
|
-
unset?: (MessageUnsetFields
|
|
809
|
+
unset?: (MessageUnsetFields)[];
|
|
806
810
|
}
|
|
807
811
|
/**
|
|
808
812
|
* @public
|
|
@@ -826,8 +830,8 @@ export declare class ConversationsServiceException extends __BaseException {
|
|
|
826
830
|
*/
|
|
827
831
|
export interface ScheduleExternalFlagAdjustmentJobInput {
|
|
828
832
|
/**
|
|
829
|
-
* @public
|
|
830
833
|
* User ID at x-bees.
|
|
834
|
+
* @public
|
|
831
835
|
*/
|
|
832
836
|
userId: string;
|
|
833
837
|
}
|
|
@@ -842,13 +846,13 @@ export interface ScheduleExternalFlagAdjustmentJobOutput {
|
|
|
842
846
|
export interface SendGiphyInput {
|
|
843
847
|
channelId: string;
|
|
844
848
|
/**
|
|
845
|
-
* @public
|
|
846
849
|
* User ID for server side calls
|
|
850
|
+
* @public
|
|
847
851
|
*/
|
|
848
852
|
userId?: string;
|
|
849
853
|
/**
|
|
850
|
-
* @public
|
|
851
854
|
* Message ID if empty ID will be auto-generated.
|
|
855
|
+
* @public
|
|
852
856
|
*/
|
|
853
857
|
messageId?: string;
|
|
854
858
|
giphy: MessageGiphy;
|
|
@@ -869,13 +873,13 @@ export interface SendMessageInput {
|
|
|
869
873
|
forward?: MessageForward;
|
|
870
874
|
channelId: string;
|
|
871
875
|
/**
|
|
872
|
-
* @public
|
|
873
876
|
* User ID for server side calls
|
|
877
|
+
* @public
|
|
874
878
|
*/
|
|
875
879
|
userId?: string;
|
|
876
880
|
/**
|
|
877
|
-
* @public
|
|
878
881
|
* Message ID if empty ID will be auto-generated.
|
|
882
|
+
* @public
|
|
879
883
|
*/
|
|
880
884
|
messageId?: string;
|
|
881
885
|
mentions?: (string)[];
|
|
@@ -893,13 +897,13 @@ export interface SendMessageReactionInput {
|
|
|
893
897
|
channelId: string;
|
|
894
898
|
messageId: string;
|
|
895
899
|
/**
|
|
896
|
-
* @public
|
|
897
900
|
* Type of the reaction. User could have only 1 reaction of each type per message.
|
|
901
|
+
* @public
|
|
898
902
|
*/
|
|
899
|
-
reactionType: ReactionType
|
|
903
|
+
reactionType: ReactionType;
|
|
900
904
|
/**
|
|
901
|
-
* @public
|
|
902
905
|
* User ID for server side calls
|
|
906
|
+
* @public
|
|
903
907
|
*/
|
|
904
908
|
userId?: string;
|
|
905
909
|
}
|
|
@@ -943,7 +947,6 @@ export interface ShowChannelInput {
|
|
|
943
947
|
* @public
|
|
944
948
|
*/
|
|
945
949
|
export interface ShowChannelOutput {
|
|
946
|
-
channel: Channel;
|
|
947
950
|
}
|
|
948
951
|
/**
|
|
949
952
|
* @public
|
|
@@ -952,19 +955,24 @@ export interface UpdateChannelInput {
|
|
|
952
955
|
subject?: string;
|
|
953
956
|
description?: string;
|
|
954
957
|
/**
|
|
955
|
-
* @public
|
|
956
958
|
* Picture URL
|
|
959
|
+
* @public
|
|
957
960
|
*/
|
|
958
961
|
picture?: string;
|
|
959
962
|
/**
|
|
960
|
-
* @public
|
|
961
963
|
* Picture dominant color represented by a hex value.
|
|
964
|
+
* @public
|
|
962
965
|
*/
|
|
963
966
|
pictureColor?: string;
|
|
964
|
-
access?: ChannelAccess
|
|
967
|
+
access?: ChannelAccess;
|
|
965
968
|
broadcast?: boolean;
|
|
966
969
|
channelId: string;
|
|
967
970
|
userId?: string;
|
|
971
|
+
/**
|
|
972
|
+
* True to not send a system message about updates. Default - false.
|
|
973
|
+
* @public
|
|
974
|
+
*/
|
|
975
|
+
silent?: boolean;
|
|
968
976
|
}
|
|
969
977
|
/**
|
|
970
978
|
* @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.36",
|
|
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": {
|