@hpcc-js/comms 2.77.0 → 2.78.2

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.
Files changed (61) hide show
  1. package/dist/index.es6.js +238 -111
  2. package/dist/index.es6.js.map +1 -1
  3. package/dist/index.js +241 -110
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist/index.node.js +241 -110
  8. package/dist/index.node.js.map +1 -1
  9. package/dist/index.node.min.js +1 -1
  10. package/dist/index.node.min.js.map +1 -1
  11. package/lib-es6/__package__.js +2 -2
  12. package/lib-es6/ecl/logicalFile.js +5 -0
  13. package/lib-es6/ecl/logicalFile.js.map +1 -1
  14. package/lib-es6/services/wsDFU.js +6 -2
  15. package/lib-es6/services/wsDFU.js.map +1 -1
  16. package/lib-es6/services/wsLogaccess.js +106 -2
  17. package/lib-es6/services/wsLogaccess.js.map +1 -1
  18. package/lib-es6/services/wsWorkunits.js +3 -0
  19. package/lib-es6/services/wsWorkunits.js.map +1 -1
  20. package/lib-es6/services/wsdl/WsDali/v1.04/WsDali.js +19 -19
  21. package/lib-es6/services/wsdl/WsDali/v1.04/WsDali.js.map +1 -1
  22. package/lib-es6/services/wsdl/WsDfu/v1.63/WsDfu.js +80 -77
  23. package/lib-es6/services/wsdl/WsDfu/v1.63/WsDfu.js.map +1 -1
  24. package/lib-es6/services/wsdl/ws_logaccess/v1.02/ws_logaccess.js +47 -0
  25. package/lib-es6/services/wsdl/ws_logaccess/v1.02/ws_logaccess.js.map +1 -0
  26. package/package.json +3 -3
  27. package/src/__package__.ts +2 -2
  28. package/src/ecl/logicalFile.ts +4 -3
  29. package/src/services/wsCloud.ts +1 -1
  30. package/src/services/wsDFU.ts +9 -10
  31. package/src/services/wsLogaccess.ts +145 -3
  32. package/src/services/wsWorkunits.ts +62 -0
  33. package/src/services/wsdl/WsDali/v1.04/WsDali.ts +156 -156
  34. package/src/services/wsdl/WsDfu/v1.63/WsDfu.ts +1219 -1217
  35. package/src/services/wsdl/ws_logaccess/v1.02/ws_logaccess.ts +161 -0
  36. package/types/__package__.d.ts +2 -2
  37. package/types/ecl/logicalFile.d.ts +4 -3
  38. package/types/ecl/logicalFile.d.ts.map +1 -1
  39. package/types/services/wsCloud.d.ts +1 -1
  40. package/types/services/wsCloud.d.ts.map +1 -1
  41. package/types/services/wsDFU.d.ts +7 -2
  42. package/types/services/wsDFU.d.ts.map +1 -1
  43. package/types/services/wsLogaccess.d.ts +46 -2
  44. package/types/services/wsLogaccess.d.ts.map +1 -1
  45. package/types/services/wsWorkunits.d.ts +48 -0
  46. package/types/services/wsWorkunits.d.ts.map +1 -1
  47. package/types/services/wsdl/WsDali/v1.04/WsDali.d.ts +27 -27
  48. package/types/services/wsdl/WsDali/v1.04/WsDali.d.ts.map +1 -1
  49. package/types/services/wsdl/WsDfu/v1.63/WsDfu.d.ts +49 -48
  50. package/types/services/wsdl/WsDfu/v1.63/WsDfu.d.ts.map +1 -1
  51. package/types/services/wsdl/ws_logaccess/v1.02/ws_logaccess.d.ts +126 -0
  52. package/types/services/wsdl/ws_logaccess/v1.02/ws_logaccess.d.ts.map +1 -0
  53. package/types-3.4/__package__.d.ts +2 -2
  54. package/types-3.4/ecl/logicalFile.d.ts +4 -3
  55. package/types-3.4/services/wsCloud.d.ts +1 -1
  56. package/types-3.4/services/wsDFU.d.ts +7 -2
  57. package/types-3.4/services/wsLogaccess.d.ts +46 -2
  58. package/types-3.4/services/wsWorkunits.d.ts +48 -0
  59. package/types-3.4/services/wsdl/WsDali/v1.04/WsDali.d.ts +27 -27
  60. package/types-3.4/services/wsdl/WsDfu/v1.63/WsDfu.d.ts +49 -48
  61. package/types-3.4/services/wsdl/ws_logaccess/v1.02/ws_logaccess.d.ts +126 -0
