@springtree/eva-services-core-live-guard 2.1.0-beta.0 → 2.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.
@@ -1,720 +1,5 @@
1
- import { ServiceError, ResponseMessageMetadata, PageConfig, DataModelsOrganizationUnitStatus, PagedResult, SchedulingTaskState, UserTypes, SecurityFunctionalityScope, LiveGuardTOTPSecretWrapper, AddressesAddressDataDto, DataModelsInvoiceDocumentLedgerFormats, DataModelsInvoiceDocumentLedgerData, DataModelsInvoiceDocumentLedgerTypes, DataModelsInvoiceCalculationMethod, DataModelsInvoiceStatuses, DataModelsInvoiceTypes, DataModelsTaxRateCategory, DataModelsInvoiceLineTypes, CompaniesCompanyDto, DataModelsOrderBlobTypes, AuditingAuditChainTypes } from '@springtree/eva-services-core';
2
- export declare const enum Errors {
3
- /**
4
- * You're not allowed to generate this liveguard api key.
5
- */
6
- LiveGuard_NotAllowedToGenerateApiKey = "LiveGuard:NotAllowedToGenerateApiKey",
7
- /**
8
- * You're not allowed to generate this liveguard secret.
9
- */
10
- LiveGuard_NotAllowedToGenerateSecret = "LiveGuard:NotAllowedToGenerateSecret",
11
- /**
12
- * This is a stub order for offline evapay payments, no mutations allowed.
13
- */
14
- LiveGuard_UnableToMutateEVAPayStub = "LiveGuard:UnableToMutateEVAPayStub",
15
- /**
16
- * Device with HardwareID {:string} was not found in mender.
17
- */
18
- LiveGuardBoarding_DeviceNotInMender = "LiveGuardBoarding:DeviceNotInMender",
19
- /**
20
- * Device with HardwareID {:string} was already boarded in mender.
21
- */
22
- LiveGuardBoarding_DeviceAlreadyBoarded = "LiveGuardBoarding:DeviceAlreadyBoarded",
23
- /**
24
- * Device with HardwareID {hardwareID:string} already exists with ID {deviceID:int64}.
25
- */
26
- LiveGuardBoarding_DeviceAlreadyExists = "LiveGuardBoarding:DeviceAlreadyExists",
27
- /**
28
- * OrganizationUnit {organizationUnitID:int64} already has a watchtower with ID {deviceID:int64}.
29
- */
30
- LiveGuardBoarding_DuplicateOrganizationUnit = "LiveGuardBoarding:DuplicateOrganizationUnit",
31
- /**
32
- * No registration request found for this device. (Please reboot the device and try again)
33
- */
34
- LiveGuardBoarding_NoRegistrationRequest = "LiveGuardBoarding:NoRegistrationRequest",
35
- /**
36
- * Error while accepting device keys.
37
- */
38
- LiveGuardBoarding_AuthorizationFailed = "LiveGuardBoarding:AuthorizationFailed",
39
- /**
40
- * Error while boarding the device: {:string}
41
- */
42
- LiveGuardBoarding_BoardingFailed = "LiveGuardBoarding:BoardingFailed",
43
- /**
44
- * There is no current connection to the selected device.
45
- */
46
- LiveGuardExecuteTask_NoConnection = "LiveGuardExecuteTask:NoConnection",
47
- /**
48
- * There is no current connection to the selected device.
49
- */
50
- WatchtowerExecuteCommand_NoConnection = "WatchtowerExecuteCommand:NoConnection",
51
- /**
52
- * Failed to connect to the device.
53
- */
54
- WatchtowerIO_ConnectionFailed = "WatchtowerIO:ConnectionFailed"
55
- }
56
1
  /**
57
- * Get an authentication token that's valid in the cloud for the current user
2
+ * Expose the service definitions
58
3
  */
