@giosg/types
Advanced tools
Comparing version 6.7.0 to 6.10.0
@@ -19,2 +19,6 @@ export declare const supportedEventTypes: readonly ["tcChange"]; | ||
} | ||
export declare enum Service { | ||
All = 0, | ||
Chat = 1 | ||
} | ||
export interface TCPreferences { | ||
@@ -66,6 +70,7 @@ purpose: { | ||
/** | ||
* @param forService The Service which minimum required TC is requested. | ||
* | ||
* @returns List of purposes which are required to run all current giosg services. | ||
* @returns List of purposes which are required to run the given giosg Service. | ||
*/ | ||
getRequiredTC(): Purpose[]; | ||
getRequiredTC(forService: Service): Purpose[]; | ||
/** | ||
@@ -72,0 +77,0 @@ * |
@@ -18,1 +18,6 @@ export var supportedEventTypes = ["tcChange"]; | ||
})(Purpose || (Purpose = {})); | ||
export var Service; | ||
(function (Service) { | ||
Service[Service["All"] = 0] = "All"; | ||
Service[Service["Chat"] = 1] = "Chat"; | ||
})(Service || (Service = {})); |
@@ -1,2 +0,2 @@ | ||
export { supportedEventTypes, EventType, TCEventListener, Purpose, TCPreferences, IGiosgTCApi, ITCApi, } from "./GiosgTCApi"; | ||
export { supportedEventTypes, EventType, TCEventListener, Purpose, Service, TCPreferences, IGiosgTCApi, ITCApi, } from "./GiosgTCApi"; | ||
export { ActionTypes, ActionType, ActionTypeString, ACTION_TYPES, ActionShowAutosuggestSettings, ActionSendChatMessageSettings, ActionSendInteractionToChatSettings, ActionSettingsType, ACTION_STYLES, ActionStyle, } from "./actions"; | ||
@@ -14,3 +14,3 @@ export { GiosgAppInstance, GiosgAppTriggerCondition, GiosgApp, GiosgAppPayload, InstalledGiosgApp, NestedGiosgApp, } from "./apps"; | ||
export { EmailAttachments, EmailRequest } from "./email"; | ||
export { Experiment, ExperimentPayload, NestedExperimentGroup, NestedExperimentGroupPayload, ExperimentResult, ExperimentResultPayload, ExperimentResultResponse, ExperimentGroupGoalRuleUid, ExperimentResultGroupTotals, ExperimentResultGroupsByWeek, } from "./experiments"; | ||
export { Experiment, ExperimentPayload, NestedExperimentGroup, NestedExperimentGroupPayload, ExperimentResult, ExperimentResultPayload, ExperimentResultResponse, ExperimentGroupGoalRuleUid, ExperimentResultGroupTotals, ExperimentResultGroupsByWeek, ExperimentResponseGroupTotals, ExperimentResponseGroupsByWeek, } from "./experiments"; | ||
export { GoalMatch, GoalMatchPayload, Goal, GoalPayload, GoalUpdatePayload, NestedGoalCondition, NestedGoalConditionPayload, NestedGoal, } from "./goals"; | ||
@@ -22,3 +22,3 @@ export { LeadFormData, LeadFormDataPayload } from "./leadforms"; | ||
export { UserPermission, UserPermissionPayload } from "./permissions"; | ||
export { AutosuggestPermissionOptions, AutoSuggestPermissionOption, AutosuggestPermissionOptionString, AUTOSUGGEST_PERMISSION_OPTIONS, PublicAutosuggestPermission, PublicAutosuggestPermissionPayload, PublicAutosuggest, PublicAutosuggestPayload, PublicChatMessage, PublicChatMessagePayload, PublicChat, PublicChatPayload, PublicCustomVisitorId, PublicCustomVisitorIdPayload, PublicLogin, PublicLoginPayload, PublicRoom, PublicRoomVisitorCreatePayload, PublicRoomVisitor, PublicRoomVisitorUpdate, PublicRoomVisitorUpdatePayload, PublicUser, PublicVisitorChatTag, } from "./public"; | ||
export { AutosuggestPermissionOptions, AutoSuggestPermissionOption, AutosuggestPermissionOptionString, AUTOSUGGEST_PERMISSION_OPTIONS, PublicAutosuggestPermission, PublicAutosuggestPermissionPayload, PublicAutosuggest, PublicAutosuggestPayload, PublicChatMessage, PublicChatMessagePayload, PublicChat, PublicChatPayload, PublicCustomVisitorId, PublicCustomVisitorIdPayload, PublicLogin, PublicLoginPayload, PublicRoom, GiosgBrand, PublicRoomVisitorCreatePayload, PublicRoomVisitor, PublicRoomVisitorUpdate, PublicRoomVisitorUpdatePayload, PublicUser, PublicVisitorChatTag, } from "./public"; | ||
export { NestedRoom, ServiceHours, OrganizationRoomSettings, OrganizationRoomSettingsPayload, RoomAllowedDomainLink, RoomAllowedDomainLinkPayload, RoomCreatePayload, Room, RoomPayload, } from "./rooms"; | ||
@@ -25,0 +25,0 @@ export { RouterStepPrecondition, RouterStep, RouterStepPayload, Router, RouterPayload, NestedRouter, } from "./routers"; |
@@ -1,2 +0,2 @@ | ||
export { supportedEventTypes, Purpose, } from "./GiosgTCApi"; | ||
export { supportedEventTypes, Purpose, Service, } from "./GiosgTCApi"; | ||
export { ActionTypes, ACTION_TYPES, ACTION_STYLES, } from "./actions"; | ||
@@ -3,0 +3,0 @@ export { TIMEZONES, CURRENCIES, LANGUAGE_CODES } from "./common"; |
@@ -335,3 +335,13 @@ import { NestedAvatar } from "./customer"; | ||
estimated_waiting_time: number | null; | ||
/** The brand for the dialog */ | ||
dialog_brand_id: string | null; | ||
} | ||
export interface GiosgBrand<T> { | ||
id: string; | ||
data: T; | ||
organization_id: string; | ||
created_at: string; | ||
updated_at: string; | ||
updated_by: string; | ||
} | ||
export interface PublicRoomVisitorCreatePayload { | ||
@@ -338,0 +348,0 @@ /** Unique identifier of the visitor */ |
@@ -80,2 +80,5 @@ import { NestedOrganization, NestedUser } from "./customer"; | ||
legacy_chat_dialog_id: LegacyChatDialogUid; | ||
/** Transparency and cookies are enabled or not. */ | ||
are_consents_enabled_by_default: boolean; | ||
/** Service Hours setting for room*/ | ||
service_hours?: ServiceHours; | ||
@@ -111,2 +114,5 @@ } | ||
is_signature_required?: boolean; | ||
/** Transparency and cookies are enabled or not. */ | ||
are_consents_enabled_by_default: boolean; | ||
/** Service Hours setting for room*/ | ||
service_hours?: ServiceHours; | ||
@@ -113,0 +119,0 @@ } |
{ | ||
"name": "@giosg/types", | ||
"version": "6.7.0", | ||
"version": "6.10.0", | ||
"description": "TypeScript interfaces for GiosgAPI", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
356597
110
5685
1