@aws-sdk/client-connectcampaignsv2 3.940.0 → 3.942.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 +1 -1
|
@@ -108,6 +108,27 @@ declare const UpdateCampaignCommunicationTimeCommand_base: {
|
|
|
108
108
|
* ],
|
|
109
109
|
* },
|
|
110
110
|
* },
|
|
111
|
+
* whatsApp: {
|
|
112
|
+
* openHours: {// Union: only one key present
|
|
113
|
+
* dailyHours: {
|
|
114
|
+
* "<keys>": [
|
|
115
|
+
* {
|
|
116
|
+
* startTime: "STRING_VALUE", // required
|
|
117
|
+
* endTime: "STRING_VALUE", // required
|
|
118
|
+
* },
|
|
119
|
+
* ],
|
|
120
|
+
* },
|
|
121
|
+
* },
|
|
122
|
+
* restrictedPeriods: {// Union: only one key present
|
|
123
|
+
* restrictedPeriodList: [
|
|
124
|
+
* {
|
|
125
|
+
* name: "STRING_VALUE",
|
|
126
|
+
* startDate: "STRING_VALUE", // required
|
|
127
|
+
* endDate: "STRING_VALUE", // required
|
|
128
|
+
* },
|
|
129
|
+
* ],
|
|
130
|
+
* },
|
|
131
|
+
* },
|
|
111
132
|
* },
|
|
112
133
|
* };
|
|
113
134
|
* const command = new UpdateCampaignCommunicationTimeCommand(input);
|
|
@@ -61,6 +61,18 @@ export declare const LocalTimeZoneDetectionType: {
|
|
|
61
61
|
* @public
|
|
62
62
|
*/
|
|
63
63
|
export type LocalTimeZoneDetectionType = (typeof LocalTimeZoneDetectionType)[keyof typeof LocalTimeZoneDetectionType];
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* @enum
|
|
67
|
+
*/
|
|
68
|
+
export declare const ExternalCampaignType: {
|
|
69
|
+
readonly JOURNEY: "JOURNEY";
|
|
70
|
+
readonly MANAGED: "MANAGED";
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export type ExternalCampaignType = (typeof ExternalCampaignType)[keyof typeof ExternalCampaignType];
|
|
64
76
|
/**
|
|
65
77
|
* @public
|
|
66
78
|
* @enum
|
|
@@ -69,6 +81,7 @@ export declare const ChannelSubtype: {
|
|
|
69
81
|
readonly EMAIL: "EMAIL";
|
|
70
82
|
readonly SMS: "SMS";
|
|
71
83
|
readonly TELEPHONY: "TELEPHONY";
|
|
84
|
+
readonly WHATSAPP: "WHATSAPP";
|
|
72
85
|
};
|
|
73
86
|
/**
|
|
74
87
|
* @public
|
|
@@ -127,6 +140,7 @@ export declare const CommunicationTimeConfigType: {
|
|
|
127
140
|
readonly EMAIL: "EMAIL";
|
|
128
141
|
readonly SMS: "SMS";
|
|
129
142
|
readonly TELEPHONY: "TELEPHONY";
|
|
143
|
+
readonly WHATSAPP: "WHATSAPP";
|
|
130
144
|
};
|
|
131
145
|
/**
|
|
132
146
|
* @public
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgentAction, CampaignDeletionPolicy, CampaignState, ChannelSubtype, CommunicationLimitsConfigType, CommunicationLimitTimeUnit, CommunicationTimeConfigType, DayOfWeek, EncryptionType, EventType, FailureCode, GetCampaignStateBatchFailureCode, InstanceIdFilterOperator, InstanceLimitsHandling, InstanceOnboardingJobFailureCode, InstanceOnboardingJobStatusCode, LocalTimeZoneDetectionType, ProfileOutboundRequestFailureCode } from "./enums";
|
|
1
|
+
import { AgentAction, CampaignDeletionPolicy, CampaignState, ChannelSubtype, CommunicationLimitsConfigType, CommunicationLimitTimeUnit, CommunicationTimeConfigType, DayOfWeek, EncryptionType, EventType, ExternalCampaignType, FailureCode, GetCampaignStateBatchFailureCode, InstanceIdFilterOperator, InstanceLimitsHandling, InstanceOnboardingJobFailureCode, InstanceOnboardingJobStatusCode, LocalTimeZoneDetectionType, ProfileOutboundRequestFailureCode } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* Agentless config
|
|
4
4
|
* @public
|
|
@@ -347,6 +347,76 @@ export interface TelephonyChannelSubtypeConfig {
|
|
|
347
347
|
*/
|
|
348
348
|
defaultOutboundConfig: TelephonyOutboundConfig | undefined;
|
|
349
349
|
}
|
|
350
|
+
/**
|
|
351
|
+
* Default WhatsApp Outbound config
|
|
352
|
+
* @public
|
|
353
|
+
*/
|
|
354
|
+
export interface WhatsAppOutboundConfig {
|
|
355
|
+
/**
|
|
356
|
+
* Amazon Resource Names(ARN)
|
|
357
|
+
* @public
|
|
358
|
+
*/
|
|
359
|
+
connectSourcePhoneNumberArn: string | undefined;
|
|
360
|
+
/**
|
|
361
|
+
* Amazon Resource Names(ARN)
|
|
362
|
+
* @public
|
|
363
|
+
*/
|
|
364
|
+
wisdomTemplateArn: string | undefined;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* WhatsApp Outbound Mode
|
|
368
|
+
* @public
|
|
369
|
+
*/
|
|
370
|
+
export type WhatsAppOutboundMode = WhatsAppOutboundMode.AgentlessMember | WhatsAppOutboundMode.$UnknownMember;
|
|
371
|
+
/**
|
|
372
|
+
* @public
|
|
373
|
+
*/
|
|
374
|
+
export declare namespace WhatsAppOutboundMode {
|
|
375
|
+
/**
|
|
376
|
+
* Agentless config
|
|
377
|
+
* @public
|
|
378
|
+
*/
|
|
379
|
+
interface AgentlessMember {
|
|
380
|
+
agentless: AgentlessConfig;
|
|
381
|
+
$unknown?: never;
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
interface $UnknownMember {
|
|
387
|
+
agentless?: never;
|
|
388
|
+
$unknown: [string, any];
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* @deprecated unused in schema-serde mode.
|
|
392
|
+
*
|
|
393
|
+
*/
|
|
394
|
+
interface Visitor<T> {
|
|
395
|
+
agentless: (value: AgentlessConfig) => T;
|
|
396
|
+
_: (name: string, value: any) => T;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* WhatsApp Channel Subtype config
|
|
401
|
+
* @public
|
|
402
|
+
*/
|
|
403
|
+
export interface WhatsAppChannelSubtypeConfig {
|
|
404
|
+
/**
|
|
405
|
+
* Allocates outbound capacity for the specific channel subtype of this campaign between multiple active campaigns
|
|
406
|
+
* @public
|
|
407
|
+
*/
|
|
408
|
+
capacity?: number | undefined;
|
|
409
|
+
/**
|
|
410
|
+
* WhatsApp Outbound Mode
|
|
411
|
+
* @public
|
|
412
|
+
*/
|
|
413
|
+
outboundMode: WhatsAppOutboundMode | undefined;
|
|
414
|
+
/**
|
|
415
|
+
* Default WhatsApp Outbound config
|
|
416
|
+
* @public
|
|
417
|
+
*/
|
|
418
|
+
defaultOutboundConfig: WhatsAppOutboundConfig | undefined;
|
|
419
|
+
}
|
|
350
420
|
/**
|
|
351
421
|
* Campaign Channel Subtype config
|
|
352
422
|
* @public
|
|
@@ -367,6 +437,11 @@ export interface ChannelSubtypeConfig {
|
|
|
367
437
|
* @public
|
|
368
438
|
*/
|
|
369
439
|
email?: EmailChannelSubtypeConfig | undefined;
|
|
440
|
+
/**
|
|
441
|
+
* WhatsApp Channel Subtype config
|
|
442
|
+
* @public
|
|
443
|
+
*/
|
|
444
|
+
whatsApp?: WhatsAppChannelSubtypeConfig | undefined;
|
|
370
445
|
}
|
|
371
446
|
/**
|
|
372
447
|
* Communication Limit
|
|
@@ -598,6 +673,11 @@ export interface CommunicationTimeConfig {
|
|
|
598
673
|
* @public
|
|
599
674
|
*/
|
|
600
675
|
email?: TimeWindow | undefined;
|
|
676
|
+
/**
|
|
677
|
+
* Time window config
|
|
678
|
+
* @public
|
|
679
|
+
*/
|
|
680
|
+
whatsApp?: TimeWindow | undefined;
|
|
601
681
|
}
|
|
602
682
|
/**
|
|
603
683
|
* Campaign schedule
|
|
@@ -695,7 +775,12 @@ export interface CreateCampaignRequest {
|
|
|
695
775
|
* Campaign Channel Subtype config
|
|
696
776
|
* @public
|
|
697
777
|
*/
|
|
698
|
-
channelSubtypeConfig
|
|
778
|
+
channelSubtypeConfig?: ChannelSubtypeConfig | undefined;
|
|
779
|
+
/**
|
|
780
|
+
* The type of campaign externally exposed in APIs.
|
|
781
|
+
* @public
|
|
782
|
+
*/
|
|
783
|
+
type?: ExternalCampaignType | undefined;
|
|
699
784
|
/**
|
|
700
785
|
* Source of the campaign
|
|
701
786
|
* @public
|
|
@@ -834,6 +919,17 @@ export interface CustomerProfilesIntegrationIdentifier {
|
|
|
834
919
|
*/
|
|
835
920
|
domainArn: string | undefined;
|
|
836
921
|
}
|
|
922
|
+
/**
|
|
923
|
+
* Lambda integration identifier
|
|
924
|
+
* @public
|
|
925
|
+
*/
|
|
926
|
+
export interface LambdaIntegrationIdentifier {
|
|
927
|
+
/**
|
|
928
|
+
* Lambda ARN for integration with Connect instances
|
|
929
|
+
* @public
|
|
930
|
+
*/
|
|
931
|
+
functionArn: string | undefined;
|
|
932
|
+
}
|
|
837
933
|
/**
|
|
838
934
|
* Q Connect integration identifier
|
|
839
935
|
* @public
|
|
@@ -849,7 +945,7 @@ export interface QConnectIntegrationIdentifier {
|
|
|
849
945
|
* Integration identifier for Connect instance
|
|
850
946
|
* @public
|
|
851
947
|
*/
|
|
852
|
-
export type IntegrationIdentifier = IntegrationIdentifier.CustomerProfilesMember | IntegrationIdentifier.QConnectMember | IntegrationIdentifier.$UnknownMember;
|
|
948
|
+
export type IntegrationIdentifier = IntegrationIdentifier.CustomerProfilesMember | IntegrationIdentifier.LambdaMember | IntegrationIdentifier.QConnectMember | IntegrationIdentifier.$UnknownMember;
|
|
853
949
|
/**
|
|
854
950
|
* @public
|
|
855
951
|
*/
|
|
@@ -861,6 +957,7 @@ export declare namespace IntegrationIdentifier {
|
|
|
861
957
|
interface CustomerProfilesMember {
|
|
862
958
|
customerProfiles: CustomerProfilesIntegrationIdentifier;
|
|
863
959
|
qConnect?: never;
|
|
960
|
+
lambda?: never;
|
|
864
961
|
$unknown?: never;
|
|
865
962
|
}
|
|
866
963
|
/**
|
|
@@ -870,6 +967,17 @@ export declare namespace IntegrationIdentifier {
|
|
|
870
967
|
interface QConnectMember {
|
|
871
968
|
customerProfiles?: never;
|
|
872
969
|
qConnect: QConnectIntegrationIdentifier;
|
|
970
|
+
lambda?: never;
|
|
971
|
+
$unknown?: never;
|
|
972
|
+
}
|
|
973
|
+
/**
|
|
974
|
+
* Lambda integration identifier
|
|
975
|
+
* @public
|
|
976
|
+
*/
|
|
977
|
+
interface LambdaMember {
|
|
978
|
+
customerProfiles?: never;
|
|
979
|
+
qConnect?: never;
|
|
980
|
+
lambda: LambdaIntegrationIdentifier;
|
|
873
981
|
$unknown?: never;
|
|
874
982
|
}
|
|
875
983
|
/**
|
|
@@ -878,6 +986,7 @@ export declare namespace IntegrationIdentifier {
|
|
|
878
986
|
interface $UnknownMember {
|
|
879
987
|
customerProfiles?: never;
|
|
880
988
|
qConnect?: never;
|
|
989
|
+
lambda?: never;
|
|
881
990
|
$unknown: [string, any];
|
|
882
991
|
}
|
|
883
992
|
/**
|
|
@@ -887,6 +996,7 @@ export declare namespace IntegrationIdentifier {
|
|
|
887
996
|
interface Visitor<T> {
|
|
888
997
|
customerProfiles: (value: CustomerProfilesIntegrationIdentifier) => T;
|
|
889
998
|
qConnect: (value: QConnectIntegrationIdentifier) => T;
|
|
999
|
+
lambda: (value: LambdaIntegrationIdentifier) => T;
|
|
890
1000
|
_: (name: string, value: any) => T;
|
|
891
1001
|
}
|
|
892
1002
|
}
|
|
@@ -957,7 +1067,12 @@ export interface Campaign {
|
|
|
957
1067
|
* Campaign Channel Subtype config
|
|
958
1068
|
* @public
|
|
959
1069
|
*/
|
|
960
|
-
channelSubtypeConfig
|
|
1070
|
+
channelSubtypeConfig?: ChannelSubtypeConfig | undefined;
|
|
1071
|
+
/**
|
|
1072
|
+
* The type of campaign externally exposed in APIs.
|
|
1073
|
+
* @public
|
|
1074
|
+
*/
|
|
1075
|
+
type?: ExternalCampaignType | undefined;
|
|
961
1076
|
/**
|
|
962
1077
|
* Source of the campaign
|
|
963
1078
|
* @public
|
|
@@ -1305,6 +1420,11 @@ export interface CampaignSummary {
|
|
|
1305
1420
|
* @public
|
|
1306
1421
|
*/
|
|
1307
1422
|
channelSubtypes: ChannelSubtype[] | undefined;
|
|
1423
|
+
/**
|
|
1424
|
+
* The type of campaign externally exposed in APIs.
|
|
1425
|
+
* @public
|
|
1426
|
+
*/
|
|
1427
|
+
type?: ExternalCampaignType | undefined;
|
|
1308
1428
|
/**
|
|
1309
1429
|
* Campaign schedule
|
|
1310
1430
|
* @public
|
|
@@ -1369,6 +1489,17 @@ export interface CustomerProfilesIntegrationSummary {
|
|
|
1369
1489
|
*/
|
|
1370
1490
|
objectTypeNames: Partial<Record<EventType, string>> | undefined;
|
|
1371
1491
|
}
|
|
1492
|
+
/**
|
|
1493
|
+
* Lambda integration summary
|
|
1494
|
+
* @public
|
|
1495
|
+
*/
|
|
1496
|
+
export interface LambdaIntegrationSummary {
|
|
1497
|
+
/**
|
|
1498
|
+
* Lambda ARN for integration with Connect instances
|
|
1499
|
+
* @public
|
|
1500
|
+
*/
|
|
1501
|
+
functionArn: string | undefined;
|
|
1502
|
+
}
|
|
1372
1503
|
/**
|
|
1373
1504
|
* Q Connect integration summary
|
|
1374
1505
|
* @public
|
|
@@ -1384,7 +1515,7 @@ export interface QConnectIntegrationSummary {
|
|
|
1384
1515
|
* Integration summary for Connect instance.
|
|
1385
1516
|
* @public
|
|
1386
1517
|
*/
|
|
1387
|
-
export type IntegrationSummary = IntegrationSummary.CustomerProfilesMember | IntegrationSummary.QConnectMember | IntegrationSummary.$UnknownMember;
|
|
1518
|
+
export type IntegrationSummary = IntegrationSummary.CustomerProfilesMember | IntegrationSummary.LambdaMember | IntegrationSummary.QConnectMember | IntegrationSummary.$UnknownMember;
|
|
1388
1519
|
/**
|
|
1389
1520
|
* @public
|
|
1390
1521
|
*/
|
|
@@ -1396,6 +1527,7 @@ export declare namespace IntegrationSummary {
|
|
|
1396
1527
|
interface CustomerProfilesMember {
|
|
1397
1528
|
customerProfiles: CustomerProfilesIntegrationSummary;
|
|
1398
1529
|
qConnect?: never;
|
|
1530
|
+
lambda?: never;
|
|
1399
1531
|
$unknown?: never;
|
|
1400
1532
|
}
|
|
1401
1533
|
/**
|
|
@@ -1405,6 +1537,17 @@ export declare namespace IntegrationSummary {
|
|
|
1405
1537
|
interface QConnectMember {
|
|
1406
1538
|
customerProfiles?: never;
|
|
1407
1539
|
qConnect: QConnectIntegrationSummary;
|
|
1540
|
+
lambda?: never;
|
|
1541
|
+
$unknown?: never;
|
|
1542
|
+
}
|
|
1543
|
+
/**
|
|
1544
|
+
* Lambda integration summary
|
|
1545
|
+
* @public
|
|
1546
|
+
*/
|
|
1547
|
+
interface LambdaMember {
|
|
1548
|
+
customerProfiles?: never;
|
|
1549
|
+
qConnect?: never;
|
|
1550
|
+
lambda: LambdaIntegrationSummary;
|
|
1408
1551
|
$unknown?: never;
|
|
1409
1552
|
}
|
|
1410
1553
|
/**
|
|
@@ -1413,6 +1556,7 @@ export declare namespace IntegrationSummary {
|
|
|
1413
1556
|
interface $UnknownMember {
|
|
1414
1557
|
customerProfiles?: never;
|
|
1415
1558
|
qConnect?: never;
|
|
1559
|
+
lambda?: never;
|
|
1416
1560
|
$unknown: [string, any];
|
|
1417
1561
|
}
|
|
1418
1562
|
/**
|
|
@@ -1422,6 +1566,7 @@ export declare namespace IntegrationSummary {
|
|
|
1422
1566
|
interface Visitor<T> {
|
|
1423
1567
|
customerProfiles: (value: CustomerProfilesIntegrationSummary) => T;
|
|
1424
1568
|
qConnect: (value: QConnectIntegrationSummary) => T;
|
|
1569
|
+
lambda: (value: LambdaIntegrationSummary) => T;
|
|
1425
1570
|
_: (name: string, value: any) => T;
|
|
1426
1571
|
}
|
|
1427
1572
|
}
|
|
@@ -1490,6 +1635,17 @@ export interface CustomerProfilesIntegrationConfig {
|
|
|
1490
1635
|
*/
|
|
1491
1636
|
objectTypeNames: Partial<Record<EventType, string>> | undefined;
|
|
1492
1637
|
}
|
|
1638
|
+
/**
|
|
1639
|
+
* Lambda integration config
|
|
1640
|
+
* @public
|
|
1641
|
+
*/
|
|
1642
|
+
export interface LambdaIntegrationConfig {
|
|
1643
|
+
/**
|
|
1644
|
+
* Lambda ARN for integration with Connect instances
|
|
1645
|
+
* @public
|
|
1646
|
+
*/
|
|
1647
|
+
functionArn: string | undefined;
|
|
1648
|
+
}
|
|
1493
1649
|
/**
|
|
1494
1650
|
* Q Connect integration config
|
|
1495
1651
|
* @public
|
|
@@ -1505,7 +1661,7 @@ export interface QConnectIntegrationConfig {
|
|
|
1505
1661
|
* Integration config for Connect Instance
|
|
1506
1662
|
* @public
|
|
1507
1663
|
*/
|
|
1508
|
-
export type IntegrationConfig = IntegrationConfig.CustomerProfilesMember | IntegrationConfig.QConnectMember | IntegrationConfig.$UnknownMember;
|
|
1664
|
+
export type IntegrationConfig = IntegrationConfig.CustomerProfilesMember | IntegrationConfig.LambdaMember | IntegrationConfig.QConnectMember | IntegrationConfig.$UnknownMember;
|
|
1509
1665
|
/**
|
|
1510
1666
|
* @public
|
|
1511
1667
|
*/
|
|
@@ -1517,6 +1673,7 @@ export declare namespace IntegrationConfig {
|
|
|
1517
1673
|
interface CustomerProfilesMember {
|
|
1518
1674
|
customerProfiles: CustomerProfilesIntegrationConfig;
|
|
1519
1675
|
qConnect?: never;
|
|
1676
|
+
lambda?: never;
|
|
1520
1677
|
$unknown?: never;
|
|
1521
1678
|
}
|
|
1522
1679
|
/**
|
|
@@ -1526,6 +1683,17 @@ export declare namespace IntegrationConfig {
|
|
|
1526
1683
|
interface QConnectMember {
|
|
1527
1684
|
customerProfiles?: never;
|
|
1528
1685
|
qConnect: QConnectIntegrationConfig;
|
|
1686
|
+
lambda?: never;
|
|
1687
|
+
$unknown?: never;
|
|
1688
|
+
}
|
|
1689
|
+
/**
|
|
1690
|
+
* Lambda integration config
|
|
1691
|
+
* @public
|
|
1692
|
+
*/
|
|
1693
|
+
interface LambdaMember {
|
|
1694
|
+
customerProfiles?: never;
|
|
1695
|
+
qConnect?: never;
|
|
1696
|
+
lambda: LambdaIntegrationConfig;
|
|
1529
1697
|
$unknown?: never;
|
|
1530
1698
|
}
|
|
1531
1699
|
/**
|
|
@@ -1534,6 +1702,7 @@ export declare namespace IntegrationConfig {
|
|
|
1534
1702
|
interface $UnknownMember {
|
|
1535
1703
|
customerProfiles?: never;
|
|
1536
1704
|
qConnect?: never;
|
|
1705
|
+
lambda?: never;
|
|
1537
1706
|
$unknown: [string, any];
|
|
1538
1707
|
}
|
|
1539
1708
|
/**
|
|
@@ -1543,6 +1712,7 @@ export declare namespace IntegrationConfig {
|
|
|
1543
1712
|
interface Visitor<T> {
|
|
1544
1713
|
customerProfiles: (value: CustomerProfilesIntegrationConfig) => T;
|
|
1545
1714
|
qConnect: (value: QConnectIntegrationConfig) => T;
|
|
1715
|
+
lambda: (value: LambdaIntegrationConfig) => T;
|
|
1546
1716
|
_: (name: string, value: any) => T;
|
|
1547
1717
|
}
|
|
1548
1718
|
}
|
|
@@ -1661,11 +1831,37 @@ export interface TelephonyChannelSubtypeParameters {
|
|
|
1661
1831
|
*/
|
|
1662
1832
|
ringTimeout?: number | undefined;
|
|
1663
1833
|
}
|
|
1834
|
+
/**
|
|
1835
|
+
* Parameters for the WhatsApp Channel Subtype
|
|
1836
|
+
* @public
|
|
1837
|
+
*/
|
|
1838
|
+
export interface WhatsAppChannelSubtypeParameters {
|
|
1839
|
+
/**
|
|
1840
|
+
* The phone number of the customer, in E.164 format.
|
|
1841
|
+
* @public
|
|
1842
|
+
*/
|
|
1843
|
+
destinationPhoneNumber: string | undefined;
|
|
1844
|
+
/**
|
|
1845
|
+
* Amazon Resource Names(ARN)
|
|
1846
|
+
* @public
|
|
1847
|
+
*/
|
|
1848
|
+
connectSourcePhoneNumberArn?: string | undefined;
|
|
1849
|
+
/**
|
|
1850
|
+
* Amazon Resource Names(ARN)
|
|
1851
|
+
* @public
|
|
1852
|
+
*/
|
|
1853
|
+
templateArn?: string | undefined;
|
|
1854
|
+
/**
|
|
1855
|
+
* A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.
|
|
1856
|
+
* @public
|
|
1857
|
+
*/
|
|
1858
|
+
templateParameters: Record<string, string> | undefined;
|
|
1859
|
+
}
|
|
1664
1860
|
/**
|
|
1665
1861
|
* ChannelSubtypeParameters for an outbound request
|
|
1666
1862
|
* @public
|
|
1667
1863
|
*/
|
|
1668
|
-
export type ChannelSubtypeParameters = ChannelSubtypeParameters.EmailMember | ChannelSubtypeParameters.SmsMember | ChannelSubtypeParameters.TelephonyMember | ChannelSubtypeParameters.$UnknownMember;
|
|
1864
|
+
export type ChannelSubtypeParameters = ChannelSubtypeParameters.EmailMember | ChannelSubtypeParameters.SmsMember | ChannelSubtypeParameters.TelephonyMember | ChannelSubtypeParameters.WhatsAppMember | ChannelSubtypeParameters.$UnknownMember;
|
|
1669
1865
|
/**
|
|
1670
1866
|
* @public
|
|
1671
1867
|
*/
|
|
@@ -1678,6 +1874,7 @@ export declare namespace ChannelSubtypeParameters {
|
|
|
1678
1874
|
telephony: TelephonyChannelSubtypeParameters;
|
|
1679
1875
|
sms?: never;
|
|
1680
1876
|
email?: never;
|
|
1877
|
+
whatsApp?: never;
|
|
1681
1878
|
$unknown?: never;
|
|
1682
1879
|
}
|
|
1683
1880
|
/**
|
|
@@ -1688,6 +1885,7 @@ export declare namespace ChannelSubtypeParameters {
|
|
|
1688
1885
|
telephony?: never;
|
|
1689
1886
|
sms: SmsChannelSubtypeParameters;
|
|
1690
1887
|
email?: never;
|
|
1888
|
+
whatsApp?: never;
|
|
1691
1889
|
$unknown?: never;
|
|
1692
1890
|
}
|
|
1693
1891
|
/**
|
|
@@ -1698,6 +1896,18 @@ export declare namespace ChannelSubtypeParameters {
|
|
|
1698
1896
|
telephony?: never;
|
|
1699
1897
|
sms?: never;
|
|
1700
1898
|
email: EmailChannelSubtypeParameters;
|
|
1899
|
+
whatsApp?: never;
|
|
1900
|
+
$unknown?: never;
|
|
1901
|
+
}
|
|
1902
|
+
/**
|
|
1903
|
+
* Parameters for the WhatsApp Channel Subtype
|
|
1904
|
+
* @public
|
|
1905
|
+
*/
|
|
1906
|
+
interface WhatsAppMember {
|
|
1907
|
+
telephony?: never;
|
|
1908
|
+
sms?: never;
|
|
1909
|
+
email?: never;
|
|
1910
|
+
whatsApp: WhatsAppChannelSubtypeParameters;
|
|
1701
1911
|
$unknown?: never;
|
|
1702
1912
|
}
|
|
1703
1913
|
/**
|
|
@@ -1707,6 +1917,7 @@ export declare namespace ChannelSubtypeParameters {
|
|
|
1707
1917
|
telephony?: never;
|
|
1708
1918
|
sms?: never;
|
|
1709
1919
|
email?: never;
|
|
1920
|
+
whatsApp?: never;
|
|
1710
1921
|
$unknown: [string, any];
|
|
1711
1922
|
}
|
|
1712
1923
|
/**
|
|
@@ -1717,6 +1928,7 @@ export declare namespace ChannelSubtypeParameters {
|
|
|
1717
1928
|
telephony: (value: TelephonyChannelSubtypeParameters) => T;
|
|
1718
1929
|
sms: (value: SmsChannelSubtypeParameters) => T;
|
|
1719
1930
|
email: (value: EmailChannelSubtypeParameters) => T;
|
|
1931
|
+
whatsApp: (value: WhatsAppChannelSubtypeParameters) => T;
|
|
1720
1932
|
_: (name: string, value: any) => T;
|
|
1721
1933
|
}
|
|
1722
1934
|
}
|
|
@@ -52,6 +52,9 @@ export declare var InstanceOnboardingJobStatus: StaticStructureSchema;
|
|
|
52
52
|
export declare var InternalServerException: StaticErrorSchema;
|
|
53
53
|
export declare var InvalidCampaignStateException: StaticErrorSchema;
|
|
54
54
|
export declare var InvalidStateException: StaticErrorSchema;
|
|
55
|
+
export declare var LambdaIntegrationConfig: StaticStructureSchema;
|
|
56
|
+
export declare var LambdaIntegrationIdentifier: StaticStructureSchema;
|
|
57
|
+
export declare var LambdaIntegrationSummary: StaticStructureSchema;
|
|
55
58
|
export declare var ListCampaignsRequest: StaticStructureSchema;
|
|
56
59
|
export declare var ListCampaignsResponse: StaticStructureSchema;
|
|
57
60
|
export declare var ListConnectInstanceIntegrationsRequest: StaticStructureSchema;
|
|
@@ -106,6 +109,9 @@ export declare var UpdateCampaignNameRequest: StaticStructureSchema;
|
|
|
106
109
|
export declare var UpdateCampaignScheduleRequest: StaticStructureSchema;
|
|
107
110
|
export declare var UpdateCampaignSourceRequest: StaticStructureSchema;
|
|
108
111
|
export declare var ValidationException: StaticErrorSchema;
|
|
112
|
+
export declare var WhatsAppChannelSubtypeConfig: StaticStructureSchema;
|
|
113
|
+
export declare var WhatsAppChannelSubtypeParameters: StaticStructureSchema;
|
|
114
|
+
export declare var WhatsAppOutboundConfig: StaticStructureSchema;
|
|
109
115
|
export declare var __Unit: "unit";
|
|
110
116
|
export declare var ConnectCampaignsV2ServiceException: StaticErrorSchema;
|
|
111
117
|
export declare var AgentActions: number;
|
|
@@ -141,6 +147,7 @@ export declare var RestrictedPeriods: StaticStructureSchema;
|
|
|
141
147
|
export declare var SmsOutboundMode: StaticStructureSchema;
|
|
142
148
|
export declare var Source: StaticStructureSchema;
|
|
143
149
|
export declare var TelephonyOutboundMode: StaticStructureSchema;
|
|
150
|
+
export declare var WhatsAppOutboundMode: StaticStructureSchema;
|
|
144
151
|
export declare var CreateCampaign: StaticOperationSchema;
|
|
145
152
|
export declare var DeleteCampaign: StaticOperationSchema;
|
|
146
153
|
export declare var DeleteCampaignChannelSubtypeConfig: StaticOperationSchema;
|
|
@@ -29,10 +29,17 @@ export declare const LocalTimeZoneDetectionType: {
|
|
|
29
29
|
};
|
|
30
30
|
export type LocalTimeZoneDetectionType =
|
|
31
31
|
(typeof LocalTimeZoneDetectionType)[keyof typeof LocalTimeZoneDetectionType];
|
|
32
|
+
export declare const ExternalCampaignType: {
|
|
33
|
+
readonly JOURNEY: "JOURNEY";
|
|
34
|
+
readonly MANAGED: "MANAGED";
|
|
35
|
+
};
|
|
36
|
+
export type ExternalCampaignType =
|
|
37
|
+
(typeof ExternalCampaignType)[keyof typeof ExternalCampaignType];
|
|
32
38
|
export declare const ChannelSubtype: {
|
|
33
39
|
readonly EMAIL: "EMAIL";
|
|
34
40
|
readonly SMS: "SMS";
|
|
35
41
|
readonly TELEPHONY: "TELEPHONY";
|
|
42
|
+
readonly WHATSAPP: "WHATSAPP";
|
|
36
43
|
};
|
|
37
44
|
export type ChannelSubtype =
|
|
38
45
|
(typeof ChannelSubtype)[keyof typeof ChannelSubtype];
|
|
@@ -54,6 +61,7 @@ export declare const CommunicationTimeConfigType: {
|
|
|
54
61
|
readonly EMAIL: "EMAIL";
|
|
55
62
|
readonly SMS: "SMS";
|
|
56
63
|
readonly TELEPHONY: "TELEPHONY";
|
|
64
|
+
readonly WHATSAPP: "WHATSAPP";
|
|
57
65
|
};
|
|
58
66
|
export type CommunicationTimeConfigType =
|
|
59
67
|
(typeof CommunicationTimeConfigType)[keyof typeof CommunicationTimeConfigType];
|