@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.
Files changed (114) hide show
  1. package/dist-cjs/ConversationsClient.js +7 -3
  2. package/dist-cjs/commands/AddChannelMemberCommand.js +12 -32
  3. package/dist-cjs/commands/AddChannelMembersCommand.js +12 -32
  4. package/dist-cjs/commands/CreateGroupChannelCommand.js +12 -32
  5. package/dist-cjs/commands/DeleteChannelCommand.js +12 -32
  6. package/dist-cjs/commands/DeleteChannelMemberCommand.js +12 -32
  7. package/dist-cjs/commands/DeleteMessageCommand.js +12 -32
  8. package/dist-cjs/commands/DeleteMessageReactionCommand.js +12 -32
  9. package/dist-cjs/commands/GetChannelCommand.js +12 -32
  10. package/dist-cjs/commands/GetChannelMemberCommand.js +12 -32
  11. package/dist-cjs/commands/GetDirectChannelIdCommand.js +12 -32
  12. package/dist-cjs/commands/GetMessageCommand.js +12 -32
  13. package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +12 -32
  14. package/dist-cjs/commands/HideChannelCommand.js +12 -32
  15. package/dist-cjs/commands/InviteCommand.js +12 -32
  16. package/dist-cjs/commands/JoinChannelCommand.js +12 -32
  17. package/dist-cjs/commands/LeaveChannelCommand.js +12 -32
  18. package/dist-cjs/commands/ListChannelMembersCommand.js +12 -32
  19. package/dist-cjs/commands/ListChannelsCommand.js +12 -32
  20. package/dist-cjs/commands/ListMessageReactionsCommand.js +12 -32
  21. package/dist-cjs/commands/ListMessagesCommand.js +12 -32
  22. package/dist-cjs/commands/MarkReadCommand.js +12 -32
  23. package/dist-cjs/commands/PartialUpdateChannelCommand.js +12 -32
  24. package/dist-cjs/commands/PartialUpdateMessageCommand.js +12 -32
  25. package/dist-cjs/commands/ScheduleExternalFlagAdjustmentJobCommand.js +12 -32
  26. package/dist-cjs/commands/SendGiphyCommand.js +12 -32
  27. package/dist-cjs/commands/SendMessageCommand.js +12 -32
  28. package/dist-cjs/commands/SendMessageReactionCommand.js +12 -32
  29. package/dist-cjs/commands/SendTypingStartCommand.js +12 -32
  30. package/dist-cjs/commands/SendTypingStopCommand.js +12 -32
  31. package/dist-cjs/commands/ShowChannelCommand.js +12 -32
  32. package/dist-cjs/commands/UpdateChannelCommand.js +12 -32
  33. package/dist-cjs/commands/UpdateMessageCommand.js +12 -32
  34. package/dist-cjs/protocols/Aws_restJson1.js +337 -1270
  35. package/dist-cjs/runtimeConfig.browser.js +5 -1
  36. package/dist-cjs/runtimeConfig.js +5 -1
  37. package/dist-cjs/runtimeConfig.shared.js +13 -11
  38. package/dist-es/ConversationsClient.js +7 -3
  39. package/dist-es/commands/AddChannelMemberCommand.js +12 -32
  40. package/dist-es/commands/AddChannelMembersCommand.js +12 -32
  41. package/dist-es/commands/CreateGroupChannelCommand.js +12 -32
  42. package/dist-es/commands/DeleteChannelCommand.js +12 -32
  43. package/dist-es/commands/DeleteChannelMemberCommand.js +12 -32
  44. package/dist-es/commands/DeleteMessageCommand.js +12 -32
  45. package/dist-es/commands/DeleteMessageReactionCommand.js +12 -32
  46. package/dist-es/commands/GetChannelCommand.js +12 -32
  47. package/dist-es/commands/GetChannelMemberCommand.js +12 -32
  48. package/dist-es/commands/GetDirectChannelIdCommand.js +12 -32
  49. package/dist-es/commands/GetMessageCommand.js +12 -32
  50. package/dist-es/commands/GetOrCreateDirectChannelCommand.js +12 -32
  51. package/dist-es/commands/HideChannelCommand.js +12 -32
  52. package/dist-es/commands/InviteCommand.js +12 -32
  53. package/dist-es/commands/JoinChannelCommand.js +12 -32
  54. package/dist-es/commands/LeaveChannelCommand.js +12 -32
  55. package/dist-es/commands/ListChannelMembersCommand.js +12 -32
  56. package/dist-es/commands/ListChannelsCommand.js +12 -32
  57. package/dist-es/commands/ListMessageReactionsCommand.js +12 -32
  58. package/dist-es/commands/ListMessagesCommand.js +12 -32
  59. package/dist-es/commands/MarkReadCommand.js +12 -32
  60. package/dist-es/commands/PartialUpdateChannelCommand.js +12 -32
  61. package/dist-es/commands/PartialUpdateMessageCommand.js +12 -32
  62. package/dist-es/commands/ScheduleExternalFlagAdjustmentJobCommand.js +12 -32
  63. package/dist-es/commands/SendGiphyCommand.js +12 -32
  64. package/dist-es/commands/SendMessageCommand.js +12 -32
  65. package/dist-es/commands/SendMessageReactionCommand.js +12 -32
  66. package/dist-es/commands/SendTypingStartCommand.js +12 -32
  67. package/dist-es/commands/SendTypingStopCommand.js +12 -32
  68. package/dist-es/commands/ShowChannelCommand.js +12 -32
  69. package/dist-es/commands/UpdateChannelCommand.js +12 -32
  70. package/dist-es/commands/UpdateMessageCommand.js +12 -32
  71. package/dist-es/protocols/Aws_restJson1.js +338 -1271
  72. package/dist-es/runtimeConfig.browser.js +4 -1
  73. package/dist-es/runtimeConfig.js +4 -1
  74. package/dist-es/runtimeConfig.shared.js +13 -11
  75. package/dist-types/Conversations.d.ts +4 -0
  76. package/dist-types/ConversationsClient.d.ts +13 -7
  77. package/dist-types/commands/AddChannelMemberCommand.d.ts +7 -19
  78. package/dist-types/commands/AddChannelMembersCommand.d.ts +7 -19
  79. package/dist-types/commands/CreateGroupChannelCommand.d.ts +7 -19
  80. package/dist-types/commands/DeleteChannelCommand.d.ts +7 -19
  81. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +7 -19
  82. package/dist-types/commands/DeleteMessageCommand.d.ts +7 -19
  83. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +7 -19
  84. package/dist-types/commands/GetChannelCommand.d.ts +7 -19
  85. package/dist-types/commands/GetChannelMemberCommand.d.ts +7 -19
  86. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +9 -21
  87. package/dist-types/commands/GetMessageCommand.d.ts +7 -19
  88. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +7 -19
  89. package/dist-types/commands/HideChannelCommand.d.ts +8 -84
  90. package/dist-types/commands/InviteCommand.d.ts +7 -19
  91. package/dist-types/commands/JoinChannelCommand.d.ts +7 -19
  92. package/dist-types/commands/LeaveChannelCommand.d.ts +7 -19
  93. package/dist-types/commands/ListChannelMembersCommand.d.ts +7 -19
  94. package/dist-types/commands/ListChannelsCommand.d.ts +7 -19
  95. package/dist-types/commands/ListMessageReactionsCommand.d.ts +7 -19
  96. package/dist-types/commands/ListMessagesCommand.d.ts +7 -19
  97. package/dist-types/commands/MarkReadCommand.d.ts +7 -19
  98. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +8 -19
  99. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +7 -19
  100. package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +8 -20
  101. package/dist-types/commands/SendGiphyCommand.d.ts +7 -19
  102. package/dist-types/commands/SendMessageCommand.d.ts +7 -19
  103. package/dist-types/commands/SendMessageReactionCommand.d.ts +7 -19
  104. package/dist-types/commands/SendTypingStartCommand.d.ts +7 -19
  105. package/dist-types/commands/SendTypingStopCommand.d.ts +7 -19
  106. package/dist-types/commands/ShowChannelCommand.d.ts +8 -84
  107. package/dist-types/commands/UpdateChannelCommand.d.ts +8 -19
  108. package/dist-types/commands/UpdateMessageCommand.d.ts +7 -19
  109. package/dist-types/index.d.ts +2 -0
  110. package/dist-types/models/models_0.d.ts +55 -47
  111. package/dist-types/runtimeConfig.browser.d.ts +3 -4
  112. package/dist-types/runtimeConfig.d.ts +3 -4
  113. package/dist-types/runtimeConfig.native.d.ts +3 -4
  114. 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 | string;
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 | string;
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 | string;
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 | string;
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 | string;
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 | string;
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 | string;
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
- participantId: string;
451
- participantToInvite: UserToInvite;
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 | string;
559
+ type: MessageType;
560
560
  giphy?: MessageGiphy;
