@giosg/types
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -109,3 +109,3 @@ import { NestedOrganization, NestedUser } from "./customer"; | ||
export interface GoalPatchPayload { | ||
export interface GoalUpdatePayload { | ||
/** Name of the goal */ | ||
@@ -112,0 +112,0 @@ name: string; |
@@ -113,4 +113,4 @@ export { | ||
Goal, | ||
GoalPatchPayload, | ||
GoalPayload, | ||
GoalUpdatePayload, | ||
NestedGoalCondition, | ||
@@ -117,0 +117,0 @@ NestedGoalConditionPayload, |
{ | ||
"name": "@giosg/types", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "TypeScript interfaces for GiosgAPI", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
29
rules.ts
@@ -305,1 +305,30 @@ import { NestedGoal } from "./goals"; | ||
} | ||
export interface RuleUpdatePayload { | ||
/** Name of the rule */ | ||
name?: string; | ||
/** Ordered list of conditions of the rule. The list order defines the matching order */ | ||
conditions?: RuleConditionPayload[]; | ||
/** Ordered list of actions of the rule. The list order defines the execution order */ | ||
actions?: RuleActionPayload[]; | ||
/** A list of unique identifiers of rooms where the rule can be triggered. Can only be set if "is_global" is false */ | ||
room_ids?: RoomUid[]; | ||
/** Unique identifier of the goal set for the rule */ | ||
goal_id?: GoalUid; | ||
/** Type of the rule */ | ||
type?: "normal" | "target"; | ||
/** 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 */ | ||
match_once_per?: "session" | "page" | "visitor" | null; | ||
/** Defines whether the rule is currently enabled */ | ||
is_enabled?: boolean; | ||
/** Defines whether the rule can be triggered in all of the organization’s rooms */ | ||
is_global?: boolean; | ||
} |
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
146451
3816