@aws-sdk/client-connect 3.104.0 → 3.110.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 (54) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist-cjs/Connect.js +15 -0
  3. package/dist-cjs/ConnectClient.js +2 -0
  4. package/dist-cjs/commands/GetCurrentUserDataCommand.js +36 -0
  5. package/dist-cjs/commands/ListQueuesCommand.js +3 -3
  6. package/dist-cjs/commands/ListQuickConnectsCommand.js +3 -3
  7. package/dist-cjs/commands/ListRoutingProfileQueuesCommand.js +3 -3
  8. package/dist-cjs/commands/ListRoutingProfilesCommand.js +3 -3
  9. package/dist-cjs/commands/index.js +1 -0
  10. package/dist-cjs/models/models_0.js +105 -98
  11. package/dist-cjs/models/models_1.js +74 -3
  12. package/dist-cjs/pagination/GetCurrentUserDataPaginator.js +36 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_restJson1.js +244 -5
  15. package/dist-es/Connect.js +15 -0
  16. package/dist-es/ConnectClient.js +2 -0
  17. package/dist-es/commands/GetCurrentUserDataCommand.js +39 -0
  18. package/dist-es/commands/ListQueuesCommand.js +1 -1
  19. package/dist-es/commands/ListQuickConnectsCommand.js +1 -1
  20. package/dist-es/commands/ListRoutingProfileQueuesCommand.js +1 -1
  21. package/dist-es/commands/ListRoutingProfilesCommand.js +1 -1
  22. package/dist-es/commands/index.js +1 -0
  23. package/dist-es/models/models_0.js +75 -68
  24. package/dist-es/models/models_1.js +49 -0
  25. package/dist-es/pagination/GetCurrentUserDataPaginator.js +75 -0
  26. package/dist-es/pagination/index.js +1 -0
  27. package/dist-es/protocols/Aws_restJson1.js +256 -0
  28. package/dist-types/Connect.d.ts +7 -0
  29. package/dist-types/ConnectClient.d.ts +3 -2
  30. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +35 -0
  31. package/dist-types/commands/ListQueuesCommand.d.ts +1 -1
  32. package/dist-types/commands/ListQuickConnectsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +1 -1
  34. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +1 -1
  35. package/dist-types/commands/index.d.ts +1 -0
  36. package/dist-types/models/models_0.d.ts +344 -370
  37. package/dist-types/models/models_1.d.ts +266 -30
  38. package/dist-types/pagination/GetCurrentUserDataPaginator.d.ts +4 -0
  39. package/dist-types/pagination/index.d.ts +1 -0
  40. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  41. package/dist-types/ts3.4/Connect.d.ts +5 -0
  42. package/dist-types/ts3.4/ConnectClient.d.ts +3 -2
  43. package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListQuickConnectsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/ListRoutingProfileQueuesCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListRoutingProfilesCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  49. package/dist-types/ts3.4/models/models_0.d.ts +212 -253
  50. package/dist-types/ts3.4/models/models_1.d.ts +155 -28
  51. package/dist-types/ts3.4/pagination/GetCurrentUserDataPaginator.d.ts +4 -0
  52. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  53. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
  54. package/package.json +29 -28
