@aws-sdk/client-connect 3.701.0 → 3.709.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 (62) hide show
  1. package/README.md +18 -2
  2. package/dist-cjs/index.js +186 -63
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/CreateContactCommand.js +1 -1
  5. package/dist-es/commands/CreatePushNotificationRegistrationCommand.js +22 -0
  6. package/dist-es/commands/DeletePushNotificationRegistrationCommand.js +22 -0
  7. package/dist-es/commands/index.js +2 -0
  8. package/dist-es/models/models_0.js +11 -0
  9. package/dist-es/models/models_1.js +0 -16
  10. package/dist-es/models/models_2.js +24 -5
  11. package/dist-es/models/models_3.js +5 -0
  12. package/dist-es/protocols/Aws_restJson1.js +62 -0
  13. package/dist-types/Connect.d.ts +16 -2
  14. package/dist-types/ConnectClient.d.ts +6 -4
  15. package/dist-types/commands/AssociateFlowCommand.d.ts +1 -1
  16. package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +2 -2
  17. package/dist-types/commands/CreateContactCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
  20. package/dist-types/commands/CreatePushNotificationRegistrationCommand.d.ts +101 -0
  21. package/dist-types/commands/DeletePushNotificationRegistrationCommand.d.ts +86 -0
  22. package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteViewCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteViewVersionCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteVocabularyCommand.d.ts +1 -2
  26. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -2
  27. package/dist-types/commands/DisassociateFlowCommand.d.ts +1 -1
  28. package/dist-types/commands/GetFlowAssociationCommand.d.ts +2 -2
  29. package/dist-types/commands/ImportPhoneNumberCommand.d.ts +2 -3
  30. package/dist-types/commands/ListFlowAssociationsCommand.d.ts +2 -2
  31. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
  32. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -0
  33. package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +2 -2
  34. package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -0
  35. package/dist-types/commands/StartOutboundChatContactCommand.d.ts +2 -2
  36. package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -0
  37. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -0
  38. package/dist-types/commands/UpdateContactCommand.d.ts +21 -0
  39. package/dist-types/commands/index.d.ts +2 -0
  40. package/dist-types/index.d.ts +2 -2
  41. package/dist-types/models/models_0.d.ts +142 -81
  42. package/dist-types/models/models_1.d.ts +202 -171
  43. package/dist-types/models/models_2.d.ts +215 -400
  44. package/dist-types/models/models_3.d.ts +430 -3
  45. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  46. package/dist-types/ts3.4/Connect.d.ts +46 -0
  47. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  48. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/CreatePushNotificationRegistrationCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/DeletePushNotificationRegistrationCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +4 -2
  56. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +34 -19
  58. package/dist-types/ts3.4/models/models_1.d.ts +19 -43
  59. package/dist-types/ts3.4/models/models_2.d.ts +65 -89
  60. package/dist-types/ts3.4/models/models_3.d.ts +92 -6
  61. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  62. package/package.json +35 -35
@@ -4,20 +4,26 @@ import {
4
4
  AgentStatusSearchFilter,
5
5
  Campaign,
6
6
  Channel,
7
+ ContactFlowStatus,
8
+ ContactFlowType,
7
9
  ContactInitiationMethod,
8
10
  Endpoint,
9
11
  EvaluationFormScoringStrategy,
12
+ InitiateAs,
10
13
  Reference,
11
14
  StringCondition,
15
+ UserInfo,
12
16
  } from "./models_0";