561
561
  silent?: boolean;
562
562
  event?: string;
563
563
  sms?: boolean;
564
- smsStatus?: MessageSmsStatus | string;
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 | string;
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 | string)[];
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 | string)[];
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 | string;
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 | string;
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: ((import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> | Record<string, unknown> | import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/fetch-http-handler").FetchHttpHandlerOptions) & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
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: ((import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> | Record<string, unknown> | import("@smithy/node-http-handler").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions) & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
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: ((import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> | Record<string, unknown> | import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions) & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
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.35",
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.5.0",
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
- "@smithy/config-resolver": "^2.0.11",
25
- "@smithy/fetch-http-handler": "^2.2.1",
26
- "@smithy/hash-node": "^2.0.10",
27
- "@smithy/invalid-dependency": "^2.0.10",
28
- "@smithy/middleware-content-length": "^2.0.12",
29
- "@smithy/middleware-retry": "^2.0.13",
30
- "@smithy/middleware-serde": "^2.0.10",
31
- "@smithy/middleware-stack": "^2.0.4",
32
- "@smithy/node-config-provider": "^2.0.13",
33
- "@smithy/node-http-handler": "^2.1.6",
34
- "@smithy/protocol-http": "^3.0.6",
35
- "@smithy/smithy-client": "^2.1.9",
36
- "@smithy/types": "^2.3.4",
37
- "@smithy/url-parser": "^2.0.10",
38
- "@smithy/util-base64": "^2.0.0",
39
- "@smithy/util-body-length-browser": "^2.0.0",
40
- "@smithy/util-body-length-node": "^2.1.0",
41
- "@smithy/util-defaults-mode-browser": "^2.0.13",
42
- "@smithy/util-defaults-mode-node": "^2.0.15",
43
- "@smithy/util-retry": "^2.0.3",
44
- "@smithy/util-utf8": "^2.0.0",
45
- "@wildix/smithy-utils": "^1.0.1"
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.0.0",
56
+ "@smithy/service-client-documentation-generator": "^2.2.0",
55
57
  "@types/node": "^14.14.31"
56
58
  },
57
59
  "engines": {