@@ -1,5 +1,49 @@
1
- import { LogaccessServiceBase, WsLogaccess, LogAccessType } from "./wsdl/ws_logaccess/v1/ws_logaccess";
2
- export { WsLogaccess, LogAccessType };
1
+ import { LogaccessServiceBase, WsLogaccess } from "./wsdl/ws_logaccess/v1.02/ws_logaccess";
2
+ export { WsLogaccess };
3
+ export declare enum KnownColumns {
4
+ audience = "hpcc.log.audience",
5
+ class = "hpcc.log.class",
6
+ jobId = "hpcc.log.jobid",
7
+ message = "hpcc.log.message",
8
+ procId = "hpcc.log.procid",
9
+ sequence = "hpcc.log.sequence",
10
+ threadId = "hpcc.log.threadid",
11
+ timestamp = "hpcc.log.timestamp",
12
+ containerName = "kubernetes.container.name"
13
+ }
14
+ export interface GetLogsExRequest {
15
+ audience?: string;
16
+ class?: string;
17
+ jobId?: string;
18
+ message?: string;
19
+ procId?: string;
20
+ sequence?: string;
21
+ threadId?: string;
22
+ timestamp?: string;
23
+ containerName?: string;
24
+ StartDate?: Date;
25
+ EndDate?: Date;
26
+ LogLineStartFrom: number;
27
+ LogLineLimit: number;
28
+ }
29
+ export interface LogLine {
30
+ audience?: string;
31
+ class?: string;
32
+ jobId?: string;
33
+ message?: string;
34
+ procId?: number;
35
+ sequence?: string;
36
+ threadId?: number;
37
+ timestamp?: string;
38
+ containerName?: string;
39
+ }
40
+ export interface GetLogsExResponse {
41
+ lines: LogLine[];
42
+ total: number;
43
+ }
3
44
  export declare class LogaccessService extends LogaccessServiceBase {
45
+ GetLogAccessInfo(request: WsLogaccess.GetLogAccessInfoRequest): Promise<WsLogaccess.GetLogAccessInfoResponse>;
46
+ GetLogs(request: WsLogaccess.GetLogsRequest): Promise<WsLogaccess.GetLogsResponse>;
47
+ GetLogsEx(request: GetLogsExRequest): Promise<GetLogsExResponse>;
4
48
  }
5
49
  //# sourceMappingURL=wsLogaccess.d.ts.map
@@ -1621,6 +1621,53 @@ export declare namespace WUQuerySetAliasAction {
1621
1621
  Results: Results;
1622
1622
  }
1623
1623
  }
