Socket
Socket
Sign inDemoInstall

@giosg/types

Package Overview
Dependencies
Maintainers
18
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 7.3.1 to 8.0.1

5

lib/cjs/call.d.ts

@@ -39,4 +39,9 @@ import { CallStatusUid, ChatUid, UserUid, VisitorCid, OrganizationUid } from "./types";

}
export interface JitsiToken {
access_token: string;
token_type: string;
expires_in: number;
}
export declare type CallStatus = IdleCallStatus | DialingCallStatus | RingingCallStatus | InCallStatus;
export {};
//# sourceMappingURL=call.d.ts.map

4

lib/cjs/chat.d.ts

@@ -1031,3 +1031,3 @@ import { NestedAvatar } from "./customer";

* Visitor name is set by visitor variables.
* Further information is here https://developers.giosg.com/javascript_api.html#submit-visitor-variables
* Further information is here https://docs.giosg.com/api_reference/giosg_live/giosg_js_api/#submit-visitor-variables
*/

@@ -1039,3 +1039,3 @@ name: string | null;

* Visitor avatar url is set by visitor variables.
* Further information is here https://developers.giosg.com/javascript_api.html#submit-visitor-variables
* Further information is here https://docs.giosg.com/api_reference/giosg_live/giosg_js_api/#submit-visitor-variables
*/

@@ -1042,0 +1042,0 @@ visitor_avatar: string | null;

