@aws-sdk/client-connectcampaignsv2 3.1031.0 → 3.1033.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/README.md +14 -0
- package/dist-cjs/endpoint/bdd.js +49 -0
- package/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +28 -0
- package/dist-cjs/schemas/schemas_0.js +39 -10
- package/dist-es/ConnectCampaignsV2.js +4 -0
- package/dist-es/commands/DeleteCampaignEntryLimitsCommand.js +16 -0
- package/dist-es/commands/UpdateCampaignEntryLimitsCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/bdd.js +46 -0
- package/dist-es/endpoint/endpointResolver.js +3 -3
- package/dist-es/schemas/schemas_0.js +35 -6
- package/dist-types/ConnectCampaignsV2.d.ts +14 -0
- package/dist-types/ConnectCampaignsV2Client.d.ts +4 -2
- package/dist-types/commands/CreateCampaignCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCampaignEntryLimitsCommand.d.ts +90 -0
- package/dist-types/commands/DescribeCampaignCommand.d.ts +4 -0
- package/dist-types/commands/ListCampaignsCommand.d.ts +4 -0
- package/dist-types/commands/UpdateCampaignEntryLimitsCommand.d.ts +94 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +58 -0
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/ConnectCampaignsV2.d.ts +34 -0
- package/dist-types/ts3.4/ConnectCampaignsV2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/DeleteCampaignEntryLimitsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateCampaignEntryLimitsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +5 -5
- package/dist-cjs/endpoint/ruleset.js +0 -7
- package/dist-es/endpoint/ruleset.js +0 -4
- package/dist-types/endpoint/ruleset.d.ts +0 -2
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
|
@@ -267,6 +267,10 @@ export interface CommunicationTimeConfig {
|
|
|
267
267
|
email?: TimeWindow | undefined;
|
|
268
268
|
whatsApp?: TimeWindow | undefined;
|
|
269
269
|
}
|
|
270
|
+
export interface EntryLimitsConfig {
|
|
271
|
+
maxEntryCount: number | undefined;
|
|
272
|
+
minEntryInterval: string | undefined;
|
|
273
|
+
}
|
|
270
274
|
export interface Schedule {
|
|
271
275
|
startTime: Date | undefined;
|
|
272
276
|
endTime: Date | undefined;
|
|
@@ -309,6 +313,7 @@ export interface CreateCampaignRequest {
|
|
|
309
313
|
source?: Source | undefined;
|
|
310
314
|
connectCampaignFlowArn?: string | undefined;
|
|
311
315
|
schedule?: Schedule | undefined;
|
|
316
|
+
entryLimitsConfig?: EntryLimitsConfig | undefined;
|
|
312
317
|
communicationTimeConfig?: CommunicationTimeConfig | undefined;
|
|
313
318
|
communicationLimitsOverride?: CommunicationLimitsConfig | undefined;
|
|
314
319
|
tags?: Record<string, string> | undefined;
|
|
@@ -333,6 +338,9 @@ export interface DeleteCampaignCommunicationTimeRequest {
|
|
|
333
338
|
id: string | undefined;
|
|
334
339
|
config: CommunicationTimeConfigType | undefined;
|
|
335
340
|
}
|
|
341
|
+
export interface DeleteCampaignEntryLimitsRequest {
|
|
342
|
+
id: string | undefined;
|
|
343
|
+
}
|
|
336
344
|
export interface DeleteConnectInstanceConfigRequest {
|
|
337
345
|
connectInstanceId: string | undefined;
|
|
338
346
|
campaignDeletionPolicy?: CampaignDeletionPolicy | undefined;
|
|
@@ -403,6 +411,7 @@ export interface Campaign {
|
|
|
403
411
|
source?: Source | undefined;
|
|
404
412
|
connectCampaignFlowArn?: string | undefined;
|
|
405
413
|
schedule?: Schedule | undefined;
|
|
414
|
+
entryLimitsConfig?: EntryLimitsConfig | undefined;
|
|
406
415
|
communicationTimeConfig?: CommunicationTimeConfig | undefined;
|
|
407
416
|
communicationLimitsOverride?: CommunicationLimitsConfig | undefined;
|
|
408
417
|
tags?: Record<string, string> | undefined;
|
|
@@ -487,6 +496,7 @@ export interface CampaignSummary {
|
|
|
487
496
|
channelSubtypes: ChannelSubtype[] | undefined;
|
|
488
497
|
type?: ExternalCampaignType | undefined;
|
|
489
498
|
schedule?: Schedule | undefined;
|
|
499
|
+
entryLimitsConfig?: EntryLimitsConfig | undefined;
|
|
490
500
|
connectCampaignFlowArn?: string | undefined;
|
|
491
501
|
}
|
|
492
502
|
export interface ListCampaignsResponse {
|
|
@@ -768,6 +778,10 @@ export interface UpdateCampaignCommunicationTimeRequest {
|
|
|
768
778
|
id: string | undefined;
|
|
769
779
|
communicationTimeConfig: CommunicationTimeConfig | undefined;
|
|
770
780
|
}
|
|
781
|
+
export interface UpdateCampaignEntryLimitsRequest {
|
|
782
|
+
id: string | undefined;
|
|
783
|
+
entryLimitsConfig: EntryLimitsConfig | undefined;
|
|
784
|
+
}
|
|
771
785
|
export interface UpdateCampaignFlowAssociationRequest {
|
|
772
786
|
id: string | undefined;
|
|
773
787
|
connectCampaignFlowArn: string | undefined;
|
|
@@ -33,6 +33,7 @@ export declare var CustomerProfilesIntegrationSummary$: StaticStructureSchema;
|
|
|
33
33
|
export declare var DeleteCampaignChannelSubtypeConfigRequest$: StaticStructureSchema;
|
|
34
34
|
export declare var DeleteCampaignCommunicationLimitsRequest$: StaticStructureSchema;
|
|
35
35
|
export declare var DeleteCampaignCommunicationTimeRequest$: StaticStructureSchema;
|
|
36
|
+
export declare var DeleteCampaignEntryLimitsRequest$: StaticStructureSchema;
|
|
36
37
|
export declare var DeleteCampaignRequest$: StaticStructureSchema;
|
|
37
38
|
export declare var DeleteConnectInstanceConfigRequest$: StaticStructureSchema;
|
|
38
39
|
export declare var DeleteConnectInstanceIntegrationRequest$: StaticStructureSchema;
|
|
@@ -43,6 +44,7 @@ export declare var EmailChannelSubtypeConfig$: StaticStructureSchema;
|
|
|
43
44
|
export declare var EmailChannelSubtypeParameters$: StaticStructureSchema;
|
|
44
45
|
export declare var EmailOutboundConfig$: StaticStructureSchema;
|
|
45
46
|
export declare var EncryptionConfig$: StaticStructureSchema;
|
|
47
|
+
export declare var EntryLimitsConfig$: StaticStructureSchema;
|
|
46
48
|
export declare var EventTrigger$: StaticStructureSchema;
|
|
47
49
|
export declare var FailedCampaignStateResponse$: StaticStructureSchema;
|
|
48
50
|
export declare var FailedProfileOutboundRequest$: StaticStructureSchema;
|
|
@@ -110,6 +112,7 @@ export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
|
110
112
|
export declare var UpdateCampaignChannelSubtypeConfigRequest$: StaticStructureSchema;
|
|
111
113
|
export declare var UpdateCampaignCommunicationLimitsRequest$: StaticStructureSchema;
|
|
112
114
|
export declare var UpdateCampaignCommunicationTimeRequest$: StaticStructureSchema;
|
|
115
|
+
export declare var UpdateCampaignEntryLimitsRequest$: StaticStructureSchema;
|
|
113
116
|
export declare var UpdateCampaignFlowAssociationRequest$: StaticStructureSchema;
|
|
114
117
|
export declare var UpdateCampaignNameRequest$: StaticStructureSchema;
|
|
115
118
|
export declare var UpdateCampaignScheduleRequest$: StaticStructureSchema;
|
|
@@ -134,6 +137,7 @@ export declare var DeleteCampaign$: StaticOperationSchema;
|
|
|
134
137
|
export declare var DeleteCampaignChannelSubtypeConfig$: StaticOperationSchema;
|
|
135
138
|
export declare var DeleteCampaignCommunicationLimits$: StaticOperationSchema;
|
|
136
139
|
export declare var DeleteCampaignCommunicationTime$: StaticOperationSchema;
|
|
140
|
+
export declare var DeleteCampaignEntryLimits$: StaticOperationSchema;
|
|
137
141
|
export declare var DeleteConnectInstanceConfig$: StaticOperationSchema;
|
|
138
142
|
export declare var DeleteConnectInstanceIntegration$: StaticOperationSchema;
|
|
139
143
|
export declare var DeleteInstanceOnboardingJob$: StaticOperationSchema;
|
|
@@ -160,6 +164,7 @@ export declare var UntagResource$: StaticOperationSchema;
|
|
|
160
164
|
export declare var UpdateCampaignChannelSubtypeConfig$: StaticOperationSchema;
|
|
161
165
|
export declare var UpdateCampaignCommunicationLimits$: StaticOperationSchema;
|
|
162
166
|
export declare var UpdateCampaignCommunicationTime$: StaticOperationSchema;
|
|
167
|
+
export declare var UpdateCampaignEntryLimits$: StaticOperationSchema;
|
|
163
168
|
export declare var UpdateCampaignFlowAssociation$: StaticOperationSchema;
|
|
164
169
|
export declare var UpdateCampaignName$: StaticOperationSchema;
|
|
165
170
|
export declare var UpdateCampaignSchedule$: StaticOperationSchema;
|
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.1033.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connectcampaignsv2",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.2",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.33",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.32",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.12",
|
|
31
31
|
"@aws-sdk/types": "^3.973.8",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.7",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.18",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.16",
|
|
36
36
|
"@smithy/core": "^3.23.15",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.17",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ruleSet = void 0;
|
|
4
|
-
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
7
|
-
exports.ruleSet = _data;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
|
-
export const ruleSet = _data;
|