@onereach/types-hitl-api 0.0.37-rc.0 → 0.0.37
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.
|
@@ -51,12 +51,17 @@ export interface IAgentStatusSettings {
|
|
|
51
51
|
readonly defaultLoginStatusReason?: string;
|
|
52
52
|
readonly busyStatusReasons?: string[];
|
|
53
53
|
}
|
|
54
|
-
export interface
|
|
54
|
+
export interface IUpdateAgentOptions {
|
|
55
55
|
readonly accountId: string;
|
|
56
56
|
readonly agentId: string;
|
|
57
|
+
readonly multiUserId?: string;
|
|
57
58
|
readonly ruleGroupIds?: string[];
|
|
58
59
|
readonly meta?: object;
|
|
60
|
+
readonly email?: string;
|
|
61
|
+
readonly role?: USER_ROLE;
|
|
59
62
|
readonly transaction?: any;
|
|
63
|
+
readonly metaActionType?: 'merge' | 'replace';
|
|
64
|
+
readonly updateType?: 'update' | 'upsert';
|
|
60
65
|
}
|
|
61
66
|
export declare type IPutAgentQuery = ISetAgentStatusQuery;
|
|
62
67
|
export interface IPutAgentBody {
|
|
@@ -71,11 +76,6 @@ export interface IPutAgentRuleGroupsOptions {
|
|
|
71
76
|
}
|
|
72
77
|
export declare type IPutAgentRuleGroupsQuery = ISetAgentStatusQuery;
|
|
73
78
|
export declare type IPutAgentRuleGroupsBody = Omit<IPutAgentRuleGroupsOptions, 'accountId' | 'agentId'>;
|
|
74
|
-
export interface IPutAgentMetaOptions {
|
|
75
|
-
readonly accountId: string;
|
|
76
|
-
readonly agentId: string;
|
|
77
|
-
readonly meta: object;
|
|
78
|
-
}
|
|
79
79
|
export declare type IPutAgentMetaQuery = ISetAgentStatusQuery;
|
|
80
80
|
export interface IPutAgentMetaBody {
|
|
81
81
|
readonly meta: object;
|
|
@@ -101,3 +101,12 @@ export interface IUpdateAgentsStatusBody<T extends IStatusChangeContext = IStatu
|
|
|
101
101
|
readonly query: string;
|
|
102
102
|
readonly statusChangeContext?: T;
|
|
103
103
|
}
|
|
104
|
+
export interface ISyncAgentsOptions {
|
|
105
|
+
readonly accountId: string;
|
|
106
|
+
readonly agentIds?: string[];
|
|
107
|
+
}
|
|
108
|
+
export declare type ISyncAgentsQuery = ITargetAccountId;
|
|
109
|
+
export declare type ISyncAgentsBody = Partial<ISyncAgentsOptions>;
|
|
110
|
+
export interface ISyncAgentsResponse {
|
|
111
|
+
readonly data: Partial<IAgent>[];
|
|
112
|
+
}
|