@onereach/types-hitl-api 0.0.30-rc.2 → 0.0.30-rc.3
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.
|
@@ -62,8 +62,40 @@ export declare type IGetSessionsQuery = IGetSessionByIdOptions & IGetSessionsOpt
|
|
|
62
62
|
export interface IGetSessionsResponse {
|
|
63
63
|
readonly data: ISession[];
|
|
64
64
|
readonly page?: {
|
|
65
|
-
readonly value
|
|
65
|
+
readonly value?: string;
|
|
66
66
|
readonly uniqueId?: string;
|
|
67
|
+
readonly nextId?: string;
|
|
67
68
|
};
|
|
68
69
|
}
|
|
70
|
+
export interface IContactSearchOptions {
|
|
71
|
+
readonly projection?: string[];
|
|
72
|
+
readonly from?: number;
|
|
73
|
+
readonly size?: number;
|
|
74
|
+
readonly sort?: string;
|
|
75
|
+
}
|
|
76
|
+
export interface ISessionSearchOptions {
|
|
77
|
+
readonly projection?: string[];
|
|
78
|
+
readonly limit?: number;
|
|
79
|
+
readonly offset?: number;
|
|
80
|
+
readonly order?: string;
|
|
81
|
+
readonly orderBy?: string;
|
|
82
|
+
readonly page?: {
|
|
83
|
+
readonly nextId?: string;
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
export interface IDateRangeOptions {
|
|
87
|
+
readonly from: string;
|
|
88
|
+
readonly to: string;
|
|
89
|
+
}
|
|
90
|
+
export interface ISearchSessionsOptions {
|
|
91
|
+
readonly accountId: string;
|
|
92
|
+
readonly agentId: string;
|
|
93
|
+
readonly dateRange?: IDateRangeOptions;
|
|
94
|
+
readonly claimedBy?: string;
|
|
95
|
+
readonly tags?: string[];
|
|
96
|
+
readonly status?: string[];
|
|
97
|
+
readonly needsAction?: boolean;
|
|
98
|
+
readonly sessionsSearchOptions?: ISessionSearchOptions;
|
|
99
|
+
}
|
|
100
|
+
export declare type ISearchSessionsQuery = ISearchSessionsOptions & ITargetAccountId & ITargetUserId;
|
|
69
101
|
export {};
|