@springtree/eva-services-core-live-guard 9.4.0 → 10.0.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-services-core-live-guard.d.ts +235 -225
- package/lib/eva-services-core-live-guard.d.ts.map +1 -1
- package/lib/eva-services-core-live-guard.js +68 -64
- package/lib/eva-services-core-live-guard.js.map +1 -1
- package/lib/eva-services-core-live-guard.services.d.ts +2 -2
- package/lib/eva-services-core-live-guard.services.d.ts.map +1 -1
- package/lib/eva-services-core-live-guard.services.js +66 -66
- package/lib/eva-services-core-live-guard.services.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +2 -2
- package/package.json +17 -17
|
@@ -1,132 +1,136 @@
|
|
|
1
|
-
import { ServiceError, ResponseMessageMetadata, PageTokenConfig, PageConfig, DataModelsOrganizationUnitStatus, PagedResult, SchedulingTaskState, DevicesWatchtowerLog, UserTypes, SecurityElevationType, SecurityFunctionalityScope, LiveGuardTOTPSecretWrapper, AddressesAddressDataDto, DataModelsInvoiceDocumentLedgerFormats, DataModelsInvoiceDocumentLedgerData, DataModelsInvoiceDocumentLedgerTypes, DataModelsInvoiceCalculationMethod, DataModelsInvoiceStatuses, DataModelsInvoiceTypes, DataModelsTaxRateCategory, DataModelsInvoiceLineTypes, CompaniesCompanyDto, DataModelsOrderBlobTypes, DataModelsReturnReasonType, DataModelsPaymentStatuses, AuditingAuditChainTypes } from
|
|
1
|
+
import { ServiceError, ResponseMessageMetadata, PageTokenConfig, PageConfig, DataModelsOrganizationUnitStatus, PagedResult, SchedulingTaskState, DevicesWatchtowerLog, UserTypes, SecurityElevationType, SecurityFunctionalityScope, LiveGuardTOTPSecretWrapper, AddressesAddressDataDto, DataModelsInvoiceDocumentLedgerFormats, DataModelsInvoiceDocumentLedgerData, DataModelsInvoiceDocumentLedgerTypes, DataModelsInvoiceCalculationMethod, DataModelsInvoiceStatuses, DataModelsInvoiceTypes, DataModelsTaxRateCategory, DataModelsInvoiceLineTypes, CompaniesCompanyDto, DataModelsOrderBlobTypes, DataModelsReturnReasonType, DataModelsPaymentStatuses, AuditingAuditChainTypes } from "@springtree/eva-services-core";
|
|
2
2
|
export declare enum Errors {
|
|
3
3
|
/**
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
* The uploaded file is not a valid .p7m token.
|
|
5
|
+
*/
|
|
6
6
|
ABMEnrollment_InvalidABMTokenFile = "ABMEnrollment:InvalidABMTokenFile",
|
|
7
7
|
/**
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
* Failed to upload the ABM token to JAMF. Please verify the token file and try again.
|
|
9
|
+
*/
|
|
10
10
|
ABMEnrollment_ABMTokenUploadFailed = "ABMEnrollment:ABMTokenUploadFailed",
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* An ABM token already exists in JAMF. Use renewal instead of uploading a new token.
|
|
13
|
+
*/
|
|
14
14
|
ABMEnrollment_ABMTokenAlreadyExists = "ABMEnrollment:ABMTokenAlreadyExists",
|
|
15
15
|
/**
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
* Could not determine a matching FleetManager.
|
|
17
|
+
*/
|
|
18
18
|
FleetManager_UnableToDetermineFleetManager = "FleetManager:UnableToDetermineFleetManager",
|
|
19
19
|
/**
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
* The FleetManager {0:string} is not available.
|
|
21
|
+
*/
|
|
22
22
|
FleetManager_FleetManagerNotAvailable = "FleetManager:FleetManagerNotAvailable",
|
|
23
23
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
* Device with HardwareID {hardwareID:string} was not found in FleetManager {fleetManager:string}. Make sure it's online and try again
|
|
25
|
+
*/
|
|
26
26
|
FleetManager_DeviceNotInFleetManager = "FleetManager:DeviceNotInFleetManager",
|
|
27
27
|
/**
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
* Device is not valid for this FleetManager.
|
|
29
|
+
*/
|
|
30
30
|
FleetManager_InvalidDevice = "FleetManager:InvalidDevice",
|
|
31
31
|
/**
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
* Device was already boarded.
|
|
33
|
+
*/
|
|
34
34
|
FleetManager_DeviceAlreadyBoarded = "FleetManager:DeviceAlreadyBoarded",
|
|
35
35
|
/**
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
* Error while boarding the device: {0:string}
|
|
37
|
+
*/
|
|
38
38
|
FleetManager_BoardingFailed = "FleetManager:BoardingFailed",
|
|
39
39
|
/**
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
* After 2026-04-01 it's not allowed to board new legacy devices in EVA.
|
|
41
|
+
*/
|
|
42
42
|
FleetManager_BoardingDisabled = "FleetManager:BoardingDisabled",
|
|
43
43
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
* This operation is not supported because NewBlack manages the ABM token for this deployment.
|
|
45
|
+
*/
|
|
46
|
+
FleetManager_NotSupportedForNewBlackManagedABM = "FleetManager:NotSupportedForNewBlackManagedABM",
|
|
47
|
+
/**
|
|
48
|
+
* Device with HardwareID {hardwareID:string} already exists with ID {deviceID:id}.
|
|
49
|
+
*/
|
|
46
50
|
FleetManagerErrors_DeviceAlreadyExists = "FleetManagerErrors:DeviceAlreadyExists",
|
|
47
51
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
52
|
+
* OrganizationUnit {organizationUnitID:id} already has a watchtower with ID {deviceID:id}.
|
|
53
|
+
*/
|
|
50
54
|
FleetManagerErrors_DuplicateOrganizationUnit = "FleetManagerErrors:DuplicateOrganizationUnit",
|
|
51
55
|
/**
|
|
52
|
-
|
|
53
|
-
|
|
56
|
+
* You're not allowed to generate this liveguard api key.
|
|
57
|
+
*/
|
|
54
58
|
LiveGuard_NotAllowedToGenerateApiKey = "LiveGuard:NotAllowedToGenerateApiKey",
|
|
55
59
|
/**
|
|
56
|
-
|
|
57
|
-
|
|
60
|
+
* You're not allowed to generate this liveguard secret.
|
|
61
|
+
*/
|
|
58
62
|
LiveGuard_NotAllowedToGenerateSecret = "LiveGuard:NotAllowedToGenerateSecret",
|
|
59
63
|
/**
|
|
60
|
-
|
|
61
|
-
|
|
64
|
+
* This is a stub order for offline evapay payments, no mutations allowed.
|
|
65
|
+
*/
|
|
62
66
|
LiveGuard_UnableToMutateEVAPayStub = "LiveGuard:UnableToMutateEVAPayStub",
|
|
63
67
|
/**
|
|
64
|
-
|
|
65
|
-
|
|
68
|
+
* The configuration is invalid.
|
|
69
|
+
*/
|
|
66
70
|
LiveGuardCertificate_InvalidConfiguration = "LiveGuardCertificate:InvalidConfiguration",
|
|
67
71
|
/**
|
|
68
|
-
|
|
69
|
-
|
|
72
|
+
* No valid Watchtower for this request.
|
|
73
|
+
*/
|
|
70
74
|
LiveGuardCertificate_NoValidWatchtower = "LiveGuardCertificate:NoValidWatchtower",
|
|
71
75
|
/**
|
|
72
|
-
|
|
73
|
-
|
|
76
|
+
* CSR could not be parsed.
|
|
77
|
+
*/
|
|
74
78
|
LiveGuardCertificate_CsrInvalid = "LiveGuardCertificate:CsrInvalid",
|
|
75
79
|
/**
|
|
76
|
-
|
|
77
|
-
|
|
80
|
+
* Failed to generate the certificate.
|
|
81
|
+
*/
|
|
78
82
|
LiveGuardCertificate_CertificateGenerationFailed = "LiveGuardCertificate:CertificateGenerationFailed",
|
|
79
83
|
/**
|
|
80
|
-
|
|
81
|
-
|
|
84
|
+
* Hostname for this Watchtower does not match the hostname in the CSR.
|
|
85
|
+
*/
|
|
82
86
|
LiveGuardCertificate_HostnameMismatch = "LiveGuardCertificate:HostnameMismatch",
|
|
83
87
|
/**
|
|
84
|
-
|
|
85
|
-
|
|
88
|
+
* There is no current connection to the selected device.
|
|
89
|
+
*/
|
|
86
90
|
LiveGuardExecuteTask_NoConnection = "LiveGuardExecuteTask:NoConnection",
|
|
87
91
|
/**
|
|
88
|
-
|
|
89
|
-
|
|
92
|
+
* This watchtower is not connected.
|
|
93
|
+
*/
|
|
90
94
|
LiveGuardLockStatus_NotConnected = "LiveGuardLockStatus:NotConnected",
|
|
91
95
|
/**
|
|
92
|
-
|
|
93
|
-
|
|
96
|
+
* Failed to lock the device.
|
|
97
|
+
*/
|
|
94
98
|
LiveGuardLockStatus_LockFailed = "LiveGuardLockStatus:LockFailed",
|
|
95
99
|
/**
|
|
96
|
-
|
|
97
|
-
|
|
100
|
+
* Failed to unlock the device.
|
|
101
|
+
*/
|
|
98
102
|
LiveGuardLockStatus_UnlockFailed = "LiveGuardLockStatus:UnlockFailed",
|
|
99
103
|
/**
|
|
100
|
-
|
|
101
|
-
|
|
104
|
+
* The configuration is invalid.
|
|
105
|
+
*/
|
|
102
106
|
LiveGuardVPN_InvalidConfiguration = "LiveGuardVPN:InvalidConfiguration",
|
|
103
107
|
/**
|
|
104
|
-
|
|
105
|
-
|
|
108
|
+
* No valid Watchtower for this request.
|
|
109
|
+
*/
|
|
106
110
|
LiveGuardVPN_NoValidWatchtower = "LiveGuardVPN:NoValidWatchtower",
|
|
107
111
|
/**
|
|
108
|
-
|
|
109
|
-
|
|
112
|
+
* Failed to check for existing config.
|
|
113
|
+
*/
|
|
110
114
|
LiveGuardVPN_ExistsCheckFailed = "LiveGuardVPN:ExistsCheckFailed",
|
|
111
115
|
/**
|
|
112
|
-
|
|
113
|
-
|
|
116
|
+
* Failed to create new config.
|
|
117
|
+
*/
|
|
114
118
|
LiveGuardVPN_CreateFailed = "LiveGuardVPN:CreateFailed",
|
|
115
119
|
/**
|
|
116
|
-
|
|
117
|
-
|
|
120
|
+
* You can only force local mode on shops.
|
|
121
|
+
*/
|
|
118
122
|
LocalModeManager_CanForceLocalModeOnlyOnShop = "LocalModeManager:CanForceLocalModeOnlyOnShop",
|
|
119
123
|
/**
|
|
120
|
-
|
|
121
|
-
|
|
124
|
+
* No registration request found for this device. (Please reboot the device and try again)
|
|
125
|
+
*/
|
|
122
126
|
MenderClient_NoRegistrationRequest = "MenderClient:NoRegistrationRequest",
|
|
123
127
|
/**
|
|
124
|
-
|
|
125
|
-
|
|
128
|
+
* There is no current connection to the selected device.
|
|
129
|
+
*/
|
|
126
130
|
WatchtowerExecuteCommand_NoConnection = "WatchtowerExecuteCommand:NoConnection",
|
|
127
131
|
/**
|
|
128
|
-
|
|
129
|
-
|
|
132
|
+
* Failed to connect to the device.
|
|
133
|
+
*/
|
|
130
134
|
WatchtowerIO_ConnectionFailed = "WatchtowerIO:ConnectionFailed"
|
|
131
135
|
}
|
|
132
136
|
export declare enum ManagersFleetManagerDeviceStatus {
|
|
@@ -137,8 +141,8 @@ export declare enum ManagersFleetManagerDeviceStatus {
|
|
|
137
141
|
Noauth = 5
|
|
138
142
|
}
|
|
139
143
|
/**
|
|
140
|
-
* Get an authentication token that's valid in the cloud for the current user
|
|
141
|
-
*/
|
|
144
|
+
* Get an authentication token that's valid in the cloud for the current user
|
|
145
|
+
*/
|
|
142
146
|
export interface LiveGuardGetCloudToken<ID_TYPE = string> {
|
|
143
147
|
UseJwtTokens?: boolean;
|
|
144
148
|
}
|
|
@@ -149,26 +153,26 @@ export interface LiveGuardGetCloudTokenResponse<ID_TYPE = string> {
|
|
|
149
153
|
RefreshToken?: string;
|
|
150
154
|
}
|
|
151
155
|
/**
|
|
152
|
-
* Returns the blob url where the LiveGuard data can be downloaded from.
|
|
153
|
-
*/
|
|
156
|
+
* Returns the blob url where the LiveGuard data can be downloaded from.
|
|
157
|
+
*/
|
|
154
158
|
export interface LiveGuardGetData<ID_TYPE = string> {
|
|
155
159
|
}
|
|
156
160
|
/**
|
|
157
|
-
* Returns id mapping for cloud vs liveguard entities
|
|
158
|
-
*/
|
|
161
|
+
* Returns id mapping for cloud vs liveguard entities
|
|
162
|
+
*/
|
|
159
163
|
export interface LiveGuardGetMapping<ID_TYPE = string> {
|
|
160
164
|
}
|
|
161
165
|
export interface LiveGuardGetMappingResponse<ID_TYPE = string> {
|
|
162
166
|
Error?: ServiceError<ID_TYPE>;
|
|
163
167
|
/**
|
|
164
|
-
|
|
165
|
-
|
|
168
|
+
* For each datatype a mapping from CloudID -> LiveGuardID
|
|
169
|
+
*/
|
|
166
170
|
Mapping?: Record<string, Record<string, ID_TYPE> | null>;
|
|
167
171
|
Metadata?: ResponseMessageMetadata<ID_TYPE>;
|
|
168
172
|
}
|
|
169
173
|
/**
|
|
170
|
-
* Get a trust token that needs to be provided in the Login call to the cloud to verify local presence
|
|
171
|
-
*/
|
|
174
|
+
* Get a trust token that needs to be provided in the Login call to the cloud to verify local presence
|
|
175
|
+
*/
|
|
172
176
|
export interface LiveGuardGetTrustToken<ID_TYPE = string> {
|
|
173
177
|
}
|
|
174
178
|
export interface LiveGuardGetTrustTokenResponse<ID_TYPE = string> {
|
|
@@ -183,8 +187,8 @@ export declare enum ServicesManagementABMConnectionStatus {
|
|
|
183
187
|
Expired = 3
|
|
184
188
|
}
|
|
185
189
|
/**
|
|
186
|
-
* Create a new SSL certificate for a Watchtower device.
|
|
187
|
-
*/
|
|
190
|
+
* Create a new SSL certificate for a Watchtower device.
|
|
191
|
+
*/
|
|
188
192
|
export interface CreateWatchtowerCertificate<ID_TYPE = string> {
|
|
189
193
|
CertificateSigningRequest: string;
|
|
190
194
|
}
|
|
@@ -194,31 +198,31 @@ export interface CreateWatchtowerCertificateResponse<ID_TYPE = string> {
|
|
|
194
198
|
Metadata?: ResponseMessageMetadata<ID_TYPE>;
|
|
195
199
|
}
|
|
196
200
|
/**
|
|
197
|
-
* Create a new watchtower device
|
|
198
|
-
*
|
|
199
|
-
* To create a device for fallback IO, leave the HardwareID null
|
|
200
|
-
* When a HardwareID is set, the device will be boarded and prepared for use.
|
|
201
|
-
*/
|
|
201
|
+
* Create a new watchtower device
|
|
202
|
+
*
|
|
203
|
+
* To create a device for fallback IO, leave the HardwareID null
|
|
204
|
+
* When a HardwareID is set, the device will be boarded and prepared for use.
|
|
205
|
+
*/
|
|
202
206
|
export interface CreateWatchtowerDevice<ID_TYPE = string> {
|
|
203
207
|
HardwareID?: string;
|
|
204
208
|
Name: string;
|
|
205
209
|
/**
|
|
206
|
-
|
|
207
|
-
|
|
210
|
+
* Entity type: OrganizationUnit
|
|
211
|
+
*/
|
|
208
212
|
OrganizationUnitID: ID_TYPE;
|
|
209
213
|
}
|
|
210
214
|
export interface CreateWatchtowerDeviceResponse<ID_TYPE = string> {
|
|
211
215
|
ApiKey?: string;
|
|
212
216
|
Error?: ServiceError<ID_TYPE>;
|
|
213
217
|
/**
|
|
214
|
-
|
|
215
|
-
|
|
218
|
+
* Entity type: Device
|
|
219
|
+
*/
|
|
216
220
|
ID: ID_TYPE;
|
|
217
221
|
Metadata?: ResponseMessageMetadata<ID_TYPE>;
|
|
218
222
|
}
|
|
219
223
|
/**
|
|
220
|
-
* Create a new VPN Configuration for a Watchtower device.
|
|
221
|
-
*/
|
|
224
|
+
* Create a new VPN Configuration for a Watchtower device.
|
|
225
|
+
*/
|
|
222
226
|
export interface CreateWatchtowerVPNConfiguration<ID_TYPE = string> {
|
|
223
227
|
}
|
|
224
228
|
export interface CreateWatchtowerVPNConfigurationResponse<ID_TYPE = string> {
|
|
@@ -227,8 +231,8 @@ export interface CreateWatchtowerVPNConfigurationResponse<ID_TYPE = string> {
|
|
|
227
231
|
Metadata?: ResponseMessageMetadata<ID_TYPE>;
|
|
228
232
|
}
|
|
229
233
|
/**
|
|
230
|
-
* Returns the current ABM device enrollment status, including organization details and token expiration.
|
|
231
|
-
*/
|
|
234
|
+
* Returns the current ABM device enrollment status, including organization details and token expiration.
|
|
235
|
+
*/
|
|
232
236
|
export interface GetABMEnrollmentDetails<ID_TYPE = string> {
|
|
233
237
|
}
|
|
234
238
|
export interface GetABMEnrollmentDetailsResponse<ID_TYPE = string> {
|
|
@@ -243,8 +247,8 @@ export interface GetABMEnrollmentDetailsResponse<ID_TYPE = string> {
|
|
|
243
247
|
TokenExpirationDate?: string;
|
|
244
248
|
}
|
|
245
249
|
/**
|
|
246
|
-
* Downloads the JAMF device enrollment public key (PEM). Upload this key to Apple Business Manager to obtain a .p7m token.
|
|
247
|
-
*/
|
|
250
|
+
* Downloads the JAMF device enrollment public key (PEM). Upload this key to Apple Business Manager to obtain a .p7m token.
|
|
251
|
+
*/
|
|
248
252
|
export interface GetABMPublicKey<ID_TYPE = string> {
|
|
249
253
|
}
|
|
250
254
|
export interface GetABMPublicKeyResponse<ID_TYPE = string> {
|
|
@@ -253,40 +257,40 @@ export interface GetABMPublicKeyResponse<ID_TYPE = string> {
|
|
|
253
257
|
PublicKey?: string;
|
|
254
258
|
}
|
|
255
259
|
/**
|
|
256
|
-
* List the configured watchtower devices with their status
|
|
257
|
-
*
|
|
258
|
-
* Sorting is supported on the following properties:
|
|
259
|
-
* - ID
|
|
260
|
-
* - Name
|
|
261
|
-
* - HardwareID
|
|
262
|
-
* - OrganizationUnitID
|
|
263
|
-
* - OrganizationUnitBackendID
|
|
264
|
-
* - OrganizationUnitName
|
|
265
|
-
* - OrganizationUnitCountryID
|
|
266
|
-
* - OrganizationUnitStatus
|
|
267
|
-
* - WatchtowerIOConnected
|
|
268
|
-
* - WatchtowerIOLastSeen
|
|
269
|
-
* - ForceLocalMode
|
|
270
|
-
*/
|
|
260
|
+
* List the configured watchtower devices with their status
|
|
261
|
+
*
|
|
262
|
+
* Sorting is supported on the following properties:
|
|
263
|
+
* - ID
|
|
264
|
+
* - Name
|
|
265
|
+
* - HardwareID
|
|
266
|
+
* - OrganizationUnitID
|
|
267
|
+
* - OrganizationUnitBackendID
|
|
268
|
+
* - OrganizationUnitName
|
|
269
|
+
* - OrganizationUnitCountryID
|
|
270
|
+
* - OrganizationUnitStatus
|
|
271
|
+
* - WatchtowerIOConnected
|
|
272
|
+
* - WatchtowerIOLastSeen
|
|
273
|
+
* - ForceLocalMode
|
|
274
|
+
*/
|
|
271
275
|
export interface ListWatchtowerDevices<ID_TYPE = string> {
|
|
272
276
|
/**
|
|
273
|
-
|
|
274
|
-
|
|
277
|
+
* The initial page configuration. This is only used when requesting the first page of results. Subsequent pages are requested using the `PageToken` property.
|
|
278
|
+
*/
|
|
275
279
|
InitialPageConfig?: PageTokenConfig<ServicesManagementListWatchtowerDevicesFilter<ID_TYPE>, ID_TYPE>;
|
|
276
280
|
PageConfig?: PageConfig<ServicesManagementListWatchtowerDevicesFilter<ID_TYPE>, ID_TYPE>;
|
|
277
281
|
/**
|
|
278
|
-
|
|
279
|
-
|
|
282
|
+
* The page token from a previous response. This is used to request subsequent pages of results.
|
|
283
|
+
*/
|
|
280
284
|
PageToken?: string;
|
|
281
285
|
}
|
|
282
286
|
export interface ServicesManagementListWatchtowerDevicesFilter<ID_TYPE = string> {
|
|
283
287
|
/**
|
|
284
|
-
|
|
285
|
-
|
|
288
|
+
* Entity type: Country
|
|
289
|
+
*/
|
|
286
290
|
CountryID?: string;
|
|
287
291
|
/**
|
|
288
|
-
|
|
289
|
-
|
|
292
|
+
* Entity type: Device
|
|
293
|
+
*/
|
|
290
294
|
DeviceID?: ID_TYPE;
|
|
291
295
|
FleetManagerID?: string;
|
|
292
296
|
ForceLocalMode?: boolean;
|
|
@@ -297,8 +301,8 @@ export interface ServicesManagementListWatchtowerDevicesFilter<ID_TYPE = string>
|
|
|
297
301
|
IsWatchtowerIOConnected?: boolean;
|
|
298
302
|
IsWatchtowerOnline?: boolean;
|
|
299
303
|
/**
|
|
300
|
-
|
|
301
|
-
|
|
304
|
+
* Entity type: OrganizationUnit
|
|
305
|
+
*/
|
|
302
306
|
OrganizationUnitID?: ID_TYPE;
|
|
303
307
|
OrganizationUnitStatus?: DataModelsOrganizationUnitStatus;
|
|
304
308
|
}
|
|
@@ -314,24 +318,24 @@ export interface ServicesManagementListWatchtowerDevicesResponse_Watchtower<ID_T
|
|
|
314
318
|
ForceLocalMode: boolean;
|
|
315
319
|
HardwareID?: string;
|
|
316
320
|
/**
|
|
317
|
-
|
|
318
|
-
|
|
321
|
+
* Entity type: Device
|
|
322
|
+
*/
|
|
319
323
|
ID: ID_TYPE;
|
|
320
324
|
LastSeen?: string;
|
|
321
325
|
Locked: boolean;
|
|
322
326
|
Name?: string;
|
|
323
327
|
Online: boolean;
|
|
324
328
|
/**
|
|
325
|
-
|
|
326
|
-
|
|
329
|
+
* Entity type: OrganizationUnit
|
|
330
|
+
*/
|
|
327
331
|
OrganizationUnitBackendID?: string;
|
|
328
332
|
/**
|
|
329
|
-
|
|
330
|
-
|
|
333
|
+
* Entity type: Country
|
|
334
|
+
*/
|
|
331
335
|
OrganizationUnitCountryID?: string;
|
|
332
336
|
/**
|
|
333
|
-
|
|
334
|
-
|
|
337
|
+
* Entity type: OrganizationUnit
|
|
338
|
+
*/
|
|
335
339
|
OrganizationUnitID: ID_TYPE;
|
|
336
340
|
OrganizationUnitName?: string;
|
|
337
341
|
OrganizationUnitStatus: DataModelsOrganizationUnitStatus;
|
|
@@ -341,41 +345,41 @@ export interface ServicesManagementListWatchtowerDevicesResponse_Watchtower<ID_T
|
|
|
341
345
|
WatchtowerLastSeen?: string;
|
|
342
346
|
}
|
|
343
347
|
/**
|
|
344
|
-
* Execute a command on a device
|
|
345
|
-
*/
|
|
348
|
+
* Execute a command on a device
|
|
349
|
+
*/
|
|
346
350
|
export interface LiveGuardExecuteTask<ID_TYPE = string> {
|
|
347
351
|
Catalog?: boolean;
|
|
348
352
|
/**
|
|
349
|
-
|
|
350
|
-
|
|
353
|
+
* Entity type: Device
|
|
354
|
+
*/
|
|
351
355
|
DeviceID: ID_TYPE;
|
|
352
356
|
General?: boolean;
|
|
353
357
|
Users?: boolean;
|
|
354
358
|
}
|
|
355
359
|
/**
|
|
356
|
-
* Push the current configuration for the given device to mender
|
|
357
|
-
*/
|
|
360
|
+
* Push the current configuration for the given device to mender
|
|
361
|
+
*/
|
|
358
362
|
export interface PushWatchtowerConfigurationToDevice<ID_TYPE = string> {
|
|
359
363
|
/**
|
|
360
|
-
|
|
361
|
-
|
|
364
|
+
* Entity type: Device
|
|
365
|
+
*/
|
|
362
366
|
DeviceID: ID_TYPE;
|
|
363
367
|
}
|
|
364
368
|
/**
|
|
365
|
-
* Update the lock status of a watchtower device.
|
|
366
|
-
*
|
|
367
|
-
* This can only be done when the device is online
|
|
368
|
-
*/
|
|
369
|
+
* Update the lock status of a watchtower device.
|
|
370
|
+
*
|
|
371
|
+
* This can only be done when the device is online
|
|
372
|
+
*/
|
|
369
373
|
export interface ToggleLockStatusForWatchtowerDevice<ID_TYPE = string> {
|
|
370
374
|
/**
|
|
371
|
-
|
|
372
|
-
|
|
375
|
+
* Entity type: Device
|
|
376
|
+
*/
|
|
373
377
|
DeviceID: ID_TYPE;
|
|
374
378
|
IsLocked?: boolean;
|
|
375
379
|
}
|
|
376
380
|
/**
|
|
377
|
-
* Uploads a .p7m token file from Apple Business Manager to JAMF. Creates a new enrollment or renews an existing one.
|
|
378
|
-
*/
|
|
381
|
+
* Uploads a .p7m token file from Apple Business Manager to JAMF. Creates a new enrollment or renews an existing one.
|
|
382
|
+
*/
|
|
379
383
|
export interface UploadABMToken<ID_TYPE = string> {
|
|
380
384
|
Data: string;
|
|
381
385
|
}
|
|
@@ -385,13 +389,13 @@ export interface UploadABMTokenResponse<ID_TYPE = string> {
|
|
|
385
389
|
Status: ServicesManagementABMConnectionStatus;
|
|
386
390
|
}
|
|
387
391
|
/**
|
|
388
|
-
* Execute a command on a device
|
|
389
|
-
*/
|
|
392
|
+
* Execute a command on a device
|
|
393
|
+
*/
|
|
390
394
|
export interface WatchtowerExecuteCommand<ID_TYPE = string> {
|
|
391
395
|
Address?: string;
|
|
392
396
|
/**
|
|
393
|
-
|
|
394
|
-
|
|
397
|
+
* Entity type: Device
|
|
398
|
+
*/
|
|
395
399
|
DeviceID: ID_TYPE;
|
|
396
400
|
Port?: number;
|
|
397
401
|
Type: string;
|
|
@@ -403,12 +407,12 @@ export interface WatchtowerExecuteCommandResponse<ID_TYPE = string> {
|
|
|
403
407
|
Success: boolean;
|
|
404
408
|
}
|
|
405
409
|
/**
|
|
406
|
-
* Get details about the given device.
|
|
407
|
-
*/
|
|
410
|
+
* Get details about the given device.
|
|
411
|
+
*/
|
|
408
412
|
export interface WatchtowerGetDeviceDetails<ID_TYPE = string> {
|
|
409
413
|
/**
|
|
410
|
-
|
|
411
|
-
|
|
414
|
+
* Entity type: Device
|
|
415
|
+
*/
|
|
412
416
|
DeviceID: ID_TYPE;
|
|
413
417
|
}
|
|
414
418
|
export interface WatchtowerGetDeviceDetailsResponse<ID_TYPE = string> {
|
|
@@ -438,12 +442,12 @@ export interface WatchtowerGetDeviceDetailsResponse<ID_TYPE = string> {
|
|
|
438
442
|
Online: boolean;
|
|
439
443
|
OrganizationUnitBackendID?: string;
|
|
440
444
|
/**
|
|
441
|
-
|
|
442
|
-
|
|
445
|
+
* Entity type: Country
|
|
446
|
+
*/
|
|
443
447
|
OrganizationUnitCountryID?: string;
|
|
444
448
|
/**
|
|
445
|
-
|
|
446
|
-
|
|
449
|
+
* Entity type: OrganizationUnit
|
|
450
|
+
*/
|
|
447
451
|
OrganizationUnitID: ID_TYPE;
|
|
448
452
|
OrganizationUnitName?: string;
|
|
449
453
|
OrganizationUnitStatus: DataModelsOrganizationUnitStatus;
|
|
@@ -475,8 +479,8 @@ export interface EVAStatusResponse<ID_TYPE = string> {
|
|
|
475
479
|
Ready: boolean;
|
|
476
480
|
}
|
|
477
481
|
/**
|
|
478
|
-
* Returns some basic information about the current state of the liveGuard
|
|
479
|
-
*/
|
|
482
|
+
* Returns some basic information about the current state of the liveGuard
|
|
483
|
+
*/
|
|
480
484
|
export interface LiveGuardGetInformation<ID_TYPE = string> {
|
|
481
485
|
}
|
|
482
486
|
export interface LiveGuardGetInformationResponse<ID_TYPE = string> {
|
|
@@ -501,8 +505,8 @@ export interface LiveGuardGetInformationResponse<ID_TYPE = string> {
|
|
|
501
505
|
Version?: string;
|
|
502
506
|
}
|
|
503
507
|
/**
|
|
504
|
-
* This service returns the operational flags for a liveguard instance.
|
|
505
|
-
*/
|
|
508
|
+
* This service returns the operational flags for a liveguard instance.
|
|
509
|
+
*/
|
|
506
510
|
export interface LiveGuardGetStatus<ID_TYPE = string> {
|
|
507
511
|
}
|
|
508
512
|
export interface LiveGuardGetStatusResponse<ID_TYPE = string> {
|
|
@@ -514,8 +518,8 @@ export interface LiveGuardGetStatusResponse<ID_TYPE = string> {
|
|
|
514
518
|
RunningOnWatchtower: boolean;
|
|
515
519
|
}
|
|
516
520
|
/**
|
|
517
|
-
* Push metrics of the watchtower device to the cloud.
|
|
518
|
-
*/
|
|
521
|
+
* Push metrics of the watchtower device to the cloud.
|
|
522
|
+
*/
|
|
519
523
|
export interface LiveGuardPushMetrics<ID_TYPE = string> {
|
|
520
524
|
AvgLatency?: number;
|
|
521
525
|
CPUUsage?: number;
|
|
@@ -533,14 +537,14 @@ export interface LiveGuardPushMetrics<ID_TYPE = string> {
|
|
|
533
537
|
Temperature?: number;
|
|
534
538
|
}
|
|
535
539
|
/**
|
|
536
|
-
* Get user information to sync to LiveGuard
|
|
537
|
-
*/
|
|
540
|
+
* Get user information to sync to LiveGuard
|
|
541
|
+
*/
|
|
538
542
|
export interface GetUserForLiveGuard<ID_TYPE = string> {
|
|
539
543
|
EmailAddress?: string;
|
|
540
544
|
NickName?: string;
|
|
541
545
|
/**
|
|
542
|
-
|
|
543
|
-
|
|
546
|
+
* Entity type: User
|
|
547
|
+
*/
|
|
544
548
|
UserID?: ID_TYPE;
|
|
545
549
|
}
|
|
546
550
|
export interface GetUserForLiveGuardResponse<ID_TYPE = string> {
|
|
@@ -548,19 +552,19 @@ export interface GetUserForLiveGuardResponse<ID_TYPE = string> {
|
|
|
548
552
|
BackendID?: string;
|
|
549
553
|
BackendSystemID?: string;
|
|
550
554
|
/**
|
|
551
|
-
|
|
552
|
-
|
|
555
|
+
* Entity type: User
|
|
556
|
+
*/
|
|
553
557
|
CloudIDs?: ID_TYPE[];
|
|
554
558
|
/**
|
|
555
|
-
|
|
556
|
-
|
|
559
|
+
* Entity type: Country
|
|
560
|
+
*/
|
|
557
561
|
CountryID?: string;
|
|
558
562
|
EmailAddress?: string;
|
|
559
563
|
Error?: ServiceError<ID_TYPE>;
|
|
560
564
|
FirstName?: string;
|
|
561
565
|
/**
|
|
562
|
-
|
|
563
|
-
|
|
566
|
+
* Entity type: Language
|
|
567
|
+
*/
|
|
564
568
|
LanguageID?: string;
|
|
565
569
|
LastName?: string;
|
|
566
570
|
Metadata?: ResponseMessageMetadata<ID_TYPE>;
|
|
@@ -589,8 +593,8 @@ export interface ServicesSyncGetUserForLiveGuardResponse_RoleDto<ID_TYPE = strin
|
|
|
589
593
|
}
|
|
590
594
|
export interface LiveGuardGenerateApiKey<ID_TYPE = string> {
|
|
591
595
|
/**
|
|
592
|
-
|
|
593
|
-
|
|
596
|
+
* Entity type: OrganizationUnit
|
|
597
|
+
*/
|
|
594
598
|
OrganizationUnitID: ID_TYPE;
|
|
595
599
|
}
|
|
596
600
|
export interface LiveGuardGenerateApiKeyResponse<ID_TYPE = string> {
|
|
@@ -599,8 +603,8 @@ export interface LiveGuardGenerateApiKeyResponse<ID_TYPE = string> {
|
|
|
599
603
|
Metadata?: ResponseMessageMetadata<ID_TYPE>;
|
|
600
604
|
}
|
|
601
605
|
/**
|
|
602
|
-
* Generate a trust token that needs to be provided in the Login call to the cloud to verify local presence
|
|
603
|
-
*/
|
|
606
|
+
* Generate a trust token that needs to be provided in the Login call to the cloud to verify local presence
|
|
607
|
+
*/
|
|
604
608
|
export interface LiveGuardGenerateTrustToken<ID_TYPE = string> {
|
|
605
609
|
}
|
|
606
610
|
export interface LiveGuardGenerateTrustTokenResponse<ID_TYPE = string> {
|
|
@@ -609,8 +613,8 @@ export interface LiveGuardGenerateTrustTokenResponse<ID_TYPE = string> {
|
|
|
609
613
|
TrustToken: string;
|
|
610
614
|
}
|
|
611
615
|
/**
|
|
612
|
-
* Retreive current chain status for the connected watchtower
|
|
613
|
-
*/
|
|
616
|
+
* Retreive current chain status for the connected watchtower
|
|
617
|
+
*/
|
|
614
618
|
export interface LiveGuardGetAuditChains<ID_TYPE = string> {
|
|
615
619
|
}
|
|
616
620
|
export interface LiveGuardGetAuditChainsResponse<ID_TYPE = string> {
|
|
@@ -619,8 +623,8 @@ export interface LiveGuardGetAuditChainsResponse<ID_TYPE = string> {
|
|
|
619
623
|
Metadata?: ResponseMessageMetadata<ID_TYPE>;
|
|
620
624
|
}
|
|
621
625
|
/**
|
|
622
|
-
* Retreive current secret for TOTP token usage
|
|
623
|
-
*/
|
|
626
|
+
* Retreive current secret for TOTP token usage
|
|
627
|
+
*/
|
|
624
628
|
export interface LiveGuardGetTOTPSecret<ID_TYPE = string> {
|
|
625
629
|
}
|
|
626
630
|
export interface LiveGuardGetTOTPSecretResponse<ID_TYPE = string> {
|
|
@@ -629,10 +633,10 @@ export interface LiveGuardGetTOTPSecretResponse<ID_TYPE = string> {
|
|
|
629
633
|
Secret: LiveGuardTOTPSecretWrapper<ID_TYPE>;
|
|
630
634
|
}
|
|
631
635
|
/**
|
|
632
|
-
* Service called by a liveguard instance to generate an authentication token for an authorized user on the liveguard
|
|
633
|
-
*
|
|
634
|
-
* Can only be called by the liveguard user
|
|
635
|
-
*/
|
|
636
|
+
* Service called by a liveguard instance to generate an authentication token for an authorized user on the liveguard
|
|
637
|
+
*
|
|
638
|
+
* Can only be called by the liveguard user
|
|
639
|
+
*/
|
|
636
640
|
export interface LiveGuardGetTokenForUser<ID_TYPE = string> {
|
|
637
641
|
UseJwtTokens?: boolean;
|
|
638
642
|
Username: string;
|
|
@@ -644,14 +648,15 @@ export interface LiveGuardGetTokenForUserResponse<ID_TYPE = string> {
|
|
|
644
648
|
RefreshToken?: string;
|
|
645
649
|
}
|
|
646
650
|
/**
|
|
647
|
-
* Accepts an Order pushed from a LiveGuard instance
|
|
648
|
-
*/
|
|
651
|
+
* Accepts an Order pushed from a LiveGuard instance
|
|
652
|
+
*/
|
|
649
653
|
export interface LiveGuardPushOrder<ID_TYPE = string> {
|
|
650
654
|
BillingAddress?: AddressesAddressDataDto<ID_TYPE>;
|
|
651
655
|
BlobID: string;
|
|
652
656
|
Blobs?: ServicesSyncLiveGuardPushOrder_OrderBlobDto<ID_TYPE>[];
|
|
653
657
|
BoardingPass?: ServicesSyncLiveGuardPushOrder_BoardingPassDto<ID_TYPE>;
|
|
654
658
|
Chains?: TasksChainDto<ID_TYPE>[];
|
|
659
|
+
ClientOrderID?: string;
|
|
655
660
|
CreationTime?: string;
|
|
656
661
|
Customer?: ServicesSyncLiveGuardPushOrder_CustomerDto<ID_TYPE>;
|
|
657
662
|
CustomerIdentifiers?: ServicesSyncLiveGuardPushOrder_OrderCustomerIdentifiersDto<ID_TYPE>;
|
|
@@ -699,8 +704,8 @@ export interface ServicesSyncLiveGuardPushOrder_CustomerDto<ID_TYPE = string> {
|
|
|
699
704
|
LanguageID?: string;
|
|
700
705
|
LastName?: string;
|
|
701
706
|
/**
|
|
702
|
-
|
|
703
|
-
|
|
707
|
+
* Entity type: User
|
|
708
|
+
*/
|
|
704
709
|
LiveGuardID: ID_TYPE;
|
|
705
710
|
PhoneNumber?: string;
|
|
706
711
|
}
|
|
@@ -718,16 +723,16 @@ export interface ServicesSyncLiveGuardPushOrder_InvoiceDataDto<ID_TYPE = string>
|
|
|
718
723
|
}
|
|
719
724
|
export interface ServicesSyncLiveGuardPushOrder_InvoiceDocumentLedgerDto<ID_TYPE = string> {
|
|
720
725
|
/**
|
|
721
|
-
|
|
722
|
-
|
|
726
|
+
* Entity type: AuditChain
|
|
727
|
+
*/
|
|
723
728
|
ChainID?: ID_TYPE;
|
|
724
729
|
FailureReason?: string;
|
|
725
730
|
Format?: DataModelsInvoiceDocumentLedgerFormats;
|
|
726
731
|
InvoiceDocumentLedgerData?: DataModelsInvoiceDocumentLedgerData<ID_TYPE>;
|
|
727
732
|
IsSuccess?: boolean;
|
|
728
733
|
/**
|
|
729
|
-
|
|
730
|
-
|
|
734
|
+
* Entity type: Device
|
|
735
|
+
*/
|
|
731
736
|
OriginalDeviceID?: ID_TYPE;
|
|
732
737
|
PreviousSequenceNumber?: number;
|
|
733
738
|
PreviousSignature?: string;
|
|
@@ -745,8 +750,8 @@ export interface ServicesSyncLiveGuardPushOrder_InvoiceDto<ID_TYPE = string> {
|
|
|
745
750
|
Blobs?: ServicesSyncLiveGuardPushOrder_InvoiceBlobDto<ID_TYPE>[];
|
|
746
751
|
CalculationMethod?: DataModelsInvoiceCalculationMethod;
|
|
747
752
|
/**
|
|
748
|
-
|
|
749
|
-
|
|
753
|
+
* Entity type: AuditChain
|
|
754
|
+
*/
|
|
750
755
|
ChainID?: ID_TYPE;
|
|
751
756
|
CurrencyID?: string;
|
|
752
757
|
Description?: string;
|
|
@@ -754,8 +759,8 @@ export interface ServicesSyncLiveGuardPushOrder_InvoiceDto<ID_TYPE = string> {
|
|
|
754
759
|
ExpirationDate?: string;
|
|
755
760
|
FiscalID?: string;
|
|
756
761
|
/**
|
|
757
|
-
|
|
758
|
-
|
|
762
|
+
* Entity type: Invoice
|
|
763
|
+
*/
|
|
759
764
|
ID: ID_TYPE;
|
|
760
765
|
InvoiceData?: ServicesSyncLiveGuardPushOrder_InvoiceDataDto<ID_TYPE>[];
|
|
761
766
|
InvoiceDate?: string;
|
|
@@ -767,8 +772,8 @@ export interface ServicesSyncLiveGuardPushOrder_InvoiceDto<ID_TYPE = string> {
|
|
|
767
772
|
SequenceNumber?: number;
|
|
768
773
|
Signature?: string;
|
|
769
774
|
/**
|
|
770
|
-
|
|
771
|
-
|
|
775
|
+
* Entity type: Station
|
|
776
|
+
*/
|
|
772
777
|
StationID?: string;
|
|
773
778
|
Status?: DataModelsInvoiceStatuses;
|
|
774
779
|
TaxReverseCharge?: boolean;
|
|
@@ -791,8 +796,8 @@ export interface ServicesSyncLiveGuardPushOrder_InvoiceLineDto<ID_TYPE = string>
|
|
|
791
796
|
InvoicedBy?: string;
|
|
792
797
|
NetTaxAmount: number;
|
|
793
798
|
/**
|
|
794
|
-
|
|
795
|
-
|
|
799
|
+
* Entity type: OrderLine
|
|
800
|
+
*/
|
|
796
801
|
OrderLineID: ID_TYPE;
|
|
797
802
|
Quantity?: number;
|
|
798
803
|
TaxAmount?: number;
|
|
@@ -854,13 +859,13 @@ export interface ServicesSyncLiveGuardPushOrder_InvoiceUserDataDto<ID_TYPE = str
|
|
|
854
859
|
export interface ServicesSyncLiveGuardPushOrder_OrderBlobDto<ID_TYPE = string> {
|
|
855
860
|
BlobID: string;
|
|
856
861
|
/**
|
|
857
|
-
|
|
858
|
-
|
|
862
|
+
* Entity type: Invoice
|
|
863
|
+
*/
|
|
859
864
|
InvoiceID?: ID_TYPE;
|
|
860
865
|
Name?: string;
|
|
861
866
|
/**
|
|
862
|
-
|
|
863
|
-
|
|
867
|
+
* Entity type: OrderLine
|
|
868
|
+
*/
|
|
864
869
|
OrderLineID?: ID_TYPE;
|
|
865
870
|
Type?: DataModelsOrderBlobTypes;
|
|
866
871
|
}
|
|
@@ -877,20 +882,23 @@ export interface ServicesSyncLiveGuardPushOrder_OrderLineDiscount<ID_TYPE = stri
|
|
|
877
882
|
CloudID?: ID_TYPE;
|
|
878
883
|
Description?: string;
|
|
879
884
|
/**
|
|
880
|
-
|
|
881
|
-
|
|
885
|
+
* Entity type: OrderLine
|
|
886
|
+
*/
|
|
882
887
|
OrderLineID: ID_TYPE;
|
|
883
888
|
}
|
|
884
889
|
export interface ServicesSyncLiveGuardPushOrder_OrderLineDto<ID_TYPE = string> {
|
|
885
890
|
Amount: number;
|
|
886
891
|
BackendID?: string;
|
|
892
|
+
BackendReference?: string;
|
|
893
|
+
CloudID?: string;
|
|
887
894
|
CustomID?: string;
|
|
888
895
|
Description?: string;
|
|
889
896
|
Discounts?: ServicesSyncLiveGuardPushOrder_OrderLineDiscount<ID_TYPE>[];
|
|
890
897
|
/**
|
|
891
|
-
|
|
892
|
-
|
|
898
|
+
* Entity type: OrderLine
|
|
899
|
+
*/
|
|
893
900
|
ID: ID_TYPE;
|
|
901
|
+
LocalID?: string;
|
|
894
902
|
Quantity?: number;
|
|
895
903
|
ReturnReason?: string;
|
|
896
904
|
ReturnReasonType?: DataModelsReturnReasonType;
|
|
@@ -917,13 +925,13 @@ export interface ServicesSyncLiveGuardPushOrder_PaymentDto<ID_TYPE = string> {
|
|
|
917
925
|
Data?: string;
|
|
918
926
|
DataObjects?: string;
|
|
919
927
|
/**
|
|
920
|
-
|
|
921
|
-
|
|
928
|
+
* Entity type: PaymentTransaction
|
|
929
|
+
*/
|
|
922
930
|
ID: ID_TYPE;
|
|
923
931
|
Method?: string;
|
|
924
932
|
/**
|
|
925
|
-
|
|
926
|
-
|
|
933
|
+
* Entity type: Device
|
|
934
|
+
*/
|
|
927
935
|
OriginalDeviceID?: ID_TYPE;
|
|
928
936
|
Status?: DataModelsPaymentStatuses;
|
|
929
937
|
Type?: string;
|
|
@@ -932,8 +940,8 @@ export interface LiveGuardPushOrderResponse<ID_TYPE = string> {
|
|
|
932
940
|
AlreadyExists: boolean;
|
|
933
941
|
Error?: ServiceError<ID_TYPE>;
|
|
934
942
|
/**
|
|
935
|
-
|
|
936
|
-
|
|
943
|
+
* Entity type: Order
|
|
944
|
+
*/
|
|
937
945
|
ID: ID_TYPE;
|
|
938
946
|
Metadata?: ResponseMessageMetadata<ID_TYPE>;
|
|
939
947
|
}
|
|
@@ -964,13 +972,13 @@ export interface LiveGuardSyncUsersByBlobResponse<ID_TYPE = string> {
|
|
|
964
972
|
Url?: string;
|
|
965
973
|
}
|
|
966
974
|
/**
|
|
967
|
-
* Trigger a full sync on a liveguard instance, this has major performance impact for a while
|
|
968
|
-
*/
|
|
975
|
+
* Trigger a full sync on a liveguard instance, this has major performance impact for a while
|
|
976
|
+
*/
|
|
969
977
|
export interface LiveGuardTriggerSync<ID_TYPE = string> {
|
|
970
978
|
}
|
|
971
979
|
/**
|
|
972
|
-
* Accepts an Order pushed from a local device
|
|
973
|
-
*/
|
|
980
|
+
* Accepts an Order pushed from a local device
|
|
981
|
+
*/
|
|
974
982
|
export interface LiveGuardUpsertOrder<ID_TYPE = string> {
|
|
975
983
|
ClientOrderID: string;
|
|
976
984
|
CreationTime: string;
|
|
@@ -988,10 +996,12 @@ export declare enum ServicesSyncLiveGuardUpsertOrder_ActionType {
|
|
|
988
996
|
}
|
|
989
997
|
export interface ServicesSyncLiveGuardUpsertOrder_OrderLineDto<ID_TYPE = string> {
|
|
990
998
|
Actions?: ServicesSyncLiveGuardUpsertOrder_ActionDto<ID_TYPE>[];
|
|
999
|
+
CloudID?: string;
|
|
991
1000
|
Identifier?: string;
|
|
1001
|
+
LocalID?: string;
|
|
992
1002
|
/**
|
|
993
|
-
|
|
994
|
-
|
|
1003
|
+
* Entity type: Product
|
|
1004
|
+
*/
|
|
995
1005
|
ProductID: ID_TYPE;
|
|
996
1006
|
Quantity?: number;
|
|
997
1007
|
SerialNumber?: string;
|
|
@@ -999,14 +1009,14 @@ export interface ServicesSyncLiveGuardUpsertOrder_OrderLineDto<ID_TYPE = string>
|
|
|
999
1009
|
export interface LiveGuardUpsertOrderResponse<ID_TYPE = string> {
|
|
1000
1010
|
Error?: ServiceError<ID_TYPE>;
|
|
1001
1011
|
/**
|
|
1002
|
-
|
|
1003
|
-
|
|
1012
|
+
* Entity type: Order
|
|
1013
|
+
*/
|
|
1004
1014
|
ID: ID_TYPE;
|
|
1005
1015
|
Metadata?: ResponseMessageMetadata<ID_TYPE>;
|
|
1006
1016
|
}
|
|
1007
1017
|
/**
|
|
1008
|
-
* Validate the given token with the cloud, and if valid, trust the chain.
|
|
1009
|
-
*/
|
|
1018
|
+
* Validate the given token with the cloud, and if valid, trust the chain.
|
|
1019
|
+
*/
|
|
1010
1020
|
export interface LiveGuardValidateToken<ID_TYPE = string> {
|
|
1011
1021
|
AuthenticationToken?: string;
|
|
1012
1022
|
CloudChainID?: string;
|
|
@@ -1019,8 +1029,8 @@ export interface LiveGuardValidateTokenResponse<ID_TYPE = string> {
|
|
|
1019
1029
|
Metadata?: ResponseMessageMetadata<ID_TYPE>;
|
|
1020
1030
|
Nickname?: string;
|
|
1021
1031
|
/**
|
|
1022
|
-
|
|
1023
|
-
|
|
1032
|
+
* Entity type: User
|
|
1033
|
+
*/
|
|
1024
1034
|
UserID?: ID_TYPE;
|
|
1025
1035
|
}
|
|
1026
1036
|
export interface TasksChainDto<ID_TYPE = string> {
|
|
@@ -1028,8 +1038,8 @@ export interface TasksChainDto<ID_TYPE = string> {
|
|
|
1028
1038
|
CurrentSignature?: string;
|
|
1029
1039
|
Discriminator: ID_TYPE;
|
|
1030
1040
|
/**
|
|
1031
|
-
|
|
1032
|
-
|
|
1041
|
+
* Entity type: AuditChain
|
|
1042
|
+
*/
|
|
1033
1043
|
ID: ID_TYPE;
|
|
1034
1044
|
Identifier?: string;
|
|
1035
1045
|
PreviousSequenceNumber?: number;
|