@wildix/xbees-conversations-client 1.0.46 → 1.0.48

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.
Files changed (40) hide show
  1. package/dist-cjs/models/models_0.js +11 -1
  2. package/dist-es/models/models_0.js +10 -0
  3. package/dist-types/commands/AddChannelMemberCommand.d.ts +2 -2
  4. package/dist-types/commands/AddChannelMembersCommand.d.ts +2 -2
  5. package/dist-types/commands/CreateGroupChannelCommand.d.ts +4 -2
  6. package/dist-types/commands/DeleteChannelCommand.d.ts +2 -4
  7. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +2 -2
  8. package/dist-types/commands/DeleteMessageCommand.d.ts +2 -2
  9. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +2 -2
  10. package/dist-types/commands/DescribeEventCommand.d.ts +25 -5
  11. package/dist-types/commands/GetChannelCommand.d.ts +4 -2
  12. package/dist-types/commands/GetChannelMemberCommand.d.ts +2 -2
  13. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +2 -2
  14. package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +2 -2
  15. package/dist-types/commands/GetMessageCommand.d.ts +5 -3
  16. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +4 -2
  17. package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +2 -2
  18. package/dist-types/commands/HideChannelCommand.d.ts +2 -2
  19. package/dist-types/commands/InviteCommand.d.ts +2 -2
  20. package/dist-types/commands/JoinChannelCommand.d.ts +4 -2
  21. package/dist-types/commands/LeaveChannelCommand.d.ts +2 -2
  22. package/dist-types/commands/ListChannelMembersCommand.d.ts +2 -2
  23. package/dist-types/commands/ListChannelsCommand.d.ts +4 -2
  24. package/dist-types/commands/ListMessageReactionsCommand.d.ts +2 -2
  25. package/dist-types/commands/ListMessagesCommand.d.ts +5 -3
  26. package/dist-types/commands/MarkReadCommand.d.ts +2 -2
  27. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +4 -2
  28. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +5 -3
  29. package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +1 -1
  30. package/dist-types/commands/SendGiphyCommand.d.ts +5 -3
  31. package/dist-types/commands/SendMessageCommand.d.ts +5 -3
  32. package/dist-types/commands/SendMessageReactionCommand.d.ts +2 -2
  33. package/dist-types/commands/SendTypingStartCommand.d.ts +2 -2
  34. package/dist-types/commands/SendTypingStopCommand.d.ts +2 -2
  35. package/dist-types/commands/ShowChannelCommand.d.ts +2 -2
  36. package/dist-types/commands/UpdateChannelCommand.d.ts +4 -2
  37. package/dist-types/commands/UpdateMessageCommand.d.ts +5 -3
  38. package/dist-types/commands/UploadFileCommand.d.ts +1 -1
  39. package/dist-types/models/models_0.d.ts +451 -41
  40. package/package.json +1 -1