13
17
  import {
14
18
  AnsweringMachineDetectionStatus,
15
19
  AttributeCondition,
20
+ ContactFlowState,
16
21
  Customer,
17
22
  CustomerVoiceActivity,
18
23
  DisconnectDetails,
19
24
  EndpointInfo,
20
25
  Evaluation,
26
+ EvaluationFormVersionStatus,
21
27
  Expiry,
22
28
  QualityMetrics,
23
29
  QueueInfo,
@@ -25,18 +31,12 @@ import {
25
31
  WisdomInfo,
26
32
  } from "./models_1";
27
33
  import {
28
- AgentStatusSearchCriteria,
29
34
  ChatMessage,
30
- ContactFlowModuleSearchCriteria,
31
35
  ContactFlowModuleSearchFilter,
32
- ContactFlowSearchCriteria,
33
36
  ContactFlowSearchFilter,
34
37
  EmailAddressInfo,
35
- EmailAddressSearchCriteria,
36
38
  EmailAddressSearchFilter,
37
39
  EmailAttachment,
38
- EvaluationForm,
39
- EvaluationFormContent,
40
40
  EvaluationFormItem,
41
41
  HierarchyGroupCondition,
42
42
  HoursOfOperationSearchFilter,
@@ -46,6 +46,7 @@ import {
46
46
  ParticipantDetails,
47
47
  PersistentChat,
48
48
  PromptSearchFilter,
49
+ QueueInfoInput,
49
50
  QueueSearchFilter,
50
51
  QuickConnectSearchFilter,
51
52
  RoutingCriteriaInputStepExpiry,
@@ -56,6 +57,84 @@ import {
56
57
  UserHierarchyGroupSearchFilter,
57
58
  UserSearchFilter,
58
59
  } from "./models_2";
60
+ export interface EvaluationFormSection {
61
+ Title: string | undefined;
62
+ RefId: string | undefined;
63
+ Instructions?: string | undefined;
64
+ Items: EvaluationFormItem[] | undefined;
65
+ Weight?: number | undefined;
66
+ }
67
+ export interface AgentStatusSearchCriteria {
68
+ OrConditions?: AgentStatusSearchCriteria[] | undefined;
69
+ AndConditions?: AgentStatusSearchCriteria[] | undefined;
70
+ StringCondition?: StringCondition | undefined;
71
+ }
72
+ export interface ContactFlowModuleSearchCriteria {
73
+ OrConditions?: ContactFlowModuleSearchCriteria[] | undefined;
74
+ AndConditions?: ContactFlowModuleSearchCriteria[] | undefined;
75
+ StringCondition?: StringCondition | undefined;
76
+ }
77
+ export interface ContactFlowSearchCriteria {
78
+ OrConditions?: ContactFlowSearchCriteria[] | undefined;
79
+ AndConditions?: ContactFlowSearchCriteria[] | undefined;
80
+ StringCondition?: StringCondition | undefined;
81
+ TypeCondition?: ContactFlowType | undefined;
82
+ StateCondition?: ContactFlowState | undefined;
83
+ StatusCondition?: ContactFlowStatus | undefined;
84
+ }
85
+ export interface CreateContactRequest {
86
+ InstanceId: string | undefined;
87
+ ClientToken?: string | undefined;
88
+ RelatedContactId?: string | undefined;
89
+ Attributes?: Record<string, string> | undefined;
90
+ References?: Record<string, Reference> | undefined;
91
+ Channel: Channel | undefined;
92
+ InitiationMethod: ContactInitiationMethod | undefined;
93
+ ExpiryDurationInMinutes?: number | undefined;
94
+ UserInfo?: UserInfo | undefined;
95
+ InitiateAs?: InitiateAs | undefined;
96
+ Name?: string | undefined;
97
+ Description?: string | undefined;
98
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
99
+ }
100
+ export interface CreateEvaluationFormRequest {
101
+ InstanceId: string | undefined;
102
+ Title: string | undefined;
103
+ Description?: string | undefined;
104
+ Items: EvaluationFormItem[] | undefined;
105
+ ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
106
+ ClientToken?: string | undefined;
107
+ }
108
+ export interface EmailAddressSearchCriteria {
109
+ OrConditions?: EmailAddressSearchCriteria[] | undefined;
110
+ AndConditions?: EmailAddressSearchCriteria[] | undefined;
111
+ StringCondition?: StringCondition | undefined;
112
+ }
113
+ export interface EvaluationForm {
114
+ EvaluationFormId: string | undefined;
115
+ EvaluationFormVersion: number | undefined;
116
+ Locked: boolean | undefined;
117
+ EvaluationFormArn: string | undefined;
118
+ Title: string | undefined;
119
+ Description?: string | undefined;
120
+ Status: EvaluationFormVersionStatus | undefined;
121
+ Items: EvaluationFormItem[] | undefined;
122
+ ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
123
+ CreatedTime: Date | undefined;
124
+ CreatedBy: string | undefined;
125
+ LastModifiedTime: Date | undefined;
126
+ LastModifiedBy: string | undefined;
127
+ Tags?: Record<string, string> | undefined;
128
+ }
129
+ export interface EvaluationFormContent {
130
+ EvaluationFormVersion: number | undefined;
131
+ EvaluationFormId: string | undefined;
132
+ EvaluationFormArn: string | undefined;
133
+ Title: string | undefined;
134
+ Description?: string | undefined;
135
+ Items: EvaluationFormItem[] | undefined;
136
+ ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
137
+ }
59
138
  export interface Expression {
60
139
  AttributeCondition?: AttributeCondition | undefined;
61
140
  AndExpression?: Expression[] | undefined;
@@ -162,6 +241,10 @@ export interface UpdateContactRequest {
162
241
  Description?: string | undefined;
163
242
  References?: Record<string, Reference> | undefined;
164
243
  SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
244
+ QueueInfo?: QueueInfoInput | undefined;
245
+ UserInfo?: UserInfo | undefined;
246
+ CustomerEndpoint?: Endpoint | undefined;
247
+ SystemEndpoint?: Endpoint | undefined;
165
248
  }
166
249
  export interface UpdateEvaluationFormRequest {
167
250
  InstanceId: string | undefined;
@@ -348,6 +431,9 @@ export interface Contact {
348
431
  export interface DescribeContactResponse {
349
432
  Contact?: Contact | undefined;
350
433
  }
434
+ export declare const CreateContactRequestFilterSensitiveLog: (
435
+ obj: CreateContactRequest
436
+ ) => any;
351
437
  export declare const StartEmailContactRequestFilterSensitiveLog: (
352
438
  obj: StartEmailContactRequest
353
439
  ) => any;
@@ -147,6 +147,10 @@ import {
147
147
  CreatePromptCommandInput,
148
148
  CreatePromptCommandOutput,
149
149
  } from "../commands/CreatePromptCommand";
150
+ import {
151
+ CreatePushNotificationRegistrationCommandInput,
152
+ CreatePushNotificationRegistrationCommandOutput,
153
+ } from "../commands/CreatePushNotificationRegistrationCommand";
150
154
  import {
151
155
  CreateQueueCommandInput,
152
156
  CreateQueueCommandOutput,
@@ -247,6 +251,10 @@ import {
247
251
  DeletePromptCommandInput,
248
252
  DeletePromptCommandOutput,
249
253
  } from "../commands/DeletePromptCommand";
254
+ import {
255
+ DeletePushNotificationRegistrationCommandInput,
256
+ DeletePushNotificationRegistrationCommandOutput,
257
+ } from "../commands/DeletePushNotificationRegistrationCommand";
250
258
  import {
251
259
  DeleteQueueCommandInput,
252
260
  DeleteQueueCommandOutput,
@@ -1227,6 +1235,10 @@ export declare const se_CreatePromptCommand: (
1227
1235
  input: CreatePromptCommandInput,
1228
1236
  context: __SerdeContext
1229
1237
  ) => Promise<__HttpRequest>;
1238
+ export declare const se_CreatePushNotificationRegistrationCommand: (
1239
+ input: CreatePushNotificationRegistrationCommandInput,
1240
+ context: __SerdeContext
1241
+ ) => Promise<__HttpRequest>;
1230
1242
  export declare const se_CreateQueueCommand: (
1231
1243
  input: CreateQueueCommandInput,
1232
1244
  context: __SerdeContext
@@ -1327,6 +1339,10 @@ export declare const se_DeletePromptCommand: (
1327
1339
  input: DeletePromptCommandInput,
1328
1340
  context: __SerdeContext
1329
1341
  ) => Promise<__HttpRequest>;
1342
+ export declare const se_DeletePushNotificationRegistrationCommand: (
1343
+ input: DeletePushNotificationRegistrationCommandInput,
1344
+ context: __SerdeContext
1345
+ ) => Promise<__HttpRequest>;
1330
1346
  export declare const se_DeleteQueueCommand: (
1331
1347
  input: DeleteQueueCommandInput,
1332
1348
  context: __SerdeContext
@@ -2307,6 +2323,10 @@ export declare const de_CreatePromptCommand: (
2307
2323
  output: __HttpResponse,
2308
2324
  context: __SerdeContext
2309
2325
  ) => Promise<CreatePromptCommandOutput>;
2326
+ export declare const de_CreatePushNotificationRegistrationCommand: (
2327
+ output: __HttpResponse,
2328
+ context: __SerdeContext
2329
+ ) => Promise<CreatePushNotificationRegistrationCommandOutput>;
2310
2330
  export declare const de_CreateQueueCommand: (
2311
2331
  output: __HttpResponse,
2312
2332
  context: __SerdeContext
@@ -2407,6 +2427,10 @@ export declare const de_DeletePromptCommand: (
2407
2427
  output: __HttpResponse,
2408
2428
  context: __SerdeContext
2409
2429
  ) => Promise<DeletePromptCommandOutput>;
2430
+ export declare const de_DeletePushNotificationRegistrationCommand: (
2431
+ output: __HttpResponse,
2432
+ context: __SerdeContext
2433
+ ) => Promise<DeletePushNotificationRegistrationCommandOutput>;
2410
2434
  export declare const de_DeleteQueueCommand: (
2411
2435
  output: __HttpResponse,
2412
2436
  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.701.0",
4
+ "version": "3.709.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-connect",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.699.0",
24
- "@aws-sdk/client-sts": "3.699.0",
25
- "@aws-sdk/core": "3.696.0",
26
- "@aws-sdk/credential-provider-node": "3.699.0",
27
- "@aws-sdk/middleware-host-header": "3.696.0",
28
- "@aws-sdk/middleware-logger": "3.696.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.696.0",
30
- "@aws-sdk/middleware-user-agent": "3.696.0",
31
- "@aws-sdk/region-config-resolver": "3.696.0",
32
- "@aws-sdk/types": "3.696.0",
33
- "@aws-sdk/util-endpoints": "3.696.0",
34
- "@aws-sdk/util-user-agent-browser": "3.696.0",
35
- "@aws-sdk/util-user-agent-node": "3.696.0",
36
- "@smithy/config-resolver": "^3.0.12",
37
- "@smithy/core": "^2.5.3",
38
- "@smithy/fetch-http-handler": "^4.1.1",
39
- "@smithy/hash-node": "^3.0.10",
40
- "@smithy/invalid-dependency": "^3.0.10",
41
- "@smithy/middleware-content-length": "^3.0.12",
42
- "@smithy/middleware-endpoint": "^3.2.3",
43
- "@smithy/middleware-retry": "^3.0.27",
44
- "@smithy/middleware-serde": "^3.0.10",
45
- "@smithy/middleware-stack": "^3.0.10",
46
- "@smithy/node-config-provider": "^3.1.11",
47
- "@smithy/node-http-handler": "^3.3.1",
48
- "@smithy/protocol-http": "^4.1.7",
49
- "@smithy/smithy-client": "^3.4.4",
50
- "@smithy/types": "^3.7.1",
51
- "@smithy/url-parser": "^3.0.10",
23
+ "@aws-sdk/client-sso-oidc": "3.709.0",
24
+ "@aws-sdk/client-sts": "3.709.0",
25
+ "@aws-sdk/core": "3.709.0",
26
+ "@aws-sdk/credential-provider-node": "3.709.0",
27
+ "@aws-sdk/middleware-host-header": "3.709.0",
28
+ "@aws-sdk/middleware-logger": "3.709.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.709.0",
30
+ "@aws-sdk/middleware-user-agent": "3.709.0",
31
+ "@aws-sdk/region-config-resolver": "3.709.0",
32
+ "@aws-sdk/types": "3.709.0",
33
+ "@aws-sdk/util-endpoints": "3.709.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.709.0",
35
+ "@aws-sdk/util-user-agent-node": "3.709.0",
36
+ "@smithy/config-resolver": "^3.0.13",
37
+ "@smithy/core": "^2.5.5",
38
+ "@smithy/fetch-http-handler": "^4.1.2",
39
+ "@smithy/hash-node": "^3.0.11",
40
+ "@smithy/invalid-dependency": "^3.0.11",
41
+ "@smithy/middleware-content-length": "^3.0.13",
42
+ "@smithy/middleware-endpoint": "^3.2.5",
43
+ "@smithy/middleware-retry": "^3.0.30",
44
+ "@smithy/middleware-serde": "^3.0.11",
45
+ "@smithy/middleware-stack": "^3.0.11",
46
+ "@smithy/node-config-provider": "^3.1.12",
47
+ "@smithy/node-http-handler": "^3.3.2",
48
+ "@smithy/protocol-http": "^4.1.8",
49
+ "@smithy/smithy-client": "^3.5.0",
50
+ "@smithy/types": "^3.7.2",
51
+ "@smithy/url-parser": "^3.0.11",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.27",
56
- "@smithy/util-defaults-mode-node": "^3.0.27",
57
- "@smithy/util-endpoints": "^2.1.6",
58
- "@smithy/util-middleware": "^3.0.10",
59
- "@smithy/util-retry": "^3.0.10",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.30",
56
+ "@smithy/util-defaults-mode-node": "^3.0.30",
57
+ "@smithy/util-endpoints": "^2.1.7",
58
+ "@smithy/util-middleware": "^3.0.11",
59
+ "@smithy/util-retry": "^3.0.11",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",