Socket
Socket
Sign inDemoInstall

@giosg/types

Package Overview
Dependencies
Maintainers
12
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@giosg/types - npm Package Compare versions

Comparing version 12.0.2 to 12.0.3

5

CHANGELOG.md

@@ -5,4 +5,7 @@ # Changelog

## x.x.x (Not published yet)
## x.x.x (Not published yet)32
## 12.0.3
- Added types for telephony
## 12.0.2

@@ -9,0 +12,0 @@ - Added status property to User interface

6

lib/cjs/call.d.ts
import { CallStatusUid, ChatUid, UserUid, VisitorCid, OrganizationUid, UserClientUid } from "./types";
export type CallStatusType = "idle" | "dialing" | "ringing" | "in-call";
export type CallStatusType = "idle" | "dialing" | "ringing" | "in-call" | "in-queue";
export type CallType = "telephony" | "voip";
interface BaseCallStatus {

@@ -24,3 +25,6 @@ /** Unique identifier of the call status */

call_avatar: string;
/** Active userClient uuid */
active_client: UserClientUid;
/** Call type */
call_type: CallType;
}

@@ -27,0 +31,0 @@ export interface IdleCallStatus extends BaseCallStatus {

@@ -7,3 +7,3 @@ export { supportedEventTypes, EventType, TCEventListener, Purpose, Service, ConsentManagementApiType, TCPreferences, IGiosgTCApi, ITCApi, } from "./GiosgTCApi";

export { BugReport } from "./bugReport";
export { CallStatusType, IdleCallStatus, DialingCallStatus, RingingCallStatus, CobrowseState, InCallStatus, JitsiToken, CallStatus, } from "./call";
export { CallStatusType, CallType, IdleCallStatus, DialingCallStatus, RingingCallStatus, CobrowseState, InCallStatus, JitsiToken, CallStatus, } from "./call";
export { CannedAnswerIncrement, CannedAnswer, CannedAnswerPayload } from "./canned_answers";

@@ -10,0 +10,0 @@ export { ChatInvitationAccept, ChatInvitationAcceptPayload, ChatInvitationCreate, ChatInvitationExpire, ChatInvitationExpirePayload, ChatInvitation, ChatConversationStarter, ChatConversationStarterPayload, ChatConversationStarterUpdate, ChatConversationStarterUpdatePayload, ChatMembershipUser, ChatMembershipVisitor, ChatMembership, ChatMembershipPayload, ChatStatusMessage, ChatDataMessage, ChatMessage, ChatMessagePayload, ChatReplySuggestion, ChatReplySuggestionPayload, ChatType, Chat, ChatPayload, ChatSessionTag, ChatSessionTagPayload, DecryptedChatDataMessage, DecryptedChatStatusMessage, DecryptedChatMessage, DecryptedChatMessagePayload, NestedChatMessageAttachmentAction, NestedChatMessageAttachmentActionPayload, NestedChatMessageAttachment, NestedChatMessageAttachmentPayload, NestedChatMessageResponseAttachment, NestedChatMessageResponseAttachmentPayload, NestedChatReplySuggestion, OrganizationChatMembership, OrganizationChatMembershipPayload, RoomChatTag, RoomChatTagPayload, NestedChatMessage, BarChat, ChatAssignment, } from "./chat";

@@ -213,3 +213,3 @@ export type ApplicationUid = string & {

export type ChatStatusMessageType = (typeof CHAT_STATUS_MESSAGE_TYPES)[number];
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "tag_created", "tag_deleted", "shoppingcart_locked", "shoppingcart_item_added", "shoppingcart_item_removed", "visitor_data_deleted"];
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "telephony_request", "tag_created", "tag_deleted", "shoppingcart_locked", "shoppingcart_item_added", "shoppingcart_item_removed", "visitor_data_deleted"];
export type ChatDataMessageType = (typeof CHAT_DATA_MESSAGE_TYPES)[number];

@@ -216,0 +216,0 @@ export type ChatMessageType = ChatStatusMessageType | ChatDataMessageType;

