@giosg/types
Advanced tools
Comparing version 7.0.1 to 7.1.0
@@ -16,2 +16,10 @@ import { CallStatusUid, ChatUid, UserUid, VisitorCid, OrganizationUid } from "./types"; | ||
organization_id: OrganizationUid; | ||
/** State of audio preference */ | ||
audio_enabled: boolean; | ||
/** State of video preference */ | ||
video_enabled: boolean; | ||
/** The text on ringing state */ | ||
call_name: string; | ||
/** The avatar on ringing state */ | ||
call_avatar: string; | ||
} | ||
@@ -18,0 +26,0 @@ export interface IdleCallStatus extends BaseCallStatus { |
@@ -241,2 +241,4 @@ import { NestedAvatar } from "./customer"; | ||
is_bot: boolean; | ||
/** Defines wheter the user to whom the membership is related to is deleted */ | ||
is_user_deleted: boolean; | ||
} | ||
@@ -243,0 +245,0 @@ export interface ChatMembershipVisitor extends ChatMembershipCommon { |
@@ -340,3 +340,5 @@ import { NestedAvatar } from "./customer"; | ||
id: string; | ||
name: string; | ||
data: T; | ||
computed_data: T; | ||
organization_id: string; | ||
@@ -364,3 +366,3 @@ created_at: string; | ||
label: string; | ||
value: string; | ||
value: string | boolean; | ||
}>; | ||
@@ -367,0 +369,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"; |
@@ -340,3 +340,5 @@ import { NestedAvatar } from "./customer"; | ||
id: string; | ||
name: string; | ||
data: T; | ||
computed_data: T; | ||
organization_id: string; | ||
@@ -364,3 +366,3 @@ created_at: string; | ||
label: string; | ||
value: string; | ||
value: string | boolean; | ||
}>; | ||
@@ -367,0 +369,0 @@ } |
@@ -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": "7.0.1", | ||
"version": "7.1.0", | ||
"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
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17231
0
1078180
326