New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

amazon-connect-chatjs

Package Overview
Dependencies
Maintainers
6
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amazon-connect-chatjs - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

6

package.json
{
"name": "amazon-connect-chatjs",
"version": "1.1.4",
"version": "1.1.5",
"main": "dist/amazon-connect-chat.js",

@@ -69,6 +69,6 @@ "types": "src/index.d.ts",

"regenerator-runtime": "^0.13.3",
"typescript": "3.0.1",
"typescript": "^4.2.4",
"webpack": "^4.26.0",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10"
"webpack-dev-server": "^3.11.2"
},

@@ -75,0 +75,0 @@ "dependencies": {

@@ -76,3 +76,3 @@ # About

## `connect.ChatSesion` API
## `connect.ChatSession` API

@@ -79,0 +79,0 @@ This is the main entry point to `amazon-connect-chatjs`.

@@ -185,2 +185,23 @@ declare namespace connect {

/**
* Uploads a file
* See: https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_StartAttachmentUpload.html
* See: https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CompleteAttachmentUpload.html
* @param args The arguments of the operation.
*/
sendAttachment(args: SendAttachmentArgs): Promise<ParticipantServiceResponse<SendAttachmentResult>>;
sendAttachment<T>(
args: WithMetadata<SendAttachmentArgs, T>
): Promise<WithMetadata<ParticipantServiceResponse<SendAttachmentResult>, T>>;
/**
* Downloads a file
* See: https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_GetAttachment.html
* @param args The arguments of the operation.
*/
downloadAttachment(args: DownloadAttachmentArgs): Promise<ParticipantServiceResponse<DownloadAttachmentResult>>;
downloadAttachment<T>(
args: WithMetadata<DownloadAttachmentArgs, T>
): Promise<WithMetadata<ParticipantServiceResponse<DownloadAttachmentResult>, T>>;
/**
* Sends a message as the current session's participant.

@@ -500,2 +521,22 @@ * See: https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_SendMessage.html

/**
* An object that is transformed to a request of the Amazon Connect Participant Service `StartAttachmentUpload and Complete Attachment Upload` API.
* See: https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_StartAttachmentUpload.html
*/
interface SendAttachmentArgs {
/**
* An HTML file object
* https://developer.mozilla.org/en-US/docs/Web/API/File
*/
attachment: File;
}
/**
* An object that is transformed to a request of the Amazon Connect Participant Service `GetAttachment` API.
* See: https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_GetAttachment.html
*/
interface DownloadAttachmentArgs {
attachmentId: string;
}
/**
* Represents the response of the Amazon Connect Participant Service `SendEvent` API.

@@ -516,2 +557,22 @@ * See: https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_SendEvent.html#API_SendEvent_ResponseSyntax

/**
* Represents the response of the Amazon Connect Participant Service `CompleteAttachmentUpload` API.
* See: https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CompleteAttachmentUpload.html
*/
interface SendAttachmentResult {
}
/**
* Represents the response of the Amazon Connect Participant Service `GetAttachment` API.
* See: https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_GetAttachment.html
*/
interface DownloadAttachmentResult {
// This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.
Url: string;
// The expiration time of the URL in ISO timestamp.
// It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
UrlExpiry: string;
}
// ======

@@ -557,2 +618,2 @@ // Events

}
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc