@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;AA6DzB,6FAhEP,6BAAY,OAgEO;AAAE,uGA/DrB,uCAAsB,OA+DqB;AAAE,0FA9D7C,0BAAS,OA8D6C"}
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;AA6DlC,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,SAAS,EAAE,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 type DefaultStatusChangeContext = Agents.IStatusChangeContext;
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 type SearchAgentsOptions = ApiVersionOptions & Agents.ISearchAgentsBody;
25
- export type UpdateAgentResponse = Partial<Agent>;
26
- export type UpdateAgentOptions = ApiVersionOptions & NoAccountId<Agents.IPutAgentQuery> & Agents.IPutAgentBody;
27
- export type UpdateAgentRuleGroupsResponse = Partial<Agent>;
28
- export type UpdateAgentRuleGroupsOptions = ApiVersionOptions & NoAccountId<Agents.IPutAgentRuleGroupsOptions>;
29
- export type GetAgentStatusResponse = Agents.IAgentStatus | Agents.AgentStatus;
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 type SetAgentStatusOptions = ApiVersionOptions & NoAccountId<Agents.ISetAgentStatusQuery> & Agents.ISetAgentStatusBody;
34
- export type UpdateAgentsStatusByQueryOptions = ApiVersionOptions & NoAccountId<Agents.IUpdateAgentsStatusQuery> & Agents.IUpdateAgentsStatusBody & {
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,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG1D,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC;CAAG;AAEhE,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC;AACjC,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,oBAAoB,CAAC;AAErE,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;IAChC,QAAQ,CAAC,IAAI,CAAC,EAAE;QACd,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;KAC7B,CAAC;CACH;AAED,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC;CAAG;AAKrG,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB;IACjE,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,2BAA4B,SAAQ,iBAAiB,EAAE,MAAM,CAAC,2BAA2B,EAAE,WAAW,CAAC,MAAM,CAAC,0BAA0B,CAAC;CAAE;AAK5J,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;CACjC;AACD,MAAM,MAAM,mB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rE,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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@or-sdk/hitl",
3
- "version": "0.35.2-beta.3693.0",
3
+ "version": "0.35.2-beta.3694.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -7,11 +7,13 @@ import {
7
7
 
8
8
  import { ApiVersionOptions, NoAccountId } from './common';
9
9
 
10
- // eslint-disable-next-line @typescript-eslint/no-empty-object-type
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 type DefaultStatusChangeContext = Agents.IStatusChangeContext;
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 extends ApiVersionOptions, NoAccountId<Agents.IGetAgentsOptions> {}
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 extends ApiVersionOptions, Agents.IGetCompleteAgentByIdParams, NoAccountId<Agents.IGetCompleteAgentByIdQuery>{}
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 type SearchAgentsOptions = ApiVersionOptions
42
- & Agents.ISearchAgentsBody;
48
+ export interface SearchAgentsOptions
49
+ extends ApiVersionOptions,
50
+ Agents.ISearchAgentsBody{}
51
+ // export type SearchAgentsOptions = ApiVersionOptions
52
+ // & Agents.ISearchAgentsBody;
43
53
 
44
- export type UpdateAgentResponse = Partial<Agent>;
45
- export type UpdateAgentOptions = ApiVersionOptions
46
- & NoAccountId<Agents.IPutAgentQuery>
47
- & Agents.IPutAgentBody;
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 type UpdateAgentRuleGroupsResponse = Partial<Agent>;
50
- export type UpdateAgentRuleGroupsOptions = ApiVersionOptions
51
- & NoAccountId<Agents.IPutAgentRuleGroupsOptions>;
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 type SetAgentStatusOptions = ApiVersionOptions
59
- & NoAccountId<Agents.ISetAgentStatusQuery>
60
- & Agents.ISetAgentStatusBody;
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 UpdateAgentsStatusByQueryOptions = ApiVersionOptions
63
- & NoAccountId<Agents.IUpdateAgentsStatusQuery>
64
- & Agents.IUpdateAgentsStatusBody
65
- & { readonly maxRetries?: number; };
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 };