@aws-sdk/client-connect 3.315.0 → 3.318.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 +176 -2380
- 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 +95 -21
- package/dist-es/Connect.js +176 -2380
- 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 +86 -14
- package/dist-types/Connect.d.ts +194 -808
- 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 +19 -1
- 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 +6 -6
|
@@ -112,6 +112,10 @@ import {
|
|
|
112
112
|
CreateIntegrationAssociationCommandInput,
|
|
113
113
|
CreateIntegrationAssociationCommandOutput,
|
|
114
114
|
} from "./commands/CreateIntegrationAssociationCommand";
|
|
115
|
+
import {
|
|
116
|
+
CreateParticipantCommandInput,
|
|
117
|
+
CreateParticipantCommandOutput,
|
|
118
|
+
} from "./commands/CreateParticipantCommand";
|
|
115
119
|
import {
|
|
116
120
|
CreateQueueCommandInput,
|
|
117
121
|
CreateQueueCommandOutput,
|
|
@@ -747,6 +751,7 @@ export type ServiceInputTypes =
|
|
|
747
751
|
| CreateHoursOfOperationCommandInput
|
|
748
752
|
| CreateInstanceCommandInput
|
|
749
753
|
| CreateIntegrationAssociationCommandInput
|
|
754
|
+
| CreateParticipantCommandInput
|
|
750
755
|
| CreateQueueCommandInput
|
|
751
756
|
| CreateQuickConnectCommandInput
|
|
752
757
|
| CreateRoutingProfileCommandInput
|
|
@@ -918,6 +923,7 @@ export type ServiceOutputTypes =
|
|
|
918
923
|
| CreateHoursOfOperationCommandOutput
|
|
919
924
|
| CreateInstanceCommandOutput
|
|
920
925
|
| CreateIntegrationAssociationCommandOutput
|
|
926
|
+
| CreateParticipantCommandOutput
|
|
921
927
|
| CreateQueueCommandOutput
|
|
922
928
|
| CreateQuickConnectCommandOutput
|
|
923
929
|
| CreateRoutingProfileCommandOutput
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ConnectClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ConnectClient";
|
|
14
|
+
import {
|
|
15
|
+
CreateParticipantRequest,
|
|
16
|
+
CreateParticipantResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface CreateParticipantCommandInput
|
|
19
|
+
extends CreateParticipantRequest {}
|
|
20
|
+
export interface CreateParticipantCommandOutput
|
|
21
|
+
extends CreateParticipantResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class CreateParticipantCommand extends $Command<
|
|
24
|
+
CreateParticipantCommandInput,
|
|
25
|
+
CreateParticipantCommandOutput,
|
|
26
|
+
ConnectClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: CreateParticipantCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: CreateParticipantCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: ConnectClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<CreateParticipantCommandInput, CreateParticipantCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -11,10 +11,8 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
ListAgentStatusResponse,
|
|
17
|
-
} from "../models/models_0";
|
|
14
|
+
import { ListAgentStatusRequest } from "../models/models_0";
|
|
15
|
+
import { ListAgentStatusResponse } from "../models/models_1";
|
|
18
16
|
export interface ListAgentStatusesCommandInput extends ListAgentStatusRequest {}
|
|
19
17
|
export interface ListAgentStatusesCommandOutput
|
|
20
18
|
extends ListAgentStatusResponse,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
ListApprovedOriginsRequest,
|
|
16
16
|
ListApprovedOriginsResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export interface ListApprovedOriginsCommandInput
|
|
19
19
|
extends ListApprovedOriginsRequest {}
|
|
20
20
|
export interface ListApprovedOriginsCommandOutput
|
|
@@ -11,8 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
|
-
import { ListBotsRequest } from "../models/
|
|
15
|
-
import { ListBotsResponse } from "../models/models_1";
|
|
14
|
+
import { ListBotsRequest, ListBotsResponse } from "../models/models_1";
|
|
16
15
|
export interface ListBotsCommandInput extends ListBotsRequest {}
|
|
17
16
|
export interface ListBotsCommandOutput
|
|
18
17
|
extends ListBotsResponse,
|
|
@@ -15,6 +15,7 @@ export * from "./CreateContactFlowModuleCommand";
|
|
|
15
15
|
export * from "./CreateHoursOfOperationCommand";
|
|
16
16
|
export * from "./CreateInstanceCommand";
|
|
17
17
|
export * from "./CreateIntegrationAssociationCommand";
|
|
18
|
+
export * from "./CreateParticipantCommand";
|
|
18
19
|
export * from "./CreateQueueCommand";
|
|
19
20
|
export * from "./CreateQuickConnectCommand";
|
|
20
21
|
export * from "./CreateRoutingProfileCommand";
|
|
@@ -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.318.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.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.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",
|
|
@@ -40,14 +40,14 @@
|
|
|
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",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|