@onereach/types-hitl-api 0.0.30-rc.5 → 0.0.30-rc.6
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.
|
@@ -98,4 +98,33 @@ export interface ISearchSessionsOptions {
|
|
|
98
98
|
readonly sessionsSearchOptions?: ISessionSearchOptions;
|
|
99
99
|
}
|
|
100
100
|
export declare type ISearchSessionsQuery = ISearchSessionsOptions & ITargetAccountId & ITargetUserId;
|
|
101
|
+
export interface ISearchSessionsWithContactsResponse {
|
|
102
|
+
readonly data: ISession[];
|
|
103
|
+
readonly page?: {
|
|
104
|
+
readonly value?: string;
|
|
105
|
+
readonly uniqueId?: string;
|
|
106
|
+
readonly nextId?: string;
|
|
107
|
+
};
|
|
108
|
+
readonly contacts: {
|
|
109
|
+
data: object[];
|
|
110
|
+
total: number;
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
export interface IContactSearchParams {
|
|
114
|
+
readonly name?: string;
|
|
115
|
+
readonly phoneNumbers?: string;
|
|
116
|
+
readonly emails?: string;
|
|
117
|
+
readonly tags?: string[];
|
|
118
|
+
}
|
|
119
|
+
export interface ISearchSessionsWithContactsOptions {
|
|
120
|
+
readonly accountId: string;
|
|
121
|
+
readonly agentId: string;
|
|
122
|
+
readonly contact?: IContactSearchParams;
|
|
123
|
+
readonly dateRange?: IDateRangeOptions;
|
|
124
|
+
readonly searchPhrase?: string;
|
|
125
|
+
readonly tags?: string[];
|
|
126
|
+
readonly sessionsSearchOptions?: ISessionSearchOptions;
|
|
127
|
+
readonly contactsSearchOptions?: IContactSearchOptions;
|
|
128
|
+
}
|
|
129
|
+
export declare type ISearchSessionsWithContactsQuery = ISearchSessionsWithContactsOptions & ITargetAccountId & ITargetUserId;
|
|
101
130
|
export {};
|