@@ -51,4 +51,2 @@ export declare const ConditionTypes: {

/** value: none, settings: none */
readonly VISITOR_TARGETED: 25;
/** value: none, settings: none */
readonly VISITOR_CART_LOCKED: 26;

@@ -67,4 +65,2 @@ /** value: none, settings: none */

readonly CHAT_HAS_AT_LEAST_ONE_OF_TAGS: 32;
/** value: experiment group as a string, settings: none */
readonly VISITOR_BELONGS_TO_A_TARGET_EXPERIMENT_GROUP: 33;
/** value: number of seconds as an integer number, settings: none */

@@ -74,4 +70,2 @@ readonly VISITOR_HAS_WAITED_FOR_THE_FIRST_ANSWER: 34;

readonly VISITOR_BELONGS_TO_AN_USER_EXPERIMENT_GROUP: 35;
/** value: ai prediction (target) conversion probability, settings: none */
readonly TARGET_PREDICTION_CONVERSION_PROBABILITY: 36;
/** value: prediction for waiting time in this room */

@@ -84,3 +78,3 @@ readonly AVERAGE_WAITING_TIME: 37;

export declare type ConditionTypeString = keyof typeof ConditionTypes;
export declare const CONDITION_TYPES: ("VISITOR_CITY" | "CSS_SELECTOR" | "PREVIOUS_PAGE_URL_REGEXP" | "REFERRER_URL_REGEXP" | "PAGE_URL_REGEXP" | "VISITOR_COUNTRY" | "VISIT_COUNT_MORE_THAN" | "CART_SIZE_MORE_THAN" | "CART_SIZE_LESS_THAN" | "PRODUCT_NAMES_IN_CART" | "PIPELINE_STEP" | "JS_FUNCTION_RETURNS_TRUE" | "VISIT_COUNT_LESS_THAN" | "PURCHASE_COUNT_MORE_THAN" | "VISITOR_IP_ADDR" | "PAGE_URL_SIMPLE" | "OPERATOR_PRESENCE" | "AFTER_TIMEOUT" | "CLICK_ELEMENT" | "CLICK_BUTTON" | "DEVICE_TYPE" | "WEEKLY_SCHEDULE" | "VISITOR_PRIORITY_MORE_THAN" | "VISITOR_PRIORITY_LESS_THAN" | "VISITOR_TARGETED" | "VISITOR_CART_LOCKED" | "VISITOR_SENT_LEAD" | "PREVIOUS_PAGE_URL_SIMPLE" | "REFERRER_URL_SIMPLE" | "VISITOR_HAS_WAITED_FOR" | "HAS_CHATTED" | "CHAT_HAS_AT_LEAST_ONE_OF_TAGS" | "VISITOR_BELONGS_TO_A_TARGET_EXPERIMENT_GROUP" | "VISITOR_HAS_WAITED_FOR_THE_FIRST_ANSWER" | "VISITOR_BELONGS_TO_AN_USER_EXPERIMENT_GROUP" | "TARGET_PREDICTION_CONVERSION_PROBABILITY" | "AVERAGE_WAITING_TIME" | "GIOSG_EVENT_TRIGGERED")[];
export declare const CONDITION_TYPES: ("VISITOR_CITY" | "CSS_SELECTOR" | "PREVIOUS_PAGE_URL_REGEXP" | "REFERRER_URL_REGEXP" | "PAGE_URL_REGEXP" | "VISITOR_COUNTRY" | "VISIT_COUNT_MORE_THAN" | "CART_SIZE_MORE_THAN" | "CART_SIZE_LESS_THAN" | "PRODUCT_NAMES_IN_CART" | "PIPELINE_STEP" | "JS_FUNCTION_RETURNS_TRUE" | "VISIT_COUNT_LESS_THAN" | "PURCHASE_COUNT_MORE_THAN" | "VISITOR_IP_ADDR" | "PAGE_URL_SIMPLE" | "OPERATOR_PRESENCE" | "AFTER_TIMEOUT" | "CLICK_ELEMENT" | "CLICK_BUTTON" | "DEVICE_TYPE" | "WEEKLY_SCHEDULE" | "VISITOR_PRIORITY_MORE_THAN" | "VISITOR_PRIORITY_LESS_THAN" | "VISITOR_CART_LOCKED" | "VISITOR_SENT_LEAD" | "PREVIOUS_PAGE_URL_SIMPLE" | "REFERRER_URL_SIMPLE" | "VISITOR_HAS_WAITED_FOR" | "HAS_CHATTED" | "CHAT_HAS_AT_LEAST_ONE_OF_TAGS" | "VISITOR_HAS_WAITED_FOR_THE_FIRST_ANSWER" | "VISITOR_BELONGS_TO_AN_USER_EXPERIMENT_GROUP" | "AVERAGE_WAITING_TIME" | "GIOSG_EVENT_TRIGGERED")[];
export interface ConditionWeeklyScheduleSettings {

@@ -87,0 +81,0 @@ timezone: string;

@@ -54,4 +54,2 @@ "use strict";

/** value: none, settings: none */
VISITOR_TARGETED: 25,
/** value: none, settings: none */
VISITOR_CART_LOCKED: 26,

@@ -70,4 +68,2 @@ /** value: none, settings: none */

CHAT_HAS_AT_LEAST_ONE_OF_TAGS: 32,
/** value: experiment group as a string, settings: none */
VISITOR_BELONGS_TO_A_TARGET_EXPERIMENT_GROUP: 33,
/** value: number of seconds as an integer number, settings: none */

@@ -77,4 +73,2 @@ VISITOR_HAS_WAITED_FOR_THE_FIRST_ANSWER: 34,

VISITOR_BELONGS_TO_AN_USER_EXPERIMENT_GROUP: 35,
/** value: ai prediction (target) conversion probability, settings: none */
TARGET_PREDICTION_CONVERSION_PROBABILITY: 36,
/** value: prediction for waiting time in this room */

@@ -81,0 +75,0 @@ AVERAGE_WAITING_TIME: 37,

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

export { Brand, BrandPayload, PublicBrand } from "./brands";
export { CallStatusType, IdleCallStatus, DialingCallStatus, RingingCallStatus, CobrowseState, InCallStatus, CallStatus, } from "./call";
export { CallStatusType, IdleCallStatus, DialingCallStatus, RingingCallStatus, CobrowseState, InCallStatus, JitsiToken, CallStatus, } from "./call";
export { CannedAnswerIncrement, CannedAnswer, CannedAnswerPayload } from "./canned_answers";

@@ -9,0 +9,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";

@@ -165,3 +165,3 @@ import { NestedGoal } from "./goals";

/** Type of the rule */
type: "normal" | "target" | "experiment";
type: "normal" | "experiment";
/** How often the rule can match. By default is null and the rule can match every time the conditions change or the page is loaded */

@@ -202,3 +202,3 @@ match_once_per: "session" | "page" | "visitor" | null;

/** Type of the rule */
type?: "normal" | "target";
type?: "normal";
/** How often the rule can match. By default is null and the rule can match every time the conditions change or the page is loaded */

@@ -223,3 +223,3 @@ match_once_per?: "session" | "page" | "visitor" | null;

/** Type of the rule */
type?: "normal" | "target";
type?: "normal";
/** How often the rule can match. By default is null and the rule can match every time the conditions change or the page is loaded */

@@ -226,0 +226,0 @@ match_once_per?: "session" | "page" | "visitor" | null;

import { VisitorCid, RoomUid, VisitorSessionCid, ChatUid, OrganizationUid } from "./types";
export interface VisitorVariable {
/** Not mentioned in developers.giosg.com */
/** Not mentioned in docs.giosg.com */
chat_id?: ChatUid;

@@ -5,0 +5,0 @@ /** ID of the visitor */

@@ -188,8 +188,2 @@ import { NestedUser } from "./customer";

/** @deprecated */
pipeline_step_index: number | null;
/** @deprecated */
pipeline_step_name: string | null;
/** @deprecated */
pipeline_step_count: number | null;
/** @deprecated */
legacy_id: string | null;

@@ -196,0 +190,0 @@ }

@@ -39,4 +39,9 @@ import { CallStatusUid, ChatUid, UserUid, VisitorCid, OrganizationUid } from "./types";

}
export interface JitsiToken {
access_token: string;
token_type: string;
expires_in: number;
}
export declare type CallStatus = IdleCallStatus | DialingCallStatus | RingingCallStatus | InCallStatus;
export {};
//# sourceMappingURL=call.d.ts.map

@@ -1031,3 +1031,3 @@ import { NestedAvatar } from "./customer";

* Visitor name is set by visitor variables.
* Further information is here https://developers.giosg.com/javascript_api.html#submit-visitor-variables
* Further information is here https://docs.giosg.com/api_reference/giosg_live/giosg_js_api/#submit-visitor-variables
*/

@@ -1039,3 +1039,3 @@ name: string | null;

* Visitor avatar url is set by visitor variables.
* Further information is here https://developers.giosg.com/javascript_api.html#submit-visitor-variables
* Further information is here https://docs.giosg.com/api_reference/giosg_live/giosg_js_api/#submit-visitor-variables
*/

@@ -1042,0 +1042,0 @@ visitor_avatar: string | null;

@@ -51,4 +51,2 @@ export declare const ConditionTypes: {

/** value: none, settings: none */
readonly VISITOR_TARGETED: 25;
/** value: none, settings: none */
readonly VISITOR_CART_LOCKED: 26;

@@ -67,4 +65,2 @@ /** value: none, settings: none */

readonly CHAT_HAS_AT_LEAST_ONE_OF_TAGS: 32;
/** value: experiment group as a string, settings: none */
readonly VISITOR_BELONGS_TO_A_TARGET_EXPERIMENT_GROUP: 33;
/** value: number of seconds as an integer number, settings: none */

@@ -74,4 +70,2 @@ readonly VISITOR_HAS_WAITED_FOR_THE_FIRST_ANSWER: 34;

readonly VISITOR_BELONGS_TO_AN_USER_EXPERIMENT_GROUP: 35;
/** value: ai prediction (target) conversion probability, settings: none */
readonly TARGET_PREDICTION_CONVERSION_PROBABILITY: 36;
/** value: prediction for waiting time in this room */

@@ -84,3 +78,3 @@ readonly AVERAGE_WAITING_TIME: 37;

export declare type ConditionTypeString = keyof typeof ConditionTypes;
export declare const CONDITION_TYPES: ("VISITOR_CITY" | "CSS_SELECTOR" | "PREVIOUS_PAGE_URL_REGEXP" | "REFERRER_URL_REGEXP" | "PAGE_URL_REGEXP" | "VISITOR_COUNTRY" | "VISIT_COUNT_MORE_THAN" | "CART_SIZE_MORE_THAN" | "CART_SIZE_LESS_THAN" | "PRODUCT_NAMES_IN_CART" | "PIPELINE_STEP" | "JS_FUNCTION_RETURNS_TRUE" | "VISIT_COUNT_LESS_THAN" | "PURCHASE_COUNT_MORE_THAN" | "VISITOR_IP_ADDR" | "PAGE_URL_SIMPLE" | "OPERATOR_PRESENCE" | "AFTER_TIMEOUT" | "CLICK_ELEMENT" | "CLICK_BUTTON" | "DEVICE_TYPE" | "WEEKLY_SCHEDULE" | "VISITOR_PRIORITY_MORE_THAN" | "VISITOR_PRIORITY_LESS_THAN" | "VISITOR_TARGETED" | "VISITOR_CART_LOCKED" | "VISITOR_SENT_LEAD" | "PREVIOUS_PAGE_URL_SIMPLE" | "REFERRER_URL_SIMPLE" | "VISITOR_HAS_WAITED_FOR" | "HAS_CHATTED" | "CHAT_HAS_AT_LEAST_ONE_OF_TAGS" | "VISITOR_BELONGS_TO_A_TARGET_EXPERIMENT_GROUP" | "VISITOR_HAS_WAITED_FOR_THE_FIRST_ANSWER" | "VISITOR_BELONGS_TO_AN_USER_EXPERIMENT_GROUP" | "TARGET_PREDICTION_CONVERSION_PROBABILITY" | "AVERAGE_WAITING_TIME" | "GIOSG_EVENT_TRIGGERED")[];
export declare const CONDITION_TYPES: ("VISITOR_CITY" | "CSS_SELECTOR" | "PREVIOUS_PAGE_URL_REGEXP" | "REFERRER_URL_REGEXP" | "PAGE_URL_REGEXP" | "VISITOR_COUNTRY" | "VISIT_COUNT_MORE_THAN" | "CART_SIZE_MORE_THAN" | "CART_SIZE_LESS_THAN" | "PRODUCT_NAMES_IN_CART" | "PIPELINE_STEP" | "JS_FUNCTION_RETURNS_TRUE" | "VISIT_COUNT_LESS_THAN" | "PURCHASE_COUNT_MORE_THAN" | "VISITOR_IP_ADDR" | "PAGE_URL_SIMPLE" | "OPERATOR_PRESENCE" | "AFTER_TIMEOUT" | "CLICK_ELEMENT" | "CLICK_BUTTON" | "DEVICE_TYPE" | "WEEKLY_SCHEDULE" | "VISITOR_PRIORITY_MORE_THAN" | "VISITOR_PRIORITY_LESS_THAN" | "VISITOR_CART_LOCKED" | "VISITOR_SENT_LEAD" | "PREVIOUS_PAGE_URL_SIMPLE" | "REFERRER_URL_SIMPLE" | "VISITOR_HAS_WAITED_FOR" | "HAS_CHATTED" | "CHAT_HAS_AT_LEAST_ONE_OF_TAGS" | "VISITOR_HAS_WAITED_FOR_THE_FIRST_ANSWER" | "VISITOR_BELONGS_TO_AN_USER_EXPERIMENT_GROUP" | "AVERAGE_WAITING_TIME" | "GIOSG_EVENT_TRIGGERED")[];
export interface ConditionWeeklyScheduleSettings {

@@ -87,0 +81,0 @@ timezone: string;

@@ -51,4 +51,2 @@ export const ConditionTypes = {

/** value: none, settings: none */
VISITOR_TARGETED: 25,
/** value: none, settings: none */
VISITOR_CART_LOCKED: 26,

@@ -67,4 +65,2 @@ /** value: none, settings: none */

CHAT_HAS_AT_LEAST_ONE_OF_TAGS: 32,
/** value: experiment group as a string, settings: none */
VISITOR_BELONGS_TO_A_TARGET_EXPERIMENT_GROUP: 33,
/** value: number of seconds as an integer number, settings: none */

@@ -74,4 +70,2 @@ VISITOR_HAS_WAITED_FOR_THE_FIRST_ANSWER: 34,

VISITOR_BELONGS_TO_AN_USER_EXPERIMENT_GROUP: 35,
/** value: ai prediction (target) conversion probability, settings: none */
TARGET_PREDICTION_CONVERSION_PROBABILITY: 36,
/** value: prediction for waiting time in this room */

@@ -78,0 +72,0 @@ AVERAGE_WAITING_TIME: 37,

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

export { Brand, BrandPayload, PublicBrand } from "./brands";
export { CallStatusType, IdleCallStatus, DialingCallStatus, RingingCallStatus, CobrowseState, InCallStatus, CallStatus, } from "./call";
export { CallStatusType, IdleCallStatus, DialingCallStatus, RingingCallStatus, CobrowseState, InCallStatus, JitsiToken, CallStatus, } from "./call";
export { CannedAnswerIncrement, CannedAnswer, CannedAnswerPayload } from "./canned_answers";

@@ -9,0 +9,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";

@@ -165,3 +165,3 @@ import { NestedGoal } from "./goals";

/** Type of the rule */
type: "normal" | "target" | "experiment";
type: "normal" | "experiment";
/** How often the rule can match. By default is null and the rule can match every time the conditions change or the page is loaded */

@@ -202,3 +202,3 @@ match_once_per: "session" | "page" | "visitor" | null;

/** Type of the rule */
type?: "normal" | "target";
type?: "normal";
/** How often the rule can match. By default is null and the rule can match every time the conditions change or the page is loaded */

@@ -223,3 +223,3 @@ match_once_per?: "session" | "page" | "visitor" | null;

/** Type of the rule */
type?: "normal" | "target";
type?: "normal";
/** How often the rule can match. By default is null and the rule can match every time the conditions change or the page is loaded */

@@ -226,0 +226,0 @@ match_once_per?: "session" | "page" | "visitor" | null;

import { VisitorCid, RoomUid, VisitorSessionCid, ChatUid, OrganizationUid } from "./types";
export interface VisitorVariable {
/** Not mentioned in developers.giosg.com */
/** Not mentioned in docs.giosg.com */
chat_id?: ChatUid;

@@ -5,0 +5,0 @@ /** ID of the visitor */

@@ -188,8 +188,2 @@ import { NestedUser } from "./customer";

/** @deprecated */
pipeline_step_index: number | null;
/** @deprecated */
pipeline_step_name: string | null;
/** @deprecated */
pipeline_step_count: number | null;
/** @deprecated */
legacy_id: string | null;

@@ -196,0 +190,0 @@ }

{
"name": "@giosg/types",
"version": "7.3.1",
"version": "8.0.1",
"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

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