@aws-sdk/client-connect 3.703.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.
- package/README.md +18 -2
- package/dist-cjs/index.js +158 -60
- package/dist-es/Connect.js +4 -0
- package/dist-es/commands/CreateContactCommand.js +1 -1
- package/dist-es/commands/CreatePushNotificationRegistrationCommand.js +22 -0
- package/dist-es/commands/DeletePushNotificationRegistrationCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/models/models_1.js +0 -16
- package/dist-es/models/models_2.js +16 -5
- package/dist-es/models/models_3.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +55 -0
- package/dist-types/Connect.d.ts +16 -2
- package/dist-types/ConnectClient.d.ts +6 -4
- package/dist-types/commands/CreateContactCommand.d.ts +1 -1
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/CreatePushNotificationRegistrationCommand.d.ts +101 -0
- package/dist-types/commands/DeletePushNotificationRegistrationCommand.d.ts +86 -0
- package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteViewCommand.d.ts +1 -1
- package/dist-types/commands/DeleteViewVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +1 -2
- package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -2
- package/dist-types/commands/ImportPhoneNumberCommand.d.ts +2 -3
- package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +2 -2
- package/dist-types/commands/StartOutboundChatContactCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +120 -85
- package/dist-types/models/models_1.d.ts +102 -174
- package/dist-types/models/models_2.d.ts +158 -260
- package/dist-types/models/models_3.d.ts +262 -7
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Connect.d.ts +46 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePushNotificationRegistrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePushNotificationRegistrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +28 -19
- package/dist-types/ts3.4/models/models_1.d.ts +19 -43
- package/dist-types/ts3.4/models/models_2.d.ts +46 -58
- package/dist-types/ts3.4/models/models_3.d.ts +55 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +35 -35
|
@@ -1246,6 +1246,28 @@ export interface CreatePromptResponse {
|
|
|
1246
1246
|
PromptARN?: string | undefined;
|
|
1247
1247
|
PromptId?: string | undefined;
|
|
1248
1248
|
}
|
|
1249
|
+
export interface ContactConfiguration {
|
|
1250
|
+
ContactId: string | undefined;
|
|
1251
|
+
ParticipantRole?: ParticipantRole | undefined;
|
|
1252
|
+
IncludeRawMessage?: boolean | undefined;
|
|
1253
|
+
}
|
|
1254
|
+
export declare const DeviceType: {
|
|
1255
|
+
readonly APNS: "APNS";
|
|
1256
|
+
readonly APNS_SANDBOX: "APNS_SANDBOX";
|
|
1257
|
+
readonly GCM: "GCM";
|
|
1258
|
+
};
|
|
1259
|
+
export type DeviceType = (typeof DeviceType)[keyof typeof DeviceType];
|
|
1260
|
+
export interface CreatePushNotificationRegistrationRequest {
|
|
1261
|
+
InstanceId: string | undefined;
|
|
1262
|
+
ClientToken?: string | undefined;
|
|
1263
|
+
PinpointAppArn: string | undefined;
|
|
1264
|
+
DeviceToken: string | undefined;
|
|
1265
|
+
DeviceType: DeviceType | undefined;
|
|
1266
|
+
ContactConfiguration: ContactConfiguration | undefined;
|
|
1267
|
+
}
|
|
1268
|
+
export interface CreatePushNotificationRegistrationResponse {
|
|
1269
|
+
RegistrationId: string | undefined;
|
|
1270
|
+
}
|
|
1249
1271
|
export interface OutboundCallerConfig {
|
|
1250
1272
|
OutboundCallerIdName?: string | undefined;
|
|
1251
1273
|
OutboundCallerIdNumberId?: string | undefined;
|
|
@@ -1791,6 +1813,12 @@ export interface DeletePromptRequest {
|
|
|
1791
1813
|
InstanceId: string | undefined;
|
|
1792
1814
|
PromptId: string | undefined;
|
|
1793
1815
|
}
|
|
1816
|
+
export interface DeletePushNotificationRegistrationRequest {
|
|
1817
|
+
InstanceId: string | undefined;
|
|
1818
|
+
RegistrationId: string | undefined;
|
|
1819
|
+
ContactId: string | undefined;
|
|
1820
|
+
}
|
|
1821
|
+
export interface DeletePushNotificationRegistrationResponse {}
|
|
1794
1822
|
export interface DeleteQueueRequest {
|
|
1795
1823
|
InstanceId: string | undefined;
|
|
1796
1824
|
QueueId: string | undefined;
|
|
@@ -1829,25 +1857,6 @@ export interface DeleteUserRequest {
|
|
|
1829
1857
|
InstanceId: string | undefined;
|
|
1830
1858
|
UserId: string | undefined;
|
|
1831
1859
|
}
|
|
1832
|
-
export interface DeleteUserHierarchyGroupRequest {
|
|
1833
|
-
HierarchyGroupId: string | undefined;
|
|
1834
|
-
InstanceId: string | undefined;
|
|
1835
|
-
}
|
|
1836
|
-
export interface DeleteViewRequest {
|
|
1837
|
-
InstanceId: string | undefined;
|
|
1838
|
-
ViewId: string | undefined;
|
|
1839
|
-
}
|
|
1840
|
-
export interface DeleteViewResponse {}
|
|
1841
|
-
export interface DeleteViewVersionRequest {
|
|
1842
|
-
InstanceId: string | undefined;
|
|
1843
|
-
ViewId: string | undefined;
|
|
1844
|
-
ViewVersion: number | undefined;
|
|
1845
|
-
}
|
|
1846
|
-
export interface DeleteViewVersionResponse {}
|
|
1847
|
-
export interface DeleteVocabularyRequest {
|
|
1848
|
-
InstanceId: string | undefined;
|
|
1849
|
-
VocabularyId: string | undefined;
|
|
1850
|
-
}
|
|
1851
1860
|
export declare const CreateEmailAddressRequestFilterSensitiveLog: (
|
|
1852
1861
|
obj: CreateEmailAddressRequest
|
|
1853
1862
|
) => any;
|
|
@@ -59,6 +59,25 @@ import {
|
|
|
59
59
|
VocabularyLanguageCode,
|
|
60
60
|
VocabularyState,
|
|
61
61
|
} from "./models_0";
|
|
62
|
+
export interface DeleteUserHierarchyGroupRequest {
|
|
63
|
+
HierarchyGroupId: string | undefined;
|
|
64
|
+
InstanceId: string | undefined;
|
|
65
|
+
}
|
|
66
|
+
export interface DeleteViewRequest {
|
|
67
|
+
InstanceId: string | undefined;
|
|
68
|
+
ViewId: string | undefined;
|
|
69
|
+
}
|
|
70
|
+
export interface DeleteViewResponse {}
|
|
71
|
+
export interface DeleteViewVersionRequest {
|
|
72
|
+
InstanceId: string | undefined;
|
|
73
|
+
ViewId: string | undefined;
|
|
74
|
+
ViewVersion: number | undefined;
|
|
75
|
+
}
|
|
76
|
+
export interface DeleteViewVersionResponse {}
|
|
77
|
+
export interface DeleteVocabularyRequest {
|
|
78
|
+
InstanceId: string | undefined;
|
|
79
|
+
VocabularyId: string | undefined;
|
|
80
|
+
}
|
|
62
81
|
export interface DeleteVocabularyResponse {
|
|
63
82
|
VocabularyArn: string | undefined;
|
|
64
83
|
VocabularyId: string | undefined;
|
|
@@ -2142,49 +2161,6 @@ export interface RealTimeContactAnalysisIssueDetected {
|
|
|
2142
2161
|
export interface RealTimeContactAnalysisSegmentIssues {
|
|
2143
2162
|
IssuesDetected: RealTimeContactAnalysisIssueDetected[] | undefined;
|
|
2144
2163
|
}
|
|
2145
|
-
export declare const RealTimeContactAnalysisPostContactSummaryFailureCode: {
|
|
2146
|
-
readonly FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES";
|
|
2147
|
-
readonly INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT";
|
|
2148
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
2149
|
-
readonly INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION";
|
|
2150
|
-
readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
|
|
2151
|
-
};
|
|
2152
|
-
export type RealTimeContactAnalysisPostContactSummaryFailureCode =
|
|
2153
|
-
(typeof RealTimeContactAnalysisPostContactSummaryFailureCode)[keyof typeof RealTimeContactAnalysisPostContactSummaryFailureCode];
|
|
2154
|
-
export declare const RealTimeContactAnalysisPostContactSummaryStatus: {
|
|
2155
|
-
readonly COMPLETED: "COMPLETED";
|
|
2156
|
-
readonly FAILED: "FAILED";
|
|
2157
|
-
};
|
|
2158
|
-
export type RealTimeContactAnalysisPostContactSummaryStatus =
|
|
2159
|
-
(typeof RealTimeContactAnalysisPostContactSummaryStatus)[keyof typeof RealTimeContactAnalysisPostContactSummaryStatus];
|
|
2160
|
-
export interface RealTimeContactAnalysisSegmentPostContactSummary {
|
|
2161
|
-
Content?: string | undefined;
|
|
2162
|
-
Status: RealTimeContactAnalysisPostContactSummaryStatus | undefined;
|
|
2163
|
-
FailureCode?:
|
|
2164
|
-
| RealTimeContactAnalysisPostContactSummaryFailureCode
|
|
2165
|
-
| undefined;
|
|
2166
|
-
}
|
|
2167
|
-
export interface RealTimeContactAnalysisTranscriptItemRedaction {
|
|
2168
|
-
CharacterOffsets?: RealTimeContactAnalysisCharacterInterval[] | undefined;
|
|
2169
|
-
}
|
|
2170
|
-
export declare const RealTimeContactAnalysisSentimentLabel: {
|
|
2171
|
-
readonly NEGATIVE: "NEGATIVE";
|
|
2172
|
-
readonly NEUTRAL: "NEUTRAL";
|
|
2173
|
-
readonly POSITIVE: "POSITIVE";
|
|
2174
|
-
};
|
|
2175
|
-
export type RealTimeContactAnalysisSentimentLabel =
|
|
2176
|
-
(typeof RealTimeContactAnalysisSentimentLabel)[keyof typeof RealTimeContactAnalysisSentimentLabel];
|
|
2177
|
-
export interface RealTimeContactAnalysisSegmentTranscript {
|
|
2178
|
-
Id: string | undefined;
|
|
2179
|
-
ParticipantId: string | undefined;
|
|
2180
|
-
ParticipantRole: ParticipantRole | undefined;
|
|
2181
|
-
DisplayName?: string | undefined;
|
|
2182
|
-
Content: string | undefined;
|
|
2183
|
-
ContentType?: string | undefined;
|
|
2184
|
-
Time: RealTimeContactAnalysisTimeData | undefined;
|
|
2185
|
-
Redaction?: RealTimeContactAnalysisTranscriptItemRedaction | undefined;
|
|
2186
|
-
Sentiment?: RealTimeContactAnalysisSentimentLabel | undefined;
|
|
2187
|
-
}
|
|
2188
2164
|
export declare const DescribeEmailAddressResponseFilterSensitiveLog: (
|
|
2189
2165
|
obj: DescribeEmailAddressResponse
|
|
2190
2166
|
) => any;
|
|
@@ -10,18 +10,14 @@ import {
|
|
|
10
10
|
AllowedCapabilities,
|
|
11
11
|
Application,
|
|
12
12
|
Channel,
|
|
13
|
-
ContactFlowStatus,
|
|
14
|
-
ContactFlowType,
|
|
15
13
|
ContactInitiationMethod,
|
|
16
14
|
ControlPlaneAttributeFilter,
|
|
17
15
|
CreatedByInfo,
|
|
18
16
|
EvaluationFormQuestion,
|
|
19
|
-
EvaluationFormScoringStrategy,
|
|
20
17
|
EventSourceName,
|
|
21
18
|
FileStatusType,
|
|
22
19
|
FileUseCaseType,
|
|
23
20
|
HoursOfOperationConfig,
|
|
24
|
-
InitiateAs,
|
|
25
21
|
InstanceStorageConfig,
|
|
26
22
|
InstanceStorageResourceType,
|
|
27
23
|
MediaConcurrency,
|
|
@@ -45,7 +41,6 @@ import {
|
|
|
45
41
|
TaskTemplateStatus,
|
|
46
42
|
UseCaseType,
|
|
47
43
|
UserIdentityInfo,
|
|
48
|
-
UserInfo,
|
|
49
44
|
UserPhoneConfig,
|
|
50
45
|
UserProficiency,
|
|
51
46
|
View,
|
|
@@ -73,19 +68,63 @@ import {
|
|
|
73
68
|
Queue,
|
|
74
69
|
QueueStatus,
|
|
75
70
|
QuickConnect,
|
|
71
|
+
RealTimeContactAnalysisCharacterInterval,
|
|
76
72
|
RealTimeContactAnalysisSegmentAttachments,
|
|
77
73
|
RealTimeContactAnalysisSegmentCategories,
|
|
78
74
|
RealTimeContactAnalysisSegmentEvent,
|
|
79
75
|
RealTimeContactAnalysisSegmentIssues,
|
|
80
|
-
RealTimeContactAnalysisSegmentPostContactSummary,
|
|
81
|
-
RealTimeContactAnalysisSegmentTranscript,
|
|
82
76
|
RealTimeContactAnalysisSupportedChannel,
|
|
77
|
+
RealTimeContactAnalysisTimeData,
|
|
83
78
|
RoutingProfile,
|
|
84
79
|
SignInConfig,
|
|
85
80
|
SortOrder,
|
|
86
81
|
TelephonyConfig,
|
|
87
82
|
TrafficDistributionGroupStatus,
|
|
88
83
|
} from "./models_1";
|
|
84
|
+
import { EvaluationFormSection } from "./models_3";
|
|
85
|
+
export declare const RealTimeContactAnalysisPostContactSummaryFailureCode: {
|
|
86
|
+
readonly FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES";
|
|
87
|
+
readonly INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT";
|
|
88
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
89
|
+
readonly INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION";
|
|
90
|
+
readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
|
|
91
|
+
};
|
|
92
|
+
export type RealTimeContactAnalysisPostContactSummaryFailureCode =
|
|
93
|
+
(typeof RealTimeContactAnalysisPostContactSummaryFailureCode)[keyof typeof RealTimeContactAnalysisPostContactSummaryFailureCode];
|
|
94
|
+
export declare const RealTimeContactAnalysisPostContactSummaryStatus: {
|
|
95
|
+
readonly COMPLETED: "COMPLETED";
|
|
96
|
+
readonly FAILED: "FAILED";
|
|
97
|
+
};
|
|
98
|
+
export type RealTimeContactAnalysisPostContactSummaryStatus =
|
|
99
|
+
(typeof RealTimeContactAnalysisPostContactSummaryStatus)[keyof typeof RealTimeContactAnalysisPostContactSummaryStatus];
|
|
100
|
+
export interface RealTimeContactAnalysisSegmentPostContactSummary {
|
|
101
|
+
Content?: string | undefined;
|
|
102
|
+
Status: RealTimeContactAnalysisPostContactSummaryStatus | undefined;
|
|
103
|
+
FailureCode?:
|
|
104
|
+
| RealTimeContactAnalysisPostContactSummaryFailureCode
|
|
105
|
+
| undefined;
|
|
106
|
+
}
|
|
107
|
+
export interface RealTimeContactAnalysisTranscriptItemRedaction {
|
|
108
|
+
CharacterOffsets?: RealTimeContactAnalysisCharacterInterval[] | undefined;
|
|
109
|
+
}
|
|
110
|
+
export declare const RealTimeContactAnalysisSentimentLabel: {
|
|
111
|
+
readonly NEGATIVE: "NEGATIVE";
|
|
112
|
+
readonly NEUTRAL: "NEUTRAL";
|
|
113
|
+
readonly POSITIVE: "POSITIVE";
|
|
114
|
+
};
|
|
115
|
+
export type RealTimeContactAnalysisSentimentLabel =
|
|
116
|
+
(typeof RealTimeContactAnalysisSentimentLabel)[keyof typeof RealTimeContactAnalysisSentimentLabel];
|
|
117
|
+
export interface RealTimeContactAnalysisSegmentTranscript {
|
|
118
|
+
Id: string | undefined;
|
|
119
|
+
ParticipantId: string | undefined;
|
|
120
|
+
ParticipantRole: ParticipantRole | undefined;
|
|
121
|
+
DisplayName?: string | undefined;
|
|
122
|
+
Content: string | undefined;
|
|
123
|
+
ContentType?: string | undefined;
|
|
124
|
+
Time: RealTimeContactAnalysisTimeData | undefined;
|
|
125
|
+
Redaction?: RealTimeContactAnalysisTranscriptItemRedaction | undefined;
|
|
126
|
+
Sentiment?: RealTimeContactAnalysisSentimentLabel | undefined;
|
|
127
|
+
}
|
|
89
128
|
export type RealtimeContactAnalysisSegment =
|
|
90
129
|
| RealtimeContactAnalysisSegment.AttachmentsMember
|
|
91
130
|
| RealtimeContactAnalysisSegment.CategoriesMember
|
|
@@ -1741,54 +1780,6 @@ export declare namespace EvaluationFormItem {
|
|
|
1741
1780
|
}
|
|
1742
1781
|
const visit: <T>(value: EvaluationFormItem, visitor: Visitor<T>) => T;
|
|
1743
1782
|
}
|
|
1744
|
-
export interface EvaluationFormSection {
|
|
1745
|
-
Title: string | undefined;
|
|
1746
|
-
RefId: string | undefined;
|
|
1747
|
-
Instructions?: string | undefined;
|
|
1748
|
-
Items: EvaluationFormItem[] | undefined;
|
|
1749
|
-
Weight?: number | undefined;
|
|
1750
|
-
}
|
|
1751
|
-
export interface AgentStatusSearchCriteria {
|
|
1752
|
-
OrConditions?: AgentStatusSearchCriteria[] | undefined;
|
|
1753
|
-
AndConditions?: AgentStatusSearchCriteria[] | undefined;
|
|
1754
|
-
StringCondition?: StringCondition | undefined;
|
|
1755
|
-
}
|
|
1756
|
-
export interface ContactFlowModuleSearchCriteria {
|
|
1757
|
-
OrConditions?: ContactFlowModuleSearchCriteria[] | undefined;
|
|
1758
|
-
AndConditions?: ContactFlowModuleSearchCriteria[] | undefined;
|
|
1759
|
-
StringCondition?: StringCondition | undefined;
|
|
1760
|
-
}
|
|
1761
|
-
export interface ContactFlowSearchCriteria {
|
|
1762
|
-
OrConditions?: ContactFlowSearchCriteria[] | undefined;
|
|
1763
|
-
AndConditions?: ContactFlowSearchCriteria[] | undefined;
|
|
1764
|
-
StringCondition?: StringCondition | undefined;
|
|
1765
|
-
TypeCondition?: ContactFlowType | undefined;
|
|
1766
|
-
StateCondition?: ContactFlowState | undefined;
|
|
1767
|
-
StatusCondition?: ContactFlowStatus | undefined;
|
|
1768
|
-
}
|
|
1769
|
-
export interface CreateContactRequest {
|
|
1770
|
-
InstanceId: string | undefined;
|
|
1771
|
-
ClientToken?: string | undefined;
|
|
1772
|
-
RelatedContactId?: string | undefined;
|
|
1773
|
-
Attributes?: Record<string, string> | undefined;
|
|
1774
|
-
References?: Record<string, Reference> | undefined;
|
|
1775
|
-
Channel: Channel | undefined;
|
|
1776
|
-
InitiationMethod: ContactInitiationMethod | undefined;
|
|
1777
|
-
ExpiryDurationInMinutes?: number | undefined;
|
|
1778
|
-
UserInfo?: UserInfo | undefined;
|
|
1779
|
-
InitiateAs?: InitiateAs | undefined;
|
|
1780
|
-
Name?: string | undefined;
|
|
1781
|
-
Description?: string | undefined;
|
|
1782
|
-
SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
|
|
1783
|
-
}
|
|
1784
|
-
export interface CreateEvaluationFormRequest {
|
|
1785
|
-
InstanceId: string | undefined;
|
|
1786
|
-
Title: string | undefined;
|
|
1787
|
-
Description?: string | undefined;
|
|
1788
|
-
Items: EvaluationFormItem[] | undefined;
|
|
1789
|
-
ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
|
|
1790
|
-
ClientToken?: string | undefined;
|
|
1791
|
-
}
|
|
1792
1783
|
export declare const ViewSummaryFilterSensitiveLog: (obj: ViewSummary) => any;
|
|
1793
1784
|
export declare const ListViewsResponseFilterSensitiveLog: (
|
|
1794
1785
|
obj: ListViewsResponse
|
|
@@ -1897,6 +1888,3 @@ export declare const UpdateViewContentResponseFilterSensitiveLog: (
|
|
|
1897
1888
|
export declare const UpdateViewMetadataRequestFilterSensitiveLog: (
|
|
1898
1889
|
obj: UpdateViewMetadataRequest
|
|
1899
1890
|
) => any;
|
|
1900
|
-
export declare const CreateContactRequestFilterSensitiveLog: (
|
|
1901
|
-
obj: CreateContactRequest
|
|
1902
|
-
) => any;
|
|
@@ -4,9 +4,12 @@ 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,
|
|
12
15
|
UserInfo,
|
|
@@ -14,6 +17,7 @@ import {
|
|
|
14
17
|
import {
|
|
15
18
|
AnsweringMachineDetectionStatus,
|
|
16
19
|
AttributeCondition,
|
|
20
|
+
ContactFlowState,
|
|
17
21
|
Customer,
|
|
18
22
|
CustomerVoiceActivity,
|
|
19
23
|
DisconnectDetails,
|
|
@@ -27,11 +31,8 @@ import {
|
|
|
27
31
|
WisdomInfo,
|
|
28
32
|
} from "./models_1";
|
|
29
33
|
import {
|
|
30
|
-
AgentStatusSearchCriteria,
|
|
31
34
|
ChatMessage,
|
|
32
|
-
ContactFlowModuleSearchCriteria,
|
|
33
35
|
ContactFlowModuleSearchFilter,
|
|
34
|
-
ContactFlowSearchCriteria,
|
|
35
36
|
ContactFlowSearchFilter,
|
|
36
37
|
EmailAddressInfo,
|
|
37
38
|
EmailAddressSearchFilter,
|
|
@@ -56,6 +57,54 @@ 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
|
+
}
|
|
59
108
|
export interface EmailAddressSearchCriteria {
|
|
60
109
|
OrConditions?: EmailAddressSearchCriteria[] | undefined;
|
|
61
110
|
AndConditions?: EmailAddressSearchCriteria[] | undefined;
|
|
@@ -382,6 +431,9 @@ export interface Contact {
|
|
|
382
431
|
export interface DescribeContactResponse {
|
|
383
432
|
Contact?: Contact | undefined;
|
|
384
433
|
}
|
|
434
|
+
export declare const CreateContactRequestFilterSensitiveLog: (
|
|
435
|
+
obj: CreateContactRequest
|
|
436
|
+
) => any;
|
|
385
437
|
export declare const StartEmailContactRequestFilterSensitiveLog: (
|
|
386
438
|
obj: StartEmailContactRequest
|
|
387
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.
|
|
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.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.5.
|
|
38
|
-
"@smithy/fetch-http-handler": "^4.1.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.
|
|
50
|
-
"@smithy/types": "^3.7.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
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.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
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",
|