@aws-sdk/client-connect 3.438.0 → 3.441.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.
Files changed (80) hide show
  1. package/README.md +11 -3
  2. package/dist-cjs/Connect.js +2 -0
  3. package/dist-cjs/commands/BatchGetFlowAssociationCommand.js +51 -0
  4. package/dist-cjs/commands/DescribeViewCommand.js +2 -2
  5. package/dist-cjs/commands/index.js +1 -0
  6. package/dist-cjs/models/models_0.js +6 -7
  7. package/dist-cjs/models/models_1.js +7 -14
  8. package/dist-cjs/models/models_2.js +14 -1
  9. package/dist-cjs/protocols/Aws_restJson1.js +468 -34
  10. package/dist-es/Connect.js +2 -0
  11. package/dist-es/commands/BatchGetFlowAssociationCommand.js +47 -0
  12. package/dist-es/commands/DescribeViewCommand.js +1 -1
  13. package/dist-es/commands/index.js +1 -0
  14. package/dist-es/models/models_0.js +4 -4
  15. package/dist-es/models/models_1.js +5 -13
  16. package/dist-es/models/models_2.js +13 -0
  17. package/dist-es/protocols/Aws_restJson1.js +457 -25
  18. package/dist-types/Connect.d.ts +10 -3
  19. package/dist-types/ConnectClient.d.ts +6 -5
  20. package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +101 -0
  21. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +2 -1
  22. package/dist-types/commands/CreateViewCommand.d.ts +5 -7
  23. package/dist-types/commands/CreateViewVersionCommand.d.ts +3 -3
  24. package/dist-types/commands/DeleteViewCommand.d.ts +1 -2
  25. package/dist-types/commands/DescribeAgentStatusCommand.d.ts +2 -0
  26. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +2 -0
  27. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -0
  28. package/dist-types/commands/DescribePromptCommand.d.ts +2 -0
  29. package/dist-types/commands/DescribeQueueCommand.d.ts +2 -0
  30. package/dist-types/commands/DescribeQuickConnectCommand.d.ts +2 -0
  31. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +3 -0
  32. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +2 -0
  33. package/dist-types/commands/DescribeUserCommand.d.ts +2 -0
  34. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +12 -0
  35. package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +12 -1
  36. package/dist-types/commands/DescribeViewCommand.d.ts +5 -5
  37. package/dist-types/commands/GetPromptFileCommand.d.ts +2 -0
  38. package/dist-types/commands/ListAgentStatusesCommand.d.ts +2 -0
  39. package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +2 -0
  40. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +2 -0
  41. package/dist-types/commands/ListPromptsCommand.d.ts +2 -0
  42. package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +4 -0
  43. package/dist-types/commands/ListQueuesCommand.d.ts +2 -0
  44. package/dist-types/commands/ListQuickConnectsCommand.d.ts +2 -0
  45. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +2 -0
  46. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +2 -0
  47. package/dist-types/commands/ListSecurityProfileApplicationsCommand.d.ts +3 -1
  48. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +2 -0
  49. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +2 -0
  50. package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +2 -0
  51. package/dist-types/commands/ListUsersCommand.d.ts +2 -0
  52. package/dist-types/commands/ListViewVersionsCommand.d.ts +1 -2
  53. package/dist-types/commands/ReplicateInstanceCommand.d.ts +3 -1
  54. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +3 -1
  55. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -1
  56. package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +2 -0
  57. package/dist-types/commands/SearchPromptsCommand.d.ts +2 -0
  58. package/dist-types/commands/SearchQueuesCommand.d.ts +2 -0
  59. package/dist-types/commands/SearchQuickConnectsCommand.d.ts +2 -0
  60. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +3 -0
  61. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +5 -3
  62. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +2 -1
  63. package/dist-types/commands/UpdateViewContentCommand.d.ts +4 -6
  64. package/dist-types/commands/index.d.ts +1 -0
  65. package/dist-types/index.d.ts +3 -3
  66. package/dist-types/models/models_0.d.ts +231 -107
  67. package/dist-types/models/models_1.d.ts +242 -129
  68. package/dist-types/models/models_2.d.ts +116 -14
  69. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  70. package/dist-types/ts3.4/Connect.d.ts +17 -0
  71. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  72. package/dist-types/ts3.4/commands/BatchGetFlowAssociationCommand.d.ts +42 -0
  73. package/dist-types/ts3.4/commands/DescribeUserHierarchyStructureCommand.d.ts +2 -4
  74. package/dist-types/ts3.4/commands/DescribeViewCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  76. package/dist-types/ts3.4/models/models_0.d.ts +47 -21
  77. package/dist-types/ts3.4/models/models_1.d.ts +50 -41
  78. package/dist-types/ts3.4/models/models_2.d.ts +44 -2
  79. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  80. package/package.json +4 -4
