@aws-sdk/client-connectcampaignsv2 3.1099.0 → 3.1101.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/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1098.0";
72
+ var version = "3.1100.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -273,6 +273,7 @@ const _A = "Attributes";
273
273
  const _AC = "AgentlessConfig";
274
274
  const _ADE = "AccessDeniedException";
275
275
  const _AMDC = "AnswerMachineDetectionConfig";
276
+ const _ARPC = "AbandonmentRatePacingConfig";
276
277
  const _C = "Campaign";
277
278
  const _CC = "ChannelContext";
278
279
  const _CCR = "CreateCampaignRequest";
@@ -388,6 +389,8 @@ const _PORL = "ProfileOutboundRequestList";
388
389
  const _PPORB = "PutProfileOutboundRequestBatch";
389
390
  const _PPORBR = "PutProfileOutboundRequestBatchRequest";
390
391
  const _PPORBRu = "PutProfileOutboundRequestBatchResponse";
392
+ const _PS = "PacingStrategy";
393
+ const _PSL = "PacingStrategyList";
391
394
  const _QCIC = "QConnectIntegrationConfig";
392
395
  const _QCII = "QConnectIntegrationIdentifier";
393
396
  const _QCIS = "QConnectIntegrationSummary";
@@ -457,6 +460,7 @@ const _aA = "agentActions";
457
460
  const _aAMP = "awaitAnswerMachinePrompt";
458
461
  const _aCS = "allChannelSubtypes";
459
462
  const _aMDC = "answerMachineDetectionConfig";
463
+ const _aR = "abandonmentRate";
460
464
  const _ag = "agentless";
461
465
  const _at = "attributes";
462
466
  const _bA = "bandwidthAllocation";
@@ -482,12 +486,14 @@ const _cS = "channelSubtypes";
482
486
  const _cSC = "channelSubtypeConfig";
483
487
  const _cSEA = "connectSourceEmailAddress";
484
488
  const _cSL = "campaignSummaryList";
485
- const _cSP = "channelSubtypeParameters";
489
+ const _cSP = "connectionStartPoint";
486
490
  const _cSPN = "connectSourcePhoneNumber";
487
491
  const _cSPNA = "connectSourcePhoneNumberArn";
492
+ const _cSPh = "channelSubtypeParameters";
488
493
  const _cSh = "channelSubtype";
489
494
  const _cT = "clientToken";
490
495
  const _cTC = "communicationTimeConfig";
496
+ const _cTS = "connectionThresholdSeconds";
491
497
  const _ca = "campaign";
492
498
  const _cap = "capacity";
493
499
  const _co = "config";
@@ -508,6 +514,7 @@ const _eTC = "eventTriggerContext";
508
514
  const _eTn = "endTime";
509
515
  const _eTv = "eventTrigger";
510
516
  const _eTx = "expirationTime";
517
+ const _eW = "evaluationWindow";
511
518
  const _em = "email";
512
519
  const _en = "enabled";
513
520
  const _f = "frequency";
@@ -546,6 +553,7 @@ const _oTN = "objectTypeNames";
546
553
  const _p = "progressive";
547
554
  const _pI = "profileId";
548
555
  const _pOR = "profileOutboundRequests";
556
+ const _pS = "pacingStrategies";
549
557
  const _pr = "predictive";
550
558
  const _pre = "preview";
551
559
  const _qC = "qConnect";
@@ -572,6 +580,7 @@ const _tA = "templateArn";
572
580
  const _tC = "timeoutConfig";
573
581
  const _tK = "tagKeys";
574
582
  const _tP = "templateParameters";
583
+ const _tR = "targetRate";
575
584
  const _ta = "tags";
576
585
  const _te = "telephony";
577
586
  const _u = "unit";
@@ -647,6 +656,11 @@ const errorTypeRegistries = [
647
656
  var DestinationPhoneNumber = [0, n0, _DPN, 8, 0];
648
657
  var EmailAddress = [0, n0, _EA, 8, 0];
649
658
  var EmailDisplayName = [0, n0, _EDN, 8, 0];
659
+ var AbandonmentRatePacingConfig$ = [3, n0, _ARPC,
660
+ 0,
661
+ [_tR, _cSP, _cTS, _eW],
662
+ [1, 0, 1, 0], 4
663
+ ];
650
664
  var AgentlessConfig$ = [3, n0, _AC,
651
665
  0,
652
666
  [],
@@ -944,7 +958,7 @@ var LocalTimeZoneConfig$ = [3, n0, _LTZC,
944
958
  ];
945
959
  var OutboundRequest$ = [3, n0, _OR,
946
960
  0,
947
- [_cT, _eTx, _cSP],
961
+ [_cT, _eTx, _cSPh],
948
962
  [0, 5, [() => ChannelSubtypeParameters$, 0]], 3
949
963
  ];
950
964
  var PauseCampaignRequest$ = [3, n0, _PCR,
@@ -954,8 +968,8 @@ var PauseCampaignRequest$ = [3, n0, _PCR,
954
968
  ];
955
969
  var PredictiveConfig$ = [3, n0, _PC,
956
970
  0,
957
- [_bA],
958
- [1], 1
971
+ [_bA, _pS],
972
+ [1, () => PacingStrategyList], 1
959
973
  ];
960
974
  var PreviewConfig$ = [3, n0, _PCr,
961
975
  0,
@@ -1205,6 +1219,9 @@ var OutboundRequestList = [1, n0, _ORL,
1205
1219
  0, [() => OutboundRequest$,
1206
1220
  0]
1207
1221
  ];
1222
+ var PacingStrategyList = [1, n0, _PSL,
1223
+ 0, () => PacingStrategy$
1224
+ ];
1208
1225
  var ProfileOutboundRequestList = [1, n0, _PORL,
1209
1226
  0, () => ProfileOutboundRequest$
1210
1227
  ];
@@ -1264,6 +1281,11 @@ var OpenHours$ = [4, n0, _OH,
1264
1281
  [_dH],
1265
1282
  [() => DailyHours]
1266
1283
  ];
1284
+ var PacingStrategy$ = [4, n0, _PS,
1285
+ 0,
1286
+ [_aR],
1287
+ [() => AbandonmentRatePacingConfig$]
1288
+ ];
1267
1289
  var RestrictedPeriods$ = [4, n0, _RPe,
1268
1290
  0,
1269
1291
  [_rPL],
@@ -1713,6 +1735,11 @@ class ConnectCampaignsV2 extends ConnectCampaignsV2Client {
1713
1735
  }
1714
1736
  createAggregatedClient(commands, ConnectCampaignsV2, { paginators });
1715
1737
 
1738
+ const ConnectionStartPoint = {
1739
+ CONNECTED_TO_SYSTEM: "CONNECTED_TO_SYSTEM",
1740
+ GREETING_END: "GREETING_END",
1741
+ GREETING_START: "GREETING_START",
1742
+ };
1716
1743
  const AgentAction = {
1717
1744
  DISCARD: "DISCARD",
1718
1745
  };
@@ -1816,6 +1843,7 @@ const ProfileOutboundRequestFailureCode = {
1816
1843
  UNKNOWN_ERROR: "UnknownError",
1817
1844
  };
1818
1845
 
1846
+ exports.AbandonmentRatePacingConfig$ = AbandonmentRatePacingConfig$;
1819
1847
  exports.AccessDeniedException = AccessDeniedException;
1820
1848
  exports.AccessDeniedException$ = AccessDeniedException$;
1821
1849
  exports.AgentAction = AgentAction;
@@ -1843,6 +1871,7 @@ exports.ConnectCampaignsV2 = ConnectCampaignsV2;
1843
1871
  exports.ConnectCampaignsV2Client = ConnectCampaignsV2Client;
1844
1872
  exports.ConnectCampaignsV2ServiceException = ConnectCampaignsV2ServiceException;
1845
1873
  exports.ConnectCampaignsV2ServiceException$ = ConnectCampaignsV2ServiceException$;
1874
+ exports.ConnectionStartPoint = ConnectionStartPoint;
1846
1875
  exports.CreateCampaign$ = CreateCampaign$;
1847
1876
  exports.CreateCampaignCommand = CreateCampaignCommand;
1848
1877
  exports.CreateCampaignRequest$ = CreateCampaignRequest$;
@@ -1952,6 +1981,7 @@ exports.LocalTimeZoneDetectionScope = LocalTimeZoneDetectionScope;
1952
1981
  exports.LocalTimeZoneDetectionType = LocalTimeZoneDetectionType;
1953
1982
  exports.OpenHours$ = OpenHours$;
1954
1983
  exports.OutboundRequest$ = OutboundRequest$;
1984
+ exports.PacingStrategy$ = PacingStrategy$;
1955
1985
  exports.PauseCampaign$ = PauseCampaign$;
1956
1986
  exports.PauseCampaignCommand = PauseCampaignCommand;
1957
1987
  exports.PauseCampaignRequest$ = PauseCampaignRequest$;
@@ -1,3 +1,8 @@
1
+ export const ConnectionStartPoint = {
2
+ CONNECTED_TO_SYSTEM: "CONNECTED_TO_SYSTEM",
3
+ GREETING_END: "GREETING_END",
4
+ GREETING_START: "GREETING_START",
5
+ };
1
6
  export const AgentAction = {
2
7
  DISCARD: "DISCARD",
3
8
  };
@@ -2,6 +2,7 @@ const _A = "Attributes";
2
2
  const _AC = "AgentlessConfig";
3
3
  const _ADE = "AccessDeniedException";
4
4
  const _AMDC = "AnswerMachineDetectionConfig";
5
+ const _ARPC = "AbandonmentRatePacingConfig";
5
6
  const _C = "Campaign";
6
7
  const _CC = "ChannelContext";
7
8
  const _CCR = "CreateCampaignRequest";
@@ -117,6 +118,8 @@ const _PORL = "ProfileOutboundRequestList";
117
118
  const _PPORB = "PutProfileOutboundRequestBatch";
118
119
  const _PPORBR = "PutProfileOutboundRequestBatchRequest";
119
120
  const _PPORBRu = "PutProfileOutboundRequestBatchResponse";
121
+ const _PS = "PacingStrategy";
122
+ const _PSL = "PacingStrategyList";
120
123
  const _QCIC = "QConnectIntegrationConfig";
121
124
  const _QCII = "QConnectIntegrationIdentifier";
122
125
  const _QCIS = "QConnectIntegrationSummary";
@@ -186,6 +189,7 @@ const _aA = "agentActions";
186
189
  const _aAMP = "awaitAnswerMachinePrompt";
187
190
  const _aCS = "allChannelSubtypes";
188
191
  const _aMDC = "answerMachineDetectionConfig";
192
+ const _aR = "abandonmentRate";
189
193
  const _ag = "agentless";
190
194
  const _at = "attributes";
191
195
  const _bA = "bandwidthAllocation";
@@ -211,12 +215,14 @@ const _cS = "channelSubtypes";
211
215
  const _cSC = "channelSubtypeConfig";
212
216
  const _cSEA = "connectSourceEmailAddress";
213
217
  const _cSL = "campaignSummaryList";
214
- const _cSP = "channelSubtypeParameters";
218
+ const _cSP = "connectionStartPoint";
215
219
  const _cSPN = "connectSourcePhoneNumber";
216
220
  const _cSPNA = "connectSourcePhoneNumberArn";
221
+ const _cSPh = "channelSubtypeParameters";
217
222
  const _cSh = "channelSubtype";
218
223
  const _cT = "clientToken";
219
224
  const _cTC = "communicationTimeConfig";
225
+ const _cTS = "connectionThresholdSeconds";
220
226
  const _ca = "campaign";
221
227
  const _cap = "capacity";
222
228
  const _co = "config";
@@ -237,6 +243,7 @@ const _eTC = "eventTriggerContext";
237
243
  const _eTn = "endTime";
238
244
  const _eTv = "eventTrigger";
239
245
  const _eTx = "expirationTime";
246
+ const _eW = "evaluationWindow";
240
247
  const _em = "email";
241
248
  const _en = "enabled";
242
249
  const _f = "frequency";
@@ -275,6 +282,7 @@ const _oTN = "objectTypeNames";
275
282
  const _p = "progressive";
276
283
  const _pI = "profileId";
277
284
  const _pOR = "profileOutboundRequests";
285
+ const _pS = "pacingStrategies";
278
286
  const _pr = "predictive";
279
287
  const _pre = "preview";
280
288
  const _qC = "qConnect";
@@ -301,6 +309,7 @@ const _tA = "templateArn";
301
309
  const _tC = "timeoutConfig";
302
310
  const _tK = "tagKeys";
303
311
  const _tP = "templateParameters";
312
+ const _tR = "targetRate";
304
313
  const _ta = "tags";
305
314
  const _te = "telephony";
306
315
  const _u = "unit";
@@ -379,6 +388,11 @@ export const errorTypeRegistries = [
379
388
  var DestinationPhoneNumber = [0, n0, _DPN, 8, 0];
380
389
  var EmailAddress = [0, n0, _EA, 8, 0];
381
390
  var EmailDisplayName = [0, n0, _EDN, 8, 0];
391
+ export var AbandonmentRatePacingConfig$ = [3, n0, _ARPC,
392
+ 0,
393
+ [_tR, _cSP, _cTS, _eW],
394
+ [1, 0, 1, 0], 4
395
+ ];
382
396
  export var AgentlessConfig$ = [3, n0, _AC,
383
397
  0,
384
398
  [],
@@ -676,7 +690,7 @@ export var LocalTimeZoneConfig$ = [3, n0, _LTZC,
676
690
  ];
677
691
  export var OutboundRequest$ = [3, n0, _OR,
678
692
  0,
679
- [_cT, _eTx, _cSP],
693
+ [_cT, _eTx, _cSPh],
680
694
  [0, 5, [() => ChannelSubtypeParameters$, 0]], 3
681
695
  ];
682
696
  export var PauseCampaignRequest$ = [3, n0, _PCR,
@@ -686,8 +700,8 @@ export var PauseCampaignRequest$ = [3, n0, _PCR,
686
700
  ];
687
701
  export var PredictiveConfig$ = [3, n0, _PC,
688
702
  0,
689
- [_bA],
690
- [1], 1
703
+ [_bA, _pS],
704
+ [1, () => PacingStrategyList], 1
691
705
  ];
692
706
  export var PreviewConfig$ = [3, n0, _PCr,
693
707
  0,
@@ -941,6 +955,9 @@ var OutboundRequestList = [1, n0, _ORL,
941
955
  0, [() => OutboundRequest$,
942
956
  0]
943
957
  ];
958
+ var PacingStrategyList = [1, n0, _PSL,
959
+ 0, () => PacingStrategy$
960
+ ];
944
961
  var ProfileOutboundRequestList = [1, n0, _PORL,
945
962
  0, () => ProfileOutboundRequest$
946
963
  ];
@@ -1003,6 +1020,11 @@ export var OpenHours$ = [4, n0, _OH,
1003
1020
  [_dH],
1004
1021
  [() => DailyHours]
1005
1022
  ];
1023
+ export var PacingStrategy$ = [4, n0, _PS,
1024
+ 0,
1025
+ [_aR],
1026
+ [() => AbandonmentRatePacingConfig$]
1027
+ ];
1006
1028
  export var RestrictedPeriods$ = [4, n0, _RPe,
1007
1029
  0,
1008
1030
  [_rPL],
@@ -46,6 +46,16 @@ declare const CreateCampaignCommand_base: {
46
46
  * },
47
47
  * predictive: { // PredictiveConfig
48
48
  * bandwidthAllocation: Number("double"), // required
49
+ * pacingStrategies: [ // PacingStrategyList
50
+ * { // PacingStrategy Union: only one key present
51
+ * abandonmentRate: { // AbandonmentRatePacingConfig
52
+ * targetRate: Number("double"), // required
53
+ * connectionStartPoint: "STRING_VALUE", // required
54
+ * connectionThresholdSeconds: Number("int"), // required
55
+ * evaluationWindow: "STRING_VALUE", // required
56
+ * },
57
+ * },
58
+ * ],
49
59
  * },
50
60
  * agentless: {},
51
61
  * preview: { // PreviewConfig
@@ -54,6 +54,16 @@ declare const DescribeCampaignCommand_base: {
54
54
  * // },
55
55
  * // predictive: { // PredictiveConfig
56
56
  * // bandwidthAllocation: Number("double"), // required
57
+ * // pacingStrategies: [ // PacingStrategyList
58
+ * // { // PacingStrategy Union: only one key present
59
+ * // abandonmentRate: { // AbandonmentRatePacingConfig
60
+ * // targetRate: Number("double"), // required
61
+ * // connectionStartPoint: "STRING_VALUE", // required
62
+ * // connectionThresholdSeconds: Number("int"), // required
63
+ * // evaluationWindow: "STRING_VALUE", // required
64
+ * // },
65
+ * // },
66
+ * // ],
57
67
  * // },
58
68
  * // agentless: {},
59
69
  * // preview: { // PreviewConfig
@@ -45,6 +45,16 @@ declare const UpdateCampaignChannelSubtypeConfigCommand_base: {
45
45
  * },
46
46
  * predictive: { // PredictiveConfig
47
47
  * bandwidthAllocation: Number("double"), // required
48
+ * pacingStrategies: [ // PacingStrategyList
49
+ * { // PacingStrategy Union: only one key present
50
+ * abandonmentRate: { // AbandonmentRatePacingConfig
51
+ * targetRate: Number("double"), // required
52
+ * connectionStartPoint: "STRING_VALUE", // required
53
+ * connectionThresholdSeconds: Number("int"), // required
54
+ * evaluationWindow: "STRING_VALUE", // required
55
+ * },
56
+ * },
57
+ * ],
48
58
  * },
49
59
  * agentless: {},
50
60
  * preview: { // PreviewConfig
@@ -1,3 +1,25 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ConnectionStartPoint: {
6
+ /**
7
+ * Threshold measured from when the contact connects to the telephony system.
8
+ */
9
+ readonly CONNECTED_TO_SYSTEM: "CONNECTED_TO_SYSTEM";
10
+ /**
11
+ * Threshold measured from when the customer-side greeting ends.
12
+ */
13
+ readonly GREETING_END: "GREETING_END";
14
+ /**
15
+ * Threshold measured from when the customer-side greeting begins.
16
+ */
17
+ readonly GREETING_START: "GREETING_START";
18
+ };
19
+ /**
20
+ * @public
21
+ */
22
+ export type ConnectionStartPoint = (typeof ConnectionStartPoint)[keyof typeof ConnectionStartPoint];
1
23
  /**
2
24
  * @public
3
25
  * @enum
@@ -1,4 +1,30 @@
1
- import type { AgentAction, CampaignDeletionPolicy, CampaignState, ChannelSubtype, CommunicationLimitsConfigType, CommunicationLimitTimeUnit, CommunicationTimeConfigType, DayOfWeek, EncryptionType, EventType, ExternalCampaignType, FailureCode, GetCampaignStateBatchFailureCode, InstanceIdFilterOperator, InstanceLimitsHandling, InstanceOnboardingJobFailureCode, InstanceOnboardingJobStatusCode, LocalTimeZoneDetectionScope, LocalTimeZoneDetectionType, ProfileOutboundRequestFailureCode } from "./enums";
1
+ import type { AgentAction, CampaignDeletionPolicy, CampaignState, ChannelSubtype, CommunicationLimitsConfigType, CommunicationLimitTimeUnit, CommunicationTimeConfigType, ConnectionStartPoint, DayOfWeek, EncryptionType, EventType, ExternalCampaignType, FailureCode, GetCampaignStateBatchFailureCode, InstanceIdFilterOperator, InstanceLimitsHandling, InstanceOnboardingJobFailureCode, InstanceOnboardingJobStatusCode, LocalTimeZoneDetectionScope, LocalTimeZoneDetectionType, ProfileOutboundRequestFailureCode } from "./enums";
2
+ /**
3
+ * Configuration for abandonment-rate-based dialer throttling.
4
+ * @public
5
+ */
6
+ export interface AbandonmentRatePacingConfig {
7
+ /**
8
+ * Target abandonment rate.
9
+ * @public
10
+ */
11
+ targetRate: number | undefined;
12
+ /**
13
+ * Event from which connectionThresholdSeconds is measured.
14
+ * @public
15
+ */
16
+ connectionStartPoint: ConnectionStartPoint | undefined;
17
+ /**
18
+ * Seconds after connectionStartPoint before a contact counts as abandoned.
19
+ * @public
20
+ */
21
+ connectionThresholdSeconds: number | undefined;
22
+ /**
23
+ * Rolling window over which abandonmentRate is computed.
24
+ * @public
25
+ */
26
+ evaluationWindow: string | undefined;
27
+ }
2
28
  /**
3
29
  * Agentless config
4
30
  * @public
@@ -192,6 +218,39 @@ export interface TelephonyOutboundConfig {
192
218
  */
193
219
  ringTimeout?: number | undefined;
194
220
  }
221
+ /**
222
+ * Pacing constraint the dialer may enforce.
223
+ * @public
224
+ */
225
+ export type PacingStrategy = PacingStrategy.AbandonmentRateMember | PacingStrategy.$UnknownMember;
226
+ /**
227
+ * @public
228
+ */
229
+ export declare namespace PacingStrategy {
230
+ /**
231
+ * Configuration for abandonment-rate-based dialer throttling.
232
+ * @public
233
+ */
234
+ interface AbandonmentRateMember {
235
+ abandonmentRate: AbandonmentRatePacingConfig;
236
+ $unknown?: never;
237
+ }
238
+ /**
239
+ * @public
240
+ */
241
+ interface $UnknownMember {
242
+ abandonmentRate?: never;
243
+ $unknown: [string, any];
244
+ }
245
+ /**
246
+ * @deprecated unused in schema-serde mode.
247
+ *
248
+ */
249
+ interface Visitor<T> {
250
+ abandonmentRate: (value: AbandonmentRatePacingConfig) => T;
251
+ _: (name: string, value: any) => T;
252
+ }
253
+ }
195
254
  /**
196
255
  * Predictive config
197
256
  * @public
@@ -202,6 +261,11 @@ export interface PredictiveConfig {
202
261
  * @public
203
262
  */
204
263
  bandwidthAllocation: number | undefined;
264
+ /**
265
+ * Pacing strategies the dialer enforces simultaneously.
266
+ * @public
267
+ */
268
+ pacingStrategies?: PacingStrategy[] | undefined;
205
269
  }
206
270
  /**
207
271
  * Timeout Config for preview contacts.
@@ -16,6 +16,7 @@ export declare var ValidationException$: StaticErrorSchema;
16
16
  *
17
17
  */
18
18
  export declare const errorTypeRegistries: TypeRegistry[];
19
+ export declare var AbandonmentRatePacingConfig$: StaticStructureSchema;
19
20
  export declare var AgentlessConfig$: StaticStructureSchema;
20
21
  export declare var AnswerMachineDetectionConfig$: StaticStructureSchema;
21
22
  export declare var Campaign$: StaticStructureSchema;
@@ -130,6 +131,7 @@ export declare var IntegrationConfig$: StaticUnionSchema;
130
131
  export declare var IntegrationIdentifier$: StaticUnionSchema;
131
132
  export declare var IntegrationSummary$: StaticUnionSchema;
132
133
  export declare var OpenHours$: StaticUnionSchema;
134
+ export declare var PacingStrategy$: StaticUnionSchema;
133
135
  export declare var RestrictedPeriods$: StaticUnionSchema;
134
136
  export declare var SmsOutboundMode$: StaticUnionSchema;
135
137
  export declare var Source$: StaticUnionSchema;
@@ -1,3 +1,9 @@
1
+ export declare const ConnectionStartPoint: {
2
+ readonly CONNECTED_TO_SYSTEM: "CONNECTED_TO_SYSTEM";
3
+ readonly GREETING_END: "GREETING_END";
4
+ readonly GREETING_START: "GREETING_START";
5
+ };
6
+ export type ConnectionStartPoint = (typeof ConnectionStartPoint)[keyof typeof ConnectionStartPoint];
1
7
  export declare const AgentAction: {
2
8
  readonly DISCARD: "DISCARD";
3
9
  };
@@ -6,6 +6,7 @@ import {
6
6
  CommunicationLimitsConfigType,
7
7
  CommunicationLimitTimeUnit,
8
8
  CommunicationTimeConfigType,
9
+ ConnectionStartPoint,
9
10
  DayOfWeek,
10
11
  EncryptionType,
11
12
  EventType,
@@ -20,6 +21,12 @@ import {
20
21
  LocalTimeZoneDetectionType,
21
22
  ProfileOutboundRequestFailureCode,
22
23
  } from "./enums";
24
+ export interface AbandonmentRatePacingConfig {
25
+ targetRate: number | undefined;
26
+ connectionStartPoint: ConnectionStartPoint | undefined;
27
+ connectionThresholdSeconds: number | undefined;
28
+ evaluationWindow: string | undefined;
29
+ }
23
30
  export interface AgentlessConfig {}
24
31
  export interface EmailOutboundConfig {
25
32
  connectSourceEmailAddress: string | undefined;
@@ -82,8 +89,24 @@ export interface TelephonyOutboundConfig {
82
89
  answerMachineDetectionConfig?: AnswerMachineDetectionConfig | undefined;
83
90
  ringTimeout?: number | undefined;
84
91
  }
92
+ export type PacingStrategy = PacingStrategy.AbandonmentRateMember | PacingStrategy.$UnknownMember;
93
+ export declare namespace PacingStrategy {
94
+ interface AbandonmentRateMember {
95
+ abandonmentRate: AbandonmentRatePacingConfig;
96
+ $unknown?: never;
97
+ }
98
+ interface $UnknownMember {
99
+ abandonmentRate?: never;
100
+ $unknown: [string, any];
101
+ }
102
+ interface Visitor<T> {
103
+ abandonmentRate: (value: AbandonmentRatePacingConfig) => T;
104
+ _: (name: string, value: any) => T;
105
+ }
106
+ }
85
107
  export interface PredictiveConfig {
86
108
  bandwidthAllocation: number | undefined;
109
+ pacingStrategies?: PacingStrategy[] | undefined;
87
110
  }
88
111
  export interface TimeoutConfig {
89
112
  durationInSeconds: number | undefined;
@@ -16,6 +16,7 @@ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
16
16
  export declare var ThrottlingException$: StaticErrorSchema;
17
17
  export declare var ValidationException$: StaticErrorSchema;
18
18
  export declare const errorTypeRegistries: TypeRegistry[];
19
+ export declare var AbandonmentRatePacingConfig$: StaticStructureSchema;
19
20
  export declare var AgentlessConfig$: StaticStructureSchema;
20
21
  export declare var AnswerMachineDetectionConfig$: StaticStructureSchema;
21
22
  export declare var Campaign$: StaticStructureSchema;
@@ -130,6 +131,7 @@ export declare var IntegrationConfig$: StaticUnionSchema;
130
131
  export declare var IntegrationIdentifier$: StaticUnionSchema;
131
132
  export declare var IntegrationSummary$: StaticUnionSchema;
132
133
  export declare var OpenHours$: StaticUnionSchema;
134
+ export declare var PacingStrategy$: StaticUnionSchema;
133
135
  export declare var RestrictedPeriods$: StaticUnionSchema;
134
136
  export declare var SmsOutboundMode$: StaticUnionSchema;
135
137
  export declare var Source$: StaticUnionSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connectcampaignsv2",
3
- "version": "3.1099.0",
3
+ "version": "3.1101.0",
4
4
  "description": "AWS SDK for JavaScript Connectcampaignsv2 Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-connectcampaignsv2",
6
6
  "license": "Apache-2.0",
@@ -46,8 +46,8 @@
46
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.977.3",
50
- "@aws-sdk/credential-provider-node": "^3.972.75",
49
+ "@aws-sdk/core": "^3.977.4",
50
+ "@aws-sdk/credential-provider-node": "^3.972.76",
51
51
  "@aws-sdk/types": "^3.974.2",
52
52
  "@smithy/core": "^3.31.1",
53
53
  "@smithy/fetch-http-handler": "^5.6.13",