@onereach/types-hitl-api 0.0.67 → 0.0.68-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -97,6 +97,10 @@ export interface ITagsQuery {
|
|
|
97
97
|
readonly OR?: (string | ITagsQuery)[];
|
|
98
98
|
readonly AND?: (string | ITagsQuery)[];
|
|
99
99
|
}
|
|
100
|
+
export interface IMetaWithCondition {
|
|
101
|
+
readonly value: string | boolean | number;
|
|
102
|
+
readonly condition: 'IS_EQUAL' | 'IS_NOT_EQUAL';
|
|
103
|
+
}
|
|
100
104
|
export interface ISearchSessionsOptions {
|
|
101
105
|
readonly accountId: string;
|
|
102
106
|
readonly agentId: string;
|
|
@@ -108,7 +112,7 @@ export interface ISearchSessionsOptions {
|
|
|
108
112
|
readonly needsAction?: boolean;
|
|
109
113
|
readonly searchPhrase?: string;
|
|
110
114
|
readonly type?: string;
|
|
111
|
-
readonly meta?: Record<string, string>;
|
|
115
|
+
readonly meta?: Record<string, string | boolean | number | IMetaWithCondition>;
|
|
112
116
|
readonly contactIds?: string[];
|
|
113
117
|
readonly sessionIds?: string[];
|
|
114
118
|
readonly sessionsSearchOptions?: ISessionSearchOptions;
|