@hpcc-js/comms 3.15.1 → 3.15.4
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/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.umd.cjs +1 -1
- package/dist/browser/index.umd.cjs.map +1 -1
- package/dist/node/index.cjs +10 -10
- package/dist/node/index.cjs.map +3 -3
- package/dist/node/index.js +10 -10
- package/dist/node/index.js.map +3 -3
- package/package.json +8 -8
- package/src/__package__.ts +3 -3
- package/src/clienttools/eclMeta.ts +506 -506
- package/src/clienttools/eclcc.ts +628 -628
- package/src/connection.ts +288 -288
- 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 +196 -196
- package/src/ecl/machine.ts +63 -63
- package/src/ecl/query.ts +265 -265
- package/src/ecl/queryGraph.ts +813 -813
- package/src/ecl/resource.ts +39 -39
- package/src/ecl/result.ts +245 -245
- package/src/ecl/scope.ts +188 -188
- 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 +1340 -1340
- package/src/ecl/xsdParser.ts +267 -267
- package/src/espConnection.ts +164 -164
- package/src/index.browser.ts +1 -1
- package/src/index.common.ts +40 -40
- package/src/index.node.ts +48 -48
- package/src/pem/trustwave.ts +909 -909
- package/src/services/fileSpray.ts +73 -73
- 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 +18 -18
- package/src/services/wsDFU.ts +34 -34
- package/src/services/wsDFUXRef.ts +121 -121
- package/src/services/wsDali.ts +8 -8
- package/src/services/wsEcl.ts +123 -123
- package/src/services/wsElk.ts +8 -8
- package/src/services/wsLogaccess.ts +270 -267
- 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 +80 -80
- package/src/services/wsSasha.ts +7 -7
- package/src/services/wsStore.ts +32 -32
- package/src/services/wsTopology.ts +45 -45
- package/src/services/wsWorkunits.ts +151 -151
- 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/FileSpray/v1.27/FileSpray.ts +930 -930
- 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/WsDFUXRef/v1.04/WsDFUXRef.ts +227 -227
- 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/WsDfu/v1.66/WsDfu.ts +1267 -1267
- package/src/services/wsdl/WsDfu/v1.67/WsDfu.ts +1268 -1268
- package/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts +104 -104
- package/src/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.ts +519 -519
- package/src/services/wsdl/WsPackageProcess/v1.07/WsPackageProcess.ts +500 -500
- 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 +591 -591
- package/src/services/wsdl/WsSMC/v1.28/WsSMC.ts +645 -645
- package/src/services/wsdl/WsSMC/v1.29/WsSMC.ts +660 -660
- package/src/services/wsdl/WsTopology/v1.31/WsTopology.ts +856 -856
- package/src/services/wsdl/WsTopology/v1.32/WsTopology.ts +786 -786
- package/src/services/wsdl/WsTopology/v1.33/WsTopology.ts +835 -835
- 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 +3162 -3162
- package/src/services/wsdl/WsWorkunits/v2.03/WsWorkunits.ts +3164 -3164
- package/src/services/wsdl/WsWorkunits/v2.04/WsWorkunits.ts +3171 -3171
- 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_account/v1.07/ws_account.ts +114 -114
- package/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts +95 -95
- 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/ws_machine/v1.18/ws_machine.ts +497 -497
- package/src/services/wsdl/ws_machine/v1.19/ws_machine.ts +497 -497
- package/src/services/wsdl/wsstore/v1.02/wsstore.ts +239 -239
- package/types/services/wsLogaccess.d.ts +1 -0
|
@@ -1,239 +1,239 @@
|
|
|
1
|
-
import { IConnection, IOptions } from "../../../../connection.ts";
|
|
2
|
-
import { Service } from "../../../../espConnection.ts";
|
|
3
|
-
|
|
4
|
-
export namespace Wsstore {
|
|
5
|
-
|
|
6
|
-
export type int = number;
|
|
7
|
-
|
|
8
|
-
export interface CreateStoreRequest {
|
|
9
|
-
Name?: string;
|
|
10
|
-
Type?: string;
|
|
11
|
-
Description?: string;
|
|
12
|
-
MaxValueSize?: int;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface Exception {
|
|
16
|
-
Code: string;
|
|
17
|
-
Audience: string;
|
|
18
|
-
Source: string;
|
|
19
|
-
Message: string;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface Exceptions {
|
|
23
|
-
Source: string;
|
|
24
|
-
Exception: Exception[];
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface CreateStoreResponse {
|
|
28
|
-
Exceptions: Exceptions;
|
|
29
|
-
Name: string;
|
|
30
|
-
Type: string;
|
|
31
|
-
Description: string;
|
|
32
|
-
Owner: string;
|
|
33
|
-
Success: boolean;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export interface DeleteRequest {
|
|
37
|
-
StoreName?: string;
|
|
38
|
-
Namespace?: string;
|
|
39
|
-
Key?: string;
|
|
40
|
-
UserSpecific?: boolean;
|
|
41
|
-
TargetUser?: string;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export interface DeleteResponse {
|
|
45
|
-
Exceptions: Exceptions;
|
|
46
|
-
Success: boolean;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export interface DeleteNamespaceRequest {
|
|
50
|
-
StoreName?: string;
|
|
51
|
-
Namespace?: string;
|
|
52
|
-
UserSpecific?: boolean;
|
|
53
|
-
TargetUser?: string;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export interface DeleteNamespaceResponse {
|
|
57
|
-
Exceptions: Exceptions;
|
|
58
|
-
Success: boolean;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export interface FetchRequest {
|
|
62
|
-
StoreName?: string;
|
|
63
|
-
Namespace?: string;
|
|
64
|
-
Key?: string;
|
|
65
|
-
UserSpecific?: boolean;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface FetchResponse {
|
|
69
|
-
Exceptions: Exceptions;
|
|
70
|
-
Value: string;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export interface FetchAllRequest {
|
|
74
|
-
StoreName?: string;
|
|
75
|
-
Namespace?: string;
|
|
76
|
-
UserSpecific?: boolean;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export interface Pair {
|
|
80
|
-
Key: string;
|
|
81
|
-
Value: string;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export interface Pairs {
|
|
85
|
-
Pair: Pair[];
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export interface FetchAllResponse {
|
|
89
|
-
Exceptions: Exceptions;
|
|
90
|
-
Namespace: string;
|
|
91
|
-
Pairs: Pairs;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export interface FetchKeyMDRequest {
|
|
95
|
-
StoreName?: string;
|
|
96
|
-
Namespace?: string;
|
|
97
|
-
Key?: string;
|
|
98
|
-
UserSpecific?: boolean;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export interface FetchKeyMDResponse {
|
|
102
|
-
Exceptions: Exceptions;
|
|
103
|
-
StoreName: string;
|
|
104
|
-
Namespace: string;
|
|
105
|
-
Key: string;
|
|
106
|
-
Pairs: Pairs;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export interface ListKeysRequest {
|
|
110
|
-
StoreName?: string;
|
|
111
|
-
Namespace?: string;
|
|
112
|
-
UserSpecific?: boolean;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export interface KeySet {
|
|
116
|
-
Key: string[];
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export interface ListKeysResponse {
|
|
120
|
-
Exceptions: Exceptions;
|
|
121
|
-
StoreName: string;
|
|
122
|
-
Namespace: string;
|
|
123
|
-
KeySet: KeySet;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export interface ListNamespacesRequest {
|
|
127
|
-
StoreName?: string;
|
|
128
|
-
UserSpecific?: boolean;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
export interface Namespaces {
|
|
132
|
-
Namespace: string[];
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
export interface ListNamespacesResponse {
|
|
136
|
-
Exceptions: Exceptions;
|
|
137
|
-
StoreName: string;
|
|
138
|
-
Namespaces: Namespaces;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
export interface ListStoresRequest {
|
|
142
|
-
NameFilter?: string;
|
|
143
|
-
TypeFilter?: string;
|
|
144
|
-
OwnerFilter?: string;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
export interface Store {
|
|
148
|
-
Name: string;
|
|
149
|
-
Type: string;
|
|
150
|
-
Description: string;
|
|
151
|
-
Owner: string;
|
|
152
|
-
CreateTime: string;
|
|
153
|
-
MaxValSize: string;
|
|
154
|
-
IsDefault: boolean;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
export interface Stores {
|
|
158
|
-
Store: Store[];
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export interface ListStoresResponse {
|
|
162
|
-
Exceptions: Exceptions;
|
|
163
|
-
Stores: Stores;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
export interface wsstorePingRequest {
|
|
167
|
-
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
export interface wsstorePingResponse {
|
|
171
|
-
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
export interface SetRequest {
|
|
175
|
-
StoreName?: string;
|
|
176
|
-
Namespace?: string;
|
|
177
|
-
Key?: string;
|
|
178
|
-
Value?: string;
|
|
179
|
-
UserSpecific?: boolean;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export interface SetResponse {
|
|
183
|
-
Exceptions: Exceptions;
|
|
184
|
-
Success: boolean;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
export class storeServiceBase extends Service {
|
|
190
|
-
|
|
191
|
-
constructor(optsConnection: IOptions | IConnection) {
|
|
192
|
-
super(optsConnection, "wsstore", "1.02");
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
CreateStore(request: Partial<Wsstore.CreateStoreRequest>): Promise<Wsstore.CreateStoreResponse> {
|
|
196
|
-
return this._connection.send("CreateStore", request, "json", false, undefined, "CreateStoreResponse");
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
Delete(request: Partial<Wsstore.DeleteRequest>): Promise<Wsstore.DeleteResponse> {
|
|
200
|
-
return this._connection.send("Delete", request, "json", false, undefined, "DeleteResponse");
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
DeleteNamespace(request: Partial<Wsstore.DeleteNamespaceRequest>): Promise<Wsstore.DeleteNamespaceResponse> {
|
|
204
|
-
return this._connection.send("DeleteNamespace", request, "json", false, undefined, "DeleteNamespaceResponse");
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
Fetch(request: Partial<Wsstore.FetchRequest>): Promise<Wsstore.FetchResponse> {
|
|
208
|
-
return this._connection.send("Fetch", request, "json", false, undefined, "FetchResponse");
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
FetchAll(request: Partial<Wsstore.FetchAllRequest>): Promise<Wsstore.FetchAllResponse> {
|
|
212
|
-
return this._connection.send("FetchAll", request, "json", false, undefined, "FetchAllResponse");
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
FetchKeyMetadata(request: Partial<Wsstore.FetchKeyMDRequest>): Promise<Wsstore.FetchKeyMDResponse> {
|
|
216
|
-
return this._connection.send("FetchKeyMetadata", request, "json", false, undefined, "FetchKeyMDResponse");
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
ListKeys(request: Partial<Wsstore.ListKeysRequest>): Promise<Wsstore.ListKeysResponse> {
|
|
220
|
-
return this._connection.send("ListKeys", request, "json", false, undefined, "ListKeysResponse");
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
ListNamespaces(request: Partial<Wsstore.ListNamespacesRequest>): Promise<Wsstore.ListNamespacesResponse> {
|
|
224
|
-
return this._connection.send("ListNamespaces", request, "json", false, undefined, "ListNamespacesResponse");
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
ListStores(request: Partial<Wsstore.ListStoresRequest>): Promise<Wsstore.ListStoresResponse> {
|
|
228
|
-
return this._connection.send("ListStores", request, "json", false, undefined, "ListStoresResponse");
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
Ping(request: Partial<Wsstore.wsstorePingRequest>): Promise<Wsstore.wsstorePingResponse> {
|
|
232
|
-
return this._connection.send("Ping", request, "json", false, undefined, "wsstorePingResponse");
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
Set(request: Partial<Wsstore.SetRequest>): Promise<Wsstore.SetResponse> {
|
|
236
|
-
return this._connection.send("Set", request, "json", false, undefined, "SetResponse");
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
}
|
|
1
|
+
import { IConnection, IOptions } from "../../../../connection.ts";
|
|
2
|
+
import { Service } from "../../../../espConnection.ts";
|
|
3
|
+
|
|
4
|
+
export namespace Wsstore {
|
|
5
|
+
|
|
6
|
+
export type int = number;
|
|
7
|
+
|
|
8
|
+
export interface CreateStoreRequest {
|
|
9
|
+
Name?: string;
|
|
10
|
+
Type?: string;
|
|
11
|
+
Description?: string;
|
|
12
|
+
MaxValueSize?: int;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface Exception {
|
|
16
|
+
Code: string;
|
|
17
|
+
Audience: string;
|
|
18
|
+
Source: string;
|
|
19
|
+
Message: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface Exceptions {
|
|
23
|
+
Source: string;
|
|
24
|
+
Exception: Exception[];
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface CreateStoreResponse {
|
|
28
|
+
Exceptions: Exceptions;
|
|
29
|
+
Name: string;
|
|
30
|
+
Type: string;
|
|
31
|
+
Description: string;
|
|
32
|
+
Owner: string;
|
|
33
|
+
Success: boolean;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface DeleteRequest {
|
|
37
|
+
StoreName?: string;
|
|
38
|
+
Namespace?: string;
|
|
39
|
+
Key?: string;
|
|
40
|
+
UserSpecific?: boolean;
|
|
41
|
+
TargetUser?: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface DeleteResponse {
|
|
45
|
+
Exceptions: Exceptions;
|
|
46
|
+
Success: boolean;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface DeleteNamespaceRequest {
|
|
50
|
+
StoreName?: string;
|
|
51
|
+
Namespace?: string;
|
|
52
|
+
UserSpecific?: boolean;
|
|
53
|
+
TargetUser?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface DeleteNamespaceResponse {
|
|
57
|
+
Exceptions: Exceptions;
|
|
58
|
+
Success: boolean;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface FetchRequest {
|
|
62
|
+
StoreName?: string;
|
|
63
|
+
Namespace?: string;
|
|
64
|
+
Key?: string;
|
|
65
|
+
UserSpecific?: boolean;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export interface FetchResponse {
|
|
69
|
+
Exceptions: Exceptions;
|
|
70
|
+
Value: string;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface FetchAllRequest {
|
|
74
|
+
StoreName?: string;
|
|
75
|
+
Namespace?: string;
|
|
76
|
+
UserSpecific?: boolean;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface Pair {
|
|
80
|
+
Key: string;
|
|
81
|
+
Value: string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export interface Pairs {
|
|
85
|
+
Pair: Pair[];
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export interface FetchAllResponse {
|
|
89
|
+
Exceptions: Exceptions;
|
|
90
|
+
Namespace: string;
|
|
91
|
+
Pairs: Pairs;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export interface FetchKeyMDRequest {
|
|
95
|
+
StoreName?: string;
|
|
96
|
+
Namespace?: string;
|
|
97
|
+
Key?: string;
|
|
98
|
+
UserSpecific?: boolean;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export interface FetchKeyMDResponse {
|
|
102
|
+
Exceptions: Exceptions;
|
|
103
|
+
StoreName: string;
|
|
104
|
+
Namespace: string;
|
|
105
|
+
Key: string;
|
|
106
|
+
Pairs: Pairs;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export interface ListKeysRequest {
|
|
110
|
+
StoreName?: string;
|
|
111
|
+
Namespace?: string;
|
|
112
|
+
UserSpecific?: boolean;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export interface KeySet {
|
|
116
|
+
Key: string[];
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export interface ListKeysResponse {
|
|
120
|
+
Exceptions: Exceptions;
|
|
121
|
+
StoreName: string;
|
|
122
|
+
Namespace: string;
|
|
123
|
+
KeySet: KeySet;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export interface ListNamespacesRequest {
|
|
127
|
+
StoreName?: string;
|
|
128
|
+
UserSpecific?: boolean;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export interface Namespaces {
|
|
132
|
+
Namespace: string[];
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export interface ListNamespacesResponse {
|
|
136
|
+
Exceptions: Exceptions;
|
|
137
|
+
StoreName: string;
|
|
138
|
+
Namespaces: Namespaces;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export interface ListStoresRequest {
|
|
142
|
+
NameFilter?: string;
|
|
143
|
+
TypeFilter?: string;
|
|
144
|
+
OwnerFilter?: string;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export interface Store {
|
|
148
|
+
Name: string;
|
|
149
|
+
Type: string;
|
|
150
|
+
Description: string;
|
|
151
|
+
Owner: string;
|
|
152
|
+
CreateTime: string;
|
|
153
|
+
MaxValSize: string;
|
|
154
|
+
IsDefault: boolean;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export interface Stores {
|
|
158
|
+
Store: Store[];
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export interface ListStoresResponse {
|
|
162
|
+
Exceptions: Exceptions;
|
|
163
|
+
Stores: Stores;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export interface wsstorePingRequest {
|
|
167
|
+
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export interface wsstorePingResponse {
|
|
171
|
+
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export interface SetRequest {
|
|
175
|
+
StoreName?: string;
|
|
176
|
+
Namespace?: string;
|
|
177
|
+
Key?: string;
|
|
178
|
+
Value?: string;
|
|
179
|
+
UserSpecific?: boolean;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export interface SetResponse {
|
|
183
|
+
Exceptions: Exceptions;
|
|
184
|
+
Success: boolean;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export class storeServiceBase extends Service {
|
|
190
|
+
|
|
191
|
+
constructor(optsConnection: IOptions | IConnection) {
|
|
192
|
+
super(optsConnection, "wsstore", "1.02");
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
CreateStore(request: Partial<Wsstore.CreateStoreRequest>): Promise<Wsstore.CreateStoreResponse> {
|
|
196
|
+
return this._connection.send("CreateStore", request, "json", false, undefined, "CreateStoreResponse");
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
Delete(request: Partial<Wsstore.DeleteRequest>): Promise<Wsstore.DeleteResponse> {
|
|
200
|
+
return this._connection.send("Delete", request, "json", false, undefined, "DeleteResponse");
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
DeleteNamespace(request: Partial<Wsstore.DeleteNamespaceRequest>): Promise<Wsstore.DeleteNamespaceResponse> {
|
|
204
|
+
return this._connection.send("DeleteNamespace", request, "json", false, undefined, "DeleteNamespaceResponse");
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
Fetch(request: Partial<Wsstore.FetchRequest>): Promise<Wsstore.FetchResponse> {
|
|
208
|
+
return this._connection.send("Fetch", request, "json", false, undefined, "FetchResponse");
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
FetchAll(request: Partial<Wsstore.FetchAllRequest>): Promise<Wsstore.FetchAllResponse> {
|
|
212
|
+
return this._connection.send("FetchAll", request, "json", false, undefined, "FetchAllResponse");
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
FetchKeyMetadata(request: Partial<Wsstore.FetchKeyMDRequest>): Promise<Wsstore.FetchKeyMDResponse> {
|
|
216
|
+
return this._connection.send("FetchKeyMetadata", request, "json", false, undefined, "FetchKeyMDResponse");
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
ListKeys(request: Partial<Wsstore.ListKeysRequest>): Promise<Wsstore.ListKeysResponse> {
|
|
220
|
+
return this._connection.send("ListKeys", request, "json", false, undefined, "ListKeysResponse");
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
ListNamespaces(request: Partial<Wsstore.ListNamespacesRequest>): Promise<Wsstore.ListNamespacesResponse> {
|
|
224
|
+
return this._connection.send("ListNamespaces", request, "json", false, undefined, "ListNamespacesResponse");
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
ListStores(request: Partial<Wsstore.ListStoresRequest>): Promise<Wsstore.ListStoresResponse> {
|
|
228
|
+
return this._connection.send("ListStores", request, "json", false, undefined, "ListStoresResponse");
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
Ping(request: Partial<Wsstore.wsstorePingRequest>): Promise<Wsstore.wsstorePingResponse> {
|
|
232
|
+
return this._connection.send("Ping", request, "json", false, undefined, "wsstorePingResponse");
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
Set(request: Partial<Wsstore.SetRequest>): Promise<Wsstore.SetResponse> {
|
|
236
|
+
return this._connection.send("Set", request, "json", false, undefined, "SetResponse");
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
}
|
|
@@ -50,5 +50,6 @@ export declare class LogaccessService extends LogaccessServiceBase {
|
|
|
50
50
|
protected _logAccessInfo: Promise<WsLogaccess.GetLogAccessInfoResponse>;
|
|
51
51
|
GetLogAccessInfo(request?: WsLogaccess.GetLogAccessInfoRequest): Promise<WsLogaccess.GetLogAccessInfoResponse>;
|
|
52
52
|
GetLogs(request: WsLogaccess.GetLogsRequest): Promise<WsLogaccess.GetLogsResponse>;
|
|
53
|
+
private convertLogLine;
|
|
53
54
|
GetLogsEx(request: GetLogsExRequest): Promise<GetLogsExResponse>;
|
|
54
55
|
}
|