@@ -68,9 +68,13 @@ export interface UserToInvite {
68
68
  * @public
69
69
  */
70
70
  export interface AddChannelMemberInput {
71
+ /**
72
+ * The unique identifier of the channel to which the member is to be added.
73
+ * @public
74
+ */
71
75
  channelId: string;
72
76
  /**
73
- * User ID for server side calls
77
+ * The unique identifier of the user when a service token is used.
74
78
  * @public
75
79
  */
76
80
  userId?: string;
@@ -79,7 +83,15 @@ export interface AddChannelMemberInput {
79
83
  * @public
80
84
  */
81
85
  silent?: boolean;
86
+ /**
87
+ * A User ID of the member to be added to the channel.
88
+ * @public
89
+ */
82
90
  memberId?: string;
91
+ /**
92
+ * A user to invite to the channel, identified by email address or phone number if the member does not already exist.
93
+ * @public
94
+ */
83
95
  memberToInvite?: UserToInvite;
84
96
  }
85
97
  /**
@@ -107,12 +119,12 @@ export interface ChannelMember {
107
119
  */
108
120
  export interface AddChannelMemberOutput {
109
121
  /**
110
- * Member added to the channel
122
+ * Details of the member added to the channel.
111
123
  * @public
112
124
  */
113
125
  member: ChannelMember;
114
126
  /**
115
- * Users added to the channel
127
+ * Details of the user added to the channel.
116
128
  * @public
117
129
  */
118
130
  user: User;
@@ -143,18 +155,30 @@ export declare class MemberAlreadyExistException extends __BaseException {
143
155
  * @public
144
156
  */
145
157
  export interface AddChannelMembersInput {
158
+ /**
159
+ * The unique identifier of the channel to which members are to be added.
160
+ * @public
161
+ */
146
162
  channelId: string;
147
163
  /**
148
- * User ID for server side calls
164
+ * The unique identifier of the user when a service token is used.
149
165
  * @public
150
166
  */
151
167
  userId?: string;
152
168
  /**
153
- * True to not send a system message that members added from the conversartion. Default - false.
169
+ * Set to true to suppress system messages that members were added to the conversation. Default is false.
154
170
  * @public
155
171
  */
156
172
  silent?: boolean;
173
+ /**
174
+ * A list of user IDs to be added as members of the channel.
175
+ * @public
176
+ */
157
177
  members?: (string)[];
178
+ /**
179
+ * A list of users to invite to the channel, identified by their email addresses or phone numbers.
180
+ * @public
181
+ */
158
182
  membersToInvite?: (UserToInvite)[];
159
183
  }
160
184
  /**
@@ -162,12 +186,12 @@ export interface AddChannelMembersInput {
162
186
  */
163
187
  export interface AddChannelMembersOutput {
164
188
  /**
165
- * The list of members added to the channel
189
+ * The list of members added to the channel.
166
190
  * @public
167
191
  */
168
192
  members: (ChannelMember)[];
169
193
  /**
170
- * The list of users added to the channel
194
+ * The list of users added to the channel.
171
195
  * @public
172
196
  */
173
197
  users: (User)[];
@@ -236,6 +260,17 @@ export interface ChannelContext {
236
260
  target?: string;
237
261
  events?: (ChannelContextEvent)[];
238
262
  }
263
+ /**
264
+ * @public
265
+ * @enum
266
+ */
267
+ export declare const ChannelWhatsAppStatus: {
268
+ readonly CHANNEL_CLOSED: "24h_channel_closed";
269
+ };
270
+ /**
271
+ * @public
272
+ */
273
+ export type ChannelWhatsAppStatus = typeof ChannelWhatsAppStatus[keyof typeof ChannelWhatsAppStatus];
239
274
  /**
240
275
  * @public
241
276
  */
@@ -268,6 +303,8 @@ export interface Channel {
268
303
  telephony?: boolean;
269
304
  sms?: boolean;
270
305
  mms?: boolean;
306
+ whatsapp?: boolean;
307
+ whatsappStatus?: ChannelWhatsAppStatus;
271
308
  broadcast?: boolean;
272
309
  external?: boolean;
273
310
  channelId: string;
@@ -304,23 +341,55 @@ export type ConversationFileCategory = typeof ConversationFileCategory[keyof typ
304
341
  * @public
305
342
  */
306
343
  export interface CreateGroupChannelInput {
344
+ /**
345
+ * The subject of the channel.
346
+ * @public
347
+ */
307
348
  subject?: string;
349
+ /**
350
+ * The description of the channel.
351
+ * @public
352
+ */
308
353
  description?: string;
309
354
  /**
310
- * Picture URL
355
+ * The URL of the channel's picture.
311
356
  * @public
312
357
  */
313
358
  picture?: string;
314
359
  /**
315
- * Picture dominant color represented by a hex value.
360
+ * The dominant color of the channel's picture, represented by a hex value.
316
361
  * @public
317
362
  */
318
363
  pictureColor?: string;
364
+ /**
365
+ * The access level of the channel.
366
+ * @public
367
+ */
319
368
  access?: ChannelAccess;
369
+ /**
370
+ * Indicates if the channel is broadcast-only. Default is false.
371
+ * @public
372
+ */
320
373
  broadcast?: boolean;
374
+ /**
375
+ * The unique identifier of the user when a service token is used.
376
+ * @public
377
+ */
321
378
  userId?: string;
379
+ /**
380
+ * The unique identifier for the new group channel. If not provided, the system will generate one.
381
+ * @public
382
+ */
322
383
  channelId?: string;
384
+ /**
385
+ * A list of user IDs to be added as members of the group channel.
386
+ * @public
387
+ */
323
388
  members?: (string)[];
389
+ /**
390
+ * A list of users to invite to the group channel, identified by their email addresses or phone numbers.
391
+ * @public
392
+ */
324
393
  membersToInvite?: (UserToInvite)[];
325
394
  }
326
395
  /**
@@ -333,6 +402,10 @@ export interface CreateGroupChannelOutput {
333
402
  * @public
334
403
  */
335
404
  export interface DeleteChannelInput {
405
+ /**
406
+ * The unique identifier of the channel to be deleted.
407
+ * @public
408
+ */
336
409
  channelId: string;
337
410
  }
338
411
  /**
@@ -344,15 +417,23 @@ export interface DeleteChannelOutput {
344
417
  * @public
345
418
  */
346
419
  export interface DeleteChannelMemberInput {
420
+ /**
421
+ * The unique identifier of the channel from which the member is to be deleted.
422
+ * @public
423
+ */
347
424
  channelId: string;
348
425
  /**
349
- * User ID for server side calls
426
+ * The unique identifier of the user when a service token is used.
350
427
  * @public
351
428
  */
352
429
  userId?: string;
430
+ /**
431
+ * The unique identifier of the member to be deleted.
432
+ * @public
433
+ */
353
434
  memberId: string;
354
435
  /**
355
- * True to not send a system message that member was removed from the conversartion. Default - false.
436
+ * Set to true to suppress system messages that the member was removed from the conversation. Default is false.
356
437
  * @public
357
438
  */
358
439
  silent?: boolean;
@@ -377,10 +458,18 @@ export declare class MemberNotFoundException extends __BaseException {
377
458
  * @public
378
459
  */
379
460
  export interface DeleteMessageInput {
461
+ /**
462
+ * The unique identifier of the channel containing the message.
463
+ * @public
464
+ */
380
465
  channelId: string;
466
+ /**
467
+ * The unique identifier of the message to delete.
468
+ * @public
469
+ */
381
470
  messageId: string;
382
471
  /**
383
- * User ID for server side calls
472
+ * The unique identifier of the user when a service token is used.
384
473
  * @public
385
474
  */
386
475
  userId?: string;
@@ -424,19 +513,23 @@ export type ReactionType = typeof ReactionType[keyof typeof ReactionType];
424
513
  * @public
425
514
  */
426
515
  export interface DeleteMessageReactionInput {
516
+ /**
517
+ * The unique identifier of the channel containing the message.
518
+ * @public
519
+ */
427
520
  channelId: string;
428
521
  /**
429
- * ID of the message to react to.
522
+ * The unique identifier of the message to delete the reaction from.
430
523
  * @public
431
524
  */
432
525
  messageId: string;
433
526
  /**
434
- * Type of the reaction.
527
+ * The type of the reaction to delete.
435
528
  * @public
436
529
  */
437
530
  reactionType: ReactionType;
438
531
  /**
439
- * User ID for server side calls
532
+ * The unique identifier of the user when a service token is used.
440
533
  * @public
441
534
  */
442
535
  userId?: string;
@@ -614,11 +707,26 @@ export type MessageSmsStatus = typeof MessageSmsStatus[keyof typeof MessageSmsSt
614
707
  */
615
708
  export declare const MessageType: {
616
709
  readonly REGULAR: "regular";
710
+ readonly SYSTEM: "system";
617
711
  };
618
712
  /**
619
713
  * @public
620
714
  */
621
715
  export type MessageType = typeof MessageType[keyof typeof MessageType];
716
+ /**
717
+ * @public
718
+ * @enum
719
+ */
720
+ export declare const MessageWhatsAppStatus: {
721
+ readonly DELIVERED: "delivered";
722
+ readonly ERROR: "error";
723
+ readonly SENT: "sent";
724
+ readonly TRYING: "trying";
725
+ };
726
+ /**
727
+ * @public
728
+ */
729
+ export type MessageWhatsAppStatus = typeof MessageWhatsAppStatus[keyof typeof MessageWhatsAppStatus];
622
730
  /**
623
731
  * @public
624
732
  */
@@ -633,6 +741,8 @@ export interface Message {
633
741
  event?: string;
634
742
  sms?: boolean;
635
743
  smsStatus?: MessageSmsStatus;
744
+ whatsapp?: boolean;
745
+ whatsappStatus?: MessageWhatsAppStatus;
636
746
  messageId: string;
637
747
  channelId: string;
638
748
  user: User;
@@ -745,6 +855,10 @@ export interface DescribeEventOutput {
745
855
  * @public
746
856
  */
747
857
  export interface GetChannelInput {
858
+ /**
859
+ * The unique identifier of the channel.
860
+ * @public
861
+ */
748
862
  channelId: string;
749
863
  }
750
864
  /**
@@ -757,22 +871,50 @@ export interface GetChannelOutput {
757
871
  * @public
758
872
  */
759
873
  export interface GetChannelMemberInput {
874
+ /**
875
+ * The unique identifier of the channel.
876
+ * @public
877
+ */
760
878
  channelId: string;
879
+ /**
880
+ * The unique identifier of the user.
881
+ * @public
882
+ */
761
883
  memberId: string;
762
884
  }
763
885
  /**
764
886
  * @public
765
887
  */
766
888
  export interface GetChannelMemberOutput {
889
+ /**
890
+ * Details of the channel member.
891
+ * @public
892
+ */
767
893
  member: ChannelMember;
894
+ /**
895
+ * Details of the user.
896
+ * @public
897
+ */
768
898
  user: User;
769
899
  }
770
900
  /**
771
901
  * @public
772
902
  */
773
903
  export interface GetDirectChannelIdInput {
904
+ /**
905
+ * The unique identifier of the user when a service token is used.
906
+ * @public
907
+ */
774
908
  userId?: string;
909
+ /**
910
+ * A User ID of the member to connect with the direct channel.
911
+ * @public
912
+ */
775
913
  memberId?: string;
914
+ /**
915
+ * A user to invite to the direct channel, identified by email addresse or phone number.
916
+ * @public
917
+ */
776
918
  memberToInvite?: UserToInvite;
777
919
  }
778
920
  /**
@@ -797,18 +939,22 @@ export declare class FileNotFoundException extends __BaseException {
797
939
  */
798
940
  export interface GetFilePresignedDownloadUrlInput {
799
941
  /**
800
- * Channel Id.
942
+ * The unique identifier of the channel containing the message.
801
943
  * @public
802
944
  */
803
945
  channelId: string;
804
946
  /**
805
- * Message Id.
947
+ * The unique identifier of the message containing the file.
806
948
  * @public
807
949
  */
808
950
  messageId: string;
951
+ /**
952
+ * The unique identifier of the file to download.
953
+ * @public
954
+ */
809
955
  fileId: string;
810
956
  /**
811
- * File category. Channel files or conference recordings. Default: channels.
957
+ * The category of the file, either channel files or conference recordings.
812
958
  * @public
813
959
  */
814
960
  category?: ConversationFileCategory;
@@ -818,7 +964,7 @@ export interface GetFilePresignedDownloadUrlInput {
818
964
  */
819
965
  export interface GetFilePresignedDownloadUrlOutput {
820
966
  /**
821
- * Presigned URL for download file.
967
+ * The presigned URL for downloading the file.
822
968
  * @public
823
969
  */
824
970
  presignedDownloadUrl: string;
@@ -827,7 +973,15 @@ export interface GetFilePresignedDownloadUrlOutput {
827
973
  * @public
828
974
  */
829
975
  export interface GetMessageInput {
976
+ /**
977
+ * The unique identifier of the channel containing the message.
978
+ * @public
979
+ */
830
980
  channelId: string;
981
+ /**
982
+ * The unique identifier of the message to retrieve.
983
+ * @public
984
+ */
831
985
  messageId: string;
832
986
  }
833
987
  /**
@@ -840,8 +994,20 @@ export interface GetMessageOutput {
840
994
  * @public
841
995
  */
842
996
  export interface GetOrCreateDirectChannelInput {
997
+ /**
998
+ * The unique identifier of the user when a service token is used.
999
+ * @public
1000
+ */
843
1001
  userId?: string;
1002
+ /**
1003
+ * A User ID of the member to connect with the direct channel.
1004
+ * @public
1005
+ */
844
1006
  memberId?: string;
1007
+ /**
1008
+ * A user to invite to the direct channel, identified by email addresse or phone number.
1009
+ * @public
1010
+ */
845
1011
  memberToInvite?: UserToInvite;
846
1012
  }
847
1013
  /**
@@ -855,17 +1021,17 @@ export interface GetOrCreateDirectChannelOutput {
855
1021
  */
856
1022
  export interface GetUploadedFileInfoInput {
857
1023
  /**
858
- * Channel Id.
1024
+ * The unique identifier of the channel containing the file.
859
1025
  * @public
860
1026
  */
861
1027
  channelId: string;
862
1028
  /**
863
- * File Id. Support cds file's ID.
1029
+ * The unique identifier of the file.
864
1030
  * @public
865
1031
  */
866
1032
  fileId: string;
867
1033
  /**
868
- * File category. Channel files or conference recordings. Default: channels.
1034
+ * The category of the file, either channel files or conference recordings. Default: channels.
869
1035
  * @public
870
1036
  */
871
1037
  category?: ConversationFileCategory;
@@ -880,7 +1046,15 @@ export interface GetUploadedFileInfoOutput {
880
1046
  * @public
881
1047
  */
882
1048
  export interface HideChannelInput {
1049
+ /**
1050
+ * The unique identifier of the channel to hide.
1051
+ * @public
1052
+ */
883
1053
  channelId: string;
1054
+ /**
1055
+ * The unique identifier of the user when a service token is used.
1056
+ * @public
1057
+ */
884
1058
  userId?: string;
885
1059
  }
886
1060
  /**
@@ -892,20 +1066,40 @@ export interface HideChannelOutput {
892
1066
  * @public
893
1067
  */
894
1068
  export interface InviteInput {
1069
+ /**
1070
+ * A list of users to invite. The list must contain between 1 and 20 users.
1071
+ * @public
1072
+ */
895
1073
  invitees: (UserToInvite)[];
896
1074
  }
897
1075
  /**
898
1076
  * @public
899
1077
  */
900
1078
  export interface InviteOutput {
1079
+ /**
1080
+ * A list of users who were successfully invited.
1081
+ * @public
1082
+ */
901
1083
  users: (User)[];
902
1084
  }
903
1085
  /**
904
1086
  * @public
905
1087
  */
906
1088
  export interface JoinChannelInput {
1089
+ /**
1090
+ * The unique identifier of the channel to join.
1091
+ * @public
1092
+ */
907
1093
  channelId: string;
1094
+ /**
1095
+ * The unique identifier of the user when a service token is used.
1096
+ * @public
1097
+ */
908
1098
  userId?: string;
1099
+ /**
1100
+ * Set to true to suppress system messages that the user joined the channel. Default is false.
1101
+ * @public
1102
+ */
909
1103
  silent?: boolean;
910
1104
  }
911
1105
  /**
@@ -918,8 +1112,20 @@ export interface JoinChannelOutput {
918
1112
  * @public
919
1113
  */
920
1114
  export interface LeaveChannelInput {
1115
+ /**
1116
+ * The unique identifier of the channel to leave.
1117
+ * @public
1118
+ */
921
1119
  channelId: string;
1120
+ /**
1121
+ * The unique identifier of the user when a service token is used.
1122
+ * @public
1123
+ */
922
1124
  userId?: string;
1125
+ /**
1126
+ * Set to true to suppress system messages that the user left the channel. Default is false.
1127
+ * @public
1128
+ */
923
1129
  silent?: boolean;
924
1130
  }
925
1131
  /**
@@ -931,8 +1137,20 @@ export interface LeaveChannelOutput {
931
1137
  * @public
932
1138
  */
933
1139
  export interface ListChannelMembersInput {
1140
+ /**
1141
+ * The unique identifier of the channel whose members are to be listed.
1142
+ * @public
1143
+ */
934
1144
  channelId: string;
1145
+ /**
1146
+ * The maximum number of members to return. The value must be between 1 and 100.
1147
+ * @public
1148
+ */
935
1149
  limit?: number;
1150
+ /**
1151
+ * The offset from which to start listing members. The value must be between 0 and 1000.
1152
+ * @public
1153
+ */
936
1154
  offset?: number;
937
1155
  }
938
1156
  /**
@@ -940,7 +1158,7 @@ export interface ListChannelMembersInput {
940
1158
  */
941
1159
  export interface ListChannelMembersOutput {
942
1160
  /**
943
- * The list of members matching the query
1161
+ * The list of members matching the query.
944
1162
  * @public
945
1163
  */
946
1164
  members: (ChannelMember)[];
@@ -954,50 +1172,110 @@ export interface ListChannelMembersOutput {
954
1172
  * @public
955
1173
  */
956
1174
  export interface ListChannelsInput {
1175
+ /**
1176
+ * The unique identifier of the user when a service token is used.
1177
+ * @public
1178
+ */
957
1179
  userId?: string;
1180
+ /**
1181
+ * The maximum number of channels to return. The value must be between 1 and 50.
1182
+ * @public
1183
+ */
958
1184
  limit?: number;
1185
+ /**
1186
+ * The offset from which to start listing channels. The value must be between 0 and 1000.
1187
+ * @public
1188
+ */
959
1189
  offset?: number;
960
1190
  }
961
1191
  /**
962
1192
  * @public
963
1193
  */
964
1194
  export interface ListChannelsOutput {
1195
+ /**
1196
+ * A list of channels associated with the user.
1197
+ * @public
1198
+ */
965
1199
  channels: (Channel)[];
966
1200
  }
967
1201
  /**
968
1202
  * @public
969
1203
  */
970
1204
  export interface ListMessageReactionsInput {
1205
+ /**
1206
+ * The unique identifier of the channel containing the message.
1207
+ * @public
1208
+ */
971
1209
  channelId: string;
1210
+ /**
1211
+ * The unique identifier of the message whose reactions are to be listed.
1212
+ * @public
1213
+ */
972
1214
  messageId: string;
1215
+ /**
1216
+ * The maximum number of reactions to return. The value must be between 1 and 300.
1217
+ * @public
1218
+ */
973
1219
  limit?: number;
1220
+ /**
1221
+ * The offset from which to start listing reactions. The value must be between 0 and 1000.
1222
+ * @public
1223
+ */
974
1224
  offset?: number;
975
1225
  }
976
1226
  /**
977
1227
  * @public
978
1228
  */
979
1229
  export interface ListMessageReactionsOutput {
1230
+ /**
1231
+ * A list of reactions to the specified message.
1232
+ * @public
1233
+ */
980
1234
  reactions: (Reaction)[];
981
1235
  }
982
1236
  /**
983
1237
  * @public
984
1238
  */
985
1239
  export interface ListMessagesInput {
1240
+ /**
1241
+ * The unique identifier of the channel from which to list messages.
1242
+ * @public
1243
+ */
986
1244
  channelId: string;
1245
+ /**
1246
+ * The maximum number of messages to return. The value must be between 1 and 100.
1247
+ * @public
1248
+ */
987
1249
  limit?: number;
1250
+ /**
1251
+ * The offset from which to start listing messages. The value must be between 0 and 1000.
1252
+ * @public
1253
+ */
988
1254
  offset?: number;
989
1255
  }
990
1256
  /**
991
1257
  * @public
992
1258
  */
993
1259
  export interface ListMessagesOutput {
1260
+ /**
1261
+ * A list of messages from the specified channel.
1262
+ * @public
1263
+ */
994
1264
  messages: (Message)[];
995
1265
  }
996
1266
  /**
997
1267
  * @public
998
1268
  */
999
1269
  export interface MarkReadInput {
1270
+ /**
1271
+ * The unique identifier of the channel whose messages are to be marked as read.
1272
+ * @public
1273
+ */
1000
1274
  channelId: string;
1275
+ /**
1276
+ * The unique identifier of the user when a service token is used.
1277
+ * @public
1278
+ */
1001
1279
  userId?: string;
1002
1280
  }
1003
1281
  /**
@@ -1009,19 +1287,35 @@ export interface MarkReadOutput {
1009
1287
  * @public
1010
1288
  */
1011
1289
  export interface PartialUpdateChannelSetOptions {
1290
+ /**
1291
+ * The subject of the channel.
1292
+ * @public
1293
+ */
1012
1294
  subject?: string;
1295
+ /**
1296
+ * The description of the channel.
1297
+ * @public
1298
+ */
1013
1299
  description?: string;
1014
1300
  /**
1015
- * Picture URL
1301
+ * The URL of the channel's picture.
1016
1302
  * @public
1017
1303
  */
1018
1304
  picture?: string;
1019
1305
  /**
1020
- * Picture dominant color represented by a hex value.
1306
+ * The dominant color of the channel's picture, represented by a hex value.
1021
1307
  * @public
1022
1308
  */
1023
1309
  pictureColor?: string;
1310
+ /**
1311
+ * The access level of the channel.
1312
+ * @public
1313
+ */
1024
1314
  access?: ChannelAccess;
1315
+ /**
1316
+ * Indicates if the channel is broadcast-only. Default is false.
1317
+ * @public
1318
+ */
1025
1319
  broadcast?: boolean;
1026
1320
  }
1027
1321
  /**
@@ -1044,14 +1338,30 @@ export type GroupChannelUnsetOptions = typeof GroupChannelUnsetOptions[keyof typ
1044
1338
  * @public
1045
1339
  */
1046
1340
  export interface PartialUpdateChannelInput {
1341
+ /**
1342
+ * The unique identifier of the channel to be updated.
1343
+ * @public
1344
+ */
1047
1345
  channelId: string;
1346
+ /**
1347
+ * The unique identifier of the user when a service token is used.
1348
+ * @public
1349
+ */
1048
1350
  userId?: string;
1049
1351
  /**
1050
- * True to not send a system message about updates. Default - false.
1352
+ * Set to true to suppress system messages about the updates. Default is false.
1051
1353
  * @public
1052
1354
  */
1053
1355
  silent?: boolean;
1356
+ /**
1357
+ * Options to set specific fields in the channel.
1358
+ * @public
1359
+ */
1054
1360
  set?: PartialUpdateChannelSetOptions;
1361
+ /**
1362
+ * Options to unset specific fields in the channel.
1363
+ * @public
1364
+ */
1055
1365
  unset?: (GroupChannelUnsetOptions)[];
1056
1366
  }
1057
1367
  /**
@@ -1087,9 +1397,25 @@ export type MessageUnsetFields = typeof MessageUnsetFields[keyof typeof MessageU
1087
1397
  * @public
1088
1398
  */
1089
1399
  export interface PartialUpdateMessageInput {
1400
+ /**
1401
+ * The unique identifier of the channel containing the message.
1402
+ * @public
1403
+ */
1090
1404
  channelId: string;
1405
+ /**
1406
+ * The unique identifier of the message to update.
1407
+ * @public
1408
+ */
1091
1409
  messageId: string;
1410
+ /**
1411
+ * Fields to set during the partial update.
1412
+ * @public
1413
+ */
1092
1414
  set?: PartialUpdateMessageSetInput;
1415
+ /**
1416
+ * Fields to unset during the partial update.
1417
+ * @public
1418
+ */
1093
1419
  unset?: (MessageUnsetFields)[];
1094
1420
  }
1095
1421
  /**
@@ -1114,7 +1440,7 @@ export declare class ConversationsServiceException extends __BaseException {
1114
1440
  */
1115
1441
  export interface ScheduleExternalFlagAdjustmentJobInput {
1116
1442
  /**
1117
- * User ID at x-bees.
1443
+ * The unique identifier of the user.
1118
1444
  * @public
1119
1445
  */
1120
1446
  userId: string;
@@ -1128,17 +1454,25 @@ export interface ScheduleExternalFlagAdjustmentJobOutput {
1128
1454
  * @public
1129
1455
  */
1130
1456
  export interface SendGiphyInput {
1457
+ /**
1458
+ * The unique identifier of the channel to which the Giphy message is sent.
1459
+ * @public
1460
+ */
1131
1461
  channelId: string;
1132
1462
  /**
1133
- * User ID for server side calls
1463
+ * The unique identifier of the user when a service token is used.
1134
1464
  * @public
1135
1465
  */
1136
1466
  userId?: string;
1137
1467
  /**
1138
- * Message ID if empty ID will be auto-generated.
1468
+ * The unique identifier of the message. If not provided, an ID will be auto-generated.
1139
1469
  * @public
1140
1470
  */
1141
1471
  messageId?: string;
1472
+ /**
1473
+ * Details of the Giphy message to be sent.
1474
+ * @public
1475
+ */
1142
1476
  giphy: MessageGiphy;
1143
1477
  }
1144
1478
  /**
@@ -1155,17 +1489,25 @@ export interface SendMessageInput {
1155
1489
  attachments?: (MessageAttachment)[];
1156
1490
  quote?: MessageQuote;
1157
1491
  forward?: MessageForward;
1492
+ /**
1493
+ * The unique identifier of the channel to which the message is sent.
1494
+ * @public
1495
+ */
1158
1496
  channelId: string;
1159
1497
  /**
1160
- * User ID for server side calls
1498
+ * The unique identifier of the user when a service token is used.
1161
1499
  * @public
1162
1500
  */
1163
1501
  userId?: string;
1164
1502
  /**
1165
- * Message ID if empty ID will be auto-generated.
1503
+ * The unique identifier of the message. If not provided, an ID will be auto-generated.
1166
1504
  * @public
1167
1505
  */
1168
1506
  messageId?: string;
1507
+ /**
1508
+ * A list of user IDs mentioned in the message.
1509
+ * @public
1510
+ */
1169
1511
  mentions?: (string)[];
1170
1512
  }
1171
1513
  /**
@@ -1178,15 +1520,23 @@ export interface SendMessageOutput {
1178
1520
  * @public
1179
1521
  */
1180
1522
  export interface SendMessageReactionInput {
1523
+ /**
1524
+ * The unique identifier of the channel containing the message.
1525
+ * @public
1526
+ */
1181
1527
  channelId: string;
1528
+ /**
1529
+ * The unique identifier of the message to which the reaction is sent.
1530
+ * @public
1531
+ */
1182
1532
  messageId: string;
1183
1533
  /**
1184
- * Type of the reaction. User could have only 1 reaction of each type per message.
1534
+ * The type of the reaction. A user can have only one reaction of each type per message.
1185
1535
  * @public
1186
1536
  */
1187
1537
  reactionType: ReactionType;
1188
1538
  /**
1189
- * User ID for server side calls
1539
+ * The unique identifier of the user when a service token is used.
1190
1540
  * @public
1191
1541
  */
1192
1542
  userId?: string;
@@ -1200,7 +1550,15 @@ export interface SendMessageReactionOutput {
1200
1550
  * @public
1201
1551
  */
1202
1552
  export interface SendTypingStartInput {
1553
+ /**
1554
+ * The unique identifier of the channel to which the typing start event is sent.
1555
+ * @public
1556
+ */
1203
1557
  channelId: string;
1558
+ /**
1559
+ * The unique identifier of the user when a service token is used.
1560
+ * @public
1561
+ */
1204
1562
  userId?: string;
1205
1563
  }
1206
1564
  /**
@@ -1212,7 +1570,15 @@ export interface SendTypingStartOutput {
1212
1570
  * @public
1213
1571
  */
1214
1572
  export interface SendTypingStopInput {
1573
+ /**
1574
+ * The unique identifier of the channel to which the typing stop event is sent.
1575
+ * @public
1576
+ */
1215
1577
  channelId: string;
1578
+ /**
1579
+ * The unique identifier of the user when a service token is used.
1580
+ * @public
1581
+ */
1216
1582
  userId?: string;
1217
1583
  }
1218
1584
  /**
@@ -1224,7 +1590,15 @@ export interface SendTypingStopOutput {
1224
1590
  * @public
1225
1591
  */
1226
1592
  export interface ShowChannelInput {
1593
+ /**
1594
+ * The unique identifier of the channel to show.
1595
+ * @public
1596
+ */
1227
1597
  channelId: string;
1598
+ /**
1599
+ * The unique identifier of the user when a service token is used.
1600
+ * @public
1601
+ */
1228
1602
  userId?: string;
1229
1603
  }
1230
1604
  /**
@@ -1236,24 +1610,48 @@ export interface ShowChannelOutput {
1236
1610
  * @public
1237
1611
  */
1238
1612
  export interface UpdateChannelInput {
1613
+ /**
1614
+ * The subject of the channel.
1615
+ * @public
1616
+ */
1239
1617
  subject?: string;
1618
+ /**
1619
+ * The description of the channel.
1620
+ * @public
1621
+ */
1240
1622
  description?: string;
1241
1623
  /**
1242
- * Picture URL
1624
+ * The URL of the channel's picture.
1243
1625
  * @public
1244
1626
  */
1245
1627
  picture?: string;
1246
1628
  /**
1247
- * Picture dominant color represented by a hex value.
1629
+ * The dominant color of the channel's picture, represented by a hex value.
1248
1630
  * @public
1249
1631
  */
1250
1632
  pictureColor?: string;
1633
+ /**
1634
+ * The access level of the channel.
1635
+ * @public
1636
+ */
1251
1637
  access?: ChannelAccess;
1638
+ /**
1639
+ * Indicates if the channel is broadcast-only. Default is false.
1640
+ * @public
1641
+ */
1252
1642
  broadcast?: boolean;
1643
+ /**
1644
+ * The unique identifier of the channel to be updated.
1645
+ * @public
1646
+ */
1253
1647
  channelId: string;
1648
+ /**
1649
+ * The unique identifier of the user when a service token is used.
1650
+ * @public
1651
+ */
1254
1652
  userId?: string;
1255
1653
  /**
1256
- * True to not send a system message about updates. Default - false.
1654
+ * Set to true to suppress system messages about the updates. Default is false.
1257
1655
  * @public
1258
1656
  */
1259
1657
  silent?: boolean;
@@ -1272,8 +1670,20 @@ export interface UpdateMessageInput {
1272
1670
  attachments?: (MessageAttachment)[];
1273
1671
  quote?: MessageQuote;
1274
1672
  forward?: MessageForward;
1673
+ /**
1674
+ * The unique identifier of the channel containing the message.
1675
+ * @public
1676
+ */
1275
1677
  channelId: string;
1678
+ /**
1679
+ * The unique identifier of the message to update.
1680
+ * @public
1681
+ */
1276
1682
  messageId: string;
1683
+ /**
1684
+ * A list of user IDs mentioned in the message.
1685
+ * @public
1686
+ */
1277
1687
  mentions?: (string)[];
1278
1688
  }
1279
1689
  /**
@@ -1307,17 +1717,17 @@ export interface UploadFileOptions {
1307
1717
  */
1308
1718
  export interface UploadFileInput {
1309
1719
  /**
1310
- * Channel Id.
1720
+ * The unique identifier of the channel.
1311
1721
  * @public
1312
1722
  */
1313
1723
  channelId: string;
1314
1724
  /**
1315
- * File name, unreadable characters will be replaced with underscores.
1725
+ * The name of the file. Unreadable characters will be replaced with underscores.
1316
1726
  * @public
1317
1727
  */
1318
1728
  name: string;
1319
1729
  /**
1320
- * Additional options.
1730
+ * Additional options for the file upload.
1321
1731
  * @public
1322
1732
  */
1323
1733
  options?: UploadFileOptions;
@@ -1327,12 +1737,12 @@ export interface UploadFileInput {
1327
1737
  */
1328
1738
  export interface UploadFileOutput {
1329
1739
  /**
1330
- * File Id. Format ownerId_uuid.
1740
+ * The unique identifier of the file.
1331
1741
  * @public
1332
1742
  */
1333
1743
  fileId: string;
1334
1744
  /**
1335
- * Presigned URL for upload file.
1745
+ * The presigned URL for uploading the file.
1336
1746
  * @public
1337
1747
  */
1338
1748
  presignedUploadUrl: string;