@aws-sdk/client-connect 3.474.0 → 3.475.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 +16 -0
- package/dist-cjs/Connect.js +4 -0
- package/dist-cjs/commands/PauseContactCommand.js +51 -0
- package/dist-cjs/commands/ResumeContactCommand.js +51 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +7 -5
- package/dist-cjs/models/models_1.js +19 -6
- package/dist-cjs/models/models_2.js +6 -1
- package/dist-cjs/protocols/Aws_restJson1.js +281 -10
- package/dist-es/Connect.js +4 -0
- package/dist-es/commands/PauseContactCommand.js +47 -0
- package/dist-es/commands/ResumeContactCommand.js +47 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +6 -4
- package/dist-es/models/models_1.js +17 -5
- package/dist-es/models/models_2.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +271 -4
- package/dist-types/Connect.d.ts +14 -0
- package/dist-types/ConnectClient.d.ts +4 -2
- package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateRuleCommand.d.ts +30 -2
- package/dist-types/commands/DescribeContactCommand.d.ts +5 -0
- package/dist-types/commands/DescribePromptCommand.d.ts +2 -1
- package/dist-types/commands/DescribeQueueCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleCommand.d.ts +30 -2
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListRulesCommand.d.ts +3 -3
- package/dist-types/commands/PauseContactCommand.d.ts +97 -0
- package/dist-types/commands/ResumeContactCommand.d.ts +94 -0
- package/dist-types/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +9 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +29 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +132 -149
- package/dist-types/models/models_1.d.ts +225 -307
- package/dist-types/models/models_2.d.ts +336 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Connect.d.ts +34 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeQueueCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PauseContactCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ResumeContactCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -37
- package/dist-types/ts3.4/models/models_1.d.ts +56 -65
- package/dist-types/ts3.4/models/models_2.d.ts +72 -5
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
|
@@ -10,9 +10,12 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
10
10
|
}
|
|
11
11
|
export declare const ActionType: {
|
|
12
12
|
readonly ASSIGN_CONTACT_CATEGORY: "ASSIGN_CONTACT_CATEGORY";
|
|
13
|
+
readonly CREATE_CASE: "CREATE_CASE";
|
|
13
14
|
readonly CREATE_TASK: "CREATE_TASK";
|
|
15
|
+
readonly END_ASSOCIATED_TASKS: "END_ASSOCIATED_TASKS";
|
|
14
16
|
readonly GENERATE_EVENTBRIDGE_EVENT: "GENERATE_EVENTBRIDGE_EVENT";
|
|
15
17
|
readonly SEND_NOTIFICATION: "SEND_NOTIFICATION";
|
|
18
|
+
readonly UPDATE_CASE: "UPDATE_CASE";
|
|
16
19
|
};
|
|
17
20
|
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
|
18
21
|
export interface ActionSummary {
|
|
@@ -128,6 +131,7 @@ export interface AgentContactReference {
|
|
|
128
131
|
export interface AgentInfo {
|
|
129
132
|
Id?: string;
|
|
130
133
|
ConnectedToAgentTimestamp?: Date;
|
|
134
|
+
AgentPauseDurationInSeconds?: number;
|
|
131
135
|
}
|
|
132
136
|
export declare const AgentStatusState: {
|
|
133
137
|
readonly DISABLED: "DISABLED";
|
|
@@ -818,6 +822,7 @@ export declare const IntegrationType: {
|
|
|
818
822
|
export type IntegrationType =
|
|
819
823
|
(typeof IntegrationType)[keyof typeof IntegrationType];
|
|
820
824
|
export declare const SourceType: {
|
|
825
|
+
readonly CASES: "CASES";
|
|
821
826
|
readonly SALESFORCE: "SALESFORCE";
|
|
822
827
|
readonly ZENDESK: "ZENDESK";
|
|
823
828
|
};
|
|
@@ -970,6 +975,22 @@ export interface CreateRoutingProfileResponse {
|
|
|
970
975
|
RoutingProfileId?: string;
|
|
971
976
|
}
|
|
972
977
|
export interface AssignContactCategoryActionDefinition {}
|
|
978
|
+
export interface EmptyFieldValue {}
|
|
979
|
+
export interface FieldValueUnion {
|
|
980
|
+
BooleanValue?: boolean;
|
|
981
|
+
DoubleValue?: number;
|
|
982
|
+
EmptyValue?: EmptyFieldValue;
|
|
983
|
+
StringValue?: string;
|
|
984
|
+
}
|
|
985
|
+
export interface FieldValue {
|
|
986
|
+
Id: string | undefined;
|
|
987
|
+
Value: FieldValueUnion | undefined;
|
|
988
|
+
}
|
|
989
|
+
export interface CreateCaseActionDefinition {
|
|
990
|
+
Fields: FieldValue[] | undefined;
|
|
991
|
+
TemplateId: string | undefined;
|
|
992
|
+
}
|
|
993
|
+
export interface EndAssociatedTasksActionDefinition {}
|
|
973
994
|
export interface EventBridgeActionDefinition {
|
|
974
995
|
Name: string | undefined;
|
|
975
996
|
}
|
|
@@ -1013,12 +1034,18 @@ export interface TaskActionDefinition {
|
|
|
1013
1034
|
ContactFlowId: string | undefined;
|
|
1014
1035
|
References?: Record<string, Reference>;
|
|
1015
1036
|
}
|
|
1037
|
+
export interface UpdateCaseActionDefinition {
|
|
1038
|
+
Fields: FieldValue[] | undefined;
|
|
1039
|
+
}
|
|
1016
1040
|
export interface RuleAction {
|
|
1017
1041
|
ActionType: ActionType | undefined;
|
|
1018
1042
|
TaskAction?: TaskActionDefinition;
|
|
1019
1043
|
EventBridgeAction?: EventBridgeActionDefinition;
|
|
1020
1044
|
AssignContactCategoryAction?: AssignContactCategoryActionDefinition;
|
|
1021
1045
|
SendNotificationAction?: SendNotificationActionDefinition;
|
|
1046
|
+
CreateCaseAction?: CreateCaseActionDefinition;
|
|
1047
|
+
UpdateCaseAction?: UpdateCaseActionDefinition;
|
|
1048
|
+
EndAssociatedTasksAction?: EndAssociatedTasksActionDefinition;
|
|
1022
1049
|
}
|
|
1023
1050
|
export declare const RulePublishStatus: {
|
|
1024
1051
|
readonly DRAFT: "DRAFT";
|
|
@@ -1027,6 +1054,8 @@ export declare const RulePublishStatus: {
|
|
|
1027
1054
|
export type RulePublishStatus =
|
|
1028
1055
|
(typeof RulePublishStatus)[keyof typeof RulePublishStatus];
|
|
1029
1056
|
export declare const EventSourceName: {
|
|
1057
|
+
readonly OnCaseCreate: "OnCaseCreate";
|
|
1058
|
+
readonly OnCaseUpdate: "OnCaseUpdate";
|
|
1030
1059
|
readonly OnContactEvaluationSubmit: "OnContactEvaluationSubmit";
|
|
1031
1060
|
readonly OnMetricDataUpdate: "OnMetricDataUpdate";
|
|
1032
1061
|
readonly OnPostCallAnalysisAvailable: "OnPostCallAnalysisAvailable";
|
|
@@ -1486,6 +1515,10 @@ export interface Contact {
|
|
|
1486
1515
|
InitiationTimestamp?: Date;
|
|
1487
1516
|
DisconnectTimestamp?: Date;
|
|
1488
1517
|
LastUpdateTimestamp?: Date;
|
|
1518
|
+
LastPausedTimestamp?: Date;
|
|
1519
|
+
LastResumedTimestamp?: Date;
|
|
1520
|
+
TotalPauseCount?: number;
|
|
1521
|
+
TotalPauseDurationInSeconds?: number;
|
|
1489
1522
|
ScheduledTimestamp?: Date;
|
|
1490
1523
|
RelatedContactId?: string;
|
|
1491
1524
|
WisdomInfo?: WisdomInfo;
|
|
@@ -2013,43 +2046,6 @@ export interface DescribePromptRequest {
|
|
|
2013
2046
|
InstanceId: string | undefined;
|
|
2014
2047
|
PromptId: string | undefined;
|
|
2015
2048
|
}
|
|
2016
|
-
export interface Prompt {
|
|
2017
|
-
PromptARN?: string;
|
|
2018
|
-
PromptId?: string;
|
|
2019
|
-
Name?: string;
|
|
2020
|
-
Description?: string;
|
|
2021
|
-
Tags?: Record<string, string>;
|
|
2022
|
-
LastModifiedTime?: Date;
|
|
2023
|
-
LastModifiedRegion?: string;
|
|
2024
|
-
}
|
|
2025
|
-
export interface DescribePromptResponse {
|
|
2026
|
-
Prompt?: Prompt;
|
|
2027
|
-
}
|
|
2028
|
-
export interface DescribeQueueRequest {
|
|
2029
|
-
InstanceId: string | undefined;
|
|
2030
|
-
QueueId: string | undefined;
|
|
2031
|
-
}
|
|
2032
|
-
export declare const QueueStatus: {
|
|
2033
|
-
readonly DISABLED: "DISABLED";
|
|
2034
|
-
readonly ENABLED: "ENABLED";
|
|
2035
|
-
};
|
|
2036
|
-
export type QueueStatus = (typeof QueueStatus)[keyof typeof QueueStatus];
|
|
2037
|
-
export interface Queue {
|
|
2038
|
-
Name?: string;
|
|
2039
|
-
QueueArn?: string;
|
|
2040
|
-
QueueId?: string;
|
|
2041
|
-
Description?: string;
|
|
2042
|
-
OutboundCallerConfig?: OutboundCallerConfig;
|
|
2043
|
-
HoursOfOperationId?: string;
|
|
2044
|
-
MaxContacts?: number;
|
|
2045
|
-
Status?: QueueStatus;
|
|
2046
|
-
Tags?: Record<string, string>;
|
|
2047
|
-
LastModifiedTime?: Date;
|
|
2048
|
-
LastModifiedRegion?: string;
|
|
2049
|
-
}
|
|
2050
|
-
export interface DescribeQueueResponse {
|
|
2051
|
-
Queue?: Queue;
|
|
2052
|
-
}
|
|
2053
2049
|
export declare const CreateInstanceRequestFilterSensitiveLog: (
|
|
2054
2050
|
obj: CreateInstanceRequest
|
|
2055
2051
|
) => any;
|
|
@@ -34,11 +34,10 @@ import {
|
|
|
34
34
|
ListFlowAssociationResourceType,
|
|
35
35
|
MediaConcurrency,
|
|
36
36
|
MonitorCapability,
|
|
37
|
+
OutboundCallerConfig,
|
|
37
38
|
ParticipantRole,
|
|
38
39
|
PhoneNumberCountryCode,
|
|
39
40
|
PhoneNumberType,
|
|
40
|
-
Prompt,
|
|
41
|
-
Queue,
|
|
42
41
|
QueueReference,
|
|
43
42
|
QuickConnectConfig,
|
|
44
43
|
QuickConnectType,
|
|
@@ -61,6 +60,43 @@ import {
|
|
|
61
60
|
VocabularyLanguageCode,
|
|
62
61
|
VocabularyState,
|
|
63
62
|
} from "./models_0";
|
|
63
|
+
export interface Prompt {
|
|
64
|
+
PromptARN?: string;
|
|
65
|
+
PromptId?: string;
|
|
66
|
+
Name?: string;
|
|
67
|
+
Description?: string;
|
|
68
|
+
Tags?: Record<string, string>;
|
|
69
|
+
LastModifiedTime?: Date;
|
|
70
|
+
LastModifiedRegion?: string;
|
|
71
|
+
}
|
|
72
|
+
export interface DescribePromptResponse {
|
|
73
|
+
Prompt?: Prompt;
|
|
74
|
+
}
|
|
75
|
+
export interface DescribeQueueRequest {
|
|
76
|
+
InstanceId: string | undefined;
|
|
77
|
+
QueueId: string | undefined;
|
|
78
|
+
}
|
|
79
|
+
export declare const QueueStatus: {
|
|
80
|
+
readonly DISABLED: "DISABLED";
|
|
81
|
+
readonly ENABLED: "ENABLED";
|
|
82
|
+
};
|
|
83
|
+
export type QueueStatus = (typeof QueueStatus)[keyof typeof QueueStatus];
|
|
84
|
+
export interface Queue {
|
|
85
|
+
Name?: string;
|
|
86
|
+
QueueArn?: string;
|
|
87
|
+
QueueId?: string;
|
|
88
|
+
Description?: string;
|
|
89
|
+
OutboundCallerConfig?: OutboundCallerConfig;
|
|
90
|
+
HoursOfOperationId?: string;
|
|
91
|
+
MaxContacts?: number;
|
|
92
|
+
Status?: QueueStatus;
|
|
93
|
+
Tags?: Record<string, string>;
|
|
94
|
+
LastModifiedTime?: Date;
|
|
95
|
+
LastModifiedRegion?: string;
|
|
96
|
+
}
|
|
97
|
+
export interface DescribeQueueResponse {
|
|
98
|
+
Queue?: Queue;
|
|
99
|
+
}
|
|
64
100
|
export interface DescribeQuickConnectRequest {
|
|
65
101
|
InstanceId: string | undefined;
|
|
66
102
|
QuickConnectId: string | undefined;
|
|
@@ -1660,6 +1696,18 @@ export interface MonitorContactResponse {
|
|
|
1660
1696
|
ContactId?: string;
|
|
1661
1697
|
ContactArn?: string;
|
|
1662
1698
|
}
|
|
1699
|
+
export declare class ConflictException extends __BaseException {
|
|
1700
|
+
readonly name: "ConflictException";
|
|
1701
|
+
readonly $fault: "client";
|
|
1702
|
+
Message?: string;
|
|
1703
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
1704
|
+
}
|
|
1705
|
+
export interface PauseContactRequest {
|
|
1706
|
+
ContactId: string | undefined;
|
|
1707
|
+
InstanceId: string | undefined;
|
|
1708
|
+
ContactFlowId?: string;
|
|
1709
|
+
}
|
|
1710
|
+
export interface PauseContactResponse {}
|
|
1663
1711
|
export interface PutUserStatusRequest {
|
|
1664
1712
|
UserId: string | undefined;
|
|
1665
1713
|
InstanceId: string | undefined;
|
|
@@ -1680,6 +1728,12 @@ export interface ReplicateInstanceResponse {
|
|
|
1680
1728
|
Id?: string;
|
|
1681
1729
|
Arn?: string;
|
|
1682
1730
|
}
|
|
1731
|
+
export interface ResumeContactRequest {
|
|
1732
|
+
ContactId: string | undefined;
|
|
1733
|
+
InstanceId: string | undefined;
|
|
1734
|
+
ContactFlowId?: string;
|
|
1735
|
+
}
|
|
1736
|
+
export interface ResumeContactResponse {}
|
|
1683
1737
|
export interface ResumeContactRecordingRequest {
|
|
1684
1738
|
InstanceId: string | undefined;
|
|
1685
1739
|
ContactId: string | undefined;
|
|
@@ -1824,69 +1878,6 @@ export declare const HierarchyGroupMatchType: {
|
|
|
1824
1878
|
};
|
|
1825
1879
|
export type HierarchyGroupMatchType =
|
|
1826
1880
|
(typeof HierarchyGroupMatchType)[keyof typeof HierarchyGroupMatchType];
|
|
1827
|
-
export interface HierarchyGroupCondition {
|
|
1828
|
-
Value?: string;
|
|
1829
|
-
HierarchyGroupMatchType?: HierarchyGroupMatchType;
|
|
1830
|
-
}
|
|
1831
|
-
export interface UserSearchFilter {
|
|
1832
|
-
TagFilter?: ControlPlaneTagFilter;
|
|
1833
|
-
}
|
|
1834
|
-
export interface UserIdentityInfoLite {
|
|
1835
|
-
FirstName?: string;
|
|
1836
|
-
LastName?: string;
|
|
1837
|
-
}
|
|
1838
|
-
export interface UserSearchSummary {
|
|
1839
|
-
Arn?: string;
|
|
1840
|
-
DirectoryUserId?: string;
|
|
1841
|
-
HierarchyGroupId?: string;
|
|
1842
|
-
Id?: string;
|
|
1843
|
-
IdentityInfo?: UserIdentityInfoLite;
|
|
1844
|
-
PhoneConfig?: UserPhoneConfig;
|
|
1845
|
-
RoutingProfileId?: string;
|
|
1846
|
-
SecurityProfileIds?: string[];
|
|
1847
|
-
Tags?: Record<string, string>;
|
|
1848
|
-
Username?: string;
|
|
1849
|
-
}
|
|
1850
|
-
export interface SearchUsersResponse {
|
|
1851
|
-
Users?: UserSearchSummary[];
|
|
1852
|
-
NextToken?: string;
|
|
1853
|
-
ApproximateTotalCount?: number;
|
|
1854
|
-
}
|
|
1855
|
-
export interface SearchVocabulariesRequest {
|
|
1856
|
-
InstanceId: string | undefined;
|
|
1857
|
-
MaxResults?: number;
|
|
1858
|
-
NextToken?: string;
|
|
1859
|
-
State?: VocabularyState;
|
|
1860
|
-
NameStartsWith?: string;
|
|
1861
|
-
LanguageCode?: VocabularyLanguageCode;
|
|
1862
|
-
}
|
|
1863
|
-
export interface VocabularySummary {
|
|
1864
|
-
Name: string | undefined;
|
|
1865
|
-
Id: string | undefined;
|
|
1866
|
-
Arn: string | undefined;
|
|
1867
|
-
LanguageCode: VocabularyLanguageCode | undefined;
|
|
1868
|
-
State: VocabularyState | undefined;
|
|
1869
|
-
LastModifiedTime: Date | undefined;
|
|
1870
|
-
FailureReason?: string;
|
|
1871
|
-
}
|
|
1872
|
-
export interface SearchVocabulariesResponse {
|
|
1873
|
-
VocabularySummaryList?: VocabularySummary[];
|
|
1874
|
-
NextToken?: string;
|
|
1875
|
-
}
|
|
1876
|
-
export declare const ChatEventType: {
|
|
1877
|
-
readonly DISCONNECT: "DISCONNECT";
|
|
1878
|
-
readonly EVENT: "EVENT";
|
|
1879
|
-
readonly MESSAGE: "MESSAGE";
|
|
1880
|
-
};
|
|
1881
|
-
export type ChatEventType = (typeof ChatEventType)[keyof typeof ChatEventType];
|
|
1882
|
-
export interface ChatEvent {
|
|
1883
|
-
Type: ChatEventType | undefined;
|
|
1884
|
-
ContentType?: string;
|
|
1885
|
-
Content?: string;
|
|
1886
|
-
}
|
|
1887
|
-
export interface ParticipantDetails {
|
|
1888
|
-
DisplayName: string | undefined;
|
|
1889
|
-
}
|
|
1890
1881
|
export declare const DescribeViewResponseFilterSensitiveLog: (
|
|
1891
1882
|
obj: DescribeViewResponse
|
|
1892
1883
|
) => any;
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
InstanceStorageResourceType,
|
|
21
21
|
MediaConcurrency,
|
|
22
22
|
OutboundCallerConfig,
|
|
23
|
-
QueueStatus,
|
|
24
23
|
QuickConnectConfig,
|
|
25
24
|
Reference,
|
|
26
25
|
RehydrationType,
|
|
@@ -36,14 +35,16 @@ import {
|
|
|
36
35
|
View,
|
|
37
36
|
ViewInputContent,
|
|
38
37
|
ViewStatus,
|
|
38
|
+
VocabularyLanguageCode,
|
|
39
|
+
VocabularyState,
|
|
39
40
|
} from "./models_0";
|
|
40
41
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
ControlPlaneTagFilter,
|
|
43
|
+
HierarchyGroupMatchType,
|
|
43
44
|
HoursOfOperationSearchFilter,
|
|
44
|
-
ParticipantDetails,
|
|
45
45
|
PromptSearchFilter,
|
|
46
46
|
QueueSearchFilter,
|
|
47
|
+
QueueStatus,
|
|
47
48
|
QuickConnectSearchFilter,
|
|
48
49
|
RoutingProfileSearchFilter,
|
|
49
50
|
SearchableQueueType,
|
|
@@ -51,8 +52,70 @@ import {
|
|
|
51
52
|
SignInConfig,
|
|
52
53
|
StringCondition,
|
|
53
54
|
TelephonyConfig,
|
|
54
|
-
UserSearchFilter,
|
|
55
55
|
} from "./models_1";
|
|
56
|
+
export interface HierarchyGroupCondition {
|
|
57
|
+
Value?: string;
|
|
58
|
+
HierarchyGroupMatchType?: HierarchyGroupMatchType;
|
|
59
|
+
}
|
|
60
|
+
export interface UserSearchFilter {
|
|
61
|
+
TagFilter?: ControlPlaneTagFilter;
|
|
62
|
+
}
|
|
63
|
+
export interface UserIdentityInfoLite {
|
|
64
|
+
FirstName?: string;
|
|
65
|
+
LastName?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface UserSearchSummary {
|
|
68
|
+
Arn?: string;
|
|
69
|
+
DirectoryUserId?: string;
|
|
70
|
+
HierarchyGroupId?: string;
|
|
71
|
+
Id?: string;
|
|
72
|
+
IdentityInfo?: UserIdentityInfoLite;
|
|
73
|
+
PhoneConfig?: UserPhoneConfig;
|
|
74
|
+
RoutingProfileId?: string;
|
|
75
|
+
SecurityProfileIds?: string[];
|
|
76
|
+
Tags?: Record<string, string>;
|
|
77
|
+
Username?: string;
|
|
78
|
+
}
|
|
79
|
+
export interface SearchUsersResponse {
|
|
80
|
+
Users?: UserSearchSummary[];
|
|
81
|
+
NextToken?: string;
|
|
82
|
+
ApproximateTotalCount?: number;
|
|
83
|
+
}
|
|
84
|
+
export interface SearchVocabulariesRequest {
|
|
85
|
+
InstanceId: string | undefined;
|
|
86
|
+
MaxResults?: number;
|
|
87
|
+
NextToken?: string;
|
|
88
|
+
State?: VocabularyState;
|
|
89
|
+
NameStartsWith?: string;
|
|
90
|
+
LanguageCode?: VocabularyLanguageCode;
|
|
91
|
+
}
|
|
92
|
+
export interface VocabularySummary {
|
|
93
|
+
Name: string | undefined;
|
|
94
|
+
Id: string | undefined;
|
|
95
|
+
Arn: string | undefined;
|
|
96
|
+
LanguageCode: VocabularyLanguageCode | undefined;
|
|
97
|
+
State: VocabularyState | undefined;
|
|
98
|
+
LastModifiedTime: Date | undefined;
|
|
99
|
+
FailureReason?: string;
|
|
100
|
+
}
|
|
101
|
+
export interface SearchVocabulariesResponse {
|
|
102
|
+
VocabularySummaryList?: VocabularySummary[];
|
|
103
|
+
NextToken?: string;
|
|
104
|
+
}
|
|
105
|
+
export declare const ChatEventType: {
|
|
106
|
+
readonly DISCONNECT: "DISCONNECT";
|
|
107
|
+
readonly EVENT: "EVENT";
|
|
108
|
+
readonly MESSAGE: "MESSAGE";
|
|
109
|
+
};
|
|
110
|
+
export type ChatEventType = (typeof ChatEventType)[keyof typeof ChatEventType];
|
|
111
|
+
export interface ChatEvent {
|
|
112
|
+
Type: ChatEventType | undefined;
|
|
113
|
+
ContentType?: string;
|
|
114
|
+
Content?: string;
|
|
115
|
+
}
|
|
116
|
+
export interface ParticipantDetails {
|
|
117
|
+
DisplayName: string | undefined;
|
|
118
|
+
}
|
|
56
119
|
export interface ChatStreamingConfiguration {
|
|
57
120
|
StreamingEndpointArn: string | undefined;
|
|
58
121
|
}
|
|
@@ -168,6 +231,10 @@ export declare const TrafficType: {
|
|
|
168
231
|
};
|
|
169
232
|
export type TrafficType = (typeof TrafficType)[keyof typeof TrafficType];
|
|
170
233
|
export interface StartOutboundVoiceContactRequest {
|
|
234
|
+
Name?: string;
|
|
235
|
+
Description?: string;
|
|
236
|
+
References?: Record<string, Reference>;
|
|
237
|
+
RelatedContactId?: string;
|
|
171
238
|
DestinationPhoneNumber: string | undefined;
|
|
172
239
|
ContactFlowId: string | undefined;
|
|
173
240
|
InstanceId: string | undefined;
|
|
@@ -619,6 +619,10 @@ import {
|
|
|
619
619
|
MonitorContactCommandInput,
|
|
620
620
|
MonitorContactCommandOutput,
|
|
621
621
|
} from "../commands/MonitorContactCommand";
|
|
622
|
+
import {
|
|
623
|
+
PauseContactCommandInput,
|
|
624
|
+
PauseContactCommandOutput,
|
|
625
|
+
} from "../commands/PauseContactCommand";
|
|
622
626
|
import {
|
|
623
627
|
PutUserStatusCommandInput,
|
|
624
628
|
PutUserStatusCommandOutput,
|
|
@@ -631,6 +635,10 @@ import {
|
|
|
631
635
|
ReplicateInstanceCommandInput,
|
|
632
636
|
ReplicateInstanceCommandOutput,
|
|
633
637
|
} from "../commands/ReplicateInstanceCommand";
|
|
638
|
+
import {
|
|
639
|
+
ResumeContactCommandInput,
|
|
640
|
+
ResumeContactCommandOutput,
|
|
641
|
+
} from "../commands/ResumeContactCommand";
|
|
634
642
|
import {
|
|
635
643
|
ResumeContactRecordingCommandInput,
|
|
636
644
|
ResumeContactRecordingCommandOutput,
|
|
@@ -1535,6 +1543,10 @@ export declare const se_MonitorContactCommand: (
|
|
|
1535
1543
|
input: MonitorContactCommandInput,
|
|
1536
1544
|
context: __SerdeContext
|
|
1537
1545
|
) => Promise<__HttpRequest>;
|
|
1546
|
+
export declare const se_PauseContactCommand: (
|
|
1547
|
+
input: PauseContactCommandInput,
|
|
1548
|
+
context: __SerdeContext
|
|
1549
|
+
) => Promise<__HttpRequest>;
|
|
1538
1550
|
export declare const se_PutUserStatusCommand: (
|
|
1539
1551
|
input: PutUserStatusCommandInput,
|
|
1540
1552
|
context: __SerdeContext
|
|
@@ -1547,6 +1559,10 @@ export declare const se_ReplicateInstanceCommand: (
|
|
|
1547
1559
|
input: ReplicateInstanceCommandInput,
|
|
1548
1560
|
context: __SerdeContext
|
|
1549
1561
|
) => Promise<__HttpRequest>;
|
|
1562
|
+
export declare const se_ResumeContactCommand: (
|
|
1563
|
+
input: ResumeContactCommandInput,
|
|
1564
|
+
context: __SerdeContext
|
|
1565
|
+
) => Promise<__HttpRequest>;
|
|
1550
1566
|
export declare const se_ResumeContactRecordingCommand: (
|
|
1551
1567
|
input: ResumeContactRecordingCommandInput,
|
|
1552
1568
|
context: __SerdeContext
|
|
@@ -2451,6 +2467,10 @@ export declare const de_MonitorContactCommand: (
|
|
|
2451
2467
|
output: __HttpResponse,
|
|
2452
2468
|
context: __SerdeContext
|
|
2453
2469
|
) => Promise<MonitorContactCommandOutput>;
|
|
2470
|
+
export declare const de_PauseContactCommand: (
|
|
2471
|
+
output: __HttpResponse,
|
|
2472
|
+
context: __SerdeContext
|
|
2473
|
+
) => Promise<PauseContactCommandOutput>;
|
|
2454
2474
|
export declare const de_PutUserStatusCommand: (
|
|
2455
2475
|
output: __HttpResponse,
|
|
2456
2476
|
context: __SerdeContext
|
|
@@ -2463,6 +2483,10 @@ export declare const de_ReplicateInstanceCommand: (
|
|
|
2463
2483
|
output: __HttpResponse,
|
|
2464
2484
|
context: __SerdeContext
|
|
2465
2485
|
) => Promise<ReplicateInstanceCommandOutput>;
|
|
2486
|
+
export declare const de_ResumeContactCommand: (
|
|
2487
|
+
output: __HttpResponse,
|
|
2488
|
+
context: __SerdeContext
|
|
2489
|
+
) => Promise<ResumeContactCommandOutput>;
|
|
2466
2490
|
export declare const de_ResumeContactRecordingCommand: (
|
|
2467
2491
|
output: __HttpResponse,
|
|
2468
2492
|
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.475.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",
|