@aws-sdk/client-connect 3.989.0 → 3.990.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 +56 -0
- package/dist-cjs/index.js +149 -0
- package/dist-cjs/schemas/schemas_0.js +222 -36
- package/dist-es/Connect.js +16 -0
- package/dist-es/commands/CreateNotificationCommand.js +16 -0
- package/dist-es/commands/DeleteNotificationCommand.js +16 -0
- package/dist-es/commands/DescribeNotificationCommand.js +16 -0
- package/dist-es/commands/ListNotificationsCommand.js +16 -0
- package/dist-es/commands/ListUserNotificationsCommand.js +16 -0
- package/dist-es/commands/SearchNotificationsCommand.js +16 -0
- package/dist-es/commands/UpdateNotificationContentCommand.js +16 -0
- package/dist-es/commands/UpdateUserNotificationStatusCommand.js +16 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/enums.js +32 -0
- package/dist-es/schemas/schemas_0.js +194 -9
- package/dist-types/Connect.d.ts +56 -0
- package/dist-types/ConnectClient.d.ts +10 -2
- package/dist-types/commands/CreateNotificationCommand.d.ts +109 -0
- package/dist-types/commands/DeleteNotificationCommand.d.ts +91 -0
- package/dist-types/commands/DescribeNotificationCommand.d.ts +110 -0
- package/dist-types/commands/GetTrafficDistributionCommand.d.ts +2 -1
- package/dist-types/commands/ImportPhoneNumberCommand.d.ts +1 -1
- package/dist-types/commands/ImportWorkspaceMediaCommand.d.ts +1 -1
- package/dist-types/commands/ListNotificationsCommand.d.ts +114 -0
- package/dist-types/commands/ListUserNotificationsCommand.d.ts +110 -0
- package/dist-types/commands/SearchNotificationsCommand.d.ts +165 -0
- package/dist-types/commands/SearchUserHierarchyGroupsCommand.d.ts +1 -2
- package/dist-types/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/commands/SearchViewsCommand.d.ts +1 -2
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateNotificationContentCommand.d.ts +94 -0
- package/dist-types/commands/UpdateUserNotificationStatusCommand.d.ts +95 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/enums.d.ts +72 -0
- package/dist-types/models/models_0.d.ts +64 -48
- package/dist-types/models/models_1.d.ts +151 -140
- package/dist-types/models/models_2.d.ts +402 -469
- package/dist-types/models/models_3.d.ts +545 -4
- package/dist-types/schemas/schemas_0.d.ts +29 -0
- package/dist-types/ts3.4/Connect.d.ts +136 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateNotificationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteNotificationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeNotificationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTrafficDistributionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ImportPhoneNumberCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ImportWorkspaceMediaCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListNotificationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListUserNotificationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SearchNotificationsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/SearchUserHierarchyGroupsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SearchViewsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateNotificationContentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateUserNotificationStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/enums.d.ts +41 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -11
- package/dist-types/ts3.4/models/models_1.d.ts +40 -34
- package/dist-types/ts3.4/models/models_2.d.ts +90 -98
- package/dist-types/ts3.4/models/models_3.d.ts +126 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +29 -0
- package/package.json +6 -6
package/dist-es/Connect.js
CHANGED
|
@@ -45,6 +45,7 @@ import { CreateHoursOfOperationCommand, } from "./commands/CreateHoursOfOperatio
|
|
|
45
45
|
import { CreateHoursOfOperationOverrideCommand, } from "./commands/CreateHoursOfOperationOverrideCommand";
|
|
46
46
|
import { CreateInstanceCommand, } from "./commands/CreateInstanceCommand";
|
|
47
47
|
import { CreateIntegrationAssociationCommand, } from "./commands/CreateIntegrationAssociationCommand";
|
|
48
|
+
import { CreateNotificationCommand, } from "./commands/CreateNotificationCommand";
|
|
48
49
|
import { CreateParticipantCommand, } from "./commands/CreateParticipantCommand";
|
|
49
50
|
import { CreatePersistentContactAssociationCommand, } from "./commands/CreatePersistentContactAssociationCommand";
|
|
50
51
|
import { CreatePredefinedAttributeCommand, } from "./commands/CreatePredefinedAttributeCommand";
|
|
@@ -82,6 +83,7 @@ import { DeleteHoursOfOperationCommand, } from "./commands/DeleteHoursOfOperatio
|
|
|
82
83
|
import { DeleteHoursOfOperationOverrideCommand, } from "./commands/DeleteHoursOfOperationOverrideCommand";
|
|
83
84
|
import { DeleteInstanceCommand, } from "./commands/DeleteInstanceCommand";
|
|
84
85
|
import { DeleteIntegrationAssociationCommand, } from "./commands/DeleteIntegrationAssociationCommand";
|
|
86
|
+
import { DeleteNotificationCommand, } from "./commands/DeleteNotificationCommand";
|
|
85
87
|
import { DeletePredefinedAttributeCommand, } from "./commands/DeletePredefinedAttributeCommand";
|
|
86
88
|
import { DeletePromptCommand, } from "./commands/DeletePromptCommand";
|
|
87
89
|
import { DeletePushNotificationRegistrationCommand, } from "./commands/DeletePushNotificationRegistrationCommand";
|
|
@@ -118,6 +120,7 @@ import { DescribeHoursOfOperationOverrideCommand, } from "./commands/DescribeHou
|
|
|
118
120
|
import { DescribeInstanceAttributeCommand, } from "./commands/DescribeInstanceAttributeCommand";
|
|
119
121
|
import { DescribeInstanceCommand, } from "./commands/DescribeInstanceCommand";
|
|
120
122
|
import { DescribeInstanceStorageConfigCommand, } from "./commands/DescribeInstanceStorageConfigCommand";
|
|
123
|
+
import { DescribeNotificationCommand, } from "./commands/DescribeNotificationCommand";
|
|
121
124
|
import { DescribePhoneNumberCommand, } from "./commands/DescribePhoneNumberCommand";
|
|
122
125
|
import { DescribePredefinedAttributeCommand, } from "./commands/DescribePredefinedAttributeCommand";
|
|
123
126
|
import { DescribePromptCommand, } from "./commands/DescribePromptCommand";
|
|
@@ -201,6 +204,7 @@ import { ListInstanceStorageConfigsCommand, } from "./commands/ListInstanceStora
|
|
|
201
204
|
import { ListIntegrationAssociationsCommand, } from "./commands/ListIntegrationAssociationsCommand";
|
|
202
205
|
import { ListLambdaFunctionsCommand, } from "./commands/ListLambdaFunctionsCommand";
|
|
203
206
|
import { ListLexBotsCommand } from "./commands/ListLexBotsCommand";
|
|
207
|
+
import { ListNotificationsCommand, } from "./commands/ListNotificationsCommand";
|
|
204
208
|
import { ListPhoneNumbersCommand, } from "./commands/ListPhoneNumbersCommand";
|
|
205
209
|
import { ListPhoneNumbersV2Command, } from "./commands/ListPhoneNumbersV2Command";
|
|
206
210
|
import { ListPredefinedAttributesCommand, } from "./commands/ListPredefinedAttributesCommand";
|
|
@@ -227,6 +231,7 @@ import { ListTrafficDistributionGroupsCommand, } from "./commands/ListTrafficDis
|
|
|
227
231
|
import { ListTrafficDistributionGroupUsersCommand, } from "./commands/ListTrafficDistributionGroupUsersCommand";
|
|
228
232
|
import { ListUseCasesCommand, } from "./commands/ListUseCasesCommand";
|
|
229
233
|
import { ListUserHierarchyGroupsCommand, } from "./commands/ListUserHierarchyGroupsCommand";
|
|
234
|
+
import { ListUserNotificationsCommand, } from "./commands/ListUserNotificationsCommand";
|
|
230
235
|
import { ListUserProficienciesCommand, } from "./commands/ListUserProficienciesCommand";
|
|
231
236
|
import { ListUsersCommand } from "./commands/ListUsersCommand";
|
|
232
237
|
import { ListViewsCommand } from "./commands/ListViewsCommand";
|
|
@@ -252,6 +257,7 @@ import { SearchEmailAddressesCommand, } from "./commands/SearchEmailAddressesCom
|
|
|
252
257
|
import { SearchEvaluationFormsCommand, } from "./commands/SearchEvaluationFormsCommand";
|
|
253
258
|
import { SearchHoursOfOperationOverridesCommand, } from "./commands/SearchHoursOfOperationOverridesCommand";
|
|
254
259
|
import { SearchHoursOfOperationsCommand, } from "./commands/SearchHoursOfOperationsCommand";
|
|
260
|
+
import { SearchNotificationsCommand, } from "./commands/SearchNotificationsCommand";
|
|
255
261
|
import { SearchPredefinedAttributesCommand, } from "./commands/SearchPredefinedAttributesCommand";
|
|
256
262
|
import { SearchPromptsCommand, } from "./commands/SearchPromptsCommand";
|
|
257
263
|
import { SearchQueuesCommand, } from "./commands/SearchQueuesCommand";
|
|
@@ -316,6 +322,7 @@ import { UpdateHoursOfOperationCommand, } from "./commands/UpdateHoursOfOperatio
|
|
|
316
322
|
import { UpdateHoursOfOperationOverrideCommand, } from "./commands/UpdateHoursOfOperationOverrideCommand";
|
|
317
323
|
import { UpdateInstanceAttributeCommand, } from "./commands/UpdateInstanceAttributeCommand";
|
|
318
324
|
import { UpdateInstanceStorageConfigCommand, } from "./commands/UpdateInstanceStorageConfigCommand";
|
|
325
|
+
import { UpdateNotificationContentCommand, } from "./commands/UpdateNotificationContentCommand";
|
|
319
326
|
import { UpdateParticipantAuthenticationCommand, } from "./commands/UpdateParticipantAuthenticationCommand";
|
|
320
327
|
import { UpdateParticipantRoleConfigCommand, } from "./commands/UpdateParticipantRoleConfigCommand";
|
|
321
328
|
import { UpdatePhoneNumberCommand, } from "./commands/UpdatePhoneNumberCommand";
|
|
@@ -345,6 +352,7 @@ import { UpdateUserHierarchyCommand, } from "./commands/UpdateUserHierarchyComma
|
|
|
345
352
|
import { UpdateUserHierarchyGroupNameCommand, } from "./commands/UpdateUserHierarchyGroupNameCommand";
|
|
346
353
|
import { UpdateUserHierarchyStructureCommand, } from "./commands/UpdateUserHierarchyStructureCommand";
|
|
347
354
|
import { UpdateUserIdentityInfoCommand, } from "./commands/UpdateUserIdentityInfoCommand";
|
|
355
|
+
import { UpdateUserNotificationStatusCommand, } from "./commands/UpdateUserNotificationStatusCommand";
|
|
348
356
|
import { UpdateUserPhoneConfigCommand, } from "./commands/UpdateUserPhoneConfigCommand";
|
|
349
357
|
import { UpdateUserProficienciesCommand, } from "./commands/UpdateUserProficienciesCommand";
|
|
350
358
|
import { UpdateUserRoutingProfileCommand, } from "./commands/UpdateUserRoutingProfileCommand";
|
|
@@ -488,6 +496,7 @@ const commands = {
|
|
|
488
496
|
CreateHoursOfOperationOverrideCommand,
|
|
489
497
|
CreateInstanceCommand,
|
|
490
498
|
CreateIntegrationAssociationCommand,
|
|
499
|
+
CreateNotificationCommand,
|
|
491
500
|
CreateParticipantCommand,
|
|
492
501
|
CreatePersistentContactAssociationCommand,
|
|
493
502
|
CreatePredefinedAttributeCommand,
|
|
@@ -525,6 +534,7 @@ const commands = {
|
|
|
525
534
|
DeleteHoursOfOperationOverrideCommand,
|
|
526
535
|
DeleteInstanceCommand,
|
|
527
536
|
DeleteIntegrationAssociationCommand,
|
|
537
|
+
DeleteNotificationCommand,
|
|
528
538
|
DeletePredefinedAttributeCommand,
|
|
529
539
|
DeletePromptCommand,
|
|
530
540
|
DeletePushNotificationRegistrationCommand,
|
|
@@ -561,6 +571,7 @@ const commands = {
|
|
|
561
571
|
DescribeInstanceCommand,
|
|
562
572
|
DescribeInstanceAttributeCommand,
|
|
563
573
|
DescribeInstanceStorageConfigCommand,
|
|
574
|
+
DescribeNotificationCommand,
|
|
564
575
|
DescribePhoneNumberCommand,
|
|
565
576
|
DescribePredefinedAttributeCommand,
|
|
566
577
|
DescribePromptCommand,
|
|
@@ -644,6 +655,7 @@ const commands = {
|
|
|
644
655
|
ListIntegrationAssociationsCommand,
|
|
645
656
|
ListLambdaFunctionsCommand,
|
|
646
657
|
ListLexBotsCommand,
|
|
658
|
+
ListNotificationsCommand,
|
|
647
659
|
ListPhoneNumbersCommand,
|
|
648
660
|
ListPhoneNumbersV2Command,
|
|
649
661
|
ListPredefinedAttributesCommand,
|
|
@@ -670,6 +682,7 @@ const commands = {
|
|
|
670
682
|
ListTrafficDistributionGroupUsersCommand,
|
|
671
683
|
ListUseCasesCommand,
|
|
672
684
|
ListUserHierarchyGroupsCommand,
|
|
685
|
+
ListUserNotificationsCommand,
|
|
673
686
|
ListUserProficienciesCommand,
|
|
674
687
|
ListUsersCommand,
|
|
675
688
|
ListViewsCommand,
|
|
@@ -695,6 +708,7 @@ const commands = {
|
|
|
695
708
|
SearchEvaluationFormsCommand,
|
|
696
709
|
SearchHoursOfOperationOverridesCommand,
|
|
697
710
|
SearchHoursOfOperationsCommand,
|
|
711
|
+
SearchNotificationsCommand,
|
|
698
712
|
SearchPredefinedAttributesCommand,
|
|
699
713
|
SearchPromptsCommand,
|
|
700
714
|
SearchQueuesCommand,
|
|
@@ -759,6 +773,7 @@ const commands = {
|
|
|
759
773
|
UpdateHoursOfOperationOverrideCommand,
|
|
760
774
|
UpdateInstanceAttributeCommand,
|
|
761
775
|
UpdateInstanceStorageConfigCommand,
|
|
776
|
+
UpdateNotificationContentCommand,
|
|
762
777
|
UpdateParticipantAuthenticationCommand,
|
|
763
778
|
UpdateParticipantRoleConfigCommand,
|
|
764
779
|
UpdatePhoneNumberCommand,
|
|
@@ -788,6 +803,7 @@ const commands = {
|
|
|
788
803
|
UpdateUserHierarchyGroupNameCommand,
|
|
789
804
|
UpdateUserHierarchyStructureCommand,
|
|
790
805
|
UpdateUserIdentityInfoCommand,
|
|
806
|
+
UpdateUserNotificationStatusCommand,
|
|
791
807
|
UpdateUserPhoneConfigCommand,
|
|
792
808
|
UpdateUserProficienciesCommand,
|
|
793
809
|
UpdateUserRoutingProfileCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateNotification$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateNotificationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "CreateNotification", {})
|
|
13
|
+
.n("ConnectClient", "CreateNotificationCommand")
|
|
14
|
+
.sc(CreateNotification$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteNotification$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteNotificationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "DeleteNotification", {})
|
|
13
|
+
.n("ConnectClient", "DeleteNotificationCommand")
|
|
14
|
+
.sc(DeleteNotification$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DescribeNotification$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeNotificationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "DescribeNotification", {})
|
|
13
|
+
.n("ConnectClient", "DescribeNotificationCommand")
|
|
14
|
+
.sc(DescribeNotification$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListNotifications$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListNotificationsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "ListNotifications", {})
|
|
13
|
+
.n("ConnectClient", "ListNotificationsCommand")
|
|
14
|
+
.sc(ListNotifications$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListUserNotifications$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListUserNotificationsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "ListUserNotifications", {})
|
|
13
|
+
.n("ConnectClient", "ListUserNotificationsCommand")
|
|
14
|
+
.sc(ListUserNotifications$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { SearchNotifications$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class SearchNotificationsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "SearchNotifications", {})
|
|
13
|
+
.n("ConnectClient", "SearchNotificationsCommand")
|
|
14
|
+
.sc(SearchNotifications$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateNotificationContent$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateNotificationContentCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "UpdateNotificationContent", {})
|
|
13
|
+
.n("ConnectClient", "UpdateNotificationContentCommand")
|
|
14
|
+
.sc(UpdateNotificationContent$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateUserNotificationStatus$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateUserNotificationStatusCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "UpdateUserNotificationStatus", {})
|
|
13
|
+
.n("ConnectClient", "UpdateUserNotificationStatusCommand")
|
|
14
|
+
.sc(UpdateUserNotificationStatus$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -44,6 +44,7 @@ export * from "./CreateHoursOfOperationCommand";
|
|
|
44
44
|
export * from "./CreateHoursOfOperationOverrideCommand";
|
|
45
45
|
export * from "./CreateInstanceCommand";
|
|
46
46
|
export * from "./CreateIntegrationAssociationCommand";
|
|
47
|
+
export * from "./CreateNotificationCommand";
|
|
47
48
|
export * from "./CreateParticipantCommand";
|
|
48
49
|
export * from "./CreatePersistentContactAssociationCommand";
|
|
49
50
|
export * from "./CreatePredefinedAttributeCommand";
|
|
@@ -81,6 +82,7 @@ export * from "./DeleteHoursOfOperationCommand";
|
|
|
81
82
|
export * from "./DeleteHoursOfOperationOverrideCommand";
|
|
82
83
|
export * from "./DeleteInstanceCommand";
|
|
83
84
|
export * from "./DeleteIntegrationAssociationCommand";
|
|
85
|
+
export * from "./DeleteNotificationCommand";
|
|
84
86
|
export * from "./DeletePredefinedAttributeCommand";
|
|
85
87
|
export * from "./DeletePromptCommand";
|
|
86
88
|
export * from "./DeletePushNotificationRegistrationCommand";
|
|
@@ -117,6 +119,7 @@ export * from "./DescribeHoursOfOperationOverrideCommand";
|
|
|
117
119
|
export * from "./DescribeInstanceAttributeCommand";
|
|
118
120
|
export * from "./DescribeInstanceCommand";
|
|
119
121
|
export * from "./DescribeInstanceStorageConfigCommand";
|
|
122
|
+
export * from "./DescribeNotificationCommand";
|
|
120
123
|
export * from "./DescribePhoneNumberCommand";
|
|
121
124
|
export * from "./DescribePredefinedAttributeCommand";
|
|
122
125
|
export * from "./DescribePromptCommand";
|
|
@@ -200,6 +203,7 @@ export * from "./ListInstancesCommand";
|
|
|
200
203
|
export * from "./ListIntegrationAssociationsCommand";
|
|
201
204
|
export * from "./ListLambdaFunctionsCommand";
|
|
202
205
|
export * from "./ListLexBotsCommand";
|
|
206
|
+
export * from "./ListNotificationsCommand";
|
|
203
207
|
export * from "./ListPhoneNumbersCommand";
|
|
204
208
|
export * from "./ListPhoneNumbersV2Command";
|
|
205
209
|
export * from "./ListPredefinedAttributesCommand";
|
|
@@ -226,6 +230,7 @@ export * from "./ListTrafficDistributionGroupUsersCommand";
|
|
|
226
230
|
export * from "./ListTrafficDistributionGroupsCommand";
|
|
227
231
|
export * from "./ListUseCasesCommand";
|
|
228
232
|
export * from "./ListUserHierarchyGroupsCommand";
|
|
233
|
+
export * from "./ListUserNotificationsCommand";
|
|
229
234
|
export * from "./ListUserProficienciesCommand";
|
|
230
235
|
export * from "./ListUsersCommand";
|
|
231
236
|
export * from "./ListViewVersionsCommand";
|
|
@@ -251,6 +256,7 @@ export * from "./SearchEmailAddressesCommand";
|
|
|
251
256
|
export * from "./SearchEvaluationFormsCommand";
|
|
252
257
|
export * from "./SearchHoursOfOperationOverridesCommand";
|
|
253
258
|
export * from "./SearchHoursOfOperationsCommand";
|
|
259
|
+
export * from "./SearchNotificationsCommand";
|
|
254
260
|
export * from "./SearchPredefinedAttributesCommand";
|
|
255
261
|
export * from "./SearchPromptsCommand";
|
|
256
262
|
export * from "./SearchQueuesCommand";
|
|
@@ -315,6 +321,7 @@ export * from "./UpdateHoursOfOperationCommand";
|
|
|
315
321
|
export * from "./UpdateHoursOfOperationOverrideCommand";
|
|
316
322
|
export * from "./UpdateInstanceAttributeCommand";
|
|
317
323
|
export * from "./UpdateInstanceStorageConfigCommand";
|
|
324
|
+
export * from "./UpdateNotificationContentCommand";
|
|
318
325
|
export * from "./UpdateParticipantAuthenticationCommand";
|
|
319
326
|
export * from "./UpdateParticipantRoleConfigCommand";
|
|
320
327
|
export * from "./UpdatePhoneNumberCommand";
|
|
@@ -344,6 +351,7 @@ export * from "./UpdateUserHierarchyCommand";
|
|
|
344
351
|
export * from "./UpdateUserHierarchyGroupNameCommand";
|
|
345
352
|
export * from "./UpdateUserHierarchyStructureCommand";
|
|
346
353
|
export * from "./UpdateUserIdentityInfoCommand";
|
|
354
|
+
export * from "./UpdateUserNotificationStatusCommand";
|
|
347
355
|
export * from "./UpdateUserPhoneConfigCommand";
|
|
348
356
|
export * from "./UpdateUserProficienciesCommand";
|
|
349
357
|
export * from "./UpdateUserRoutingProfileCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -403,6 +403,23 @@ export const SourceType = {
|
|
|
403
403
|
SALESFORCE: "SALESFORCE",
|
|
404
404
|
ZENDESK: "ZENDESK",
|
|
405
405
|
};
|
|
406
|
+
export const LocaleCode = {
|
|
407
|
+
DeDE: "de_DE",
|
|
408
|
+
EnUS: "en_US",
|
|
409
|
+
EsES: "es_ES",
|
|
410
|
+
FrFR: "fr_FR",
|
|
411
|
+
IdID: "id_ID",
|
|
412
|
+
ItIT: "it_IT",
|
|
413
|
+
JaJP: "ja_JP",
|
|
414
|
+
KoKR: "ko_KR",
|
|
415
|
+
PtBR: "pt_BR",
|
|
416
|
+
ZhCN: "zh_CN",
|
|
417
|
+
ZhTW: "zh_TW",
|
|
418
|
+
};
|
|
419
|
+
export const ConfigurableNotificationPriority = {
|
|
420
|
+
High: "HIGH",
|
|
421
|
+
Low: "LOW",
|
|
422
|
+
};
|
|
406
423
|
export const ParticipantRole = {
|
|
407
424
|
AGENT: "AGENT",
|
|
408
425
|
CUSTOMER: "CUSTOMER",
|
|
@@ -675,6 +692,11 @@ export const InstanceAttributeType = {
|
|
|
675
692
|
OUTBOUND_CALLS: "OUTBOUND_CALLS",
|
|
676
693
|
USE_CUSTOM_TTS_VOICES: "USE_CUSTOM_TTS_VOICES",
|
|
677
694
|
};
|
|
695
|
+
export const NotificationPriority = {
|
|
696
|
+
High: "HIGH",
|
|
697
|
+
Low: "LOW",
|
|
698
|
+
Urgent: "URGENT",
|
|
699
|
+
};
|
|
678
700
|
export const PhoneNumberCountryCode = {
|
|
679
701
|
AD: "AD",
|
|
680
702
|
AE: "AE",
|
|
@@ -1096,6 +1118,16 @@ export const ExecutionRecordStatus = {
|
|
|
1096
1118
|
PASSED: "PASSED",
|
|
1097
1119
|
STOPPED: "STOPPED",
|
|
1098
1120
|
};
|
|
1121
|
+
export const NotificationStatus = {
|
|
1122
|
+
Hidden: "HIDDEN",
|
|
1123
|
+
Read: "READ",
|
|
1124
|
+
Unread: "UNREAD",
|
|
1125
|
+
};
|
|
1126
|
+
export const NotificationSource = {
|
|
1127
|
+
Customer: "CUSTOMER",
|
|
1128
|
+
Rules: "RULES",
|
|
1129
|
+
System: "SYSTEM",
|
|
1130
|
+
};
|
|
1099
1131
|
export const ContactRecordingType = {
|
|
1100
1132
|
AGENT: "AGENT",
|
|
1101
1133
|
IVR: "IVR",
|