59
- export interface LiveGuardGetCloudToken {
60
- UseJwtTokens?: boolean;
61
- }
62
- export interface LiveGuardGetCloudTokenResponse {
63
- AuthenticationToken: string;
64
- Error?: ServiceError;
65
- Metadata?: ResponseMessageMetadata;
66
- RefreshToken?: string;
67
- }
68
- /**
69
- * Returns id mapping for cloud vs liveguard entities
70
- */
71
- export interface LiveGuardGetMapping {
72
- }
73
- export interface LiveGuardGetMappingResponse {
74
- Error?: ServiceError;
75
- Mapping?: Record<string, Record<string, string> | null>;
76
- Metadata?: ResponseMessageMetadata;
77
- }
78
- /**
79
- * Service called by a liveguard instance to generate an authentication token for an authorized user on the liveguard
80
- *
81
- * Can only be called by the liveguard user
82
- */
83
- export interface LiveGuardGetTokenForUser {
84
- UseJwtTokens?: boolean;
85
- Username: string;
86
- }
87
- export interface LiveGuardGetTokenForUserResponse {
88
- AuthenticationToken: string;
89
- Error?: ServiceError;
90
- Metadata?: ResponseMessageMetadata;
91
- RefreshToken?: string;
92
- }
93
- /**
94
- * Create a new watchtower device
95
- *
96
- * To create a device for fallback IO, leave the HardwareID null
97
- * When a HardwareID is set, the device will be boarded in mender and prepared for use.
98
- */
99
- export interface CreateWatchtowerDevice {
100
- HardwareID?: string;
101
- Name: string;
102
- /**
103
- * Entity type: OrganizationUnit
104
- */
105
- OrganizationUnitID: string;
106
- }
107
- export interface CreateWatchtowerDeviceResponse {
108
- Error?: ServiceError;
109
- /**
110
- * Entity type: Device
111
- */
112
- ID: string;
113
- Metadata?: ResponseMessageMetadata;
114
- }
115
- /**
116
- * List the configured watchtower devices with their status
117
- */
118
- export interface ListWatchtowerDevices {
119
- PageConfig?: PageConfig<ServicesManagementListWatchtowerDevicesFilter>;
120
- }
121
- export interface ServicesManagementListWatchtowerDevicesFilter {
122
- /**
123
- * Entity type: Country
124
- */
125
- CountryID?: string;
126
- /**
127
- * Entity type: Device
128
- */
129
- DeviceID?: string;
130
- HardwareID?: string;
131
- IncludeChildOrganizationUnits?: boolean;
132
- IsWatchtowerConnected?: boolean;
133
- IsWatchtowerIOConnected?: boolean;
134
- IsWatchtowerOnline?: boolean;
135
- MenderID?: string;
136
- /**
137
- * Entity type: OrganizationUnit
138
- */
139
- OrganizationUnitID?: string;
140
- OrganizationUnitStatus?: DataModelsOrganizationUnitStatus;
141
- }
142
- export interface ListWatchtowerDevicesResponse {
143
- Error?: ServiceError;
144
- Metadata?: ResponseMessageMetadata;
145
- Result?: PagedResult<ServicesManagementListWatchtowerDevicesResponse_Watchtower>;
146
- }
147
- export interface ServicesManagementListWatchtowerDevicesResponse_Watchtower {
148
- HardwareID?: string;
149
- /**
150
- * Entity type: Device
151
- */
152
- ID: string;
153
- LastSeen?: string;
154
- Name?: string;
155
- Online: boolean;
156
- /**
157
- * Entity type: OrganizationUnit
158
- */
159
- OrganizationUnitBackendID?: string;
160
- /**
161
- * Entity type: Country
162
- */
163
- OrganizationUnitCountryID?: string;
164
- /**
165
- * Entity type: OrganizationUnit
166
- */
167
- OrganizationUnitID: string;
168
- OrganizationUnitName?: string;
169
- OrganizationUnitStatus: DataModelsOrganizationUnitStatus;
170
- WatchtowerConnected: boolean;
171
- WatchtowerIOConnected: boolean;
172
- WatchtowerIOLastSeen?: string;
173
- WatchtowerLastSeen?: string;
174
- }
175
- /**
176
- * Execute a command on a device
177
- */
178
- export interface LiveGuardExecuteTask {
179
- Catalog?: boolean;
180
- /**
181
- * Entity type: Device
182
- */
183
- DeviceID: string;
184
- General?: boolean;
185
- Users?: boolean;
186
- }
187
- /**
188
- * Push the current configuration for the given device to mender
189
- */
190
- export interface PushWatchtowerConfigurationToDevice {
191
- /**
192
- * Entity type: Device
193
- */
194
- DeviceID: string;
195
- }
196
- /**
197
- * Execute a command on a device
198
- */
199
- export interface WatchtowerExecuteCommand {
200
- Address?: string;
201
- /**
202
- * Entity type: Device
203
- */
204
- DeviceID: string;
205
- Port?: number;
206
- Type: string;
207
- }
208
- export interface WatchtowerExecuteCommandResponse {
209
- Error?: ServiceError;
210
- Metadata?: ResponseMessageMetadata;
211
- Output?: string;
212
- Success: boolean;
213
- }
214
- /**
215
- * Try to find the device by the HardwareID in mender
216
- *
217
- * Returns the DeviceID if already existing in EVA
218
- * Returns the MenderID if found in mender or already stored in EVA
219
- */
220
- export interface WatchtowerGetDeviceByHardwareID {
221
- HardwareID: string;
222
- }
223
- export interface WatchtowerGetDeviceByHardwareIDResponse {
224
- /**
225
- * Entity type: Device
226
- */
227
- DeviceID?: string;
228
- Error?: ServiceError;
229
- MenderID?: string;
230
- Metadata?: ResponseMessageMetadata;
231
- }
232
- /**
233
- * Get details about the given device.
234
- */
235
- export interface WatchtowerGetDeviceDetails {
236
- /**
237
- * Entity type: Device
238
- */
239
- DeviceID: string;
240
- }
241
- export interface WatchtowerGetDeviceDetailsResponse {
242
- /**
243
- * Only returned for virtual devices
244
- */
245
- ApiKey?: string;
246
- CatalogTaskState?: SchedulingTaskState;
247
- CatalogTaskStateLastRunTime?: string;
248
- EVAVersion?: string;
249
- EVAVersionLastCheckinTime?: string;
250
- Error?: ServiceError;
251
- GeneralTaskState?: SchedulingTaskState;
252
- GeneralTaskStateLastRunTime?: string;
253
- HardwareID?: string;
254
- ID: string;
255
- IOVersion?: string;
256
- IOVersionLastCheckinTime?: string;
257
- LastSeen?: string;
258
- LiveGuardStateLastCheckinTime?: string;
259
- MenderID?: string;
260
- Metadata?: ResponseMessageMetadata;
261
- NetworkInterfaces?: ServicesManagementWatchtowerGetDeviceDetailsResponse_NetworkInterface[];
262
- OSVersion?: string;
263
- OSVersionLastCheckinTime?: string;
264
- Online: boolean;
265
- OrganizationUnitBackendID?: string;
266
- /**
267
- * Entity type: Country
268
- */
269
- OrganizationUnitCountryID?: string;
270
- /**
271
- * Entity type: OrganizationUnit
272
- */
273
- OrganizationUnitID: string;
274
- OrganizationUnitName?: string;
275
- OrganizationUnitStatus: DataModelsOrganizationUnitStatus;
276
- PendingOrderExports?: number;
277
- ProductsCount?: number;
278
- SettingsCount?: number;
279
- State?: string;
280
- StateLastCheckinTime?: string;
281
- UserTaskState?: SchedulingTaskState;
282
- UserTaskStateLastRunTime?: string;
283
- UsersCount?: number;
284
- Virtual: boolean;
285
- WatchtowerConnected: boolean;
286
- WatchtowerIOConnected: boolean;
287
- WatchtowerIOLastSeen?: string;
288
- WatchtowerLastSeen?: string;
289
- }
290
- export interface ServicesManagementWatchtowerGetDeviceDetailsResponse_NetworkInterface {
291
- IPV4?: string;
292
- IPV6?: string;
293
- MacAddress?: string;
294
- Name?: string;
295
- }
296
- export interface EVAStatus {
297
- }
298
- export interface EVAStatusResponse {
299
- Error?: ServiceError;
300
- Metadata?: ResponseMessageMetadata;
301
- Ready: boolean;
302
- }
303
- /**
304
- * Returns some basic information about the current state of the liveGuard
305
- */
306
- export interface LiveGuardGetInformation {
307
- }
308
- export interface LiveGuardGetInformationResponse {
309
- Error?: ServiceError;
310
- HardwareID?: string;
311
- LastCatalogSync?: string;
312
- LastGeneralSync?: string;
313
- LastUserSync?: string;
314
- Metadata?: ResponseMessageMetadata;
315
- OrganizationUnitBackendID?: string;
316
- OrganizationUnitName?: string;
317
- PendingOrderExports: number;
318
- ProductsCount: number;
319
- SettingsCount: number;
320
- UsersCount: number;
321
- Version?: string;
322
- }
323
- /**
324
- * This service returns the operational flags for a liveguard instance.
325
- */
326
- export interface LiveGuardGetStatus {
327
- }
328
- export interface LiveGuardGetStatusResponse {
329
- DisableCheckTask: boolean;
330
- EVACloudAvailable: boolean;
331
- Error?: ServiceError;
332
- InternetAvailable: boolean;
333
- Metadata?: ResponseMessageMetadata;
334
- RunningOnWatchtower: boolean;
335
- }
336
- /**
337
- * Push metrics of the watchtower device to the cloud.
338
- */
339
- export interface LiveGuardPushMetrics {
340
- AvgLatency?: number;
341
- CPUUsage?: number;
342
- DiskUsage?: number;
343
- EVAVersion?: string;
344
- HardwareID: string;
345
- IOVersion?: string;
346
- LastBootTime?: string;
347
- Latency?: number;
348
- OSVersion?: string;
349
- RAMUsage?: number;
350
- State?: string;
351
- Temperature?: number;
352
- }
353
- /**
354
- * This service overrides the operational flags for a liveguard instance.
355
- *
356
- * This should never be used in production environments. This is used to mimick offline scenario's in liveguard deployments in the cloud.
357
- */
358
- export interface LiveGuardSetStatus {
359
- /**
360
- * Disable the automatic task that checks for Internet/EVACloud. This should be set to true if these properties need to be managed by hand.
361
- */
362
- DisableCheckTask?: boolean;
363
- /**
364
- * Flag this environment as if the cloud deployment of EVA is not availabled. Will disable a lot of functionality.
365
- */
366
- EVACloudAvailable?: boolean;
367
- /**
368
- * Flag this environment as if it has no working internet connection. Will disable a lot of functionality.
369
- */
370
- InternetAvailable?: boolean;
371
- /**
372
- * Flag this environment as if it's running on a watchtower device. Will disable a lot of functionality.
373
- */
374
- RunningOnWatchtower?: boolean;
375
- }
376
- /**
377
- * Get user information to sync to LiveGuard
378
- */
379
- export interface GetUserForLiveGuard {
380
- EmailAddress?: string;
381
- NickName?: string;
382
- /**
383
- * Entity type: User
384
- */
385
- UserID?: string;
386
- }
387
- export interface GetUserForLiveGuardResponse {
388
- AuthenticationData?: ServicesSyncGetUserForLiveGuardResponse_AuthenticationDataDto[];
389
- BackendID?: string;
390
- BackendSystemID?: string;
391
- /**
392
- * Entity type: Country
393
- */
394
- CountryID?: string;
395
- EmailAddress?: string;
396
- Error?: ServiceError;
397
- FirstName?: string;
398
- /**
399
- * Entity type: Language
400
- */
401
- LanguageID?: string;
402
- LastName?: string;
403
- Metadata?: ResponseMessageMetadata;
404
- Nickname?: string;
405
- Roles?: ServicesSyncGetUserForLiveGuardResponse_RoleDto[];
406
- TimeZone?: string;
407
- Type: UserTypes;
408
- }
409
- export interface ServicesSyncGetUserForLiveGuardResponse_AuthenticationDataDto {
410
- Data?: string;
411
- SearchKey?: string;
412
- Type?: string;
413
- }
414
- export interface ServicesSyncGetUserForLiveGuardResponse_FunctionalityDto {
415
- Functionality: string;
416
- FunctionalityScope: SecurityFunctionalityScope;
417
- RequiresElevation: boolean;
418
- }
419
- export interface ServicesSyncGetUserForLiveGuardResponse_RoleDto {
420
- Code?: string;
421
- DeactivateUserAfterInactiveDays?: number;
422
- Functionalities: ServicesSyncGetUserForLiveGuardResponse_FunctionalityDto[];
423
- GlobalID?: string;
424
- Name?: string;
425
- UserType: UserTypes;
426
- }
427
- export interface LiveGuardGenerateApiKey {
428
- /**
429
- * Entity type: OrganizationUnit
430
- */
431
- OrganizationUnitID: string;
432
- }
433
- export interface LiveGuardGenerateApiKeyResponse {
434
- ApiKey: string;
435
- Error?: ServiceError;
436
- Metadata?: ResponseMessageMetadata;
437
- }
438
- /**
439
- * Retreive current chain status for the connected watchtower
440
- */
441
- export interface LiveGuardGetAuditChains {
442
- }
443
- export interface LiveGuardGetAuditChainsResponse {
444
- Chains?: TasksChainDto[];
445
- Error?: ServiceError;
446
- Metadata?: ResponseMessageMetadata;
447
- }
448
- /**
449
- * Retreive current secret for TOTP token usage
450
- */
451
- export interface LiveGuardGetTOTPSecret {
452
- }
453
- export interface LiveGuardGetTOTPSecretResponse {
454
- Error?: ServiceError;
455
- Metadata?: ResponseMessageMetadata;
456
- Secret: LiveGuardTOTPSecretWrapper;
457
- }
458
- /**
459
- * Accepts an Order pushed from a LiveGuard instance
460
- */
461
- export interface LiveGuardPushOrder {
462
- BillingAddress?: AddressesAddressDataDto;
463
- BlobID: string;
464
- Blobs?: ServicesSyncLiveGuardPushOrder_OrderBlobDto[];
465
- Chains?: TasksChainDto[];
466
- CreationTime?: string;
467
- Customer?: ServicesSyncLiveGuardPushOrder_CustomerDto;
468
- CustomerIdentifiers?: ServicesSyncLiveGuardPushOrder_OrderCustomerIdentifiersDto;
469
- Invoices?: ServicesSyncLiveGuardPushOrder_InvoiceDto[];
470
- IsPaid?: boolean;
471
- IsShipped?: boolean;
472
- Lines?: ServicesSyncLiveGuardPushOrder_OrderLineDto[];
473
- LiveGuardOrderID?: string;
474
- Payments?: ServicesSyncLiveGuardPushOrder_PaymentDto[];
475
- PickupAddress?: AddressesAddressDataDto;
476
- Remark?: string;
477
- ShippingAddress?: AddressesAddressDataDto;
478
- SoldBy?: string;
479
- }
480
- export interface ServicesSyncLiveGuardPushOrder_ChainLedgerDto {
481
- CreationTime: string;
482
- NewSequenceNumber: number;
483
- NewSignature?: string;
484
- PreviousSequenceNumber: number;
485
- PreviousSignature?: string;
486
- }
487
- export interface ServicesSyncLiveGuardPushOrder_CustomerDto {
488
- CountryID?: string;
489
- EmailAddress?: string;
490
- FirstName?: string;
491
- Gender?: string;
492
- LanguageID?: string;
493
- LastName?: string;
494
- LiveGuardID: string;
495
- PhoneNumber?: string;
496
- }
497
- export interface ServicesSyncLiveGuardPushOrder_InvoiceBlobDto {
498
- BackendID?: string;
499
- BlobID: string;
500
- Category?: string;
501
- MimeType?: string;
502
- OriginalName?: string;
503
- }
504
- export interface ServicesSyncLiveGuardPushOrder_InvoiceDataDto {
505
- Data?: string;
506
- SearchKey?: string;
507
- Type?: string;
508
- }
509
- export interface ServicesSyncLiveGuardPushOrder_InvoiceDocumentLedgerDto {
510
- ChainID?: string;
511
- FailureReason?: string;
512
- Format: DataModelsInvoiceDocumentLedgerFormats;
513
- InvoiceDocumentLedgerData?: DataModelsInvoiceDocumentLedgerData;
514
- IsSuccess?: boolean;
515
- OriginalDeviceID?: string;
516
- PreviousSequenceNumber?: string;
517
- PreviousSignature?: string;
518
- ReportContentBlobID?: string;
519
- ReprintNumber?: number;
520
- SequenceNumber: string;
521
- Signature?: string;
522
- Type: DataModelsInvoiceDocumentLedgerTypes;
523
- }
524
- export interface ServicesSyncLiveGuardPushOrder_InvoiceDto {
525
- AuditingProvider?: string;
526
- BackendID?: string;
527
- BackendSystemID?: string;
528
- BackendTypeID?: number;
529
- Blobs?: ServicesSyncLiveGuardPushOrder_InvoiceBlobDto[];
530
- CalculationMethod: DataModelsInvoiceCalculationMethod;
531
- ChainID?: string;
532
- CurrencyID?: string;
533
- Description?: string;
534
- DocumentLedger?: ServicesSyncLiveGuardPushOrder_InvoiceDocumentLedgerDto[];
535
- FiscalID?: string;
536
- ID: string;
537
- InvoiceData?: ServicesSyncLiveGuardPushOrder_InvoiceDataDto[];
538
- InvoiceDate?: string;
539
- InvoiceNumber?: string;
540
- Lines?: ServicesSyncLiveGuardPushOrder_InvoiceLineDto[];
541
- PreviousSignature?: string;
542
- PrintCount?: number;
543
- ReferencedInvoice?: string;
544
- SequenceNumber?: string;
545
- Signature?: string;
546
- StationID?: string;
547
- Status: DataModelsInvoiceStatuses;
548
- TaxReverseCharge?: boolean;
549
- TotalAmount: number;
550
- Type: DataModelsInvoiceTypes;
551
- UserData?: ServicesSyncLiveGuardPushOrder_InvoiceUserDataDto;
552
- VatNumber?: string;
553
- }
554
- export interface ServicesSyncLiveGuardPushOrder_InvoiceLineDiscountDetailDto {
555
- Amount: number;
556
- BackendID?: string;
557
- Description?: string;
558
- }
559
- export interface ServicesSyncLiveGuardPushOrder_InvoiceLineDto {
560
- DiscountAmount: number;
561
- DiscountDetails?: ServicesSyncLiveGuardPushOrder_InvoiceLineDiscountDetailDto[];
562
- InvoiceData?: ServicesSyncLiveGuardPushOrder_InvoiceDataDto[];
563
- InvoicedBy?: string;
564
- OrderLineID: string;
565
- Quantity?: number;
566
- TaxAmount?: number;
567
- TaxCode?: string;
568
- TaxDetails?: ServicesSyncLiveGuardPushOrder_InvoiceLineTaxDetailDto[];
569
- TaxRate: number;
570
- TaxRateCategory?: DataModelsTaxRateCategory;
571
- TotalAmountInvoiced: number;
572
- TotalAmountInvoicedInTax: number;
573
- Type: DataModelsInvoiceLineTypes;
574
- UnitCost?: number;
575
- UnitPrice?: number;
576
- }
577
- export interface ServicesSyncLiveGuardPushOrder_InvoiceLineTaxDetailDto {
578
- TaxAmount: number;
579
- TaxName?: string;
580
- TaxRate: number;
581
- TaxSubType?: string;
582
- TaxSubTypeName?: string;
583
- TaxType?: string;
584
- }
585
- export interface ServicesSyncLiveGuardPushOrder_InvoiceUserDataDto {
586
- BackendRelationID?: string;
587
- BankAccount?: string;
588
- BillingAddress?: AddressesAddressDataDto;
589
- Company?: CompaniesCompanyDto;
590
- CountryID?: string;
591
- EmailAddress?: string;
592
- FirstName?: string;
593
- FiscalID?: string;
594
- Gender?: string;
595
- Initials?: string;
596
- LanguageID?: string;
597
- LastName?: string;
598
- OrganizationUnitAddress?: AddressesAddressDataDto;
599
- OrganizationUnitAddress1?: string;
600
- OrganizationUnitAddress2?: string;
601
- OrganizationUnitBIC?: string;
602
- OrganizationUnitBackendID?: string;
603
- OrganizationUnitBranchNumber?: string;
604
- OrganizationUnitCity?: string;
605
- OrganizationUnitCompany?: CompaniesCompanyDto;
606
- OrganizationUnitCompanyVatNumber?: string;
607
- OrganizationUnitCountryID?: string;
608
- OrganizationUnitDistrict?: string;
609
- OrganizationUnitEmailAddress?: string;
610
- OrganizationUnitEstablishmentNumber?: string;
611
- OrganizationUnitHouseNumber?: string;
612
- OrganizationUnitName?: string;
613
- OrganizationUnitPhoneNumber?: string;
614
- OrganizationUnitState?: string;
615
- OrganizationUnitSubDistrict?: string;
616
- OrganizationUnitWebsite?: string;
617
- OrganizationUnitZipCode?: string;
618
- PhoneNumber?: string;
619
- ShippingAddress?: AddressesAddressDataDto;
620
- }
621
- export interface ServicesSyncLiveGuardPushOrder_OrderBlobDto {
622
- BlobID: string;
623
- InvoiceID?: string;
624
- Name?: string;
625
- OrderLineID?: string;
626
- Type: DataModelsOrderBlobTypes;
627
- }
628
- export interface ServicesSyncLiveGuardPushOrder_OrderCustomerIdentifiersDto {
629
- EmailAddress?: string;
630
- UserBackendID?: string;
631
- UserCustomID?: string;
632
- UserID?: string;
633
- UserSubscriptionID?: string;
634
- }
635
- export interface ServicesSyncLiveGuardPushOrder_OrderLineDiscount {
636
- Amount: number;
637
- BackendID?: string;
638
- Description?: string;
639
- OrderLineID: string;
640
- }
641
- export interface ServicesSyncLiveGuardPushOrder_OrderLineDto {
642
- Amount: number;
643
- BackendID?: string;
644
- CustomID?: string;
645
- Description?: string;
646
- Discounts?: ServicesSyncLiveGuardPushOrder_OrderLineDiscount[];
647
- ID: string;
648
- Quantity?: number;
649
- SerialNumber?: string;
650
- TaxDetails?: ServicesSyncLiveGuardPushOrder_OrderLineTaxDetail[];
651
- TaxRate: number;
652
- UnitPriceBeforeCorrection?: number;
653
- UnitPriceCorrectionReason?: string;
654
- }
655
- export interface ServicesSyncLiveGuardPushOrder_OrderLineTaxDetail {
656
- TaxAmount: number;
657
- TaxName?: string;
658
- TaxRate: number;
659
- TaxSubType?: string;
660
- TaxSubTypeName?: string;
661
- TaxType?: string;
662
- }
663
- export interface ServicesSyncLiveGuardPushOrder_PaymentDto {
664
- Amount: number;
665
- BackendID?: string;
666
- Data?: string;
667
- ID: string;
668
- Method?: string;
669
- OriginalDeviceID?: string;
670
- Type?: string;
671
- }
672
- export interface LiveGuardPushOrderResponse {
673
- AlreadyExists: boolean;
674
- Error?: ServiceError;
675
- ID: string;
676
- Metadata?: ResponseMessageMetadata;
677
- }
678
- export interface LiveGuardSyncCatalogByBlob {
679
- }
680
- export interface LiveGuardSyncCatalogByBlobResponse {
681
- Bundles?: string;
682
- EcoTaxPriceList?: string;
683
- Error?: ServiceError;
684
- Metadata?: ResponseMessageMetadata;
685
- PriceList?: string;
686
- Products?: string;
687
- PromotionPriceList?: string;
688
- }
689
- export interface LiveGuardSyncGeneralByBlob {
690
- }
691
- export interface LiveGuardSyncGeneralByBlobResponse {
692
- Error?: ServiceError;
693
- ID?: string;
694
- Metadata?: ResponseMessageMetadata;
695
- }
696
- export interface LiveGuardSyncUsersByBlob {
697
- }
698
- export interface LiveGuardSyncUsersByBlobResponse {
699
- Error?: ServiceError;
700
- Metadata?: ResponseMessageMetadata;
701
- Url?: string;
702
- }
703
- /**
704
- * Trigger a full sync on a liveguard instance, this has major performance impact for a while
705
- */
706
- export interface LiveGuardTriggerSync {
707
- }
708
- export interface TasksChainDto {
709
- CurrentSequenceNumber: number;
710
- CurrentSignature?: string;
711
- Discriminator: number;
712
- ID: string;
713
- Identifier?: string;
714
- PreviousSequenceNumber: number;
715
- PreviousSignature?: string;
716
- RecentLedgers?: ServicesSyncLiveGuardPushOrder_ChainLedgerDto[];
717
- Type: AuditingAuditChainTypes;
718
- Version: number;
719
- }
4
+ export * from './EVA.Core.LiveGuard.Services.js';
720
5
  //# sourceMappingURL=eva-services-core-live-guard.d.ts.map