@aws-sdk/client-connectcampaigns 3.686.0 → 3.691.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.
|
@@ -11,7 +11,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
11
11
|
* A header that defines the error encountered while processing the request.
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
|
-
xAmzErrorType?: string;
|
|
14
|
+
xAmzErrorType?: string | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* @internal
|
|
17
17
|
*/
|
|
@@ -26,7 +26,7 @@ export interface AgentlessDialerConfig {
|
|
|
26
26
|
* Allocates dialing capacity for this campaign between multiple active campaigns
|
|
27
27
|
* @public
|
|
28
28
|
*/
|
|
29
|
-
dialingCapacity?: number;
|
|
29
|
+
dialingCapacity?: number | undefined;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* The request could not be processed because of conflict in the current state of the resource.
|
|
@@ -39,7 +39,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
39
39
|
* A header that defines the error encountered while processing the request.
|
|
40
40
|
* @public
|
|
41
41
|
*/
|
|
42
|
-
xAmzErrorType?: string;
|
|
42
|
+
xAmzErrorType?: string | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* @internal
|
|
45
45
|
*/
|
|
@@ -59,7 +59,7 @@ export interface PredictiveDialerConfig {
|
|
|
59
59
|
* Allocates dialing capacity for this campaign between multiple active campaigns
|
|
60
60
|
* @public
|
|
61
61
|
*/
|
|
62
|
-
dialingCapacity?: number;
|
|
62
|
+
dialingCapacity?: number | undefined;
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
* Progressive Dialer config
|
|
@@ -75,7 +75,7 @@ export interface ProgressiveDialerConfig {
|
|
|
75
75
|
* Allocates dialing capacity for this campaign between multiple active campaigns
|
|
76
76
|
* @public
|
|
77
77
|
*/
|
|
78
|
-
dialingCapacity?: number;
|
|
78
|
+
dialingCapacity?: number | undefined;
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
81
|
* The possible types of dialer config parameters
|
|
@@ -147,7 +147,7 @@ export interface AnswerMachineDetectionConfig {
|
|
|
147
147
|
* Enable or disable await answer machine prompt
|
|
148
148
|
* @public
|
|
149
149
|
*/
|
|
150
|
-
awaitAnswerMachinePrompt?: boolean;
|
|
150
|
+
awaitAnswerMachinePrompt?: boolean | undefined;
|
|
151
151
|
}
|
|
152
152
|
/**
|
|
153
153
|
* The configuration used for outbound calls.
|
|
@@ -163,17 +163,17 @@ export interface OutboundCallConfig {
|
|
|
163
163
|
* The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue.
|
|
164
164
|
* @public
|
|
165
165
|
*/
|
|
166
|
-
connectSourcePhoneNumber?: string;
|
|
166
|
+
connectSourcePhoneNumber?: string | undefined;
|
|
167
167
|
/**
|
|
168
168
|
* The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the contact flow is used. If you do not specify a queue, you must specify a source phone number.
|
|
169
169
|
* @public
|
|
170
170
|
*/
|
|
171
|
-
connectQueueId?: string;
|
|
171
|
+
connectQueueId?: string | undefined;
|
|
172
172
|
/**
|
|
173
173
|
* Answering Machine Detection config
|
|
174
174
|
* @public
|
|
175
175
|
*/
|
|
176
|
-
answerMachineDetectionConfig?: AnswerMachineDetectionConfig;
|
|
176
|
+
answerMachineDetectionConfig?: AnswerMachineDetectionConfig | undefined;
|
|
177
177
|
}
|
|
178
178
|
/**
|
|
179
179
|
* The request for Create Campaign API.
|
|
@@ -204,7 +204,7 @@ export interface CreateCampaignRequest {
|
|
|
204
204
|
* Tag map with key and value.
|
|
205
205
|
* @public
|
|
206
206
|
*/
|
|
207
|
-
tags?: Record<string, string
|
|
207
|
+
tags?: Record<string, string> | undefined;
|
|
208
208
|
}
|
|
209
209
|
/**
|
|
210
210
|
* The response for Create Campaign API
|
|
@@ -215,17 +215,17 @@ export interface CreateCampaignResponse {
|
|
|
215
215
|
* Identifier representing a Campaign
|
|
216
216
|
* @public
|
|
217
217
|
*/
|
|
218
|
-
id?: string;
|
|
218
|
+
id?: string | undefined;
|
|
219
219
|
/**
|
|
220
220
|
* The resource name of an Amazon Connect campaign.
|
|
221
221
|
* @public
|
|
222
222
|
*/
|
|
223
|
-
arn?: string;
|
|
223
|
+
arn?: string | undefined;
|
|
224
224
|
/**
|
|
225
225
|
* Tag map with key and value.
|
|
226
226
|
* @public
|
|
227
227
|
*/
|
|
228
|
-
tags?: Record<string, string
|
|
228
|
+
tags?: Record<string, string> | undefined;
|
|
229
229
|
}
|
|
230
230
|
/**
|
|
231
231
|
* Request processing failed because of an error or failure with the service.
|
|
@@ -239,7 +239,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
239
239
|
* A header that defines the error encountered while processing the request.
|
|
240
240
|
* @public
|
|
241
241
|
*/
|
|
242
|
-
xAmzErrorType?: string;
|
|
242
|
+
xAmzErrorType?: string | undefined;
|
|
243
243
|
/**
|
|
244
244
|
* @internal
|
|
245
245
|
*/
|
|
@@ -256,7 +256,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
256
256
|
* A header that defines the error encountered while processing the request.
|
|
257
257
|
* @public
|
|
258
258
|
*/
|
|
259
|
-
xAmzErrorType?: string;
|
|
259
|
+
xAmzErrorType?: string | undefined;
|
|
260
260
|
/**
|
|
261
261
|
* @internal
|
|
262
262
|
*/
|
|
@@ -273,7 +273,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
273
273
|
* A header that defines the error encountered while processing the request.
|
|
274
274
|
* @public
|
|
275
275
|
*/
|
|
276
|
-
xAmzErrorType?: string;
|
|
276
|
+
xAmzErrorType?: string | undefined;
|
|
277
277
|
/**
|
|
278
278
|
* @internal
|
|
279
279
|
*/
|
|
@@ -291,7 +291,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
291
291
|
* A header that defines the error encountered while processing the request.
|
|
292
292
|
* @public
|
|
293
293
|
*/
|
|
294
|
-
xAmzErrorType?: string;
|
|
294
|
+
xAmzErrorType?: string | undefined;
|
|
295
295
|
/**
|
|
296
296
|
* @internal
|
|
297
297
|
*/
|
|
@@ -308,7 +308,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
308
308
|
* A header that defines the error encountered while processing the request.
|
|
309
309
|
* @public
|
|
310
310
|
*/
|
|
311
|
-
xAmzErrorType?: string;
|
|
311
|
+
xAmzErrorType?: string | undefined;
|
|
312
312
|
/**
|
|
313
313
|
* @internal
|
|
314
314
|
*/
|
|
@@ -347,7 +347,7 @@ export declare class InvalidStateException extends __BaseException {
|
|
|
347
347
|
* A header that defines the error encountered while processing the request.
|
|
348
348
|
* @public
|
|
349
349
|
*/
|
|
350
|
-
xAmzErrorType?: string;
|
|
350
|
+
xAmzErrorType?: string | undefined;
|
|
351
351
|
/**
|
|
352
352
|
* @internal
|
|
353
353
|
*/
|
|
@@ -414,7 +414,7 @@ export interface Campaign {
|
|
|
414
414
|
* Tag map with key and value.
|
|
415
415
|
* @public
|
|
416
416
|
*/
|
|
417
|
-
tags?: Record<string, string
|
|
417
|
+
tags?: Record<string, string> | undefined;
|
|
418
418
|
}
|
|
419
419
|
/**
|
|
420
420
|
* DescribeCampaignResponse
|
|
@@ -425,7 +425,7 @@ export interface DescribeCampaignResponse {
|
|
|
425
425
|
* An Amazon Connect campaign.
|
|
426
426
|
* @public
|
|
427
427
|
*/
|
|
428
|
-
campaign?: Campaign;
|
|
428
|
+
campaign?: Campaign | undefined;
|
|
429
429
|
}
|
|
430
430
|
/**
|
|
431
431
|
* GetCampaignStateRequest
|
|
@@ -477,7 +477,7 @@ export interface GetCampaignStateResponse {
|
|
|
477
477
|
* State of a campaign
|
|
478
478
|
* @public
|
|
479
479
|
*/
|
|
480
|
-
state?: CampaignState;
|
|
480
|
+
state?: CampaignState | undefined;
|
|
481
481
|
}
|
|
482
482
|
/**
|
|
483
483
|
* GetCampaignStateBatchRequest
|
|
@@ -517,12 +517,12 @@ export interface FailedCampaignStateResponse {
|
|
|
517
517
|
* Identifier representing a Campaign
|
|
518
518
|
* @public
|
|
519
519
|
*/
|
|
520
|
-
campaignId?: string;
|
|
520
|
+
campaignId?: string | undefined;
|
|
521
521
|
/**
|
|
522
522
|
* A predefined code indicating the error that caused the failure in getting state of campaigns
|
|
523
523
|
* @public
|
|
524
524
|
*/
|
|
525
|
-
failureCode?: GetCampaignStateBatchFailureCode;
|
|
525
|
+
failureCode?: GetCampaignStateBatchFailureCode | undefined;
|
|
526
526
|
}
|
|
527
527
|
/**
|
|
528
528
|
* Successful response of campaign state
|
|
@@ -533,12 +533,12 @@ export interface SuccessfulCampaignStateResponse {
|
|
|
533
533
|
* Identifier representing a Campaign
|
|
534
534
|
* @public
|
|
535
535
|
*/
|
|
536
|
-
campaignId?: string;
|
|
536
|
+
campaignId?: string | undefined;
|
|
537
537
|
/**
|
|
538
538
|
* State of a campaign
|
|
539
539
|
* @public
|
|
540
540
|
*/
|
|
541
|
-
state?: CampaignState;
|
|
541
|
+
state?: CampaignState | undefined;
|
|
542
542
|
}
|
|
543
543
|
/**
|
|
544
544
|
* GetCampaignStateBatchResponse
|
|
@@ -549,12 +549,12 @@ export interface GetCampaignStateBatchResponse {
|
|
|
549
549
|
* List of successful response of campaign state
|
|
550
550
|
* @public
|
|
551
551
|
*/
|
|
552
|
-
successfulRequests?: SuccessfulCampaignStateResponse[];
|
|
552
|
+
successfulRequests?: SuccessfulCampaignStateResponse[] | undefined;
|
|
553
553
|
/**
|
|
554
554
|
* List of failed requests of campaign state
|
|
555
555
|
* @public
|
|
556
556
|
*/
|
|
557
|
-
failedRequests?: FailedCampaignStateResponse[];
|
|
557
|
+
failedRequests?: FailedCampaignStateResponse[] | undefined;
|
|
558
558
|
}
|
|
559
559
|
/**
|
|
560
560
|
* GetConnectInstanceConfigRequest
|
|
@@ -595,12 +595,12 @@ export interface EncryptionConfig {
|
|
|
595
595
|
* Server-side encryption type.
|
|
596
596
|
* @public
|
|
597
597
|
*/
|
|
598
|
-
encryptionType?: EncryptionType;
|
|
598
|
+
encryptionType?: EncryptionType | undefined;
|
|
599
599
|
/**
|
|
600
600
|
* KMS key id/arn for encryption config.
|
|
601
601
|
* @public
|
|
602
602
|
*/
|
|
603
|
-
keyArn?: string;
|
|
603
|
+
keyArn?: string | undefined;
|
|
604
604
|
}
|
|
605
605
|
/**
|
|
606
606
|
* Instance config object
|
|
@@ -635,7 +635,7 @@ export interface GetConnectInstanceConfigResponse {
|
|
|
635
635
|
* Instance config object
|
|
636
636
|
* @public
|
|
637
637
|
*/
|
|
638
|
-
connectInstanceConfig?: InstanceConfig;
|
|
638
|
+
connectInstanceConfig?: InstanceConfig | undefined;
|
|
639
639
|
}
|
|
640
640
|
/**
|
|
641
641
|
* GetInstanceOnboardingJobStatusRequest
|
|
@@ -696,7 +696,7 @@ export interface InstanceOnboardingJobStatus {
|
|
|
696
696
|
* Enumeration of the possible failure codes for instance onboarding job
|
|
697
697
|
* @public
|
|
698
698
|
*/
|
|
699
|
-
failureCode?: InstanceOnboardingJobFailureCode;
|
|
699
|
+
failureCode?: InstanceOnboardingJobFailureCode | undefined;
|
|
700
700
|
}
|
|
701
701
|
/**
|
|
702
702
|
* GetInstanceOnboardingJobStatusResponse
|
|
@@ -707,7 +707,7 @@ export interface GetInstanceOnboardingJobStatusResponse {
|
|
|
707
707
|
* Instance onboarding job status object
|
|
708
708
|
* @public
|
|
709
709
|
*/
|
|
710
|
-
connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus;
|
|
710
|
+
connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus | undefined;
|
|
711
711
|
}
|
|
712
712
|
/**
|
|
713
713
|
* @public
|
|
@@ -748,7 +748,7 @@ export interface CampaignFilters {
|
|
|
748
748
|
* Connect instance identifier filter
|
|
749
749
|
* @public
|
|
750
750
|
*/
|
|
751
|
-
instanceIdFilter?: InstanceIdFilter;
|
|
751
|
+
instanceIdFilter?: InstanceIdFilter | undefined;
|
|
752
752
|
}
|
|
753
753
|
/**
|
|
754
754
|
* ListCampaignsRequest
|
|
@@ -759,17 +759,17 @@ export interface ListCampaignsRequest {
|
|
|
759
759
|
* The maximum number of results to return per page.
|
|
760
760
|
* @public
|
|
761
761
|
*/
|
|
762
|
-
maxResults?: number;
|
|
762
|
+
maxResults?: number | undefined;
|
|
763
763
|
/**
|
|
764
764
|
* The token for the next set of results.
|
|
765
765
|
* @public
|
|
766
766
|
*/
|
|
767
|
-
nextToken?: string;
|
|
767
|
+
nextToken?: string | undefined;
|
|
768
768
|
/**
|
|
769
769
|
* Filter model by type
|
|
770
770
|
* @public
|
|
771
771
|
*/
|
|
772
|
-
filters?: CampaignFilters;
|
|
772
|
+
filters?: CampaignFilters | undefined;
|
|
773
773
|
}
|
|
774
774
|
/**
|
|
775
775
|
* An Amazon Connect campaign summary.
|
|
@@ -806,12 +806,12 @@ export interface ListCampaignsResponse {
|
|
|
806
806
|
* The token for the next set of results.
|
|
807
807
|
* @public
|
|
808
808
|
*/
|
|
809
|
-
nextToken?: string;
|
|
809
|
+
nextToken?: string | undefined;
|
|
810
810
|
/**
|
|
811
811
|
* A list of Amazon Connect campaigns.
|
|
812
812
|
* @public
|
|
813
813
|
*/
|
|
814
|
-
campaignSummaryList?: CampaignSummary[];
|
|
814
|
+
campaignSummaryList?: CampaignSummary[] | undefined;
|
|
815
815
|
}
|
|
816
816
|
/**
|
|
817
817
|
* ListTagsForResource
|
|
@@ -833,7 +833,7 @@ export interface ListTagsForResourceResponse {
|
|
|
833
833
|
* Tag map with key and value.
|
|
834
834
|
* @public
|
|
835
835
|
*/
|
|
836
|
-
tags?: Record<string, string
|
|
836
|
+
tags?: Record<string, string> | undefined;
|
|
837
837
|
}
|
|
838
838
|
/**
|
|
839
839
|
* The request could not be processed because of conflict in the current state of the campaign.
|
|
@@ -851,7 +851,7 @@ export declare class InvalidCampaignStateException extends __BaseException {
|
|
|
851
851
|
* A header that defines the error encountered while processing the request.
|
|
852
852
|
* @public
|
|
853
853
|
*/
|
|
854
|
-
xAmzErrorType?: string;
|
|
854
|
+
xAmzErrorType?: string | undefined;
|
|
855
855
|
/**
|
|
856
856
|
* @internal
|
|
857
857
|
*/
|
|
@@ -941,17 +941,17 @@ export interface FailedRequest {
|
|
|
941
941
|
* Client provided parameter used for idempotency. Its value must be unique for each request.
|
|
942
942
|
* @public
|
|
943
943
|
*/
|
|
944
|
-
clientToken?: string;
|
|
944
|
+
clientToken?: string | undefined;
|
|
945
945
|
/**
|
|
946
946
|
* Identifier representing a Dial request
|
|
947
947
|
* @public
|
|
948
948
|
*/
|
|
949
|
-
id?: string;
|
|
949
|
+
id?: string | undefined;
|
|
950
950
|
/**
|
|
951
951
|
* A predefined code indicating the error that caused the failure.
|
|
952
952
|
* @public
|
|
953
953
|
*/
|
|
954
|
-
failureCode?: FailureCode;
|
|
954
|
+
failureCode?: FailureCode | undefined;
|
|
955
955
|
}
|
|
956
956
|
/**
|
|
957
957
|
* A successful request identified by the unique client token.
|
|
@@ -962,12 +962,12 @@ export interface SuccessfulRequest {
|
|
|
962
962
|
* Client provided parameter used for idempotency. Its value must be unique for each request.
|
|
963
963
|
* @public
|
|
964
964
|
*/
|
|
965
|
-
clientToken?: string;
|
|
965
|
+
clientToken?: string | undefined;
|
|
966
966
|
/**
|
|
967
967
|
* Identifier representing a Dial request
|
|
968
968
|
* @public
|
|
969
969
|
*/
|
|
970
|
-
id?: string;
|
|
970
|
+
id?: string | undefined;
|
|
971
971
|
}
|
|
972
972
|
/**
|
|
973
973
|
* PutDialRequestBatchResponse
|
|
@@ -978,12 +978,12 @@ export interface PutDialRequestBatchResponse {
|
|
|
978
978
|
* A list of successful requests identified by the unique client token.
|
|
979
979
|
* @public
|
|
980
980
|
*/
|
|
981
|
-
successfulRequests?: SuccessfulRequest[];
|
|
981
|
+
successfulRequests?: SuccessfulRequest[] | undefined;
|
|
982
982
|
/**
|
|
983
983
|
* A list of failed requests.
|
|
984
984
|
* @public
|
|
985
985
|
*/
|
|
986
|
-
failedRequests?: FailedRequest[];
|
|
986
|
+
failedRequests?: FailedRequest[] | undefined;
|
|
987
987
|
}
|
|
988
988
|
/**
|
|
989
989
|
* ResumeCampaignRequest
|
|
@@ -1035,7 +1035,7 @@ export interface StartInstanceOnboardingJobResponse {
|
|
|
1035
1035
|
* Instance onboarding job status object
|
|
1036
1036
|
* @public
|
|
1037
1037
|
*/
|
|
1038
|
-
connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus;
|
|
1038
|
+
connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus | undefined;
|
|
1039
1039
|
}
|
|
1040
1040
|
/**
|
|
1041
1041
|
* StopCampaignRequest
|
|
@@ -1126,17 +1126,17 @@ export interface UpdateCampaignOutboundCallConfigRequest {
|
|
|
1126
1126
|
* The identifier of the contact flow for the outbound call.
|
|
1127
1127
|
* @public
|
|
1128
1128
|
*/
|
|
1129
|
-
connectContactFlowId?: string;
|
|
1129
|
+
connectContactFlowId?: string | undefined;
|
|
1130
1130
|
/**
|
|
1131
1131
|
* The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue.
|
|
1132
1132
|
* @public
|
|
1133
1133
|
*/
|
|
1134
|
-
connectSourcePhoneNumber?: string;
|
|
1134
|
+
connectSourcePhoneNumber?: string | undefined;
|
|
1135
1135
|
/**
|
|
1136
1136
|
* Answering Machine Detection config
|
|
1137
1137
|
* @public
|
|
1138
1138
|
*/
|
|
1139
|
-
answerMachineDetectionConfig?: AnswerMachineDetectionConfig;
|
|
1139
|
+
answerMachineDetectionConfig?: AnswerMachineDetectionConfig | undefined;
|
|
1140
1140
|
}
|
|
1141
1141
|
/**
|
|
1142
1142
|
* @internal
|
|
@@ -3,27 +3,27 @@ import { ConnectCampaignsServiceException as __BaseException } from "./ConnectCa
|
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
xAmzErrorType?: string;
|
|
6
|
+
xAmzErrorType?: string | undefined;
|
|
7
7
|
constructor(
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
11
|
export interface AgentlessDialerConfig {
|
|
12
|
-
dialingCapacity?: number;
|
|
12
|
+
dialingCapacity?: number | undefined;
|
|
13
13
|
}
|
|
14
14
|
export declare class ConflictException extends __BaseException {
|
|
15
15
|
readonly name: "ConflictException";
|
|
16
16
|
readonly $fault: "client";
|
|
17
|
-
xAmzErrorType?: string;
|
|
17
|
+
xAmzErrorType?: string | undefined;
|
|
18
18
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
19
19
|
}
|
|
20
20
|
export interface PredictiveDialerConfig {
|
|
21
21
|
bandwidthAllocation: number | undefined;
|
|
22
|
-
dialingCapacity?: number;
|
|
22
|
+
dialingCapacity?: number | undefined;
|
|
23
23
|
}
|
|
24
24
|
export interface ProgressiveDialerConfig {
|
|
25
25
|
bandwidthAllocation: number | undefined;
|
|
26
|
-
dialingCapacity?: number;
|
|
26
|
+
dialingCapacity?: number | undefined;
|
|
27
27
|
}
|
|
28
28
|
export type DialerConfig =
|
|
29
29
|
| DialerConfig.AgentlessDialerConfigMember
|
|
@@ -65,31 +65,31 @@ export declare namespace DialerConfig {
|
|
|
65
65
|
}
|
|
66
66
|
export interface AnswerMachineDetectionConfig {
|
|
67
67
|
enableAnswerMachineDetection: boolean | undefined;
|
|
68
|
-
awaitAnswerMachinePrompt?: boolean;
|
|
68
|
+
awaitAnswerMachinePrompt?: boolean | undefined;
|
|
69
69
|
}
|
|
70
70
|
export interface OutboundCallConfig {
|
|
71
71
|
connectContactFlowId: string | undefined;
|
|
72
|
-
connectSourcePhoneNumber?: string;
|
|
73
|
-
connectQueueId?: string;
|
|
74
|
-
answerMachineDetectionConfig?: AnswerMachineDetectionConfig;
|
|
72
|
+
connectSourcePhoneNumber?: string | undefined;
|
|
73
|
+
connectQueueId?: string | undefined;
|
|
74
|
+
answerMachineDetectionConfig?: AnswerMachineDetectionConfig | undefined;
|
|
75
75
|
}
|
|
76
76
|
export interface CreateCampaignRequest {
|
|
77
77
|
name: string | undefined;
|
|
78
78
|
connectInstanceId: string | undefined;
|
|
79
79
|
dialerConfig: DialerConfig | undefined;
|
|
80
80
|
outboundCallConfig: OutboundCallConfig | undefined;
|
|
81
|
-
tags?: Record<string, string
|
|
81
|
+
tags?: Record<string, string> | undefined;
|
|
82
82
|
}
|
|
83
83
|
export interface CreateCampaignResponse {
|
|
84
|
-
id?: string;
|
|
85
|
-
arn?: string;
|
|
86
|
-
tags?: Record<string, string
|
|
84
|
+
id?: string | undefined;
|
|
85
|
+
arn?: string | undefined;
|
|
86
|
+
tags?: Record<string, string> | undefined;
|
|
87
87
|
}
|
|
88
88
|
export declare class InternalServerException extends __BaseException {
|
|
89
89
|
readonly name: "InternalServerException";
|
|
90
90
|
readonly $fault: "server";
|
|
91
91
|
$retryable: {};
|
|
92
|
-
xAmzErrorType?: string;
|
|
92
|
+
xAmzErrorType?: string | undefined;
|
|
93
93
|
constructor(
|
|
94
94
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
95
95
|
);
|
|
@@ -97,7 +97,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
97
97
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
98
98
|
readonly name: "ResourceNotFoundException";
|
|
99
99
|
readonly $fault: "client";
|
|
100
|
-
xAmzErrorType?: string;
|
|
100
|
+
xAmzErrorType?: string | undefined;
|
|
101
101
|
constructor(
|
|
102
102
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
103
103
|
);
|
|
@@ -105,7 +105,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
105
105
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
106
106
|
readonly name: "ServiceQuotaExceededException";
|
|
107
107
|
readonly $fault: "client";
|
|
108
|
-
xAmzErrorType?: string;
|
|
108
|
+
xAmzErrorType?: string | undefined;
|
|
109
109
|
constructor(
|
|
110
110
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
111
111
|
);
|
|
@@ -114,7 +114,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
114
114
|
readonly name: "ThrottlingException";
|
|
115
115
|
readonly $fault: "client";
|
|
116
116
|
$retryable: {};
|
|
117
|
-
xAmzErrorType?: string;
|
|
117
|
+
xAmzErrorType?: string | undefined;
|
|
118
118
|
constructor(
|
|
119
119
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
120
120
|
);
|
|
@@ -122,7 +122,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
122
122
|
export declare class ValidationException extends __BaseException {
|
|
123
123
|
readonly name: "ValidationException";
|
|
124
124
|
readonly $fault: "client";
|
|
125
|
-
xAmzErrorType?: string;
|
|
125
|
+
xAmzErrorType?: string | undefined;
|
|
126
126
|
constructor(
|
|
127
127
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
128
128
|
);
|
|
@@ -136,7 +136,7 @@ export interface DeleteConnectInstanceConfigRequest {
|
|
|
136
136
|
export declare class InvalidStateException extends __BaseException {
|
|
137
137
|
readonly name: "InvalidStateException";
|
|
138
138
|
readonly $fault: "client";
|
|
139
|
-
xAmzErrorType?: string;
|
|
139
|
+
xAmzErrorType?: string | undefined;
|
|
140
140
|
constructor(
|
|
141
141
|
opts: __ExceptionOptionType<InvalidStateException, __BaseException>
|
|
142
142
|
);
|
|
@@ -154,10 +154,10 @@ export interface Campaign {
|
|
|
154
154
|
connectInstanceId: string | undefined;
|
|
155
155
|
dialerConfig: DialerConfig | undefined;
|
|
156
156
|
outboundCallConfig: OutboundCallConfig | undefined;
|
|
157
|
-
tags?: Record<string, string
|
|
157
|
+
tags?: Record<string, string> | undefined;
|
|
158
158
|
}
|
|
159
159
|
export interface DescribeCampaignResponse {
|
|
160
|
-
campaign?: Campaign;
|
|
160
|
+
campaign?: Campaign | undefined;
|
|
161
161
|
}
|
|
162
162
|
export interface GetCampaignStateRequest {
|
|
163
163
|
id: string | undefined;
|
|
@@ -171,7 +171,7 @@ export declare const CampaignState: {
|
|
|
171
171
|
};
|
|
172
172
|
export type CampaignState = (typeof CampaignState)[keyof typeof CampaignState];
|
|
173
173
|
export interface GetCampaignStateResponse {
|
|
174
|
-
state?: CampaignState;
|
|
174
|
+
state?: CampaignState | undefined;
|
|
175
175
|
}
|
|
176
176
|
export interface GetCampaignStateBatchRequest {
|
|
177
177
|
campaignIds: string[] | undefined;
|
|
@@ -183,16 +183,16 @@ export declare const GetCampaignStateBatchFailureCode: {
|
|
|
183
183
|
export type GetCampaignStateBatchFailureCode =
|
|
184
184
|
(typeof GetCampaignStateBatchFailureCode)[keyof typeof GetCampaignStateBatchFailureCode];
|
|
185
185
|
export interface FailedCampaignStateResponse {
|
|
186
|
-
campaignId?: string;
|
|
187
|
-
failureCode?: GetCampaignStateBatchFailureCode;
|
|
186
|
+
campaignId?: string | undefined;
|
|
187
|
+
failureCode?: GetCampaignStateBatchFailureCode | undefined;
|
|
188
188
|
}
|
|
189
189
|
export interface SuccessfulCampaignStateResponse {
|
|
190
|
-
campaignId?: string;
|
|
191
|
-
state?: CampaignState;
|
|
190
|
+
campaignId?: string | undefined;
|
|
191
|
+
state?: CampaignState | undefined;
|
|
192
192
|
}
|
|
193
193
|
export interface GetCampaignStateBatchResponse {
|
|
194
|
-
successfulRequests?: SuccessfulCampaignStateResponse[];
|
|
195
|
-
failedRequests?: FailedCampaignStateResponse[];
|
|
194
|
+
successfulRequests?: SuccessfulCampaignStateResponse[] | undefined;
|
|
195
|
+
failedRequests?: FailedCampaignStateResponse[] | undefined;
|
|
196
196
|
}
|
|
197
197
|
export interface GetConnectInstanceConfigRequest {
|
|
198
198
|
connectInstanceId: string | undefined;
|
|
@@ -204,8 +204,8 @@ export type EncryptionType =
|
|
|
204
204
|
(typeof EncryptionType)[keyof typeof EncryptionType];
|
|
205
205
|
export interface EncryptionConfig {
|
|
206
206
|
enabled: boolean | undefined;
|
|
207
|
-
encryptionType?: EncryptionType;
|
|
208
|
-
keyArn?: string;
|
|
207
|
+
encryptionType?: EncryptionType | undefined;
|
|
208
|
+
keyArn?: string | undefined;
|
|
209
209
|
}
|
|
210
210
|
export interface InstanceConfig {
|
|
211
211
|
connectInstanceId: string | undefined;
|
|
@@ -213,7 +213,7 @@ export interface InstanceConfig {
|
|
|
213
213
|
encryptionConfig: EncryptionConfig | undefined;
|
|
214
214
|
}
|
|
215
215
|
export interface GetConnectInstanceConfigResponse {
|
|
216
|
-
connectInstanceConfig?: InstanceConfig;
|
|
216
|
+
connectInstanceConfig?: InstanceConfig | undefined;
|
|
217
217
|
}
|
|
218
218
|
export interface GetInstanceOnboardingJobStatusRequest {
|
|
219
219
|
connectInstanceId: string | undefined;
|
|
@@ -238,10 +238,10 @@ export type InstanceOnboardingJobStatusCode =
|
|
|
238
238
|
export interface InstanceOnboardingJobStatus {
|
|
239
239
|
connectInstanceId: string | undefined;
|
|
240
240
|
status: InstanceOnboardingJobStatusCode | undefined;
|
|
241
|
-
failureCode?: InstanceOnboardingJobFailureCode;
|
|
241
|
+
failureCode?: InstanceOnboardingJobFailureCode | undefined;
|
|
242
242
|
}
|
|
243
243
|
export interface GetInstanceOnboardingJobStatusResponse {
|
|
244
|
-
connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus;
|
|
244
|
+
connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus | undefined;
|
|
245
245
|
}
|
|
246
246
|
export declare const InstanceIdFilterOperator: {
|
|
247
247
|
readonly EQ: "Eq";
|
|
@@ -253,12 +253,12 @@ export interface InstanceIdFilter {
|
|
|
253
253
|
operator: InstanceIdFilterOperator | undefined;
|
|
254
254
|
}
|
|
255
255
|
export interface CampaignFilters {
|
|
256
|
-
instanceIdFilter?: InstanceIdFilter;
|
|
256
|
+
instanceIdFilter?: InstanceIdFilter | undefined;
|
|
257
257
|
}
|
|
258
258
|
export interface ListCampaignsRequest {
|
|
259
|
-
maxResults?: number;
|
|
260
|
-
nextToken?: string;
|
|
261
|
-
filters?: CampaignFilters;
|
|
259
|
+
maxResults?: number | undefined;
|
|
260
|
+
nextToken?: string | undefined;
|
|
261
|
+
filters?: CampaignFilters | undefined;
|
|
262
262
|
}
|
|
263
263
|
export interface CampaignSummary {
|
|
264
264
|
id: string | undefined;
|
|
@@ -267,20 +267,20 @@ export interface CampaignSummary {
|
|
|
267
267
|
connectInstanceId: string | undefined;
|
|
268
268
|
}
|
|
269
269
|
export interface ListCampaignsResponse {
|
|
270
|
-
nextToken?: string;
|
|
271
|
-
campaignSummaryList?: CampaignSummary[];
|
|
270
|
+
nextToken?: string | undefined;
|
|
271
|
+
campaignSummaryList?: CampaignSummary[] | undefined;
|
|
272
272
|
}
|
|
273
273
|
export interface ListTagsForResourceRequest {
|
|
274
274
|
arn: string | undefined;
|
|
275
275
|
}
|
|
276
276
|
export interface ListTagsForResourceResponse {
|
|
277
|
-
tags?: Record<string, string
|
|
277
|
+
tags?: Record<string, string> | undefined;
|
|
278
278
|
}
|
|
279
279
|
export declare class InvalidCampaignStateException extends __BaseException {
|
|
280
280
|
readonly name: "InvalidCampaignStateException";
|
|
281
281
|
readonly $fault: "client";
|
|
282
282
|
state: CampaignState | undefined;
|
|
283
|
-
xAmzErrorType?: string;
|
|
283
|
+
xAmzErrorType?: string | undefined;
|
|
284
284
|
constructor(
|
|
285
285
|
opts: __ExceptionOptionType<InvalidCampaignStateException, __BaseException>
|
|
286
286
|
);
|
|
@@ -305,17 +305,17 @@ export declare const FailureCode: {
|
|
|
305
305
|
};
|
|
306
306
|
export type FailureCode = (typeof FailureCode)[keyof typeof FailureCode];
|
|
307
307
|
export interface FailedRequest {
|
|
308
|
-
clientToken?: string;
|
|
309
|
-
id?: string;
|
|
310
|
-
failureCode?: FailureCode;
|
|
308
|
+
clientToken?: string | undefined;
|
|
309
|
+
id?: string | undefined;
|
|
310
|
+
failureCode?: FailureCode | undefined;
|
|
311
311
|
}
|
|
312
312
|
export interface SuccessfulRequest {
|
|
313
|
-
clientToken?: string;
|
|
314
|
-
id?: string;
|
|
313
|
+
clientToken?: string | undefined;
|
|
314
|
+
id?: string | undefined;
|
|
315
315
|
}
|
|
316
316
|
export interface PutDialRequestBatchResponse {
|
|
317
|
-
successfulRequests?: SuccessfulRequest[];
|
|
318
|
-
failedRequests?: FailedRequest[];
|
|
317
|
+
successfulRequests?: SuccessfulRequest[] | undefined;
|
|
318
|
+
failedRequests?: FailedRequest[] | undefined;
|
|
319
319
|
}
|
|
320
320
|
export interface ResumeCampaignRequest {
|
|
321
321
|
id: string | undefined;
|
|
@@ -328,7 +328,7 @@ export interface StartInstanceOnboardingJobRequest {
|
|
|
328
328
|
encryptionConfig: EncryptionConfig | undefined;
|
|
329
329
|
}
|
|
330
330
|
export interface StartInstanceOnboardingJobResponse {
|
|
331
|
-
connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus;
|
|
331
|
+
connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus | undefined;
|
|
332
332
|
}
|
|
333
333
|
export interface StopCampaignRequest {
|
|
334
334
|
id: string | undefined;
|
|
@@ -351,9 +351,9 @@ export interface UpdateCampaignNameRequest {
|
|
|
351
351
|
}
|
|
352
352
|
export interface UpdateCampaignOutboundCallConfigRequest {
|
|
353
353
|
id: string | undefined;
|
|
354
|
-
connectContactFlowId?: string;
|
|
355
|
-
connectSourcePhoneNumber?: string;
|
|
356
|
-
answerMachineDetectionConfig?: AnswerMachineDetectionConfig;
|
|
354
|
+
connectContactFlowId?: string | undefined;
|
|
355
|
+
connectSourcePhoneNumber?: string | undefined;
|
|
356
|
+
answerMachineDetectionConfig?: AnswerMachineDetectionConfig | undefined;
|
|
357
357
|
}
|
|
358
358
|
export declare const DialRequestFilterSensitiveLog: (obj: DialRequest) => any;
|
|
359
359
|
export declare const PutDialRequestBatchRequestFilterSensitiveLog: (
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectcampaigns",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connectcampaigns Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.691.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-connectcampaigns",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|