@@ -1,6 +1,151 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { AgentStatusState, ContactFlowModuleState, ContactFlowState, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, QueueStatus, QuickConnectConfig, ReferenceType, RoutingProfileQueueConfig, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
3
+ import { AgentStatusState, Channel, ContactFlowModuleState, ContactFlowState, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, QueueStatus, QuickConnectConfig, QuickConnectSummary, QuickConnectType, ReferenceType, RoutingProfileQueueConfig, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ export declare enum QueueType {
5
+ AGENT = "AGENT",
6
+ STANDARD = "STANDARD"
7
+ }
8
+ export interface ListQueuesRequest {
9
+
10
+ InstanceId: string | undefined;
11
+
12
+ QueueTypes?: (QueueType | string)[];
13
+
14
+ NextToken?: string;
15
+
16
+ MaxResults?: number;
17
+ }
18
+ export declare namespace ListQueuesRequest {
19
+
20
+ const filterSensitiveLog: (obj: ListQueuesRequest) => any;
21
+ }
22
+
23
+ export interface QueueSummary {
24
+
25
+ Id?: string;
26
+
27
+ Arn?: string;
28
+
29
+ Name?: string;
30
+
31
+ QueueType?: QueueType | string;
32
+ }
33
+ export declare namespace QueueSummary {
34
+
35
+ const filterSensitiveLog: (obj: QueueSummary) => any;
36
+ }
37
+ export interface ListQueuesResponse {
38
+
39
+ QueueSummaryList?: QueueSummary[];
40
+
41
+ NextToken?: string;
42
+ }
43
+ export declare namespace ListQueuesResponse {
44
+
45
+ const filterSensitiveLog: (obj: ListQueuesResponse) => any;
46
+ }
47
+ export interface ListQuickConnectsRequest {
48
+
49
+ InstanceId: string | undefined;
50
+
51
+ NextToken?: string;
52
+
53
+ MaxResults?: number;
54
+
55
+ QuickConnectTypes?: (QuickConnectType | string)[];
56
+ }
57
+ export declare namespace ListQuickConnectsRequest {
58
+
59
+ const filterSensitiveLog: (obj: ListQuickConnectsRequest) => any;
60
+ }
61
+ export interface ListQuickConnectsResponse {
62
+
63
+ QuickConnectSummaryList?: QuickConnectSummary[];
64
+
65
+ NextToken?: string;
66
+ }
67
+ export declare namespace ListQuickConnectsResponse {
68
+
69
+ const filterSensitiveLog: (obj: ListQuickConnectsResponse) => any;
70
+ }
71
+ export interface ListRoutingProfileQueuesRequest {
72
+
73
+ InstanceId: string | undefined;
74
+
75
+ RoutingProfileId: string | undefined;
76
+
77
+ NextToken?: string;
78
+
79
+ MaxResults?: number;
80
+ }
81
+ export declare namespace ListRoutingProfileQueuesRequest {
82
+
83
+ const filterSensitiveLog: (obj: ListRoutingProfileQueuesRequest) => any;
84
+ }
85
+
86
+ export interface RoutingProfileQueueConfigSummary {
87
+
88
+ QueueId: string | undefined;
89
+
90
+ QueueArn: string | undefined;
91
+
92
+ QueueName: string | undefined;
93
+
94
+ Priority: number | undefined;
95
+
96
+ Delay: number | undefined;
97
+
98
+ Channel: Channel | string | undefined;
99
+ }
100
+ export declare namespace RoutingProfileQueueConfigSummary {
101
+
102
+ const filterSensitiveLog: (obj: RoutingProfileQueueConfigSummary) => any;
103
+ }
104
+ export interface ListRoutingProfileQueuesResponse {
105
+
106
+ NextToken?: string;
107
+
108
+ RoutingProfileQueueConfigSummaryList?: RoutingProfileQueueConfigSummary[];
109
+ }
110
+ export declare namespace ListRoutingProfileQueuesResponse {
111
+
112
+ const filterSensitiveLog: (obj: ListRoutingProfileQueuesResponse) => any;
113
+ }
114
+ export interface ListRoutingProfilesRequest {
115
+
116
+ InstanceId: string | undefined;
117
+
118
+ NextToken?: string;
119
+
120
+ MaxResults?: number;
121
+ }
122
+ export declare namespace ListRoutingProfilesRequest {
123
+
124
+ const filterSensitiveLog: (obj: ListRoutingProfilesRequest) => any;
125
+ }
126
+
127
+ export interface RoutingProfileSummary {
128
+
129
+ Id?: string;
130
+
131
+ Arn?: string;
132
+
133
+ Name?: string;
134
+ }
135
+ export declare namespace RoutingProfileSummary {
136
+
137
+ const filterSensitiveLog: (obj: RoutingProfileSummary) => any;
138
+ }
139
+ export interface ListRoutingProfilesResponse {
140
+
141
+ RoutingProfileSummaryList?: RoutingProfileSummary[];
142
+
143
+ NextToken?: string;
144
+ }
145
+ export declare namespace ListRoutingProfilesResponse {
146
+
147
+ const filterSensitiveLog: (obj: ListRoutingProfilesResponse) => any;
148
+ }
4
149
  export interface ListSecurityKeysRequest {
5
150
 
6
151
  InstanceId: string | undefined;
@@ -105,9 +250,7 @@ export declare namespace ListTagsForResourceRequest {
105
250
  }
106
251
  export interface ListTagsForResourceResponse {
107
252
 
108
- tags?: {
109
- [key: string]: string;
110
- };
253
+ tags?: Record<string, string>;
111
254
  }
112
255
  export declare namespace ListTagsForResourceResponse {
113
256
 
@@ -438,9 +581,7 @@ export interface UserSearchSummary {
438
581
 
439
582
  SecurityProfileIds?: string[];
440
583
 
441
- Tags?: {
442
- [key: string]: string;
443
- };
584
+ Tags?: Record<string, string>;
444
585
 
445
586
  Username?: string;
446
587
  }
@@ -535,9 +676,7 @@ export interface StartChatContactRequest {
535
676
 
536
677
  ContactFlowId: string | undefined;
537
678
 
538
- Attributes?: {
539
- [key: string]: string;
540
- };
679
+ Attributes?: Record<string, string>;
541
680
 
542
681
  ParticipantDetails: ParticipantDetails | undefined;
543
682
 
@@ -677,9 +816,7 @@ export interface StartOutboundVoiceContactRequest {
677
816
 
678
817
  QueueId?: string;
679
818
 
680
- Attributes?: {
681
- [key: string]: string;
682
- };
819
+ Attributes?: Record<string, string>;
683
820
 
684
821
  AnswerMachineDetectionConfig?: AnswerMachineDetectionConfig;
685
822
 
@@ -718,15 +855,11 @@ export interface StartTaskContactRequest {
718
855
 
719
856
  ContactFlowId?: string;
720
857
 
721
- Attributes?: {
722
- [key: string]: string;
723
- };
858
+ Attributes?: Record<string, string>;
724
859
 
725
860
  Name: string | undefined;
726
861
 
727
- References?: {
728
- [key: string]: Reference;
729
- };
862
+ References?: Record<string, Reference>;
730
863
 
731
864
  Description?: string;
732
865
 
@@ -833,9 +966,7 @@ export interface TagResourceRequest {
833
966
 
834
967
  resourceArn: string | undefined;
835
968
 
836
- tags: {
837
- [key: string]: string;
838
- } | undefined;
969
+ tags: Record<string, string> | undefined;
839
970
  }
840
971
  export declare namespace TagResourceRequest {
841
972
 
@@ -909,9 +1040,7 @@ export interface UpdateContactRequest {
909
1040
 
910
1041
  Description?: string;
911
1042
 
912
- References?: {
913
- [key: string]: Reference;
914
- };
1043
+ References?: Record<string, Reference>;
915
1044
  }
916
1045
  export declare namespace UpdateContactRequest {
917
1046
 
@@ -929,9 +1058,7 @@ export interface UpdateContactAttributesRequest {
929
1058
 
930
1059
  InstanceId: string | undefined;
931
1060
 
932
- Attributes: {
933
- [key: string]: string;
934
- } | undefined;
1061
+ Attributes: Record<string, string> | undefined;
935
1062
  }
936
1063
  export declare namespace UpdateContactAttributesRequest {
937
1064
 
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { GetCurrentUserDataCommandInput, GetCurrentUserDataCommandOutput } from "../commands/GetCurrentUserDataCommand";
3
+ import { ConnectPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateGetCurrentUserData(config: ConnectPaginationConfiguration, input: GetCurrentUserDataCommandInput, ...additionalArguments: any): Paginator<GetCurrentUserDataCommandOutput>;
@@ -1,4 +1,5 @@
1
1
  export * from "./GetCurrentMetricDataPaginator";
2
+ export * from "./GetCurrentUserDataPaginator";
2
3
  export * from "./GetMetricDataPaginator";
3
4
  export * from "./Interfaces";
4
5
  export * from "./ListAgentStatusesPaginator";
@@ -66,6 +66,7 @@ import { DisassociateRoutingProfileQueuesCommandInput, DisassociateRoutingProfil
66
66
  import { DisassociateSecurityKeyCommandInput, DisassociateSecurityKeyCommandOutput } from "../commands/DisassociateSecurityKeyCommand";
67
67
  import { GetContactAttributesCommandInput, GetContactAttributesCommandOutput } from "../commands/GetContactAttributesCommand";
68
68
  import { GetCurrentMetricDataCommandInput, GetCurrentMetricDataCommandOutput } from "../commands/GetCurrentMetricDataCommand";
69
+ import { GetCurrentUserDataCommandInput, GetCurrentUserDataCommandOutput } from "../commands/GetCurrentUserDataCommand";
69
70
  import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "../commands/GetFederationTokenCommand";
70
71
  import { GetMetricDataCommandInput, GetMetricDataCommandOutput } from "../commands/GetMetricDataCommand";
71
72
  import { GetTaskTemplateCommandInput, GetTaskTemplateCommandOutput } from "../commands/GetTaskTemplateCommand";
@@ -216,6 +217,7 @@ export declare const serializeAws_restJson1DisassociateRoutingProfileQueuesComma
216
217
  export declare const serializeAws_restJson1DisassociateSecurityKeyCommand: (input: DisassociateSecurityKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
217
218
  export declare const serializeAws_restJson1GetContactAttributesCommand: (input: GetContactAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
218
219
  export declare const serializeAws_restJson1GetCurrentMetricDataCommand: (input: GetCurrentMetricDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
220
+ export declare const serializeAws_restJson1GetCurrentUserDataCommand: (input: GetCurrentUserDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
219
221
  export declare const serializeAws_restJson1GetFederationTokenCommand: (input: GetFederationTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
220
222
  export declare const serializeAws_restJson1GetMetricDataCommand: (input: GetMetricDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
221
223
  export declare const serializeAws_restJson1GetTaskTemplateCommand: (input: GetTaskTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -366,6 +368,7 @@ export declare const deserializeAws_restJson1DisassociateRoutingProfileQueuesCom
366
368
  export declare const deserializeAws_restJson1DisassociateSecurityKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateSecurityKeyCommandOutput>;
367
369
  export declare const deserializeAws_restJson1GetContactAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetContactAttributesCommandOutput>;
368
370
  export declare const deserializeAws_restJson1GetCurrentMetricDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCurrentMetricDataCommandOutput>;
371
+ export declare const deserializeAws_restJson1GetCurrentUserDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCurrentUserDataCommandOutput>;
369
372
  export declare const deserializeAws_restJson1GetFederationTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFederationTokenCommandOutput>;
370
373
  export declare const deserializeAws_restJson1GetMetricDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMetricDataCommandOutput>;
371
374
  export declare const deserializeAws_restJson1GetTaskTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTaskTemplateCommandOutput>;
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.104.0",
4
+ "version": "3.110.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",
@@ -18,36 +18,37 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.100.0",
22
- "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.100.0",
24
- "@aws-sdk/fetch-http-handler": "3.78.0",
25
- "@aws-sdk/hash-node": "3.78.0",
26
- "@aws-sdk/invalid-dependency": "3.78.0",
27
- "@aws-sdk/middleware-content-length": "3.78.0",
28
- "@aws-sdk/middleware-host-header": "3.78.0",
29
- "@aws-sdk/middleware-logger": "3.78.0",
30
- "@aws-sdk/middleware-retry": "3.80.0",
31
- "@aws-sdk/middleware-serde": "3.78.0",
32
- "@aws-sdk/middleware-signing": "3.78.0",
33
- "@aws-sdk/middleware-stack": "3.78.0",
34
- "@aws-sdk/middleware-user-agent": "3.78.0",
35
- "@aws-sdk/node-config-provider": "3.80.0",
36
- "@aws-sdk/node-http-handler": "3.94.0",
37
- "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.99.0",
39
- "@aws-sdk/types": "3.78.0",
40
- "@aws-sdk/url-parser": "3.78.0",
41
- "@aws-sdk/util-base64-browser": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.110.0",
22
+ "@aws-sdk/config-resolver": "3.110.0",
23
+ "@aws-sdk/credential-provider-node": "3.110.0",
24
+ "@aws-sdk/fetch-http-handler": "3.110.0",
25
+ "@aws-sdk/hash-node": "3.110.0",
26
+ "@aws-sdk/invalid-dependency": "3.110.0",
27
+ "@aws-sdk/middleware-content-length": "3.110.0",
28
+ "@aws-sdk/middleware-host-header": "3.110.0",
29
+ "@aws-sdk/middleware-logger": "3.110.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
+ "@aws-sdk/middleware-retry": "3.110.0",
32
+ "@aws-sdk/middleware-serde": "3.110.0",
33
+ "@aws-sdk/middleware-signing": "3.110.0",
34
+ "@aws-sdk/middleware-stack": "3.110.0",
35
+ "@aws-sdk/middleware-user-agent": "3.110.0",
36
+ "@aws-sdk/node-config-provider": "3.110.0",
37
+ "@aws-sdk/node-http-handler": "3.110.0",
38
+ "@aws-sdk/protocol-http": "3.110.0",
39
+ "@aws-sdk/smithy-client": "3.110.0",
40
+ "@aws-sdk/types": "3.110.0",
41
+ "@aws-sdk/url-parser": "3.110.0",
42
+ "@aws-sdk/util-base64-browser": "3.109.0",
42
43
  "@aws-sdk/util-base64-node": "3.55.0",
43
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
45
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.99.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
- "@aws-sdk/util-user-agent-browser": "3.78.0",
48
- "@aws-sdk/util-user-agent-node": "3.80.0",
49
- "@aws-sdk/util-utf8-browser": "3.55.0",
50
- "@aws-sdk/util-utf8-node": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.110.0",
49
+ "@aws-sdk/util-user-agent-node": "3.110.0",
50
+ "@aws-sdk/util-utf8-browser": "3.109.0",
51
+ "@aws-sdk/util-utf8-node": "3.109.0",
51
52
  "tslib": "^2.3.1",
52
53
  "uuid": "^8.3.2"
53
54
  },