@aws-sdk/client-connectcampaignsv2 3.914.0 → 3.916.0
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/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +26 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +20 -0
- package/dist-types/commands/CreateCampaignCommand.d.ts +9 -0
- package/dist-types/commands/DescribeCampaignCommand.d.ts +9 -0
- package/dist-types/commands/UpdateCampaignChannelSubtypeConfigCommand.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +60 -1
- package/dist-types/ts3.4/models/models_0.d.ts +25 -0
- package/package.json +13 -13
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/index.js
CHANGED
|
@@ -131,6 +131,9 @@ class AccessDeniedException extends ConnectCampaignsV2ServiceException {
|
|
|
131
131
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
+
const AgentAction = {
|
|
135
|
+
DISCARD: "DISCARD",
|
|
136
|
+
};
|
|
134
137
|
class ConflictException extends ConnectCampaignsV2ServiceException {
|
|
135
138
|
name = "ConflictException";
|
|
136
139
|
$fault = "client";
|
|
@@ -170,6 +173,8 @@ exports.TelephonyOutboundMode = void 0;
|
|
|
170
173
|
return visitor.predictive(value.predictive);
|
|
171
174
|
if (value.agentless !== undefined)
|
|
172
175
|
return visitor.agentless(value.agentless);
|
|
176
|
+
if (value.preview !== undefined)
|
|
177
|
+
return visitor.preview(value.preview);
|
|
173
178
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
174
179
|
};
|
|
175
180
|
})(exports.TelephonyOutboundMode || (exports.TelephonyOutboundMode = {}));
|
|
@@ -1571,6 +1576,13 @@ const se_PredictiveConfig = (input, context) => {
|
|
|
1571
1576
|
bandwidthAllocation: smithyClient.serializeFloat,
|
|
1572
1577
|
});
|
|
1573
1578
|
};
|
|
1579
|
+
const se_PreviewConfig = (input, context) => {
|
|
1580
|
+
return smithyClient.take(input, {
|
|
1581
|
+
agentActions: smithyClient._json,
|
|
1582
|
+
bandwidthAllocation: smithyClient.serializeFloat,
|
|
1583
|
+
timeoutConfig: smithyClient._json,
|
|
1584
|
+
});
|
|
1585
|
+
};
|
|
1574
1586
|
const se_ProfileOutboundRequest = (input, context) => {
|
|
1575
1587
|
return smithyClient.take(input, {
|
|
1576
1588
|
clientToken: [],
|
|
@@ -1616,6 +1628,7 @@ const se_TelephonyOutboundMode = (input, context) => {
|
|
|
1616
1628
|
return exports.TelephonyOutboundMode.visit(input, {
|
|
1617
1629
|
agentless: (value) => ({ agentless: smithyClient._json(value) }),
|
|
1618
1630
|
predictive: (value) => ({ predictive: se_PredictiveConfig(value) }),
|
|
1631
|
+
preview: (value) => ({ preview: se_PreviewConfig(value) }),
|
|
1619
1632
|
progressive: (value) => ({ progressive: se_ProgressiveConfig(value) }),
|
|
1620
1633
|
_: (name, value) => ({ [name]: value }),
|
|
1621
1634
|
});
|
|
@@ -1673,6 +1686,13 @@ const de_PredictiveConfig = (output, context) => {
|
|
|
1673
1686
|
bandwidthAllocation: smithyClient.limitedParseDouble,
|
|
1674
1687
|
});
|
|
1675
1688
|
};
|
|
1689
|
+
const de_PreviewConfig = (output, context) => {
|
|
1690
|
+
return smithyClient.take(output, {
|
|
1691
|
+
agentActions: smithyClient._json,
|
|
1692
|
+
bandwidthAllocation: smithyClient.limitedParseDouble,
|
|
1693
|
+
timeoutConfig: smithyClient._json,
|
|
1694
|
+
});
|
|
1695
|
+
};
|
|
1676
1696
|
const de_ProgressiveConfig = (output, context) => {
|
|
1677
1697
|
return smithyClient.take(output, {
|
|
1678
1698
|
bandwidthAllocation: smithyClient.limitedParseDouble,
|
|
@@ -1711,6 +1731,11 @@ const de_TelephonyOutboundMode = (output, context) => {
|
|
|
1711
1731
|
predictive: de_PredictiveConfig(output.predictive),
|
|
1712
1732
|
};
|
|
1713
1733
|
}
|
|
1734
|
+
if (output.preview != null) {
|
|
1735
|
+
return {
|
|
1736
|
+
preview: de_PreviewConfig(output.preview),
|
|
1737
|
+
};
|
|
1738
|
+
}
|
|
1714
1739
|
if (output.progressive != null) {
|
|
1715
1740
|
return {
|
|
1716
1741
|
progressive: de_ProgressiveConfig(output.progressive),
|
|
@@ -2382,6 +2407,7 @@ Object.defineProperty(exports, "__Client", {
|
|
|
2382
2407
|
get: function () { return smithyClient.Client; }
|
|
2383
2408
|
});
|
|
2384
2409
|
exports.AccessDeniedException = AccessDeniedException;
|
|
2410
|
+
exports.AgentAction = AgentAction;
|
|
2385
2411
|
exports.CampaignDeletionPolicy = CampaignDeletionPolicy;
|
|
2386
2412
|
exports.CampaignFilterSensitiveLog = CampaignFilterSensitiveLog;
|
|
2387
2413
|
exports.CampaignState = CampaignState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -14,6 +14,9 @@ export class AccessDeniedException extends __BaseException {
|
|
|
14
14
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
+
export const AgentAction = {
|
|
18
|
+
DISCARD: "DISCARD",
|
|
19
|
+
};
|
|
17
20
|
export class ConflictException extends __BaseException {
|
|
18
21
|
name = "ConflictException";
|
|
19
22
|
$fault = "client";
|
|
@@ -53,6 +56,8 @@ export var TelephonyOutboundMode;
|
|
|
53
56
|
return visitor.predictive(value.predictive);
|
|
54
57
|
if (value.agentless !== undefined)
|
|
55
58
|
return visitor.agentless(value.agentless);
|
|
59
|
+
if (value.preview !== undefined)
|
|
60
|
+
return visitor.preview(value.preview);
|
|
56
61
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
57
62
|
};
|
|
58
63
|
})(TelephonyOutboundMode || (TelephonyOutboundMode = {}));
|
|
@@ -1051,6 +1051,13 @@ const se_PredictiveConfig = (input, context) => {
|
|
|
1051
1051
|
bandwidthAllocation: __serializeFloat,
|
|
1052
1052
|
});
|
|
1053
1053
|
};
|
|
1054
|
+
const se_PreviewConfig = (input, context) => {
|
|
1055
|
+
return take(input, {
|
|
1056
|
+
agentActions: _json,
|
|
1057
|
+
bandwidthAllocation: __serializeFloat,
|
|
1058
|
+
timeoutConfig: _json,
|
|
1059
|
+
});
|
|
1060
|
+
};
|
|
1054
1061
|
const se_ProfileOutboundRequest = (input, context) => {
|
|
1055
1062
|
return take(input, {
|
|
1056
1063
|
clientToken: [],
|
|
@@ -1096,6 +1103,7 @@ const se_TelephonyOutboundMode = (input, context) => {
|
|
|
1096
1103
|
return TelephonyOutboundMode.visit(input, {
|
|
1097
1104
|
agentless: (value) => ({ agentless: _json(value) }),
|
|
1098
1105
|
predictive: (value) => ({ predictive: se_PredictiveConfig(value, context) }),
|
|
1106
|
+
preview: (value) => ({ preview: se_PreviewConfig(value, context) }),
|
|
1099
1107
|
progressive: (value) => ({ progressive: se_ProgressiveConfig(value, context) }),
|
|
1100
1108
|
_: (name, value) => ({ [name]: value }),
|
|
1101
1109
|
});
|
|
@@ -1153,6 +1161,13 @@ const de_PredictiveConfig = (output, context) => {
|
|
|
1153
1161
|
bandwidthAllocation: __limitedParseDouble,
|
|
1154
1162
|
});
|
|
1155
1163
|
};
|
|
1164
|
+
const de_PreviewConfig = (output, context) => {
|
|
1165
|
+
return take(output, {
|
|
1166
|
+
agentActions: _json,
|
|
1167
|
+
bandwidthAllocation: __limitedParseDouble,
|
|
1168
|
+
timeoutConfig: _json,
|
|
1169
|
+
});
|
|
1170
|
+
};
|
|
1156
1171
|
const de_ProgressiveConfig = (output, context) => {
|
|
1157
1172
|
return take(output, {
|
|
1158
1173
|
bandwidthAllocation: __limitedParseDouble,
|
|
@@ -1191,6 +1206,11 @@ const de_TelephonyOutboundMode = (output, context) => {
|
|
|
1191
1206
|
predictive: de_PredictiveConfig(output.predictive, context),
|
|
1192
1207
|
};
|
|
1193
1208
|
}
|
|
1209
|
+
if (output.preview != null) {
|
|
1210
|
+
return {
|
|
1211
|
+
preview: de_PreviewConfig(output.preview, context),
|
|
1212
|
+
};
|
|
1213
|
+
}
|
|
1194
1214
|
if (output.progressive != null) {
|
|
1195
1215
|
return {
|
|
1196
1216
|
progressive: de_ProgressiveConfig(output.progressive, context),
|
|
@@ -51,6 +51,15 @@ declare const CreateCampaignCommand_base: {
|
|
|
51
51
|
* bandwidthAllocation: Number("double"), // required
|
|
52
52
|
* },
|
|
53
53
|
* agentless: {},
|
|
54
|
+
* preview: { // PreviewConfig
|
|
55
|
+
* bandwidthAllocation: Number("double"), // required
|
|
56
|
+
* timeoutConfig: { // TimeoutConfig
|
|
57
|
+
* durationInSeconds: Number("int"), // required
|
|
58
|
+
* },
|
|
59
|
+
* agentActions: [ // AgentActions
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
54
63
|
* },
|
|
55
64
|
* defaultOutboundConfig: { // TelephonyOutboundConfig
|
|
56
65
|
* connectContactFlowId: "STRING_VALUE", // required
|
|
@@ -59,6 +59,15 @@ declare const DescribeCampaignCommand_base: {
|
|
|
59
59
|
* // bandwidthAllocation: Number("double"), // required
|
|
60
60
|
* // },
|
|
61
61
|
* // agentless: {},
|
|
62
|
+
* // preview: { // PreviewConfig
|
|
63
|
+
* // bandwidthAllocation: Number("double"), // required
|
|
64
|
+
* // timeoutConfig: { // TimeoutConfig
|
|
65
|
+
* // durationInSeconds: Number("int"), // required
|
|
66
|
+
* // },
|
|
67
|
+
* // agentActions: [ // AgentActions
|
|
68
|
+
* // "STRING_VALUE",
|
|
69
|
+
* // ],
|
|
70
|
+
* // },
|
|
62
71
|
* // },
|
|
63
72
|
* // defaultOutboundConfig: { // TelephonyOutboundConfig
|
|
64
73
|
* // connectContactFlowId: "STRING_VALUE", // required
|
|
@@ -50,6 +50,15 @@ declare const UpdateCampaignChannelSubtypeConfigCommand_base: {
|
|
|
50
50
|
* bandwidthAllocation: Number("double"), // required
|
|
51
51
|
* },
|
|
52
52
|
* agentless: {},
|
|
53
|
+
* preview: { // PreviewConfig
|
|
54
|
+
* bandwidthAllocation: Number("double"), // required
|
|
55
|
+
* timeoutConfig: { // TimeoutConfig
|
|
56
|
+
* durationInSeconds: Number("int"), // required
|
|
57
|
+
* },
|
|
58
|
+
* agentActions: [ // AgentActions
|
|
59
|
+
* "STRING_VALUE",
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
53
62
|
* },
|
|
54
63
|
* defaultOutboundConfig: { // TelephonyOutboundConfig
|
|
55
64
|
* connectContactFlowId: "STRING_VALUE", // required
|
|
@@ -17,6 +17,17 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
17
17
|
*/
|
|
18
18
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* @enum
|
|
23
|
+
*/
|
|
24
|
+
export declare const AgentAction: {
|
|
25
|
+
readonly DISCARD: "DISCARD";
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export type AgentAction = (typeof AgentAction)[keyof typeof AgentAction];
|
|
20
31
|
/**
|
|
21
32
|
* Agentless config
|
|
22
33
|
* @public
|
|
@@ -227,6 +238,38 @@ export interface PredictiveConfig {
|
|
|
227
238
|
*/
|
|
228
239
|
bandwidthAllocation: number | undefined;
|
|
229
240
|
}
|
|
241
|
+
/**
|
|
242
|
+
* Timeout Config for preview contacts.
|
|
243
|
+
* @public
|
|
244
|
+
*/
|
|
245
|
+
export interface TimeoutConfig {
|
|
246
|
+
/**
|
|
247
|
+
* Timeout duration for a preview contact in seconds.
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
durationInSeconds: number | undefined;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Preview config
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
export interface PreviewConfig {
|
|
257
|
+
/**
|
|
258
|
+
* The bandwidth allocation of a queue resource.
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
bandwidthAllocation: number | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* Timeout Config for preview contacts.
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
timeoutConfig: TimeoutConfig | undefined;
|
|
267
|
+
/**
|
|
268
|
+
* Actions that can be performed by agent during preview phase.
|
|
269
|
+
* @public
|
|
270
|
+
*/
|
|
271
|
+
agentActions?: AgentAction[] | undefined;
|
|
272
|
+
}
|
|
230
273
|
/**
|
|
231
274
|
* Progressive config
|
|
232
275
|
* @public
|
|
@@ -242,7 +285,7 @@ export interface ProgressiveConfig {
|
|
|
242
285
|
* Telephony Outbound Mode
|
|
243
286
|
* @public
|
|
244
287
|
*/
|
|
245
|
-
export type TelephonyOutboundMode = TelephonyOutboundMode.AgentlessMember | TelephonyOutboundMode.PredictiveMember | TelephonyOutboundMode.ProgressiveMember | TelephonyOutboundMode.$UnknownMember;
|
|
288
|
+
export type TelephonyOutboundMode = TelephonyOutboundMode.AgentlessMember | TelephonyOutboundMode.PredictiveMember | TelephonyOutboundMode.PreviewMember | TelephonyOutboundMode.ProgressiveMember | TelephonyOutboundMode.$UnknownMember;
|
|
246
289
|
/**
|
|
247
290
|
* @public
|
|
248
291
|
*/
|
|
@@ -255,6 +298,7 @@ export declare namespace TelephonyOutboundMode {
|
|
|
255
298
|
progressive: ProgressiveConfig;
|
|
256
299
|
predictive?: never;
|
|
257
300
|
agentless?: never;
|
|
301
|
+
preview?: never;
|
|
258
302
|
$unknown?: never;
|
|
259
303
|
}
|
|
260
304
|
/**
|
|
@@ -265,6 +309,7 @@ export declare namespace TelephonyOutboundMode {
|
|
|
265
309
|
progressive?: never;
|
|
266
310
|
predictive: PredictiveConfig;
|
|
267
311
|
agentless?: never;
|
|
312
|
+
preview?: never;
|
|
268
313
|
$unknown?: never;
|
|
269
314
|
}
|
|
270
315
|
/**
|
|
@@ -275,6 +320,18 @@ export declare namespace TelephonyOutboundMode {
|
|
|
275
320
|
progressive?: never;
|
|
276
321
|
predictive?: never;
|
|
277
322
|
agentless: AgentlessConfig;
|
|
323
|
+
preview?: never;
|
|
324
|
+
$unknown?: never;
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Preview config
|
|
328
|
+
* @public
|
|
329
|
+
*/
|
|
330
|
+
interface PreviewMember {
|
|
331
|
+
progressive?: never;
|
|
332
|
+
predictive?: never;
|
|
333
|
+
agentless?: never;
|
|
334
|
+
preview: PreviewConfig;
|
|
278
335
|
$unknown?: never;
|
|
279
336
|
}
|
|
280
337
|
/**
|
|
@@ -284,12 +341,14 @@ export declare namespace TelephonyOutboundMode {
|
|
|
284
341
|
progressive?: never;
|
|
285
342
|
predictive?: never;
|
|
286
343
|
agentless?: never;
|
|
344
|
+
preview?: never;
|
|
287
345
|
$unknown: [string, any];
|
|
288
346
|
}
|
|
289
347
|
interface Visitor<T> {
|
|
290
348
|
progressive: (value: ProgressiveConfig) => T;
|
|
291
349
|
predictive: (value: PredictiveConfig) => T;
|
|
292
350
|
agentless: (value: AgentlessConfig) => T;
|
|
351
|
+
preview: (value: PreviewConfig) => T;
|
|
293
352
|
_: (name: string, value: any) => T;
|
|
294
353
|
}
|
|
295
354
|
const visit: <T>(value: TelephonyOutboundMode, visitor: Visitor<T>) => T;
|
|
@@ -8,6 +8,10 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
+
export declare const AgentAction: {
|
|
12
|
+
readonly DISCARD: "DISCARD";
|
|
13
|
+
};
|
|
14
|
+
export type AgentAction = (typeof AgentAction)[keyof typeof AgentAction];
|
|
11
15
|
export interface AgentlessConfig {}
|
|
12
16
|
export declare class ConflictException extends __BaseException {
|
|
13
17
|
readonly name: "ConflictException";
|
|
@@ -82,12 +86,21 @@ export interface TelephonyOutboundConfig {
|
|
|
82
86
|
export interface PredictiveConfig {
|
|
83
87
|
bandwidthAllocation: number | undefined;
|
|
84
88
|
}
|
|
89
|
+
export interface TimeoutConfig {
|
|
90
|
+
durationInSeconds: number | undefined;
|
|
91
|
+
}
|
|
92
|
+
export interface PreviewConfig {
|
|
93
|
+
bandwidthAllocation: number | undefined;
|
|
94
|
+
timeoutConfig: TimeoutConfig | undefined;
|
|
95
|
+
agentActions?: AgentAction[] | undefined;
|
|
96
|
+
}
|
|
85
97
|
export interface ProgressiveConfig {
|
|
86
98
|
bandwidthAllocation: number | undefined;
|
|
87
99
|
}
|
|
88
100
|
export type TelephonyOutboundMode =
|
|
89
101
|
| TelephonyOutboundMode.AgentlessMember
|
|
90
102
|
| TelephonyOutboundMode.PredictiveMember
|
|
103
|
+
| TelephonyOutboundMode.PreviewMember
|
|
91
104
|
| TelephonyOutboundMode.ProgressiveMember
|
|
92
105
|
| TelephonyOutboundMode.$UnknownMember;
|
|
93
106
|
export declare namespace TelephonyOutboundMode {
|
|
@@ -95,30 +108,42 @@ export declare namespace TelephonyOutboundMode {
|
|
|
95
108
|
progressive: ProgressiveConfig;
|
|
96
109
|
predictive?: never;
|
|
97
110
|
agentless?: never;
|
|
111
|
+
preview?: never;
|
|
98
112
|
$unknown?: never;
|
|
99
113
|
}
|
|
100
114
|
interface PredictiveMember {
|
|
101
115
|
progressive?: never;
|
|
102
116
|
predictive: PredictiveConfig;
|
|
103
117
|
agentless?: never;
|
|
118
|
+
preview?: never;
|
|
104
119
|
$unknown?: never;
|
|
105
120
|
}
|
|
106
121
|
interface AgentlessMember {
|
|
107
122
|
progressive?: never;
|
|
108
123
|
predictive?: never;
|
|
109
124
|
agentless: AgentlessConfig;
|
|
125
|
+
preview?: never;
|
|
126
|
+
$unknown?: never;
|
|
127
|
+
}
|
|
128
|
+
interface PreviewMember {
|
|
129
|
+
progressive?: never;
|
|
130
|
+
predictive?: never;
|
|
131
|
+
agentless?: never;
|
|
132
|
+
preview: PreviewConfig;
|
|
110
133
|
$unknown?: never;
|
|
111
134
|
}
|
|
112
135
|
interface $UnknownMember {
|
|
113
136
|
progressive?: never;
|
|
114
137
|
predictive?: never;
|
|
115
138
|
agentless?: never;
|
|
139
|
+
preview?: never;
|
|
116
140
|
$unknown: [string, any];
|
|
117
141
|
}
|
|
118
142
|
interface Visitor<T> {
|
|
119
143
|
progressive: (value: ProgressiveConfig) => T;
|
|
120
144
|
predictive: (value: PredictiveConfig) => T;
|
|
121
145
|
agentless: (value: AgentlessConfig) => T;
|
|
146
|
+
preview: (value: PreviewConfig) => T;
|
|
122
147
|
_: (name: string, value: any) => T;
|
|
123
148
|
}
|
|
124
149
|
const visit: <T>(value: TelephonyOutboundMode, visitor: Visitor<T>) => T;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectcampaignsv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connectcampaignsv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.916.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connectcampaignsv2",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.916.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.916.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.914.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.914.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.914.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.916.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.914.0",
|
|
30
30
|
"@aws-sdk/types": "3.914.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.916.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.914.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.916.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.0",
|
|
35
|
-
"@smithy/core": "^3.17.
|
|
35
|
+
"@smithy/core": "^3.17.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.4",
|
|
37
37
|
"@smithy/hash-node": "^4.2.3",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.3",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.3",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.5",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.5",
|
|
42
42
|
"@smithy/middleware-serde": "^4.2.3",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.3",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.3",
|
|
45
|
-
"@smithy/node-http-handler": "^4.4.
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.3",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.1",
|
|
48
48
|
"@smithy/types": "^4.8.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.3",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.4",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.6",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.3",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.3",
|
|
57
57
|
"@smithy/util-retry": "^4.2.3",
|