@@ -24,6 +24,7 @@ import {
24
24
  EvaluationStatus,
25
25
  EventSourceName,
26
26
  HierarchyGroupSummary,
27
+ HierarchyLevel,
27
28
  HoursOfOperation,
28
29
  HoursOfOperationConfig,
29
30
  InstanceAttributeType,
@@ -54,11 +55,29 @@ import {
54
55
  TrafficDistributionGroupStatus,
55
56
  UseCaseType,
56
57
  UserPhoneConfig,
58
+ View,
57
59
  ViewStatus,
58
60
  ViewType,
59
61
  VocabularyLanguageCode,
60
62
  VocabularyState,
61
63
  } from "./models_0";
64
+ export interface HierarchyStructure {
65
+ LevelOne?: HierarchyLevel;
66
+ LevelTwo?: HierarchyLevel;
67
+ LevelThree?: HierarchyLevel;
68
+ LevelFour?: HierarchyLevel;
69
+ LevelFive?: HierarchyLevel;
70
+ }
71
+ export interface DescribeUserHierarchyStructureResponse {
72
+ HierarchyStructure?: HierarchyStructure;
73
+ }
74
+ export interface DescribeViewRequest {
75
+ InstanceId: string | undefined;
76
+ ViewId: string | undefined;
77
+ }
78
+ export interface DescribeViewResponse {
79
+ View?: View;
80
+ }
62
81
  export interface DescribeVocabularyRequest {
63
82
  InstanceId: string | undefined;
64
83
  VocabularyId: string | undefined;
@@ -424,6 +443,8 @@ export interface GetPromptFileRequest {
424
443
  }
425
444
  export interface GetPromptFileResponse {
426
445
  PromptPresignedUrl?: string;
446
+ LastModifiedTime?: Date;
447
+ LastModifiedRegion?: string;
427
448
  }
428
449
  export interface GetTaskTemplateRequest {
429
450
  InstanceId: string | undefined;
@@ -748,6 +769,8 @@ export interface HoursOfOperationSummary {
748
769
  Id?: string;
749
770
  Arn?: string;
750
771
  Name?: string;
772
+ LastModifiedTime?: Date;
773
+ LastModifiedRegion?: string;
751
774
  }
752
775
  export interface ListHoursOfOperationsResponse {
753
776
  HoursOfOperationSummaryList?: HoursOfOperationSummary[];
@@ -850,6 +873,7 @@ export interface ListPhoneNumbersResponse {
850
873
  }
851
874
  export interface ListPhoneNumbersV2Request {
852
875
  TargetArn?: string;
876
+ InstanceId?: string;
853
877
  MaxResults?: number;
854
878
  NextToken?: string;
855
879
  PhoneNumberCountryCodes?: PhoneNumberCountryCode[];
@@ -863,6 +887,7 @@ export interface ListPhoneNumbersSummary {
863
887
  PhoneNumberCountryCode?: PhoneNumberCountryCode;
864
888
  PhoneNumberType?: PhoneNumberType;
865
889
  TargetArn?: string;
890
+ InstanceId?: string;
866
891
  }
867
892
  export interface ListPhoneNumbersV2Response {
868
893
  NextToken?: string;
@@ -877,6 +902,8 @@ export interface PromptSummary {
877
902
  Id?: string;
878
903
  Arn?: string;
879
904
  Name?: string;
905
+ LastModifiedTime?: Date;
906
+ LastModifiedRegion?: string;
880
907
  }
881
908
  export interface ListPromptsResponse {
882
909
  PromptSummaryList?: PromptSummary[];
@@ -893,10 +920,14 @@ export interface QuickConnectSummary {
893
920
  Arn?: string;
894
921
  Name?: string;
895
922
  QuickConnectType?: QuickConnectType;
923
+ LastModifiedTime?: Date;
924
+ LastModifiedRegion?: string;
896
925
  }
897
926
  export interface ListQueueQuickConnectsResponse {
898
927
  NextToken?: string;
899
928
  QuickConnectSummaryList?: QuickConnectSummary[];
929
+ LastModifiedTime?: Date;
930
+ LastModifiedRegion?: string;
900
931
  }
901
932
  export declare const QueueType: {
902
933
  readonly AGENT: "AGENT";
@@ -914,6 +945,8 @@ export interface QueueSummary {
914
945
  Arn?: string;
915
946
  Name?: string;
916
947
  QueueType?: QueueType;
948
+ LastModifiedTime?: Date;
949
+ LastModifiedRegion?: string;
917
950
  }
918
951
  export interface ListQueuesResponse {
919
952
  QueueSummaryList?: QueueSummary[];
@@ -946,6 +979,8 @@ export interface RoutingProfileQueueConfigSummary {
946
979
  export interface ListRoutingProfileQueuesResponse {
947
980
  NextToken?: string;
948
981
  RoutingProfileQueueConfigSummaryList?: RoutingProfileQueueConfigSummary[];
982
+ LastModifiedTime?: Date;
983
+ LastModifiedRegion?: string;
949
984
  }
950
985
  export interface ListRoutingProfilesRequest {
951
986
  InstanceId: string | undefined;
@@ -956,6 +991,8 @@ export interface RoutingProfileSummary {
956
991
  Id?: string;
957
992
  Arn?: string;
958
993
  Name?: string;
994
+ LastModifiedTime?: Date;
995
+ LastModifiedRegion?: string;
959
996
  }
960
997
  export interface ListRoutingProfilesResponse {
961
998
  RoutingProfileSummaryList?: RoutingProfileSummary[];
@@ -1005,6 +1042,8 @@ export interface ListSecurityProfileApplicationsRequest {
1005
1042
  export interface ListSecurityProfileApplicationsResponse {
1006
1043
  Applications?: Application[];
1007
1044
  NextToken?: string;
1045
+ LastModifiedTime?: Date;
1046
+ LastModifiedRegion?: string;
1008
1047
  }
1009
1048
  export interface ListSecurityProfilePermissionsRequest {
1010
1049
  SecurityProfileId: string | undefined;
@@ -1015,6 +1054,8 @@ export interface ListSecurityProfilePermissionsRequest {
1015
1054
  export interface ListSecurityProfilePermissionsResponse {
1016
1055
  Permissions?: string[];
1017
1056
  NextToken?: string;
1057
+ LastModifiedTime?: Date;
1058
+ LastModifiedRegion?: string;
1018
1059
  }
1019
1060
  export interface ListSecurityProfilesRequest {
1020
1061
  InstanceId: string | undefined;
@@ -1025,6 +1066,8 @@ export interface SecurityProfileSummary {
1025
1066
  Id?: string;
1026
1067
  Arn?: string;
1027
1068
  Name?: string;
1069
+ LastModifiedTime?: Date;
1070
+ LastModifiedRegion?: string;
1028
1071
  }
1029
1072
  export interface ListSecurityProfilesResponse {
1030
1073
  SecurityProfileSummaryList?: SecurityProfileSummary[];
@@ -1118,6 +1161,8 @@ export interface UserSummary {
1118
1161
  Id?: string;
1119
1162
  Arn?: string;
1120
1163
  Username?: string;
1164
+ LastModifiedTime?: Date;
1165
+ LastModifiedRegion?: string;
1121
1166
  }
1122
1167
  export interface ListUsersResponse {
1123
1168
  UserSummaryList?: UserSummary[];
@@ -1198,7 +1243,8 @@ export interface ResumeContactRecordingRequest {
1198
1243
  }
1199
1244
  export interface ResumeContactRecordingResponse {}
1200
1245
  export interface SearchAvailablePhoneNumbersRequest {
1201
- TargetArn: string | undefined;
1246
+ TargetArn?: string;
1247
+ InstanceId?: string;
1202
1248
  PhoneNumberCountryCode: PhoneNumberCountryCode | undefined;
1203
1249
  PhoneNumberType: PhoneNumberType | undefined;
1204
1250
  PhoneNumberPrefix?: string;
@@ -1691,46 +1737,9 @@ export declare const ParticipantTimerType: {
1691
1737
  };
1692
1738
  export type ParticipantTimerType =
1693
1739
  (typeof ParticipantTimerType)[keyof typeof ParticipantTimerType];
1694
- export declare const ParticipantTimerAction: {
1695
- readonly Unset: "Unset";
1696
- };
1697
- export type ParticipantTimerAction =
1698
- (typeof ParticipantTimerAction)[keyof typeof ParticipantTimerAction];
1699
- export type ParticipantTimerValue =
1700
- | ParticipantTimerValue.ParticipantTimerActionMember
1701
- | ParticipantTimerValue.ParticipantTimerDurationInMinutesMember
1702
- | ParticipantTimerValue.$UnknownMember;
1703
- export declare namespace ParticipantTimerValue {
1704
- interface ParticipantTimerActionMember {
1705
- ParticipantTimerAction: ParticipantTimerAction;
1706
- ParticipantTimerDurationInMinutes?: never;
1707
- $unknown?: never;
1708
- }
1709
- interface ParticipantTimerDurationInMinutesMember {
1710
- ParticipantTimerAction?: never;
1711
- ParticipantTimerDurationInMinutes: number;
1712
- $unknown?: never;
1713
- }
1714
- interface $UnknownMember {
1715
- ParticipantTimerAction?: never;
1716
- ParticipantTimerDurationInMinutes?: never;
1717
- $unknown: [string, any];
1718
- }
1719
- interface Visitor<T> {
1720
- ParticipantTimerAction: (value: ParticipantTimerAction) => T;
1721
- ParticipantTimerDurationInMinutes: (value: number) => T;
1722
- _: (name: string, value: any) => T;
1723
- }
1724
- const visit: <T>(value: ParticipantTimerValue, visitor: Visitor<T>) => T;
1725
- }
1726
- export interface ParticipantTimerConfiguration {
1727
- ParticipantRole: TimerEligibleParticipantRoles | undefined;
1728
- TimerType: ParticipantTimerType | undefined;
1729
- TimerValue: ParticipantTimerValue | undefined;
1730
- }
1731
- export interface ChatParticipantRoleConfig {
1732
- ParticipantTimerConfigList: ParticipantTimerConfiguration[] | undefined;
1733
- }
1740
+ export declare const DescribeViewResponseFilterSensitiveLog: (
1741
+ obj: DescribeViewResponse
1742
+ ) => any;
1734
1743
  export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
1735
1744
  export declare const GetFederationTokenResponseFilterSensitiveLog: (
1736
1745
  obj: GetFederationTokenResponse
@@ -24,9 +24,9 @@ import {
24
24
  ViewStatus,
25
25
  } from "./models_0";
26
26
  import {
27
- ChatParticipantRoleConfig,
28
27
  HierarchyGroupCondition,
29
28
  HoursOfOperationSearchFilter,
29
+ ParticipantTimerType,
30
30
  PromptSearchFilter,
31
31
  QueueSearchFilter,
32
32
  QuickConnectSearchFilter,
@@ -36,8 +36,49 @@ import {
36
36
  SignInConfig,
37
37
  StringCondition,
38
38
  TelephonyConfig,
39
+ TimerEligibleParticipantRoles,
39
40
  UserSearchFilter,
40
41
  } from "./models_1";
42
+ export declare const ParticipantTimerAction: {
43
+ readonly Unset: "Unset";
44
+ };
45
+ export type ParticipantTimerAction =
46
+ (typeof ParticipantTimerAction)[keyof typeof ParticipantTimerAction];
47
+ export type ParticipantTimerValue =
48
+ | ParticipantTimerValue.ParticipantTimerActionMember
49
+ | ParticipantTimerValue.ParticipantTimerDurationInMinutesMember
50
+ | ParticipantTimerValue.$UnknownMember;
51
+ export declare namespace ParticipantTimerValue {
52
+ interface ParticipantTimerActionMember {
53
+ ParticipantTimerAction: ParticipantTimerAction;
54
+ ParticipantTimerDurationInMinutes?: never;
55
+ $unknown?: never;
56
+ }
57
+ interface ParticipantTimerDurationInMinutesMember {
58
+ ParticipantTimerAction?: never;
59
+ ParticipantTimerDurationInMinutes: number;
60
+ $unknown?: never;
61
+ }
62
+ interface $UnknownMember {
63
+ ParticipantTimerAction?: never;
64
+ ParticipantTimerDurationInMinutes?: never;
65
+ $unknown: [string, any];
66
+ }
67
+ interface Visitor<T> {
68
+ ParticipantTimerAction: (value: ParticipantTimerAction) => T;
69
+ ParticipantTimerDurationInMinutes: (value: number) => T;
70
+ _: (name: string, value: any) => T;
71
+ }
72
+ const visit: <T>(value: ParticipantTimerValue, visitor: Visitor<T>) => T;
73
+ }
74
+ export interface ParticipantTimerConfiguration {
75
+ ParticipantRole: TimerEligibleParticipantRoles | undefined;
76
+ TimerType: ParticipantTimerType | undefined;
77
+ TimerValue: ParticipantTimerValue | undefined;
78
+ }
79
+ export interface ChatParticipantRoleConfig {
80
+ ParticipantTimerConfigList: ParticipantTimerConfiguration[] | undefined;
81
+ }
41
82
  export type UpdateParticipantRoleConfigChannelInfo =
42
83
  | UpdateParticipantRoleConfigChannelInfo.ChatMember
43
84
  | UpdateParticipantRoleConfigChannelInfo.$UnknownMember;
@@ -67,7 +108,8 @@ export interface UpdateParticipantRoleConfigRequest {
67
108
  export interface UpdateParticipantRoleConfigResponse {}
68
109
  export interface UpdatePhoneNumberRequest {
69
110
  PhoneNumberId: string | undefined;
70
- TargetArn: string | undefined;
111
+ TargetArn?: string;
112
+ InstanceId?: string;
71
113
  ClientToken?: string;
72
114
  }
73
115
  export interface UpdatePhoneNumberResponse {
@@ -51,6 +51,10 @@ import {
51
51
  AssociateTrafficDistributionGroupUserCommandInput,
52
52
  AssociateTrafficDistributionGroupUserCommandOutput,
53
53
  } from "../commands/AssociateTrafficDistributionGroupUserCommand";
54
+ import {
55
+ BatchGetFlowAssociationCommandInput,
56
+ BatchGetFlowAssociationCommandOutput,
57
+ } from "../commands/BatchGetFlowAssociationCommand";
54
58
  import {
55
59
  ClaimPhoneNumberCommandInput,
56
60
  ClaimPhoneNumberCommandOutput,
@@ -895,6 +899,10 @@ export declare const se_AssociateTrafficDistributionGroupUserCommand: (
895
899
  input: AssociateTrafficDistributionGroupUserCommandInput,
896
900
  context: __SerdeContext
897
901
  ) => Promise<__HttpRequest>;
902
+ export declare const se_BatchGetFlowAssociationCommand: (
903
+ input: BatchGetFlowAssociationCommandInput,
904
+ context: __SerdeContext
905
+ ) => Promise<__HttpRequest>;
898
906
  export declare const se_ClaimPhoneNumberCommand: (
899
907
  input: ClaimPhoneNumberCommandInput,
900
908
  context: __SerdeContext
@@ -1739,6 +1747,10 @@ export declare const de_AssociateTrafficDistributionGroupUserCommand: (
1739
1747
  output: __HttpResponse,
1740
1748
  context: __SerdeContext
1741
1749
  ) => Promise<AssociateTrafficDistributionGroupUserCommandOutput>;
1750
+ export declare const de_BatchGetFlowAssociationCommand: (
1751
+ output: __HttpResponse,
1752
+ context: __SerdeContext
1753
+ ) => Promise<BatchGetFlowAssociationCommandOutput>;
1742
1754
  export declare const de_ClaimPhoneNumberCommand: (
1743
1755
  output: __HttpResponse,
1744
1756
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.438.0",
4
+ "version": "3.441.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.438.0",
25
- "@aws-sdk/core": "3.436.0",
26
- "@aws-sdk/credential-provider-node": "3.438.0",
24
+ "@aws-sdk/client-sts": "3.441.0",
25
+ "@aws-sdk/core": "3.441.0",
26
+ "@aws-sdk/credential-provider-node": "3.441.0",
27
27
  "@aws-sdk/middleware-host-header": "3.433.0",
28
28
  "@aws-sdk/middleware-logger": "3.433.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.433.0",