@hpcc-js/comms 3.21.0 → 3.22.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hpcc-js/comms",
3
- "version": "3.21.0",
3
+ "version": "3.22.1",
4
4
  "description": "hpcc-js - Communications",
5
5
  "type": "module",
6
6
  "main": "./dist/node/index.cjs",
@@ -76,13 +76,13 @@
76
76
  "wsdl-all": "npm-run-all --aggregate-output -c --serial build --parallel wsdl-*"
77
77
  },
78
78
  "dependencies": {
79
- "@hpcc-js/util": "^3.8.0",
79
+ "@hpcc-js/util": "^3.8.1",
80
80
  "@xmldom/xmldom": "0.9.12",
81
- "undici": "8.10.2"
81
+ "undici": "8.11.2"
82
82
  },
83
83
  "devDependencies": {
84
- "@hpcc-js/ddl-shim": "^3.5.3",
85
- "@hpcc-js/vite-plugins": "^1.5.0",
84
+ "@hpcc-js/ddl-shim": "^3.5.4",
85
+ "@hpcc-js/vite-plugins": "^1.5.1",
86
86
  "@kubernetes/client-node": "2.0.0",
87
87
  "@types/d3-time-format": "4.0.3",
88
88
  "@types/node": "^26",
@@ -91,7 +91,7 @@
91
91
  "d3-format": "3.1.2",
92
92
  "d3-time-format": "4.1.0",
93
93
  "data-uri-to-buffer": "8.0.0",
94
- "soap": "1.12.0",
94
+ "soap": "1.13.1",
95
95
  "typescript-formatter": "^7.2.2"
96
96
  },
97
97
  "repository": {
@@ -111,5 +111,5 @@
111
111
  "esp",
112
112
  "HPCC-Platform"
113
113
  ],
114
- "gitHead": "6e6f54437d060dd2ef8ef02dc5f8982790496026"
114
+ "gitHead": "a9a326e7ef5b1fc79838c0f79e7d4ded7b8571fd"
115
115
  }
@@ -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
 
