Huge News!Announcing our $40M Series B led by Abstract Ventures.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-beta14 to 2.0.0-beta15

2

dist/internal/channelTypesV2.d.ts
import { ApplicationChannelId } from './idTypesV2';
import { ApplicationInbox } from './inboxTypesV2';
import { ApplicationPaginatedResults } from './paginationTypesV2';
export type ApplicationChannelType = 'custom' | 'email' | 'facebook' | 'frontForm' | 'frontChat' | 'googlePlay' | 'intercom' | 'smooch' | 'talkdesk' | 'truly' | 'twilio' | 'twitter' | 'twitterDm' | 'whatsapp';
export type ApplicationChannelType = 'custom' | 'dialpad' | 'email' | 'facebook' | 'frontForm' | 'frontChat' | 'portal' | 'googlePlay' | 'intercom' | 'smooch' | 'talkdesk' | 'truly' | 'twilio' | 'twitter' | 'twitterDm' | 'whatsapp';
export interface ApplicationChannel {

@@ -6,0 +6,0 @@ /** Unique ID of the Channel. */

@@ -6,3 +6,3 @@ import { ApplicationCancelToken } from './asyncTypesV2';

import { ApplicationDraft, ApplicationDraftTemplate, ApplicationDraftUpdate } from './draftTypesV2';
import { EntryPoint, EntryPointTypesEnum } from './entryPointTypesV2';
import { EntryPointData, EntryPointTypesEnum } from './entryPointTypesV2';
import { HttpRequest, HttpResponse } from './httpTypesV2';

@@ -146,3 +146,3 @@ import { ApplicationAttachmentId, ApplicationCommentId, ApplicationConversationId, ApplicationDraftId, ApplicationInboxId, ApplicationMessageId, ApplicationTagId, ApplicationTeammateId, ApplicationTopicId } from './idTypesV2';

/** Entry point of the application. */
entryPoint: EntryPoint;
entryPoint: EntryPointData | undefined;
}

@@ -423,4 +423,5 @@ export declare enum EntryPointNotificationTypesEnum {

[EntryPointTypesEnum.COMPOSER_TOOLBAR]: MessageComposerContext;
[EntryPointTypesEnum.CONTACT_HANDLE]: ConversationContext;
}
export type ContextOf<T extends keyof ContextMap> = ContextMap[T];
export {};

@@ -5,3 +5,4 @@ export declare enum EntryPointTypesEnum {

SIDE_PANEL = "SIDE_PANEL",
COMPOSER_TOOLBAR = "COMPOSER_TOOLBAR"
COMPOSER_TOOLBAR = "COMPOSER_TOOLBAR",
CONTACT_HANDLE = "CONTACT_HANDLE"
}

@@ -13,16 +14,20 @@ export interface EntryPointTemplate {

export declare enum EntryPointDataTypesEnum {
CONTACT_HANDLE = "contact_handle"
}
export declare enum EntryPointDataDataTypesEnum {
PHONE = "phone"
}
export interface PhoneEntryPoint {
type: EntryPointDataDataTypesEnum.PHONE;
interface PhoneEntryPointData {
type: EntryPointDataTypesEnum.PHONE;
handle: string;
timestamp?: number;
}
export interface ContactHandleEntryPoint {
type: EntryPointDataTypesEnum.CONTACT_HANDLE;
data: PhoneEntryPoint;
interface ContactHandleEntryPointData {
type: EntryPointTypesEnum.CONTACT_HANDLE;
data: PhoneEntryPointData;
}
export type EntryPoint = ContactHandleEntryPoint | undefined;
interface SidePanelEntryPointData {
type: EntryPointTypesEnum.SIDE_PANEL;
}
interface ComposerToolbarEntryPointData {
type: EntryPointTypesEnum.COMPOSER_TOOLBAR;
}
export type EntryPointData = ContactHandleEntryPointData | SidePanelEntryPointData | ComposerToolbarEntryPointData;
export {};

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.EntryPointDataDataTypesEnum = exports.EntryPointDataTypesEnum = exports.EntryPointTypesEnum = void 0;
exports.EntryPointDataTypesEnum = exports.EntryPointTypesEnum = void 0;
var EntryPointTypesEnum;

@@ -14,2 +14,3 @@ (function (EntryPointTypesEnum) {

EntryPointTypesEnum["COMPOSER_TOOLBAR"] = "COMPOSER_TOOLBAR";
EntryPointTypesEnum["CONTACT_HANDLE"] = "CONTACT_HANDLE";
})(EntryPointTypesEnum || (exports.EntryPointTypesEnum = EntryPointTypesEnum = {}));

@@ -21,7 +22,3 @@ /*

(function (EntryPointDataTypesEnum) {
EntryPointDataTypesEnum["CONTACT_HANDLE"] = "contact_handle";
EntryPointDataTypesEnum["PHONE"] = "phone";
})(EntryPointDataTypesEnum || (exports.EntryPointDataTypesEnum = EntryPointDataTypesEnum = {}));
var EntryPointDataDataTypesEnum;
(function (EntryPointDataDataTypesEnum) {
EntryPointDataDataTypesEnum["PHONE"] = "phone";
})(EntryPointDataDataTypesEnum || (exports.EntryPointDataDataTypesEnum = EntryPointDataDataTypesEnum = {}));
{
"name": "@frontapp/ui-bridge",
"version": "2.0.0-beta14",
"version": "2.0.0-beta15",
"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