@hpcc-js/comms 2.102.1 → 2.102.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.
- package/LICENSE +43 -43
- package/README.md +50 -50
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.min.js.map +1 -1
- package/package.json +5 -5
- package/src/__package__.ts +3 -3
- package/src/__tests__/dfuXRef.ts +22 -22
- package/src/__tests__/https.ts +69 -69
- package/src/__tests__/workunit.ts +35 -35
- package/src/clienttools/eclMeta.ts +506 -506
- package/src/clienttools/eclcc.ts +628 -628
- package/src/connection.ts +295 -295
- package/src/ecl/activity.ts +82 -82
- package/src/ecl/dfuWorkunit.ts +363 -363
- package/src/ecl/graph.ts +196 -196
- package/src/ecl/logicalFile.ts +195 -195
- package/src/ecl/machine.ts +63 -63
- package/src/ecl/query.ts +252 -252
- package/src/ecl/queryGraph.ts +813 -813
- package/src/ecl/resource.ts +39 -39
- package/src/ecl/result.ts +236 -236
- package/src/ecl/scope.ts +192 -192
- package/src/ecl/sourceFile.ts +34 -34
- package/src/ecl/store.ts +154 -154
- package/src/ecl/targetCluster.ts +149 -149
- package/src/ecl/timer.ts +42 -42
- package/src/ecl/topology.ts +131 -131
- package/src/ecl/workunit.ts +1314 -1314
- package/src/ecl/xsdParser.ts +268 -268
- package/src/espConnection.ts +172 -172
- package/src/index-common.ts +41 -41
- package/src/index.node.ts +68 -68
- package/src/index.ts +3 -3
- package/src/pem/trustwave.ts +909 -909
- package/src/services/fileSpray.ts +48 -48
- package/src/services/wsAccess.ts +8 -8
- package/src/services/wsAccount.ts +27 -27
- package/src/services/wsCloud.ts +73 -73
- package/src/services/wsCodesign.ts +94 -94
- package/src/services/wsDFU.ts +34 -34
- package/src/services/wsDFUXRef.ts +308 -308
- package/src/services/wsDali.ts +40 -40
- package/src/services/wsEcl.ts +123 -123
- package/src/services/wsElk.ts +8 -8
- package/src/services/wsLogaccess.ts +263 -263
- package/src/services/wsMachine.ts +89 -89
- package/src/services/wsPackageProcess.ts +8 -8
- package/src/services/wsResources.ts +8 -8
- package/src/services/wsSMC.ts +24 -24
- package/src/services/wsSasha.ts +7 -7
- package/src/services/wsStore.ts +230 -230
- package/src/services/wsTopology.ts +45 -45
- package/src/services/wsWorkunits.ts +160 -160
- package/src/services/wsdl/FileSpray/v1.23/FileSpray.ts +1008 -1008
- package/src/services/wsdl/FileSpray/v1.25/FileSpray.ts +1040 -1040
- package/src/services/wsdl/FileSpray/v1.26/FileSpray.ts +929 -929
- package/src/services/wsdl/WsCloud/v1/WsCloud.ts +38 -38
- package/src/services/wsdl/WsCloud/v1.02/WsCloud.ts +77 -77
- package/src/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.ts +224 -224
- package/src/services/wsdl/WsDali/v1.04/WsDali.ts +216 -216
- package/src/services/wsdl/WsDfu/v1.62/WsDfu.ts +1455 -1455
- package/src/services/wsdl/WsDfu/v1.63/WsDfu.ts +1465 -1465
- package/src/services/wsdl/WsDfu/v1.65/WsDfu.ts +1244 -1244
- package/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts +107 -107
- package/src/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.ts +519 -519
- package/src/services/wsdl/WsResources/v1.01/WsResources.ts +119 -119
- package/src/services/wsdl/WsSMC/v1.24/WsSMC.ts +665 -665
- package/src/services/wsdl/WsSMC/v1.27/WsSMC.ts +670 -670
- package/src/services/wsdl/WsTopology/v1.31/WsTopology.ts +856 -856
- package/src/services/wsdl/WsTopology/v1.32/WsTopology.ts +885 -885
- package/src/services/wsdl/WsWorkunits/v1.88/WsWorkunits.ts +2944 -2944
- package/src/services/wsdl/WsWorkunits/v1.94/WsWorkunits.ts +3072 -3072
- package/src/services/wsdl/WsWorkunits/v1.95/WsWorkunits.ts +3073 -3073
- package/src/services/wsdl/WsWorkunits/v1.97/WsWorkunits.ts +3134 -3134
- package/src/services/wsdl/WsWorkunits/v1.98/WsWorkunits.ts +3182 -3182
- package/src/services/wsdl/WsWorkunits/v1.99/WsWorkunits.ts +3162 -3162
- package/src/services/wsdl/WsWorkunits/v2/WsWorkunits.ts +3153 -3153
- package/src/services/wsdl/WsWorkunits/v2.02/WsWorkunits.ts +3157 -3157
- package/src/services/wsdl/ws_access/v1.16/ws_access.ts +1086 -1086
- package/src/services/wsdl/ws_access/v1.17/ws_access.ts +1023 -1023
- package/src/services/wsdl/ws_account/v1.05/ws_account.ts +111 -111
- package/src/services/wsdl/ws_account/v1.06/ws_account.ts +109 -109
- package/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts +100 -100
- package/src/services/wsdl/ws_elk/v1/ws_elk.ts +47 -47
- package/src/services/wsdl/ws_logaccess/v1/ws_logaccess.ts +83 -83
- package/src/services/wsdl/ws_logaccess/v1.02/ws_logaccess.ts +161 -161
- package/src/services/wsdl/ws_logaccess/v1.03/ws_logaccess.ts +190 -190
- package/src/services/wsdl/ws_logaccess/v1.04/ws_logaccess.ts +215 -215
- package/src/services/wsdl/ws_logaccess/v1.05/ws_logaccess.ts +219 -219
- package/src/services/wsdl/ws_logaccess/v1.08/ws_logaccess.ts +267 -267
- package/src/services/wsdl/ws_machine/v1.17/ws_machine.ts +567 -567
- package/src/services/wsdl/wsstore/v1.02/wsstore.ts +250 -250
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
-
import { Service } from "../../../../espConnection";
|
|
3
|
-
|
|
4
|
-
type int = number;
|
|
5
|
-
|
|
6
|
-
export namespace WsAccount {
|
|
7
|
-
|
|
8
|
-
export interface MyAccountRequest {
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface Exception {
|
|
13
|
-
Code: string;
|
|
14
|
-
Audience: string;
|
|
15
|
-
Source: string;
|
|
16
|
-
Message: string;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface Exceptions {
|
|
20
|
-
Source: string;
|
|
21
|
-
Exception: Exception[];
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface MyAccountResponse {
|
|
25
|
-
Exceptions: {
|
|
26
|
-
Source: string;
|
|
27
|
-
Exception: Exception[];
|
|
28
|
-
};
|
|
29
|
-
username: string;
|
|
30
|
-
firstName: string;
|
|
31
|
-
lastName: string;
|
|
32
|
-
passwordExpiration: string;
|
|
33
|
-
passwordDaysRemaining: int;
|
|
34
|
-
passwordExpirationWarningDays: int;
|
|
35
|
-
employeeID: string;
|
|
36
|
-
distinguishedName: string;
|
|
37
|
-
accountType: string;
|
|
38
|
-
passwordNeverExpires: boolean;
|
|
39
|
-
passwordIsExpired: boolean;
|
|
40
|
-
accountStatus: int;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface ws_accountPingRequest {
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export interface ws_accountPingResponse {
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export interface UpdateUserRequest {
|
|
52
|
-
username?: string;
|
|
53
|
-
oldpass?: string;
|
|
54
|
-
newpass1?: string;
|
|
55
|
-
newpass2?: string;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export interface UpdateUserResponse {
|
|
59
|
-
Exceptions: Exceptions;
|
|
60
|
-
retcode: int;
|
|
61
|
-
message: string;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export interface UpdateUserInputRequest {
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface UpdateUserInputResponse {
|
|
69
|
-
Exceptions: Exceptions;
|
|
70
|
-
username: string;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export interface VerifyUserRequest {
|
|
74
|
-
application?: string;
|
|
75
|
-
version?: string;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export interface VerifyUserResponse {
|
|
79
|
-
Exceptions: Exceptions;
|
|
80
|
-
retcode: int;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export class AccountServiceBase extends Service {
|
|
86
|
-
|
|
87
|
-
constructor(optsConnection: IOptions | IConnection) {
|
|
88
|
-
super(optsConnection, "ws_account", "1.05");
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
MyAccount(request: WsAccount.MyAccountRequest): Promise<WsAccount.MyAccountResponse> {
|
|
92
|
-
return this._connection.send("MyAccount", request);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
Ping(request: WsAccount.ws_accountPingRequest): Promise<WsAccount.ws_accountPingResponse> {
|
|
96
|
-
return this._connection.send("Ping", request);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
UpdateUser(request: WsAccount.UpdateUserRequest): Promise<WsAccount.UpdateUserResponse> {
|
|
100
|
-
return this._connection.send("UpdateUser", request);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
UpdateUserInput(request: WsAccount.UpdateUserInputRequest): Promise<WsAccount.UpdateUserInputResponse> {
|
|
104
|
-
return this._connection.send("UpdateUserInput", request);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
VerifyUser(request: WsAccount.VerifyUserRequest): Promise<WsAccount.VerifyUserResponse> {
|
|
108
|
-
return this._connection.send("VerifyUser", request);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
}
|
|
1
|
+
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
+
import { Service } from "../../../../espConnection";
|
|
3
|
+
|
|
4
|
+
type int = number;
|
|
5
|
+
|
|
6
|
+
export namespace WsAccount {
|
|
7
|
+
|
|
8
|
+
export interface MyAccountRequest {
|
|
9
|
+
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface Exception {
|
|
13
|
+
Code: string;
|
|
14
|
+
Audience: string;
|
|
15
|
+
Source: string;
|
|
16
|
+
Message: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface Exceptions {
|
|
20
|
+
Source: string;
|
|
21
|
+
Exception: Exception[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface MyAccountResponse {
|
|
25
|
+
Exceptions: {
|
|
26
|
+
Source: string;
|
|
27
|
+
Exception: Exception[];
|
|
28
|
+
};
|
|
29
|
+
username: string;
|
|
30
|
+
firstName: string;
|
|
31
|
+
lastName: string;
|
|
32
|
+
passwordExpiration: string;
|
|
33
|
+
passwordDaysRemaining: int;
|
|
34
|
+
passwordExpirationWarningDays: int;
|
|
35
|
+
employeeID: string;
|
|
36
|
+
distinguishedName: string;
|
|
37
|
+
accountType: string;
|
|
38
|
+
passwordNeverExpires: boolean;
|
|
39
|
+
passwordIsExpired: boolean;
|
|
40
|
+
accountStatus: int;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface ws_accountPingRequest {
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface ws_accountPingResponse {
|
|
48
|
+
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface UpdateUserRequest {
|
|
52
|
+
username?: string;
|
|
53
|
+
oldpass?: string;
|
|
54
|
+
newpass1?: string;
|
|
55
|
+
newpass2?: string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface UpdateUserResponse {
|
|
59
|
+
Exceptions: Exceptions;
|
|
60
|
+
retcode: int;
|
|
61
|
+
message: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export interface UpdateUserInputRequest {
|
|
65
|
+
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export interface UpdateUserInputResponse {
|
|
69
|
+
Exceptions: Exceptions;
|
|
70
|
+
username: string;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface VerifyUserRequest {
|
|
74
|
+
application?: string;
|
|
75
|
+
version?: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface VerifyUserResponse {
|
|
79
|
+
Exceptions: Exceptions;
|
|
80
|
+
retcode: int;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export class AccountServiceBase extends Service {
|
|
86
|
+
|
|
87
|
+
constructor(optsConnection: IOptions | IConnection) {
|
|
88
|
+
super(optsConnection, "ws_account", "1.05");
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
MyAccount(request: WsAccount.MyAccountRequest): Promise<WsAccount.MyAccountResponse> {
|
|
92
|
+
return this._connection.send("MyAccount", request);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
Ping(request: WsAccount.ws_accountPingRequest): Promise<WsAccount.ws_accountPingResponse> {
|
|
96
|
+
return this._connection.send("Ping", request);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
UpdateUser(request: WsAccount.UpdateUserRequest): Promise<WsAccount.UpdateUserResponse> {
|
|
100
|
+
return this._connection.send("UpdateUser", request);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
UpdateUserInput(request: WsAccount.UpdateUserInputRequest): Promise<WsAccount.UpdateUserInputResponse> {
|
|
104
|
+
return this._connection.send("UpdateUserInput", request);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
VerifyUser(request: WsAccount.VerifyUserRequest): Promise<WsAccount.VerifyUserResponse> {
|
|
108
|
+
return this._connection.send("VerifyUser", request);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
}
|
|
@@ -1,109 +1,109 @@
|
|
|
1
|
-
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
-
import { Service } from "../../../../espConnection";
|
|
3
|
-
|
|
4
|
-
export namespace WsAccount {
|
|
5
|
-
|
|
6
|
-
export type int = number;
|
|
7
|
-
|
|
8
|
-
export interface MyAccountRequest {
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface Exception {
|
|
13
|
-
Code: string;
|
|
14
|
-
Audience: string;
|
|
15
|
-
Source: string;
|
|
16
|
-
Message: string;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface Exceptions {
|
|
20
|
-
Source: string;
|
|
21
|
-
Exception: Exception[];
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface MyAccountResponse {
|
|
25
|
-
Exceptions: Exceptions;
|
|
26
|
-
username: string;
|
|
27
|
-
firstName: string;
|
|
28
|
-
lastName: string;
|
|
29
|
-
passwordExpiration: string;
|
|
30
|
-
passwordDaysRemaining: int;
|
|
31
|
-
passwordExpirationWarningDays: int;
|
|
32
|
-
employeeID: string;
|
|
33
|
-
distinguishedName: string;
|
|
34
|
-
accountType: string;
|
|
35
|
-
passwordNeverExpires: boolean;
|
|
36
|
-
passwordIsExpired: boolean;
|
|
37
|
-
CanUpdatePassword: boolean;
|
|
38
|
-
accountStatus: int;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export interface ws_accountPingRequest {
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export interface ws_accountPingResponse {
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export interface UpdateUserRequest {
|
|
50
|
-
username?: string;
|
|
51
|
-
oldpass?: string;
|
|
52
|
-
newpass1?: string;
|
|
53
|
-
newpass2?: string;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export interface UpdateUserResponse {
|
|
57
|
-
Exceptions: Exceptions;
|
|
58
|
-
retcode: int;
|
|
59
|
-
message: string;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export interface UpdateUserInputRequest {
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export interface UpdateUserInputResponse {
|
|
67
|
-
Exceptions: Exceptions;
|
|
68
|
-
username: string;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export interface VerifyUserRequest {
|
|
72
|
-
application?: string;
|
|
73
|
-
version?: string;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export interface VerifyUserResponse {
|
|
77
|
-
Exceptions: Exceptions;
|
|
78
|
-
retcode: int;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export class AccountServiceBase extends Service {
|
|
84
|
-
|
|
85
|
-
constructor(optsConnection: IOptions | IConnection) {
|
|
86
|
-
super(optsConnection, "ws_account", "1.06");
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
MyAccount(request: Partial<WsAccount.MyAccountRequest>): Promise<WsAccount.MyAccountResponse> {
|
|
90
|
-
return this._connection.send("MyAccount", request, "json", false, undefined, "MyAccountResponse");
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
Ping(request: Partial<WsAccount.ws_accountPingRequest>): Promise<WsAccount.ws_accountPingResponse> {
|
|
94
|
-
return this._connection.send("Ping", request, "json", false, undefined, "ws_accountPingResponse");
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
UpdateUser(request: Partial<WsAccount.UpdateUserRequest>): Promise<WsAccount.UpdateUserResponse> {
|
|
98
|
-
return this._connection.send("UpdateUser", request, "json", false, undefined, "UpdateUserResponse");
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
UpdateUserInput(request: Partial<WsAccount.UpdateUserInputRequest>): Promise<WsAccount.UpdateUserInputResponse> {
|
|
102
|
-
return this._connection.send("UpdateUserInput", request, "json", false, undefined, "UpdateUserInputResponse");
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
VerifyUser(request: Partial<WsAccount.VerifyUserRequest>): Promise<WsAccount.VerifyUserResponse> {
|
|
106
|
-
return this._connection.send("VerifyUser", request, "json", false, undefined, "VerifyUserResponse");
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
}
|
|
1
|
+
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
+
import { Service } from "../../../../espConnection";
|
|
3
|
+
|
|
4
|
+
export namespace WsAccount {
|
|
5
|
+
|
|
6
|
+
export type int = number;
|
|
7
|
+
|
|
8
|
+
export interface MyAccountRequest {
|
|
9
|
+
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface Exception {
|
|
13
|
+
Code: string;
|
|
14
|
+
Audience: string;
|
|
15
|
+
Source: string;
|
|
16
|
+
Message: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface Exceptions {
|
|
20
|
+
Source: string;
|
|
21
|
+
Exception: Exception[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface MyAccountResponse {
|
|
25
|
+
Exceptions: Exceptions;
|
|
26
|
+
username: string;
|
|
27
|
+
firstName: string;
|
|
28
|
+
lastName: string;
|
|
29
|
+
passwordExpiration: string;
|
|
30
|
+
passwordDaysRemaining: int;
|
|
31
|
+
passwordExpirationWarningDays: int;
|
|
32
|
+
employeeID: string;
|
|
33
|
+
distinguishedName: string;
|
|
34
|
+
accountType: string;
|
|
35
|
+
passwordNeverExpires: boolean;
|
|
36
|
+
passwordIsExpired: boolean;
|
|
37
|
+
CanUpdatePassword: boolean;
|
|
38
|
+
accountStatus: int;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface ws_accountPingRequest {
|
|
42
|
+
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface ws_accountPingResponse {
|
|
46
|
+
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface UpdateUserRequest {
|
|
50
|
+
username?: string;
|
|
51
|
+
oldpass?: string;
|
|
52
|
+
newpass1?: string;
|
|
53
|
+
newpass2?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface UpdateUserResponse {
|
|
57
|
+
Exceptions: Exceptions;
|
|
58
|
+
retcode: int;
|
|
59
|
+
message: string;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface UpdateUserInputRequest {
|
|
63
|
+
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export interface UpdateUserInputResponse {
|
|
67
|
+
Exceptions: Exceptions;
|
|
68
|
+
username: string;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface VerifyUserRequest {
|
|
72
|
+
application?: string;
|
|
73
|
+
version?: string;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export interface VerifyUserResponse {
|
|
77
|
+
Exceptions: Exceptions;
|
|
78
|
+
retcode: int;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export class AccountServiceBase extends Service {
|
|
84
|
+
|
|
85
|
+
constructor(optsConnection: IOptions | IConnection) {
|
|
86
|
+
super(optsConnection, "ws_account", "1.06");
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
MyAccount(request: Partial<WsAccount.MyAccountRequest>): Promise<WsAccount.MyAccountResponse> {
|
|
90
|
+
return this._connection.send("MyAccount", request, "json", false, undefined, "MyAccountResponse");
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
Ping(request: Partial<WsAccount.ws_accountPingRequest>): Promise<WsAccount.ws_accountPingResponse> {
|
|
94
|
+
return this._connection.send("Ping", request, "json", false, undefined, "ws_accountPingResponse");
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
UpdateUser(request: Partial<WsAccount.UpdateUserRequest>): Promise<WsAccount.UpdateUserResponse> {
|
|
98
|
+
return this._connection.send("UpdateUser", request, "json", false, undefined, "UpdateUserResponse");
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
UpdateUserInput(request: Partial<WsAccount.UpdateUserInputRequest>): Promise<WsAccount.UpdateUserInputResponse> {
|
|
102
|
+
return this._connection.send("UpdateUserInput", request, "json", false, undefined, "UpdateUserInputResponse");
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
VerifyUser(request: Partial<WsAccount.VerifyUserRequest>): Promise<WsAccount.VerifyUserResponse> {
|
|
106
|
+
return this._connection.send("VerifyUser", request, "json", false, undefined, "VerifyUserResponse");
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
}
|
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
-
import { Service } from "../../../../espConnection";
|
|
3
|
-
|
|
4
|
-
type int = number;
|
|
5
|
-
|
|
6
|
-
export enum SigningMethodType {
|
|
7
|
-
Gpg = "Gpg"
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export namespace WsCodesign {
|
|
11
|
-
|
|
12
|
-
export interface ListUserIDsRequest {
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export interface Exception {
|
|
17
|
-
Code: string;
|
|
18
|
-
Audience: string;
|
|
19
|
-
Source: string;
|
|
20
|
-
Message: string;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface Exceptions {
|
|
24
|
-
Source: string;
|
|
25
|
-
Exception: Exception[];
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface UserIDs {
|
|
29
|
-
Item: string[];
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export interface ListUserIDsResponse {
|
|
33
|
-
Exceptions: {
|
|
34
|
-
Source: string;
|
|
35
|
-
Exception: Exception[];
|
|
36
|
-
};
|
|
37
|
-
UserIDs: {
|
|
38
|
-
Item: string[];
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export interface ws_codesignPingRequest {
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export interface ws_codesignPingResponse {
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export interface SignRequest {
|
|
51
|
-
SigningMethod?: SigningMethodType;
|
|
52
|
-
UserID?: string;
|
|
53
|
-
KeyPass?: string;
|
|
54
|
-
Text?: string;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export interface SignResponse {
|
|
58
|
-
Exceptions: Exceptions;
|
|
59
|
-
RetCode: int;
|
|
60
|
-
ErrMsg: string;
|
|
61
|
-
SignedText: string;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export interface VerifyRequest {
|
|
65
|
-
Text?: string;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface VerifyResponse {
|
|
69
|
-
Exceptions: Exceptions;
|
|
70
|
-
RetCode: int;
|
|
71
|
-
ErrMsg: string;
|
|
72
|
-
IsVerified: boolean;
|
|
73
|
-
SignedBy: string;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export class CodesignServiceBase extends Service {
|
|
79
|
-
|
|
80
|
-
constructor(optsConnection: IOptions | IConnection) {
|
|
81
|
-
super(optsConnection, "ws_codesign", "1.1");
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
ListUserIDs(request: WsCodesign.ListUserIDsRequest): Promise<WsCodesign.ListUserIDsResponse> {
|
|
85
|
-
return this._connection.send("ListUserIDs", request);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
Ping(request: WsCodesign.ws_codesignPingRequest): Promise<WsCodesign.ws_codesignPingResponse> {
|
|
89
|
-
return this._connection.send("Ping", request);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
Sign(request: WsCodesign.SignRequest): Promise<WsCodesign.SignResponse> {
|
|
93
|
-
return this._connection.send("Sign", request);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
Verify(request: WsCodesign.VerifyRequest): Promise<WsCodesign.VerifyResponse> {
|
|
97
|
-
return this._connection.send("Verify", request);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
}
|
|
1
|
+
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
+
import { Service } from "../../../../espConnection";
|
|
3
|
+
|
|
4
|
+
type int = number;
|
|
5
|
+
|
|
6
|
+
export enum SigningMethodType {
|
|
7
|
+
Gpg = "Gpg"
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export namespace WsCodesign {
|
|
11
|
+
|
|
12
|
+
export interface ListUserIDsRequest {
|
|
13
|
+
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface Exception {
|
|
17
|
+
Code: string;
|
|
18
|
+
Audience: string;
|
|
19
|
+
Source: string;
|
|
20
|
+
Message: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface Exceptions {
|
|
24
|
+
Source: string;
|
|
25
|
+
Exception: Exception[];
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface UserIDs {
|
|
29
|
+
Item: string[];
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface ListUserIDsResponse {
|
|
33
|
+
Exceptions: {
|
|
34
|
+
Source: string;
|
|
35
|
+
Exception: Exception[];
|
|
36
|
+
};
|
|
37
|
+
UserIDs: {
|
|
38
|
+
Item: string[];
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface ws_codesignPingRequest {
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export interface ws_codesignPingResponse {
|
|
47
|
+
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface SignRequest {
|
|
51
|
+
SigningMethod?: SigningMethodType;
|
|
52
|
+
UserID?: string;
|
|
53
|
+
KeyPass?: string;
|
|
54
|
+
Text?: string;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface SignResponse {
|
|
58
|
+
Exceptions: Exceptions;
|
|
59
|
+
RetCode: int;
|
|
60
|
+
ErrMsg: string;
|
|
61
|
+
SignedText: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export interface VerifyRequest {
|
|
65
|
+
Text?: string;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export interface VerifyResponse {
|
|
69
|
+
Exceptions: Exceptions;
|
|
70
|
+
RetCode: int;
|
|
71
|
+
ErrMsg: string;
|
|
72
|
+
IsVerified: boolean;
|
|
73
|
+
SignedBy: string;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export class CodesignServiceBase extends Service {
|
|
79
|
+
|
|
80
|
+
constructor(optsConnection: IOptions | IConnection) {
|
|
81
|
+
super(optsConnection, "ws_codesign", "1.1");
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
ListUserIDs(request: WsCodesign.ListUserIDsRequest): Promise<WsCodesign.ListUserIDsResponse> {
|
|
85
|
+
return this._connection.send("ListUserIDs", request);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
Ping(request: WsCodesign.ws_codesignPingRequest): Promise<WsCodesign.ws_codesignPingResponse> {
|
|
89
|
+
return this._connection.send("Ping", request);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
Sign(request: WsCodesign.SignRequest): Promise<WsCodesign.SignResponse> {
|
|
93
|
+
return this._connection.send("Sign", request);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
Verify(request: WsCodesign.VerifyRequest): Promise<WsCodesign.VerifyResponse> {
|
|
97
|
+
return this._connection.send("Verify", request);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
}
|