1624
+ export declare namespace WUQueryFiles {
1625
+ interface Request {
1626
+ Target: string;
1627
+ QueryId: string;
1628
+ }
1629
+ interface Exception {
1630
+ Code: string;
1631
+ Audience: string;
1632
+ Source: string;
1633
+ Message: string;
1634
+ }
1635
+ interface Exceptions {
1636
+ Source: string;
1637
+ Exception: Exception[];
1638
+ }
1639
+ interface File {
1640
+ Error: string;
1641
+ LogicalName: string;
1642
+ }
1643
+ interface Files {
1644
+ File: File[];
1645
+ }
1646
+ interface SubFiles {
1647
+ File: string[];
1648
+ }
1649
+ interface SuperFile {
1650
+ Name: string;
1651
+ SubFiles: SubFiles;
1652
+ SuperFiles: SuperFiles;
1653
+ }
1654
+ interface SuperFiles {
1655
+ SuperFile: SuperFile[];
1656
+ }
1657
+ interface QueryUsingFile {
1658
+ Id: string;
1659
+ Package: string;
1660
+ }
1661
+ interface Queries {
1662
+ QueryUsingFile: QueryUsingFile[];
1663
+ }
1664
+ interface Response {
1665
+ Exceptions: Exceptions;
1666
+ Files: Files;
1667
+ SuperFiles: SuperFiles;
1668
+ Queries: Queries;
1669
+ }
1670
+ }
1624
1671
  export declare namespace WUPublishWorkunit {
1625
1672
  interface Request {
1626
1673
  Wuid: string;
@@ -2232,6 +2279,7 @@ export declare class WorkunitsService extends Service {
2232
2279
  WUQuerySetAliasAction(request: WUQuerySetAliasAction.Request): Promise<WUQuerySetAliasAction.Response>;
2233
2280
  WUQuerySetQueryAction(request: WUQuerySetQueryAction.Request): Promise<WUQuerySetQueryAction.Response>;
2234
2281
  WUPublishWorkunit(request: WUPublishWorkunit.Request): Promise<WUPublishWorkunit.Response>;
2282
+ WUQueryFiles(request: WUQueryFiles.Request): Promise<WUQueryFiles.Response>;
2235
2283
  WUGetGraph(request: WUGetGraph.Request): Promise<WUGetGraph.Response>;
2236
2284
  WUResult(request: WUResult.Request, abortSignal?: AbortSignal): Promise<WUResult.Response>;
2237
2285
  WUQueryGetGraph(request: WUQueryGetGraph.Request): Promise<WUQueryGetGraph.Response>;
@@ -1,103 +1,104 @@
1
1
  import { IConnection, IOptions } from "../../../../connection";
2
2
  import { Service } from "../../../../espConnection";
3
- declare type unsignedInt = number;
4
3
  export declare namespace WsDali {
5
- interface AddRequest {
4
+ type unsignedInt = number;
5
+ export interface AddRequest {
6
6
  Path?: string;
7
7
  Value?: string;
8
8
  }
9
- interface Exception {
9
+ export interface Exception {
10
10
  Code: string;
11
11
  Audience: string;
12
12
  Source: string;
13
13
  Message: string;
14
14
  }
15
- interface Exceptions {
15
+ export interface Exceptions {
16
16
  Source: string;
17
17
  Exception: Exception[];
18
18
  }
19
- interface ResultResponse {
19
+ export interface ResultResponse {
20
20
  Exceptions: {
21
21
  Source: string;
22
22
  Exception: Exception[];
23
23
  };
24
24
  Result: string;
25
25
  }
26
- interface CountRequest {
26
+ export interface CountRequest {
27
27
  Path?: string;
28
28
  }
29
- interface CountResponse {
29
+ export interface CountResponse {
30
30
  Exceptions: Exceptions;
31
31
  Result: unsignedInt;
32
32
  }
33
- interface DFSCheckRequest {
33
+ export interface DFSCheckRequest {
34
34
  }
35
- interface DFSExistsRequest {
35
+ export interface DFSExistsRequest {
36
36
  FileName?: string;
37
37
  }
38
- interface BooleanResponse {
38
+ export interface BooleanResponse {
39
39
  Exceptions: Exceptions;
40
40
  Result: boolean;
41
41
  }
42
- interface DFSLSRequest {
42
+ export interface DFSLSRequest {
43
43
  Name?: string;
44
44
  PathAndNameOnly?: boolean;
45
45
  IncludeSubFileInfo?: boolean;
46
46
  Recursively?: boolean;
47
47
  }
48
- interface DeleteRequest {
48
+ export interface DeleteRequest {
49
49
  Path?: string;
50
50
  }
51
- interface GetDFSCSVRequest {
51
+ export interface GetDFSCSVRequest {
52
52
  LogicalNameMask?: string;
53
53
  }
54
- interface GetDFSMapRequest {
54
+ export interface GetDFSMapRequest {
55
55
  FileName?: string;
56
56
  }
57
- interface GetDFSParentsRequest {
57
+ export interface GetDFSParentsRequest {
58
58
  FileName?: string;
59
59
  }
60
- interface GetLogicalFileRequest {
60
+ export interface GetLogicalFileRequest {
61
61
  FileName?: string;
62
62
  }
63
- interface GetLogicalFilePartRequest {
63
+ export interface GetLogicalFilePartRequest {
64
64
  FileName?: string;
65
65
  PartNumber?: unsignedInt;
66
66
  }
67
- interface GetProtectedListRequest {
67
+ export interface GetProtectedListRequest {
68
68
  FileName?: string;
69
69
  CallerId?: string;
70
70
  }
71
- interface GetValueRequest {
71
+ export interface GetValueRequest {
72
72
  Path?: string;
73
73
  }
74
- interface ImportRequest {
74
+ export interface ImportRequest {
75
75
  XML?: string;
76
76
  Path?: string;
77
77
  Add?: boolean;
78
78
  }
79
- interface WSDaliPingRequest {
79
+ export interface WSDaliPingRequest {
80
80
  }
81
- interface WSDaliPingResponse {
81
+ export interface WSDaliPingResponse {
82
82
  }
83
- interface SetLogicalFilePartAttrRequest {
83
+ export interface SetLogicalFilePartAttrRequest {
84
84
  FileName?: string;
85
85
  PartNumber?: unsignedInt;
86
86
  Attr?: string;
87
87
  Value?: string;
88
88
  }
89
- interface SetProtectedRequest {
89
+ export interface SetProtectedRequest {
90
90
  FileName?: string;
91
91
  CallerId?: string;
92
92
  }
93
- interface SetUnprotectedRequest {
93
+ export interface SetUnprotectedRequest {
94
94
  FileName?: string;
95
95
  CallerId?: string;
96
96
  }
97
- interface SetValueRequest {
97
+ export interface SetValueRequest {
98
98
  Path?: string;
99
99
  Value?: string;
100
100
  }
101
+ export {};
101
102
  }
102
103
  export declare class DaliServiceBase extends Service {
103
104
  constructor(optsConnection: IOptions | IConnection);
@@ -121,5 +122,4 @@ export declare class DaliServiceBase extends Service {
121
122
  SetUnprotected(request: WsDali.SetUnprotectedRequest): Promise<WsDali.ResultResponse>;
122
123
  SetValue(request: WsDali.SetValueRequest): Promise<WsDali.ResultResponse>;
123
124
  }
124
- export {};
125
125
  //# sourceMappingURL=WsDali.d.ts.map
@@ -1,53 +1,53 @@
1
1
  import { IConnection, IOptions } from "../../../../connection";
2
2
  import { Service } from "../../../../espConnection";
3
- export declare type base64Binary = string;
4
- declare type long = number;
5
- declare type int = number;
6
- declare type double = number;
7
- export declare enum DFUArrayActions {
8
- Delete = "Delete",
9
- AddToSuperfile = "AddToSuperfile",
10
- ChangeProtection = "ChangeProtection",
11
- ChangeRestriction = "ChangeRestriction"
12
- }
13
- export declare enum DFUChangeProtection {
14
- NoChange = 0,
15
- Protect = 1,
16
- Unprotect = 2,
17
- UnprotectAll = 3
18
- }
19
- export declare enum DFUChangeRestriction {
20
- NoChange = 0,
21
- Restrict = 1,
22
- Unrestricted = 2
23
- }
24
- export declare enum DFUDefFileFormat {
25
- Xml = "Xml",
26
- Def = "Def"
27
- }
28
- export declare enum FileAccessRole {
29
- Token = "Token",
30
- Engine = "Engine",
31
- External = "External"
32
- }
33
- export declare enum SecAccessType {
34
- None = "None",
35
- Access = "Access",
36
- Read = "Read",
37
- Write = "Write",
38
- Full = "Full"
39
- }
40
- export declare enum DFUFileType {
41
- Flat = "Flat",
42
- Index = "Index",
43
- Xml = "Xml",
44
- Csv = "Csv",
45
- Json = "Json",
46
- IndexLocal = "IndexLocal",
47
- IndexPartitioned = "IndexPartitioned",
48
- Unset = "Unset"
49
- }
50
3
  export declare namespace WsDfu {
4
+ type base64Binary = string;
5
+ type long = number;
6
+ type int = number;
7
+ type double = number;
8
+ enum DFUArrayActions {
9
+ Delete = "Delete",
10
+ AddToSuperfile = "AddToSuperfile",
11
+ ChangeProtection = "ChangeProtection",
12
+ ChangeRestriction = "ChangeRestriction"
13
+ }
14
+ enum DFUChangeProtection {
15
+ NoChange = 0,
16
+ Protect = 1,
17
+ Unprotect = 2,
18
+ UnprotectAll = 3
19
+ }
20
+ enum DFUChangeRestriction {
21
+ NoChange = 0,
22
+ Restrict = 1,
23
+ Unrestricted = 2
24
+ }
25
+ enum DFUDefFileFormat {
26
+ xml = "xml",
27
+ def = "def"
28
+ }
29
+ enum FileAccessRole {
30
+ Token = "Token",
31
+ Engine = "Engine",
32
+ External = "External"
33
+ }
34
+ enum SecAccessType {
35
+ None = "None",
36
+ Access = "Access",
37
+ Read = "Read",
38
+ Write = "Write",
39
+ Full = "Full"
40
+ }
41
+ enum DFUFileType {
42
+ Flat = "Flat",
43
+ Index = "Index",
44
+ Xml = "Xml",
45
+ Csv = "Csv",
46
+ Json = "Json",
47
+ IndexLocal = "IndexLocal",
48
+ IndexPartitioned = "IndexPartitioned",
49
+ Unset = "Unset"
50
+ }
51
51
  interface AddRequest {
52
52
  dstname?: string;
53
53
  xmlmap?: base64Binary;
@@ -829,6 +829,7 @@ export declare namespace WsDfu {
829
829
  KeyType: string;
830
830
  AtRestCost: double;
831
831
  AccessCost: double;
832
+ ExpirationDate: string;
832
833
  }
833
834
  interface DFUInfoResponse {
834
835
  Exceptions: Exceptions;
@@ -908,6 +909,7 @@ export declare namespace WsDfu {
908
909
  KeyType: string;
909
910
  AtRestCost: double;
910
911
  AccessCost: double;
912
+ ExpirationDate: string;
911
913
  };
912
914
  }
913
915
  interface DFUQueryRequest {
@@ -1228,5 +1230,4 @@ export declare class DfuServiceBase extends Service {
1228
1230
  SuperfileAction(request: WsDfu.SuperfileActionRequest): Promise<WsDfu.SuperfileActionResponse>;
1229
1231
  SuperfileList(request: WsDfu.SuperfileListRequest): Promise<WsDfu.SuperfileListResponse>;
1230
1232
  }
1231
- export {};
1232
1233
  //# sourceMappingURL=WsDfu.d.ts.map
@@ -0,0 +1,126 @@
1
+ import { IConnection, IOptions } from "../../../../connection";
2
+ import { Service } from "../../../../espConnection";
3
+ export declare namespace WsLogaccess {
4
+ type dateTime = string;
5
+ type unsignedInt = number;
6
+ type long = number;
7
+ export enum LogAccessType {
8
+ All = 0,
9
+ ByJobIdID = 1,
10
+ ByComponent = 2,
11
+ ByLogType = 3,
12
+ ByTargetAudience = 4,
13
+ BySourceInstance = 5,
14
+ BySourceNode = 6,
15
+ ByFieldName = 7
16
+ }
17
+ export enum LogAccessFilterOperator {
18
+ NONE = 0,
19
+ AND = 1,
20
+ OR = 2
21
+ }
22
+ export enum LogSelectColumnMode {
23
+ MIN = 0,
24
+ DEFAULT = 1,
25
+ ALL = 2,
26
+ CUSTOM = 3
27
+ }
28
+ export interface GetLogAccessInfoRequest {
29
+ }
30
+ export interface GetLogAccessInfoResponse {
31
+ RemoteLogManagerType: string;
32
+ RemoteLogManagerConnectionString: string;
33
+ }
34
+ export interface leftFilter {
35
+ LogCategory: LogAccessType;
36
+ SearchByValue: string;
37
+ SearchField: string;
38
+ }
39
+ export interface rightFilter {
40
+ LogCategory: LogAccessType;
41
+ SearchByValue: string;
42
+ SearchField: string;
43
+ }
44
+ export interface rightBinaryFilter {
45
+ BinaryLogFilter: BinaryLogFilter[];
46
+ }
47
+ export interface BinaryLogFilter {
48
+ leftFilter: leftFilter;
49
+ leftBinaryFilter: leftBinaryFilter;
50
+ Operator: LogAccessFilterOperator;
51
+ rightFilter: {
52
+ LogCategory: LogAccessType;
53
+ SearchByValue: string;
54
+ SearchField: string;
55
+ };
56
+ rightBinaryFilter: {
57
+ BinaryLogFilter: BinaryLogFilter[];
58
+ };
59
+ }
60
+ export interface leftBinaryFilter {
61
+ BinaryLogFilter: BinaryLogFilter[];
62
+ }
63
+ export interface Filter {
64
+ leftFilter: {
65
+ LogCategory: LogAccessType;
66
+ SearchByValue: string;
67
+ SearchField: string;
68
+ };
69
+ leftBinaryFilter: {
70
+ BinaryLogFilter: BinaryLogFilter[];
71
+ };
72
+ Operator: LogAccessFilterOperator;
73
+ rightFilter: rightFilter;
74
+ rightBinaryFilter: rightBinaryFilter;
75
+ }
76
+ export interface Range {
77
+ StartDate: dateTime;
78
+ EndDate: dateTime;
79
+ }
80
+ export interface Columns {
81
+ Item: string[];
82
+ }
83
+ export interface GetLogsRequest {
84
+ Filter?: {
85
+ leftFilter?: {
86
+ LogCategory?: LogAccessType;
87
+ SearchByValue?: string;
88
+ SearchField?: string;
89
+ };
90
+ leftBinaryFilter?: {
91
+ BinaryLogFilter?: BinaryLogFilter[];
92
+ };
93
+ Operator?: LogAccessFilterOperator;
94
+ rightFilter?: rightFilter;
95
+ rightBinaryFilter?: rightBinaryFilter;
96
+ };
97
+ Range?: {
98
+ StartDate?: dateTime;
99
+ EndDate?: dateTime;
100
+ };
101
+ LogLineLimit?: unsignedInt;
102
+ LogLineStartFrom?: long;
103
+ SelectColumnMode?: LogSelectColumnMode;
104
+ Columns?: {
105
+ Item?: string[];
106
+ };
107
+ Format?: string;
108
+ }
109
+ export interface GetLogsResponse {
110
+ LogLines: string;
111
+ LogLineCount: unsignedInt;
112
+ TotalLogLinesAvailable: unsignedInt;
113
+ }
114
+ export interface ws_logaccessPingRequest {
115
+ }
116
+ export interface ws_logaccessPingResponse {
117
+ }
118
+ export {};
119
+ }
120
+ export declare class LogaccessServiceBase extends Service {
121
+ constructor(optsConnection: IOptions | IConnection);
122
+ GetLogAccessInfo(request: WsLogaccess.GetLogAccessInfoRequest): Promise<WsLogaccess.GetLogAccessInfoResponse>;
123
+ GetLogs(request: WsLogaccess.GetLogsRequest): Promise<WsLogaccess.GetLogsResponse>;
124
+ Ping(request: WsLogaccess.ws_logaccessPingRequest): Promise<WsLogaccess.ws_logaccessPingResponse>;
125
+ }
126
+ //# sourceMappingURL=ws_logaccess.d.ts.map