@aws-sdk/client-connect 3.347.1 → 3.350.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 +24 -0
- package/dist-cjs/Connect.js +6 -0
- package/dist-cjs/commands/SearchHoursOfOperationsCommand.js +46 -0
- package/dist-cjs/commands/SearchPromptsCommand.js +46 -0
- package/dist-cjs/commands/SearchQuickConnectsCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_1.js +4 -4
- package/dist-cjs/models/models_2.js +2 -0
- package/dist-cjs/pagination/SearchHoursOfOperationsPaginator.js +29 -0
- package/dist-cjs/pagination/SearchPromptsPaginator.js +29 -0
- package/dist-cjs/pagination/SearchQuickConnectsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +267 -6
- package/dist-es/Connect.js +6 -0
- package/dist-es/commands/SearchHoursOfOperationsCommand.js +42 -0
- package/dist-es/commands/SearchPromptsCommand.js +42 -0
- package/dist-es/commands/SearchQuickConnectsCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_1.js +3 -3
- package/dist-es/models/models_2.js +1 -0
- package/dist-es/pagination/SearchHoursOfOperationsPaginator.js +25 -0
- package/dist-es/pagination/SearchPromptsPaginator.js +25 -0
- package/dist-es/pagination/SearchQuickConnectsPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +255 -0
- package/dist-types/Connect.d.ts +21 -0
- package/dist-types/ConnectClient.d.ts +5 -2
- package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +161 -0
- package/dist-types/commands/SearchPromptsCommand.d.ts +147 -0
- package/dist-types/commands/SearchQueuesCommand.d.ts +2 -1
- package/dist-types/commands/SearchQuickConnectsCommand.d.ts +161 -0
- package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +2 -1
- package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +2 -1
- package/dist-types/commands/SearchUsersCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +202 -163
- package/dist-types/models/models_2.d.ts +216 -0
- package/dist-types/pagination/SearchHoursOfOperationsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchPromptsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchQuickConnectsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/Connect.d.ts +51 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +47 -36
- package/dist-types/ts3.4/models/models_2.d.ts +69 -0
- package/dist-types/ts3.4/pagination/SearchHoursOfOperationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchPromptsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchQuickConnectsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1268,6 +1268,22 @@ SearchAvailablePhoneNumbers
|
|
|
1268
1268
|
|
|
1269
1269
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/searchavailablephonenumberscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchavailablephonenumberscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchavailablephonenumberscommandoutput.html)
|
|
1270
1270
|
|
|
1271
|
+
</details>
|
|
1272
|
+
<details>
|
|
1273
|
+
<summary>
|
|
1274
|
+
SearchHoursOfOperations
|
|
1275
|
+
</summary>
|
|
1276
|
+
|
|
1277
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/searchhoursofoperationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchhoursofoperationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchhoursofoperationscommandoutput.html)
|
|
1278
|
+
|
|
1279
|
+
</details>
|
|
1280
|
+
<details>
|
|
1281
|
+
<summary>
|
|
1282
|
+
SearchPrompts
|
|
1283
|
+
</summary>
|
|
1284
|
+
|
|
1285
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/searchpromptscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchpromptscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchpromptscommandoutput.html)
|
|
1286
|
+
|
|
1271
1287
|
</details>
|
|
1272
1288
|
<details>
|
|
1273
1289
|
<summary>
|
|
@@ -1276,6 +1292,14 @@ SearchQueues
|
|
|
1276
1292
|
|
|
1277
1293
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/searchqueuescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchqueuescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchqueuescommandoutput.html)
|
|
1278
1294
|
|
|
1295
|
+
</details>
|
|
1296
|
+
<details>
|
|
1297
|
+
<summary>
|
|
1298
|
+
SearchQuickConnects
|
|
1299
|
+
</summary>
|
|
1300
|
+
|
|
1301
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/searchquickconnectscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchquickconnectscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchquickconnectscommandoutput.html)
|
|
1302
|
+
|
|
1279
1303
|
</details>
|
|
1280
1304
|
<details>
|
|
1281
1305
|
<summary>
|
package/dist-cjs/Connect.js
CHANGED
|
@@ -134,7 +134,10 @@ const ReleasePhoneNumberCommand_1 = require("./commands/ReleasePhoneNumberComman
|
|
|
134
134
|
const ReplicateInstanceCommand_1 = require("./commands/ReplicateInstanceCommand");
|
|
135
135
|
const ResumeContactRecordingCommand_1 = require("./commands/ResumeContactRecordingCommand");
|
|
136
136
|
const SearchAvailablePhoneNumbersCommand_1 = require("./commands/SearchAvailablePhoneNumbersCommand");
|
|
137
|
+
const SearchHoursOfOperationsCommand_1 = require("./commands/SearchHoursOfOperationsCommand");
|
|
138
|
+
const SearchPromptsCommand_1 = require("./commands/SearchPromptsCommand");
|
|
137
139
|
const SearchQueuesCommand_1 = require("./commands/SearchQueuesCommand");
|
|
140
|
+
const SearchQuickConnectsCommand_1 = require("./commands/SearchQuickConnectsCommand");
|
|
138
141
|
const SearchRoutingProfilesCommand_1 = require("./commands/SearchRoutingProfilesCommand");
|
|
139
142
|
const SearchSecurityProfilesCommand_1 = require("./commands/SearchSecurityProfilesCommand");
|
|
140
143
|
const SearchUsersCommand_1 = require("./commands/SearchUsersCommand");
|
|
@@ -326,7 +329,10 @@ const commands = {
|
|
|
326
329
|
ReplicateInstanceCommand: ReplicateInstanceCommand_1.ReplicateInstanceCommand,
|
|
327
330
|
ResumeContactRecordingCommand: ResumeContactRecordingCommand_1.ResumeContactRecordingCommand,
|
|
328
331
|
SearchAvailablePhoneNumbersCommand: SearchAvailablePhoneNumbersCommand_1.SearchAvailablePhoneNumbersCommand,
|
|
332
|
+
SearchHoursOfOperationsCommand: SearchHoursOfOperationsCommand_1.SearchHoursOfOperationsCommand,
|
|
333
|
+
SearchPromptsCommand: SearchPromptsCommand_1.SearchPromptsCommand,
|
|
329
334
|
SearchQueuesCommand: SearchQueuesCommand_1.SearchQueuesCommand,
|
|
335
|
+
SearchQuickConnectsCommand: SearchQuickConnectsCommand_1.SearchQuickConnectsCommand,
|
|
330
336
|
SearchRoutingProfilesCommand: SearchRoutingProfilesCommand_1.SearchRoutingProfilesCommand,
|
|
331
337
|
SearchSecurityProfilesCommand: SearchSecurityProfilesCommand_1.SearchSecurityProfilesCommand,
|
|
332
338
|
SearchUsersCommand: SearchUsersCommand_1.SearchUsersCommand,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchHoursOfOperationsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class SearchHoursOfOperationsCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SearchHoursOfOperationsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "ConnectClient";
|
|
28
|
+
const commandName = "SearchHoursOfOperationsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_SearchHoursOfOperationsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_SearchHoursOfOperationsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.SearchHoursOfOperationsCommand = SearchHoursOfOperationsCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchPromptsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class SearchPromptsCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SearchPromptsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "ConnectClient";
|
|
28
|
+
const commandName = "SearchPromptsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_SearchPromptsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_SearchPromptsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.SearchPromptsCommand = SearchPromptsCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchQuickConnectsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class SearchQuickConnectsCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SearchQuickConnectsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "ConnectClient";
|
|
28
|
+
const commandName = "SearchQuickConnectsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_SearchQuickConnectsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_SearchQuickConnectsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.SearchQuickConnectsCommand = SearchQuickConnectsCommand;
|
|
@@ -133,7 +133,10 @@ tslib_1.__exportStar(require("./ReleasePhoneNumberCommand"), exports);
|
|
|
133
133
|
tslib_1.__exportStar(require("./ReplicateInstanceCommand"), exports);
|
|
134
134
|
tslib_1.__exportStar(require("./ResumeContactRecordingCommand"), exports);
|
|
135
135
|
tslib_1.__exportStar(require("./SearchAvailablePhoneNumbersCommand"), exports);
|
|
136
|
+
tslib_1.__exportStar(require("./SearchHoursOfOperationsCommand"), exports);
|
|
137
|
+
tslib_1.__exportStar(require("./SearchPromptsCommand"), exports);
|
|
136
138
|
tslib_1.__exportStar(require("./SearchQueuesCommand"), exports);
|
|
139
|
+
tslib_1.__exportStar(require("./SearchQuickConnectsCommand"), exports);
|
|
137
140
|
tslib_1.__exportStar(require("./SearchRoutingProfilesCommand"), exports);
|
|
138
141
|
tslib_1.__exportStar(require("./SearchSecurityProfilesCommand"), exports);
|
|
139
142
|
tslib_1.__exportStar(require("./SearchUsersCommand"), exports);
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.EvaluationFormItem = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.RehydrationType = exports.HierarchyGroupMatchType = exports.
|
|
3
|
+
exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.EvaluationFormItem = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.RehydrationType = exports.HierarchyGroupMatchType = exports.SearchableQueueType = exports.StringComparisonType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = exports.LexVersion = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const ConnectServiceException_1 = require("./ConnectServiceException");
|
|
6
6
|
class UserNotFoundException extends ConnectServiceException_1.ConnectServiceException {
|
|
@@ -82,14 +82,14 @@ exports.QueueType = {
|
|
|
82
82
|
AGENT: "AGENT",
|
|
83
83
|
STANDARD: "STANDARD",
|
|
84
84
|
};
|
|
85
|
-
exports.SearchableQueueType = {
|
|
86
|
-
STANDARD: "STANDARD",
|
|
87
|
-
};
|
|
88
85
|
exports.StringComparisonType = {
|
|
89
86
|
CONTAINS: "CONTAINS",
|
|
90
87
|
EXACT: "EXACT",
|
|
91
88
|
STARTS_WITH: "STARTS_WITH",
|
|
92
89
|
};
|
|
90
|
+
exports.SearchableQueueType = {
|
|
91
|
+
STANDARD: "STANDARD",
|
|
92
|
+
};
|
|
93
93
|
exports.HierarchyGroupMatchType = {
|
|
94
94
|
EXACT: "EXACT",
|
|
95
95
|
WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateSearchHoursOfOperations = void 0;
|
|
4
|
+
const SearchHoursOfOperationsCommand_1 = require("../commands/SearchHoursOfOperationsCommand");
|
|
5
|
+
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new SearchHoursOfOperationsCommand_1.SearchHoursOfOperationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateSearchHoursOfOperations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof ConnectClient_1.ConnectClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateSearchHoursOfOperations = paginateSearchHoursOfOperations;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateSearchPrompts = void 0;
|
|
4
|
+
const SearchPromptsCommand_1 = require("../commands/SearchPromptsCommand");
|
|
5
|
+
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new SearchPromptsCommand_1.SearchPromptsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateSearchPrompts(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof ConnectClient_1.ConnectClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateSearchPrompts = paginateSearchPrompts;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateSearchQuickConnects = void 0;
|
|
4
|
+
const SearchQuickConnectsCommand_1 = require("../commands/SearchQuickConnectsCommand");
|
|
5
|
+
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new SearchQuickConnectsCommand_1.SearchQuickConnectsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateSearchQuickConnects(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof ConnectClient_1.ConnectClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateSearchQuickConnects = paginateSearchQuickConnects;
|
|
@@ -41,7 +41,10 @@ tslib_1.__exportStar(require("./ListUseCasesPaginator"), exports);
|
|
|
41
41
|
tslib_1.__exportStar(require("./ListUserHierarchyGroupsPaginator"), exports);
|
|
42
42
|
tslib_1.__exportStar(require("./ListUsersPaginator"), exports);
|
|
43
43
|
tslib_1.__exportStar(require("./SearchAvailablePhoneNumbersPaginator"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./SearchHoursOfOperationsPaginator"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./SearchPromptsPaginator"), exports);
|
|
44
46
|
tslib_1.__exportStar(require("./SearchQueuesPaginator"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./SearchQuickConnectsPaginator"), exports);
|
|
45
48
|
tslib_1.__exportStar(require("./SearchRoutingProfilesPaginator"), exports);
|
|
46
49
|
tslib_1.__exportStar(require("./SearchSecurityProfilesPaginator"), exports);
|
|
47
50
|
tslib_1.__exportStar(require("./SearchUsersPaginator"), exports);
|