@or-sdk/hitl 0.35.2-beta.3693.0 → 0.35.2-beta.3694.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.js","sourceRoot":"","sources":["../../../src/types/agents.ts"],"names":[],"mappings":";;;AAAA,2DAKkC;
|
|
1
|
+
{"version":3,"file":"agents.js","sourceRoot":"","sources":["../../../src/types/agents.ts"],"names":[],"mappings":";;;AAAA,2DAKkC;AA+FzB,6FAlGP,6BAAY,OAkGO;AAAE,uGAjGrB,uCAAsB,OAiGqB;AAAE,0FAhG7C,0BAAS,OAgG6C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.js","sourceRoot":"","sources":["../../../src/types/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EACZ,sBAAsB,EACtB,SAAS,GACV,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"agents.js","sourceRoot":"","sources":["../../../src/types/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EACZ,sBAAsB,EACtB,SAAS,GACV,MAAM,0BAA0B,CAAC;AA+FlC,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -3,7 +3,8 @@ import { ApiVersionOptions, NoAccountId } from './common';
|
|
|
3
3
|
export interface Agent extends Omit<Agents.IAgent, 'agentId'> {
|
|
4
4
|
}
|
|
5
5
|
export type DefaultMeta = object;
|
|
6
|
-
export
|
|
6
|
+
export interface DefaultStatusChangeContext extends Agents.IStatusChangeContext {
|
|
7
|
+
}
|
|
7
8
|
export interface GetAgentsResponse {
|
|
8
9
|
readonly data: Partial<Agent>[];
|
|
9
10
|
readonly last?: {
|
|
@@ -21,18 +22,25 @@ export interface GetCompleteAgentByIdOptions extends ApiVersionOptions, Agents.I
|
|
|
21
22
|
export interface SearchAgentsResponse {
|
|
22
23
|
readonly data: Partial<Agent>[];
|
|
23
24
|
}
|
|
24
|
-
export
|
|
25
|
-
|
|
26
|
-
export
|
|
27
|
-
|
|
28
|
-
export
|
|
29
|
-
|
|
25
|
+
export interface SearchAgentsOptions extends ApiVersionOptions, Agents.ISearchAgentsBody {
|
|
26
|
+
}
|
|
27
|
+
export interface UpdateAgentResponse extends Partial<Agent> {
|
|
28
|
+
}
|
|
29
|
+
export interface UpdateAgentOptions extends ApiVersionOptions, NoAccountId<Agents.IPutAgentQuery>, Agents.IPutAgentBody {
|
|
30
|
+
}
|
|
31
|
+
export interface UpdateAgentRuleGroupsResponse extends Partial<Agent> {
|
|
32
|
+
}
|
|
33
|
+
export interface UpdateAgentRuleGroupsOptions extends ApiVersionOptions, NoAccountId<Agents.IPutAgentRuleGroupsOptions> {
|
|
34
|
+
}
|
|
35
|
+
export interface GetAgentStatusResponse extends Agents.AgentStatus {
|
|
36
|
+
}
|
|
30
37
|
export interface AgentStatusOptions extends ApiVersionOptions {
|
|
31
38
|
readonly agentId?: string;
|
|
32
39
|
}
|
|
33
|
-
export
|
|
34
|
-
|
|
40
|
+
export interface SetAgentStatusOptions extends ApiVersionOptions, NoAccountId<Agents.ISetAgentStatusQuery>, Agents.ISetAgentStatusBody {
|
|
41
|
+
}
|
|
42
|
+
export interface UpdateAgentsStatusByQueryOptions extends ApiVersionOptions, NoAccountId<Agents.IUpdateAgentsStatusQuery>, Agents.IUpdateAgentsStatusBody {
|
|
35
43
|
readonly maxRetries?: number;
|
|
36
|
-
}
|
|
44
|
+
}
|
|
37
45
|
export { AGENT_STATUS, AGENT_BROADCAST_EVENTS, USER_ROLE };
|
|
38
46
|
//# sourceMappingURL=agents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/types/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,YAAY,EACZ,sBAAsB,EACtB,SAAS,EACV,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AQ,CAAC,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;CACjC;AACD,MAAM,WAAW,mBACf,SAAQ,iBAAiB,EACvB,MAAM,CAAC,iBAAiB;CAAE;AAI9B,MAAM,WAAW,mBACf,SAAQ,OAAO,CAAC,KAAK,CAAC;CAAE;AAE1B,MAAM,WAAW,kBACf,SAAQ,iBAAiB,EACvB,WAAW,CAAC,MAAM,CAAC,cAAc,CAAC,EAClC,MAAM,CAAC,aAAa;CAAE;AAK1B,MAAM,WAAW,6BACf,SAAQ,OAAO,CAAC,KAAK,CAAC;CAAE;AAE1B,MAAM,WAAW,4BACf,SAAQ,iBAAiB,EACvB,WAAW,CAAC,MAAM,CAAC,0BAA0B,CAAC;CAAE;AAKpD,MAAM,WAAW,sBAAuB,SAAQ,MAAM,CAAC,WAAW;CAAG;AACrE,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,qBAAsB,SACrC,iBAAiB,EACjB,WAAW,CAAC,MAAM,CAAC,oBAAoB,CAAC,EACxC,MAAM,CAAC,mBAAmB;CAAG;AAE/B,MAAM,WAAW,gCAAiC,SAChD,iBAAiB,EACjB,WAAW,CAAC,MAAM,CAAC,wBAAwB,CAAC,EAC5C,MAAM,CAAC,uBAAuB;IAC9B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B;AAWD,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,SAAS,EAAE,CAAC"}
|
package/package.json
CHANGED
package/src/types/agents.ts
CHANGED
|
@@ -7,11 +7,13 @@ import {
|
|
|
7
7
|
|
|
8
8
|
import { ApiVersionOptions, NoAccountId } from './common';
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
/* eslint-disable @typescript-eslint/no-empty-object-type */
|
|
11
11
|
export interface Agent extends Omit<Agents.IAgent, 'agentId'> {}
|
|
12
12
|
// export type Agent = Omit<Agents.IAgent, 'agentId'>;
|
|
13
13
|
export type DefaultMeta = object;
|
|
14
|
-
export
|
|
14
|
+
export interface DefaultStatusChangeContext extends Agents.IStatusChangeContext {}
|
|
15
|
+
|
|
16
|
+
// export type DefaultStatusChangeContext = Agents.IStatusChangeContext;
|
|
15
17
|
|
|
16
18
|
export interface GetAgentsResponse {
|
|
17
19
|
readonly data: Partial<Agent>[];
|
|
@@ -21,7 +23,9 @@ export interface GetAgentsResponse {
|
|
|
21
23
|
};
|
|
22
24
|
}
|
|
23
25
|
|
|
24
|
-
export interface GetAgentsOptions
|
|
26
|
+
export interface GetAgentsOptions
|
|
27
|
+
extends ApiVersionOptions,
|
|
28
|
+
NoAccountId<Agents.IGetAgentsOptions> {}
|
|
25
29
|
// export type GetAgentsOptions = ApiVersionOptions
|
|
26
30
|
// & NoAccountId<Agents.IGetAgentsOptions>;
|
|
27
31
|
|
|
@@ -30,7 +34,10 @@ export interface GetCompleteAgentsOptions extends ApiVersionOptions {
|
|
|
30
34
|
readonly accountId?: string;
|
|
31
35
|
}
|
|
32
36
|
|
|
33
|
-
export interface GetCompleteAgentByIdOptions
|
|
37
|
+
export interface GetCompleteAgentByIdOptions
|
|
38
|
+
extends ApiVersionOptions,
|
|
39
|
+
Agents.IGetCompleteAgentByIdParams,
|
|
40
|
+
NoAccountId<Agents.IGetCompleteAgentByIdQuery>{}
|
|
34
41
|
// export type GetCompleteAgentByIdOptions = ApiVersionOptions
|
|
35
42
|
// & Agents.IGetCompleteAgentByIdParams
|
|
36
43
|
// & NoAccountId<Agents.IGetCompleteAgentByIdQuery>;
|
|
@@ -38,30 +45,57 @@ export interface GetCompleteAgentByIdOptions extends ApiVersionOptions, Agents.I
|
|
|
38
45
|
export interface SearchAgentsResponse {
|
|
39
46
|
readonly data: Partial<Agent>[];
|
|
40
47
|
}
|
|
41
|
-
export
|
|
42
|
-
|
|
48
|
+
export interface SearchAgentsOptions
|
|
49
|
+
extends ApiVersionOptions,
|
|
50
|
+
Agents.ISearchAgentsBody{}
|
|
51
|
+
// export type SearchAgentsOptions = ApiVersionOptions
|
|
52
|
+
// & Agents.ISearchAgentsBody;
|
|
43
53
|
|
|
44
|
-
export
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
54
|
+
export interface UpdateAgentResponse
|
|
55
|
+
extends Partial<Agent>{}
|
|
56
|
+
// export type UpdateAgentResponse = Partial<Agent>;
|
|
57
|
+
export interface UpdateAgentOptions
|
|
58
|
+
extends ApiVersionOptions,
|
|
59
|
+
NoAccountId<Agents.IPutAgentQuery>,
|
|
60
|
+
Agents.IPutAgentBody{}
|
|
61
|
+
// export type UpdateAgentOptions = ApiVersionOptions
|
|
62
|
+
// & NoAccountId<Agents.IPutAgentQuery>
|
|
63
|
+
// & Agents.IPutAgentBody;
|
|
48
64
|
|
|
49
|
-
export
|
|
50
|
-
|
|
51
|
-
|
|
65
|
+
export interface UpdateAgentRuleGroupsResponse
|
|
66
|
+
extends Partial<Agent>{}
|
|
67
|
+
// export type UpdateAgentRuleGroupsResponse = Partial<Agent>;
|
|
68
|
+
export interface UpdateAgentRuleGroupsOptions
|
|
69
|
+
extends ApiVersionOptions,
|
|
70
|
+
NoAccountId<Agents.IPutAgentRuleGroupsOptions>{}
|
|
71
|
+
// export type UpdateAgentRuleGroupsOptions = ApiVersionOptions
|
|
72
|
+
// & NoAccountId<Agents.IPutAgentRuleGroupsOptions>;
|
|
52
73
|
|
|
53
|
-
export type GetAgentStatusResponse = Agents.IAgentStatus | Agents.AgentStatus;
|
|
74
|
+
// export type GetAgentStatusResponse = Agents.IAgentStatus | Agents.AgentStatus;
|
|
75
|
+
export interface GetAgentStatusResponse extends Agents.AgentStatus {}
|
|
54
76
|
export interface AgentStatusOptions extends ApiVersionOptions {
|
|
55
77
|
readonly agentId?: string;
|
|
56
78
|
}
|
|
57
79
|
|
|
58
|
-
export
|
|
59
|
-
|
|
60
|
-
|
|
80
|
+
export interface SetAgentStatusOptions extends
|
|
81
|
+
ApiVersionOptions,
|
|
82
|
+
NoAccountId<Agents.ISetAgentStatusQuery>,
|
|
83
|
+
Agents.ISetAgentStatusBody {}
|
|
84
|
+
|
|
85
|
+
export interface UpdateAgentsStatusByQueryOptions extends
|
|
86
|
+
ApiVersionOptions,
|
|
87
|
+
NoAccountId<Agents.IUpdateAgentsStatusQuery>,
|
|
88
|
+
Agents.IUpdateAgentsStatusBody {
|
|
89
|
+
readonly maxRetries?: number;
|
|
90
|
+
}
|
|
61
91
|
|
|
62
|
-
export type
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
92
|
+
// export type SetAgentStatusOptions = ApiVersionOptions
|
|
93
|
+
// & NoAccountId<Agents.ISetAgentStatusQuery>
|
|
94
|
+
// & Agents.ISetAgentStatusBody;
|
|
95
|
+
//
|
|
96
|
+
// export type UpdateAgentsStatusByQueryOptions = ApiVersionOptions
|
|
97
|
+
// & NoAccountId<Agents.IUpdateAgentsStatusQuery>
|
|
98
|
+
// & Agents.IUpdateAgentsStatusBody
|
|
99
|
+
// & { readonly maxRetries?: number; };
|
|
66
100
|
|
|
67
101
|
export { AGENT_STATUS, AGENT_BROADCAST_EVENTS, USER_ROLE };
|