@captureid/datatypes 0.0.75 → 0.0.78
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/esm2022/lib/enums.mjs +28 -18
- package/esm2022/lib/logging.mjs +3 -2
- package/esm2022/lib/model/auth/register-request.mjs +3 -2
- package/esm2022/lib/model/common/role-object.mjs +46 -0
- package/esm2022/lib/model/configuration/menu-object.mjs +36 -0
- package/esm2022/lib/model/statistic/statistic-object.mjs +21 -0
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/captureid-datatypes.mjs +209 -103
- package/fesm2022/captureid-datatypes.mjs.map +1 -1
- package/lib/enums.d.ts +19 -9
- package/lib/logging.d.ts +3 -1
- package/lib/model/auth/register-request.d.ts +2 -1
- package/lib/model/common/role-object.d.ts +42 -0
- package/lib/model/configuration/menu-object.d.ts +48 -0
- package/lib/model/statistic/statistic-object.d.ts +16 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
|
@@ -74,6 +74,13 @@ var DataType;
|
|
|
74
74
|
DataType[DataType["ESLTEMPLATE"] = 56] = "ESLTEMPLATE";
|
|
75
75
|
DataType[DataType["ITEMSHORT"] = 57] = "ITEMSHORT";
|
|
76
76
|
DataType[DataType["CART"] = 58] = "CART";
|
|
77
|
+
DataType[DataType["PAYMENT"] = 59] = "PAYMENT";
|
|
78
|
+
DataType[DataType["LOGENTRY"] = 60] = "LOGENTRY";
|
|
79
|
+
DataType[DataType["STATISTIC"] = 61] = "STATISTIC";
|
|
80
|
+
DataType[DataType["ROLE"] = 62] = "ROLE";
|
|
81
|
+
DataType[DataType["USERACCESS"] = 63] = "USERACCESS";
|
|
82
|
+
DataType[DataType["RESOURCE"] = 64] = "RESOURCE";
|
|
83
|
+
DataType[DataType["MENU"] = 65] = "MENU";
|
|
77
84
|
})(DataType || (DataType = {}));
|
|
78
85
|
var BookingType;
|
|
79
86
|
(function (BookingType) {
|
|
@@ -306,31 +313,34 @@ var Unit;
|
|
|
306
313
|
}
|
|
307
314
|
Unit.values = values;
|
|
308
315
|
})(Unit || (Unit = {}));
|
|
309
|
-
var
|
|
310
|
-
(function (
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
316
|
+
var Severity;
|
|
317
|
+
(function (Severity) {
|
|
318
|
+
Severity[Severity["UNKNOWN"] = 0] = "UNKNOWN";
|
|
319
|
+
Severity[Severity["EMERGENCY"] = 1] = "EMERGENCY";
|
|
320
|
+
Severity[Severity["ALERT"] = 2] = "ALERT";
|
|
321
|
+
Severity[Severity["CRITICAL"] = 3] = "CRITICAL";
|
|
322
|
+
Severity[Severity["ERROR"] = 4] = "ERROR";
|
|
323
|
+
Severity[Severity["WARNING"] = 5] = "WARNING";
|
|
324
|
+
Severity[Severity["NOTICE"] = 6] = "NOTICE";
|
|
325
|
+
Severity[Severity["INFORMATION"] = 7] = "INFORMATION";
|
|
326
|
+
Severity[Severity["DEBUG"] = 8] = "DEBUG";
|
|
327
|
+
})(Severity || (Severity = {}));
|
|
328
|
+
(function (Severity) {
|
|
319
329
|
function valueOf(str) {
|
|
320
|
-
return
|
|
330
|
+
return Severity[str];
|
|
321
331
|
}
|
|
322
|
-
|
|
332
|
+
Severity.valueOf = valueOf;
|
|
323
333
|
function values() {
|
|
324
334
|
let res = [];
|
|
325
|
-
for (const value in Object.values(
|
|
326
|
-
if (isNaN(Object.values(
|
|
327
|
-
res.push(Object.values(
|
|
335
|
+
for (const value in Object.values(Severity)) {
|
|
336
|
+
if (isNaN(Object.values(Severity)[value]) && typeof (Object.values(Severity)[value]) !== 'function') {
|
|
337
|
+
res.push(Object.values(Severity)[value]);
|
|
328
338
|
}
|
|
329
339
|
}
|
|
330
340
|
return res;
|
|
331
341
|
}
|
|
332
|
-
|
|
333
|
-
})(
|
|
342
|
+
Severity.values = values;
|
|
343
|
+
})(Severity || (Severity = {}));
|
|
334
344
|
var MessageType;
|
|
335
345
|
(function (MessageType) {
|
|
336
346
|
MessageType[MessageType["ERROR"] = 1] = "ERROR";
|
|
@@ -355,7 +365,8 @@ var MessageType;
|
|
|
355
365
|
})(MessageType || (MessageType = {}));
|
|
356
366
|
|
|
357
367
|
class Logging {
|
|
358
|
-
constructor(level, message, exception, timestamp) {
|
|
368
|
+
constructor(severity, level, message, exception, timestamp) {
|
|
369
|
+
this.severity = severity;
|
|
359
370
|
this.level = level;
|
|
360
371
|
this.message = message;
|
|
361
372
|
this.exception = exception;
|
|
@@ -373,10 +384,10 @@ class DataVersion {
|
|
|
373
384
|
}
|
|
374
385
|
}
|
|
375
386
|
|
|
376
|
-
const version$
|
|
387
|
+
const version$E = new DataVersion(1, 0, 0, 0);
|
|
377
388
|
class DataDto {
|
|
378
389
|
constructor(data) {
|
|
379
|
-
this.version = version$
|
|
390
|
+
this.version = version$E;
|
|
380
391
|
if (data === undefined) {
|
|
381
392
|
this.data = [];
|
|
382
393
|
}
|
|
@@ -441,11 +452,12 @@ class AuthResponse {
|
|
|
441
452
|
}
|
|
442
453
|
|
|
443
454
|
class RegisterRequest {
|
|
444
|
-
constructor(firstname, lastname, email, password, address, role, use2fa) {
|
|
455
|
+
constructor(firstname, lastname, email, phone, password, address, role, use2fa) {
|
|
445
456
|
this.use2fa = true;
|
|
446
457
|
this.firstname = firstname;
|
|
447
458
|
this.lastname = lastname;
|
|
448
459
|
this.email = email;
|
|
460
|
+
this.phone = phone;
|
|
449
461
|
this.password = password;
|
|
450
462
|
this.address = address;
|
|
451
463
|
this.role = role;
|
|
@@ -460,17 +472,17 @@ class VerifyRequest {
|
|
|
460
472
|
}
|
|
461
473
|
}
|
|
462
474
|
|
|
463
|
-
const version$
|
|
475
|
+
const version$D = new DataVersion(1, 0, 0, 0);
|
|
464
476
|
class AuthenticationData {
|
|
465
477
|
}
|
|
466
478
|
class AuthenticationObject extends DataObject {
|
|
467
479
|
constructor(data) {
|
|
468
|
-
super('', DataType.AUTHENTICATION, version$
|
|
480
|
+
super('', DataType.AUTHENTICATION, version$D);
|
|
469
481
|
this.data = data;
|
|
470
482
|
}
|
|
471
483
|
}
|
|
472
484
|
|
|
473
|
-
const version$
|
|
485
|
+
const version$C = new DataVersion(1, 0, 0, 0);
|
|
474
486
|
class User {
|
|
475
487
|
constructor(id, firstname, lastname, email, role, phone, mobile, city, zipcode, street, no, country, state, dateOfBirth, avatarImg, context, credentialsNonExpired) {
|
|
476
488
|
this.firstname = firstname;
|
|
@@ -493,7 +505,7 @@ class User {
|
|
|
493
505
|
}
|
|
494
506
|
class UserObject extends DataObject {
|
|
495
507
|
constructor(data) {
|
|
496
|
-
super('', DataType.USER, version$
|
|
508
|
+
super('', DataType.USER, version$C);
|
|
497
509
|
this.data = data;
|
|
498
510
|
}
|
|
499
511
|
}
|
|
@@ -523,7 +535,7 @@ var Context;
|
|
|
523
535
|
Context.values = values;
|
|
524
536
|
})(Context || (Context = {}));
|
|
525
537
|
|
|
526
|
-
const version$
|
|
538
|
+
const version$B = new DataVersion(1, 0, 0, 0);
|
|
527
539
|
class Manufacturer {
|
|
528
540
|
constructor(id, name, email, website, addresses) {
|
|
529
541
|
this.id = id;
|
|
@@ -535,12 +547,12 @@ class Manufacturer {
|
|
|
535
547
|
}
|
|
536
548
|
class ManufacturerObject extends DataObject {
|
|
537
549
|
constructor(data) {
|
|
538
|
-
super('', DataType.MANUFACTURER, version$
|
|
550
|
+
super('', DataType.MANUFACTURER, version$B);
|
|
539
551
|
this.data = data;
|
|
540
552
|
}
|
|
541
553
|
}
|
|
542
554
|
|
|
543
|
-
const version$
|
|
555
|
+
const version$A = new DataVersion(1, 0, 0, 0);
|
|
544
556
|
class License {
|
|
545
557
|
constructor(id, companyid, licensekey, validuntil) {
|
|
546
558
|
this.id = id;
|
|
@@ -551,12 +563,12 @@ class License {
|
|
|
551
563
|
}
|
|
552
564
|
class LicenseObject extends DataObject {
|
|
553
565
|
constructor(data) {
|
|
554
|
-
super('', DataType.LICENSE, version$
|
|
566
|
+
super('', DataType.LICENSE, version$A);
|
|
555
567
|
this.data = data;
|
|
556
568
|
}
|
|
557
569
|
}
|
|
558
570
|
|
|
559
|
-
const version$
|
|
571
|
+
const version$z = new DataVersion(1, 0, 0, 0);
|
|
560
572
|
class AddressType {
|
|
561
573
|
}
|
|
562
574
|
class AddressToCompany {
|
|
@@ -574,12 +586,12 @@ class Address {
|
|
|
574
586
|
}
|
|
575
587
|
class AddressObject extends DataObject {
|
|
576
588
|
constructor(data) {
|
|
577
|
-
super('', DataType.ADDRESS, version$
|
|
589
|
+
super('', DataType.ADDRESS, version$z);
|
|
578
590
|
this.data = data;
|
|
579
591
|
}
|
|
580
592
|
}
|
|
581
593
|
|
|
582
|
-
const version$
|
|
594
|
+
const version$y = new DataVersion(1, 0, 0, 0);
|
|
583
595
|
class WebTemplates {
|
|
584
596
|
}
|
|
585
597
|
class EmailTemplates {
|
|
@@ -588,12 +600,12 @@ class Client {
|
|
|
588
600
|
}
|
|
589
601
|
class ClientObject extends DataObject {
|
|
590
602
|
constructor(data) {
|
|
591
|
-
super('', DataType.CLIENT, version$
|
|
603
|
+
super('', DataType.CLIENT, version$y);
|
|
592
604
|
this.data = data;
|
|
593
605
|
}
|
|
594
606
|
}
|
|
595
607
|
|
|
596
|
-
const version$
|
|
608
|
+
const version$x = new DataVersion(1, 0, 0, 0);
|
|
597
609
|
class Currency {
|
|
598
610
|
constructor(id, name, isocode, symbol) {
|
|
599
611
|
this.id = id;
|
|
@@ -604,12 +616,12 @@ class Currency {
|
|
|
604
616
|
}
|
|
605
617
|
class CurrencyObject extends DataObject {
|
|
606
618
|
constructor(data) {
|
|
607
|
-
super('', DataType.CURRENCY, version$
|
|
619
|
+
super('', DataType.CURRENCY, version$x);
|
|
608
620
|
this.data = data;
|
|
609
621
|
}
|
|
610
622
|
}
|
|
611
623
|
|
|
612
|
-
const version$
|
|
624
|
+
const version$w = new DataVersion(1, 0, 0, 0);
|
|
613
625
|
class Country {
|
|
614
626
|
constructor(id, name) {
|
|
615
627
|
this.id = id;
|
|
@@ -618,12 +630,12 @@ class Country {
|
|
|
618
630
|
}
|
|
619
631
|
class CountryObject extends DataObject {
|
|
620
632
|
constructor(data) {
|
|
621
|
-
super('', DataType.COUNTRY, version$
|
|
633
|
+
super('', DataType.COUNTRY, version$w);
|
|
622
634
|
this.data = data;
|
|
623
635
|
}
|
|
624
636
|
}
|
|
625
637
|
|
|
626
|
-
const version$
|
|
638
|
+
const version$v = new DataVersion(1, 0, 0, 0);
|
|
627
639
|
class Image {
|
|
628
640
|
constructor(width, height, url, blob) {
|
|
629
641
|
this.width = width;
|
|
@@ -634,7 +646,7 @@ class Image {
|
|
|
634
646
|
}
|
|
635
647
|
class ImageObject extends DataObject {
|
|
636
648
|
constructor(data) {
|
|
637
|
-
super('', DataType.IMAGE, version$
|
|
649
|
+
super('', DataType.IMAGE, version$v);
|
|
638
650
|
this.data = data;
|
|
639
651
|
}
|
|
640
652
|
getEntryCount() {
|
|
@@ -651,17 +663,17 @@ class VATHistory {
|
|
|
651
663
|
}
|
|
652
664
|
}
|
|
653
665
|
|
|
654
|
-
const version$
|
|
666
|
+
const version$u = new DataVersion(1, 0, 0, 0);
|
|
655
667
|
class Module {
|
|
656
668
|
}
|
|
657
669
|
class ModuleObject extends DataObject {
|
|
658
670
|
constructor(data) {
|
|
659
|
-
super('', DataType.MODULE, version$
|
|
671
|
+
super('', DataType.MODULE, version$u);
|
|
660
672
|
this.data = data;
|
|
661
673
|
}
|
|
662
674
|
}
|
|
663
675
|
|
|
664
|
-
const version$
|
|
676
|
+
const version$t = new DataVersion(1, 0, 0, 0);
|
|
665
677
|
class Location {
|
|
666
678
|
constructor(id, name, description, company, address, building) {
|
|
667
679
|
this.id = id;
|
|
@@ -697,30 +709,30 @@ class Room {
|
|
|
697
709
|
}
|
|
698
710
|
class LocationObject extends DataObject {
|
|
699
711
|
constructor(data) {
|
|
700
|
-
super('', DataType.LOCATION, version$
|
|
712
|
+
super('', DataType.LOCATION, version$t);
|
|
701
713
|
this.data = data;
|
|
702
714
|
}
|
|
703
715
|
}
|
|
704
716
|
class BuildingObject extends DataObject {
|
|
705
717
|
constructor(data) {
|
|
706
|
-
super('', DataType.BUILDING, version$
|
|
718
|
+
super('', DataType.BUILDING, version$t);
|
|
707
719
|
this.data = data;
|
|
708
720
|
}
|
|
709
721
|
}
|
|
710
722
|
class FloorObject extends DataObject {
|
|
711
723
|
constructor(data) {
|
|
712
|
-
super('', DataType.FLOOR, version$
|
|
724
|
+
super('', DataType.FLOOR, version$t);
|
|
713
725
|
this.data = data;
|
|
714
726
|
}
|
|
715
727
|
}
|
|
716
728
|
class RoomObject extends DataObject {
|
|
717
729
|
constructor(data) {
|
|
718
|
-
super('', DataType.ROOM, version$
|
|
730
|
+
super('', DataType.ROOM, version$t);
|
|
719
731
|
this.data = data;
|
|
720
732
|
}
|
|
721
733
|
}
|
|
722
734
|
|
|
723
|
-
const version$
|
|
735
|
+
const version$s = new DataVersion(1, 0, 0, 0);
|
|
724
736
|
class Company {
|
|
725
737
|
constructor(id, name, form, taxno, taxid, addresses, website, registerno) {
|
|
726
738
|
this.id = id;
|
|
@@ -735,12 +747,12 @@ class Company {
|
|
|
735
747
|
}
|
|
736
748
|
class CompanyObject extends DataObject {
|
|
737
749
|
constructor(data) {
|
|
738
|
-
super('', DataType.COMPANY, version$
|
|
750
|
+
super('', DataType.COMPANY, version$s);
|
|
739
751
|
this.data = data;
|
|
740
752
|
}
|
|
741
753
|
}
|
|
742
754
|
|
|
743
|
-
const version$
|
|
755
|
+
const version$r = new DataVersion(1, 0, 0, 0);
|
|
744
756
|
class Vendor {
|
|
745
757
|
constructor(id, name, website, description) {
|
|
746
758
|
this.id = id;
|
|
@@ -751,7 +763,7 @@ class Vendor {
|
|
|
751
763
|
}
|
|
752
764
|
class VendorObject extends DataObject {
|
|
753
765
|
constructor(data) {
|
|
754
|
-
super('', DataType.VENDOR, version$
|
|
766
|
+
super('', DataType.VENDOR, version$r);
|
|
755
767
|
this.data = data;
|
|
756
768
|
}
|
|
757
769
|
getEntryCount() {
|
|
@@ -759,7 +771,7 @@ class VendorObject extends DataObject {
|
|
|
759
771
|
}
|
|
760
772
|
}
|
|
761
773
|
|
|
762
|
-
const version$
|
|
774
|
+
const version$q = new DataVersion(1, 0, 0, 0);
|
|
763
775
|
class AccessPoint {
|
|
764
776
|
constructor(id, ipaddress, wifiaddress, btaddress, macaddress, serial, model, softwareversion, hardwareversion, vendor) {
|
|
765
777
|
this.id = id;
|
|
@@ -776,7 +788,7 @@ class AccessPoint {
|
|
|
776
788
|
}
|
|
777
789
|
class AccessPointObject extends DataObject {
|
|
778
790
|
constructor(data) {
|
|
779
|
-
super('', DataType.ACCESSPOINT, version$
|
|
791
|
+
super('', DataType.ACCESSPOINT, version$q);
|
|
780
792
|
this.data = data;
|
|
781
793
|
}
|
|
782
794
|
getEntryCount() {
|
|
@@ -784,7 +796,7 @@ class AccessPointObject extends DataObject {
|
|
|
784
796
|
}
|
|
785
797
|
}
|
|
786
798
|
|
|
787
|
-
const version$
|
|
799
|
+
const version$p = new DataVersion(1, 0, 0, 0);
|
|
788
800
|
class Message {
|
|
789
801
|
constructor(messagetype, code, name, message) {
|
|
790
802
|
this.messagetype = messagetype;
|
|
@@ -795,7 +807,7 @@ class Message {
|
|
|
795
807
|
}
|
|
796
808
|
class MessageObject extends DataObject {
|
|
797
809
|
constructor(data) {
|
|
798
|
-
super('', DataType.MESSAGE, version$
|
|
810
|
+
super('', DataType.MESSAGE, version$p);
|
|
799
811
|
this.data = data;
|
|
800
812
|
}
|
|
801
813
|
getEntryCount() {
|
|
@@ -803,7 +815,7 @@ class MessageObject extends DataObject {
|
|
|
803
815
|
}
|
|
804
816
|
}
|
|
805
817
|
|
|
806
|
-
const version$
|
|
818
|
+
const version$o = new DataVersion(1, 0, 0, 0);
|
|
807
819
|
class CartItem {
|
|
808
820
|
constructor(item, amount, space, price) {
|
|
809
821
|
this.item = item;
|
|
@@ -826,7 +838,7 @@ class Cart {
|
|
|
826
838
|
}
|
|
827
839
|
class CartObject extends DataObject {
|
|
828
840
|
constructor(data) {
|
|
829
|
-
super('', DataType.CART, version$
|
|
841
|
+
super('', DataType.CART, version$o);
|
|
830
842
|
this.data = data;
|
|
831
843
|
}
|
|
832
844
|
getEntryCount() {
|
|
@@ -834,7 +846,83 @@ class CartObject extends DataObject {
|
|
|
834
846
|
}
|
|
835
847
|
}
|
|
836
848
|
|
|
837
|
-
const version$
|
|
849
|
+
const version$n = new DataVersion(1, 0, 0, 0);
|
|
850
|
+
class Role {
|
|
851
|
+
constructor(id, name, description) {
|
|
852
|
+
this.id = id;
|
|
853
|
+
this.name = name;
|
|
854
|
+
this.description = description;
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
class Resource {
|
|
858
|
+
constructor(id, name, description, roles) {
|
|
859
|
+
this.id = id;
|
|
860
|
+
this.name = name;
|
|
861
|
+
this.description = description;
|
|
862
|
+
this.roles = roles;
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
class UserAccess {
|
|
866
|
+
constructor(id, name, roles, users) {
|
|
867
|
+
this.id = id;
|
|
868
|
+
this.name = name;
|
|
869
|
+
this.roles = roles;
|
|
870
|
+
this.users = users;
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
class RoleObject extends DataObject {
|
|
874
|
+
constructor(data) {
|
|
875
|
+
super('', DataType.ROLE, version$n);
|
|
876
|
+
this.data = data;
|
|
877
|
+
}
|
|
878
|
+
getEntryCount() {
|
|
879
|
+
return this.data.length;
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
class UserAccessObject extends DataObject {
|
|
883
|
+
constructor(data) {
|
|
884
|
+
super('', DataType.USERACCESS, version$n);
|
|
885
|
+
this.data = data;
|
|
886
|
+
}
|
|
887
|
+
getEntryCount() {
|
|
888
|
+
return this.data.length;
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
const version$m = new DataVersion(1, 0, 0, 0);
|
|
893
|
+
class menuitem {
|
|
894
|
+
constructor(id, name, resource, children, icon, link) {
|
|
895
|
+
this.id = id;
|
|
896
|
+
this.name = name;
|
|
897
|
+
this.resource = resource;
|
|
898
|
+
this.children = children;
|
|
899
|
+
this.icon = icon;
|
|
900
|
+
this.link = link;
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
class Menu {
|
|
904
|
+
constructor(id, context, resource, name, children, order, icon, link) {
|
|
905
|
+
this.id = id;
|
|
906
|
+
this.context = context;
|
|
907
|
+
this.resource = resource;
|
|
908
|
+
this.name = name;
|
|
909
|
+
this.children = children;
|
|
910
|
+
this.order = order;
|
|
911
|
+
this.icon = icon;
|
|
912
|
+
this.link = link;
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
class MenuObject extends DataObject {
|
|
916
|
+
constructor(data) {
|
|
917
|
+
super('', DataType.MENU, version$m);
|
|
918
|
+
this.data = data;
|
|
919
|
+
}
|
|
920
|
+
getEntryCount() {
|
|
921
|
+
return this.data.length;
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
const version$l = new DataVersion(1, 0, 0, 0);
|
|
838
926
|
class Dimension {
|
|
839
927
|
constructor(width, height, depth) {
|
|
840
928
|
this.width = width;
|
|
@@ -844,7 +932,7 @@ class Dimension {
|
|
|
844
932
|
}
|
|
845
933
|
class DimensionObject extends DataObject {
|
|
846
934
|
constructor(data) {
|
|
847
|
-
super('', DataType.DIMENSION, version$
|
|
935
|
+
super('', DataType.DIMENSION, version$l);
|
|
848
936
|
this.data = data;
|
|
849
937
|
}
|
|
850
938
|
getEntryCount() {
|
|
@@ -852,7 +940,7 @@ class DimensionObject extends DataObject {
|
|
|
852
940
|
}
|
|
853
941
|
}
|
|
854
942
|
|
|
855
|
-
const version$
|
|
943
|
+
const version$k = new DataVersion(1, 0, 0, 0);
|
|
856
944
|
class Inventory {
|
|
857
945
|
constructor(id, amount, unit, weight, space, item) {
|
|
858
946
|
this.id = id;
|
|
@@ -868,7 +956,7 @@ class Inventory {
|
|
|
868
956
|
}
|
|
869
957
|
class InventoryObject extends DataObject {
|
|
870
958
|
constructor(data) {
|
|
871
|
-
super('', DataType.INVENTORY, version$
|
|
959
|
+
super('', DataType.INVENTORY, version$k);
|
|
872
960
|
this.data = data;
|
|
873
961
|
}
|
|
874
962
|
getEntryCount() {
|
|
@@ -876,24 +964,24 @@ class InventoryObject extends DataObject {
|
|
|
876
964
|
}
|
|
877
965
|
}
|
|
878
966
|
|
|
879
|
-
const version$
|
|
967
|
+
const version$j = new DataVersion(1, 0, 0, 0);
|
|
880
968
|
class Item {
|
|
881
969
|
constructor() {
|
|
882
970
|
}
|
|
883
971
|
}
|
|
884
972
|
class ItemObject extends DataObject {
|
|
885
973
|
constructor(data) {
|
|
886
|
-
super('', DataType.ITEM, version$
|
|
974
|
+
super('', DataType.ITEM, version$j);
|
|
887
975
|
this.data = data;
|
|
888
976
|
}
|
|
889
977
|
}
|
|
890
978
|
|
|
891
|
-
const version$
|
|
979
|
+
const version$i = new DataVersion(1, 0, 0, 0);
|
|
892
980
|
class ItemProperty {
|
|
893
981
|
}
|
|
894
982
|
class ItemPropertyObject extends DataObject {
|
|
895
983
|
constructor(data) {
|
|
896
|
-
super('', DataType.ITEMPROPERTY, version$
|
|
984
|
+
super('', DataType.ITEMPROPERTY, version$i);
|
|
897
985
|
this.data = data;
|
|
898
986
|
}
|
|
899
987
|
}
|
|
@@ -903,12 +991,12 @@ class ItemProperties {
|
|
|
903
991
|
}
|
|
904
992
|
class ItemPropertiesObject extends DataObject {
|
|
905
993
|
constructor(data) {
|
|
906
|
-
super('', DataType.ITEMPROPERTIES, version$
|
|
994
|
+
super('', DataType.ITEMPROPERTIES, version$i);
|
|
907
995
|
this.data = data;
|
|
908
996
|
}
|
|
909
997
|
}
|
|
910
998
|
|
|
911
|
-
const version$
|
|
999
|
+
const version$h = new DataVersion(1, 0, 0, 0);
|
|
912
1000
|
class ItemDetail {
|
|
913
1001
|
constructor(item, stock, sellingprice, inventory) {
|
|
914
1002
|
this.item = item;
|
|
@@ -919,12 +1007,12 @@ class ItemDetail {
|
|
|
919
1007
|
}
|
|
920
1008
|
class ItemDetailObject extends DataObject {
|
|
921
1009
|
constructor(data) {
|
|
922
|
-
super('', DataType.ITEMDETAIL, version$
|
|
1010
|
+
super('', DataType.ITEMDETAIL, version$h);
|
|
923
1011
|
this.data = data;
|
|
924
1012
|
}
|
|
925
1013
|
}
|
|
926
1014
|
|
|
927
|
-
const version$
|
|
1015
|
+
const version$g = new DataVersion(1, 0, 0, 0);
|
|
928
1016
|
class Packaging {
|
|
929
1017
|
constructor(id, name, dimensions) {
|
|
930
1018
|
this.id = id;
|
|
@@ -934,12 +1022,12 @@ class Packaging {
|
|
|
934
1022
|
}
|
|
935
1023
|
class PackagingObject extends DataObject {
|
|
936
1024
|
constructor(data) {
|
|
937
|
-
super('', DataType.PACKAGING, version$
|
|
1025
|
+
super('', DataType.PACKAGING, version$g);
|
|
938
1026
|
this.data = data;
|
|
939
1027
|
}
|
|
940
1028
|
}
|
|
941
1029
|
|
|
942
|
-
const version$
|
|
1030
|
+
const version$f = new DataVersion(1, 0, 0, 0);
|
|
943
1031
|
class Rating {
|
|
944
1032
|
constructor(id, value, comment) {
|
|
945
1033
|
this.id = id;
|
|
@@ -949,12 +1037,12 @@ class Rating {
|
|
|
949
1037
|
}
|
|
950
1038
|
class RatingObject extends DataObject {
|
|
951
1039
|
constructor(data) {
|
|
952
|
-
super('', DataType.RATING, version$
|
|
1040
|
+
super('', DataType.RATING, version$f);
|
|
953
1041
|
this.data = data;
|
|
954
1042
|
}
|
|
955
1043
|
}
|
|
956
1044
|
|
|
957
|
-
const version$
|
|
1045
|
+
const version$e = new DataVersion(1, 0, 0, 0);
|
|
958
1046
|
class Space {
|
|
959
1047
|
constructor(id, name, description, dimension) {
|
|
960
1048
|
this.id = id;
|
|
@@ -981,7 +1069,7 @@ class Shelf {
|
|
|
981
1069
|
}
|
|
982
1070
|
class ShelfObject extends DataObject {
|
|
983
1071
|
constructor(data) {
|
|
984
|
-
super('', DataType.SHELF, version$
|
|
1072
|
+
super('', DataType.SHELF, version$e);
|
|
985
1073
|
this.data = data;
|
|
986
1074
|
}
|
|
987
1075
|
getEntryCount() {
|
|
@@ -990,7 +1078,7 @@ class ShelfObject extends DataObject {
|
|
|
990
1078
|
}
|
|
991
1079
|
class SpaceObject extends DataObject {
|
|
992
1080
|
constructor(data) {
|
|
993
|
-
super('', DataType.SPACE, version$
|
|
1081
|
+
super('', DataType.SPACE, version$e);
|
|
994
1082
|
this.data = data;
|
|
995
1083
|
}
|
|
996
1084
|
getEntryCount() {
|
|
@@ -999,7 +1087,7 @@ class SpaceObject extends DataObject {
|
|
|
999
1087
|
}
|
|
1000
1088
|
class LevelObject extends DataObject {
|
|
1001
1089
|
constructor(data) {
|
|
1002
|
-
super('', DataType.LEVEL, version$
|
|
1090
|
+
super('', DataType.LEVEL, version$e);
|
|
1003
1091
|
this.data = data;
|
|
1004
1092
|
}
|
|
1005
1093
|
getEntryCount() {
|
|
@@ -1025,7 +1113,7 @@ function isShelf(value) {
|
|
|
1025
1113
|
return value && value.levels !== undefined;
|
|
1026
1114
|
}
|
|
1027
1115
|
|
|
1028
|
-
const version$
|
|
1116
|
+
const version$d = new DataVersion(1, 0, 0, 0);
|
|
1029
1117
|
class Stock {
|
|
1030
1118
|
constructor(id, name, room, shelf, row) {
|
|
1031
1119
|
this.id = id;
|
|
@@ -1037,7 +1125,7 @@ class Stock {
|
|
|
1037
1125
|
}
|
|
1038
1126
|
class StockObject extends DataObject {
|
|
1039
1127
|
constructor(data) {
|
|
1040
|
-
super('', DataType.STOCK, version$
|
|
1128
|
+
super('', DataType.STOCK, version$d);
|
|
1041
1129
|
this.data = data;
|
|
1042
1130
|
}
|
|
1043
1131
|
getEntryCount() {
|
|
@@ -1045,7 +1133,7 @@ class StockObject extends DataObject {
|
|
|
1045
1133
|
}
|
|
1046
1134
|
}
|
|
1047
1135
|
|
|
1048
|
-
const version$
|
|
1136
|
+
const version$c = new DataVersion(1, 0, 0, 0);
|
|
1049
1137
|
class Booking {
|
|
1050
1138
|
constructor(id, amount, unit, space, userid, item, bookingtype, purchaseprice, sellingprice, created) {
|
|
1051
1139
|
this.id = id;
|
|
@@ -1062,7 +1150,7 @@ class Booking {
|
|
|
1062
1150
|
}
|
|
1063
1151
|
class BookingObject extends DataObject {
|
|
1064
1152
|
constructor(data) {
|
|
1065
|
-
super('', DataType.BOOKING, version$
|
|
1153
|
+
super('', DataType.BOOKING, version$c);
|
|
1066
1154
|
this.data = data;
|
|
1067
1155
|
}
|
|
1068
1156
|
getEntryCount() {
|
|
@@ -1070,7 +1158,7 @@ class BookingObject extends DataObject {
|
|
|
1070
1158
|
}
|
|
1071
1159
|
}
|
|
1072
1160
|
|
|
1073
|
-
const version$
|
|
1161
|
+
const version$b = new DataVersion(1, 0, 0, 0);
|
|
1074
1162
|
class PurchasePrice {
|
|
1075
1163
|
constructor(id, startdate, enddate, item, space, unit, price) {
|
|
1076
1164
|
this.id = id;
|
|
@@ -1095,18 +1183,18 @@ class SellingPrice {
|
|
|
1095
1183
|
}
|
|
1096
1184
|
class PurchasePriceObject extends DataObject {
|
|
1097
1185
|
constructor(data) {
|
|
1098
|
-
super('', DataType.PURCHASEPRICE, version$
|
|
1186
|
+
super('', DataType.PURCHASEPRICE, version$b);
|
|
1099
1187
|
this.data = data;
|
|
1100
1188
|
}
|
|
1101
1189
|
}
|
|
1102
1190
|
class SellingPriceObject extends DataObject {
|
|
1103
1191
|
constructor(data) {
|
|
1104
|
-
super('', DataType.SELLINGPRICE, version$
|
|
1192
|
+
super('', DataType.SELLINGPRICE, version$b);
|
|
1105
1193
|
this.data = data;
|
|
1106
1194
|
}
|
|
1107
1195
|
}
|
|
1108
1196
|
|
|
1109
|
-
const version$
|
|
1197
|
+
const version$a = new DataVersion(1, 0, 0, 0);
|
|
1110
1198
|
class ItemShort {
|
|
1111
1199
|
constructor(id, name, description, itemno, ean) {
|
|
1112
1200
|
this.id = id;
|
|
@@ -1118,7 +1206,7 @@ class ItemShort {
|
|
|
1118
1206
|
}
|
|
1119
1207
|
class ItemShortObject extends DataObject {
|
|
1120
1208
|
constructor(data) {
|
|
1121
|
-
super('', DataType.ITEMSHORT, version$
|
|
1209
|
+
super('', DataType.ITEMSHORT, version$a);
|
|
1122
1210
|
this.data = data;
|
|
1123
1211
|
}
|
|
1124
1212
|
getEntryCount() {
|
|
@@ -1126,31 +1214,31 @@ class ItemShortObject extends DataObject {
|
|
|
1126
1214
|
}
|
|
1127
1215
|
}
|
|
1128
1216
|
|
|
1129
|
-
const version$
|
|
1217
|
+
const version$9 = new DataVersion(1, 0, 0, 0);
|
|
1130
1218
|
class ShelfLabel {
|
|
1131
1219
|
constructor() {
|
|
1132
1220
|
}
|
|
1133
1221
|
}
|
|
1134
1222
|
class ESLObject extends DataObject {
|
|
1135
1223
|
constructor(data) {
|
|
1136
|
-
super('', DataType.SHELFLABEL, version$
|
|
1224
|
+
super('', DataType.SHELFLABEL, version$9);
|
|
1137
1225
|
this.data = data;
|
|
1138
1226
|
}
|
|
1139
1227
|
}
|
|
1140
1228
|
|
|
1141
|
-
const version$
|
|
1229
|
+
const version$8 = new DataVersion(1, 0, 0, 0);
|
|
1142
1230
|
class ESLPool {
|
|
1143
1231
|
constructor() {
|
|
1144
1232
|
}
|
|
1145
1233
|
}
|
|
1146
1234
|
class ESLPoolObject extends DataObject {
|
|
1147
1235
|
constructor(data) {
|
|
1148
|
-
super('', DataType.ESLPOOL, version$
|
|
1236
|
+
super('', DataType.ESLPOOL, version$8);
|
|
1149
1237
|
this.data = data;
|
|
1150
1238
|
}
|
|
1151
1239
|
}
|
|
1152
1240
|
|
|
1153
|
-
const version$
|
|
1241
|
+
const version$7 = new DataVersion(1, 0, 0, 0);
|
|
1154
1242
|
class ESLAssociation {
|
|
1155
1243
|
constructor(id, label, item, space) {
|
|
1156
1244
|
this.id = id;
|
|
@@ -1161,12 +1249,12 @@ class ESLAssociation {
|
|
|
1161
1249
|
}
|
|
1162
1250
|
class ESLAssociationObject extends DataObject {
|
|
1163
1251
|
constructor(data) {
|
|
1164
|
-
super('', DataType.ESLASSOCIATION, version$
|
|
1252
|
+
super('', DataType.ESLASSOCIATION, version$7);
|
|
1165
1253
|
this.data = data;
|
|
1166
1254
|
}
|
|
1167
1255
|
}
|
|
1168
1256
|
|
|
1169
|
-
const version$
|
|
1257
|
+
const version$6 = new DataVersion(1, 0, 0, 0);
|
|
1170
1258
|
class EslTemplate {
|
|
1171
1259
|
constructor(id, name, mimetype, standard, width, height, data) {
|
|
1172
1260
|
this.id = id;
|
|
@@ -1180,7 +1268,7 @@ class EslTemplate {
|
|
|
1180
1268
|
}
|
|
1181
1269
|
class EslTemplateObject extends DataObject {
|
|
1182
1270
|
constructor(data) {
|
|
1183
|
-
super('', DataType.ESLTEMPLATE, version$
|
|
1271
|
+
super('', DataType.ESLTEMPLATE, version$6);
|
|
1184
1272
|
this.data = data;
|
|
1185
1273
|
}
|
|
1186
1274
|
getEntryCount() {
|
|
@@ -1188,7 +1276,7 @@ class EslTemplateObject extends DataObject {
|
|
|
1188
1276
|
}
|
|
1189
1277
|
}
|
|
1190
1278
|
|
|
1191
|
-
const version$
|
|
1279
|
+
const version$5 = new DataVersion(1, 0, 0, 0);
|
|
1192
1280
|
class EslUpdate {
|
|
1193
1281
|
constructor(shelflabel, template, accessPoint) {
|
|
1194
1282
|
this.shelflabel = shelflabel;
|
|
@@ -1198,7 +1286,7 @@ class EslUpdate {
|
|
|
1198
1286
|
}
|
|
1199
1287
|
class EslUpdateObject extends DataObject {
|
|
1200
1288
|
constructor(data) {
|
|
1201
|
-
super('', DataType.ESLUPDATE, version$
|
|
1289
|
+
super('', DataType.ESLUPDATE, version$5);
|
|
1202
1290
|
this.data = data;
|
|
1203
1291
|
}
|
|
1204
1292
|
getEntryCount() {
|
|
@@ -1206,19 +1294,19 @@ class EslUpdateObject extends DataObject {
|
|
|
1206
1294
|
}
|
|
1207
1295
|
}
|
|
1208
1296
|
|
|
1209
|
-
const version$
|
|
1297
|
+
const version$4 = new DataVersion(1, 0, 0, 0);
|
|
1210
1298
|
class Label {
|
|
1211
1299
|
constructor() {
|
|
1212
1300
|
}
|
|
1213
1301
|
}
|
|
1214
1302
|
class LabelObject extends DataObject {
|
|
1215
1303
|
constructor(data) {
|
|
1216
|
-
super('', DataType.LABEL, version$
|
|
1304
|
+
super('', DataType.LABEL, version$4);
|
|
1217
1305
|
this.data = data;
|
|
1218
1306
|
}
|
|
1219
1307
|
}
|
|
1220
1308
|
|
|
1221
|
-
const version$
|
|
1309
|
+
const version$3 = new DataVersion(1, 0, 0, 0);
|
|
1222
1310
|
class Variables {
|
|
1223
1311
|
constructor(key, value) {
|
|
1224
1312
|
}
|
|
@@ -1229,12 +1317,12 @@ class PrintData {
|
|
|
1229
1317
|
}
|
|
1230
1318
|
class PrintLabelObject extends DataObject {
|
|
1231
1319
|
constructor(data) {
|
|
1232
|
-
super('', DataType.LABELPRINT, version$
|
|
1320
|
+
super('', DataType.LABELPRINT, version$3);
|
|
1233
1321
|
this.data = data;
|
|
1234
1322
|
}
|
|
1235
1323
|
}
|
|
1236
1324
|
|
|
1237
|
-
const version$
|
|
1325
|
+
const version$2 = new DataVersion(1, 0, 0, 0);
|
|
1238
1326
|
class PrinterProperties {
|
|
1239
1327
|
constructor() {
|
|
1240
1328
|
}
|
|
@@ -1245,23 +1333,41 @@ class Printer {
|
|
|
1245
1333
|
}
|
|
1246
1334
|
class PrinterObject extends DataObject {
|
|
1247
1335
|
constructor(data) {
|
|
1248
|
-
super('', DataType.PRINTER, version$
|
|
1336
|
+
super('', DataType.PRINTER, version$2);
|
|
1249
1337
|
this.data = data;
|
|
1250
1338
|
}
|
|
1251
1339
|
}
|
|
1252
1340
|
|
|
1253
|
-
const version = new DataVersion(1, 0, 0, 0);
|
|
1341
|
+
const version$1 = new DataVersion(1, 0, 0, 0);
|
|
1254
1342
|
class Queue {
|
|
1255
1343
|
constructor() {
|
|
1256
1344
|
}
|
|
1257
1345
|
}
|
|
1258
1346
|
class QueueObject extends DataObject {
|
|
1259
1347
|
constructor(data) {
|
|
1260
|
-
super('', DataType.QUEUE, version);
|
|
1348
|
+
super('', DataType.QUEUE, version$1);
|
|
1261
1349
|
this.data = data;
|
|
1262
1350
|
}
|
|
1263
1351
|
}
|
|
1264
1352
|
|
|
1353
|
+
const version = new DataVersion(1, 0, 0, 0);
|
|
1354
|
+
class StatisticData {
|
|
1355
|
+
constructor(id, name, value) {
|
|
1356
|
+
this.id = id;
|
|
1357
|
+
this.name = name;
|
|
1358
|
+
this.value = value;
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
class StatisticObject extends DataObject {
|
|
1362
|
+
constructor(data) {
|
|
1363
|
+
super('', DataType.STATISTIC, version);
|
|
1364
|
+
this.data = data;
|
|
1365
|
+
}
|
|
1366
|
+
getEntryCount() {
|
|
1367
|
+
return this.data.length;
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1265
1371
|
/*
|
|
1266
1372
|
* Public API Surface of captureid-datatypes
|
|
1267
1373
|
*/
|
|
@@ -1270,5 +1376,5 @@ class QueueObject extends DataObject {
|
|
|
1270
1376
|
* Generated bundle index. Do not edit.
|
|
1271
1377
|
*/
|
|
1272
1378
|
|
|
1273
|
-
export { AccessPoint, AccessPointObject, Address, AddressObject, AddressToCompany, AddressType, AuthRequest, AuthResponse, AuthenticationData, AuthenticationObject, Booking, BookingObject, BookingType, Building, BuildingObject, CaptureidDatatypesService, Cart, CartItem, CartObject, Client, ClientObject, Company, CompanyObject, Context, Country, CountryObject, Currency, CurrencyObject, DataDto, DataObject, DataType, DataVersion, DatabaseEventType, Dimension, DimensionObject, EMailTemplateType, ESLAssociation, ESLAssociationObject, ESLObject, ESLPool, ESLPoolObject, EmailTemplates, EslTemplate, EslTemplateObject, EslUpdate, EslUpdateObject, Filter, FilterEntries, FilterEntry, Floor, FloorObject, Image, ImageObject, Inventory, InventoryObject, Item, ItemDetail, ItemDetailObject, ItemObject, ItemProperties, ItemPropertiesObject, ItemProperty, ItemPropertyObject, ItemShort, ItemShortObject, Label, LabelObject, Level, LevelObject, License, LicenseObject, Location, LocationObject, Logging,
|
|
1379
|
+
export { AccessPoint, AccessPointObject, Address, AddressObject, AddressToCompany, AddressType, AuthRequest, AuthResponse, AuthenticationData, AuthenticationObject, Booking, BookingObject, BookingType, Building, BuildingObject, CaptureidDatatypesService, Cart, CartItem, CartObject, Client, ClientObject, Company, CompanyObject, Context, Country, CountryObject, Currency, CurrencyObject, DataDto, DataObject, DataType, DataVersion, DatabaseEventType, Dimension, DimensionObject, EMailTemplateType, ESLAssociation, ESLAssociationObject, ESLObject, ESLPool, ESLPoolObject, EmailTemplates, EslTemplate, EslTemplateObject, EslUpdate, EslUpdateObject, Filter, FilterEntries, FilterEntry, Floor, FloorObject, Image, ImageObject, Inventory, InventoryObject, Item, ItemDetail, ItemDetailObject, ItemObject, ItemProperties, ItemPropertiesObject, ItemProperty, ItemPropertyObject, ItemShort, ItemShortObject, Label, LabelObject, Level, LevelObject, License, LicenseObject, Location, LocationObject, Logging, Manufacturer, ManufacturerObject, Menu, MenuObject, Message, MessageObject, MessageType, Module, ModuleObject, ModuleType, Operators, Packaging, PackagingObject, PinState, PrintData, PrintLabelObject, Printer, PrinterLanguage, PrinterManufacturer, PrinterObject, PrinterProperties, PurchasePrice, PurchasePriceObject, Queue, QueueObject, Rating, RatingObject, RegisterRequest, RegistrationState, Resource, Role, RoleObject, Room, RoomObject, SellingPrice, SellingPriceObject, Severity, Shelf, ShelfLabel, ShelfObject, Space, SpaceObject, StatisticData, StatisticObject, Stock, StockObject, Unit, User, UserAccess, UserAccessObject, UserObject, VAT, VATHistory, Variables, Vendor, VendorObject, VerifyRequest, WebTemplateType, WebTemplates, isLevel, isLevelArray, isShelf, isShelfArray, isSpace, isSpaceArray, menuitem };
|
|
1274
1380
|
//# sourceMappingURL=captureid-datatypes.mjs.map
|