@springtree/eva-services-core-live-guard 1.6.0 → 1.8.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.
- package/lib/EVA.Core.LiveGuard.Services.d.ts +26 -0
- package/lib/EVA.Core.LiveGuard.Services.d.ts.map +1 -1
- package/lib/EVA.Core.LiveGuard.Services.js +49 -21
- package/lib/EVA.Core.LiveGuard.Services.js.map +1 -1
- package/lib/eva-services-core-live-guard.es5.js +49 -21
- package/lib/eva-services-core-live-guard.es5.js.map +1 -1
- package/lib/eva-services-core-live-guard.umd.js +49 -21
- package/lib/eva-services-core-live-guard.umd.js.map +1 -1
- package/package.json +2 -2
|
@@ -68,6 +68,19 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
68
68
|
request?: EVA.Core.LiveGuard.LiveGuardGenerateApiKey;
|
|
69
69
|
response?: EVA.Core.LiveGuard.LiveGuardGenerateApiKeyResponse;
|
|
70
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
* Retreive current chain status for the connected watchtower
|
|
73
|
+
*
|
|
74
|
+
* @export
|
|
75
|
+
* @class LiveGuardGetAuditChains
|
|
76
|
+
* @implements {EvaService}
|
|
77
|
+
*/
|
|
78
|
+
class LiveGuardGetAuditChains implements IEvaServiceDefinition {
|
|
79
|
+
name: string;
|
|
80
|
+
path: string;
|
|
81
|
+
request?: EVA.Core.LiveGuard.LiveGuardGetAuditChains;
|
|
82
|
+
response?: EVA.Core.LiveGuard.LiveGuardGetAuditChainsResponse;
|
|
83
|
+
}
|
|
71
84
|
/**
|
|
72
85
|
* Get an authentication token that's valid in the cloud for the current user
|
|
73
86
|
*
|
|
@@ -241,6 +254,19 @@ This should never be used in production environments. This is used to mimick off
|
|
|
241
254
|
request?: EVA.Core.LiveGuard.LiveGuardTriggerSync;
|
|
242
255
|
response?: EVA.Core.EmptyResponseMessage;
|
|
243
256
|
}
|
|
257
|
+
/**
|
|
258
|
+
* Push the current configuration for the given device to mender
|
|
259
|
+
*
|
|
260
|
+
* @export
|
|
261
|
+
* @class PushWatchtowerConfigurationToDevice
|
|
262
|
+
* @implements {EvaService}
|
|
263
|
+
*/
|
|
264
|
+
class PushWatchtowerConfigurationToDevice implements IEvaServiceDefinition {
|
|
265
|
+
name: string;
|
|
266
|
+
path: string;
|
|
267
|
+
request?: EVA.Core.LiveGuard.PushWatchtowerConfigurationToDevice;
|
|
268
|
+
response?: EVA.Core.EmptyResponseMessage;
|
|
269
|
+
}
|
|
244
270
|
/**
|
|
245
271
|
* Execute a command on a device
|
|
246
272
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EVA.Core.LiveGuard.Services.d.ts","sourceRoot":"","sources":["../src/EVA.Core.LiveGuard.Services.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,yBAAiB,aAAa,CAAC;IAE7B;;;;;;;;;OASG;IACH,MAAa,sBAAuB,YAAW,qBAAqB;QAClE,IAAI,SAA0C;QAC9C,IAAI,
|
|
1
|
+
{"version":3,"file":"EVA.Core.LiveGuard.Services.d.ts","sourceRoot":"","sources":["../src/EVA.Core.LiveGuard.Services.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,yBAAiB,aAAa,CAAC;IAE7B;;;;;;;;;OASG;IACH,MAAa,sBAAuB,YAAW,qBAAqB;QAClE,IAAI,SAA0C;QAC9C,IAAI,SAAqC;QACzC,OAAO,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,sBAAsB,CAAC;QACpD,QAAQ,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,8BAA8B,CAAC;KAC9D;IAED;;;;;;OAMG;IACH,MAAa,SAAU,YAAW,qBAAqB;QACrD,IAAI,SAA6B;QACjC,IAAI,SAAwB;QAC5B,OAAO,CAAC,EAAE,GAAG,CAAC,IAAI,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,CAAC,SAAS,CAAC,+BAA+B,CAAC;QAC7D,QAAQ,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,uCAAuC,CAAC;KACvE;IAED;;;;;;OAMG;IACH,MAAa,0BAA2B,YAAW,qBAAqB;QACtE,IAAI,SAA8C;QAClD,IAAI,SAAyC;QAC7C,OAAO,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,0BAA0B,CAAC;QACxD,QAAQ,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,kCAAkC,CAAC;KAClE;CACF"}
|
|
@@ -13,7 +13,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
13
13
|
class CreateWatchtowerDevice {
|
|
14
14
|
constructor() {
|
|
15
15
|
this.name = 'CoreLiveGuard:CreateWatchtowerDevice';
|
|
16
|
-
this.path = '/
|
|
16
|
+
this.path = '/message/CreateWatchtowerDevice';
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
CoreLiveGuard.CreateWatchtowerDevice = CreateWatchtowerDevice;
|
|
@@ -27,7 +27,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
27
27
|
class EVAStatus {
|
|
28
28
|
constructor() {
|
|
29
29
|
this.name = 'CoreLiveGuard:EVAStatus';
|
|
30
|
-
this.path = '/
|
|
30
|
+
this.path = '/message/EVAStatus';
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
CoreLiveGuard.EVAStatus = EVAStatus;
|
|
@@ -41,7 +41,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
41
41
|
class GetUserForLiveGuard {
|
|
42
42
|
constructor() {
|
|
43
43
|
this.name = 'CoreLiveGuard:GetUserForLiveGuard';
|
|
44
|
-
this.path = '/
|
|
44
|
+
this.path = '/message/GetUserForLiveGuard';
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
CoreLiveGuard.GetUserForLiveGuard = GetUserForLiveGuard;
|
|
@@ -55,7 +55,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
55
55
|
class ListWatchtowerDevices {
|
|
56
56
|
constructor() {
|
|
57
57
|
this.name = 'CoreLiveGuard:ListWatchtowerDevices';
|
|
58
|
-
this.path = '/
|
|
58
|
+
this.path = '/message/ListWatchtowerDevices';
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
CoreLiveGuard.ListWatchtowerDevices = ListWatchtowerDevices;
|
|
@@ -69,10 +69,24 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
69
69
|
class LiveGuardGenerateApiKey {
|
|
70
70
|
constructor() {
|
|
71
71
|
this.name = 'CoreLiveGuard:LiveGuardGenerateApiKey';
|
|
72
|
-
this.path = '/
|
|
72
|
+
this.path = '/message/LiveGuardGenerateApiKey';
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
CoreLiveGuard.LiveGuardGenerateApiKey = LiveGuardGenerateApiKey;
|
|
76
|
+
/**
|
|
77
|
+
* Retreive current chain status for the connected watchtower
|
|
78
|
+
*
|
|
79
|
+
* @export
|
|
80
|
+
* @class LiveGuardGetAuditChains
|
|
81
|
+
* @implements {EvaService}
|
|
82
|
+
*/
|
|
83
|
+
class LiveGuardGetAuditChains {
|
|
84
|
+
constructor() {
|
|
85
|
+
this.name = 'CoreLiveGuard:LiveGuardGetAuditChains';
|
|
86
|
+
this.path = '/message/LiveGuardGetAuditChains';
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
CoreLiveGuard.LiveGuardGetAuditChains = LiveGuardGetAuditChains;
|
|
76
90
|
/**
|
|
77
91
|
* Get an authentication token that's valid in the cloud for the current user
|
|
78
92
|
*
|
|
@@ -83,7 +97,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
83
97
|
class LiveGuardGetCloudToken {
|
|
84
98
|
constructor() {
|
|
85
99
|
this.name = 'CoreLiveGuard:LiveGuardGetCloudToken';
|
|
86
|
-
this.path = '/
|
|
100
|
+
this.path = '/message/LiveGuardGetCloudToken';
|
|
87
101
|
}
|
|
88
102
|
}
|
|
89
103
|
CoreLiveGuard.LiveGuardGetCloudToken = LiveGuardGetCloudToken;
|
|
@@ -97,7 +111,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
97
111
|
class LiveGuardGetInformation {
|
|
98
112
|
constructor() {
|
|
99
113
|
this.name = 'CoreLiveGuard:LiveGuardGetInformation';
|
|
100
|
-
this.path = '/
|
|
114
|
+
this.path = '/message/LiveGuardGetInformation';
|
|
101
115
|
}
|
|
102
116
|
}
|
|
103
117
|
CoreLiveGuard.LiveGuardGetInformation = LiveGuardGetInformation;
|
|
@@ -111,7 +125,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
111
125
|
class LiveGuardGetMapping {
|
|
112
126
|
constructor() {
|
|
113
127
|
this.name = 'CoreLiveGuard:LiveGuardGetMapping';
|
|
114
|
-
this.path = '/
|
|
128
|
+
this.path = '/message/LiveGuardGetMapping';
|
|
115
129
|
}
|
|
116
130
|
}
|
|
117
131
|
CoreLiveGuard.LiveGuardGetMapping = LiveGuardGetMapping;
|
|
@@ -125,7 +139,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
125
139
|
class LiveGuardGetStatus {
|
|
126
140
|
constructor() {
|
|
127
141
|
this.name = 'CoreLiveGuard:LiveGuardGetStatus';
|
|
128
|
-
this.path = '/
|
|
142
|
+
this.path = '/message/LiveGuardGetStatus';
|
|
129
143
|
}
|
|
130
144
|
}
|
|
131
145
|
CoreLiveGuard.LiveGuardGetStatus = LiveGuardGetStatus;
|
|
@@ -139,7 +153,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
139
153
|
class LiveGuardGetTOTPSecret {
|
|
140
154
|
constructor() {
|
|
141
155
|
this.name = 'CoreLiveGuard:LiveGuardGetTOTPSecret';
|
|
142
|
-
this.path = '/
|
|
156
|
+
this.path = '/message/LiveGuardGetTOTPSecret';
|
|
143
157
|
}
|
|
144
158
|
}
|
|
145
159
|
CoreLiveGuard.LiveGuardGetTOTPSecret = LiveGuardGetTOTPSecret;
|
|
@@ -155,7 +169,7 @@ Can only be called by the liveguard user
|
|
|
155
169
|
class LiveGuardGetTokenForUser {
|
|
156
170
|
constructor() {
|
|
157
171
|
this.name = 'CoreLiveGuard:LiveGuardGetTokenForUser';
|
|
158
|
-
this.path = '/
|
|
172
|
+
this.path = '/message/LiveGuardGetTokenForUser';
|
|
159
173
|
}
|
|
160
174
|
}
|
|
161
175
|
CoreLiveGuard.LiveGuardGetTokenForUser = LiveGuardGetTokenForUser;
|
|
@@ -169,7 +183,7 @@ Can only be called by the liveguard user
|
|
|
169
183
|
class LiveGuardGetUser {
|
|
170
184
|
constructor() {
|
|
171
185
|
this.name = 'CoreLiveGuard:LiveGuardGetUser';
|
|
172
|
-
this.path = '/
|
|
186
|
+
this.path = '/message/LiveGuardGetUser';
|
|
173
187
|
}
|
|
174
188
|
}
|
|
175
189
|
CoreLiveGuard.LiveGuardGetUser = LiveGuardGetUser;
|
|
@@ -183,7 +197,7 @@ Can only be called by the liveguard user
|
|
|
183
197
|
class LiveGuardPushOrder {
|
|
184
198
|
constructor() {
|
|
185
199
|
this.name = 'CoreLiveGuard:LiveGuardPushOrder';
|
|
186
|
-
this.path = '/
|
|
200
|
+
this.path = '/message/LiveGuardPushOrder';
|
|
187
201
|
}
|
|
188
202
|
}
|
|
189
203
|
CoreLiveGuard.LiveGuardPushOrder = LiveGuardPushOrder;
|
|
@@ -199,7 +213,7 @@ This should never be used in production environments. This is used to mimick off
|
|
|
199
213
|
class LiveGuardSetStatus {
|
|
200
214
|
constructor() {
|
|
201
215
|
this.name = 'CoreLiveGuard:LiveGuardSetStatus';
|
|
202
|
-
this.path = '/
|
|
216
|
+
this.path = '/message/LiveGuardSetStatus';
|
|
203
217
|
}
|
|
204
218
|
}
|
|
205
219
|
CoreLiveGuard.LiveGuardSetStatus = LiveGuardSetStatus;
|
|
@@ -213,7 +227,7 @@ This should never be used in production environments. This is used to mimick off
|
|
|
213
227
|
class LiveGuardSyncCatalogByBlob {
|
|
214
228
|
constructor() {
|
|
215
229
|
this.name = 'CoreLiveGuard:LiveGuardSyncCatalogByBlob';
|
|
216
|
-
this.path = '/
|
|
230
|
+
this.path = '/message/LiveGuardSyncCatalogByBlob';
|
|
217
231
|
}
|
|
218
232
|
}
|
|
219
233
|
CoreLiveGuard.LiveGuardSyncCatalogByBlob = LiveGuardSyncCatalogByBlob;
|
|
@@ -227,7 +241,7 @@ This should never be used in production environments. This is used to mimick off
|
|
|
227
241
|
class LiveGuardSyncGeneralByBlob {
|
|
228
242
|
constructor() {
|
|
229
243
|
this.name = 'CoreLiveGuard:LiveGuardSyncGeneralByBlob';
|
|
230
|
-
this.path = '/
|
|
244
|
+
this.path = '/message/LiveGuardSyncGeneralByBlob';
|
|
231
245
|
}
|
|
232
246
|
}
|
|
233
247
|
CoreLiveGuard.LiveGuardSyncGeneralByBlob = LiveGuardSyncGeneralByBlob;
|
|
@@ -241,7 +255,7 @@ This should never be used in production environments. This is used to mimick off
|
|
|
241
255
|
class LiveGuardSyncUsersByBlob {
|
|
242
256
|
constructor() {
|
|
243
257
|
this.name = 'CoreLiveGuard:LiveGuardSyncUsersByBlob';
|
|
244
|
-
this.path = '/
|
|
258
|
+
this.path = '/message/LiveGuardSyncUsersByBlob';
|
|
245
259
|
}
|
|
246
260
|
}
|
|
247
261
|
CoreLiveGuard.LiveGuardSyncUsersByBlob = LiveGuardSyncUsersByBlob;
|
|
@@ -255,10 +269,24 @@ This should never be used in production environments. This is used to mimick off
|
|
|
255
269
|
class LiveGuardTriggerSync {
|
|
256
270
|
constructor() {
|
|
257
271
|
this.name = 'CoreLiveGuard:LiveGuardTriggerSync';
|
|
258
|
-
this.path = '/
|
|
272
|
+
this.path = '/message/LiveGuardTriggerSync';
|
|
259
273
|
}
|
|
260
274
|
}
|
|
261
275
|
CoreLiveGuard.LiveGuardTriggerSync = LiveGuardTriggerSync;
|
|
276
|
+
/**
|
|
277
|
+
* Push the current configuration for the given device to mender
|
|
278
|
+
*
|
|
279
|
+
* @export
|
|
280
|
+
* @class PushWatchtowerConfigurationToDevice
|
|
281
|
+
* @implements {EvaService}
|
|
282
|
+
*/
|
|
283
|
+
class PushWatchtowerConfigurationToDevice {
|
|
284
|
+
constructor() {
|
|
285
|
+
this.name = 'CoreLiveGuard:PushWatchtowerConfigurationToDevice';
|
|
286
|
+
this.path = '/message/PushWatchtowerConfigurationToDevice';
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
CoreLiveGuard.PushWatchtowerConfigurationToDevice = PushWatchtowerConfigurationToDevice;
|
|
262
290
|
/**
|
|
263
291
|
* Execute a command on a device
|
|
264
292
|
*
|
|
@@ -269,7 +297,7 @@ This should never be used in production environments. This is used to mimick off
|
|
|
269
297
|
class WatchtowerExecuteCommand {
|
|
270
298
|
constructor() {
|
|
271
299
|
this.name = 'CoreLiveGuard:WatchtowerExecuteCommand';
|
|
272
|
-
this.path = '/
|
|
300
|
+
this.path = '/message/WatchtowerExecuteCommand';
|
|
273
301
|
}
|
|
274
302
|
}
|
|
275
303
|
CoreLiveGuard.WatchtowerExecuteCommand = WatchtowerExecuteCommand;
|
|
@@ -286,7 +314,7 @@ Returns the MenderID if found in mender or already stored in EVA
|
|
|
286
314
|
class WatchtowerGetDeviceByHardwareID {
|
|
287
315
|
constructor() {
|
|
288
316
|
this.name = 'CoreLiveGuard:WatchtowerGetDeviceByHardwareID';
|
|
289
|
-
this.path = '/
|
|
317
|
+
this.path = '/message/WatchtowerGetDeviceByHardwareID';
|
|
290
318
|
}
|
|
291
319
|
}
|
|
292
320
|
CoreLiveGuard.WatchtowerGetDeviceByHardwareID = WatchtowerGetDeviceByHardwareID;
|
|
@@ -300,7 +328,7 @@ Returns the MenderID if found in mender or already stored in EVA
|
|
|
300
328
|
class WatchtowerGetDeviceDetails {
|
|
301
329
|
constructor() {
|
|
302
330
|
this.name = 'CoreLiveGuard:WatchtowerGetDeviceDetails';
|
|
303
|
-
this.path = '/
|
|
331
|
+
this.path = '/message/WatchtowerGetDeviceDetails';
|
|
304
332
|
}
|
|
305
333
|
}
|
|
306
334
|
CoreLiveGuard.WatchtowerGetDeviceDetails = WatchtowerGetDeviceDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EVA.Core.LiveGuard.Services.js","sourceRoot":"","sources":["../src/EVA.Core.LiveGuard.Services.ts"],"names":[],"mappings":"AAEE,MAAM,KAAW,aAAa,
|
|
1
|
+
{"version":3,"file":"EVA.Core.LiveGuard.Services.js","sourceRoot":"","sources":["../src/EVA.Core.LiveGuard.Services.ts"],"names":[],"mappings":"AAEE,MAAM,KAAW,aAAa,CA6U7B;AA7UD,WAAiB,aAAa;IAE5B;;;;;;;;;OASG;IACH,MAAa,sBAAsB;QAAnC;YACE,SAAI,GAAG,sCAAsC,CAAC;YAC9C,SAAI,GAAG,iCAAiC,CAAC;QAG3C,CAAC;KAAA;IALY,oCAAsB,yBAKlC,CAAA;IAED;;;;;;OAMG;IACH,MAAa,SAAS;QAAtB;YACE,SAAI,GAAG,yBAAyB,CAAC;YACjC,SAAI,GAAG,oBAAoB,CAAC;QAG9B,CAAC;KAAA;IALY,uBAAS,YAKrB,CAAA;IAED;;;;;;OAMG;IACH,MAAa,mBAAmB;QAAhC;YACE,SAAI,GAAG,mCAAmC,CAAC;YAC3C,SAAI,GAAG,8BAA8B,CAAC;QAGxC,CAAC;KAAA;IALY,iCAAmB,sBAK/B,CAAA;IAED;;;;;;OAMG;IACH,MAAa,qBAAqB;QAAlC;YACE,SAAI,GAAG,qCAAqC,CAAC;YAC7C,SAAI,GAAG,gCAAgC,CAAC;QAG1C,CAAC;KAAA;IALY,mCAAqB,wBAKjC,CAAA;IAED;;;;;;OAMG;IACH,MAAa,uBAAuB;QAApC;YACE,SAAI,GAAG,uCAAuC,CAAC;YAC/C,SAAI,GAAG,kCAAkC,CAAC;QAG5C,CAAC;KAAA;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AAC;KAAA;IALY,sCAAwB,2BAKpC,CAAA;IAED;;;;;;;;;OASG;IACH,MAAa,+BAA+B;QAA5C;YACE,SAAI,GAAG,+CAA+C,CAAC;YACvD,SAAI,GAAG,0CAA0C,CAAC;QAGpD,CAAC;KAAA;IALY,6CAA+B,kCAK3C,CAAA;IAED;;;;;;OAMG;IACH,MAAa,0BAA0B;QAAvC;YACE,SAAI,GAAG,0CAA0C,CAAC;YAClD,SAAI,GAAG,qCAAqC,CAAC;QAG/C,CAAC;KAAA;IALY,wCAA0B,6BAKtC,CAAA;AACH,CAAC,EA7UgB,aAAa,KAAb,aAAa,QA6U7B"}
|
|
@@ -13,7 +13,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
13
13
|
class CreateWatchtowerDevice {
|
|
14
14
|
constructor() {
|
|
15
15
|
this.name = 'CoreLiveGuard:CreateWatchtowerDevice';
|
|
16
|
-
this.path = '/
|
|
16
|
+
this.path = '/message/CreateWatchtowerDevice';
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
CoreLiveGuard.CreateWatchtowerDevice = CreateWatchtowerDevice;
|
|
@@ -27,7 +27,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
27
27
|
class EVAStatus {
|
|
28
28
|
constructor() {
|
|
29
29
|
this.name = 'CoreLiveGuard:EVAStatus';
|
|
30
|
-
this.path = '/
|
|
30
|
+
this.path = '/message/EVAStatus';
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
CoreLiveGuard.EVAStatus = EVAStatus;
|
|
@@ -41,7 +41,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
41
41
|
class GetUserForLiveGuard {
|
|
42
42
|
constructor() {
|
|
43
43
|
this.name = 'CoreLiveGuard:GetUserForLiveGuard';
|
|
44
|
-
this.path = '/
|
|
44
|
+
this.path = '/message/GetUserForLiveGuard';
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
CoreLiveGuard.GetUserForLiveGuard = GetUserForLiveGuard;
|
|
@@ -55,7 +55,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
55
55
|
class ListWatchtowerDevices {
|
|
56
56
|
constructor() {
|
|
57
57
|
this.name = 'CoreLiveGuard:ListWatchtowerDevices';
|
|
58
|
-
this.path = '/
|
|
58
|
+
this.path = '/message/ListWatchtowerDevices';
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
CoreLiveGuard.ListWatchtowerDevices = ListWatchtowerDevices;
|
|
@@ -69,10 +69,24 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
69
69
|
class LiveGuardGenerateApiKey {
|
|
70
70
|
constructor() {
|
|
71
71
|
this.name = 'CoreLiveGuard:LiveGuardGenerateApiKey';
|
|
72
|
-
this.path = '/
|
|
72
|
+
this.path = '/message/LiveGuardGenerateApiKey';
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
CoreLiveGuard.LiveGuardGenerateApiKey = LiveGuardGenerateApiKey;
|
|
76
|
+
/**
|
|
77
|
+
* Retreive current chain status for the connected watchtower
|
|
78
|
+
*
|
|
79
|
+
* @export
|
|
80
|
+
* @class LiveGuardGetAuditChains
|
|
81
|
+
* @implements {EvaService}
|
|
82
|
+
*/
|
|
83
|
+
class LiveGuardGetAuditChains {
|
|
84
|
+
constructor() {
|
|
85
|
+
this.name = 'CoreLiveGuard:LiveGuardGetAuditChains';
|
|
86
|
+
this.path = '/message/LiveGuardGetAuditChains';
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
CoreLiveGuard.LiveGuardGetAuditChains = LiveGuardGetAuditChains;
|
|
76
90
|
/**
|
|
77
91
|
* Get an authentication token that's valid in the cloud for the current user
|
|
78
92
|
*
|
|
@@ -83,7 +97,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
83
97
|
class LiveGuardGetCloudToken {
|
|
84
98
|
constructor() {
|
|
85
99
|
this.name = 'CoreLiveGuard:LiveGuardGetCloudToken';
|
|
86
|
-
this.path = '/
|
|
100
|
+
this.path = '/message/LiveGuardGetCloudToken';
|
|
87
101
|
}
|
|
88
102
|
}
|
|
89
103
|
CoreLiveGuard.LiveGuardGetCloudToken = LiveGuardGetCloudToken;
|
|
@@ -97,7 +111,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
97
111
|
class LiveGuardGetInformation {
|
|
98
112
|
constructor() {
|
|
99
113
|
this.name = 'CoreLiveGuard:LiveGuardGetInformation';
|
|
100
|
-
this.path = '/
|
|
114
|
+
this.path = '/message/LiveGuardGetInformation';
|
|
101
115
|
}
|
|
102
116
|
}
|
|
103
117
|
CoreLiveGuard.LiveGuardGetInformation = LiveGuardGetInformation;
|
|
@@ -111,7 +125,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
111
125
|
class LiveGuardGetMapping {
|
|
112
126
|
constructor() {
|
|
113
127
|
this.name = 'CoreLiveGuard:LiveGuardGetMapping';
|
|
114
|
-
this.path = '/
|
|
128
|
+
this.path = '/message/LiveGuardGetMapping';
|
|
115
129
|
}
|
|
116
130
|
}
|
|
117
131
|
CoreLiveGuard.LiveGuardGetMapping = LiveGuardGetMapping;
|
|
@@ -125,7 +139,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
125
139
|
class LiveGuardGetStatus {
|
|
126
140
|
constructor() {
|
|
127
141
|
this.name = 'CoreLiveGuard:LiveGuardGetStatus';
|
|
128
|
-
this.path = '/
|
|
142
|
+
this.path = '/message/LiveGuardGetStatus';
|
|
129
143
|
}
|
|
130
144
|
}
|
|
131
145
|
CoreLiveGuard.LiveGuardGetStatus = LiveGuardGetStatus;
|
|
@@ -139,7 +153,7 @@ When a HardwareID is set, the device will be boarded in mender and prepared for
|
|
|
139
153
|
class LiveGuardGetTOTPSecret {
|
|
140
154
|
constructor() {
|
|
141
155
|
this.name = 'CoreLiveGuard:LiveGuardGetTOTPSecret';
|
|
142
|
-
this.path = '/
|
|
156
|
+
this.path = '/message/LiveGuardGetTOTPSecret';
|
|
143
157
|
}
|
|
144
158
|
}
|
|
145
159
|
CoreLiveGuard.LiveGuardGetTOTPSecret = LiveGuardGetTOTPSecret;
|
|
@@ -155,7 +169,7 @@ Can only be called by the liveguard user
|
|
|
155
169
|
class LiveGuardGetTokenForUser {
|
|
156
170
|
constructor() {
|
|
157
171
|
this.name = 'CoreLiveGuard:LiveGuardGetTokenForUser';
|
|
158
|
-
this.path = '/
|
|
172
|
+
this.path = '/message/LiveGuardGetTokenForUser';
|
|
159
173
|
}
|
|
160
174
|
}
|
|
161
175
|
CoreLiveGuard.LiveGuardGetTokenForUser = LiveGuardGetTokenForUser;
|
|
@@ -169,7 +183,7 @@ Can only be called by the liveguard user
|
|
|
169
183
|
class LiveGuardGetUser {
|
|
170
184
|
constructor() {
|
|
171
185
|
this.name = 'CoreLiveGuard:LiveGuardGetUser';
|
|
172
|
-
this.path = '/
|
|
186
|
+
this.path = '/message/LiveGuardGetUser';
|
|
173
187
|
}
|
|
174
188
|
}
|
|
175
189
|
CoreLiveGuard.LiveGuardGetUser = LiveGuardGetUser;
|
|
@@ -183,7 +197,7 @@ Can only be called by the liveguard user
|
|
|
183
197
|
class LiveGuardPushOrder {
|
|
184
198
|
constructor() {
|
|
185
199
|
this.name = 'CoreLiveGuard:LiveGuardPushOrder';
|
|
186
|
-
this.path = '/
|
|
200
|
+
this.path = '/message/LiveGuardPushOrder';
|
|
187
201
|
}
|
|
188
202
|
}
|
|
189
203
|
CoreLiveGuard.LiveGuardPushOrder = LiveGuardPushOrder;
|
|
@@ -199,7 +213,7 @@ This should never be used in production environments. This is used to mimick off
|
|
|
199
213
|
class LiveGuardSetStatus {
|
|
200
214
|
constructor() {
|
|
201
215
|
this.name = 'CoreLiveGuard:LiveGuardSetStatus';
|
|
202
|
-
this.path = '/
|
|
216
|
+
this.path = '/message/LiveGuardSetStatus';
|
|
203
217
|
}
|
|
204
218
|
}
|
|
205
219
|
CoreLiveGuard.LiveGuardSetStatus = LiveGuardSetStatus;
|
|
@@ -213,7 +227,7 @@ This should never be used in production environments. This is used to mimick off
|
|
|
213
227
|
class LiveGuardSyncCatalogByBlob {
|
|
214
228
|
constructor() {
|
|
215
229
|
this.name = 'CoreLiveGuard:LiveGuardSyncCatalogByBlob';
|
|
216
|
-
this.path = '/
|
|
230
|
+
this.path = '/message/LiveGuardSyncCatalogByBlob';
|
|
217
231
|
}
|
|
218
232
|
}
|
|
219
233
|
CoreLiveGuard.LiveGuardSyncCatalogByBlob = LiveGuardSyncCatalogByBlob;
|
|
@@ -227,7 +241,7 @@ This should never be used in production environments. This is used to mimick off
|
|
|
227
241
|
class LiveGuardSyncGeneralByBlob {
|
|
228
242
|
constructor() {
|
|
229
243
|
this.name = 'CoreLiveGuard:LiveGuardSyncGeneralByBlob';
|
|
230
|
-
this.path = '/
|
|
244
|
+
this.path = '/message/LiveGuardSyncGeneralByBlob';
|
|
231
245
|
}
|
|
232
246
|
}
|
|
233
247
|
CoreLiveGuard.LiveGuardSyncGeneralByBlob = LiveGuardSyncGeneralByBlob;
|
|
@@ -241,7 +255,7 @@ This should never be used in production environments. This is used to mimick off
|
|
|
241
255
|
class LiveGuardSyncUsersByBlob {
|
|
242
256
|
constructor() {
|
|
243
257
|
this.name = 'CoreLiveGuard:LiveGuardSyncUsersByBlob';
|
|
244
|
-
this.path = '/
|
|
258
|
+
this.path = '/message/LiveGuardSyncUsersByBlob';
|
|
245
259
|
}
|
|
246
260
|
}
|
|
247
261
|
CoreLiveGuard.LiveGuardSyncUsersByBlob = LiveGuardSyncUsersByBlob;
|
|
@@ -255,10 +269,24 @@ This should never be used in production environments. This is used to mimick off
|
|
|
255
269
|
class LiveGuardTriggerSync {
|
|
256
270
|
constructor() {
|
|
257
271
|
this.name = 'CoreLiveGuard:LiveGuardTriggerSync';
|
|
258
|
-
this.path = '/
|
|
272
|
+
this.path = '/message/LiveGuardTriggerSync';
|
|
259
273
|
}
|
|
260
274
|
}
|
|
261
275
|
CoreLiveGuard.LiveGuardTriggerSync = LiveGuardTriggerSync;
|
|
276
|
+
/**
|
|
277
|
+
* Push the current configuration for the given device to mender
|
|
278
|
+
*
|
|
279
|
+
* @export
|
|
280
|
+
* @class PushWatchtowerConfigurationToDevice
|
|
281
|
+
* @implements {EvaService}
|
|
282
|
+
*/
|
|
283
|
+
class PushWatchtowerConfigurationToDevice {
|
|
284
|
+
constructor() {
|
|
285
|
+
this.name = 'CoreLiveGuard:PushWatchtowerConfigurationToDevice';
|
|
286
|
+
this.path = '/message/PushWatchtowerConfigurationToDevice';
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
CoreLiveGuard.PushWatchtowerConfigurationToDevice = PushWatchtowerConfigurationToDevice;
|
|
262
290
|
/**
|
|
263
291
|
* Execute a command on a device
|
|
264
292
|
*
|
|
@@ -269,7 +297,7 @@ This should never be used in production environments. This is used to mimick off
|
|
|
269
297
|
class WatchtowerExecuteCommand {
|
|
270
298
|
constructor() {
|
|
271
299
|
this.name = 'CoreLiveGuard:WatchtowerExecuteCommand';
|
|
272
|
-
this.path = '/
|
|
300
|
+
this.path = '/message/WatchtowerExecuteCommand';
|
|
273
301
|
}
|
|
274
302
|
}
|
|
275
303
|
CoreLiveGuard.WatchtowerExecuteCommand = WatchtowerExecuteCommand;
|
|
@@ -286,7 +314,7 @@ Returns the MenderID if found in mender or already stored in EVA
|
|
|
286
314
|
class WatchtowerGetDeviceByHardwareID {
|
|
287
315
|
constructor() {
|
|
288
316
|
this.name = 'CoreLiveGuard:WatchtowerGetDeviceByHardwareID';
|
|
289
|
-
this.path = '/
|
|
317
|
+
this.path = '/message/WatchtowerGetDeviceByHardwareID';
|
|
290
318
|
}
|
|
291
319
|
}
|
|
292
320
|
CoreLiveGuard.WatchtowerGetDeviceByHardwareID = WatchtowerGetDeviceByHardwareID;
|
|
@@ -300,7 +328,7 @@ Returns the MenderID if found in mender or already stored in EVA
|
|
|
300
328
|
class WatchtowerGetDeviceDetails {
|
|
301
329
|
constructor() {
|
|
302
330
|
this.name = 'CoreLiveGuard:WatchtowerGetDeviceDetails';
|
|
303
|
-
this.path = '/
|
|
331
|
+
this.path = '/message/WatchtowerGetDeviceDetails';
|
|
304
332
|
}
|
|
305
333
|
}
|
|
306
334
|
CoreLiveGuard.WatchtowerGetDeviceDetails = WatchtowerGetDeviceDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eva-services-core-live-guard.es5.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eva-services-core-live-guard.es5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
class CreateWatchtowerDevice {
|
|
20
20
|
constructor() {
|
|
21
21
|
this.name = 'CoreLiveGuard:CreateWatchtowerDevice';
|
|
22
|
-
this.path = '/
|
|
22
|
+
this.path = '/message/CreateWatchtowerDevice';
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
CoreLiveGuard.CreateWatchtowerDevice = CreateWatchtowerDevice;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
class EVAStatus {
|
|
34
34
|
constructor() {
|
|
35
35
|
this.name = 'CoreLiveGuard:EVAStatus';
|
|
36
|
-
this.path = '/
|
|
36
|
+
this.path = '/message/EVAStatus';
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
CoreLiveGuard.EVAStatus = EVAStatus;
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
class GetUserForLiveGuard {
|
|
48
48
|
constructor() {
|
|
49
49
|
this.name = 'CoreLiveGuard:GetUserForLiveGuard';
|
|
50
|
-
this.path = '/
|
|
50
|
+
this.path = '/message/GetUserForLiveGuard';
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
CoreLiveGuard.GetUserForLiveGuard = GetUserForLiveGuard;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
class ListWatchtowerDevices {
|
|
62
62
|
constructor() {
|
|
63
63
|
this.name = 'CoreLiveGuard:ListWatchtowerDevices';
|
|
64
|
-
this.path = '/
|
|
64
|
+
this.path = '/message/ListWatchtowerDevices';
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
CoreLiveGuard.ListWatchtowerDevices = ListWatchtowerDevices;
|
|
@@ -75,10 +75,24 @@
|
|
|
75
75
|
class LiveGuardGenerateApiKey {
|
|
76
76
|
constructor() {
|
|
77
77
|
this.name = 'CoreLiveGuard:LiveGuardGenerateApiKey';
|
|
78
|
-
this.path = '/
|
|
78
|
+
this.path = '/message/LiveGuardGenerateApiKey';
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
CoreLiveGuard.LiveGuardGenerateApiKey = LiveGuardGenerateApiKey;
|
|
82
|
+
/**
|
|
83
|
+
* Retreive current chain status for the connected watchtower
|
|
84
|
+
*
|
|
85
|
+
* @export
|
|
86
|
+
* @class LiveGuardGetAuditChains
|
|
87
|
+
* @implements {EvaService}
|
|
88
|
+
*/
|
|
89
|
+
class LiveGuardGetAuditChains {
|
|
90
|
+
constructor() {
|
|
91
|
+
this.name = 'CoreLiveGuard:LiveGuardGetAuditChains';
|
|
92
|
+
this.path = '/message/LiveGuardGetAuditChains';
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
CoreLiveGuard.LiveGuardGetAuditChains = LiveGuardGetAuditChains;
|
|
82
96
|
/**
|
|
83
97
|
* Get an authentication token that's valid in the cloud for the current user
|
|
84
98
|
*
|
|
@@ -89,7 +103,7 @@
|
|
|
89
103
|
class LiveGuardGetCloudToken {
|
|
90
104
|
constructor() {
|
|
91
105
|
this.name = 'CoreLiveGuard:LiveGuardGetCloudToken';
|
|
92
|
-
this.path = '/
|
|
106
|
+
this.path = '/message/LiveGuardGetCloudToken';
|
|
93
107
|
}
|
|
94
108
|
}
|
|
95
109
|
CoreLiveGuard.LiveGuardGetCloudToken = LiveGuardGetCloudToken;
|
|
@@ -103,7 +117,7 @@
|
|
|
103
117
|
class LiveGuardGetInformation {
|
|
104
118
|
constructor() {
|
|
105
119
|
this.name = 'CoreLiveGuard:LiveGuardGetInformation';
|
|
106
|
-
this.path = '/
|
|
120
|
+
this.path = '/message/LiveGuardGetInformation';
|
|
107
121
|
}
|
|
108
122
|
}
|
|
109
123
|
CoreLiveGuard.LiveGuardGetInformation = LiveGuardGetInformation;
|
|
@@ -117,7 +131,7 @@
|
|
|
117
131
|
class LiveGuardGetMapping {
|
|
118
132
|
constructor() {
|
|
119
133
|
this.name = 'CoreLiveGuard:LiveGuardGetMapping';
|
|
120
|
-
this.path = '/
|
|
134
|
+
this.path = '/message/LiveGuardGetMapping';
|
|
121
135
|
}
|
|
122
136
|
}
|
|
123
137
|
CoreLiveGuard.LiveGuardGetMapping = LiveGuardGetMapping;
|
|
@@ -131,7 +145,7 @@
|
|
|
131
145
|
class LiveGuardGetStatus {
|
|
132
146
|
constructor() {
|
|
133
147
|
this.name = 'CoreLiveGuard:LiveGuardGetStatus';
|
|
134
|
-
this.path = '/
|
|
148
|
+
this.path = '/message/LiveGuardGetStatus';
|
|
135
149
|
}
|
|
136
150
|
}
|
|
137
151
|
CoreLiveGuard.LiveGuardGetStatus = LiveGuardGetStatus;
|
|
@@ -145,7 +159,7 @@
|
|
|
145
159
|
class LiveGuardGetTOTPSecret {
|
|
146
160
|
constructor() {
|
|
147
161
|
this.name = 'CoreLiveGuard:LiveGuardGetTOTPSecret';
|
|
148
|
-
this.path = '/
|
|
162
|
+
this.path = '/message/LiveGuardGetTOTPSecret';
|
|
149
163
|
}
|
|
150
164
|
}
|
|
151
165
|
CoreLiveGuard.LiveGuardGetTOTPSecret = LiveGuardGetTOTPSecret;
|
|
@@ -161,7 +175,7 @@
|
|
|
161
175
|
class LiveGuardGetTokenForUser {
|
|
162
176
|
constructor() {
|
|
163
177
|
this.name = 'CoreLiveGuard:LiveGuardGetTokenForUser';
|
|
164
|
-
this.path = '/
|
|
178
|
+
this.path = '/message/LiveGuardGetTokenForUser';
|
|
165
179
|
}
|
|
166
180
|
}
|
|
167
181
|
CoreLiveGuard.LiveGuardGetTokenForUser = LiveGuardGetTokenForUser;
|
|
@@ -175,7 +189,7 @@
|
|
|
175
189
|
class LiveGuardGetUser {
|
|
176
190
|
constructor() {
|
|
177
191
|
this.name = 'CoreLiveGuard:LiveGuardGetUser';
|
|
178
|
-
this.path = '/
|
|
192
|
+
this.path = '/message/LiveGuardGetUser';
|
|
179
193
|
}
|
|
180
194
|
}
|
|
181
195
|
CoreLiveGuard.LiveGuardGetUser = LiveGuardGetUser;
|
|
@@ -189,7 +203,7 @@
|
|
|
189
203
|
class LiveGuardPushOrder {
|
|
190
204
|
constructor() {
|
|
191
205
|
this.name = 'CoreLiveGuard:LiveGuardPushOrder';
|
|
192
|
-
this.path = '/
|
|
206
|
+
this.path = '/message/LiveGuardPushOrder';
|
|
193
207
|
}
|
|
194
208
|
}
|
|
195
209
|
CoreLiveGuard.LiveGuardPushOrder = LiveGuardPushOrder;
|
|
@@ -205,7 +219,7 @@
|
|
|
205
219
|
class LiveGuardSetStatus {
|
|
206
220
|
constructor() {
|
|
207
221
|
this.name = 'CoreLiveGuard:LiveGuardSetStatus';
|
|
208
|
-
this.path = '/
|
|
222
|
+
this.path = '/message/LiveGuardSetStatus';
|
|
209
223
|
}
|
|
210
224
|
}
|
|
211
225
|
CoreLiveGuard.LiveGuardSetStatus = LiveGuardSetStatus;
|
|
@@ -219,7 +233,7 @@
|
|
|
219
233
|
class LiveGuardSyncCatalogByBlob {
|
|
220
234
|
constructor() {
|
|
221
235
|
this.name = 'CoreLiveGuard:LiveGuardSyncCatalogByBlob';
|
|
222
|
-
this.path = '/
|
|
236
|
+
this.path = '/message/LiveGuardSyncCatalogByBlob';
|
|
223
237
|
}
|
|
224
238
|
}
|
|
225
239
|
CoreLiveGuard.LiveGuardSyncCatalogByBlob = LiveGuardSyncCatalogByBlob;
|
|
@@ -233,7 +247,7 @@
|
|
|
233
247
|
class LiveGuardSyncGeneralByBlob {
|
|
234
248
|
constructor() {
|
|
235
249
|
this.name = 'CoreLiveGuard:LiveGuardSyncGeneralByBlob';
|
|
236
|
-
this.path = '/
|
|
250
|
+
this.path = '/message/LiveGuardSyncGeneralByBlob';
|
|
237
251
|
}
|
|
238
252
|
}
|
|
239
253
|
CoreLiveGuard.LiveGuardSyncGeneralByBlob = LiveGuardSyncGeneralByBlob;
|
|
@@ -247,7 +261,7 @@
|
|
|
247
261
|
class LiveGuardSyncUsersByBlob {
|
|
248
262
|
constructor() {
|
|
249
263
|
this.name = 'CoreLiveGuard:LiveGuardSyncUsersByBlob';
|
|
250
|
-
this.path = '/
|
|
264
|
+
this.path = '/message/LiveGuardSyncUsersByBlob';
|
|
251
265
|
}
|
|
252
266
|
}
|
|
253
267
|
CoreLiveGuard.LiveGuardSyncUsersByBlob = LiveGuardSyncUsersByBlob;
|
|
@@ -261,10 +275,24 @@
|
|
|
261
275
|
class LiveGuardTriggerSync {
|
|
262
276
|
constructor() {
|
|
263
277
|
this.name = 'CoreLiveGuard:LiveGuardTriggerSync';
|
|
264
|
-
this.path = '/
|
|
278
|
+
this.path = '/message/LiveGuardTriggerSync';
|
|
265
279
|
}
|
|
266
280
|
}
|
|
267
281
|
CoreLiveGuard.LiveGuardTriggerSync = LiveGuardTriggerSync;
|
|
282
|
+
/**
|
|
283
|
+
* Push the current configuration for the given device to mender
|
|
284
|
+
*
|
|
285
|
+
* @export
|
|
286
|
+
* @class PushWatchtowerConfigurationToDevice
|
|
287
|
+
* @implements {EvaService}
|
|
288
|
+
*/
|
|
289
|
+
class PushWatchtowerConfigurationToDevice {
|
|
290
|
+
constructor() {
|
|
291
|
+
this.name = 'CoreLiveGuard:PushWatchtowerConfigurationToDevice';
|
|
292
|
+
this.path = '/message/PushWatchtowerConfigurationToDevice';
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
CoreLiveGuard.PushWatchtowerConfigurationToDevice = PushWatchtowerConfigurationToDevice;
|
|
268
296
|
/**
|
|
269
297
|
* Execute a command on a device
|
|
270
298
|
*
|
|
@@ -275,7 +303,7 @@
|
|
|
275
303
|
class WatchtowerExecuteCommand {
|
|
276
304
|
constructor() {
|
|
277
305
|
this.name = 'CoreLiveGuard:WatchtowerExecuteCommand';
|
|
278
|
-
this.path = '/
|
|
306
|
+
this.path = '/message/WatchtowerExecuteCommand';
|
|
279
307
|
}
|
|
280
308
|
}
|
|
281
309
|
CoreLiveGuard.WatchtowerExecuteCommand = WatchtowerExecuteCommand;
|
|
@@ -292,7 +320,7 @@
|
|
|
292
320
|
class WatchtowerGetDeviceByHardwareID {
|
|
293
321
|
constructor() {
|
|
294
322
|
this.name = 'CoreLiveGuard:WatchtowerGetDeviceByHardwareID';
|
|
295
|
-
this.path = '/
|
|
323
|
+
this.path = '/message/WatchtowerGetDeviceByHardwareID';
|
|
296
324
|
}
|
|
297
325
|
}
|
|
298
326
|
CoreLiveGuard.WatchtowerGetDeviceByHardwareID = WatchtowerGetDeviceByHardwareID;
|
|
@@ -306,7 +334,7 @@
|
|
|
306
334
|
class WatchtowerGetDeviceDetails {
|
|
307
335
|
constructor() {
|
|
308
336
|
this.name = 'CoreLiveGuard:WatchtowerGetDeviceDetails';
|
|
309
|
-
this.path = '/
|
|
337
|
+
this.path = '/message/WatchtowerGetDeviceDetails';
|
|
310
338
|
}
|
|
311
339
|
}
|
|
312
340
|
CoreLiveGuard.WatchtowerGetDeviceDetails = WatchtowerGetDeviceDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eva-services-core-live-guard.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eva-services-core-live-guard.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@springtree/eva-services-core-live-guard",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "The EVA service repository for EVA.Core.LiveGuard",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "SpringTree <info@springtree.nl>",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@springtree/eva-services-core": "^1.0.0"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "8583b84e3b8ae3f3d9ff3adc27d6db31aefd8e70"
|
|
37
37
|
}
|