@aws-sdk/client-connectcampaigns 3.751.0 → 3.772.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 +23 -25
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
CampaignState: () => CampaignState,
|
|
26
26
|
ConflictException: () => ConflictException,
|
|
@@ -68,7 +68,7 @@ __export(src_exports, {
|
|
|
68
68
|
__Client: () => import_smithy_client.Client,
|
|
69
69
|
paginateListCampaigns: () => paginateListCampaigns
|
|
70
70
|
});
|
|
71
|
-
module.exports = __toCommonJS(
|
|
71
|
+
module.exports = __toCommonJS(index_exports);
|
|
72
72
|
|
|
73
73
|
// src/ConnectCampaignsClient.ts
|
|
74
74
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -195,9 +195,9 @@ var ConnectCampaignsClient = class extends import_smithy_client.Client {
|
|
|
195
195
|
this.middlewareStack.use(
|
|
196
196
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
197
197
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultConnectCampaignsHttpAuthSchemeParametersProvider,
|
|
198
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
198
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
199
199
|
"aws.auth#sigv4": config.credentials
|
|
200
|
-
})
|
|
200
|
+
}), "identityProviderConfigProvider")
|
|
201
201
|
})
|
|
202
202
|
);
|
|
203
203
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -295,10 +295,8 @@ var DialerConfig;
|
|
|
295
295
|
DialerConfig2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
296
296
|
if (value.progressiveDialerConfig !== void 0)
|
|
297
297
|
return visitor.progressiveDialerConfig(value.progressiveDialerConfig);
|
|
298
|
-
if (value.predictiveDialerConfig !== void 0)
|
|
299
|
-
|
|
300
|
-
if (value.agentlessDialerConfig !== void 0)
|
|
301
|
-
return visitor.agentlessDialerConfig(value.agentlessDialerConfig);
|
|
298
|
+
if (value.predictiveDialerConfig !== void 0) return visitor.predictiveDialerConfig(value.predictiveDialerConfig);
|
|
299
|
+
if (value.agentlessDialerConfig !== void 0) return visitor.agentlessDialerConfig(value.agentlessDialerConfig);
|
|
302
300
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
303
301
|
}, "visit");
|
|
304
302
|
})(DialerConfig || (DialerConfig = {}));
|
|
@@ -567,10 +565,10 @@ var se_CreateCampaignCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
567
565
|
body = JSON.stringify(
|
|
568
566
|
(0, import_smithy_client.take)(input, {
|
|
569
567
|
connectInstanceId: [],
|
|
570
|
-
dialerConfig: (_) => se_DialerConfig(_, context),
|
|
568
|
+
dialerConfig: /* @__PURE__ */ __name((_) => se_DialerConfig(_, context), "dialerConfig"),
|
|
571
569
|
name: [],
|
|
572
|
-
outboundCallConfig: (_) => (0, import_smithy_client._json)(_),
|
|
573
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
570
|
+
outboundCallConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "outboundCallConfig"),
|
|
571
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
574
572
|
})
|
|
575
573
|
);
|
|
576
574
|
b.m("PUT").h(headers).b(body);
|
|
@@ -630,7 +628,7 @@ var se_GetCampaignStateBatchCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
630
628
|
let body;
|
|
631
629
|
body = JSON.stringify(
|
|
632
630
|
(0, import_smithy_client.take)(input, {
|
|
633
|
-
campaignIds: (_) => (0, import_smithy_client._json)(_)
|
|
631
|
+
campaignIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "campaignIds")
|
|
634
632
|
})
|
|
635
633
|
);
|
|
636
634
|
b.m("POST").h(headers).b(body);
|
|
@@ -663,7 +661,7 @@ var se_ListCampaignsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
663
661
|
let body;
|
|
664
662
|
body = JSON.stringify(
|
|
665
663
|
(0, import_smithy_client.take)(input, {
|
|
666
|
-
filters: (_) => (0, import_smithy_client._json)(_),
|
|
664
|
+
filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"),
|
|
667
665
|
maxResults: [],
|
|
668
666
|
nextToken: []
|
|
669
667
|
})
|
|
@@ -699,7 +697,7 @@ var se_PutDialRequestBatchCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
699
697
|
let body;
|
|
700
698
|
body = JSON.stringify(
|
|
701
699
|
(0, import_smithy_client.take)(input, {
|
|
702
|
-
dialRequests: (_) => se_DialRequestList(_, context)
|
|
700
|
+
dialRequests: /* @__PURE__ */ __name((_) => se_DialRequestList(_, context), "dialRequests")
|
|
703
701
|
})
|
|
704
702
|
);
|
|
705
703
|
b.m("PUT").h(headers).b(body);
|
|
@@ -733,7 +731,7 @@ var se_StartInstanceOnboardingJobCommand = /* @__PURE__ */ __name(async (input,
|
|
|
733
731
|
let body;
|
|
734
732
|
body = JSON.stringify(
|
|
735
733
|
(0, import_smithy_client.take)(input, {
|
|
736
|
-
encryptionConfig: (_) => (0, import_smithy_client._json)(_)
|
|
734
|
+
encryptionConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "encryptionConfig")
|
|
737
735
|
})
|
|
738
736
|
);
|
|
739
737
|
b.m("PUT").h(headers).b(body);
|
|
@@ -758,7 +756,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
758
756
|
let body;
|
|
759
757
|
body = JSON.stringify(
|
|
760
758
|
(0, import_smithy_client.take)(input, {
|
|
761
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
759
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
762
760
|
})
|
|
763
761
|
);
|
|
764
762
|
b.m("POST").h(headers).b(body);
|
|
@@ -786,7 +784,7 @@ var se_UpdateCampaignDialerConfigCommand = /* @__PURE__ */ __name(async (input,
|
|
|
786
784
|
let body;
|
|
787
785
|
body = JSON.stringify(
|
|
788
786
|
(0, import_smithy_client.take)(input, {
|
|
789
|
-
dialerConfig: (_) => se_DialerConfig(_, context)
|
|
787
|
+
dialerConfig: /* @__PURE__ */ __name((_) => se_DialerConfig(_, context), "dialerConfig")
|
|
790
788
|
})
|
|
791
789
|
);
|
|
792
790
|
b.m("POST").h(headers).b(body);
|
|
@@ -818,7 +816,7 @@ var se_UpdateCampaignOutboundCallConfigCommand = /* @__PURE__ */ __name(async (i
|
|
|
818
816
|
let body;
|
|
819
817
|
body = JSON.stringify(
|
|
820
818
|
(0, import_smithy_client.take)(input, {
|
|
821
|
-
answerMachineDetectionConfig: (_) => (0, import_smithy_client._json)(_),
|
|
819
|
+
answerMachineDetectionConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "answerMachineDetectionConfig"),
|
|
822
820
|
connectContactFlowId: [],
|
|
823
821
|
connectSourcePhoneNumber: []
|
|
824
822
|
})
|
|
@@ -881,7 +879,7 @@ var de_DescribeCampaignCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
881
879
|
});
|
|
882
880
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
883
881
|
const doc = (0, import_smithy_client.take)(data, {
|
|
884
|
-
campaign: (_) => de_Campaign(_, context)
|
|
882
|
+
campaign: /* @__PURE__ */ __name((_) => de_Campaign(_, context), "campaign")
|
|
885
883
|
});
|
|
886
884
|
Object.assign(contents, doc);
|
|
887
885
|
return contents;
|
|
@@ -1278,10 +1276,10 @@ var se_AgentlessDialerConfig = /* @__PURE__ */ __name((input, context) => {
|
|
|
1278
1276
|
}, "se_AgentlessDialerConfig");
|
|
1279
1277
|
var se_DialerConfig = /* @__PURE__ */ __name((input, context) => {
|
|
1280
1278
|
return DialerConfig.visit(input, {
|
|
1281
|
-
agentlessDialerConfig: (value) => ({ agentlessDialerConfig: se_AgentlessDialerConfig(value, context) }),
|
|
1282
|
-
predictiveDialerConfig: (value) => ({ predictiveDialerConfig: se_PredictiveDialerConfig(value, context) }),
|
|
1283
|
-
progressiveDialerConfig: (value) => ({ progressiveDialerConfig: se_ProgressiveDialerConfig(value, context) }),
|
|
1284
|
-
_: (name, value) => ({ [name]: value })
|
|
1279
|
+
agentlessDialerConfig: /* @__PURE__ */ __name((value) => ({ agentlessDialerConfig: se_AgentlessDialerConfig(value, context) }), "agentlessDialerConfig"),
|
|
1280
|
+
predictiveDialerConfig: /* @__PURE__ */ __name((value) => ({ predictiveDialerConfig: se_PredictiveDialerConfig(value, context) }), "predictiveDialerConfig"),
|
|
1281
|
+
progressiveDialerConfig: /* @__PURE__ */ __name((value) => ({ progressiveDialerConfig: se_ProgressiveDialerConfig(value, context) }), "progressiveDialerConfig"),
|
|
1282
|
+
_: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
|
|
1285
1283
|
});
|
|
1286
1284
|
}, "se_DialerConfig");
|
|
1287
1285
|
var se_DialRequest = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -1318,7 +1316,7 @@ var de_Campaign = /* @__PURE__ */ __name((output, context) => {
|
|
|
1318
1316
|
return (0, import_smithy_client.take)(output, {
|
|
1319
1317
|
arn: import_smithy_client.expectString,
|
|
1320
1318
|
connectInstanceId: import_smithy_client.expectString,
|
|
1321
|
-
dialerConfig: (_) => de_DialerConfig((0, import_core2.awsExpectUnion)(_), context),
|
|
1319
|
+
dialerConfig: /* @__PURE__ */ __name((_) => de_DialerConfig((0, import_core2.awsExpectUnion)(_), context), "dialerConfig"),
|
|
1322
1320
|
id: import_smithy_client.expectString,
|
|
1323
1321
|
name: import_smithy_client.expectString,
|
|
1324
1322
|
outboundCallConfig: import_smithy_client._json,
|
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.772.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,38 +20,38 @@
|
|
|
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.758.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.758.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.7",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.6",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.7",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|