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