@aws-sdk/client-connectcampaignsv2 3.936.0 → 3.940.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 +109 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +90 -0
- package/dist-es/models/models_0.js +1 -90
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +288 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -288
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +121 -0
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +20 -121
- package/package.json +5 -5
|
@@ -1,7 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import {
|
|
2
|
+
AgentAction,
|
|
3
|
+
CampaignDeletionPolicy,
|
|
4
|
+
CampaignState,
|
|
5
|
+
ChannelSubtype,
|
|
6
|
+
CommunicationLimitsConfigType,
|
|
7
|
+
CommunicationLimitTimeUnit,
|
|
8
|
+
CommunicationTimeConfigType,
|
|
9
|
+
DayOfWeek,
|
|
10
|
+
EncryptionType,
|
|
11
|
+
EventType,
|
|
12
|
+
FailureCode,
|
|
13
|
+
GetCampaignStateBatchFailureCode,
|
|
14
|
+
InstanceIdFilterOperator,
|
|
15
|
+
InstanceLimitsHandling,
|
|
16
|
+
InstanceOnboardingJobFailureCode,
|
|
17
|
+
InstanceOnboardingJobStatusCode,
|
|
18
|
+
LocalTimeZoneDetectionType,
|
|
19
|
+
ProfileOutboundRequestFailureCode,
|
|
20
|
+
} from "./enums";
|
|
5
21
|
export interface AgentlessConfig {}
|
|
6
22
|
export interface EmailOutboundConfig {
|
|
7
23
|
connectSourceEmailAddress: string | undefined;
|
|
@@ -141,11 +157,6 @@ export interface ChannelSubtypeConfig {
|
|
|
141
157
|
sms?: SmsChannelSubtypeConfig | undefined;
|
|
142
158
|
email?: EmailChannelSubtypeConfig | undefined;
|
|
143
159
|
}
|
|
144
|
-
export declare const CommunicationLimitTimeUnit: {
|
|
145
|
-
readonly DAY: "DAY";
|
|
146
|
-
};
|
|
147
|
-
export type CommunicationLimitTimeUnit =
|
|
148
|
-
(typeof CommunicationLimitTimeUnit)[keyof typeof CommunicationLimitTimeUnit];
|
|
149
160
|
export interface CommunicationLimit {
|
|
150
161
|
maxCountPerRecipient: number | undefined;
|
|
151
162
|
frequency: number | undefined;
|
|
@@ -168,26 +179,10 @@ export declare namespace CommunicationLimits {
|
|
|
168
179
|
_: (name: string, value: any) => T;
|
|
169
180
|
}
|
|
170
181
|
}
|
|
171
|
-
export declare const InstanceLimitsHandling: {
|
|
172
|
-
readonly OPT_IN: "OPT_IN";
|
|
173
|
-
readonly OPT_OUT: "OPT_OUT";
|
|
174
|
-
};
|
|
175
|
-
export type InstanceLimitsHandling =
|
|
176
|
-
(typeof InstanceLimitsHandling)[keyof typeof InstanceLimitsHandling];
|
|
177
182
|
export interface CommunicationLimitsConfig {
|
|
178
183
|
allChannelSubtypes?: CommunicationLimits | undefined;
|
|
179
184
|
instanceLimitsHandling?: InstanceLimitsHandling | undefined;
|
|
180
185
|
}
|
|
181
|
-
export declare const DayOfWeek: {
|
|
182
|
-
readonly FRIDAY: "FRIDAY";
|
|
183
|
-
readonly MONDAY: "MONDAY";
|
|
184
|
-
readonly SATURDAY: "SATURDAY";
|
|
185
|
-
readonly SUNDAY: "SUNDAY";
|
|
186
|
-
readonly THURSDAY: "THURSDAY";
|
|
187
|
-
readonly TUESDAY: "TUESDAY";
|
|
188
|
-
readonly WEDNESDAY: "WEDNESDAY";
|
|
189
|
-
};
|
|
190
|
-
export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
|
|
191
186
|
export interface TimeRange {
|
|
192
187
|
startTime: string | undefined;
|
|
193
188
|
endTime: string | undefined;
|
|
@@ -233,12 +228,6 @@ export interface TimeWindow {
|
|
|
233
228
|
openHours: OpenHours | undefined;
|
|
234
229
|
restrictedPeriods?: RestrictedPeriods | undefined;
|
|
235
230
|
}
|
|
236
|
-
export declare const LocalTimeZoneDetectionType: {
|
|
237
|
-
readonly AREA_CODE: "AREA_CODE";
|
|
238
|
-
readonly ZIP_CODE: "ZIP_CODE";
|
|
239
|
-
};
|
|
240
|
-
export type LocalTimeZoneDetectionType =
|
|
241
|
-
(typeof LocalTimeZoneDetectionType)[keyof typeof LocalTimeZoneDetectionType];
|
|
242
231
|
export interface LocalTimeZoneConfig {
|
|
243
232
|
defaultTimeZone?: string | undefined;
|
|
244
233
|
localTimeZoneDetection?: LocalTimeZoneDetectionType[] | undefined;
|
|
@@ -302,52 +291,18 @@ export interface CreateCampaignResponse {
|
|
|
302
291
|
export interface DeleteCampaignRequest {
|
|
303
292
|
id: string | undefined;
|
|
304
293
|
}
|
|
305
|
-
export declare const ChannelSubtype: {
|
|
306
|
-
readonly EMAIL: "EMAIL";
|
|
307
|
-
readonly SMS: "SMS";
|
|
308
|
-
readonly TELEPHONY: "TELEPHONY";
|
|
309
|
-
};
|
|
310
|
-
export type ChannelSubtype =
|
|
311
|
-
(typeof ChannelSubtype)[keyof typeof ChannelSubtype];
|
|
312
294
|
export interface DeleteCampaignChannelSubtypeConfigRequest {
|
|
313
295
|
id: string | undefined;
|
|
314
296
|
channelSubtype: ChannelSubtype | undefined;
|
|
315
297
|
}
|
|
316
|
-
export declare const CommunicationLimitsConfigType: {
|
|
317
|
-
readonly ALL_CHANNEL_SUBTYPES: "ALL_CHANNEL_SUBTYPES";
|
|
318
|
-
};
|
|
319
|
-
export type CommunicationLimitsConfigType =
|
|
320
|
-
(typeof CommunicationLimitsConfigType)[keyof typeof CommunicationLimitsConfigType];
|
|
321
298
|
export interface DeleteCampaignCommunicationLimitsRequest {
|
|
322
299
|
id: string | undefined;
|
|
323
300
|
config: CommunicationLimitsConfigType | undefined;
|
|
324
301
|
}
|
|
325
|
-
export declare const CampaignState: {
|
|
326
|
-
readonly COMPLETED: "Completed";
|
|
327
|
-
readonly FAILED: "Failed";
|
|
328
|
-
readonly INITIALIZED: "Initialized";
|
|
329
|
-
readonly PAUSED: "Paused";
|
|
330
|
-
readonly RUNNING: "Running";
|
|
331
|
-
readonly STOPPED: "Stopped";
|
|
332
|
-
};
|
|
333
|
-
export type CampaignState = (typeof CampaignState)[keyof typeof CampaignState];
|
|
334
|
-
export declare const CommunicationTimeConfigType: {
|
|
335
|
-
readonly EMAIL: "EMAIL";
|
|
336
|
-
readonly SMS: "SMS";
|
|
337
|
-
readonly TELEPHONY: "TELEPHONY";
|
|
338
|
-
};
|
|
339
|
-
export type CommunicationTimeConfigType =
|
|
340
|
-
(typeof CommunicationTimeConfigType)[keyof typeof CommunicationTimeConfigType];
|
|
341
302
|
export interface DeleteCampaignCommunicationTimeRequest {
|
|
342
303
|
id: string | undefined;
|
|
343
304
|
config: CommunicationTimeConfigType | undefined;
|
|
344
305
|
}
|
|
345
|
-
export declare const CampaignDeletionPolicy: {
|
|
346
|
-
readonly DELETE_ALL: "DELETE_ALL";
|
|
347
|
-
readonly RETAIN_ALL: "RETAIN_ALL";
|
|
348
|
-
};
|
|
349
|
-
export type CampaignDeletionPolicy =
|
|
350
|
-
(typeof CampaignDeletionPolicy)[keyof typeof CampaignDeletionPolicy];
|
|
351
306
|
export interface DeleteConnectInstanceConfigRequest {
|
|
352
307
|
connectInstanceId: string | undefined;
|
|
353
308
|
campaignDeletionPolicy?: CampaignDeletionPolicy | undefined;
|
|
@@ -419,12 +374,6 @@ export interface GetCampaignStateResponse {
|
|
|
419
374
|
export interface GetCampaignStateBatchRequest {
|
|
420
375
|
campaignIds: string[] | undefined;
|
|
421
376
|
}
|
|
422
|
-
export declare const GetCampaignStateBatchFailureCode: {
|
|
423
|
-
readonly RESOURCE_NOT_FOUND: "ResourceNotFound";
|
|
424
|
-
readonly UNKNOWN_ERROR: "UnknownError";
|
|
425
|
-
};
|
|
426
|
-
export type GetCampaignStateBatchFailureCode =
|
|
427
|
-
(typeof GetCampaignStateBatchFailureCode)[keyof typeof GetCampaignStateBatchFailureCode];
|
|
428
377
|
export interface FailedCampaignStateResponse {
|
|
429
378
|
campaignId?: string | undefined;
|
|
430
379
|
failureCode?: GetCampaignStateBatchFailureCode | undefined;
|
|
@@ -440,11 +389,6 @@ export interface GetCampaignStateBatchResponse {
|
|
|
440
389
|
export interface GetConnectInstanceConfigRequest {
|
|
441
390
|
connectInstanceId: string | undefined;
|
|
442
391
|
}
|
|
443
|
-
export declare const EncryptionType: {
|
|
444
|
-
readonly KMS: "KMS";
|
|
445
|
-
};
|
|
446
|
-
export type EncryptionType =
|
|
447
|
-
(typeof EncryptionType)[keyof typeof EncryptionType];
|
|
448
392
|
export interface EncryptionConfig {
|
|
449
393
|
enabled: boolean | undefined;
|
|
450
394
|
encryptionType?: EncryptionType | undefined;
|
|
@@ -470,23 +414,6 @@ export interface GetInstanceCommunicationLimitsResponse {
|
|
|
470
414
|
export interface GetInstanceOnboardingJobStatusRequest {
|
|
471
415
|
connectInstanceId: string | undefined;
|
|
472
416
|
}
|
|
473
|
-
export declare const InstanceOnboardingJobFailureCode: {
|
|
474
|
-
readonly EVENT_BRIDGE_ACCESS_DENIED: "EVENT_BRIDGE_ACCESS_DENIED";
|
|
475
|
-
readonly EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED: "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED";
|
|
476
|
-
readonly IAM_ACCESS_DENIED: "IAM_ACCESS_DENIED";
|
|
477
|
-
readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
|
|
478
|
-
readonly KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED";
|
|
479
|
-
readonly KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND";
|
|
480
|
-
};
|
|
481
|
-
export type InstanceOnboardingJobFailureCode =
|
|
482
|
-
(typeof InstanceOnboardingJobFailureCode)[keyof typeof InstanceOnboardingJobFailureCode];
|
|
483
|
-
export declare const InstanceOnboardingJobStatusCode: {
|
|
484
|
-
readonly FAILED: "FAILED";
|
|
485
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
486
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
487
|
-
};
|
|
488
|
-
export type InstanceOnboardingJobStatusCode =
|
|
489
|
-
(typeof InstanceOnboardingJobStatusCode)[keyof typeof InstanceOnboardingJobStatusCode];
|
|
490
417
|
export interface InstanceOnboardingJobStatus {
|
|
491
418
|
connectInstanceId: string | undefined;
|
|
492
419
|
status: InstanceOnboardingJobStatusCode | undefined;
|
|
@@ -495,11 +422,6 @@ export interface InstanceOnboardingJobStatus {
|
|
|
495
422
|
export interface GetInstanceOnboardingJobStatusResponse {
|
|
496
423
|
connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus | undefined;
|
|
497
424
|
}
|
|
498
|
-
export declare const InstanceIdFilterOperator: {
|
|
499
|
-
readonly EQ: "Eq";
|
|
500
|
-
};
|
|
501
|
-
export type InstanceIdFilterOperator =
|
|
502
|
-
(typeof InstanceIdFilterOperator)[keyof typeof InstanceIdFilterOperator];
|
|
503
425
|
export interface InstanceIdFilter {
|
|
504
426
|
value: string | undefined;
|
|
505
427
|
operator: InstanceIdFilterOperator | undefined;
|
|
@@ -530,13 +452,6 @@ export interface ListConnectInstanceIntegrationsRequest {
|
|
|
530
452
|
maxResults?: number | undefined;
|
|
531
453
|
nextToken?: string | undefined;
|
|
532
454
|
}
|
|
533
|
-
export declare const EventType: {
|
|
534
|
-
readonly CAMPAIGN_EMAIL: "Campaign-Email";
|
|
535
|
-
readonly CAMPAIGN_ORCHESTRATION: "Campaign-Orchestration";
|
|
536
|
-
readonly CAMPAIGN_SMS: "Campaign-SMS";
|
|
537
|
-
readonly CAMPAIGN_TELEPHONY: "Campaign-Telephony";
|
|
538
|
-
};
|
|
539
|
-
export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
540
455
|
export interface CustomerProfilesIntegrationSummary {
|
|
541
456
|
domainArn: string | undefined;
|
|
542
457
|
objectTypeNames: Partial<Record<EventType, string>> | undefined;
|
|
@@ -689,13 +604,6 @@ export interface PutOutboundRequestBatchRequest {
|
|
|
689
604
|
id: string | undefined;
|
|
690
605
|
outboundRequests: OutboundRequest[] | undefined;
|
|
691
606
|
}
|
|
692
|
-
export declare const FailureCode: {
|
|
693
|
-
readonly BUFFER_LIMIT_EXCEEDED: "BufferLimitExceeded";
|
|
694
|
-
readonly INVALID_INPUT: "InvalidInput";
|
|
695
|
-
readonly REQUEST_THROTTLED: "RequestThrottled";
|
|
696
|
-
readonly UNKNOWN_ERROR: "UnknownError";
|
|
697
|
-
};
|
|
698
|
-
export type FailureCode = (typeof FailureCode)[keyof typeof FailureCode];
|
|
699
607
|
export interface FailedRequest {
|
|
700
608
|
clientToken?: string | undefined;
|
|
701
609
|
id?: string | undefined;
|
|
@@ -718,15 +626,6 @@ export interface PutProfileOutboundRequestBatchRequest {
|
|
|
718
626
|
id: string | undefined;
|
|
719
627
|
profileOutboundRequests: ProfileOutboundRequest[] | undefined;
|
|
720
628
|
}
|
|
721
|
-
export declare const ProfileOutboundRequestFailureCode: {
|
|
722
|
-
readonly CONFLICT: "Conflict";
|
|
723
|
-
readonly INVALID_INPUT: "InvalidInput";
|
|
724
|
-
readonly REQUEST_THROTTLED: "RequestThrottled";
|
|
725
|
-
readonly RESOURCE_NOT_FOUND: "ResourceNotFound";
|
|
726
|
-
readonly UNKNOWN_ERROR: "UnknownError";
|
|
727
|
-
};
|
|
728
|
-
export type ProfileOutboundRequestFailureCode =
|
|
729
|
-
(typeof ProfileOutboundRequestFailureCode)[keyof typeof ProfileOutboundRequestFailureCode];
|
|
730
629
|
export interface FailedProfileOutboundRequest {
|
|
731
630
|
clientToken?: string | undefined;
|
|
732
631
|
id?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectcampaignsv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connectcampaignsv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.940.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connectcampaignsv2",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.940.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.940.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.940.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
30
|
"@aws-sdk/types": "3.936.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.940.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
35
|
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|