@@ -22,2 +22,3 @@ "use strict";

"call_request",
"telephony_request",
"tag_created",

@@ -24,0 +25,0 @@ "tag_deleted",

import { CallStatusUid, ChatUid, UserUid, VisitorCid, OrganizationUid, UserClientUid } from "./types";
export type CallStatusType = "idle" | "dialing" | "ringing" | "in-call";
export type CallStatusType = "idle" | "dialing" | "ringing" | "in-call" | "in-queue";
export type CallType = "telephony" | "voip";
interface BaseCallStatus {

@@ -24,3 +25,6 @@ /** Unique identifier of the call status */

call_avatar: string;
/** Active userClient uuid */
active_client: UserClientUid;
/** Call type */
call_type: CallType;
}

@@ -27,0 +31,0 @@ export interface IdleCallStatus extends BaseCallStatus {

@@ -7,3 +7,3 @@ export { supportedEventTypes, EventType, TCEventListener, Purpose, Service, ConsentManagementApiType, TCPreferences, IGiosgTCApi, ITCApi, } from "./GiosgTCApi";

export { BugReport } from "./bugReport";
export { CallStatusType, IdleCallStatus, DialingCallStatus, RingingCallStatus, CobrowseState, InCallStatus, JitsiToken, CallStatus, } from "./call";
export { CallStatusType, CallType, IdleCallStatus, DialingCallStatus, RingingCallStatus, CobrowseState, InCallStatus, JitsiToken, CallStatus, } from "./call";
export { CannedAnswerIncrement, CannedAnswer, CannedAnswerPayload } from "./canned_answers";

@@ -10,0 +10,0 @@ export { ChatInvitationAccept, ChatInvitationAcceptPayload, ChatInvitationCreate, ChatInvitationExpire, ChatInvitationExpirePayload, ChatInvitation, ChatConversationStarter, ChatConversationStarterPayload, ChatConversationStarterUpdate, ChatConversationStarterUpdatePayload, ChatMembershipUser, ChatMembershipVisitor, ChatMembership, ChatMembershipPayload, ChatStatusMessage, ChatDataMessage, ChatMessage, ChatMessagePayload, ChatReplySuggestion, ChatReplySuggestionPayload, ChatType, Chat, ChatPayload, ChatSessionTag, ChatSessionTagPayload, DecryptedChatDataMessage, DecryptedChatStatusMessage, DecryptedChatMessage, DecryptedChatMessagePayload, NestedChatMessageAttachmentAction, NestedChatMessageAttachmentActionPayload, NestedChatMessageAttachment, NestedChatMessageAttachmentPayload, NestedChatMessageResponseAttachment, NestedChatMessageResponseAttachmentPayload, NestedChatReplySuggestion, OrganizationChatMembership, OrganizationChatMembershipPayload, RoomChatTag, RoomChatTagPayload, NestedChatMessage, BarChat, ChatAssignment, } from "./chat";

@@ -213,3 +213,3 @@ export type ApplicationUid = string & {

export type ChatStatusMessageType = (typeof CHAT_STATUS_MESSAGE_TYPES)[number];
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "tag_created", "tag_deleted", "shoppingcart_locked", "shoppingcart_item_added", "shoppingcart_item_removed", "visitor_data_deleted"];
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "telephony_request", "tag_created", "tag_deleted", "shoppingcart_locked", "shoppingcart_item_added", "shoppingcart_item_removed", "visitor_data_deleted"];
export type ChatDataMessageType = (typeof CHAT_DATA_MESSAGE_TYPES)[number];

@@ -216,0 +216,0 @@ export type ChatMessageType = ChatStatusMessageType | ChatDataMessageType;

@@ -19,2 +19,3 @@ // Types

"call_request",
"telephony_request",
"tag_created",

@@ -21,0 +22,0 @@ "tag_deleted",

{
"name": "@giosg/types",
"version": "12.0.2",
"version": "12.0.3",
"description": "TypeScript interfaces for GiosgAPI",

@@ -5,0 +5,0 @@ "main": "lib/cjs/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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