@aws-sdk/client-connectparticipant 3.245.0 → 3.254.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/dist-cjs/protocols/Aws_restJson1.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/ConnectParticipant.d.ts +4 -1
- package/dist-types/ConnectParticipantClient.d.ts +3 -3
- package/dist-types/commands/GetTranscriptCommand.d.ts +4 -1
- package/dist-types/models/models_0.d.ts +14 -2
- package/dist-types/ts3.4/ConnectParticipantClient.d.ts +2 -1
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +32 -32
|
@@ -691,6 +691,7 @@ const deserializeAws_restJson1Item = (output, context) => {
|
|
|
691
691
|
return {
|
|
692
692
|
AbsoluteTime: (0, smithy_client_1.expectString)(output.AbsoluteTime),
|
|
693
693
|
Attachments: output.Attachments != null ? deserializeAws_restJson1Attachments(output.Attachments, context) : undefined,
|
|
694
|
+
ContactId: (0, smithy_client_1.expectString)(output.ContactId),
|
|
694
695
|
Content: (0, smithy_client_1.expectString)(output.Content),
|
|
695
696
|
ContentType: (0, smithy_client_1.expectString)(output.ContentType),
|
|
696
697
|
DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
|
|
@@ -700,6 +701,7 @@ const deserializeAws_restJson1Item = (output, context) => {
|
|
|
700
701
|
: undefined,
|
|
701
702
|
ParticipantId: (0, smithy_client_1.expectString)(output.ParticipantId),
|
|
702
703
|
ParticipantRole: (0, smithy_client_1.expectString)(output.ParticipantRole),
|
|
704
|
+
RelatedContactId: (0, smithy_client_1.expectString)(output.RelatedContactId),
|
|
703
705
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
704
706
|
};
|
|
705
707
|
};
|
|
@@ -672,6 +672,7 @@ const deserializeAws_restJson1Item = (output, context) => {
|
|
|
672
672
|
return {
|
|
673
673
|
AbsoluteTime: __expectString(output.AbsoluteTime),
|
|
674
674
|
Attachments: output.Attachments != null ? deserializeAws_restJson1Attachments(output.Attachments, context) : undefined,
|
|
675
|
+
ContactId: __expectString(output.ContactId),
|
|
675
676
|
Content: __expectString(output.Content),
|
|
676
677
|
ContentType: __expectString(output.ContentType),
|
|
677
678
|
DisplayName: __expectString(output.DisplayName),
|
|
@@ -681,6 +682,7 @@ const deserializeAws_restJson1Item = (output, context) => {
|
|
|
681
682
|
: undefined,
|
|
682
683
|
ParticipantId: __expectString(output.ParticipantId),
|
|
683
684
|
ParticipantRole: __expectString(output.ParticipantRole),
|
|
685
|
+
RelatedContactId: __expectString(output.RelatedContactId),
|
|
684
686
|
Type: __expectString(output.Type),
|
|
685
687
|
};
|
|
686
688
|
};
|
|
@@ -97,7 +97,10 @@ export declare class ConnectParticipant extends ConnectParticipantClient {
|
|
|
97
97
|
getAttachment(args: GetAttachmentCommandInput, cb: (err: any, data?: GetAttachmentCommandOutput) => void): void;
|
|
98
98
|
getAttachment(args: GetAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAttachmentCommandOutput) => void): void;
|
|
99
99
|
/**
|
|
100
|
-
* <p>Retrieves a transcript of the session, including details about any attachments.
|
|
100
|
+
* <p>Retrieves a transcript of the session, including details about any attachments. For
|
|
101
|
+
* information about accessing past chat contact transcripts for a persistent chat, see
|
|
102
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable persistent chat</a>.
|
|
103
|
+
* </p>
|
|
101
104
|
* <note>
|
|
102
105
|
* <p>
|
|
103
106
|
* <code>ConnectionToken</code> is used for invoking this API instead of
|
|
@@ -6,7 +6,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
8
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput } from "./commands/CompleteAttachmentUploadCommand";
|
|
11
11
|
import { CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput } from "./commands/CreateParticipantConnectionCommand";
|
|
12
12
|
import { DisconnectParticipantCommandInput, DisconnectParticipantCommandOutput } from "./commands/DisconnectParticipantCommand";
|
|
@@ -24,11 +24,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
24
24
|
*/
|
|
25
25
|
requestHandler?: __HttpHandler;
|
|
26
26
|
/**
|
|
27
|
-
* A constructor for a class implementing the {@link
|
|
27
|
+
* A constructor for a class implementing the {@link __Checksum} interface
|
|
28
28
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
29
29
|
* @internal
|
|
30
30
|
*/
|
|
31
|
-
sha256?: __HashConstructor;
|
|
31
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
32
32
|
/**
|
|
33
33
|
* The function that will be used to convert strings into HTTP endpoints.
|
|
34
34
|
* @internal
|
|
@@ -8,7 +8,10 @@ export interface GetTranscriptCommandInput extends GetTranscriptRequest {
|
|
|
8
8
|
export interface GetTranscriptCommandOutput extends GetTranscriptResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Retrieves a transcript of the session, including details about any attachments.
|
|
11
|
+
* <p>Retrieves a transcript of the session, including details about any attachments. For
|
|
12
|
+
* information about accessing past chat contact transcripts for a persistent chat, see
|
|
13
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable persistent chat</a>.
|
|
14
|
+
* </p>
|
|
12
15
|
* <note>
|
|
13
16
|
* <p>
|
|
14
17
|
* <code>ConnectionToken</code> is used for invoking this API instead of
|
|
@@ -369,10 +369,22 @@ export interface Item {
|
|
|
369
369
|
*/
|
|
370
370
|
Attachments?: AttachmentItem[];
|
|
371
371
|
/**
|
|
372
|
-
* <p>The metadata related to the message. Currently this supports only information related
|
|
373
|
-
* message receipts.</p>
|
|
372
|
+
* <p>The metadata related to the message. Currently this supports only information related
|
|
373
|
+
* to message receipts.</p>
|
|
374
374
|
*/
|
|
375
375
|
MessageMetadata?: MessageMetadata;
|
|
376
|
+
/**
|
|
377
|
+
* <p>The contactId on which the transcript item was originally sent. This field is only
|
|
378
|
+
* populated for persistent chats when the transcript item is from the past chat session.
|
|
379
|
+
* For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable persistent
|
|
380
|
+
* chat</a>.</p>
|
|
381
|
+
*/
|
|
382
|
+
RelatedContactId?: string;
|
|
383
|
+
/**
|
|
384
|
+
* <p>The contactId on which the transcript item was originally sent. This field is
|
|
385
|
+
* populated only when the transcript item is from the current chat session.</p>
|
|
386
|
+
*/
|
|
387
|
+
ContactId?: string;
|
|
376
388
|
}
|
|
377
389
|
export interface GetTranscriptResponse {
|
|
378
390
|
/**
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
} from "@aws-sdk/smithy-client";
|
|
32
32
|
import {
|
|
33
33
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
34
35
|
Credentials as __Credentials,
|
|
35
36
|
Decoder as __Decoder,
|
|
36
37
|
Encoder as __Encoder,
|
|
@@ -101,7 +102,7 @@ export declare type ServiceOutputTypes =
|
|
|
101
102
|
export interface ClientDefaults
|
|
102
103
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
103
104
|
requestHandler?: __HttpHandler;
|
|
104
|
-
sha256?: __HashConstructor;
|
|
105
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
105
106
|
urlParser?: __UrlParser;
|
|
106
107
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
107
108
|
streamCollector?: __StreamCollector;
|
|
@@ -158,6 +158,8 @@ export interface Item {
|
|
|
158
158
|
ParticipantRole?: ParticipantRole | string;
|
|
159
159
|
Attachments?: AttachmentItem[];
|
|
160
160
|
MessageMetadata?: MessageMetadata;
|
|
161
|
+
RelatedContactId?: string;
|
|
162
|
+
ContactId?: string;
|
|
161
163
|
}
|
|
162
164
|
export interface GetTranscriptResponse {
|
|
163
165
|
InitialContactId?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectparticipant",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connectparticipant Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.254.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",
|
|
@@ -11,46 +11,46 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
-
"generate:client": "
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo connectparticipant"
|
|
15
15
|
},
|
|
16
16
|
"main": "./dist-cjs/index.js",
|
|
17
17
|
"types": "./dist-types/index.d.ts",
|
|
18
18
|
"module": "./dist-es/index.js",
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@aws-crypto/sha256-browser": "
|
|
22
|
-
"@aws-crypto/sha256-js": "
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
+
"@aws-sdk/client-sts": "3.254.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.254.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.254.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.254.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.254.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.254.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.254.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.254.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.254.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.254.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.254.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.254.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.254.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.254.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.254.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.254.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.254.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.254.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.254.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.254.0",
|
|
43
|
+
"@aws-sdk/types": "3.254.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.254.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.254.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.254.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.254.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.254.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.254.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.254.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
55
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
56
|
"tslib": "^2.3.1",
|