@aws-sdk/client-connect 3.316.0 → 3.319.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 +8 -0
- package/dist-cjs/Connect.js +2 -0
- package/dist-cjs/commands/CreateParticipantCommand.js +45 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +8 -6
- package/dist-cjs/models/models_1.js +5 -1
- package/dist-cjs/protocols/Aws_restJson1.js +81 -7
- package/dist-es/Connect.js +2 -0
- package/dist-es/commands/CreateParticipantCommand.js +41 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +6 -4
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +72 -0
- package/dist-types/Connect.d.ts +7 -0
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/CreateParticipantCommand.d.ts +88 -0
- package/dist-types/commands/ListAgentStatusesCommand.d.ts +2 -1
- package/dist-types/commands/ListApprovedOriginsCommand.d.ts +1 -1
- package/dist-types/commands/ListBotsCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +97 -86
- package/dist-types/models/models_1.d.ts +91 -14
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Connect.d.ts +17 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CreateParticipantCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAgentStatusesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListApprovedOriginsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +26 -24
- package/dist-types/ts3.4/models/models_1.d.ts +25 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +5 -5
|
@@ -494,6 +494,32 @@ export interface CreateIntegrationAssociationResponse {
|
|
|
494
494
|
IntegrationAssociationId?: string;
|
|
495
495
|
IntegrationAssociationArn?: string;
|
|
496
496
|
}
|
|
497
|
+
export declare const ParticipantRole: {
|
|
498
|
+
readonly AGENT: "AGENT";
|
|
499
|
+
readonly CUSTOMER: "CUSTOMER";
|
|
500
|
+
readonly CUSTOM_BOT: "CUSTOM_BOT";
|
|
501
|
+
readonly SYSTEM: "SYSTEM";
|
|
502
|
+
};
|
|
503
|
+
export type ParticipantRole =
|
|
504
|
+
(typeof ParticipantRole)[keyof typeof ParticipantRole];
|
|
505
|
+
export interface ParticipantDetailsToAdd {
|
|
506
|
+
ParticipantRole?: ParticipantRole | string;
|
|
507
|
+
DisplayName?: string;
|
|
508
|
+
}
|
|
509
|
+
export interface CreateParticipantRequest {
|
|
510
|
+
InstanceId: string | undefined;
|
|
511
|
+
ContactId: string | undefined;
|
|
512
|
+
ClientToken?: string;
|
|
513
|
+
ParticipantDetails: ParticipantDetailsToAdd | undefined;
|
|
514
|
+
}
|
|
515
|
+
export interface ParticipantTokenCredentials {
|
|
516
|
+
ParticipantToken?: string;
|
|
517
|
+
Expiry?: string;
|
|
518
|
+
}
|
|
519
|
+
export interface CreateParticipantResponse {
|
|
520
|
+
ParticipantCredentials?: ParticipantTokenCredentials;
|
|
521
|
+
ParticipantId?: string;
|
|
522
|
+
}
|
|
497
523
|
export interface OutboundCallerConfig {
|
|
498
524
|
OutboundCallerIdName?: string;
|
|
499
525
|
OutboundCallerIdNumberId?: string;
|
|
@@ -1954,30 +1980,6 @@ export interface ListAgentStatusRequest {
|
|
|
1954
1980
|
MaxResults?: number;
|
|
1955
1981
|
AgentStatusTypes?: (AgentStatusType | string)[];
|
|
1956
1982
|
}
|
|
1957
|
-
export interface ListAgentStatusResponse {
|
|
1958
|
-
NextToken?: string;
|
|
1959
|
-
AgentStatusSummaryList?: AgentStatusSummary[];
|
|
1960
|
-
}
|
|
1961
|
-
export interface ListApprovedOriginsRequest {
|
|
1962
|
-
InstanceId: string | undefined;
|
|
1963
|
-
NextToken?: string;
|
|
1964
|
-
MaxResults?: number;
|
|
1965
|
-
}
|
|
1966
|
-
export interface ListApprovedOriginsResponse {
|
|
1967
|
-
Origins?: string[];
|
|
1968
|
-
NextToken?: string;
|
|
1969
|
-
}
|
|
1970
|
-
export declare const LexVersion: {
|
|
1971
|
-
readonly V1: "V1";
|
|
1972
|
-
readonly V2: "V2";
|
|
1973
|
-
};
|
|
1974
|
-
export type LexVersion = (typeof LexVersion)[keyof typeof LexVersion];
|
|
1975
|
-
export interface ListBotsRequest {
|
|
1976
|
-
InstanceId: string | undefined;
|
|
1977
|
-
NextToken?: string;
|
|
1978
|
-
MaxResults?: number;
|
|
1979
|
-
LexVersion: LexVersion | string | undefined;
|
|
1980
|
-
}
|
|
1981
1983
|
export declare const CreateInstanceRequestFilterSensitiveLog: (
|
|
1982
1984
|
obj: CreateInstanceRequest
|
|
1983
1985
|
) => any;
|
|
@@ -3,6 +3,7 @@ import { ConnectServiceException as __BaseException } from "./ConnectServiceExce
|
|
|
3
3
|
import {
|
|
4
4
|
ActionSummary,
|
|
5
5
|
AgentStatusState,
|
|
6
|
+
AgentStatusSummary,
|
|
6
7
|
Attribute,
|
|
7
8
|
Channel,
|
|
8
9
|
ContactFlowModuleState,
|
|
@@ -47,6 +48,30 @@ import {
|
|
|
47
48
|
VocabularyLanguageCode,
|
|
48
49
|
VocabularyState,
|
|
49
50
|
} from "./models_0";
|
|
51
|
+
export interface ListAgentStatusResponse {
|
|
52
|
+
NextToken?: string;
|
|
53
|
+
AgentStatusSummaryList?: AgentStatusSummary[];
|
|
54
|
+
}
|
|
55
|
+
export interface ListApprovedOriginsRequest {
|
|
56
|
+
InstanceId: string | undefined;
|
|
57
|
+
NextToken?: string;
|
|
58
|
+
MaxResults?: number;
|
|
59
|
+
}
|
|
60
|
+
export interface ListApprovedOriginsResponse {
|
|
61
|
+
Origins?: string[];
|
|
62
|
+
NextToken?: string;
|
|
63
|
+
}
|
|
64
|
+
export declare const LexVersion: {
|
|
65
|
+
readonly V1: "V1";
|
|
66
|
+
readonly V2: "V2";
|
|
67
|
+
};
|
|
68
|
+
export type LexVersion = (typeof LexVersion)[keyof typeof LexVersion];
|
|
69
|
+
export interface ListBotsRequest {
|
|
70
|
+
InstanceId: string | undefined;
|
|
71
|
+
NextToken?: string;
|
|
72
|
+
MaxResults?: number;
|
|
73
|
+
LexVersion: LexVersion | string | undefined;
|
|
74
|
+
}
|
|
50
75
|
export interface LexBotConfig {
|
|
51
76
|
LexBot?: LexBot;
|
|
52
77
|
LexV2Bot?: LexV2Bot;
|
|
@@ -71,6 +71,10 @@ import {
|
|
|
71
71
|
CreateIntegrationAssociationCommandInput,
|
|
72
72
|
CreateIntegrationAssociationCommandOutput,
|
|
73
73
|
} from "../commands/CreateIntegrationAssociationCommand";
|
|
74
|
+
import {
|
|
75
|
+
CreateParticipantCommandInput,
|
|
76
|
+
CreateParticipantCommandOutput,
|
|
77
|
+
} from "../commands/CreateParticipantCommand";
|
|
74
78
|
import {
|
|
75
79
|
CreateQueueCommandInput,
|
|
76
80
|
CreateQueueCommandOutput,
|
|
@@ -751,6 +755,10 @@ export declare const se_CreateIntegrationAssociationCommand: (
|
|
|
751
755
|
input: CreateIntegrationAssociationCommandInput,
|
|
752
756
|
context: __SerdeContext
|
|
753
757
|
) => Promise<__HttpRequest>;
|
|
758
|
+
export declare const se_CreateParticipantCommand: (
|
|
759
|
+
input: CreateParticipantCommandInput,
|
|
760
|
+
context: __SerdeContext
|
|
761
|
+
) => Promise<__HttpRequest>;
|
|
754
762
|
export declare const se_CreateQueueCommand: (
|
|
755
763
|
input: CreateQueueCommandInput,
|
|
756
764
|
context: __SerdeContext
|
|
@@ -1431,6 +1439,10 @@ export declare const de_CreateIntegrationAssociationCommand: (
|
|
|
1431
1439
|
output: __HttpResponse,
|
|
1432
1440
|
context: __SerdeContext
|
|
1433
1441
|
) => Promise<CreateIntegrationAssociationCommandOutput>;
|
|
1442
|
+
export declare const de_CreateParticipantCommand: (
|
|
1443
|
+
output: __HttpResponse,
|
|
1444
|
+
context: __SerdeContext
|
|
1445
|
+
) => Promise<CreateParticipantCommandOutput>;
|
|
1434
1446
|
export declare const de_CreateQueueCommand: (
|
|
1435
1447
|
output: __HttpResponse,
|
|
1436
1448
|
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.319.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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|