@aws-sdk/client-connectcampaignsv2 3.929.0 → 3.930.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 +0 -106
- package/dist-es/models/models_0.js +0 -106
- package/dist-types/models/models_0.d.ts +44 -11
- package/dist-types/ts3.4/models/models_0.d.ts +0 -11
- package/package.json +33 -33
package/dist-cjs/index.js
CHANGED
|
@@ -148,47 +148,9 @@ let ConflictException$1 = class ConflictException extends ConnectCampaignsV2Serv
|
|
|
148
148
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
|
-
exports.EmailOutboundMode = void 0;
|
|
152
|
-
(function (EmailOutboundMode) {
|
|
153
|
-
EmailOutboundMode.visit = (value, visitor) => {
|
|
154
|
-
if (value.agentless !== undefined)
|
|
155
|
-
return visitor.agentless(value.agentless);
|
|
156
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
157
|
-
};
|
|
158
|
-
})(exports.EmailOutboundMode || (exports.EmailOutboundMode = {}));
|
|
159
|
-
exports.SmsOutboundMode = void 0;
|
|
160
|
-
(function (SmsOutboundMode) {
|
|
161
|
-
SmsOutboundMode.visit = (value, visitor) => {
|
|
162
|
-
if (value.agentless !== undefined)
|
|
163
|
-
return visitor.agentless(value.agentless);
|
|
164
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
165
|
-
};
|
|
166
|
-
})(exports.SmsOutboundMode || (exports.SmsOutboundMode = {}));
|
|
167
|
-
exports.TelephonyOutboundMode = void 0;
|
|
168
|
-
(function (TelephonyOutboundMode) {
|
|
169
|
-
TelephonyOutboundMode.visit = (value, visitor) => {
|
|
170
|
-
if (value.progressive !== undefined)
|
|
171
|
-
return visitor.progressive(value.progressive);
|
|
172
|
-
if (value.predictive !== undefined)
|
|
173
|
-
return visitor.predictive(value.predictive);
|
|
174
|
-
if (value.agentless !== undefined)
|
|
175
|
-
return visitor.agentless(value.agentless);
|
|
176
|
-
if (value.preview !== undefined)
|
|
177
|
-
return visitor.preview(value.preview);
|
|
178
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
179
|
-
};
|
|
180
|
-
})(exports.TelephonyOutboundMode || (exports.TelephonyOutboundMode = {}));
|
|
181
151
|
const CommunicationLimitTimeUnit = {
|
|
182
152
|
DAY: "DAY",
|
|
183
153
|
};
|
|
184
|
-
exports.CommunicationLimits = void 0;
|
|
185
|
-
(function (CommunicationLimits) {
|
|
186
|
-
CommunicationLimits.visit = (value, visitor) => {
|
|
187
|
-
if (value.communicationLimitsList !== undefined)
|
|
188
|
-
return visitor.communicationLimitsList(value.communicationLimitsList);
|
|
189
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
190
|
-
};
|
|
191
|
-
})(exports.CommunicationLimits || (exports.CommunicationLimits = {}));
|
|
192
154
|
const InstanceLimitsHandling = {
|
|
193
155
|
OPT_IN: "OPT_IN",
|
|
194
156
|
OPT_OUT: "OPT_OUT",
|
|
@@ -202,36 +164,10 @@ const DayOfWeek = {
|
|
|
202
164
|
TUESDAY: "TUESDAY",
|
|
203
165
|
WEDNESDAY: "WEDNESDAY",
|
|
204
166
|
};
|
|
205
|
-
exports.OpenHours = void 0;
|
|
206
|
-
(function (OpenHours) {
|
|
207
|
-
OpenHours.visit = (value, visitor) => {
|
|
208
|
-
if (value.dailyHours !== undefined)
|
|
209
|
-
return visitor.dailyHours(value.dailyHours);
|
|
210
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
211
|
-
};
|
|
212
|
-
})(exports.OpenHours || (exports.OpenHours = {}));
|
|
213
|
-
exports.RestrictedPeriods = void 0;
|
|
214
|
-
(function (RestrictedPeriods) {
|
|
215
|
-
RestrictedPeriods.visit = (value, visitor) => {
|
|
216
|
-
if (value.restrictedPeriodList !== undefined)
|
|
217
|
-
return visitor.restrictedPeriodList(value.restrictedPeriodList);
|
|
218
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
219
|
-
};
|
|
220
|
-
})(exports.RestrictedPeriods || (exports.RestrictedPeriods = {}));
|
|
221
167
|
const LocalTimeZoneDetectionType = {
|
|
222
168
|
AREA_CODE: "AREA_CODE",
|
|
223
169
|
ZIP_CODE: "ZIP_CODE",
|
|
224
170
|
};
|
|
225
|
-
exports.Source = void 0;
|
|
226
|
-
(function (Source) {
|
|
227
|
-
Source.visit = (value, visitor) => {
|
|
228
|
-
if (value.customerProfilesSegmentArn !== undefined)
|
|
229
|
-
return visitor.customerProfilesSegmentArn(value.customerProfilesSegmentArn);
|
|
230
|
-
if (value.eventTrigger !== undefined)
|
|
231
|
-
return visitor.eventTrigger(value.eventTrigger);
|
|
232
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
233
|
-
};
|
|
234
|
-
})(exports.Source || (exports.Source = {}));
|
|
235
171
|
let InternalServerException$1 = class InternalServerException extends ConnectCampaignsV2ServiceException$1 {
|
|
236
172
|
name = "InternalServerException";
|
|
237
173
|
$fault = "server";
|
|
@@ -359,16 +295,6 @@ let InvalidStateException$1 = class InvalidStateException extends ConnectCampaig
|
|
|
359
295
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
360
296
|
}
|
|
361
297
|
};
|
|
362
|
-
exports.IntegrationIdentifier = void 0;
|
|
363
|
-
(function (IntegrationIdentifier) {
|
|
364
|
-
IntegrationIdentifier.visit = (value, visitor) => {
|
|
365
|
-
if (value.customerProfiles !== undefined)
|
|
366
|
-
return visitor.customerProfiles(value.customerProfiles);
|
|
367
|
-
if (value.qConnect !== undefined)
|
|
368
|
-
return visitor.qConnect(value.qConnect);
|
|
369
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
370
|
-
};
|
|
371
|
-
})(exports.IntegrationIdentifier || (exports.IntegrationIdentifier = {}));
|
|
372
298
|
const GetCampaignStateBatchFailureCode = {
|
|
373
299
|
RESOURCE_NOT_FOUND: "ResourceNotFound",
|
|
374
300
|
UNKNOWN_ERROR: "UnknownError",
|
|
@@ -398,38 +324,6 @@ const EventType = {
|
|
|
398
324
|
CAMPAIGN_SMS: "Campaign-SMS",
|
|
399
325
|
CAMPAIGN_TELEPHONY: "Campaign-Telephony",
|
|
400
326
|
};
|
|
401
|
-
exports.IntegrationSummary = void 0;
|
|
402
|
-
(function (IntegrationSummary) {
|
|
403
|
-
IntegrationSummary.visit = (value, visitor) => {
|
|
404
|
-
if (value.customerProfiles !== undefined)
|
|
405
|
-
return visitor.customerProfiles(value.customerProfiles);
|
|
406
|
-
if (value.qConnect !== undefined)
|
|
407
|
-
return visitor.qConnect(value.qConnect);
|
|
408
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
409
|
-
};
|
|
410
|
-
})(exports.IntegrationSummary || (exports.IntegrationSummary = {}));
|
|
411
|
-
exports.IntegrationConfig = void 0;
|
|
412
|
-
(function (IntegrationConfig) {
|
|
413
|
-
IntegrationConfig.visit = (value, visitor) => {
|
|
414
|
-
if (value.customerProfiles !== undefined)
|
|
415
|
-
return visitor.customerProfiles(value.customerProfiles);
|
|
416
|
-
if (value.qConnect !== undefined)
|
|
417
|
-
return visitor.qConnect(value.qConnect);
|
|
418
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
419
|
-
};
|
|
420
|
-
})(exports.IntegrationConfig || (exports.IntegrationConfig = {}));
|
|
421
|
-
exports.ChannelSubtypeParameters = void 0;
|
|
422
|
-
(function (ChannelSubtypeParameters) {
|
|
423
|
-
ChannelSubtypeParameters.visit = (value, visitor) => {
|
|
424
|
-
if (value.telephony !== undefined)
|
|
425
|
-
return visitor.telephony(value.telephony);
|
|
426
|
-
if (value.sms !== undefined)
|
|
427
|
-
return visitor.sms(value.sms);
|
|
428
|
-
if (value.email !== undefined)
|
|
429
|
-
return visitor.email(value.email);
|
|
430
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
431
|
-
};
|
|
432
|
-
})(exports.ChannelSubtypeParameters || (exports.ChannelSubtypeParameters = {}));
|
|
433
327
|
const FailureCode = {
|
|
434
328
|
BUFFER_LIMIT_EXCEEDED: "BufferLimitExceeded",
|
|
435
329
|
INVALID_INPUT: "InvalidInput",
|
|
@@ -30,47 +30,9 @@ export class ConflictException extends __BaseException {
|
|
|
30
30
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
export var EmailOutboundMode;
|
|
34
|
-
(function (EmailOutboundMode) {
|
|
35
|
-
EmailOutboundMode.visit = (value, visitor) => {
|
|
36
|
-
if (value.agentless !== undefined)
|
|
37
|
-
return visitor.agentless(value.agentless);
|
|
38
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
39
|
-
};
|
|
40
|
-
})(EmailOutboundMode || (EmailOutboundMode = {}));
|
|
41
|
-
export var SmsOutboundMode;
|
|
42
|
-
(function (SmsOutboundMode) {
|
|
43
|
-
SmsOutboundMode.visit = (value, visitor) => {
|
|
44
|
-
if (value.agentless !== undefined)
|
|
45
|
-
return visitor.agentless(value.agentless);
|
|
46
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
47
|
-
};
|
|
48
|
-
})(SmsOutboundMode || (SmsOutboundMode = {}));
|
|
49
|
-
export var TelephonyOutboundMode;
|
|
50
|
-
(function (TelephonyOutboundMode) {
|
|
51
|
-
TelephonyOutboundMode.visit = (value, visitor) => {
|
|
52
|
-
if (value.progressive !== undefined)
|
|
53
|
-
return visitor.progressive(value.progressive);
|
|
54
|
-
if (value.predictive !== undefined)
|
|
55
|
-
return visitor.predictive(value.predictive);
|
|
56
|
-
if (value.agentless !== undefined)
|
|
57
|
-
return visitor.agentless(value.agentless);
|
|
58
|
-
if (value.preview !== undefined)
|
|
59
|
-
return visitor.preview(value.preview);
|
|
60
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
61
|
-
};
|
|
62
|
-
})(TelephonyOutboundMode || (TelephonyOutboundMode = {}));
|
|
63
33
|
export const CommunicationLimitTimeUnit = {
|
|
64
34
|
DAY: "DAY",
|
|
65
35
|
};
|
|
66
|
-
export var CommunicationLimits;
|
|
67
|
-
(function (CommunicationLimits) {
|
|
68
|
-
CommunicationLimits.visit = (value, visitor) => {
|
|
69
|
-
if (value.communicationLimitsList !== undefined)
|
|
70
|
-
return visitor.communicationLimitsList(value.communicationLimitsList);
|
|
71
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
72
|
-
};
|
|
73
|
-
})(CommunicationLimits || (CommunicationLimits = {}));
|
|
74
36
|
export const InstanceLimitsHandling = {
|
|
75
37
|
OPT_IN: "OPT_IN",
|
|
76
38
|
OPT_OUT: "OPT_OUT",
|
|
@@ -84,36 +46,10 @@ export const DayOfWeek = {
|
|
|
84
46
|
TUESDAY: "TUESDAY",
|
|
85
47
|
WEDNESDAY: "WEDNESDAY",
|
|
86
48
|
};
|
|
87
|
-
export var OpenHours;
|
|
88
|
-
(function (OpenHours) {
|
|
89
|
-
OpenHours.visit = (value, visitor) => {
|
|
90
|
-
if (value.dailyHours !== undefined)
|
|
91
|
-
return visitor.dailyHours(value.dailyHours);
|
|
92
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
93
|
-
};
|
|
94
|
-
})(OpenHours || (OpenHours = {}));
|
|
95
|
-
export var RestrictedPeriods;
|
|
96
|
-
(function (RestrictedPeriods) {
|
|
97
|
-
RestrictedPeriods.visit = (value, visitor) => {
|
|
98
|
-
if (value.restrictedPeriodList !== undefined)
|
|
99
|
-
return visitor.restrictedPeriodList(value.restrictedPeriodList);
|
|
100
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
101
|
-
};
|
|
102
|
-
})(RestrictedPeriods || (RestrictedPeriods = {}));
|
|
103
49
|
export const LocalTimeZoneDetectionType = {
|
|
104
50
|
AREA_CODE: "AREA_CODE",
|
|
105
51
|
ZIP_CODE: "ZIP_CODE",
|
|
106
52
|
};
|
|
107
|
-
export var Source;
|
|
108
|
-
(function (Source) {
|
|
109
|
-
Source.visit = (value, visitor) => {
|
|
110
|
-
if (value.customerProfilesSegmentArn !== undefined)
|
|
111
|
-
return visitor.customerProfilesSegmentArn(value.customerProfilesSegmentArn);
|
|
112
|
-
if (value.eventTrigger !== undefined)
|
|
113
|
-
return visitor.eventTrigger(value.eventTrigger);
|
|
114
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
115
|
-
};
|
|
116
|
-
})(Source || (Source = {}));
|
|
117
53
|
export class InternalServerException extends __BaseException {
|
|
118
54
|
name = "InternalServerException";
|
|
119
55
|
$fault = "server";
|
|
@@ -241,16 +177,6 @@ export class InvalidStateException extends __BaseException {
|
|
|
241
177
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
242
178
|
}
|
|
243
179
|
}
|
|
244
|
-
export var IntegrationIdentifier;
|
|
245
|
-
(function (IntegrationIdentifier) {
|
|
246
|
-
IntegrationIdentifier.visit = (value, visitor) => {
|
|
247
|
-
if (value.customerProfiles !== undefined)
|
|
248
|
-
return visitor.customerProfiles(value.customerProfiles);
|
|
249
|
-
if (value.qConnect !== undefined)
|
|
250
|
-
return visitor.qConnect(value.qConnect);
|
|
251
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
252
|
-
};
|
|
253
|
-
})(IntegrationIdentifier || (IntegrationIdentifier = {}));
|
|
254
180
|
export const GetCampaignStateBatchFailureCode = {
|
|
255
181
|
RESOURCE_NOT_FOUND: "ResourceNotFound",
|
|
256
182
|
UNKNOWN_ERROR: "UnknownError",
|
|
@@ -280,38 +206,6 @@ export const EventType = {
|
|
|
280
206
|
CAMPAIGN_SMS: "Campaign-SMS",
|
|
281
207
|
CAMPAIGN_TELEPHONY: "Campaign-Telephony",
|
|
282
208
|
};
|
|
283
|
-
export var IntegrationSummary;
|
|
284
|
-
(function (IntegrationSummary) {
|
|
285
|
-
IntegrationSummary.visit = (value, visitor) => {
|
|
286
|
-
if (value.customerProfiles !== undefined)
|
|
287
|
-
return visitor.customerProfiles(value.customerProfiles);
|
|
288
|
-
if (value.qConnect !== undefined)
|
|
289
|
-
return visitor.qConnect(value.qConnect);
|
|
290
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
291
|
-
};
|
|
292
|
-
})(IntegrationSummary || (IntegrationSummary = {}));
|
|
293
|
-
export var IntegrationConfig;
|
|
294
|
-
(function (IntegrationConfig) {
|
|
295
|
-
IntegrationConfig.visit = (value, visitor) => {
|
|
296
|
-
if (value.customerProfiles !== undefined)
|
|
297
|
-
return visitor.customerProfiles(value.customerProfiles);
|
|
298
|
-
if (value.qConnect !== undefined)
|
|
299
|
-
return visitor.qConnect(value.qConnect);
|
|
300
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
301
|
-
};
|
|
302
|
-
})(IntegrationConfig || (IntegrationConfig = {}));
|
|
303
|
-
export var ChannelSubtypeParameters;
|
|
304
|
-
(function (ChannelSubtypeParameters) {
|
|
305
|
-
ChannelSubtypeParameters.visit = (value, visitor) => {
|
|
306
|
-
if (value.telephony !== undefined)
|
|
307
|
-
return visitor.telephony(value.telephony);
|
|
308
|
-
if (value.sms !== undefined)
|
|
309
|
-
return visitor.sms(value.sms);
|
|
310
|
-
if (value.email !== undefined)
|
|
311
|
-
return visitor.email(value.email);
|
|
312
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
313
|
-
};
|
|
314
|
-
})(ChannelSubtypeParameters || (ChannelSubtypeParameters = {}));
|
|
315
209
|
export const FailureCode = {
|
|
316
210
|
BUFFER_LIMIT_EXCEEDED: "BufferLimitExceeded",
|
|
317
211
|
INVALID_INPUT: "InvalidInput",
|
|
@@ -96,11 +96,14 @@ export declare namespace EmailOutboundMode {
|
|
|
96
96
|
agentless?: never;
|
|
97
97
|
$unknown: [string, any];
|
|
98
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* @deprecated unused in schema-serde mode.
|
|
101
|
+
*
|
|
102
|
+
*/
|
|
99
103
|
interface Visitor<T> {
|
|
100
104
|
agentless: (value: AgentlessConfig) => T;
|
|
101
105
|
_: (name: string, value: any) => T;
|
|
102
106
|
}
|
|
103
|
-
const visit: <T>(value: EmailOutboundMode, visitor: Visitor<T>) => T;
|
|
104
107
|
}
|
|
105
108
|
/**
|
|
106
109
|
* Email Channel Subtype config
|
|
@@ -163,11 +166,14 @@ export declare namespace SmsOutboundMode {
|
|
|
163
166
|
agentless?: never;
|
|
164
167
|
$unknown: [string, any];
|
|
165
168
|
}
|
|
169
|
+
/**
|
|
170
|
+
* @deprecated unused in schema-serde mode.
|
|
171
|
+
*
|
|
172
|
+
*/
|
|
166
173
|
interface Visitor<T> {
|
|
167
174
|
agentless: (value: AgentlessConfig) => T;
|
|
168
175
|
_: (name: string, value: any) => T;
|
|
169
176
|
}
|
|
170
|
-
const visit: <T>(value: SmsOutboundMode, visitor: Visitor<T>) => T;
|
|
171
177
|
}
|
|
172
178
|
/**
|
|
173
179
|
* SMS Channel Subtype config
|
|
@@ -344,6 +350,10 @@ export declare namespace TelephonyOutboundMode {
|
|
|
344
350
|
preview?: never;
|
|
345
351
|
$unknown: [string, any];
|
|
346
352
|
}
|
|
353
|
+
/**
|
|
354
|
+
* @deprecated unused in schema-serde mode.
|
|
355
|
+
*
|
|
356
|
+
*/
|
|
347
357
|
interface Visitor<T> {
|
|
348
358
|
progressive: (value: ProgressiveConfig) => T;
|
|
349
359
|
predictive: (value: PredictiveConfig) => T;
|
|
@@ -351,7 +361,6 @@ export declare namespace TelephonyOutboundMode {
|
|
|
351
361
|
preview: (value: PreviewConfig) => T;
|
|
352
362
|
_: (name: string, value: any) => T;
|
|
353
363
|
}
|
|
354
|
-
const visit: <T>(value: TelephonyOutboundMode, visitor: Visitor<T>) => T;
|
|
355
364
|
}
|
|
356
365
|
/**
|
|
357
366
|
* Telephony Channel Subtype config
|
|
@@ -456,11 +465,14 @@ export declare namespace CommunicationLimits {
|
|
|
456
465
|
communicationLimitsList?: never;
|
|
457
466
|
$unknown: [string, any];
|
|
458
467
|
}
|
|
468
|
+
/**
|
|
469
|
+
* @deprecated unused in schema-serde mode.
|
|
470
|
+
*
|
|
471
|
+
*/
|
|
459
472
|
interface Visitor<T> {
|
|
460
473
|
communicationLimitsList: (value: CommunicationLimit[]) => T;
|
|
461
474
|
_: (name: string, value: any) => T;
|
|
462
475
|
}
|
|
463
|
-
const visit: <T>(value: CommunicationLimits, visitor: Visitor<T>) => T;
|
|
464
476
|
}
|
|
465
477
|
/**
|
|
466
478
|
* @public
|
|
@@ -547,11 +559,14 @@ export declare namespace OpenHours {
|
|
|
547
559
|
dailyHours?: never;
|
|
548
560
|
$unknown: [string, any];
|
|
549
561
|
}
|
|
562
|
+
/**
|
|
563
|
+
* @deprecated unused in schema-serde mode.
|
|
564
|
+
*
|
|
565
|
+
*/
|
|
550
566
|
interface Visitor<T> {
|
|
551
567
|
dailyHours: (value: Partial<Record<DayOfWeek, TimeRange[]>>) => T;
|
|
552
568
|
_: (name: string, value: any) => T;
|
|
553
569
|
}
|
|
554
|
-
const visit: <T>(value: OpenHours, visitor: Visitor<T>) => T;
|
|
555
570
|
}
|
|
556
571
|
/**
|
|
557
572
|
* Restricted period
|
|
@@ -598,11 +613,14 @@ export declare namespace RestrictedPeriods {
|
|
|
598
613
|
restrictedPeriodList?: never;
|
|
599
614
|
$unknown: [string, any];
|
|
600
615
|
}
|
|
616
|
+
/**
|
|
617
|
+
* @deprecated unused in schema-serde mode.
|
|
618
|
+
*
|
|
619
|
+
*/
|
|
601
620
|
interface Visitor<T> {
|
|
602
621
|
restrictedPeriodList: (value: RestrictedPeriod[]) => T;
|
|
603
622
|
_: (name: string, value: any) => T;
|
|
604
623
|
}
|
|
605
|
-
const visit: <T>(value: RestrictedPeriods, visitor: Visitor<T>) => T;
|
|
606
624
|
}
|
|
607
625
|
/**
|
|
608
626
|
* Time window config
|
|
@@ -741,12 +759,15 @@ export declare namespace Source {
|
|
|
741
759
|
eventTrigger?: never;
|
|
742
760
|
$unknown: [string, any];
|
|
743
761
|
}
|
|
762
|
+
/**
|
|
763
|
+
* @deprecated unused in schema-serde mode.
|
|
764
|
+
*
|
|
765
|
+
*/
|
|
744
766
|
interface Visitor<T> {
|
|
745
767
|
customerProfilesSegmentArn: (value: string) => T;
|
|
746
768
|
eventTrigger: (value: EventTrigger) => T;
|
|
747
769
|
_: (name: string, value: any) => T;
|
|
748
770
|
}
|
|
749
|
-
const visit: <T>(value: Source, visitor: Visitor<T>) => T;
|
|
750
771
|
}
|
|
751
772
|
/**
|
|
752
773
|
* The request for CreateCampaign API.
|
|
@@ -1161,12 +1182,15 @@ export declare namespace IntegrationIdentifier {
|
|
|
1161
1182
|
qConnect?: never;
|
|
1162
1183
|
$unknown: [string, any];
|
|
1163
1184
|
}
|
|
1185
|
+
/**
|
|
1186
|
+
* @deprecated unused in schema-serde mode.
|
|
1187
|
+
*
|
|
1188
|
+
*/
|
|
1164
1189
|
interface Visitor<T> {
|
|
1165
1190
|
customerProfiles: (value: CustomerProfilesIntegrationIdentifier) => T;
|
|
1166
1191
|
qConnect: (value: QConnectIntegrationIdentifier) => T;
|
|
1167
1192
|
_: (name: string, value: any) => T;
|
|
1168
1193
|
}
|
|
1169
|
-
const visit: <T>(value: IntegrationIdentifier, visitor: Visitor<T>) => T;
|
|
1170
1194
|
}
|
|
1171
1195
|
/**
|
|
1172
1196
|
* The request for DeleteConnectInstanceIntegration API.
|
|
@@ -1779,12 +1803,15 @@ export declare namespace IntegrationSummary {
|
|
|
1779
1803
|
qConnect?: never;
|
|
1780
1804
|
$unknown: [string, any];
|
|
1781
1805
|
}
|
|
1806
|
+
/**
|
|
1807
|
+
* @deprecated unused in schema-serde mode.
|
|
1808
|
+
*
|
|
1809
|
+
*/
|
|
1782
1810
|
interface Visitor<T> {
|
|
1783
1811
|
customerProfiles: (value: CustomerProfilesIntegrationSummary) => T;
|
|
1784
1812
|
qConnect: (value: QConnectIntegrationSummary) => T;
|
|
1785
1813
|
_: (name: string, value: any) => T;
|
|
1786
1814
|
}
|
|
1787
|
-
const visit: <T>(value: IntegrationSummary, visitor: Visitor<T>) => T;
|
|
1788
1815
|
}
|
|
1789
1816
|
/**
|
|
1790
1817
|
* The response for ListConnectInstanceIntegrations API.
|
|
@@ -1897,12 +1924,15 @@ export declare namespace IntegrationConfig {
|
|
|
1897
1924
|
qConnect?: never;
|
|
1898
1925
|
$unknown: [string, any];
|
|
1899
1926
|
}
|
|
1927
|
+
/**
|
|
1928
|
+
* @deprecated unused in schema-serde mode.
|
|
1929
|
+
*
|
|
1930
|
+
*/
|
|
1900
1931
|
interface Visitor<T> {
|
|
1901
1932
|
customerProfiles: (value: CustomerProfilesIntegrationConfig) => T;
|
|
1902
1933
|
qConnect: (value: QConnectIntegrationConfig) => T;
|
|
1903
1934
|
_: (name: string, value: any) => T;
|
|
1904
1935
|
}
|
|
1905
|
-
const visit: <T>(value: IntegrationConfig, visitor: Visitor<T>) => T;
|
|
1906
1936
|
}
|
|
1907
1937
|
/**
|
|
1908
1938
|
* The request for PutConnectInstanceIntegration API.
|
|
@@ -2062,13 +2092,16 @@ export declare namespace ChannelSubtypeParameters {
|
|
|
2062
2092
|
email?: never;
|
|
2063
2093
|
$unknown: [string, any];
|
|
2064
2094
|
}
|
|
2095
|
+
/**
|
|
2096
|
+
* @deprecated unused in schema-serde mode.
|
|
2097
|
+
*
|
|
2098
|
+
*/
|
|
2065
2099
|
interface Visitor<T> {
|
|
2066
2100
|
telephony: (value: TelephonyChannelSubtypeParameters) => T;
|
|
2067
2101
|
sms: (value: SmsChannelSubtypeParameters) => T;
|
|
2068
2102
|
email: (value: EmailChannelSubtypeParameters) => T;
|
|
2069
2103
|
_: (name: string, value: any) => T;
|
|
2070
2104
|
}
|
|
2071
|
-
const visit: <T>(value: ChannelSubtypeParameters, visitor: Visitor<T>) => T;
|
|
2072
2105
|
}
|
|
2073
2106
|
/**
|
|
2074
2107
|
* An outbound request for a campaign.
|
|
@@ -40,7 +40,6 @@ export declare namespace EmailOutboundMode {
|
|
|
40
40
|
agentless: (value: AgentlessConfig) => T;
|
|
41
41
|
_: (name: string, value: any) => T;
|
|
42
42
|
}
|
|
43
|
-
const visit: <T>(value: EmailOutboundMode, visitor: Visitor<T>) => T;
|
|
44
43
|
}
|
|
45
44
|
export interface EmailChannelSubtypeConfig {
|
|
46
45
|
capacity?: number | undefined;
|
|
@@ -67,7 +66,6 @@ export declare namespace SmsOutboundMode {
|
|
|
67
66
|
agentless: (value: AgentlessConfig) => T;
|
|
68
67
|
_: (name: string, value: any) => T;
|
|
69
68
|
}
|
|
70
|
-
const visit: <T>(value: SmsOutboundMode, visitor: Visitor<T>) => T;
|
|
71
69
|
}
|
|
72
70
|
export interface SmsChannelSubtypeConfig {
|
|
73
71
|
capacity?: number | undefined;
|
|
@@ -146,7 +144,6 @@ export declare namespace TelephonyOutboundMode {
|
|
|
146
144
|
preview: (value: PreviewConfig) => T;
|
|
147
145
|
_: (name: string, value: any) => T;
|
|
148
146
|
}
|
|
149
|
-
const visit: <T>(value: TelephonyOutboundMode, visitor: Visitor<T>) => T;
|
|
150
147
|
}
|
|
151
148
|
export interface TelephonyChannelSubtypeConfig {
|
|
152
149
|
capacity?: number | undefined;
|
|
@@ -185,7 +182,6 @@ export declare namespace CommunicationLimits {
|
|
|
185
182
|
communicationLimitsList: (value: CommunicationLimit[]) => T;
|
|
186
183
|
_: (name: string, value: any) => T;
|
|
187
184
|
}
|
|
188
|
-
const visit: <T>(value: CommunicationLimits, visitor: Visitor<T>) => T;
|
|
189
185
|
}
|
|
190
186
|
export declare const InstanceLimitsHandling: {
|
|
191
187
|
readonly OPT_IN: "OPT_IN";
|
|
@@ -225,7 +221,6 @@ export declare namespace OpenHours {
|
|
|
225
221
|
dailyHours: (value: Partial<Record<DayOfWeek, TimeRange[]>>) => T;
|
|
226
222
|
_: (name: string, value: any) => T;
|
|
227
223
|
}
|
|
228
|
-
const visit: <T>(value: OpenHours, visitor: Visitor<T>) => T;
|
|
229
224
|
}
|
|
230
225
|
export interface RestrictedPeriod {
|
|
231
226
|
name?: string | undefined;
|
|
@@ -248,7 +243,6 @@ export declare namespace RestrictedPeriods {
|
|
|
248
243
|
restrictedPeriodList: (value: RestrictedPeriod[]) => T;
|
|
249
244
|
_: (name: string, value: any) => T;
|
|
250
245
|
}
|
|
251
|
-
const visit: <T>(value: RestrictedPeriods, visitor: Visitor<T>) => T;
|
|
252
246
|
}
|
|
253
247
|
export interface TimeWindow {
|
|
254
248
|
openHours: OpenHours | undefined;
|
|
@@ -303,7 +297,6 @@ export declare namespace Source {
|
|
|
303
297
|
eventTrigger: (value: EventTrigger) => T;
|
|
304
298
|
_: (name: string, value: any) => T;
|
|
305
299
|
}
|
|
306
|
-
const visit: <T>(value: Source, visitor: Visitor<T>) => T;
|
|
307
300
|
}
|
|
308
301
|
export interface CreateCampaignRequest {
|
|
309
302
|
name: string | undefined;
|
|
@@ -464,7 +457,6 @@ export declare namespace IntegrationIdentifier {
|
|
|
464
457
|
qConnect: (value: QConnectIntegrationIdentifier) => T;
|
|
465
458
|
_: (name: string, value: any) => T;
|
|
466
459
|
}
|
|
467
|
-
const visit: <T>(value: IntegrationIdentifier, visitor: Visitor<T>) => T;
|
|
468
460
|
}
|
|
469
461
|
export interface DeleteConnectInstanceIntegrationRequest {
|
|
470
462
|
connectInstanceId: string | undefined;
|
|
@@ -651,7 +643,6 @@ export declare namespace IntegrationSummary {
|
|
|
651
643
|
qConnect: (value: QConnectIntegrationSummary) => T;
|
|
652
644
|
_: (name: string, value: any) => T;
|
|
653
645
|
}
|
|
654
|
-
const visit: <T>(value: IntegrationSummary, visitor: Visitor<T>) => T;
|
|
655
646
|
}
|
|
656
647
|
export interface ListConnectInstanceIntegrationsResponse {
|
|
657
648
|
nextToken?: string | undefined;
|
|
@@ -698,7 +689,6 @@ export declare namespace IntegrationConfig {
|
|
|
698
689
|
qConnect: (value: QConnectIntegrationConfig) => T;
|
|
699
690
|
_: (name: string, value: any) => T;
|
|
700
691
|
}
|
|
701
|
-
const visit: <T>(value: IntegrationConfig, visitor: Visitor<T>) => T;
|
|
702
692
|
}
|
|
703
693
|
export interface PutConnectInstanceIntegrationRequest {
|
|
704
694
|
connectInstanceId: string | undefined;
|
|
@@ -762,7 +752,6 @@ export declare namespace ChannelSubtypeParameters {
|
|
|
762
752
|
email: (value: EmailChannelSubtypeParameters) => T;
|
|
763
753
|
_: (name: string, value: any) => T;
|
|
764
754
|
}
|
|
765
|
-
const visit: <T>(value: ChannelSubtypeParameters, visitor: Visitor<T>) => T;
|
|
766
755
|
}
|
|
767
756
|
export interface OutboundRequest {
|
|
768
757
|
clientToken: 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.930.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,41 +20,41 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.4.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
37
|
-
"@smithy/hash-node": "^4.2.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
-
"@smithy/middleware-stack": "^4.2.
|
|
44
|
-
"@smithy/node-config-provider": "^4.3.
|
|
45
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
-
"@smithy/protocol-http": "^5.3.
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.930.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.930.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.930.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.930.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
|
+
"@aws-sdk/types": "3.930.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.930.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
+
"@smithy/core": "^3.18.2",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
|
+
"@smithy/hash-node": "^4.2.5",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.9",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.9",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.5",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.5",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.5",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
48
|
+
"@smithy/types": "^4.9.0",
|
|
49
|
+
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
-
"@smithy/util-endpoints": "^3.2.
|
|
56
|
-
"@smithy/util-middleware": "^4.2.
|
|
57
|
-
"@smithy/util-retry": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.8",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.11",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
57
|
+
"@smithy/util-retry": "^4.2.5",
|
|
58
58
|
"@smithy/util-utf8": "^4.2.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|