3
3
  export {
4
4
  type WsResources
@@ -0,0 +1,178 @@
1
+ import { IConnection, IOptions } from "../../../../connection.ts";
2
+ import { Service } from "../../../../espConnection.ts";
3
+
4
+ export namespace WsResources {
5
+
6
+ export type unsignedInt = number;
7
+
8
+ export enum HPCCQueueType {
9
+ Thor = "Thor",
10
+ HThor = "HThor",
11
+ Roxie = "Roxie",
12
+ All = "All"
13
+ }
14
+
15
+ export enum ExternalIPStatus {
16
+ Unknown = "Unknown",
17
+ None = "None",
18
+ Pending = "Pending"
19
+ }
20
+
21
+ export enum ResourceType {
22
+ UNKNOWN = "UNKNOWN",
23
+ TRACES = "TRACES",
24
+ LOGS = "LOGS",
25
+ METRICS = "METRICS"
26
+ }
27
+
28
+ export interface WsResourcesPingRequest {
29
+
30
+ }
31
+
32
+ export interface WsResourcesPingResponse {
33
+
34
+ }
35
+
36
+ export interface ServiceQueryRequest {
37
+ Type?: string;
38
+ Name?: string;
39
+ }
40
+
41
+ export interface Exception {
42
+ Code?: string;
43
+ Audience?: string;
44
+ Source?: string;
45
+ Message?: string;
46
+ }
47
+
48
+ export interface Exceptions {
49
+ Source?: string;
50
+ Exception?: Exception[];
51
+ }
52
+
53
+ export interface Service {
54
+ Name?: string;
55
+ Type?: string;
56
+ Port?: unsignedInt;
57
+ TLSSecure?: boolean;
58
+ }
59
+
60
+ export interface Services {
61
+ Service?: Service[];
62
+ }
63
+
64
+ export interface ServiceQueryResponse {
65
+ Exceptions?: Exceptions;
66
+ Services?: Services;
67
+ }
68
+
69
+ export interface TargetQueryRequest {
70
+ Type?: HPCCQueueType;
71
+ }
72
+
73
+ export interface HPCCQueue {
74
+ Name?: string;
75
+ Type?: HPCCQueueType;
76
+ }
77
+
78
+ export interface Queues {
79
+ HPCCQueue?: HPCCQueue[];
80
+ }
81
+
82
+ export interface Roxies {
83
+ Item?: string[];
84
+ }
85
+
86
+ export interface TargetQueryResponse {
87
+ Exceptions?: Exceptions;
88
+ Queues?: Queues;
89
+ Roxies?: Roxies;
90
+ }
91
+
92
+ export interface WebLinksQueryRequest {
93
+
94
+ }
95
+
96
+ export interface NamedValue {
97
+ Name?: string;
98
+ Value?: string;
99
+ }
100
+
101
+ export interface Annotations {
102
+ NamedValue?: NamedValue[];
103
+ }
104
+
105
+ export interface ExternalIPs {
106
+ Item?: string[];
107
+ }
108
+
109
+ export interface ServicePorts {
110
+ Name?: string;
111
+ Protocol?: string;
112
+ Port?: unsignedInt;
113
+ }
114
+
115
+ export interface Ports {
116
+ ServicePorts?: ServicePorts[];
117
+ }
118
+
119
+ export interface Connection {
120
+ Type?: string;
121
+ ExternalIPs?: ExternalIPs;
122
+ ExternalIPStatus?: ExternalIPStatus;
123
+ Ports?: Ports;
124
+ }
125
+
126
+ export interface DiscoveredWebLink {
127
+ ServiceName?: string;
128
+ NameSpace?: string;
129
+ Annotations?: Annotations;
130
+ Connection?: Connection;
131
+ }
132
+
133
+ export interface DiscoveredWebLinks {
134
+ DiscoveredWebLink?: DiscoveredWebLink[];
135
+ }
136
+
137
+ export interface ConfiguredWebLink {
138
+ Name?: string;
139
+ Description?: string;
140
+ URL?: string;
141
+ ResourceType?: ResourceType;
142
+ }
143
+
144
+ export interface ConfiguredWebLinks {
145
+ ConfiguredWebLink?: ConfiguredWebLink[];
146
+ }
147
+
148
+ export interface WebLinksQueryResponse {
149
+ Exceptions?: Exceptions;
150
+ DiscoveredWebLinks?: DiscoveredWebLinks;
151
+ ConfiguredWebLinks?: ConfiguredWebLinks;
152
+ }
153
+
154
+ }
155
+
156
+ export class ResourcesServiceBase extends Service {
157
+
158
+ constructor(optsConnection: IOptions | IConnection) {
159
+ super(optsConnection, "WsResources", "1.04");
160
+ }
161
+
162
+ Ping(request: WsResources.WsResourcesPingRequest, abortSignal?: AbortSignal): Promise<WsResources.WsResourcesPingResponse> {
163
+ return this._connection.send("Ping", request, "json", false, abortSignal, "WsResourcesPingResponse");
164
+ }
165
+
166
+ ServiceQuery(request: WsResources.ServiceQueryRequest, abortSignal?: AbortSignal): Promise<WsResources.ServiceQueryResponse> {
167
+ return this._connection.send("ServiceQuery", request, "json", false, abortSignal, "ServiceQueryResponse");
168
+ }
169
+
170
+ TargetQuery(request: WsResources.TargetQueryRequest, abortSignal?: AbortSignal): Promise<WsResources.TargetQueryResponse> {
171
+ return this._connection.send("TargetQuery", request, "json", false, abortSignal, "TargetQueryResponse");
172
+ }
173
+
174
+ WebLinksQuery(request: WsResources.WebLinksQueryRequest, abortSignal?: AbortSignal): Promise<WsResources.WebLinksQueryResponse> {
175
+ return this._connection.send("WebLinksQuery", request, "json", false, abortSignal, "WebLinksQueryResponse");
176
+ }
177
+
178
+ }
@@ -0,0 +1,178 @@
1
+ import { IConnection, IOptions } from "../../../../connection.ts";
2
+ import { Service } from "../../../../espConnection.ts";
3
+
4
+ export namespace WsResources {
5
+
6
+ export type unsignedInt = number;
7
+
8
+ export enum HPCCQueueType {
9
+ Thor = "Thor",
10
+ HThor = "HThor",
11
+ Roxie = "Roxie",
12
+ All = "All"
13
+ }
14
+
15
+ export enum ExternalIPStatus {
16
+ Unknown = "Unknown",
17
+ None = "None",
18
+ Pending = "Pending"
19
+ }
20
+
21
+ export enum ResourceType {
22
+ UNKNOWN = "UNKNOWN",
23
+ TRACES = "TRACES",
24
+ LOGS = "LOGS",
25
+ METRICS = "METRICS"
26
+ }
27
+
28
+ export interface WsResourcesPingRequest {
29
+
30
+ }
31
+
32
+ export interface WsResourcesPingResponse {
33
+
34
+ }
35
+
36
+ export interface ServiceQueryRequest {
37
+ Type?: string;
38
+ Name?: string;
39
+ }
40
+
41
+ export interface Exception {
42
+ Code?: string;
43
+ Audience?: string;
44
+ Source?: string;
45
+ Message?: string;
46
+ }
47
+
48
+ export interface Exceptions {
49
+ Source?: string;
50
+ Exception?: Exception[];
51
+ }
52
+
53
+ export interface Service {
54
+ Name?: string;
55
+ Type?: string;
56
+ Port?: unsignedInt;
57
+ TLSSecure?: boolean;
58
+ }
59
+
60
+ export interface Services {
61
+ Service?: Service[];
62
+ }
63
+
64
+ export interface ServiceQueryResponse {
65
+ Exceptions?: Exceptions;
66
+ Services?: Services;
67
+ }
68
+
69
+ export interface TargetQueryRequest {
70
+ Type?: HPCCQueueType;
71
+ }
72
+
73
+ export interface HPCCQueue {
74
+ Name?: string;
75
+ Type?: HPCCQueueType;
76
+ }
77
+
78
+ export interface Queues {
79
+ HPCCQueue?: HPCCQueue[];
80
+ }
81
+
82
+ export interface Roxies {
83
+ Item?: string[];
84
+ }
85
+
86
+ export interface TargetQueryResponse {
87
+ Exceptions?: Exceptions;
88
+ Queues?: Queues;
89
+ Roxies?: Roxies;
90
+ }
91
+
92
+ export interface WebLinksQueryRequest {
93
+
94
+ }
95
+
96
+ export interface NamedValue {
97
+ Name?: string;
98
+ Value?: string;
99
+ }
100
+
101
+ export interface Annotations {
102
+ NamedValue?: NamedValue[];
103
+ }
104
+
105
+ export interface ExternalIPs {
106
+ Item?: string[];
107
+ }
108
+
109
+ export interface ServicePorts {
110
+ Name?: string;
111
+ Protocol?: string;
112
+ Port?: unsignedInt;
113
+ }
114
+
115
+ export interface Ports {
116
+ ServicePorts?: ServicePorts[];
117
+ }
118
+
119
+ export interface Connection {
120
+ Type?: string;
121
+ ExternalIPs?: ExternalIPs;
122
+ ExternalIPStatus?: ExternalIPStatus;
123
+ Ports?: Ports;
124
+ }
125
+
126
+ export interface DiscoveredWebLink {
127
+ ServiceName?: string;
128
+ NameSpace?: string;
129
+ Annotations?: Annotations;
130
+ Connection?: Connection;
131
+ }
132
+
133
+ export interface DiscoveredWebLinks {
134
+ DiscoveredWebLink?: DiscoveredWebLink[];
135
+ }
136
+
137
+ export interface ConfiguredWebLink {
138
+ Name?: string;
139
+ Description?: string;
140
+ URL?: string;
141
+ ResourceType?: ResourceType;
142
+ }
143
+
144
+ export interface ConfiguredWebLinks {
145
+ ConfiguredWebLink?: ConfiguredWebLink[];
146
+ }
147
+
148
+ export interface WebLinksQueryResponse {
149
+ Exceptions?: Exceptions;
150
+ DiscoveredWebLinks?: DiscoveredWebLinks;
151
+ ConfiguredWebLinks?: ConfiguredWebLinks;
152
+ }
153
+
154
+ }
155
+
156
+ export class ResourcesServiceBase extends Service {
157
+
158
+ constructor(optsConnection: IOptions | IConnection) {
159
+ super(optsConnection, "WsResources", "1.04");
160
+ }
161
+
162
+ Ping(request: WsResources.WsResourcesPingRequest, abortSignal?: AbortSignal): Promise<WsResources.WsResourcesPingResponse> {
163
+ return this._connection.send("Ping", request, "json", false, abortSignal, "WsResourcesPingResponse");
164
+ }
165
+
166
+ ServiceQuery(request: WsResources.ServiceQueryRequest, abortSignal?: AbortSignal): Promise<WsResources.ServiceQueryResponse> {
167
+ return this._connection.send("ServiceQuery", request, "json", false, abortSignal, "ServiceQueryResponse");
168
+ }
169
+
170
+ TargetQuery(request: WsResources.TargetQueryRequest, abortSignal?: AbortSignal): Promise<WsResources.TargetQueryResponse> {
171
+ return this._connection.send("TargetQuery", request, "json", false, abortSignal, "TargetQueryResponse");
172
+ }
173
+
174
+ WebLinksQuery(request: WsResources.WebLinksQueryRequest, abortSignal?: AbortSignal): Promise<WsResources.WebLinksQueryResponse> {
175
+ return this._connection.send("WebLinksQuery", request, "json", false, abortSignal, "WebLinksQueryResponse");
176
+ }
177
+
178
+ }
@@ -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
  }
@@ -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
+ }
@@ -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 {};