@hpcc-js/comms 3.20.1 → 3.22.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,4 +1,4 @@
1
- import { ResourcesServiceBase, WsResources } from "./wsdl/WsResources/v1.01/WsResources.ts";
1
+ import { ResourcesServiceBase, WsResources } from "./wsdl/WsResources/v1.04/WsResources.ts";
2
2
  export { type WsResources };
3
3
  export declare class ResourcesService extends ResourcesServiceBase {
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import { XMLNode } from "@hpcc-js/util";
2
- import { WsWorkunits, WorkunitsServiceBase } from "./wsdl/WsWorkunits/v2.10/WsWorkunits.ts";
2
+ import { WsWorkunits, WorkunitsServiceBase } from "./wsdl/WsWorkunits/v2.11/WsWorkunits.ts";
3
3
  import { IConnection, IOptions } from "../connection.ts";
4
4
  import { type ESPResponseType } from "../espConnection.ts";
5
5
  export { WsWorkunits };
@@ -0,0 +1,127 @@
1
+ import { IConnection, IOptions } from "../../../../connection.ts";
2
+ import { Service } from "../../../../espConnection.ts";
3
+ export declare namespace WsResources {
4
+ type unsignedInt = number;
5
+ enum HPCCQueueType {
6
+ Thor = "Thor",
7
+ HThor = "HThor",
8
+ Roxie = "Roxie",
9
+ All = "All"
10
+ }
11
+ enum ExternalIPStatus {
12
+ Unknown = "Unknown",
13
+ None = "None",
14
+ Pending = "Pending"
15
+ }
16
+ enum ResourceType {
17
+ UNKNOWN = "UNKNOWN",
18
+ TRACES = "TRACES",
19
+ LOGS = "LOGS",
20
+ METRICS = "METRICS"
21
+ }
22
+ interface WsResourcesPingRequest {
23
+ }
24
+ interface WsResourcesPingResponse {
25
+ }
26
+ interface ServiceQueryRequest {
27
+ Type?: string;
28
+ Name?: string;
29
+ }
30
+ interface Exception {
31
+ Code?: string;
32
+ Audience?: string;
33
+ Source?: string;
34
+ Message?: string;
35
+ }
36
+ interface Exceptions {
37
+ Source?: string;
38
+ Exception?: Exception[];
39
+ }
40
+ interface Service {
41
+ Name?: string;
42
+ Type?: string;
43
+ Port?: unsignedInt;
44
+ TLSSecure?: boolean;
45
+ }
46
+ interface Services {
47
+ Service?: Service[];
48
+ }
49
+ interface ServiceQueryResponse {
50
+ Exceptions?: Exceptions;
51
+ Services?: Services;
52
+ }
53
+ interface TargetQueryRequest {
54
+ Type?: HPCCQueueType;
55
+ }
56
+ interface HPCCQueue {
57
+ Name?: string;
58
+ Type?: HPCCQueueType;
59
+ }
60
+ interface Queues {
61
+ HPCCQueue?: HPCCQueue[];
62
+ }
63
+ interface Roxies {
64
+ Item?: string[];
65
+ }
66
+ interface TargetQueryResponse {
67
+ Exceptions?: Exceptions;
68
+ Queues?: Queues;
69
+ Roxies?: Roxies;
70
+ }
71
+ interface WebLinksQueryRequest {
72
+ }
73
+ interface NamedValue {
74
+ Name?: string;
75
+ Value?: string;
76
+ }
77
+ interface Annotations {
78
+ NamedValue?: NamedValue[];
79
+ }
80
+ interface ExternalIPs {
81
+ Item?: string[];
82
+ }
83
+ interface ServicePorts {
84
+ Name?: string;
85
+ Protocol?: string;
86
+ Port?: unsignedInt;
87
+ }
88
+ interface Ports {
89
+ ServicePorts?: ServicePorts[];
90
+ }
91
+ interface Connection {
92
+ Type?: string;
93
+ ExternalIPs?: ExternalIPs;
94
+ ExternalIPStatus?: ExternalIPStatus;
95
+ Ports?: Ports;
96
+ }
97
+ interface DiscoveredWebLink {
98
+ ServiceName?: string;
99
+ NameSpace?: string;
100
+ Annotations?: Annotations;
101
+ Connection?: Connection;
102
+ }
103
+ interface DiscoveredWebLinks {
104
+ DiscoveredWebLink?: DiscoveredWebLink[];
105
+ }
106
+ interface ConfiguredWebLink {
107
+ Name?: string;
108
+ Description?: string;
109
+ URL?: string;
110
+ ResourceType?: ResourceType;
111
+ }
112
+ interface ConfiguredWebLinks {
113
+ ConfiguredWebLink?: ConfiguredWebLink[];
114
+ }
115
+ interface WebLinksQueryResponse {
116
+ Exceptions?: Exceptions;
117
+ DiscoveredWebLinks?: DiscoveredWebLinks;
118
+ ConfiguredWebLinks?: ConfiguredWebLinks;
119
+ }
120
+ }
121
+ export declare class ResourcesServiceBase extends Service {
122
+ constructor(optsConnection: IOptions | IConnection);
123
+ Ping(request: WsResources.WsResourcesPingRequest, abortSignal?: AbortSignal): Promise<WsResources.WsResourcesPingResponse>;
124
+ ServiceQuery(request: WsResources.ServiceQueryRequest, abortSignal?: AbortSignal): Promise<WsResources.ServiceQueryResponse>;
125
+ TargetQuery(request: WsResources.TargetQueryRequest, abortSignal?: AbortSignal): Promise<WsResources.TargetQueryResponse>;
126
+ WebLinksQuery(request: WsResources.WebLinksQueryRequest, abortSignal?: AbortSignal): Promise<WsResources.WebLinksQueryResponse>;
127
+ }
@@ -379,6 +379,7 @@ export declare namespace WsWorkunits {
379
379
  Scope?: string;
380
380
  Priority?: int;
381
381
  Cost?: double;
382
+ TimeStamp?: string;
382
383
  }
383
384
  interface Errors {
384
385
  ECLException?: ECLException[];
@@ -1,84 +0,0 @@
1
- import { IConnection, IOptions } from "../../../../connection.ts";
2
- import { Service } from "../../../../espConnection.ts";
3
- type unsignedInt = number;
4
- export declare namespace WsResources {
5
- interface WsResourcesPingRequest {
6
- }
7
- interface WsResourcesPingResponse {
8
- }
9
- interface ServiceQueryRequest {
10
- Type?: string;
11
- Name?: string;
12
- }
13
- interface Exception {
14
- Code: string;
15
- Audience: string;
16
- Source: string;
17
- Message: string;
18
- }
19
- interface Exceptions {
20
- Source: string;
21
- Exception: Exception[];
22
- }
23
- interface Service {
24
- Name: string;
25
- Type: string;
26
- Port: unsignedInt;
27
- TLSSecure: boolean;
28
- }
29
- interface Services {
30
- Service: Service[];
31
- }
32
- interface ServiceQueryResponse {
33
- Exceptions: {
34
- Source: string;
35
- Exception: Exception[];
36
- };
37
- Services: {
38
- Service: Service[];
39
- };
40
- }
41
- interface WebLinksQueryRequest {
42
- }
43
- interface NamedValue {
44
- Name: string;
45
- Value: string;
46
- }
47
- interface Annotations {
48
- NamedValue: NamedValue[];
49
- }
50
- interface DiscoveredWebLink {
51
- ServiceName: string;
52
- NameSpace: string;
53
- Annotations: {
54
- NamedValue: NamedValue[];
55
- };
56
- }
57
- interface DiscoveredWebLinks {
58
- DiscoveredWebLink: DiscoveredWebLink[];
59
- }
60
- interface ConfiguredWebLink {
61
- Name: string;
62
- Description: string;
63
- URL: string;
64
- }
65
- interface ConfiguredWebLinks {
66
- ConfiguredWebLink: ConfiguredWebLink[];
67
- }
68
- interface WebLinksQueryResponse {
69
- Exceptions: Exceptions;
70
- DiscoveredWebLinks: {
71
- DiscoveredWebLink: DiscoveredWebLink[];
72
- };
73
- ConfiguredWebLinks: {
74
- ConfiguredWebLink: ConfiguredWebLink[];
75
- };
76
- }
77
- }
78
- export declare class ResourcesServiceBase extends Service {
79
- constructor(optsConnection: IOptions | IConnection);
80
- Ping(request: WsResources.WsResourcesPingRequest): Promise<WsResources.WsResourcesPingResponse>;
81
- ServiceQuery(request: WsResources.ServiceQueryRequest): Promise<WsResources.ServiceQueryResponse>;
82
- WebLinksQuery(request: WsResources.WebLinksQueryRequest): Promise<WsResources.WebLinksQueryResponse>;
83
- }
84
- export {};