@wildix/xbees-conversations-client 1.2.4 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +14 -14
- package/dist-cjs/protocols/Aws_restJson1.js +2 -0
- package/dist-cjs/runtimeConfig.browser.js +12 -0
- package/dist-cjs/runtimeConfig.js +12 -0
- package/dist-es/models/models_0.js +12 -12
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-es/runtimeConfig.browser.js +12 -0
- package/dist-es/runtimeConfig.js +12 -0
- package/dist-types/ConversationsClient.d.ts +8 -0
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +2 -0
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +3 -2
- package/dist-types/commands/DescribeEventCommand.d.ts +10 -5
- package/dist-types/commands/GetChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetMessageCommand.d.ts +1 -1
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +1 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +1 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +1 -1
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +1 -1
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +2 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +2 -2
- package/dist-types/commands/QueryChannelsCommand.d.ts +1 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +1 -1
- package/dist-types/commands/SendMessageCommand.d.ts +2 -2
- package/dist-types/commands/SendSystemMessageCommand.d.ts +1 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +16 -12
- package/dist-types/runtimeConfig.browser.d.ts +8 -1
- package/dist-types/runtimeConfig.d.ts +8 -1
- package/dist-types/runtimeConfig.native.d.ts +8 -1
- package/package.json +2 -2
|
@@ -1,20 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MessageActionNotFoundException = exports.TaggedChannelsLimitReachedException = exports.SystemMessage = exports.ConversationsServiceException = exports.PinnedChannelsLimitReachedException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.MarkUnreadChannelsLimitReachedException = exports.TagNotFoundException = exports.TriggerNotFoundException = exports.WebhookEventType = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.TargetNotFoundException = exports.TargetNotEligibleException = exports.TargetNotEligibleReason = exports.TagsLimitReachedException = exports.ChannelAlreadyExistException = exports.AssignChannelVariant = exports.AssignChannelServiceRequest = exports.AssignChannelAssigneeRequest = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ActionTriggerStatus = exports.FileNotFoundException = exports.ConversationFileCategory = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.Element = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.
|
|
3
|
+
exports.MessageActionNotFoundException = exports.TaggedChannelsLimitReachedException = exports.SystemMessage = exports.ConversationsServiceException = exports.PinnedChannelsLimitReachedException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.MarkUnreadChannelsLimitReachedException = exports.TagNotFoundException = exports.TriggerNotFoundException = exports.WebhookEventType = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.TargetNotFoundException = exports.TargetNotEligibleException = exports.TargetNotEligibleReason = exports.TagsLimitReachedException = exports.ChannelAlreadyExistException = exports.AssignChannelVariant = exports.AssignChannelServiceRequest = exports.AssignChannelAssigneeRequest = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ActionTriggerStatus = exports.FileNotFoundException = exports.ConversationFileCategory = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.Element = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.ValidationException = exports.RateLimitExceededException = exports.ForbiddenException = void 0;
|
|
4
4
|
const ConversationsServiceException_1 = require("./ConversationsServiceException");
|
|
5
|
-
class ValidationException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
6
|
-
name = "ValidationException";
|
|
7
|
-
$fault = "client";
|
|
8
|
-
constructor(opts) {
|
|
9
|
-
super({
|
|
10
|
-
name: "ValidationException",
|
|
11
|
-
$fault: "client",
|
|
12
|
-
...opts
|
|
13
|
-
});
|
|
14
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.ValidationException = ValidationException;
|
|
18
5
|
class ForbiddenException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
19
6
|
name = "ForbiddenException";
|
|
20
7
|
$fault = "client";
|
|
@@ -49,6 +36,19 @@ class RateLimitExceededException extends ConversationsServiceException_1.Convers
|
|
|
49
36
|
}
|
|
50
37
|
}
|
|
51
38
|
exports.RateLimitExceededException = RateLimitExceededException;
|
|
39
|
+
class ValidationException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
40
|
+
name = "ValidationException";
|
|
41
|
+
$fault = "client";
|
|
42
|
+
constructor(opts) {
|
|
43
|
+
super({
|
|
44
|
+
name: "ValidationException",
|
|
45
|
+
$fault: "client",
|
|
46
|
+
...opts
|
|
47
|
+
});
|
|
48
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ValidationException = ValidationException;
|
|
52
52
|
exports.ChannelAccess = {
|
|
53
53
|
PRIVATE: "private",
|
|
54
54
|
PUBLIC: "public",
|
|
@@ -111,6 +111,7 @@ const se_CreateGroupChannelCommand = async (input, context) => {
|
|
|
111
111
|
'transcriptionLanguage': [],
|
|
112
112
|
'whatsapp': [],
|
|
113
113
|
'whatsappStatus': [],
|
|
114
|
+
'wizyGuestViewOnly': [],
|
|
114
115
|
}));
|
|
115
116
|
b.m("POST")
|
|
116
117
|
.h(headers)
|
|
@@ -1204,6 +1205,7 @@ const se_UpdateChannelCommand = async (input, context) => {
|
|
|
1204
1205
|
'transcriptionLanguage': [],
|
|
1205
1206
|
'whatsapp': [],
|
|
1206
1207
|
'whatsappStatus': [],
|
|
1208
|
+
'wizyGuestViewOnly': [],
|
|
1207
1209
|
}));
|
|
1208
1210
|
b.m("PUT")
|
|
1209
1211
|
.h(headers)
|
|
@@ -24,6 +24,18 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: package_json_1.default.name, clientVersion: package_json_1.default.version }),
|
|
25
25
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
26
26
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
27
|
+
retryDecider: config?.retryDecider ?? ((error) => {
|
|
28
|
+
const statusCode = error?.$metadata?.httpStatusCode ?? error?.$response?.statusCode;
|
|
29
|
+
if (statusCode === 429) {
|
|
30
|
+
return Boolean(config?.retryOn429 ?? true);
|
|
31
|
+
}
|
|
32
|
+
return Boolean(error?.$retryable?.throttling
|
|
33
|
+
|| error?.$retryable?.retryable
|
|
34
|
+
|| statusCode === 500
|
|
35
|
+
|| statusCode === 502
|
|
36
|
+
|| statusCode === 503
|
|
37
|
+
|| statusCode === 504);
|
|
38
|
+
}),
|
|
27
39
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
|
|
28
40
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
29
41
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
@@ -28,6 +28,18 @@ const getRuntimeConfig = (config) => {
|
|
|
28
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: package_json_1.default.name, clientVersion: package_json_1.default.version }),
|
|
29
29
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
30
30
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
31
|
+
retryDecider: config?.retryDecider ?? ((error) => {
|
|
32
|
+
const statusCode = error?.$metadata?.httpStatusCode ?? error?.$response?.statusCode;
|
|
33
|
+
if (statusCode === 429) {
|
|
34
|
+
return Boolean(config?.retryOn429 ?? true);
|
|
35
|
+
}
|
|
36
|
+
return Boolean(error?.$retryable?.throttling
|
|
37
|
+
|| error?.$retryable?.retryable
|
|
38
|
+
|| statusCode === 500
|
|
39
|
+
|| statusCode === 502
|
|
40
|
+
|| statusCode === 503
|
|
41
|
+
|| statusCode === 504);
|
|
42
|
+
}),
|
|
31
43
|
retryMode: config?.retryMode ?? (0, node_config_provider_1.loadConfig)({ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE, }, config),
|
|
32
44
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
33
45
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
@@ -1,16 +1,4 @@
|
|
|
1
1
|
import { ConversationsServiceException as __BaseException } from "./ConversationsServiceException";
|
|
2
|
-
export class ValidationException extends __BaseException {
|
|
3
|
-
name = "ValidationException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "ValidationException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
2
|
export class ForbiddenException extends __BaseException {
|
|
15
3
|
name = "ForbiddenException";
|
|
16
4
|
$fault = "client";
|
|
@@ -43,6 +31,18 @@ export class RateLimitExceededException extends __BaseException {
|
|
|
43
31
|
this.retryAfter = opts.retryAfter;
|
|
44
32
|
}
|
|
45
33
|
}
|
|
34
|
+
export class ValidationException extends __BaseException {
|
|
35
|
+
name = "ValidationException";
|
|
36
|
+
$fault = "client";
|
|
37
|
+
constructor(opts) {
|
|
38
|
+
super({
|
|
39
|
+
name: "ValidationException",
|
|
40
|
+
$fault: "client",
|
|
41
|
+
...opts
|
|
42
|
+
});
|
|
43
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
46
|
export const ChannelAccess = {
|
|
47
47
|
PRIVATE: "private",
|
|
48
48
|
PUBLIC: "public",
|
|
@@ -103,6 +103,7 @@ export const se_CreateGroupChannelCommand = async (input, context) => {
|
|
|
103
103
|
'transcriptionLanguage': [],
|
|
104
104
|
'whatsapp': [],
|
|
105
105
|
'whatsappStatus': [],
|
|
106
|
+
'wizyGuestViewOnly': [],
|
|
106
107
|
}));
|
|
107
108
|
b.m("POST")
|
|
108
109
|
.h(headers)
|
|
@@ -1138,6 +1139,7 @@ export const se_UpdateChannelCommand = async (input, context) => {
|
|
|
1138
1139
|
'transcriptionLanguage': [],
|
|
1139
1140
|
'whatsapp': [],
|
|
1140
1141
|
'whatsappStatus': [],
|
|
1142
|
+
'wizyGuestViewOnly': [],
|
|
1141
1143
|
}));
|
|
1142
1144
|
b.m("PUT")
|
|
1143
1145
|
.h(headers)
|
|
@@ -20,6 +20,18 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
20
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: packageInfo.name, clientVersion: packageInfo.version }),
|
|
21
21
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
22
22
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
23
|
+
retryDecider: config?.retryDecider ?? ((error) => {
|
|
24
|
+
const statusCode = error?.$metadata?.httpStatusCode ?? error?.$response?.statusCode;
|
|
25
|
+
if (statusCode === 429) {
|
|
26
|
+
return Boolean(config?.retryOn429 ?? true);
|
|
27
|
+
}
|
|
28
|
+
return Boolean(error?.$retryable?.throttling
|
|
29
|
+
|| error?.$retryable?.retryable
|
|
30
|
+
|| statusCode === 500
|
|
31
|
+
|| statusCode === 502
|
|
32
|
+
|| statusCode === 503
|
|
33
|
+
|| statusCode === 504);
|
|
34
|
+
}),
|
|
23
35
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
24
36
|
sha256: config?.sha256 ?? Sha256,
|
|
25
37
|
streamCollector: config?.streamCollector ?? streamCollector,
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -24,6 +24,18 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: packageInfo.name, clientVersion: packageInfo.version }),
|
|
25
25
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
26
26
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
27
|
+
retryDecider: config?.retryDecider ?? ((error) => {
|
|
28
|
+
const statusCode = error?.$metadata?.httpStatusCode ?? error?.$response?.statusCode;
|
|
29
|
+
if (statusCode === 429) {
|
|
30
|
+
return Boolean(config?.retryOn429 ?? true);
|
|
31
|
+
}
|
|
32
|
+
return Boolean(error?.$retryable?.throttling
|
|
33
|
+
|| error?.$retryable?.retryable
|
|
34
|
+
|| statusCode === 500
|
|
35
|
+
|| statusCode === 502
|
|
36
|
+
|| statusCode === 503
|
|
37
|
+
|| statusCode === 504);
|
|
38
|
+
}),
|
|
27
39
|
retryMode: config?.retryMode ?? loadNodeConfig({ ...NODE_RETRY_MODE_CONFIG_OPTIONS, default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, }, config),
|
|
28
40
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
29
41
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
@@ -143,6 +143,14 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
143
143
|
* @internal
|
|
144
144
|
*/
|
|
145
145
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
146
|
+
/**
|
|
147
|
+
* Enable automatic retry on HTTP 429 responses. Defaults to `true`.
|
|
148
|
+
*/
|
|
149
|
+
retryOn429?: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Custom retry decider override.
|
|
152
|
+
*/
|
|
153
|
+
retryDecider?: (error: any) => boolean;
|
|
146
154
|
/**
|
|
147
155
|
* Value for how many times a request will be made at most in case of retry.
|
|
148
156
|
*/
|
|
@@ -91,6 +91,7 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
91
91
|
* },
|
|
92
92
|
* autoRecord: true || false,
|
|
93
93
|
* transcriptionLanguage: "STRING_VALUE",
|
|
94
|
+
* wizyGuestViewOnly: true || false,
|
|
94
95
|
* userId: "STRING_VALUE",
|
|
95
96
|
* channelId: "STRING_VALUE",
|
|
96
97
|
* members: [ // UsersIdList
|
|
@@ -175,6 +176,7 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
175
176
|
* // external: true || false,
|
|
176
177
|
* // autoRecord: true || false,
|
|
177
178
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
179
|
+
* // wizyGuestViewOnly: true || false,
|
|
178
180
|
* // channelId: "STRING_VALUE", // required
|
|
179
181
|
* // channelType: "direct" || "group", // required
|
|
180
182
|
* // memberCount: Number("int"), // required
|
|
@@ -47,7 +47,7 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
47
47
|
* template: { // MessageTemplateConfig
|
|
48
48
|
* whatsapp: { // TemplateWithParameters
|
|
49
49
|
* name: "STRING_VALUE", // required
|
|
50
|
-
* parameters: [ // ListTemplateParameter
|
|
50
|
+
* parameters: [ // ListTemplateParameter
|
|
51
51
|
* { // TemplateParameter
|
|
52
52
|
* name: "STRING_VALUE", // required
|
|
53
53
|
* value: "STRING_VALUE", // required
|
|
@@ -189,7 +189,7 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
189
189
|
* template: {
|
|
190
190
|
* whatsapp: {
|
|
191
191
|
* name: "STRING_VALUE", // required
|
|
192
|
-
* parameters: [
|
|
192
|
+
* parameters: [
|
|
193
193
|
* {
|
|
194
194
|
* name: "STRING_VALUE", // required
|
|
195
195
|
* value: "STRING_VALUE", // required
|
|
@@ -328,6 +328,7 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
328
328
|
* // external: true || false,
|
|
329
329
|
* // autoRecord: true || false,
|
|
330
330
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
331
|
+
* // wizyGuestViewOnly: true || false,
|
|
331
332
|
* // channelId: "STRING_VALUE", // required
|
|
332
333
|
* // channelType: "direct" || "group", // required
|
|
333
334
|
* // memberCount: Number("int"), // required
|
|
@@ -114,6 +114,7 @@ declare const DescribeEventCommand_base: {
|
|
|
114
114
|
* // external: true || false,
|
|
115
115
|
* // autoRecord: true || false,
|
|
116
116
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
117
|
+
* // wizyGuestViewOnly: true || false,
|
|
117
118
|
* // channelId: "STRING_VALUE", // required
|
|
118
119
|
* // channelType: "direct" || "group", // required
|
|
119
120
|
* // memberCount: Number("int"), // required
|
|
@@ -226,6 +227,7 @@ declare const DescribeEventCommand_base: {
|
|
|
226
227
|
* // external: true || false,
|
|
227
228
|
* // autoRecord: true || false,
|
|
228
229
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
230
|
+
* // wizyGuestViewOnly: true || false,
|
|
229
231
|
* // channelId: "STRING_VALUE", // required
|
|
230
232
|
* // channelType: "direct" || "group", // required
|
|
231
233
|
* // memberCount: Number("int"), // required
|
|
@@ -338,6 +340,7 @@ declare const DescribeEventCommand_base: {
|
|
|
338
340
|
* // external: true || false,
|
|
339
341
|
* // autoRecord: true || false,
|
|
340
342
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
343
|
+
* // wizyGuestViewOnly: true || false,
|
|
341
344
|
* // channelId: "STRING_VALUE", // required
|
|
342
345
|
* // channelType: "direct" || "group", // required
|
|
343
346
|
* // memberCount: Number("int"), // required
|
|
@@ -410,6 +413,7 @@ declare const DescribeEventCommand_base: {
|
|
|
410
413
|
* // external: true || false,
|
|
411
414
|
* // autoRecord: true || false,
|
|
412
415
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
416
|
+
* // wizyGuestViewOnly: true || false,
|
|
413
417
|
* // channelId: "STRING_VALUE", // required
|
|
414
418
|
* // channelType: "direct" || "group", // required
|
|
415
419
|
* // memberCount: Number("int"), // required
|
|
@@ -482,6 +486,7 @@ declare const DescribeEventCommand_base: {
|
|
|
482
486
|
* // external: true || false,
|
|
483
487
|
* // autoRecord: true || false,
|
|
484
488
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
489
|
+
* // wizyGuestViewOnly: true || false,
|
|
485
490
|
* // channelId: "STRING_VALUE", // required
|
|
486
491
|
* // channelType: "direct" || "group", // required
|
|
487
492
|
* // memberCount: Number("int"), // required
|
|
@@ -506,7 +511,7 @@ declare const DescribeEventCommand_base: {
|
|
|
506
511
|
* // template: { // MessageTemplateConfig
|
|
507
512
|
* // whatsapp: { // TemplateWithParameters
|
|
508
513
|
* // name: "STRING_VALUE", // required
|
|
509
|
-
* // parameters: [ // ListTemplateParameter
|
|
514
|
+
* // parameters: [ // ListTemplateParameter
|
|
510
515
|
* // { // TemplateParameter
|
|
511
516
|
* // name: "STRING_VALUE", // required
|
|
512
517
|
* // value: "STRING_VALUE", // required
|
|
@@ -645,7 +650,7 @@ declare const DescribeEventCommand_base: {
|
|
|
645
650
|
* // template: {
|
|
646
651
|
* // whatsapp: {
|
|
647
652
|
* // name: "STRING_VALUE", // required
|
|
648
|
-
* // parameters: [
|
|
653
|
+
* // parameters: [
|
|
649
654
|
* // {
|
|
650
655
|
* // name: "STRING_VALUE", // required
|
|
651
656
|
* // value: "STRING_VALUE", // required
|
|
@@ -782,7 +787,7 @@ declare const DescribeEventCommand_base: {
|
|
|
782
787
|
* // template: {
|
|
783
788
|
* // whatsapp: {
|
|
784
789
|
* // name: "STRING_VALUE", // required
|
|
785
|
-
* // parameters: [
|
|
790
|
+
* // parameters: [
|
|
786
791
|
* // {
|
|
787
792
|
* // name: "STRING_VALUE", // required
|
|
788
793
|
* // value: "STRING_VALUE", // required
|
|
@@ -895,7 +900,7 @@ declare const DescribeEventCommand_base: {
|
|
|
895
900
|
* // template: {
|
|
896
901
|
* // whatsapp: {
|
|
897
902
|
* // name: "STRING_VALUE", // required
|
|
898
|
-
* // parameters: [
|
|
903
|
+
* // parameters: [
|
|
899
904
|
* // {
|
|
900
905
|
* // name: "STRING_VALUE", // required
|
|
901
906
|
* // value: "STRING_VALUE", // required
|
|
@@ -990,7 +995,7 @@ declare const DescribeEventCommand_base: {
|
|
|
990
995
|
* // template: {
|
|
991
996
|
* // whatsapp: {
|
|
992
997
|
* // name: "STRING_VALUE", // required
|
|
993
|
-
* // parameters: [
|
|
998
|
+
* // parameters: [
|
|
994
999
|
* // {
|
|
995
1000
|
* // name: "STRING_VALUE", // required
|
|
996
1001
|
* // value: "STRING_VALUE", // required
|
|
@@ -107,6 +107,7 @@ declare const GetChannelCommand_base: {
|
|
|
107
107
|
* // external: true || false,
|
|
108
108
|
* // autoRecord: true || false,
|
|
109
109
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
110
|
+
* // wizyGuestViewOnly: true || false,
|
|
110
111
|
* // channelId: "STRING_VALUE", // required
|
|
111
112
|
* // channelType: "direct" || "group", // required
|
|
112
113
|
* // memberCount: Number("int"), // required
|
|
@@ -48,7 +48,7 @@ declare const GetMessageCommand_base: {
|
|
|
48
48
|
* // template: { // MessageTemplateConfig
|
|
49
49
|
* // whatsapp: { // TemplateWithParameters
|
|
50
50
|
* // name: "STRING_VALUE", // required
|
|
51
|
-
* // parameters: [ // ListTemplateParameter
|
|
51
|
+
* // parameters: [ // ListTemplateParameter
|
|
52
52
|
* // { // TemplateParameter
|
|
53
53
|
* // name: "STRING_VALUE", // required
|
|
54
54
|
* // value: "STRING_VALUE", // required
|
|
@@ -114,6 +114,7 @@ declare const GetOrCreateDirectChannelCommand_base: {
|
|
|
114
114
|
* // external: true || false,
|
|
115
115
|
* // autoRecord: true || false,
|
|
116
116
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
117
|
+
* // wizyGuestViewOnly: true || false,
|
|
117
118
|
* // channelId: "STRING_VALUE", // required
|
|
118
119
|
* // channelType: "direct" || "group", // required
|
|
119
120
|
* // memberCount: Number("int"), // required
|
|
@@ -111,6 +111,7 @@ declare const GetOrCreateSmsChannelCommand_base: {
|
|
|
111
111
|
* // external: true || false,
|
|
112
112
|
* // autoRecord: true || false,
|
|
113
113
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
114
|
+
* // wizyGuestViewOnly: true || false,
|
|
114
115
|
* // channelId: "STRING_VALUE", // required
|
|
115
116
|
* // channelType: "direct" || "group", // required
|
|
116
117
|
* // memberCount: Number("int"), // required
|
|
@@ -110,6 +110,7 @@ declare const GetOrCreateTelephonyChannelCommand_base: {
|
|
|
110
110
|
* // external: true || false,
|
|
111
111
|
* // autoRecord: true || false,
|
|
112
112
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
113
|
+
* // wizyGuestViewOnly: true || false,
|
|
113
114
|
* // channelId: "STRING_VALUE", // required
|
|
114
115
|
* // channelType: "direct" || "group", // required
|
|
115
116
|
* // memberCount: Number("int"), // required
|
|
@@ -111,6 +111,7 @@ declare const GetOrCreateWhatsAppChannelCommand_base: {
|
|
|
111
111
|
* // external: true || false,
|
|
112
112
|
* // autoRecord: true || false,
|
|
113
113
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
114
|
+
* // wizyGuestViewOnly: true || false,
|
|
114
115
|
* // channelId: "STRING_VALUE", // required
|
|
115
116
|
* // channelType: "direct" || "group", // required
|
|
116
117
|
* // memberCount: Number("int"), // required
|
|
@@ -109,6 +109,7 @@ declare const JoinChannelCommand_base: {
|
|
|
109
109
|
* // external: true || false,
|
|
110
110
|
* // autoRecord: true || false,
|
|
111
111
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
112
|
+
* // wizyGuestViewOnly: true || false,
|
|
112
113
|
* // channelId: "STRING_VALUE", // required
|
|
113
114
|
* // channelType: "direct" || "group", // required
|
|
114
115
|
* // memberCount: Number("int"), // required
|
|
@@ -111,6 +111,7 @@ declare const ListChannelsCommand_base: {
|
|
|
111
111
|
* // external: true || false,
|
|
112
112
|
* // autoRecord: true || false,
|
|
113
113
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
114
|
+
* // wizyGuestViewOnly: true || false,
|
|
114
115
|
* // channelId: "STRING_VALUE", // required
|
|
115
116
|
* // channelType: "direct" || "group", // required
|
|
116
117
|
* // memberCount: Number("int"), // required
|
|
@@ -50,7 +50,7 @@ declare const ListMessagesCommand_base: {
|
|
|
50
50
|
* // template: { // MessageTemplateConfig
|
|
51
51
|
* // whatsapp: { // TemplateWithParameters
|
|
52
52
|
* // name: "STRING_VALUE", // required
|
|
53
|
-
* // parameters: [ // ListTemplateParameter
|
|
53
|
+
* // parameters: [ // ListTemplateParameter
|
|
54
54
|
* // { // TemplateParameter
|
|
55
55
|
* // name: "STRING_VALUE", // required
|
|
56
56
|
* // value: "STRING_VALUE", // required
|
|
@@ -50,7 +50,7 @@ declare const ListPinnedMessagesCommand_base: {
|
|
|
50
50
|
* // template: { // MessageTemplateConfig
|
|
51
51
|
* // whatsapp: { // TemplateWithParameters
|
|
52
52
|
* // name: "STRING_VALUE", // required
|
|
53
|
-
* // parameters: [ // ListTemplateParameter
|
|
53
|
+
* // parameters: [ // ListTemplateParameter
|
|
54
54
|
* // { // TemplateParameter
|
|
55
55
|
* // name: "STRING_VALUE", // required
|
|
56
56
|
* // value: "STRING_VALUE", // required
|
|
@@ -95,6 +95,7 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
95
95
|
* },
|
|
96
96
|
* autoRecord: true || false,
|
|
97
97
|
* transcriptionLanguage: "STRING_VALUE",
|
|
98
|
+
* wizyGuestViewOnly: true || false,
|
|
98
99
|
* },
|
|
99
100
|
* unset: [ // PartialUpdateChannelUnsetOptions
|
|
100
101
|
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus" || "kiteAssign" || "service" || "serviceTitle" || "assignee" || "sms" || "mms" || "whatsapp",
|
|
@@ -170,6 +171,7 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
170
171
|
* // external: true || false,
|
|
171
172
|
* // autoRecord: true || false,
|
|
172
173
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
174
|
+
* // wizyGuestViewOnly: true || false,
|
|
173
175
|
* // channelId: "STRING_VALUE", // required
|
|
174
176
|
* // channelType: "direct" || "group", // required
|
|
175
177
|
* // memberCount: Number("int"), // required
|
|
@@ -45,7 +45,7 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
45
45
|
* template: { // MessageTemplateConfig
|
|
46
46
|
* whatsapp: { // TemplateWithParameters
|
|
47
47
|
* name: "STRING_VALUE", // required
|
|
48
|
-
* parameters: [ // ListTemplateParameter
|
|
48
|
+
* parameters: [ // ListTemplateParameter
|
|
49
49
|
* { // TemplateParameter
|
|
50
50
|
* name: "STRING_VALUE", // required
|
|
51
51
|
* value: "STRING_VALUE", // required
|
|
@@ -192,7 +192,7 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
192
192
|
* // template: { // MessageTemplateConfig
|
|
193
193
|
* // whatsapp: { // TemplateWithParameters
|
|
194
194
|
* // name: "STRING_VALUE", // required
|
|
195
|
-
* // parameters: [ // ListTemplateParameter
|
|
195
|
+
* // parameters: [ // ListTemplateParameter
|
|
196
196
|
* // { // TemplateParameter
|
|
197
197
|
* // name: "STRING_VALUE", // required
|
|
198
198
|
* // value: "STRING_VALUE", // required
|
|
@@ -116,6 +116,7 @@ declare const QueryChannelsCommand_base: {
|
|
|
116
116
|
* // external: true || false,
|
|
117
117
|
* // autoRecord: true || false,
|
|
118
118
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
119
|
+
* // wizyGuestViewOnly: true || false,
|
|
119
120
|
* // channelId: "STRING_VALUE", // required
|
|
120
121
|
* // channelType: "direct" || "group", // required
|
|
121
122
|
* // memberCount: Number("int"), // required
|
|
@@ -56,7 +56,7 @@ declare const SendGiphyCommand_base: {
|
|
|
56
56
|
* // template: { // MessageTemplateConfig
|
|
57
57
|
* // whatsapp: { // TemplateWithParameters
|
|
58
58
|
* // name: "STRING_VALUE", // required
|
|
59
|
-
* // parameters: [ // ListTemplateParameter
|
|
59
|
+
* // parameters: [ // ListTemplateParameter
|
|
60
60
|
* // { // TemplateParameter
|
|
61
61
|
* // name: "STRING_VALUE", // required
|
|
62
62
|
* // value: "STRING_VALUE", // required
|
|
@@ -41,7 +41,7 @@ declare const SendMessageCommand_base: {
|
|
|
41
41
|
* template: { // MessageTemplateConfig
|
|
42
42
|
* whatsapp: { // TemplateWithParameters
|
|
43
43
|
* name: "STRING_VALUE", // required
|
|
44
|
-
* parameters: [ // ListTemplateParameter
|
|
44
|
+
* parameters: [ // ListTemplateParameter
|
|
45
45
|
* { // TemplateParameter
|
|
46
46
|
* name: "STRING_VALUE", // required
|
|
47
47
|
* value: "STRING_VALUE", // required
|
|
@@ -186,7 +186,7 @@ declare const SendMessageCommand_base: {
|
|
|
186
186
|
* // template: { // MessageTemplateConfig
|
|
187
187
|
* // whatsapp: { // TemplateWithParameters
|
|
188
188
|
* // name: "STRING_VALUE", // required
|
|
189
|
-
* // parameters: [ // ListTemplateParameter
|
|
189
|
+
* // parameters: [ // ListTemplateParameter
|
|
190
190
|
* // { // TemplateParameter
|
|
191
191
|
* // name: "STRING_VALUE", // required
|
|
192
192
|
* // value: "STRING_VALUE", // required
|
|
@@ -56,7 +56,7 @@ declare const SendSystemMessageCommand_base: {
|
|
|
56
56
|
* // template: { // MessageTemplateConfig
|
|
57
57
|
* // whatsapp: { // TemplateWithParameters
|
|
58
58
|
* // name: "STRING_VALUE", // required
|
|
59
|
-
* // parameters: [ // ListTemplateParameter
|
|
59
|
+
* // parameters: [ // ListTemplateParameter
|
|
60
60
|
* // { // TemplateParameter
|
|
61
61
|
* // name: "STRING_VALUE", // required
|
|
62
62
|
* // value: "STRING_VALUE", // required
|
|
@@ -91,6 +91,7 @@ declare const UpdateChannelCommand_base: {
|
|
|
91
91
|
* },
|
|
92
92
|
* autoRecord: true || false,
|
|
93
93
|
* transcriptionLanguage: "STRING_VALUE",
|
|
94
|
+
* wizyGuestViewOnly: true || false,
|
|
94
95
|
* channelId: "STRING_VALUE", // required
|
|
95
96
|
* userId: "STRING_VALUE",
|
|
96
97
|
* silent: true || false,
|
|
@@ -165,6 +166,7 @@ declare const UpdateChannelCommand_base: {
|
|
|
165
166
|
* // external: true || false,
|
|
166
167
|
* // autoRecord: true || false,
|
|
167
168
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
169
|
+
* // wizyGuestViewOnly: true || false,
|
|
168
170
|
* // channelId: "STRING_VALUE", // required
|
|
169
171
|
* // channelType: "direct" || "group", // required
|
|
170
172
|
* // memberCount: Number("int"), // required
|
|
@@ -41,7 +41,7 @@ declare const UpdateMessageCommand_base: {
|
|
|
41
41
|
* template: { // MessageTemplateConfig
|
|
42
42
|
* whatsapp: { // TemplateWithParameters
|
|
43
43
|
* name: "STRING_VALUE", // required
|
|
44
|
-
* parameters: [ // ListTemplateParameter
|
|
44
|
+
* parameters: [ // ListTemplateParameter
|
|
45
45
|
* { // TemplateParameter
|
|
46
46
|
* name: "STRING_VALUE", // required
|
|
47
47
|
* value: "STRING_VALUE", // required
|
|
@@ -187,7 +187,7 @@ declare const UpdateMessageCommand_base: {
|
|
|
187
187
|
* // template: { // MessageTemplateConfig
|
|
188
188
|
* // whatsapp: { // TemplateWithParameters
|
|
189
189
|
* // name: "STRING_VALUE", // required
|
|
190
|
-
* // parameters: [ // ListTemplateParameter
|
|
190
|
+
* // parameters: [ // ListTemplateParameter
|
|
191
191
|
* // { // TemplateParameter
|
|
192
192
|
* // name: "STRING_VALUE", // required
|
|
193
193
|
* // value: "STRING_VALUE", // required
|
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import { ConversationsServiceException as __BaseException } from "./ConversationsServiceException";
|
|
2
2
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export declare class ValidationException extends __BaseException {
|
|
7
|
-
readonly name: "ValidationException";
|
|
8
|
-
readonly $fault: "client";
|
|
9
|
-
/**
|
|
10
|
-
* @internal
|
|
11
|
-
*/
|
|
12
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
13
|
-
}
|
|
14
3
|
/**
|
|
15
4
|
* @public
|
|
16
5
|
*/
|
|
@@ -53,6 +42,17 @@ export declare class RateLimitExceededException extends __BaseException {
|
|
|
53
42
|
*/
|
|
54
43
|
constructor(opts: __ExceptionOptionType<RateLimitExceededException, __BaseException>);
|
|
55
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export declare class ValidationException extends __BaseException {
|
|
49
|
+
readonly name: "ValidationException";
|
|
50
|
+
readonly $fault: "client";
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
55
|
+
}
|
|
56
56
|
/**
|
|
57
57
|
* @public
|
|
58
58
|
*/
|
|
@@ -65,7 +65,7 @@ export interface TemplateParameter {
|
|
|
65
65
|
*/
|
|
66
66
|
export interface TemplateWithParameters {
|
|
67
67
|
name: string;
|
|
68
|
-
parameters
|
|
68
|
+
parameters?: (TemplateParameter)[] | undefined;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* @public
|
|
@@ -225,6 +225,7 @@ export interface Channel {
|
|
|
225
225
|
external?: boolean | undefined;
|
|
226
226
|
autoRecord?: boolean | undefined;
|
|
227
227
|
transcriptionLanguage?: string | undefined;
|
|
228
|
+
wizyGuestViewOnly?: boolean | undefined;
|
|
228
229
|
channelId: string;
|
|
229
230
|
channelType: ChannelType;
|
|
230
231
|
memberCount: number;
|
|
@@ -993,6 +994,7 @@ export interface CreateGroupChannelInput {
|
|
|
993
994
|
assignee?: User | undefined;
|
|
994
995
|
autoRecord?: boolean | undefined;
|
|
995
996
|
transcriptionLanguage?: string | undefined;
|
|
997
|
+
wizyGuestViewOnly?: boolean | undefined;
|
|
996
998
|
/**
|
|
997
999
|
* The unique identifier of the user when a service token is used.
|
|
998
1000
|
* @public
|
|
@@ -2511,6 +2513,7 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
2511
2513
|
assignee?: User | undefined;
|
|
2512
2514
|
autoRecord?: boolean | undefined;
|
|
2513
2515
|
transcriptionLanguage?: string | undefined;
|
|
2516
|
+
wizyGuestViewOnly?: boolean | undefined;
|
|
2514
2517
|
}
|
|
2515
2518
|
/**
|
|
2516
2519
|
* @public
|
|
@@ -3267,6 +3270,7 @@ export interface UpdateChannelInput {
|
|
|
3267
3270
|
assignee?: User | undefined;
|
|
3268
3271
|
autoRecord?: boolean | undefined;
|
|
3269
3272
|
transcriptionLanguage?: string | undefined;
|
|
3273
|
+
wizyGuestViewOnly?: boolean | undefined;
|
|
3270
3274
|
/**
|
|
3271
3275
|
* The unique identifier of the channel to be updated.
|
|
3272
3276
|
* @public
|
|
@@ -10,19 +10,26 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
10
10
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
12
|
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
13
|
+
retryDecider: (error: any) => boolean;
|
|
13
14
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
15
|
sha256: import("@smithy/types").HashConstructor;
|
|
15
16
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
17
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
17
18
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
18
|
-
apiVersion: string;
|
|
19
19
|
cacheMiddleware?: boolean | undefined;
|
|
20
|
+
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
21
|
+
protocolSettings?: {
|
|
22
|
+
[setting: string]: unknown;
|
|
23
|
+
defaultNamespace?: string | undefined;
|
|
24
|
+
} | undefined;
|
|
25
|
+
apiVersion: string;
|
|
20
26
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
27
|
base64Decoder: import("@smithy/types").Decoder;
|
|
22
28
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
23
29
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
24
30
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
25
31
|
disableHostPrefix: boolean;
|
|
32
|
+
retryOn429?: boolean | undefined;
|
|
26
33
|
logger: import("@smithy/types").Logger;
|
|
27
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
35
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
@@ -10,20 +10,27 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
10
10
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
12
|
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
13
|
+
retryDecider: (error: any) => boolean;
|
|
13
14
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
15
|
sha256: import("@smithy/types").HashConstructor;
|
|
15
16
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
17
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
17
18
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
18
19
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
19
|
-
apiVersion: string;
|
|
20
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
22
|
+
protocolSettings?: {
|
|
23
|
+
[setting: string]: unknown;
|
|
24
|
+
defaultNamespace?: string | undefined;
|
|
25
|
+
} | undefined;
|
|
26
|
+
apiVersion: string;
|
|
21
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
29
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
24
30
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
31
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
26
32
|
disableHostPrefix: boolean;
|
|
33
|
+
retryOn429?: boolean | undefined;
|
|
27
34
|
logger: import("@smithy/types").Logger;
|
|
28
35
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
29
36
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
@@ -8,8 +8,13 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
8
8
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
9
9
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
10
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;
|
|
11
|
-
apiVersion: string;
|
|
12
11
|
cacheMiddleware?: boolean | undefined;
|
|
12
|
+
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
13
|
+
protocolSettings?: {
|
|
14
|
+
[setting: string]: unknown;
|
|
15
|
+
defaultNamespace?: string | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
apiVersion: string;
|
|
13
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
19
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -19,6 +24,8 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
19
24
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
20
25
|
disableHostPrefix: boolean;
|
|
21
26
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
27
|
+
retryOn429?: boolean | undefined;
|
|
28
|
+
retryDecider: (error: any) => boolean;
|
|
22
29
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
23
30
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
31
|
logger: import("@smithy/types").Logger;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-conversations-client",
|
|
3
3
|
"description": "@wildix/xbees-conversations-client client",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.6",
|
|
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",
|
|
@@ -80,4 +80,4 @@
|
|
|
80
80
|
"react-native": {
|
|
81
81
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
82
82
|
}
|
|
83
|
-
}
|
|
83
|
+
}
|