@springtree/eva-services-core-live-guard 1.1.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/CHANGELOG.md +11 -0
- package/LICENSE +5 -0
- package/README.md +6 -0
- package/lib/EVA.Core.LiveGuard.Services.d.ts +216 -0
- package/lib/EVA.Core.LiveGuard.Services.d.ts.map +1 -0
- package/lib/EVA.Core.LiveGuard.Services.js +232 -0
- package/lib/EVA.Core.LiveGuard.Services.js.map +1 -0
- package/lib/eva-services-core-live-guard.d.ts +5 -0
- package/lib/eva-services-core-live-guard.d.ts.map +1 -0
- package/lib/eva-services-core-live-guard.es5.js +234 -0
- package/lib/eva-services-core-live-guard.es5.js.map +1 -0
- package/lib/eva-services-core-live-guard.js +5 -0
- package/lib/eva-services-core-live-guard.js.map +1 -0
- package/lib/eva-services-core-live-guard.umd.js +242 -0
- package/lib/eva-services-core-live-guard.umd.js.map +1 -0
- package/package.json +37 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# 1.1.0 (2023-01-16)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **typings:** update to latest ([8d0fb9c](https://github.com/springtreesolutions/eva-sdk-repo/commit/8d0fb9ca35e67945be6507de57ce18f1272d8376))
|
package/LICENSE
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
Copyright 2019 SpringTree Solutions <info@springtree.nl>
|
|
2
|
+
|
|
3
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
|
4
|
+
|
|
5
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# `@springtree/eva-services-core-live-guard`
|
|
2
|
+
|
|
3
|
+
The EVA.Core.LiveGuard service repository for the EVA platform.
|
|
4
|
+
These services will be required for all client applications.
|
|
5
|
+
They can be used together with the `EvaService` class provided by `@springtree/eva-sdk-core-service`.
|
|
6
|
+
See `@springtree/eva-services-core` for usage instructions.
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { IEvaServiceDefinition } from '@springtree/eva-services-core';
|
|
2
|
+
export declare namespace CoreLiveGuard {
|
|
3
|
+
/**
|
|
4
|
+
* TODO: Needs documentation
|
|
5
|
+
*
|
|
6
|
+
* @export
|
|
7
|
+
* @class EVAStatus
|
|
8
|
+
* @implements {EvaService}
|
|
9
|
+
*/
|
|
10
|
+
class EVAStatus implements IEvaServiceDefinition {
|
|
11
|
+
name: string;
|
|
12
|
+
path: string;
|
|
13
|
+
request?: EVA.Core.LiveGuard.EVAStatus;
|
|
14
|
+
response?: EVA.Core.LiveGuard.EVAStatusResponse;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Get user information to sync to LiveGuard
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @class GetUserForLiveGuard
|
|
21
|
+
* @implements {EvaService}
|
|
22
|
+
*/
|
|
23
|
+
class GetUserForLiveGuard implements IEvaServiceDefinition {
|
|
24
|
+
name: string;
|
|
25
|
+
path: string;
|
|
26
|
+
request?: EVA.Core.LiveGuard.GetUserForLiveGuard;
|
|
27
|
+
response?: EVA.Core.LiveGuard.GetUserForLiveGuardResponse;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* TODO: Needs documentation
|
|
31
|
+
*
|
|
32
|
+
* @export
|
|
33
|
+
* @class LiveGuardGenerateApiKey
|
|
34
|
+
* @implements {EvaService}
|
|
35
|
+
*/
|
|
36
|
+
class LiveGuardGenerateApiKey implements IEvaServiceDefinition {
|
|
37
|
+
name: string;
|
|
38
|
+
path: string;
|
|
39
|
+
request?: EVA.Core.LiveGuard.LiveGuardGenerateApiKey;
|
|
40
|
+
response?: EVA.Core.LiveGuard.LiveGuardGenerateApiKeyResponse;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Get an authentication token that's valid in the cloud for the current user
|
|
44
|
+
*
|
|
45
|
+
* @export
|
|
46
|
+
* @class LiveGuardGetCloudToken
|
|
47
|
+
* @implements {EvaService}
|
|
48
|
+
*/
|
|
49
|
+
class LiveGuardGetCloudToken implements IEvaServiceDefinition {
|
|
50
|
+
name: string;
|
|
51
|
+
path: string;
|
|
52
|
+
request?: EVA.Core.LiveGuard.LiveGuardGetCloudToken;
|
|
53
|
+
response?: EVA.Core.LiveGuard.LiveGuardGetCloudTokenResponse;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Returns some basic information about the current state of the liveGuard
|
|
57
|
+
*
|
|
58
|
+
* @export
|
|
59
|
+
* @class LiveGuardGetInformation
|
|
60
|
+
* @implements {EvaService}
|
|
61
|
+
*/
|
|
62
|
+
class LiveGuardGetInformation implements IEvaServiceDefinition {
|
|
63
|
+
name: string;
|
|
64
|
+
path: string;
|
|
65
|
+
request?: EVA.Core.LiveGuard.LiveGuardGetInformation;
|
|
66
|
+
response?: EVA.Core.LiveGuard.LiveGuardGetInformationResponse;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Returns id mapping for cloud vs liveguard entities
|
|
70
|
+
*
|
|
71
|
+
* @export
|
|
72
|
+
* @class LiveGuardGetMapping
|
|
73
|
+
* @implements {EvaService}
|
|
74
|
+
*/
|
|
75
|
+
class LiveGuardGetMapping implements IEvaServiceDefinition {
|
|
76
|
+
name: string;
|
|
77
|
+
path: string;
|
|
78
|
+
request?: EVA.Core.LiveGuard.LiveGuardGetMapping;
|
|
79
|
+
response?: EVA.Core.LiveGuard.LiveGuardGetMappingResponse;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* This service returns the operational flags for a liveguard instance.
|
|
83
|
+
*
|
|
84
|
+
* @export
|
|
85
|
+
* @class LiveGuardGetStatus
|
|
86
|
+
* @implements {EvaService}
|
|
87
|
+
*/
|
|
88
|
+
class LiveGuardGetStatus implements IEvaServiceDefinition {
|
|
89
|
+
name: string;
|
|
90
|
+
path: string;
|
|
91
|
+
request?: EVA.Core.LiveGuard.LiveGuardGetStatus;
|
|
92
|
+
response?: EVA.Core.LiveGuard.LiveGuardGetStatusResponse;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Service called by a liveguard instance to generate an authentication token for an authorized user on the liveguard
|
|
96
|
+
|
|
97
|
+
Can only be called by the liveguard user
|
|
98
|
+
*
|
|
99
|
+
* @export
|
|
100
|
+
* @class LiveGuardGetTokenForUser
|
|
101
|
+
* @implements {EvaService}
|
|
102
|
+
*/
|
|
103
|
+
class LiveGuardGetTokenForUser implements IEvaServiceDefinition {
|
|
104
|
+
name: string;
|
|
105
|
+
path: string;
|
|
106
|
+
request?: EVA.Core.LiveGuard.LiveGuardGetTokenForUser;
|
|
107
|
+
response?: EVA.Core.LiveGuard.LiveGuardGetTokenForUserResponse;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* TODO: Needs documentation
|
|
111
|
+
*
|
|
112
|
+
* @export
|
|
113
|
+
* @class LiveGuardGetUser
|
|
114
|
+
* @implements {EvaService}
|
|
115
|
+
*/
|
|
116
|
+
class LiveGuardGetUser implements IEvaServiceDefinition {
|
|
117
|
+
name: string;
|
|
118
|
+
path: string;
|
|
119
|
+
request?: EVA.Core.LiveGuard.LiveGuardGetUser;
|
|
120
|
+
response?: EVA.Core.LiveGuard.LiveGuardGetUserResponse;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Accepts an Order pushed from a LiveGuard instance
|
|
124
|
+
*
|
|
125
|
+
* @export
|
|
126
|
+
* @class LiveGuardPushOrder
|
|
127
|
+
* @implements {EvaService}
|
|
128
|
+
*/
|
|
129
|
+
class LiveGuardPushOrder implements IEvaServiceDefinition {
|
|
130
|
+
name: string;
|
|
131
|
+
path: string;
|
|
132
|
+
request?: EVA.Core.LiveGuard.LiveGuardPushOrder;
|
|
133
|
+
response?: EVA.Core.LiveGuard.LiveGuardPushOrderResponse;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* This service overrides the operational flags for a liveguard instance.
|
|
137
|
+
|
|
138
|
+
This should never be used in production environments. This is used to mimick offline scenario's in liveguard deployments in the cloud.
|
|
139
|
+
*
|
|
140
|
+
* @export
|
|
141
|
+
* @class LiveGuardSetStatus
|
|
142
|
+
* @implements {EvaService}
|
|
143
|
+
*/
|
|
144
|
+
class LiveGuardSetStatus implements IEvaServiceDefinition {
|
|
145
|
+
name: string;
|
|
146
|
+
path: string;
|
|
147
|
+
request?: EVA.Core.LiveGuard.LiveGuardSetStatus;
|
|
148
|
+
response?: EVA.Core.EmptyResponseMessage;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Stores some authentication data used on the devices in store. This is only stored on the liveguard, so always scoped to a single store. The hash provided should be unique for the store.
|
|
152
|
+
*
|
|
153
|
+
* @export
|
|
154
|
+
* @class LiveGuardStoreLocalAuthenticationData
|
|
155
|
+
* @implements {EvaService}
|
|
156
|
+
*/
|
|
157
|
+
class LiveGuardStoreLocalAuthenticationData implements IEvaServiceDefinition {
|
|
158
|
+
name: string;
|
|
159
|
+
path: string;
|
|
160
|
+
request?: EVA.Core.LiveGuard.LiveGuardStoreLocalAuthenticationData;
|
|
161
|
+
response?: EVA.Core.EmptyResponseMessage;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* TODO: Needs documentation
|
|
165
|
+
*
|
|
166
|
+
* @export
|
|
167
|
+
* @class LiveGuardSyncCatalogByBlob
|
|
168
|
+
* @implements {EvaService}
|
|
169
|
+
*/
|
|
170
|
+
class LiveGuardSyncCatalogByBlob implements IEvaServiceDefinition {
|
|
171
|
+
name: string;
|
|
172
|
+
path: string;
|
|
173
|
+
request?: EVA.Core.LiveGuard.LiveGuardSyncCatalogByBlob;
|
|
174
|
+
response?: EVA.Core.LiveGuard.LiveGuardSyncCatalogByBlobResponse;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* TODO: Needs documentation
|
|
178
|
+
*
|
|
179
|
+
* @export
|
|
180
|
+
* @class LiveGuardSyncGeneralByBlob
|
|
181
|
+
* @implements {EvaService}
|
|
182
|
+
*/
|
|
183
|
+
class LiveGuardSyncGeneralByBlob implements IEvaServiceDefinition {
|
|
184
|
+
name: string;
|
|
185
|
+
path: string;
|
|
186
|
+
request?: EVA.Core.LiveGuard.LiveGuardSyncGeneralByBlob;
|
|
187
|
+
response?: EVA.Core.LiveGuard.LiveGuardSyncGeneralByBlobResponse;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* TODO: Needs documentation
|
|
191
|
+
*
|
|
192
|
+
* @export
|
|
193
|
+
* @class LiveGuardSyncUsersByBlob
|
|
194
|
+
* @implements {EvaService}
|
|
195
|
+
*/
|
|
196
|
+
class LiveGuardSyncUsersByBlob implements IEvaServiceDefinition {
|
|
197
|
+
name: string;
|
|
198
|
+
path: string;
|
|
199
|
+
request?: EVA.Core.LiveGuard.LiveGuardSyncUsersByBlob;
|
|
200
|
+
response?: EVA.Core.LiveGuard.LiveGuardSyncUsersByBlobResponse;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Trigger a full sync on a liveguard instance, this has major performance impact for a while
|
|
204
|
+
*
|
|
205
|
+
* @export
|
|
206
|
+
* @class LiveGuardTriggerSync
|
|
207
|
+
* @implements {EvaService}
|
|
208
|
+
*/
|
|
209
|
+
class LiveGuardTriggerSync implements IEvaServiceDefinition {
|
|
210
|
+
name: string;
|
|
211
|
+
path: string;
|
|
212
|
+
request?: EVA.Core.LiveGuard.LiveGuardTriggerSync;
|
|
213
|
+
response?: EVA.Core.EmptyResponseMessage;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
//# sourceMappingURL=EVA.Core.LiveGuard.Services.d.ts.map
|
|
@@ -0,0 +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;;;;;;OAMG;IACH,MAAa,SAAU,YAAW,qBAAqB;QACrD,IAAI,SAA6B;QACjC,IAAI,SAAmC;QACvC,OAAO,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC;QACvC,QAAQ,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,iBAAiB,CAAC;KACjD;IAED;;;;;;OAMG;IACH,MAAa,mBAAoB,YAAW,qBAAqB;QAC/D,IAAI,SAAuC;QAC3C,IAAI,SAA6C;QACjD,OAAO,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC;QACjD,QAAQ,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,2BAA2B,CAAC;KAC3D;IAED;;;;;;OAMG;IACH,MAAa,uBAAwB,YAAW,qBAAqB;QACnE,IAAI,SAA2C;QAC/C,IAAI,SAAiD;QACrD,OAAO,CAAC,EAAE,GAAG,CAAC,IAAI,C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C,SAAS,CAAC,0BAA0B,CAAC;QACxD,QAAQ,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,kCAAkC,CAAC;KAClE;IAED;;;;;;OAMG;IACH,MAAa,0BAA2B,YAAW,qBAAqB;QACtE,IAAI,SAA8C;QAClD,IAAI,SAAoD;QACxD,OAAO,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,0BAA0B,CAAC;QACxD,QAAQ,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,kCAAkC,CAAC;KAClE;IAED;;;;;;OAMG;IACH,MAAa,wBAAyB,YAAW,qBAAqB;QACpE,IAAI,SAA4C;QAChD,IAAI,SAAkD;QACtD,OAAO,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,wBAAwB,CAAC;QACtD,QAAQ,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,gCAAgC,CAAC;KAChE;IAED;;;;;;OAMG;IACH,MAAa,oBAAqB,YAAW,qBAAqB;QAChE,IAAI,SAAwC;QAC5C,IAAI,SAA8C;QAClD,OAAO,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC;QAClD,QAAQ,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,oBAAoB,CAAC;KAC1C;CACF"}
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
export var CoreLiveGuard;
|
|
2
|
+
(function (CoreLiveGuard) {
|
|
3
|
+
/**
|
|
4
|
+
* TODO: Needs documentation
|
|
5
|
+
*
|
|
6
|
+
* @export
|
|
7
|
+
* @class EVAStatus
|
|
8
|
+
* @implements {EvaService}
|
|
9
|
+
*/
|
|
10
|
+
class EVAStatus {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.name = 'CoreLiveGuard:EVAStatus';
|
|
13
|
+
this.path = '/api/core/liveguard/EVAStatus';
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
CoreLiveGuard.EVAStatus = EVAStatus;
|
|
17
|
+
/**
|
|
18
|
+
* Get user information to sync to LiveGuard
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @class GetUserForLiveGuard
|
|
22
|
+
* @implements {EvaService}
|
|
23
|
+
*/
|
|
24
|
+
class GetUserForLiveGuard {
|
|
25
|
+
constructor() {
|
|
26
|
+
this.name = 'CoreLiveGuard:GetUserForLiveGuard';
|
|
27
|
+
this.path = '/api/core/liveguard/GetUserForLiveGuard';
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
CoreLiveGuard.GetUserForLiveGuard = GetUserForLiveGuard;
|
|
31
|
+
/**
|
|
32
|
+
* TODO: Needs documentation
|
|
33
|
+
*
|
|
34
|
+
* @export
|
|
35
|
+
* @class LiveGuardGenerateApiKey
|
|
36
|
+
* @implements {EvaService}
|
|
37
|
+
*/
|
|
38
|
+
class LiveGuardGenerateApiKey {
|
|
39
|
+
constructor() {
|
|
40
|
+
this.name = 'CoreLiveGuard:LiveGuardGenerateApiKey';
|
|
41
|
+
this.path = '/api/core/liveguard/LiveGuardGenerateApiKey';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
CoreLiveGuard.LiveGuardGenerateApiKey = LiveGuardGenerateApiKey;
|
|
45
|
+
/**
|
|
46
|
+
* Get an authentication token that's valid in the cloud for the current user
|
|
47
|
+
*
|
|
48
|
+
* @export
|
|
49
|
+
* @class LiveGuardGetCloudToken
|
|
50
|
+
* @implements {EvaService}
|
|
51
|
+
*/
|
|
52
|
+
class LiveGuardGetCloudToken {
|
|
53
|
+
constructor() {
|
|
54
|
+
this.name = 'CoreLiveGuard:LiveGuardGetCloudToken';
|
|
55
|
+
this.path = '/api/core/liveguard/LiveGuardGetCloudToken';
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
CoreLiveGuard.LiveGuardGetCloudToken = LiveGuardGetCloudToken;
|
|
59
|
+
/**
|
|
60
|
+
* Returns some basic information about the current state of the liveGuard
|
|
61
|
+
*
|
|
62
|
+
* @export
|
|
63
|
+
* @class LiveGuardGetInformation
|
|
64
|
+
* @implements {EvaService}
|
|
65
|
+
*/
|
|
66
|
+
class LiveGuardGetInformation {
|
|
67
|
+
constructor() {
|
|
68
|
+
this.name = 'CoreLiveGuard:LiveGuardGetInformation';
|
|
69
|
+
this.path = '/api/core/liveguard/LiveGuardGetInformation';
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
CoreLiveGuard.LiveGuardGetInformation = LiveGuardGetInformation;
|
|
73
|
+
/**
|
|
74
|
+
* Returns id mapping for cloud vs liveguard entities
|
|
75
|
+
*
|
|
76
|
+
* @export
|
|
77
|
+
* @class LiveGuardGetMapping
|
|
78
|
+
* @implements {EvaService}
|
|
79
|
+
*/
|
|
80
|
+
class LiveGuardGetMapping {
|
|
81
|
+
constructor() {
|
|
82
|
+
this.name = 'CoreLiveGuard:LiveGuardGetMapping';
|
|
83
|
+
this.path = '/api/core/liveguard/LiveGuardGetMapping';
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
CoreLiveGuard.LiveGuardGetMapping = LiveGuardGetMapping;
|
|
87
|
+
/**
|
|
88
|
+
* This service returns the operational flags for a liveguard instance.
|
|
89
|
+
*
|
|
90
|
+
* @export
|
|
91
|
+
* @class LiveGuardGetStatus
|
|
92
|
+
* @implements {EvaService}
|
|
93
|
+
*/
|
|
94
|
+
class LiveGuardGetStatus {
|
|
95
|
+
constructor() {
|
|
96
|
+
this.name = 'CoreLiveGuard:LiveGuardGetStatus';
|
|
97
|
+
this.path = '/api/core/liveguard/LiveGuardGetStatus';
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
CoreLiveGuard.LiveGuardGetStatus = LiveGuardGetStatus;
|
|
101
|
+
/**
|
|
102
|
+
* Service called by a liveguard instance to generate an authentication token for an authorized user on the liveguard
|
|
103
|
+
|
|
104
|
+
Can only be called by the liveguard user
|
|
105
|
+
*
|
|
106
|
+
* @export
|
|
107
|
+
* @class LiveGuardGetTokenForUser
|
|
108
|
+
* @implements {EvaService}
|
|
109
|
+
*/
|
|
110
|
+
class LiveGuardGetTokenForUser {
|
|
111
|
+
constructor() {
|
|
112
|
+
this.name = 'CoreLiveGuard:LiveGuardGetTokenForUser';
|
|
113
|
+
this.path = '/api/core/liveguard/LiveGuardGetTokenForUser';
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
CoreLiveGuard.LiveGuardGetTokenForUser = LiveGuardGetTokenForUser;
|
|
117
|
+
/**
|
|
118
|
+
* TODO: Needs documentation
|
|
119
|
+
*
|
|
120
|
+
* @export
|
|
121
|
+
* @class LiveGuardGetUser
|
|
122
|
+
* @implements {EvaService}
|
|
123
|
+
*/
|
|
124
|
+
class LiveGuardGetUser {
|
|
125
|
+
constructor() {
|
|
126
|
+
this.name = 'CoreLiveGuard:LiveGuardGetUser';
|
|
127
|
+
this.path = '/api/core/liveguard/LiveGuardGetUser';
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
CoreLiveGuard.LiveGuardGetUser = LiveGuardGetUser;
|
|
131
|
+
/**
|
|
132
|
+
* Accepts an Order pushed from a LiveGuard instance
|
|
133
|
+
*
|
|
134
|
+
* @export
|
|
135
|
+
* @class LiveGuardPushOrder
|
|
136
|
+
* @implements {EvaService}
|
|
137
|
+
*/
|
|
138
|
+
class LiveGuardPushOrder {
|
|
139
|
+
constructor() {
|
|
140
|
+
this.name = 'CoreLiveGuard:LiveGuardPushOrder';
|
|
141
|
+
this.path = '/api/core/liveguard/LiveGuardPushOrder';
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
CoreLiveGuard.LiveGuardPushOrder = LiveGuardPushOrder;
|
|
145
|
+
/**
|
|
146
|
+
* This service overrides the operational flags for a liveguard instance.
|
|
147
|
+
|
|
148
|
+
This should never be used in production environments. This is used to mimick offline scenario's in liveguard deployments in the cloud.
|
|
149
|
+
*
|
|
150
|
+
* @export
|
|
151
|
+
* @class LiveGuardSetStatus
|
|
152
|
+
* @implements {EvaService}
|
|
153
|
+
*/
|
|
154
|
+
class LiveGuardSetStatus {
|
|
155
|
+
constructor() {
|
|
156
|
+
this.name = 'CoreLiveGuard:LiveGuardSetStatus';
|
|
157
|
+
this.path = '/api/core/liveguard/LiveGuardSetStatus';
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
CoreLiveGuard.LiveGuardSetStatus = LiveGuardSetStatus;
|
|
161
|
+
/**
|
|
162
|
+
* Stores some authentication data used on the devices in store. This is only stored on the liveguard, so always scoped to a single store. The hash provided should be unique for the store.
|
|
163
|
+
*
|
|
164
|
+
* @export
|
|
165
|
+
* @class LiveGuardStoreLocalAuthenticationData
|
|
166
|
+
* @implements {EvaService}
|
|
167
|
+
*/
|
|
168
|
+
class LiveGuardStoreLocalAuthenticationData {
|
|
169
|
+
constructor() {
|
|
170
|
+
this.name = 'CoreLiveGuard:LiveGuardStoreLocalAuthenticationData';
|
|
171
|
+
this.path = '/api/core/liveguard/LiveGuardStoreLocalAuthenticationData';
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
CoreLiveGuard.LiveGuardStoreLocalAuthenticationData = LiveGuardStoreLocalAuthenticationData;
|
|
175
|
+
/**
|
|
176
|
+
* TODO: Needs documentation
|
|
177
|
+
*
|
|
178
|
+
* @export
|
|
179
|
+
* @class LiveGuardSyncCatalogByBlob
|
|
180
|
+
* @implements {EvaService}
|
|
181
|
+
*/
|
|
182
|
+
class LiveGuardSyncCatalogByBlob {
|
|
183
|
+
constructor() {
|
|
184
|
+
this.name = 'CoreLiveGuard:LiveGuardSyncCatalogByBlob';
|
|
185
|
+
this.path = '/api/core/liveguard/LiveGuardSyncCatalogByBlob';
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
CoreLiveGuard.LiveGuardSyncCatalogByBlob = LiveGuardSyncCatalogByBlob;
|
|
189
|
+
/**
|
|
190
|
+
* TODO: Needs documentation
|
|
191
|
+
*
|
|
192
|
+
* @export
|
|
193
|
+
* @class LiveGuardSyncGeneralByBlob
|
|
194
|
+
* @implements {EvaService}
|
|
195
|
+
*/
|
|
196
|
+
class LiveGuardSyncGeneralByBlob {
|
|
197
|
+
constructor() {
|
|
198
|
+
this.name = 'CoreLiveGuard:LiveGuardSyncGeneralByBlob';
|
|
199
|
+
this.path = '/api/core/liveguard/LiveGuardSyncGeneralByBlob';
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
CoreLiveGuard.LiveGuardSyncGeneralByBlob = LiveGuardSyncGeneralByBlob;
|
|
203
|
+
/**
|
|
204
|
+
* TODO: Needs documentation
|
|
205
|
+
*
|
|
206
|
+
* @export
|
|
207
|
+
* @class LiveGuardSyncUsersByBlob
|
|
208
|
+
* @implements {EvaService}
|
|
209
|
+
*/
|
|
210
|
+
class LiveGuardSyncUsersByBlob {
|
|
211
|
+
constructor() {
|
|
212
|
+
this.name = 'CoreLiveGuard:LiveGuardSyncUsersByBlob';
|
|
213
|
+
this.path = '/api/core/liveguard/LiveGuardSyncUsersByBlob';
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
CoreLiveGuard.LiveGuardSyncUsersByBlob = LiveGuardSyncUsersByBlob;
|
|
217
|
+
/**
|
|
218
|
+
* Trigger a full sync on a liveguard instance, this has major performance impact for a while
|
|
219
|
+
*
|
|
220
|
+
* @export
|
|
221
|
+
* @class LiveGuardTriggerSync
|
|
222
|
+
* @implements {EvaService}
|
|
223
|
+
*/
|
|
224
|
+
class LiveGuardTriggerSync {
|
|
225
|
+
constructor() {
|
|
226
|
+
this.name = 'CoreLiveGuard:LiveGuardTriggerSync';
|
|
227
|
+
this.path = '/api/core/liveguard/LiveGuardTriggerSync';
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
CoreLiveGuard.LiveGuardTriggerSync = LiveGuardTriggerSync;
|
|
231
|
+
})(CoreLiveGuard || (CoreLiveGuard = {}));
|
|
232
|
+
//# sourceMappingURL=EVA.Core.LiveGuard.Services.js.map
|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KAAA;IALY,sCAAwB,2BAKpC,CAAA;IAED;;;;;;OAMG;IACH,MAAa,oBAAoB;QAAjC;YACE,SAAI,GAAG,oCAAoC,CAAC;YAC5C,SAAI,GAAG,0CAA0C,CAAC;QAGpD,CAAC;KAAA;IALY,kCAAoB,uBAKhC,CAAA;AACH,CAAC,EArOgB,aAAa,KAAb,aAAa,QAqO7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eva-services-core-live-guard.d.ts","sourceRoot":"","sources":["../src/eva-services-core-live-guard.ts"],"names":[],"mappings":"AAAA;;EAEE;AACF,cAAc,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
var CoreLiveGuard;
|
|
2
|
+
(function (CoreLiveGuard) {
|
|
3
|
+
/**
|
|
4
|
+
* TODO: Needs documentation
|
|
5
|
+
*
|
|
6
|
+
* @export
|
|
7
|
+
* @class EVAStatus
|
|
8
|
+
* @implements {EvaService}
|
|
9
|
+
*/
|
|
10
|
+
class EVAStatus {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.name = 'CoreLiveGuard:EVAStatus';
|
|
13
|
+
this.path = '/api/core/liveguard/EVAStatus';
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
CoreLiveGuard.EVAStatus = EVAStatus;
|
|
17
|
+
/**
|
|
18
|
+
* Get user information to sync to LiveGuard
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @class GetUserForLiveGuard
|
|
22
|
+
* @implements {EvaService}
|
|
23
|
+
*/
|
|
24
|
+
class GetUserForLiveGuard {
|
|
25
|
+
constructor() {
|
|
26
|
+
this.name = 'CoreLiveGuard:GetUserForLiveGuard';
|
|
27
|
+
this.path = '/api/core/liveguard/GetUserForLiveGuard';
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
CoreLiveGuard.GetUserForLiveGuard = GetUserForLiveGuard;
|
|
31
|
+
/**
|
|
32
|
+
* TODO: Needs documentation
|
|
33
|
+
*
|
|
34
|
+
* @export
|
|
35
|
+
* @class LiveGuardGenerateApiKey
|
|
36
|
+
* @implements {EvaService}
|
|
37
|
+
*/
|
|
38
|
+
class LiveGuardGenerateApiKey {
|
|
39
|
+
constructor() {
|
|
40
|
+
this.name = 'CoreLiveGuard:LiveGuardGenerateApiKey';
|
|
41
|
+
this.path = '/api/core/liveguard/LiveGuardGenerateApiKey';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
CoreLiveGuard.LiveGuardGenerateApiKey = LiveGuardGenerateApiKey;
|
|
45
|
+
/**
|
|
46
|
+
* Get an authentication token that's valid in the cloud for the current user
|
|
47
|
+
*
|
|
48
|
+
* @export
|
|
49
|
+
* @class LiveGuardGetCloudToken
|
|
50
|
+
* @implements {EvaService}
|
|
51
|
+
*/
|
|
52
|
+
class LiveGuardGetCloudToken {
|
|
53
|
+
constructor() {
|
|
54
|
+
this.name = 'CoreLiveGuard:LiveGuardGetCloudToken';
|
|
55
|
+
this.path = '/api/core/liveguard/LiveGuardGetCloudToken';
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
CoreLiveGuard.LiveGuardGetCloudToken = LiveGuardGetCloudToken;
|
|
59
|
+
/**
|
|
60
|
+
* Returns some basic information about the current state of the liveGuard
|
|
61
|
+
*
|
|
62
|
+
* @export
|
|
63
|
+
* @class LiveGuardGetInformation
|
|
64
|
+
* @implements {EvaService}
|
|
65
|
+
*/
|
|
66
|
+
class LiveGuardGetInformation {
|
|
67
|
+
constructor() {
|
|
68
|
+
this.name = 'CoreLiveGuard:LiveGuardGetInformation';
|
|
69
|
+
this.path = '/api/core/liveguard/LiveGuardGetInformation';
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
CoreLiveGuard.LiveGuardGetInformation = LiveGuardGetInformation;
|
|
73
|
+
/**
|
|
74
|
+
* Returns id mapping for cloud vs liveguard entities
|
|
75
|
+
*
|
|
76
|
+
* @export
|
|
77
|
+
* @class LiveGuardGetMapping
|
|
78
|
+
* @implements {EvaService}
|
|
79
|
+
*/
|
|
80
|
+
class LiveGuardGetMapping {
|
|
81
|
+
constructor() {
|
|
82
|
+
this.name = 'CoreLiveGuard:LiveGuardGetMapping';
|
|
83
|
+
this.path = '/api/core/liveguard/LiveGuardGetMapping';
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
CoreLiveGuard.LiveGuardGetMapping = LiveGuardGetMapping;
|
|
87
|
+
/**
|
|
88
|
+
* This service returns the operational flags for a liveguard instance.
|
|
89
|
+
*
|
|
90
|
+
* @export
|
|
91
|
+
* @class LiveGuardGetStatus
|
|
92
|
+
* @implements {EvaService}
|
|
93
|
+
*/
|
|
94
|
+
class LiveGuardGetStatus {
|
|
95
|
+
constructor() {
|
|
96
|
+
this.name = 'CoreLiveGuard:LiveGuardGetStatus';
|
|
97
|
+
this.path = '/api/core/liveguard/LiveGuardGetStatus';
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
CoreLiveGuard.LiveGuardGetStatus = LiveGuardGetStatus;
|
|
101
|
+
/**
|
|
102
|
+
* Service called by a liveguard instance to generate an authentication token for an authorized user on the liveguard
|
|
103
|
+
|
|
104
|
+
Can only be called by the liveguard user
|
|
105
|
+
*
|
|
106
|
+
* @export
|
|
107
|
+
* @class LiveGuardGetTokenForUser
|
|
108
|
+
* @implements {EvaService}
|
|
109
|
+
*/
|
|
110
|
+
class LiveGuardGetTokenForUser {
|
|
111
|
+
constructor() {
|
|
112
|
+
this.name = 'CoreLiveGuard:LiveGuardGetTokenForUser';
|
|
113
|
+
this.path = '/api/core/liveguard/LiveGuardGetTokenForUser';
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
CoreLiveGuard.LiveGuardGetTokenForUser = LiveGuardGetTokenForUser;
|
|
117
|
+
/**
|
|
118
|
+
* TODO: Needs documentation
|
|
119
|
+
*
|
|
120
|
+
* @export
|
|
121
|
+
* @class LiveGuardGetUser
|
|
122
|
+
* @implements {EvaService}
|
|
123
|
+
*/
|
|
124
|
+
class LiveGuardGetUser {
|
|
125
|
+
constructor() {
|
|
126
|
+
this.name = 'CoreLiveGuard:LiveGuardGetUser';
|
|
127
|
+
this.path = '/api/core/liveguard/LiveGuardGetUser';
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
CoreLiveGuard.LiveGuardGetUser = LiveGuardGetUser;
|
|
131
|
+
/**
|
|
132
|
+
* Accepts an Order pushed from a LiveGuard instance
|
|
133
|
+
*
|
|
134
|
+
* @export
|
|
135
|
+
* @class LiveGuardPushOrder
|
|
136
|
+
* @implements {EvaService}
|
|
137
|
+
*/
|
|
138
|
+
class LiveGuardPushOrder {
|
|
139
|
+
constructor() {
|
|
140
|
+
this.name = 'CoreLiveGuard:LiveGuardPushOrder';
|
|
141
|
+
this.path = '/api/core/liveguard/LiveGuardPushOrder';
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
CoreLiveGuard.LiveGuardPushOrder = LiveGuardPushOrder;
|
|
145
|
+
/**
|
|
146
|
+
* This service overrides the operational flags for a liveguard instance.
|
|
147
|
+
|
|
148
|
+
This should never be used in production environments. This is used to mimick offline scenario's in liveguard deployments in the cloud.
|
|
149
|
+
*
|
|
150
|
+
* @export
|
|
151
|
+
* @class LiveGuardSetStatus
|
|
152
|
+
* @implements {EvaService}
|
|
153
|
+
*/
|
|
154
|
+
class LiveGuardSetStatus {
|
|
155
|
+
constructor() {
|
|
156
|
+
this.name = 'CoreLiveGuard:LiveGuardSetStatus';
|
|
157
|
+
this.path = '/api/core/liveguard/LiveGuardSetStatus';
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
CoreLiveGuard.LiveGuardSetStatus = LiveGuardSetStatus;
|
|
161
|
+
/**
|
|
162
|
+
* Stores some authentication data used on the devices in store. This is only stored on the liveguard, so always scoped to a single store. The hash provided should be unique for the store.
|
|
163
|
+
*
|
|
164
|
+
* @export
|
|
165
|
+
* @class LiveGuardStoreLocalAuthenticationData
|
|
166
|
+
* @implements {EvaService}
|
|
167
|
+
*/
|
|
168
|
+
class LiveGuardStoreLocalAuthenticationData {
|
|
169
|
+
constructor() {
|
|
170
|
+
this.name = 'CoreLiveGuard:LiveGuardStoreLocalAuthenticationData';
|
|
171
|
+
this.path = '/api/core/liveguard/LiveGuardStoreLocalAuthenticationData';
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
CoreLiveGuard.LiveGuardStoreLocalAuthenticationData = LiveGuardStoreLocalAuthenticationData;
|
|
175
|
+
/**
|
|
176
|
+
* TODO: Needs documentation
|
|
177
|
+
*
|
|
178
|
+
* @export
|
|
179
|
+
* @class LiveGuardSyncCatalogByBlob
|
|
180
|
+
* @implements {EvaService}
|
|
181
|
+
*/
|
|
182
|
+
class LiveGuardSyncCatalogByBlob {
|
|
183
|
+
constructor() {
|
|
184
|
+
this.name = 'CoreLiveGuard:LiveGuardSyncCatalogByBlob';
|
|
185
|
+
this.path = '/api/core/liveguard/LiveGuardSyncCatalogByBlob';
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
CoreLiveGuard.LiveGuardSyncCatalogByBlob = LiveGuardSyncCatalogByBlob;
|
|
189
|
+
/**
|
|
190
|
+
* TODO: Needs documentation
|
|
191
|
+
*
|
|
192
|
+
* @export
|
|
193
|
+
* @class LiveGuardSyncGeneralByBlob
|
|
194
|
+
* @implements {EvaService}
|
|
195
|
+
*/
|
|
196
|
+
class LiveGuardSyncGeneralByBlob {
|
|
197
|
+
constructor() {
|
|
198
|
+
this.name = 'CoreLiveGuard:LiveGuardSyncGeneralByBlob';
|
|
199
|
+
this.path = '/api/core/liveguard/LiveGuardSyncGeneralByBlob';
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
CoreLiveGuard.LiveGuardSyncGeneralByBlob = LiveGuardSyncGeneralByBlob;
|
|
203
|
+
/**
|
|
204
|
+
* TODO: Needs documentation
|
|
205
|
+
*
|
|
206
|
+
* @export
|
|
207
|
+
* @class LiveGuardSyncUsersByBlob
|
|
208
|
+
* @implements {EvaService}
|
|
209
|
+
*/
|
|
210
|
+
class LiveGuardSyncUsersByBlob {
|
|
211
|
+
constructor() {
|
|
212
|
+
this.name = 'CoreLiveGuard:LiveGuardSyncUsersByBlob';
|
|
213
|
+
this.path = '/api/core/liveguard/LiveGuardSyncUsersByBlob';
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
CoreLiveGuard.LiveGuardSyncUsersByBlob = LiveGuardSyncUsersByBlob;
|
|
217
|
+
/**
|
|
218
|
+
* Trigger a full sync on a liveguard instance, this has major performance impact for a while
|
|
219
|
+
*
|
|
220
|
+
* @export
|
|
221
|
+
* @class LiveGuardTriggerSync
|
|
222
|
+
* @implements {EvaService}
|
|
223
|
+
*/
|
|
224
|
+
class LiveGuardTriggerSync {
|
|
225
|
+
constructor() {
|
|
226
|
+
this.name = 'CoreLiveGuard:LiveGuardTriggerSync';
|
|
227
|
+
this.path = '/api/core/liveguard/LiveGuardTriggerSync';
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
CoreLiveGuard.LiveGuardTriggerSync = LiveGuardTriggerSync;
|
|
231
|
+
})(CoreLiveGuard || (CoreLiveGuard = {}));
|
|
232
|
+
|
|
233
|
+
export { CoreLiveGuard };
|
|
234
|
+
//# sourceMappingURL=eva-services-core-live-guard.es5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eva-services-core-live-guard.es5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eva-services-core-live-guard.js","sourceRoot":"","sources":["../src/eva-services-core-live-guard.ts"],"names":[],"mappings":"AAAA;;EAEE;AACF,cAAc,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.evaServicesCoreLiveGuard = {}));
|
|
5
|
+
})(this, (function (exports) { 'use strict';
|
|
6
|
+
|
|
7
|
+
exports.CoreLiveGuard = void 0;
|
|
8
|
+
(function (CoreLiveGuard) {
|
|
9
|
+
/**
|
|
10
|
+
* TODO: Needs documentation
|
|
11
|
+
*
|
|
12
|
+
* @export
|
|
13
|
+
* @class EVAStatus
|
|
14
|
+
* @implements {EvaService}
|
|
15
|
+
*/
|
|
16
|
+
class EVAStatus {
|
|
17
|
+
constructor() {
|
|
18
|
+
this.name = 'CoreLiveGuard:EVAStatus';
|
|
19
|
+
this.path = '/api/core/liveguard/EVAStatus';
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
CoreLiveGuard.EVAStatus = EVAStatus;
|
|
23
|
+
/**
|
|
24
|
+
* Get user information to sync to LiveGuard
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @class GetUserForLiveGuard
|
|
28
|
+
* @implements {EvaService}
|
|
29
|
+
*/
|
|
30
|
+
class GetUserForLiveGuard {
|
|
31
|
+
constructor() {
|
|
32
|
+
this.name = 'CoreLiveGuard:GetUserForLiveGuard';
|
|
33
|
+
this.path = '/api/core/liveguard/GetUserForLiveGuard';
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
CoreLiveGuard.GetUserForLiveGuard = GetUserForLiveGuard;
|
|
37
|
+
/**
|
|
38
|
+
* TODO: Needs documentation
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @class LiveGuardGenerateApiKey
|
|
42
|
+
* @implements {EvaService}
|
|
43
|
+
*/
|
|
44
|
+
class LiveGuardGenerateApiKey {
|
|
45
|
+
constructor() {
|
|
46
|
+
this.name = 'CoreLiveGuard:LiveGuardGenerateApiKey';
|
|
47
|
+
this.path = '/api/core/liveguard/LiveGuardGenerateApiKey';
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
CoreLiveGuard.LiveGuardGenerateApiKey = LiveGuardGenerateApiKey;
|
|
51
|
+
/**
|
|
52
|
+
* Get an authentication token that's valid in the cloud for the current user
|
|
53
|
+
*
|
|
54
|
+
* @export
|
|
55
|
+
* @class LiveGuardGetCloudToken
|
|
56
|
+
* @implements {EvaService}
|
|
57
|
+
*/
|
|
58
|
+
class LiveGuardGetCloudToken {
|
|
59
|
+
constructor() {
|
|
60
|
+
this.name = 'CoreLiveGuard:LiveGuardGetCloudToken';
|
|
61
|
+
this.path = '/api/core/liveguard/LiveGuardGetCloudToken';
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
CoreLiveGuard.LiveGuardGetCloudToken = LiveGuardGetCloudToken;
|
|
65
|
+
/**
|
|
66
|
+
* Returns some basic information about the current state of the liveGuard
|
|
67
|
+
*
|
|
68
|
+
* @export
|
|
69
|
+
* @class LiveGuardGetInformation
|
|
70
|
+
* @implements {EvaService}
|
|
71
|
+
*/
|
|
72
|
+
class LiveGuardGetInformation {
|
|
73
|
+
constructor() {
|
|
74
|
+
this.name = 'CoreLiveGuard:LiveGuardGetInformation';
|
|
75
|
+
this.path = '/api/core/liveguard/LiveGuardGetInformation';
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
CoreLiveGuard.LiveGuardGetInformation = LiveGuardGetInformation;
|
|
79
|
+
/**
|
|
80
|
+
* Returns id mapping for cloud vs liveguard entities
|
|
81
|
+
*
|
|
82
|
+
* @export
|
|
83
|
+
* @class LiveGuardGetMapping
|
|
84
|
+
* @implements {EvaService}
|
|
85
|
+
*/
|
|
86
|
+
class LiveGuardGetMapping {
|
|
87
|
+
constructor() {
|
|
88
|
+
this.name = 'CoreLiveGuard:LiveGuardGetMapping';
|
|
89
|
+
this.path = '/api/core/liveguard/LiveGuardGetMapping';
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
CoreLiveGuard.LiveGuardGetMapping = LiveGuardGetMapping;
|
|
93
|
+
/**
|
|
94
|
+
* This service returns the operational flags for a liveguard instance.
|
|
95
|
+
*
|
|
96
|
+
* @export
|
|
97
|
+
* @class LiveGuardGetStatus
|
|
98
|
+
* @implements {EvaService}
|
|
99
|
+
*/
|
|
100
|
+
class LiveGuardGetStatus {
|
|
101
|
+
constructor() {
|
|
102
|
+
this.name = 'CoreLiveGuard:LiveGuardGetStatus';
|
|
103
|
+
this.path = '/api/core/liveguard/LiveGuardGetStatus';
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
CoreLiveGuard.LiveGuardGetStatus = LiveGuardGetStatus;
|
|
107
|
+
/**
|
|
108
|
+
* Service called by a liveguard instance to generate an authentication token for an authorized user on the liveguard
|
|
109
|
+
|
|
110
|
+
Can only be called by the liveguard user
|
|
111
|
+
*
|
|
112
|
+
* @export
|
|
113
|
+
* @class LiveGuardGetTokenForUser
|
|
114
|
+
* @implements {EvaService}
|
|
115
|
+
*/
|
|
116
|
+
class LiveGuardGetTokenForUser {
|
|
117
|
+
constructor() {
|
|
118
|
+
this.name = 'CoreLiveGuard:LiveGuardGetTokenForUser';
|
|
119
|
+
this.path = '/api/core/liveguard/LiveGuardGetTokenForUser';
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
CoreLiveGuard.LiveGuardGetTokenForUser = LiveGuardGetTokenForUser;
|
|
123
|
+
/**
|
|
124
|
+
* TODO: Needs documentation
|
|
125
|
+
*
|
|
126
|
+
* @export
|
|
127
|
+
* @class LiveGuardGetUser
|
|
128
|
+
* @implements {EvaService}
|
|
129
|
+
*/
|
|
130
|
+
class LiveGuardGetUser {
|
|
131
|
+
constructor() {
|
|
132
|
+
this.name = 'CoreLiveGuard:LiveGuardGetUser';
|
|
133
|
+
this.path = '/api/core/liveguard/LiveGuardGetUser';
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
CoreLiveGuard.LiveGuardGetUser = LiveGuardGetUser;
|
|
137
|
+
/**
|
|
138
|
+
* Accepts an Order pushed from a LiveGuard instance
|
|
139
|
+
*
|
|
140
|
+
* @export
|
|
141
|
+
* @class LiveGuardPushOrder
|
|
142
|
+
* @implements {EvaService}
|
|
143
|
+
*/
|
|
144
|
+
class LiveGuardPushOrder {
|
|
145
|
+
constructor() {
|
|
146
|
+
this.name = 'CoreLiveGuard:LiveGuardPushOrder';
|
|
147
|
+
this.path = '/api/core/liveguard/LiveGuardPushOrder';
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
CoreLiveGuard.LiveGuardPushOrder = LiveGuardPushOrder;
|
|
151
|
+
/**
|
|
152
|
+
* This service overrides the operational flags for a liveguard instance.
|
|
153
|
+
|
|
154
|
+
This should never be used in production environments. This is used to mimick offline scenario's in liveguard deployments in the cloud.
|
|
155
|
+
*
|
|
156
|
+
* @export
|
|
157
|
+
* @class LiveGuardSetStatus
|
|
158
|
+
* @implements {EvaService}
|
|
159
|
+
*/
|
|
160
|
+
class LiveGuardSetStatus {
|
|
161
|
+
constructor() {
|
|
162
|
+
this.name = 'CoreLiveGuard:LiveGuardSetStatus';
|
|
163
|
+
this.path = '/api/core/liveguard/LiveGuardSetStatus';
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
CoreLiveGuard.LiveGuardSetStatus = LiveGuardSetStatus;
|
|
167
|
+
/**
|
|
168
|
+
* Stores some authentication data used on the devices in store. This is only stored on the liveguard, so always scoped to a single store. The hash provided should be unique for the store.
|
|
169
|
+
*
|
|
170
|
+
* @export
|
|
171
|
+
* @class LiveGuardStoreLocalAuthenticationData
|
|
172
|
+
* @implements {EvaService}
|
|
173
|
+
*/
|
|
174
|
+
class LiveGuardStoreLocalAuthenticationData {
|
|
175
|
+
constructor() {
|
|
176
|
+
this.name = 'CoreLiveGuard:LiveGuardStoreLocalAuthenticationData';
|
|
177
|
+
this.path = '/api/core/liveguard/LiveGuardStoreLocalAuthenticationData';
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
CoreLiveGuard.LiveGuardStoreLocalAuthenticationData = LiveGuardStoreLocalAuthenticationData;
|
|
181
|
+
/**
|
|
182
|
+
* TODO: Needs documentation
|
|
183
|
+
*
|
|
184
|
+
* @export
|
|
185
|
+
* @class LiveGuardSyncCatalogByBlob
|
|
186
|
+
* @implements {EvaService}
|
|
187
|
+
*/
|
|
188
|
+
class LiveGuardSyncCatalogByBlob {
|
|
189
|
+
constructor() {
|
|
190
|
+
this.name = 'CoreLiveGuard:LiveGuardSyncCatalogByBlob';
|
|
191
|
+
this.path = '/api/core/liveguard/LiveGuardSyncCatalogByBlob';
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
CoreLiveGuard.LiveGuardSyncCatalogByBlob = LiveGuardSyncCatalogByBlob;
|
|
195
|
+
/**
|
|
196
|
+
* TODO: Needs documentation
|
|
197
|
+
*
|
|
198
|
+
* @export
|
|
199
|
+
* @class LiveGuardSyncGeneralByBlob
|
|
200
|
+
* @implements {EvaService}
|
|
201
|
+
*/
|
|
202
|
+
class LiveGuardSyncGeneralByBlob {
|
|
203
|
+
constructor() {
|
|
204
|
+
this.name = 'CoreLiveGuard:LiveGuardSyncGeneralByBlob';
|
|
205
|
+
this.path = '/api/core/liveguard/LiveGuardSyncGeneralByBlob';
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
CoreLiveGuard.LiveGuardSyncGeneralByBlob = LiveGuardSyncGeneralByBlob;
|
|
209
|
+
/**
|
|
210
|
+
* TODO: Needs documentation
|
|
211
|
+
*
|
|
212
|
+
* @export
|
|
213
|
+
* @class LiveGuardSyncUsersByBlob
|
|
214
|
+
* @implements {EvaService}
|
|
215
|
+
*/
|
|
216
|
+
class LiveGuardSyncUsersByBlob {
|
|
217
|
+
constructor() {
|
|
218
|
+
this.name = 'CoreLiveGuard:LiveGuardSyncUsersByBlob';
|
|
219
|
+
this.path = '/api/core/liveguard/LiveGuardSyncUsersByBlob';
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
CoreLiveGuard.LiveGuardSyncUsersByBlob = LiveGuardSyncUsersByBlob;
|
|
223
|
+
/**
|
|
224
|
+
* Trigger a full sync on a liveguard instance, this has major performance impact for a while
|
|
225
|
+
*
|
|
226
|
+
* @export
|
|
227
|
+
* @class LiveGuardTriggerSync
|
|
228
|
+
* @implements {EvaService}
|
|
229
|
+
*/
|
|
230
|
+
class LiveGuardTriggerSync {
|
|
231
|
+
constructor() {
|
|
232
|
+
this.name = 'CoreLiveGuard:LiveGuardTriggerSync';
|
|
233
|
+
this.path = '/api/core/liveguard/LiveGuardTriggerSync';
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
CoreLiveGuard.LiveGuardTriggerSync = LiveGuardTriggerSync;
|
|
237
|
+
})(exports.CoreLiveGuard || (exports.CoreLiveGuard = {}));
|
|
238
|
+
|
|
239
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
240
|
+
|
|
241
|
+
}));
|
|
242
|
+
//# sourceMappingURL=eva-services-core-live-guard.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eva-services-core-live-guard.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@springtree/eva-services-core-live-guard",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "The EVA service repository for EVA.Core.LiveGuard",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"author": "SpringTree <info@springtree.nl>",
|
|
7
|
+
"license": "UNLICENSED",
|
|
8
|
+
"main": "lib/eva-services-core-live-guard.umd.js",
|
|
9
|
+
"directories": {
|
|
10
|
+
"lib": "lib",
|
|
11
|
+
"test": "__tests__"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"lib"
|
|
15
|
+
],
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/springtreesolutions/eva-sdk-repo.git"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
25
|
+
},
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/springtreesolutions/eva-sdk-repo/issues"
|
|
28
|
+
},
|
|
29
|
+
"homepage": "https://github.com/springtreesolutions/eva-sdk-repo#readme",
|
|
30
|
+
"typings": "lib/eva-services-core-live-guard.d.ts",
|
|
31
|
+
"module": "lib/eva-services-core-live-guard.es5.js",
|
|
32
|
+
"private": false,
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@springtree/eva-services-core": "^1.0.0"
|
|
35
|
+
},
|
|
36
|
+
"gitHead": "1f1853c12ddb117cb45917db37fdbfcd2a514daa"
|
|
37
|
+
}
|