@giosg/types
Advanced tools
Comparing version 6.1.2 to 6.2.0
@@ -7,2 +7,6 @@ # Changelog | ||
## 6.2.0 | ||
- Added `client_type` field to `UserClientPayload` | ||
## 6.1.2 | ||
@@ -9,0 +13,0 @@ |
@@ -20,3 +20,3 @@ export { ActionTypes, ActionType, ActionTypeString, ACTION_TYPES, ActionShowAutosuggestSettings, ActionSendChatMessageSettings, ActionSendInteractionToChatSettings, ActionSettingsType, ACTION_STYLES, ActionStyle, } from "./actions"; | ||
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 { NestedRoom, OrganizationRoomSettings, OrganizationRoomSettingsPayload, RoomAllowedDomainLink, RoomAllowedDomainLinkPayload, RoomCreatePayload, Room, RoomPayload, } from "./rooms"; | ||
export { NestedRoom, ServiceHours, OrganizationRoomSettings, OrganizationRoomSettingsPayload, RoomAllowedDomainLink, RoomAllowedDomainLinkPayload, RoomCreatePayload, Room, RoomPayload, } from "./rooms"; | ||
export { RouterStepPrecondition, RouterStep, RouterStepPayload, Router, RouterPayload, NestedRouter, } from "./routers"; | ||
@@ -23,0 +23,0 @@ export { ExperimentRuleCondition, ExperimentRuleConditionPayload, ExperimentRule, ExperimentRulePayload, RuleAction, RuleActionPayload, RuleCondition, RuleConditionPayload, Rule, RulePayload, RuleUpdatePayload, } from "./rules"; |
@@ -17,2 +17,19 @@ import { NestedOrganization, NestedUser } from "./customer"; | ||
} | ||
export declare type ServiceHours = { | ||
enabled: boolean; | ||
monday_from: string | null; | ||
monday_to: string | null; | ||
tuesday_from: string | null; | ||
tuesday_to: string | null; | ||
wednesday_from: string | null; | ||
wednesday_to: string | null; | ||
thursday_from: string | null; | ||
thursday_to: string | null; | ||
friday_from: string | null; | ||
friday_to: string | null; | ||
saturday_from: string | null; | ||
saturday_to: string | null; | ||
sunday_from: string | null; | ||
sunday_to: string | null; | ||
}; | ||
export interface OrganizationRoomSettings { | ||
@@ -64,2 +81,3 @@ /** Unique identifier of the organization room settings */ | ||
legacy_chat_dialog_id: LegacyChatDialogUid; | ||
service_hours?: ServiceHours; | ||
} | ||
@@ -94,2 +112,3 @@ export interface OrganizationRoomSettingsPayload { | ||
is_signature_required?: boolean; | ||
service_hours?: ServiceHours; | ||
} | ||
@@ -96,0 +115,0 @@ export interface RoomAllowedDomainLink { |
@@ -33,3 +33,3 @@ import { UserClientUid } from "./types"; | ||
/** Client type */ | ||
client_type?: "bar" | "console" | "external" | "notification_service" | "unknown"; | ||
client_type: "bar" | "console" | "external" | "notification_service" | "unknown"; | ||
/** The number of seconds the system should keep this client present. | ||
@@ -77,3 +77,5 @@ * Only the latest provided value applies for the client. */ | ||
subscribed_channels?: string[]; | ||
/** Client type */ | ||
client_type?: "bar" | "console" | "external" | "notification_service" | "unknown"; | ||
} | ||
//# sourceMappingURL=userclients.d.ts.map |
{ | ||
"name": "@giosg/types", | ||
"version": "6.1.2", | ||
"version": "6.2.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
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
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
368945
250
5576
0
3