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

@frontapp/ui-bridge

Package Overview
Dependencies
Maintainers
6
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontapp/ui-bridge - npm Package Compare versions

Comparing version 2.0.0-beta5 to 2.0.0-beta6

dist/internal/attachmentTypesV2.d.ts

2

dist/bridgeTypesV2.d.ts

@@ -26,3 +26,5 @@ import { Observable } from 'rxjs';

export * from './internal/asyncTypesV2';
export * from './internal/attachmentTypesV2';
export * from './internal/channelTypesV2';
export * from './internal/commentTypesV2';
export * from './internal/contactTypesV2';

@@ -29,0 +31,0 @@ export * from './internal/contextTypesV2';

@@ -23,3 +23,5 @@ "use strict";

__exportStar(require("./internal/asyncTypesV2"), exports);
__exportStar(require("./internal/attachmentTypesV2"), exports);
__exportStar(require("./internal/channelTypesV2"), exports);
__exportStar(require("./internal/commentTypesV2"), exports);
__exportStar(require("./internal/contactTypesV2"), exports);

@@ -26,0 +28,0 @@ __exportStar(require("./internal/contextTypesV2"), exports);

import { ApplicationCancelToken } from './asyncTypesV2';
import { ApplicationChannelList } from './channelTypesV2';
import { ApplicationCommentList } from './commentTypesV2';
import { ApplicationConversation, ApplicationConversationStatus, ApplicationSingleConversation } from './conversationTypesV2';

@@ -7,3 +8,3 @@ import { ApplicationDraft, ApplicationDraftTemplate, ApplicationDraftUpdate } from './draftTypesV2';

import { HttpRequest, HttpResponse } from './httpTypesV2';
import { ApplicationAttachmentId, ApplicationDraftId, ApplicationInboxId, ApplicationMessageId, ApplicationTagId, ApplicationTeammateId, ApplicationTopicId } from './idTypesV2';
import { ApplicationAttachmentId, ApplicationCommentId, ApplicationDraftId, ApplicationInboxId, ApplicationMessageId, ApplicationTagId, ApplicationTeammateId, ApplicationTopicId } from './idTypesV2';
import { ApplicationInboxList } from './inboxTypesV2';

@@ -13,2 +14,3 @@ import { ApplicationLink } from './linkTypesV2';

import { ApplicationPaginationToken } from './paginationTypesV2';
import { ApplicationRecipientList } from './recipientTypesV2';
import { HttpRelayRequest } from './relayTypesV2';

@@ -216,5 +218,12 @@ import { ApplicationTagList } from './tagTypesV2';

/**
* List the comments in the current conversation.
* @param paginationToken Token of the requested page. If omitted, will return the first page of results.
* @param cancelToken Cancel the request.
* @returns List of comments.
*/
listComments(paginationToken?: ApplicationPaginationToken, cancelToken?: ApplicationCancelToken): Promise<ApplicationCommentList>;
/**
* Download the specified attachment that is attached to a message. To get attachments you will need to use
* {@link listMessages} which returns messages with any attachments.
* @param messageId Message id for the attachment.
* @param messageOrCommentId Message or comment id for the attachment.
* @param attachmentId Attachment id to be fetched.

@@ -224,3 +233,10 @@ * @param cancelToken Cancel the request.

*/
downloadAttachment(messageId: ApplicationMessageId, attachmentId: ApplicationAttachmentId, cancelToken?: ApplicationCancelToken): Promise<File | undefined>;
downloadAttachment(messageOrCommentId: ApplicationMessageId | ApplicationCommentId, attachmentId: ApplicationAttachmentId, cancelToken?: ApplicationCancelToken): Promise<File | undefined>;
/**
* List the recipients in the current conversation in the order in which the messages are sent.
* @param paginationToken Token of the requested page. If omitted, will return the first page of results.
* @param cancelToken Cancel the request.
* @returns List of recipients.
*/
listRecipients(paginationToken?: ApplicationPaginationToken, cancelToken?: ApplicationCancelToken): Promise<ApplicationRecipientList>;
}

@@ -227,0 +243,0 @@ export interface MultiConversationsContext extends ExistingConversationBaseContext {

@@ -61,2 +61,3 @@ import { Branded } from 'io-ts';

export declare type ApplicationContactGroupId = Branded<string, ApplicationCardGroupIdBrand>;
export declare type ApplicationCommentId = Branded<string, ApplicationCommentIdBrand>;
export declare type ApplicationConversationId = Branded<string, ApplicationConversationIdBrand>;

@@ -63,0 +64,0 @@ export declare type ApplicationCustomFieldId = Branded<string, ApplicationCustomFieldIdBrand>;

17

dist/internal/messageTypesV2.d.ts

@@ -1,2 +0,3 @@

import { ApplicationAttachmentId, ApplicationMessageId } from './idTypesV2';
import { ApplicationAttachment } from './attachmentTypesV2';
import { ApplicationMessageId } from './idTypesV2';
import { ApplicationPaginatedResults } from './paginationTypesV2';

@@ -24,3 +25,3 @@ import { ApplicationRecipient } from './recipientTypesV2';

to: ReadonlyArray<ApplicationRecipient>;
/** List of recipients in copy of the emssage. */
/** List of recipients in copy of the message. */
cc: ReadonlyArray<ApplicationRecipient> | undefined;

@@ -39,13 +40,1 @@ /** List of recipients in blind copy of the message. */

export declare type ApplicationMessageList = ApplicationPaginatedResults<ApplicationMessage>;
export interface ApplicationAttachment {
/** Unique ID of the attachment. */
id: ApplicationAttachmentId;
/** Name of the file. */
name: string;
/** MIME type of the file. */
contentType: string;
/** Size of the file (in bytes). */
size: number;
/** Identifier of the file in the body, if inline. */
inlineCid: string | undefined;
}
import { ApplicationContact } from './contactTypesV2';
import { ApplicationPaginatedResults } from './paginationTypesV2';
export interface ApplicationRecipient {

@@ -9,2 +10,5 @@ /** Handle of the recipient. */

contact: ApplicationContact | undefined;
/** The type of the handle */
type: string;
}
export declare type ApplicationRecipientList = ApplicationPaginatedResults<ApplicationRecipient>;
{
"name": "@frontapp/ui-bridge",
"version": "2.0.0-beta5",
"version": "2.0.0-beta6",
"description": "Helpers and TypeScript definitions for the Front SDK bridge",

@@ -5,0 +5,0 @@ "author": {

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