@aws-sdk/client-connectcampaignsv2 3.940.0 → 3.943.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 +66 -19
- package/dist-es/models/enums.js +6 -0
- package/dist-es/schemas/schemas_0.js +59 -19
- package/dist-types/commands/CreateCampaignCommand.d.ts +32 -0
- package/dist-types/commands/DeleteConnectInstanceIntegrationCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCampaignCommand.d.ts +32 -0
- package/dist-types/commands/ListCampaignsCommand.d.ts +1 -0
- package/dist-types/commands/ListConnectInstanceIntegrationsCommand.d.ts +3 -0
- package/dist-types/commands/PutConnectInstanceIntegrationCommand.d.ts +3 -0
- package/dist-types/commands/PutOutboundRequestBatchCommand.d.ts +8 -0
- package/dist-types/commands/UpdateCampaignChannelSubtypeConfigCommand.d.ts +10 -0
- package/dist-types/commands/UpdateCampaignCommunicationTimeCommand.d.ts +21 -0
- package/dist-types/models/enums.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +219 -7
- package/dist-types/schemas/schemas_0.d.ts +7 -0
- package/dist-types/ts3.4/models/enums.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +95 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -335,6 +335,9 @@ const _LCIIR = "ListConnectInstanceIntegrationsRequest";
|
|
|
335
335
|
const _LCIIRi = "ListConnectInstanceIntegrationsResponse";
|
|
336
336
|
const _LCR = "ListCampaignsRequest";
|
|
337
337
|
const _LCRi = "ListCampaignsResponse";
|
|
338
|
+
const _LIC = "LambdaIntegrationConfig";
|
|
339
|
+
const _LII = "LambdaIntegrationIdentifier";
|
|
340
|
+
const _LIS = "LambdaIntegrationSummary";
|
|
338
341
|
const _LTFR = "ListTagsForResource";
|
|
339
342
|
const _LTFRR = "ListTagsForResourceRequest";
|
|
340
343
|
const _LTFRRi = "ListTagsForResourceResponse";
|
|
@@ -416,6 +419,10 @@ const _UCSp = "UpdateCampaignSource";
|
|
|
416
419
|
const _UR = "UntagResource";
|
|
417
420
|
const _URR = "UntagResourceRequest";
|
|
418
421
|
const _VE = "ValidationException";
|
|
422
|
+
const _WACSC = "WhatsAppChannelSubtypeConfig";
|
|
423
|
+
const _WACSP = "WhatsAppChannelSubtypeParameters";
|
|
424
|
+
const _WAOC = "WhatsAppOutboundConfig";
|
|
425
|
+
const _WAOM = "WhatsAppOutboundMode";
|
|
419
426
|
const _a = "arn";
|
|
420
427
|
const _aA = "agentActions";
|
|
421
428
|
const _aAMP = "awaitAnswerMachinePrompt";
|
|
@@ -471,6 +478,7 @@ const _eTx = "expirationTime";
|
|
|
471
478
|
const _em = "email";
|
|
472
479
|
const _en = "enabled";
|
|
473
480
|
const _f = "frequency";
|
|
481
|
+
const _fA = "functionArn";
|
|
474
482
|
const _fC = "failureCode";
|
|
475
483
|
const _fR = "failedRequests";
|
|
476
484
|
const _fi = "filters";
|
|
@@ -486,6 +494,7 @@ const _iLH = "instanceLimitsHandling";
|
|
|
486
494
|
const _iSL = "integrationSummaryList";
|
|
487
495
|
const _kA = "keyArn";
|
|
488
496
|
const _kBA = "knowledgeBaseArn";
|
|
497
|
+
const _l = "lambda";
|
|
489
498
|
const _lTZC = "localTimeZoneConfig";
|
|
490
499
|
const _lTZD = "localTimeZoneDetection";
|
|
491
500
|
const _m = "message";
|
|
@@ -520,14 +529,16 @@ const _sm = "sms";
|
|
|
520
529
|
const _smi = "smithy.ts.sdk.synthetic.com.amazonaws.connectcampaignsv2";
|
|
521
530
|
const _st = "state";
|
|
522
531
|
const _sta = "status";
|
|
523
|
-
const _t = "
|
|
532
|
+
const _t = "type";
|
|
524
533
|
const _tA = "templateArn";
|
|
525
534
|
const _tC = "timeoutConfig";
|
|
526
535
|
const _tK = "tagKeys";
|
|
527
536
|
const _tP = "templateParameters";
|
|
537
|
+
const _ta = "tags";
|
|
528
538
|
const _te = "telephony";
|
|
529
539
|
const _u = "unit";
|
|
530
540
|
const _v = "value";
|
|
541
|
+
const _wA = "whatsApp";
|
|
531
542
|
const _wTA = "wisdomTemplateArn";
|
|
532
543
|
const _xAET = "xAmzErrorType";
|
|
533
544
|
const _xaE = "x-amzn-ErrorType";
|
|
@@ -562,13 +573,14 @@ var Campaign = [
|
|
|
562
573
|
n0,
|
|
563
574
|
_C,
|
|
564
575
|
0,
|
|
565
|
-
[_i, _a, _n, _cII, _cSC, _s, _cCFA, _sc, _cTC, _cLO,
|
|
576
|
+
[_i, _a, _n, _cII, _cSC, _t, _s, _cCFA, _sc, _cTC, _cLO, _ta],
|
|
566
577
|
[
|
|
567
578
|
0,
|
|
568
579
|
0,
|
|
569
580
|
0,
|
|
570
581
|
0,
|
|
571
582
|
[() => ChannelSubtypeConfig, 0],
|
|
583
|
+
0,
|
|
572
584
|
() => Source,
|
|
573
585
|
0,
|
|
574
586
|
() => Schedule,
|
|
@@ -583,16 +595,21 @@ var CampaignSummary = [
|
|
|
583
595
|
n0,
|
|
584
596
|
_CS,
|
|
585
597
|
0,
|
|
586
|
-
[_i, _a, _n, _cII, _cS, _sc, _cCFA],
|
|
587
|
-
[0, 0, 0, 0, 64 | 0, () => Schedule, 0],
|
|
598
|
+
[_i, _a, _n, _cII, _cS, _t, _sc, _cCFA],
|
|
599
|
+
[0, 0, 0, 0, 64 | 0, 0, () => Schedule, 0],
|
|
588
600
|
];
|
|
589
601
|
var ChannelSubtypeConfig = [
|
|
590
602
|
3,
|
|
591
603
|
n0,
|
|
592
604
|
_CSC,
|
|
593
605
|
0,
|
|
594
|
-
[_te, _sm, _em],
|
|
595
|
-
[
|
|
606
|
+
[_te, _sm, _em, _wA],
|
|
607
|
+
[
|
|
608
|
+
() => TelephonyChannelSubtypeConfig,
|
|
609
|
+
() => SmsChannelSubtypeConfig,
|
|
610
|
+
[() => EmailChannelSubtypeConfig, 0],
|
|
611
|
+
() => WhatsAppChannelSubtypeConfig,
|
|
612
|
+
],
|
|
596
613
|
];
|
|
597
614
|
var CommunicationLimit = [3, n0, _CL, 0, [_mCPR, _f, _u], [1, 1, 0]];
|
|
598
615
|
var CommunicationLimitsConfig = [
|
|
@@ -608,8 +625,8 @@ var CommunicationTimeConfig = [
|
|
|
608
625
|
n0,
|
|
609
626
|
_CTC,
|
|
610
627
|
0,
|
|
611
|
-
[_lTZC, _te, _sm, _em],
|
|
612
|
-
[() => LocalTimeZoneConfig, () => TimeWindow, () => TimeWindow, () => TimeWindow],
|
|
628
|
+
[_lTZC, _te, _sm, _em, _wA],
|
|
629
|
+
[() => LocalTimeZoneConfig, () => TimeWindow, () => TimeWindow, () => TimeWindow, () => TimeWindow],
|
|
613
630
|
];
|
|
614
631
|
var ConflictException = [
|
|
615
632
|
-3,
|
|
@@ -636,11 +653,12 @@ var CreateCampaignRequest = [
|
|
|
636
653
|
n0,
|
|
637
654
|
_CCR,
|
|
638
655
|
0,
|
|
639
|
-
[_n, _cII, _cSC, _s, _cCFA, _sc, _cTC, _cLO,
|
|
656
|
+
[_n, _cII, _cSC, _t, _s, _cCFA, _sc, _cTC, _cLO, _ta],
|
|
640
657
|
[
|
|
641
658
|
0,
|
|
642
659
|
0,
|
|
643
660
|
[() => ChannelSubtypeConfig, 0],
|
|
661
|
+
0,
|
|
644
662
|
() => Source,
|
|
645
663
|
0,
|
|
646
664
|
() => Schedule,
|
|
@@ -649,7 +667,7 @@ var CreateCampaignRequest = [
|
|
|
649
667
|
128 | 0,
|
|
650
668
|
],
|
|
651
669
|
];
|
|
652
|
-
var CreateCampaignResponse = [3, n0, _CCRr, 0, [_i, _a,
|
|
670
|
+
var CreateCampaignResponse = [3, n0, _CCRr, 0, [_i, _a, _ta], [0, 0, 128 | 0]];
|
|
653
671
|
var CustomerProfilesIntegrationConfig = [3, n0, _CPIC, 0, [_dA, _oTN], [0, 128 | 0]];
|
|
654
672
|
var CustomerProfilesIntegrationIdentifier = [3, n0, _CPII, 0, [_dA], [0]];
|
|
655
673
|
var CustomerProfilesIntegrationSummary = [3, n0, _CPIS, 0, [_dA, _oTN], [0, 128 | 0]];
|
|
@@ -868,6 +886,9 @@ var InvalidStateException = [
|
|
|
868
886
|
],
|
|
869
887
|
];
|
|
870
888
|
schema.TypeRegistry.for(n0).registerError(InvalidStateException, InvalidStateException$1);
|
|
889
|
+
var LambdaIntegrationConfig = [3, n0, _LIC, 0, [_fA], [0]];
|
|
890
|
+
var LambdaIntegrationIdentifier = [3, n0, _LII, 0, [_fA], [0]];
|
|
891
|
+
var LambdaIntegrationSummary = [3, n0, _LIS, 0, [_fA], [0]];
|
|
871
892
|
var ListCampaignsRequest = [
|
|
872
893
|
3,
|
|
873
894
|
n0,
|
|
@@ -915,7 +936,7 @@ var ListConnectInstanceIntegrationsResponse = [
|
|
|
915
936
|
[0, () => IntegrationSummaryList],
|
|
916
937
|
];
|
|
917
938
|
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_a], [[0, 1]]];
|
|
918
|
-
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [
|
|
939
|
+
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_ta], [128 | 0]];
|
|
919
940
|
var LocalTimeZoneConfig = [3, n0, _LTZC, 0, [_dTZ, _lTZD], [0, 64 | 0]];
|
|
920
941
|
var OutboundRequest = [
|
|
921
942
|
3,
|
|
@@ -1065,7 +1086,7 @@ var StopCampaignRequest = [3, n0, _SCRt, 0, [_i], [[0, 1]]];
|
|
|
1065
1086
|
var SuccessfulCampaignStateResponse = [3, n0, _SCSR, 0, [_cI, _st], [0, 0]];
|
|
1066
1087
|
var SuccessfulProfileOutboundRequest = [3, n0, _SPOR, 0, [_cT, _i], [0, 0]];
|
|
1067
1088
|
var SuccessfulRequest = [3, n0, _SR, 0, [_cT, _i], [0, 0]];
|
|
1068
|
-
var TagResourceRequest = [3, n0, _TRR, 0, [_a,
|
|
1089
|
+
var TagResourceRequest = [3, n0, _TRR, 0, [_a, _ta], [[0, 1], 128 | 0]];
|
|
1069
1090
|
var TelephonyChannelSubtypeConfig = [
|
|
1070
1091
|
3,
|
|
1071
1092
|
n0,
|
|
@@ -1187,6 +1208,23 @@ var ValidationException = [
|
|
|
1187
1208
|
],
|
|
1188
1209
|
];
|
|
1189
1210
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
1211
|
+
var WhatsAppChannelSubtypeConfig = [
|
|
1212
|
+
3,
|
|
1213
|
+
n0,
|
|
1214
|
+
_WACSC,
|
|
1215
|
+
0,
|
|
1216
|
+
[_cap, _oM, _dOC],
|
|
1217
|
+
[1, () => WhatsAppOutboundMode, () => WhatsAppOutboundConfig],
|
|
1218
|
+
];
|
|
1219
|
+
var WhatsAppChannelSubtypeParameters = [
|
|
1220
|
+
3,
|
|
1221
|
+
n0,
|
|
1222
|
+
_WACSP,
|
|
1223
|
+
0,
|
|
1224
|
+
[_dPN, _cSPNA, _tA, _tP],
|
|
1225
|
+
[[() => DestinationPhoneNumber, 0], 0, 0, [() => Attributes, 0]],
|
|
1226
|
+
];
|
|
1227
|
+
var WhatsAppOutboundConfig = [3, n0, _WAOC, 0, [_cSPNA, _wTA], [0, 0]];
|
|
1190
1228
|
var __Unit = "unit";
|
|
1191
1229
|
var ConnectCampaignsV2ServiceException = [
|
|
1192
1230
|
-3,
|
|
@@ -1229,11 +1267,12 @@ var ChannelSubtypeParameters = [
|
|
|
1229
1267
|
n0,
|
|
1230
1268
|
_CSP,
|
|
1231
1269
|
0,
|
|
1232
|
-
[_te, _sm, _em],
|
|
1270
|
+
[_te, _sm, _em, _wA],
|
|
1233
1271
|
[
|
|
1234
1272
|
[() => TelephonyChannelSubtypeParameters, 0],
|
|
1235
1273
|
[() => SmsChannelSubtypeParameters, 0],
|
|
1236
1274
|
[() => EmailChannelSubtypeParameters, 0],
|
|
1275
|
+
[() => WhatsAppChannelSubtypeParameters, 0],
|
|
1237
1276
|
],
|
|
1238
1277
|
];
|
|
1239
1278
|
var CommunicationLimits = [3, n0, _CLo, 0, [_cLL], [() => CommunicationLimitList]];
|
|
@@ -1243,24 +1282,24 @@ var IntegrationConfig = [
|
|
|
1243
1282
|
n0,
|
|
1244
1283
|
_ICn,
|
|
1245
1284
|
0,
|
|
1246
|
-
[_cP, _qC],
|
|
1247
|
-
[() => CustomerProfilesIntegrationConfig, () => QConnectIntegrationConfig],
|
|
1285
|
+
[_cP, _qC, _l],
|
|
1286
|
+
[() => CustomerProfilesIntegrationConfig, () => QConnectIntegrationConfig, () => LambdaIntegrationConfig],
|
|
1248
1287
|
];
|
|
1249
1288
|
var IntegrationIdentifier = [
|
|
1250
1289
|
3,
|
|
1251
1290
|
n0,
|
|
1252
1291
|
_II,
|
|
1253
1292
|
0,
|
|
1254
|
-
[_cP, _qC],
|
|
1255
|
-
[() => CustomerProfilesIntegrationIdentifier, () => QConnectIntegrationIdentifier],
|
|
1293
|
+
[_cP, _qC, _l],
|
|
1294
|
+
[() => CustomerProfilesIntegrationIdentifier, () => QConnectIntegrationIdentifier, () => LambdaIntegrationIdentifier],
|
|
1256
1295
|
];
|
|
1257
1296
|
var IntegrationSummary = [
|
|
1258
1297
|
3,
|
|
1259
1298
|
n0,
|
|
1260
1299
|
_IS,
|
|
1261
1300
|
0,
|
|
1262
|
-
[_cP, _qC],
|
|
1263
|
-
[() => CustomerProfilesIntegrationSummary, () => QConnectIntegrationSummary],
|
|
1301
|
+
[_cP, _qC, _l],
|
|
1302
|
+
[() => CustomerProfilesIntegrationSummary, () => QConnectIntegrationSummary, () => LambdaIntegrationSummary],
|
|
1264
1303
|
];
|
|
1265
1304
|
var OpenHours = [3, n0, _OH, 0, [_dH], [() => DailyHours]];
|
|
1266
1305
|
var RestrictedPeriods = [3, n0, _RPe, 0, [_rPL], [() => RestrictedPeriodList]];
|
|
@@ -1274,6 +1313,7 @@ var TelephonyOutboundMode = [
|
|
|
1274
1313
|
[_p, _pr, _ag, _pre],
|
|
1275
1314
|
[() => ProgressiveConfig, () => PredictiveConfig, () => AgentlessConfig, () => PreviewConfig],
|
|
1276
1315
|
];
|
|
1316
|
+
var WhatsAppOutboundMode = [3, n0, _WAOM, 0, [_ag], [() => AgentlessConfig]];
|
|
1277
1317
|
var CreateCampaign = [
|
|
1278
1318
|
9,
|
|
1279
1319
|
n0,
|
|
@@ -2113,10 +2153,15 @@ const LocalTimeZoneDetectionType = {
|
|
|
2113
2153
|
AREA_CODE: "AREA_CODE",
|
|
2114
2154
|
ZIP_CODE: "ZIP_CODE",
|
|
2115
2155
|
};
|
|
2156
|
+
const ExternalCampaignType = {
|
|
2157
|
+
JOURNEY: "JOURNEY",
|
|
2158
|
+
MANAGED: "MANAGED",
|
|
2159
|
+
};
|
|
2116
2160
|
const ChannelSubtype = {
|
|
2117
2161
|
EMAIL: "EMAIL",
|
|
2118
2162
|
SMS: "SMS",
|
|
2119
2163
|
TELEPHONY: "TELEPHONY",
|
|
2164
|
+
WHATSAPP: "WHATSAPP",
|
|
2120
2165
|
};
|
|
2121
2166
|
const CommunicationLimitsConfigType = {
|
|
2122
2167
|
ALL_CHANNEL_SUBTYPES: "ALL_CHANNEL_SUBTYPES",
|
|
@@ -2133,6 +2178,7 @@ const CommunicationTimeConfigType = {
|
|
|
2133
2178
|
EMAIL: "EMAIL",
|
|
2134
2179
|
SMS: "SMS",
|
|
2135
2180
|
TELEPHONY: "TELEPHONY",
|
|
2181
|
+
WHATSAPP: "WHATSAPP",
|
|
2136
2182
|
};
|
|
2137
2183
|
const CampaignDeletionPolicy = {
|
|
2138
2184
|
DELETE_ALL: "DELETE_ALL",
|
|
@@ -2213,6 +2259,7 @@ exports.DeleteInstanceOnboardingJobCommand = DeleteInstanceOnboardingJobCommand;
|
|
|
2213
2259
|
exports.DescribeCampaignCommand = DescribeCampaignCommand;
|
|
2214
2260
|
exports.EncryptionType = EncryptionType;
|
|
2215
2261
|
exports.EventType = EventType;
|
|
2262
|
+
exports.ExternalCampaignType = ExternalCampaignType;
|
|
2216
2263
|
exports.FailureCode = FailureCode;
|
|
2217
2264
|
exports.GetCampaignStateBatchCommand = GetCampaignStateBatchCommand;
|
|
2218
2265
|
exports.GetCampaignStateBatchFailureCode = GetCampaignStateBatchFailureCode;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -21,10 +21,15 @@ export const LocalTimeZoneDetectionType = {
|
|
|
21
21
|
AREA_CODE: "AREA_CODE",
|
|
22
22
|
ZIP_CODE: "ZIP_CODE",
|
|
23
23
|
};
|
|
24
|
+
export const ExternalCampaignType = {
|
|
25
|
+
JOURNEY: "JOURNEY",
|
|
26
|
+
MANAGED: "MANAGED",
|
|
27
|
+
};
|
|
24
28
|
export const ChannelSubtype = {
|
|
25
29
|
EMAIL: "EMAIL",
|
|
26
30
|
SMS: "SMS",
|
|
27
31
|
TELEPHONY: "TELEPHONY",
|
|
32
|
+
WHATSAPP: "WHATSAPP",
|
|
28
33
|
};
|
|
29
34
|
export const CommunicationLimitsConfigType = {
|
|
30
35
|
ALL_CHANNEL_SUBTYPES: "ALL_CHANNEL_SUBTYPES",
|
|
@@ -41,6 +46,7 @@ export const CommunicationTimeConfigType = {
|
|
|
41
46
|
EMAIL: "EMAIL",
|
|
42
47
|
SMS: "SMS",
|
|
43
48
|
TELEPHONY: "TELEPHONY",
|
|
49
|
+
WHATSAPP: "WHATSAPP",
|
|
44
50
|
};
|
|
45
51
|
export const CampaignDeletionPolicy = {
|
|
46
52
|
DELETE_ALL: "DELETE_ALL",
|
|
@@ -85,6 +85,9 @@ const _LCIIR = "ListConnectInstanceIntegrationsRequest";
|
|
|
85
85
|
const _LCIIRi = "ListConnectInstanceIntegrationsResponse";
|
|
86
86
|
const _LCR = "ListCampaignsRequest";
|
|
87
87
|
const _LCRi = "ListCampaignsResponse";
|
|
88
|
+
const _LIC = "LambdaIntegrationConfig";
|
|
89
|
+
const _LII = "LambdaIntegrationIdentifier";
|
|
90
|
+
const _LIS = "LambdaIntegrationSummary";
|
|
88
91
|
const _LTFR = "ListTagsForResource";
|
|
89
92
|
const _LTFRR = "ListTagsForResourceRequest";
|
|
90
93
|
const _LTFRRi = "ListTagsForResourceResponse";
|
|
@@ -166,6 +169,10 @@ const _UCSp = "UpdateCampaignSource";
|
|
|
166
169
|
const _UR = "UntagResource";
|
|
167
170
|
const _URR = "UntagResourceRequest";
|
|
168
171
|
const _VE = "ValidationException";
|
|
172
|
+
const _WACSC = "WhatsAppChannelSubtypeConfig";
|
|
173
|
+
const _WACSP = "WhatsAppChannelSubtypeParameters";
|
|
174
|
+
const _WAOC = "WhatsAppOutboundConfig";
|
|
175
|
+
const _WAOM = "WhatsAppOutboundMode";
|
|
169
176
|
const _a = "arn";
|
|
170
177
|
const _aA = "agentActions";
|
|
171
178
|
const _aAMP = "awaitAnswerMachinePrompt";
|
|
@@ -221,6 +228,7 @@ const _eTx = "expirationTime";
|
|
|
221
228
|
const _em = "email";
|
|
222
229
|
const _en = "enabled";
|
|
223
230
|
const _f = "frequency";
|
|
231
|
+
const _fA = "functionArn";
|
|
224
232
|
const _fC = "failureCode";
|
|
225
233
|
const _fR = "failedRequests";
|
|
226
234
|
const _fi = "filters";
|
|
@@ -236,6 +244,7 @@ const _iLH = "instanceLimitsHandling";
|
|
|
236
244
|
const _iSL = "integrationSummaryList";
|
|
237
245
|
const _kA = "keyArn";
|
|
238
246
|
const _kBA = "knowledgeBaseArn";
|
|
247
|
+
const _l = "lambda";
|
|
239
248
|
const _lTZC = "localTimeZoneConfig";
|
|
240
249
|
const _lTZD = "localTimeZoneDetection";
|
|
241
250
|
const _m = "message";
|
|
@@ -270,14 +279,16 @@ const _sm = "sms";
|
|
|
270
279
|
const _smi = "smithy.ts.sdk.synthetic.com.amazonaws.connectcampaignsv2";
|
|
271
280
|
const _st = "state";
|
|
272
281
|
const _sta = "status";
|
|
273
|
-
const _t = "
|
|
282
|
+
const _t = "type";
|
|
274
283
|
const _tA = "templateArn";
|
|
275
284
|
const _tC = "timeoutConfig";
|
|
276
285
|
const _tK = "tagKeys";
|
|
277
286
|
const _tP = "templateParameters";
|
|
287
|
+
const _ta = "tags";
|
|
278
288
|
const _te = "telephony";
|
|
279
289
|
const _u = "unit";
|
|
280
290
|
const _v = "value";
|
|
291
|
+
const _wA = "whatsApp";
|
|
281
292
|
const _wTA = "wisdomTemplateArn";
|
|
282
293
|
const _xAET = "xAmzErrorType";
|
|
283
294
|
const _xaE = "x-amzn-ErrorType";
|
|
@@ -315,13 +326,14 @@ export var Campaign = [
|
|
|
315
326
|
n0,
|
|
316
327
|
_C,
|
|
317
328
|
0,
|
|
318
|
-
[_i, _a, _n, _cII, _cSC, _s, _cCFA, _sc, _cTC, _cLO,
|
|
329
|
+
[_i, _a, _n, _cII, _cSC, _t, _s, _cCFA, _sc, _cTC, _cLO, _ta],
|
|
319
330
|
[
|
|
320
331
|
0,
|
|
321
332
|
0,
|
|
322
333
|
0,
|
|
323
334
|
0,
|
|
324
335
|
[() => ChannelSubtypeConfig, 0],
|
|
336
|
+
0,
|
|
325
337
|
() => Source,
|
|
326
338
|
0,
|
|
327
339
|
() => Schedule,
|
|
@@ -336,16 +348,21 @@ export var CampaignSummary = [
|
|
|
336
348
|
n0,
|
|
337
349
|
_CS,
|
|
338
350
|
0,
|
|
339
|
-
[_i, _a, _n, _cII, _cS, _sc, _cCFA],
|
|
340
|
-
[0, 0, 0, 0, 64 | 0, () => Schedule, 0],
|
|
351
|
+
[_i, _a, _n, _cII, _cS, _t, _sc, _cCFA],
|
|
352
|
+
[0, 0, 0, 0, 64 | 0, 0, () => Schedule, 0],
|
|
341
353
|
];
|
|
342
354
|
export var ChannelSubtypeConfig = [
|
|
343
355
|
3,
|
|
344
356
|
n0,
|
|
345
357
|
_CSC,
|
|
346
358
|
0,
|
|
347
|
-
[_te, _sm, _em],
|
|
348
|
-
[
|
|
359
|
+
[_te, _sm, _em, _wA],
|
|
360
|
+
[
|
|
361
|
+
() => TelephonyChannelSubtypeConfig,
|
|
362
|
+
() => SmsChannelSubtypeConfig,
|
|
363
|
+
[() => EmailChannelSubtypeConfig, 0],
|
|
364
|
+
() => WhatsAppChannelSubtypeConfig,
|
|
365
|
+
],
|
|
349
366
|
];
|
|
350
367
|
export var CommunicationLimit = [3, n0, _CL, 0, [_mCPR, _f, _u], [1, 1, 0]];
|
|
351
368
|
export var CommunicationLimitsConfig = [
|
|
@@ -361,8 +378,8 @@ export var CommunicationTimeConfig = [
|
|
|
361
378
|
n0,
|
|
362
379
|
_CTC,
|
|
363
380
|
0,
|
|
364
|
-
[_lTZC, _te, _sm, _em],
|
|
365
|
-
[() => LocalTimeZoneConfig, () => TimeWindow, () => TimeWindow, () => TimeWindow],
|
|
381
|
+
[_lTZC, _te, _sm, _em, _wA],
|
|
382
|
+
[() => LocalTimeZoneConfig, () => TimeWindow, () => TimeWindow, () => TimeWindow, () => TimeWindow],
|
|
366
383
|
];
|
|
367
384
|
export var ConflictException = [
|
|
368
385
|
-3,
|
|
@@ -389,11 +406,12 @@ export var CreateCampaignRequest = [
|
|
|
389
406
|
n0,
|
|
390
407
|
_CCR,
|
|
391
408
|
0,
|
|
392
|
-
[_n, _cII, _cSC, _s, _cCFA, _sc, _cTC, _cLO,
|
|
409
|
+
[_n, _cII, _cSC, _t, _s, _cCFA, _sc, _cTC, _cLO, _ta],
|
|
393
410
|
[
|
|
394
411
|
0,
|
|
395
412
|
0,
|
|
396
413
|
[() => ChannelSubtypeConfig, 0],
|
|
414
|
+
0,
|
|
397
415
|
() => Source,
|
|
398
416
|
0,
|
|
399
417
|
() => Schedule,
|
|
@@ -402,7 +420,7 @@ export var CreateCampaignRequest = [
|
|
|
402
420
|
128 | 0,
|
|
403
421
|
],
|
|
404
422
|
];
|
|
405
|
-
export var CreateCampaignResponse = [3, n0, _CCRr, 0, [_i, _a,
|
|
423
|
+
export var CreateCampaignResponse = [3, n0, _CCRr, 0, [_i, _a, _ta], [0, 0, 128 | 0]];
|
|
406
424
|
export var CustomerProfilesIntegrationConfig = [3, n0, _CPIC, 0, [_dA, _oTN], [0, 128 | 0]];
|
|
407
425
|
export var CustomerProfilesIntegrationIdentifier = [3, n0, _CPII, 0, [_dA], [0]];
|
|
408
426
|
export var CustomerProfilesIntegrationSummary = [3, n0, _CPIS, 0, [_dA, _oTN], [0, 128 | 0]];
|
|
@@ -621,6 +639,9 @@ export var InvalidStateException = [
|
|
|
621
639
|
],
|
|
622
640
|
];
|
|
623
641
|
TypeRegistry.for(n0).registerError(InvalidStateException, __InvalidStateException);
|
|
642
|
+
export var LambdaIntegrationConfig = [3, n0, _LIC, 0, [_fA], [0]];
|
|
643
|
+
export var LambdaIntegrationIdentifier = [3, n0, _LII, 0, [_fA], [0]];
|
|
644
|
+
export var LambdaIntegrationSummary = [3, n0, _LIS, 0, [_fA], [0]];
|
|
624
645
|
export var ListCampaignsRequest = [
|
|
625
646
|
3,
|
|
626
647
|
n0,
|
|
@@ -668,7 +689,7 @@ export var ListConnectInstanceIntegrationsResponse = [
|
|
|
668
689
|
[0, () => IntegrationSummaryList],
|
|
669
690
|
];
|
|
670
691
|
export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_a], [[0, 1]]];
|
|
671
|
-
export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [
|
|
692
|
+
export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_ta], [128 | 0]];
|
|
672
693
|
export var LocalTimeZoneConfig = [3, n0, _LTZC, 0, [_dTZ, _lTZD], [0, 64 | 0]];
|
|
673
694
|
export var OutboundRequest = [
|
|
674
695
|
3,
|
|
@@ -818,7 +839,7 @@ export var StopCampaignRequest = [3, n0, _SCRt, 0, [_i], [[0, 1]]];
|
|
|
818
839
|
export var SuccessfulCampaignStateResponse = [3, n0, _SCSR, 0, [_cI, _st], [0, 0]];
|
|
819
840
|
export var SuccessfulProfileOutboundRequest = [3, n0, _SPOR, 0, [_cT, _i], [0, 0]];
|
|
820
841
|
export var SuccessfulRequest = [3, n0, _SR, 0, [_cT, _i], [0, 0]];
|
|
821
|
-
export var TagResourceRequest = [3, n0, _TRR, 0, [_a,
|
|
842
|
+
export var TagResourceRequest = [3, n0, _TRR, 0, [_a, _ta], [[0, 1], 128 | 0]];
|
|
822
843
|
export var TelephonyChannelSubtypeConfig = [
|
|
823
844
|
3,
|
|
824
845
|
n0,
|
|
@@ -940,6 +961,23 @@ export var ValidationException = [
|
|
|
940
961
|
],
|
|
941
962
|
];
|
|
942
963
|
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
964
|
+
export var WhatsAppChannelSubtypeConfig = [
|
|
965
|
+
3,
|
|
966
|
+
n0,
|
|
967
|
+
_WACSC,
|
|
968
|
+
0,
|
|
969
|
+
[_cap, _oM, _dOC],
|
|
970
|
+
[1, () => WhatsAppOutboundMode, () => WhatsAppOutboundConfig],
|
|
971
|
+
];
|
|
972
|
+
export var WhatsAppChannelSubtypeParameters = [
|
|
973
|
+
3,
|
|
974
|
+
n0,
|
|
975
|
+
_WACSP,
|
|
976
|
+
0,
|
|
977
|
+
[_dPN, _cSPNA, _tA, _tP],
|
|
978
|
+
[[() => DestinationPhoneNumber, 0], 0, 0, [() => Attributes, 0]],
|
|
979
|
+
];
|
|
980
|
+
export var WhatsAppOutboundConfig = [3, n0, _WAOC, 0, [_cSPNA, _wTA], [0, 0]];
|
|
943
981
|
export var __Unit = "unit";
|
|
944
982
|
export var ConnectCampaignsV2ServiceException = [
|
|
945
983
|
-3,
|
|
@@ -989,11 +1027,12 @@ export var ChannelSubtypeParameters = [
|
|
|
989
1027
|
n0,
|
|
990
1028
|
_CSP,
|
|
991
1029
|
0,
|
|
992
|
-
[_te, _sm, _em],
|
|
1030
|
+
[_te, _sm, _em, _wA],
|
|
993
1031
|
[
|
|
994
1032
|
[() => TelephonyChannelSubtypeParameters, 0],
|
|
995
1033
|
[() => SmsChannelSubtypeParameters, 0],
|
|
996
1034
|
[() => EmailChannelSubtypeParameters, 0],
|
|
1035
|
+
[() => WhatsAppChannelSubtypeParameters, 0],
|
|
997
1036
|
],
|
|
998
1037
|
];
|
|
999
1038
|
export var CommunicationLimits = [3, n0, _CLo, 0, [_cLL], [() => CommunicationLimitList]];
|
|
@@ -1003,24 +1042,24 @@ export var IntegrationConfig = [
|
|
|
1003
1042
|
n0,
|
|
1004
1043
|
_ICn,
|
|
1005
1044
|
0,
|
|
1006
|
-
[_cP, _qC],
|
|
1007
|
-
[() => CustomerProfilesIntegrationConfig, () => QConnectIntegrationConfig],
|
|
1045
|
+
[_cP, _qC, _l],
|
|
1046
|
+
[() => CustomerProfilesIntegrationConfig, () => QConnectIntegrationConfig, () => LambdaIntegrationConfig],
|
|
1008
1047
|
];
|
|
1009
1048
|
export var IntegrationIdentifier = [
|
|
1010
1049
|
3,
|
|
1011
1050
|
n0,
|
|
1012
1051
|
_II,
|
|
1013
1052
|
0,
|
|
1014
|
-
[_cP, _qC],
|
|
1015
|
-
[() => CustomerProfilesIntegrationIdentifier, () => QConnectIntegrationIdentifier],
|
|
1053
|
+
[_cP, _qC, _l],
|
|
1054
|
+
[() => CustomerProfilesIntegrationIdentifier, () => QConnectIntegrationIdentifier, () => LambdaIntegrationIdentifier],
|
|
1016
1055
|
];
|
|
1017
1056
|
export var IntegrationSummary = [
|
|
1018
1057
|
3,
|
|
1019
1058
|
n0,
|
|
1020
1059
|
_IS,
|
|
1021
1060
|
0,
|
|
1022
|
-
[_cP, _qC],
|
|
1023
|
-
[() => CustomerProfilesIntegrationSummary, () => QConnectIntegrationSummary],
|
|
1061
|
+
[_cP, _qC, _l],
|
|
1062
|
+
[() => CustomerProfilesIntegrationSummary, () => QConnectIntegrationSummary, () => LambdaIntegrationSummary],
|
|
1024
1063
|
];
|
|
1025
1064
|
export var OpenHours = [3, n0, _OH, 0, [_dH], [() => DailyHours]];
|
|
1026
1065
|
export var RestrictedPeriods = [3, n0, _RPe, 0, [_rPL], [() => RestrictedPeriodList]];
|
|
@@ -1034,6 +1073,7 @@ export var TelephonyOutboundMode = [
|
|
|
1034
1073
|
[_p, _pr, _ag, _pre],
|
|
1035
1074
|
[() => ProgressiveConfig, () => PredictiveConfig, () => AgentlessConfig, () => PreviewConfig],
|
|
1036
1075
|
];
|
|
1076
|
+
export var WhatsAppOutboundMode = [3, n0, _WAOM, 0, [_ag], [() => AgentlessConfig]];
|
|
1037
1077
|
export var CreateCampaign = [
|
|
1038
1078
|
9,
|
|
1039
1079
|
n0,
|
|
@@ -92,7 +92,18 @@ declare const CreateCampaignCommand_base: {
|
|
|
92
92
|
* wisdomTemplateArn: "STRING_VALUE", // required
|
|
93
93
|
* },
|
|
94
94
|
* },
|
|
95
|
+
* whatsApp: { // WhatsAppChannelSubtypeConfig
|
|
96
|
+
* capacity: Number("double"),
|
|
97
|
+
* outboundMode: { // WhatsAppOutboundMode Union: only one key present
|
|
98
|
+
* agentless: {},
|
|
99
|
+
* },
|
|
100
|
+
* defaultOutboundConfig: { // WhatsAppOutboundConfig
|
|
101
|
+
* connectSourcePhoneNumberArn: "STRING_VALUE", // required
|
|
102
|
+
* wisdomTemplateArn: "STRING_VALUE", // required
|
|
103
|
+
* },
|
|
104
|
+
* },
|
|
95
105
|
* },
|
|
106
|
+
* type: "STRING_VALUE",
|
|
96
107
|
* source: { // Source Union: only one key present
|
|
97
108
|
* customerProfilesSegmentArn: "STRING_VALUE",
|
|
98
109
|
* eventTrigger: { // EventTrigger
|
|
@@ -175,6 +186,27 @@ declare const CreateCampaignCommand_base: {
|
|
|
175
186
|
* ],
|
|
176
187
|
* },
|
|
177
188
|
* },
|
|
189
|
+
* whatsApp: {
|
|
190
|
+
* openHours: {// Union: only one key present
|
|
191
|
+
* dailyHours: {
|
|
192
|
+
* "<keys>": [
|
|
193
|
+
* {
|
|
194
|
+
* startTime: "STRING_VALUE", // required
|
|
195
|
+
* endTime: "STRING_VALUE", // required
|
|
196
|
+
* },
|
|
197
|
+
* ],
|
|
198
|
+
* },
|
|
199
|
+
* },
|
|
200
|
+
* restrictedPeriods: {// Union: only one key present
|
|
201
|
+
* restrictedPeriodList: [
|
|
202
|
+
* {
|
|
203
|
+
* name: "STRING_VALUE",
|
|
204
|
+
* startDate: "STRING_VALUE", // required
|
|
205
|
+
* endDate: "STRING_VALUE", // required
|
|
206
|
+
* },
|
|
207
|
+
* ],
|
|
208
|
+
* },
|
|
209
|
+
* },
|
|
178
210
|
* },
|
|
179
211
|
* communicationLimitsOverride: { // CommunicationLimitsConfig
|
|
180
212
|
* allChannelSubtypes: { // CommunicationLimits Union: only one key present
|
|
@@ -45,6 +45,9 @@ declare const DeleteConnectInstanceIntegrationCommand_base: {
|
|
|
45
45
|
* qConnect: { // QConnectIntegrationIdentifier
|
|
46
46
|
* knowledgeBaseArn: "STRING_VALUE", // required
|
|
47
47
|
* },
|
|
48
|
+
* lambda: { // LambdaIntegrationIdentifier
|
|
49
|
+
* functionArn: "STRING_VALUE", // required
|
|
50
|
+
* },
|
|
48
51
|
* },
|
|
49
52
|
* };
|
|
50
53
|
* const command = new DeleteConnectInstanceIntegrationCommand(input);
|
|
@@ -100,7 +100,18 @@ declare const DescribeCampaignCommand_base: {
|
|
|
100
100
|
* // wisdomTemplateArn: "STRING_VALUE", // required
|
|
101
101
|
* // },
|
|
102
102
|
* // },
|
|
103
|
+
* // whatsApp: { // WhatsAppChannelSubtypeConfig
|
|
104
|
+
* // capacity: Number("double"),
|
|
105
|
+
* // outboundMode: { // WhatsAppOutboundMode Union: only one key present
|
|
106
|
+
* // agentless: {},
|
|
107
|
+
* // },
|
|
108
|
+
* // defaultOutboundConfig: { // WhatsAppOutboundConfig
|
|
109
|
+
* // connectSourcePhoneNumberArn: "STRING_VALUE", // required
|
|
110
|
+
* // wisdomTemplateArn: "STRING_VALUE", // required
|
|
111
|
+
* // },
|
|
112
|
+
* // },
|
|
103
113
|
* // },
|
|
114
|
+
* // type: "STRING_VALUE",
|
|
104
115
|
* // source: { // Source Union: only one key present
|
|
105
116
|
* // customerProfilesSegmentArn: "STRING_VALUE",
|
|
106
117
|
* // eventTrigger: { // EventTrigger
|
|
@@ -183,6 +194,27 @@ declare const DescribeCampaignCommand_base: {
|
|
|
183
194
|
* // ],
|
|
184
195
|
* // },
|
|
185
196
|
* // },
|
|
197
|
+
* // whatsApp: {
|
|
198
|
+
* // openHours: {// Union: only one key present
|
|
199
|
+
* // dailyHours: {
|
|
200
|
+
* // "<keys>": [
|
|
201
|
+
* // {
|
|
202
|
+
* // startTime: "STRING_VALUE", // required
|
|
203
|
+
* // endTime: "STRING_VALUE", // required
|
|
204
|
+
* // },
|
|
205
|
+
* // ],
|
|
206
|
+
* // },
|
|
207
|
+
* // },
|
|
208
|
+
* // restrictedPeriods: {// Union: only one key present
|
|
209
|
+
* // restrictedPeriodList: [
|
|
210
|
+
* // {
|
|
211
|
+
* // name: "STRING_VALUE",
|
|
212
|
+
* // startDate: "STRING_VALUE", // required
|
|
213
|
+
* // endDate: "STRING_VALUE", // required
|
|
214
|
+
* // },
|
|
215
|
+
* // ],
|
|
216
|
+
* // },
|
|
217
|
+
* // },
|
|
186
218
|
* // },
|
|
187
219
|
* // communicationLimitsOverride: { // CommunicationLimitsConfig
|
|
188
220
|
* // allChannelSubtypes: { // CommunicationLimits Union: only one key present
|
|
@@ -59,6 +59,7 @@ declare const ListCampaignsCommand_base: {
|
|
|
59
59
|
* // channelSubtypes: [ // ChannelSubtypeList // required
|
|
60
60
|
* // "STRING_VALUE",
|
|
61
61
|
* // ],
|
|
62
|
+
* // type: "STRING_VALUE",
|
|
62
63
|
* // schedule: { // Schedule
|
|
63
64
|
* // startTime: new Date("TIMESTAMP"), // required
|
|
64
65
|
* // endTime: new Date("TIMESTAMP"), // required
|
|
@@ -56,6 +56,9 @@ declare const ListConnectInstanceIntegrationsCommand_base: {
|
|
|
56
56
|
* // qConnect: { // QConnectIntegrationSummary
|
|
57
57
|
* // knowledgeBaseArn: "STRING_VALUE", // required
|
|
58
58
|
* // },
|
|
59
|
+
* // lambda: { // LambdaIntegrationSummary
|
|
60
|
+
* // functionArn: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
59
62
|
* // },
|
|
60
63
|
* // ],
|
|
61
64
|
* // };
|
|
@@ -48,6 +48,9 @@ declare const PutConnectInstanceIntegrationCommand_base: {
|
|
|
48
48
|
* qConnect: { // QConnectIntegrationConfig
|
|
49
49
|
* knowledgeBaseArn: "STRING_VALUE", // required
|
|
50
50
|
* },
|
|
51
|
+
* lambda: { // LambdaIntegrationConfig
|
|
52
|
+
* functionArn: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
51
54
|
* },
|
|
52
55
|
* };
|
|
53
56
|
* const command = new PutConnectInstanceIntegrationCommand(input);
|
|
@@ -71,6 +71,14 @@ declare const PutOutboundRequestBatchCommand_base: {
|
|
|
71
71
|
* "<keys>": "STRING_VALUE",
|
|
72
72
|
* },
|
|
73
73
|
* },
|
|
74
|
+
* whatsApp: { // WhatsAppChannelSubtypeParameters
|
|
75
|
+
* destinationPhoneNumber: "STRING_VALUE", // required
|
|
76
|
+
* connectSourcePhoneNumberArn: "STRING_VALUE",
|
|
77
|
+
* templateArn: "STRING_VALUE",
|
|
78
|
+
* templateParameters: { // required
|
|
79
|
+
* "<keys>": "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
74
82
|
* },
|
|
75
83
|
* },
|
|
76
84
|
* ],
|
|
@@ -91,6 +91,16 @@ declare const UpdateCampaignChannelSubtypeConfigCommand_base: {
|
|
|
91
91
|
* wisdomTemplateArn: "STRING_VALUE", // required
|
|
92
92
|
* },
|
|
93
93
|
* },
|
|
94
|
+
* whatsApp: { // WhatsAppChannelSubtypeConfig
|
|
95
|
+
* capacity: Number("double"),
|
|
96
|
+
* outboundMode: { // WhatsAppOutboundMode Union: only one key present
|
|
97
|
+
* agentless: {},
|
|
98
|
+
* },
|
|
99
|
+
* defaultOutboundConfig: { // WhatsAppOutboundConfig
|
|
100
|
+
* connectSourcePhoneNumberArn: "STRING_VALUE", // required
|
|
101
|
+
* wisdomTemplateArn: "STRING_VALUE", // required
|
|
102
|
+
* },
|
|
103
|
+
* },
|
|
94
104
|
* },
|
|
95
105
|
* };
|
|
96
106
|
* const command = new UpdateCampaignChannelSubtypeConfigCommand(input);
|