@captureid/datatypes 0.0.75 → 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/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 +197 -103
- 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/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,7 +534,7 @@ 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
539
|
constructor(id, name, email, website, addresses) {
|
|
529
540
|
this.id = id;
|
|
@@ -535,12 +546,12 @@ class Manufacturer {
|
|
|
535
546
|
}
|
|
536
547
|
class ManufacturerObject extends DataObject {
|
|
537
548
|
constructor(data) {
|
|
538
|
-
super('', DataType.MANUFACTURER, version$
|
|
549
|
+
super('', DataType.MANUFACTURER, version$B);
|
|
539
550
|
this.data = data;
|
|
540
551
|
}
|
|
541
552
|
}
|
|
542
553
|
|
|
543
|
-
const version$
|
|
554
|
+
const version$A = new DataVersion(1, 0, 0, 0);
|
|
544
555
|
class License {
|
|
545
556
|
constructor(id, companyid, licensekey, validuntil) {
|
|
546
557
|
this.id = id;
|
|
@@ -551,12 +562,12 @@ class License {
|
|
|
551
562
|
}
|
|
552
563
|
class LicenseObject extends DataObject {
|
|
553
564
|
constructor(data) {
|
|
554
|
-
super('', DataType.LICENSE, version$
|
|
565
|
+
super('', DataType.LICENSE, version$A);
|
|
555
566
|
this.data = data;
|
|
556
567
|
}
|
|
557
568
|
}
|
|
558
569
|
|
|
559
|
-
const version$
|
|
570
|
+
const version$z = new DataVersion(1, 0, 0, 0);
|
|
560
571
|
class AddressType {
|
|
561
572
|
}
|
|
562
573
|
class AddressToCompany {
|
|
@@ -574,12 +585,12 @@ class Address {
|
|
|
574
585
|
}
|
|
575
586
|
class AddressObject extends DataObject {
|
|
576
587
|
constructor(data) {
|
|
577
|
-
super('', DataType.ADDRESS, version$
|
|
588
|
+
super('', DataType.ADDRESS, version$z);
|
|
578
589
|
this.data = data;
|
|
579
590
|
}
|
|
580
591
|
}
|
|
581
592
|
|
|
582
|
-
const version$
|
|
593
|
+
const version$y = new DataVersion(1, 0, 0, 0);
|
|
583
594
|
class WebTemplates {
|
|
584
595
|
}
|
|
585
596
|
class EmailTemplates {
|
|
@@ -588,12 +599,12 @@ class Client {
|
|
|
588
599
|
}
|
|
589
600
|
class ClientObject extends DataObject {
|
|
590
601
|
constructor(data) {
|
|
591
|
-
super('', DataType.CLIENT, version$
|
|
602
|
+
super('', DataType.CLIENT, version$y);
|
|
592
603
|
this.data = data;
|
|
593
604
|
}
|
|
594
605
|
}
|
|
595
606
|
|
|
596
|
-
const version$
|
|
607
|
+
const version$x = new DataVersion(1, 0, 0, 0);
|
|
597
608
|
class Currency {
|
|
598
609
|
constructor(id, name, isocode, symbol) {
|
|
599
610
|
this.id = id;
|
|
@@ -604,12 +615,12 @@ class Currency {
|
|
|
604
615
|
}
|
|
605
616
|
class CurrencyObject extends DataObject {
|
|
606
617
|
constructor(data) {
|
|
607
|
-
super('', DataType.CURRENCY, version$
|
|
618
|
+
super('', DataType.CURRENCY, version$x);
|
|
608
619
|
this.data = data;
|
|
609
620
|
}
|
|
610
621
|
}
|
|
611
622
|
|
|
612
|
-
const version$
|
|
623
|
+
const version$w = new DataVersion(1, 0, 0, 0);
|
|
613
624
|
class Country {
|
|
614
625
|
constructor(id, name) {
|
|
615
626
|
this.id = id;
|
|
@@ -618,12 +629,12 @@ class Country {
|
|
|
618
629
|
}
|
|
619
630
|
class CountryObject extends DataObject {
|
|
620
631
|
constructor(data) {
|
|
621
|
-
super('', DataType.COUNTRY, version$
|
|
632
|
+
super('', DataType.COUNTRY, version$w);
|
|
622
633
|
this.data = data;
|
|
623
634
|
}
|
|
624
635
|
}
|
|
625
636
|
|
|
626
|
-
const version$
|
|
637
|
+
const version$v = new DataVersion(1, 0, 0, 0);
|
|
627
638
|
class Image {
|
|
628
639
|
constructor(width, height, url, blob) {
|
|
629
640
|
this.width = width;
|
|
@@ -634,7 +645,7 @@ class Image {
|
|
|
634
645
|
}
|
|
635
646
|
class ImageObject extends DataObject {
|
|
636
647
|
constructor(data) {
|
|
637
|
-
super('', DataType.IMAGE, version$
|
|
648
|
+
super('', DataType.IMAGE, version$v);
|
|
638
649
|
this.data = data;
|
|
639
650
|
}
|
|
640
651
|
getEntryCount() {
|
|
@@ -651,17 +662,17 @@ class VATHistory {
|
|
|
651
662
|
}
|
|
652
663
|
}
|
|
653
664
|
|
|
654
|
-
const version$
|
|
665
|
+
const version$u = new DataVersion(1, 0, 0, 0);
|
|
655
666
|
class Module {
|
|
656
667
|
}
|
|
657
668
|
class ModuleObject extends DataObject {
|
|
658
669
|
constructor(data) {
|
|
659
|
-
super('', DataType.MODULE, version$
|
|
670
|
+
super('', DataType.MODULE, version$u);
|
|
660
671
|
this.data = data;
|
|
661
672
|
}
|
|
662
673
|
}
|
|
663
674
|
|
|
664
|
-
const version$
|
|
675
|
+
const version$t = new DataVersion(1, 0, 0, 0);
|
|
665
676
|
class Location {
|
|
666
677
|
constructor(id, name, description, company, address, building) {
|
|
667
678
|
this.id = id;
|
|
@@ -697,30 +708,30 @@ class Room {
|
|
|
697
708
|
}
|
|
698
709
|
class LocationObject extends DataObject {
|
|
699
710
|
constructor(data) {
|
|
700
|
-
super('', DataType.LOCATION, version$
|
|
711
|
+
super('', DataType.LOCATION, version$t);
|
|
701
712
|
this.data = data;
|
|
702
713
|
}
|
|
703
714
|
}
|
|
704
715
|
class BuildingObject extends DataObject {
|
|
705
716
|
constructor(data) {
|
|
706
|
-
super('', DataType.BUILDING, version$
|
|
717
|
+
super('', DataType.BUILDING, version$t);
|
|
707
718
|
this.data = data;
|
|
708
719
|
}
|
|
709
720
|
}
|
|
710
721
|
class FloorObject extends DataObject {
|
|
711
722
|
constructor(data) {
|
|
712
|
-
super('', DataType.FLOOR, version$
|
|
723
|
+
super('', DataType.FLOOR, version$t);
|
|
713
724
|
this.data = data;
|
|
714
725
|
}
|
|
715
726
|
}
|
|
716
727
|
class RoomObject extends DataObject {
|
|
717
728
|
constructor(data) {
|
|
718
|
-
super('', DataType.ROOM, version$
|
|
729
|
+
super('', DataType.ROOM, version$t);
|
|
719
730
|
this.data = data;
|
|
720
731
|
}
|
|
721
732
|
}
|
|
722
733
|
|
|
723
|
-
const version$
|
|
734
|
+
const version$s = new DataVersion(1, 0, 0, 0);
|
|
724
735
|
class Company {
|
|
725
736
|
constructor(id, name, form, taxno, taxid, addresses, website, registerno) {
|
|
726
737
|
this.id = id;
|
|
@@ -735,12 +746,12 @@ class Company {
|
|
|
735
746
|
}
|
|
736
747
|
class CompanyObject extends DataObject {
|
|
737
748
|
constructor(data) {
|
|
738
|
-
super('', DataType.COMPANY, version$
|
|
749
|
+
super('', DataType.COMPANY, version$s);
|
|
739
750
|
this.data = data;
|
|
740
751
|
}
|
|
741
752
|
}
|
|
742
753
|
|
|
743
|
-
const version$
|
|
754
|
+
const version$r = new DataVersion(1, 0, 0, 0);
|
|
744
755
|
class Vendor {
|
|
745
756
|
constructor(id, name, website, description) {
|
|
746
757
|
this.id = id;
|
|
@@ -751,7 +762,7 @@ class Vendor {
|
|
|
751
762
|
}
|
|
752
763
|
class VendorObject extends DataObject {
|
|
753
764
|
constructor(data) {
|
|
754
|
-
super('', DataType.VENDOR, version$
|
|
765
|
+
super('', DataType.VENDOR, version$r);
|
|
755
766
|
this.data = data;
|
|
756
767
|
}
|
|
757
768
|
getEntryCount() {
|
|
@@ -759,7 +770,7 @@ class VendorObject extends DataObject {
|
|
|
759
770
|
}
|
|
760
771
|
}
|
|
761
772
|
|
|
762
|
-
const version$
|
|
773
|
+
const version$q = new DataVersion(1, 0, 0, 0);
|
|
763
774
|
class AccessPoint {
|
|
764
775
|
constructor(id, ipaddress, wifiaddress, btaddress, macaddress, serial, model, softwareversion, hardwareversion, vendor) {
|
|
765
776
|
this.id = id;
|
|
@@ -776,7 +787,7 @@ class AccessPoint {
|
|
|
776
787
|
}
|
|
777
788
|
class AccessPointObject extends DataObject {
|
|
778
789
|
constructor(data) {
|
|
779
|
-
super('', DataType.ACCESSPOINT, version$
|
|
790
|
+
super('', DataType.ACCESSPOINT, version$q);
|
|
780
791
|
this.data = data;
|
|
781
792
|
}
|
|
782
793
|
getEntryCount() {
|
|
@@ -784,7 +795,7 @@ class AccessPointObject extends DataObject {
|
|
|
784
795
|
}
|
|
785
796
|
}
|
|
786
797
|
|
|
787
|
-
const version$
|
|
798
|
+
const version$p = new DataVersion(1, 0, 0, 0);
|
|
788
799
|
class Message {
|
|
789
800
|
constructor(messagetype, code, name, message) {
|
|
790
801
|
this.messagetype = messagetype;
|
|
@@ -795,7 +806,7 @@ class Message {
|
|
|
795
806
|
}
|
|
796
807
|
class MessageObject extends DataObject {
|
|
797
808
|
constructor(data) {
|
|
798
|
-
super('', DataType.MESSAGE, version$
|
|
809
|
+
super('', DataType.MESSAGE, version$p);
|
|
799
810
|
this.data = data;
|
|
800
811
|
}
|
|
801
812
|
getEntryCount() {
|
|
@@ -803,7 +814,7 @@ class MessageObject extends DataObject {
|
|
|
803
814
|
}
|
|
804
815
|
}
|
|
805
816
|
|
|
806
|
-
const version$
|
|
817
|
+
const version$o = new DataVersion(1, 0, 0, 0);
|
|
807
818
|
class CartItem {
|
|
808
819
|
constructor(item, amount, space, price) {
|
|
809
820
|
this.item = item;
|
|
@@ -826,7 +837,7 @@ class Cart {
|
|
|
826
837
|
}
|
|
827
838
|
class CartObject extends DataObject {
|
|
828
839
|
constructor(data) {
|
|
829
|
-
super('', DataType.CART, version$
|
|
840
|
+
super('', DataType.CART, version$o);
|
|
830
841
|
this.data = data;
|
|
831
842
|
}
|
|
832
843
|
getEntryCount() {
|
|
@@ -834,7 +845,72 @@ class CartObject extends DataObject {
|
|
|
834
845
|
}
|
|
835
846
|
}
|
|
836
847
|
|
|
837
|
-
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);
|
|
838
914
|
class Dimension {
|
|
839
915
|
constructor(width, height, depth) {
|
|
840
916
|
this.width = width;
|
|
@@ -844,7 +920,7 @@ class Dimension {
|
|
|
844
920
|
}
|
|
845
921
|
class DimensionObject extends DataObject {
|
|
846
922
|
constructor(data) {
|
|
847
|
-
super('', DataType.DIMENSION, version$
|
|
923
|
+
super('', DataType.DIMENSION, version$l);
|
|
848
924
|
this.data = data;
|
|
849
925
|
}
|
|
850
926
|
getEntryCount() {
|
|
@@ -852,7 +928,7 @@ class DimensionObject extends DataObject {
|
|
|
852
928
|
}
|
|
853
929
|
}
|
|
854
930
|
|
|
855
|
-
const version$
|
|
931
|
+
const version$k = new DataVersion(1, 0, 0, 0);
|
|
856
932
|
class Inventory {
|
|
857
933
|
constructor(id, amount, unit, weight, space, item) {
|
|
858
934
|
this.id = id;
|
|
@@ -868,7 +944,7 @@ class Inventory {
|
|
|
868
944
|
}
|
|
869
945
|
class InventoryObject extends DataObject {
|
|
870
946
|
constructor(data) {
|
|
871
|
-
super('', DataType.INVENTORY, version$
|
|
947
|
+
super('', DataType.INVENTORY, version$k);
|
|
872
948
|
this.data = data;
|
|
873
949
|
}
|
|
874
950
|
getEntryCount() {
|
|
@@ -876,24 +952,24 @@ class InventoryObject extends DataObject {
|
|
|
876
952
|
}
|
|
877
953
|
}
|
|
878
954
|
|
|
879
|
-
const version$
|
|
955
|
+
const version$j = new DataVersion(1, 0, 0, 0);
|
|
880
956
|
class Item {
|
|
881
957
|
constructor() {
|
|
882
958
|
}
|
|
883
959
|
}
|
|
884
960
|
class ItemObject extends DataObject {
|
|
885
961
|
constructor(data) {
|
|
886
|
-
super('', DataType.ITEM, version$
|
|
962
|
+
super('', DataType.ITEM, version$j);
|
|
887
963
|
this.data = data;
|
|
888
964
|
}
|
|
889
965
|
}
|
|
890
966
|
|
|
891
|
-
const version$
|
|
967
|
+
const version$i = new DataVersion(1, 0, 0, 0);
|
|
892
968
|
class ItemProperty {
|
|
893
969
|
}
|
|
894
970
|
class ItemPropertyObject extends DataObject {
|
|
895
971
|
constructor(data) {
|
|
896
|
-
super('', DataType.ITEMPROPERTY, version$
|
|
972
|
+
super('', DataType.ITEMPROPERTY, version$i);
|
|
897
973
|
this.data = data;
|
|
898
974
|
}
|
|
899
975
|
}
|
|
@@ -903,12 +979,12 @@ class ItemProperties {
|
|
|
903
979
|
}
|
|
904
980
|
class ItemPropertiesObject extends DataObject {
|
|
905
981
|
constructor(data) {
|
|
906
|
-
super('', DataType.ITEMPROPERTIES, version$
|
|
982
|
+
super('', DataType.ITEMPROPERTIES, version$i);
|
|
907
983
|
this.data = data;
|
|
908
984
|
}
|
|
909
985
|
}
|
|
910
986
|
|
|
911
|
-
const version$
|
|
987
|
+
const version$h = new DataVersion(1, 0, 0, 0);
|
|
912
988
|
class ItemDetail {
|
|
913
989
|
constructor(item, stock, sellingprice, inventory) {
|
|
914
990
|
this.item = item;
|
|
@@ -919,12 +995,12 @@ class ItemDetail {
|
|
|
919
995
|
}
|
|
920
996
|
class ItemDetailObject extends DataObject {
|
|
921
997
|
constructor(data) {
|
|
922
|
-
super('', DataType.ITEMDETAIL, version$
|
|
998
|
+
super('', DataType.ITEMDETAIL, version$h);
|
|
923
999
|
this.data = data;
|
|
924
1000
|
}
|
|
925
1001
|
}
|
|
926
1002
|
|
|
927
|
-
const version$
|
|
1003
|
+
const version$g = new DataVersion(1, 0, 0, 0);
|
|
928
1004
|
class Packaging {
|
|
929
1005
|
constructor(id, name, dimensions) {
|
|
930
1006
|
this.id = id;
|
|
@@ -934,12 +1010,12 @@ class Packaging {
|
|
|
934
1010
|
}
|
|
935
1011
|
class PackagingObject extends DataObject {
|
|
936
1012
|
constructor(data) {
|
|
937
|
-
super('', DataType.PACKAGING, version$
|
|
1013
|
+
super('', DataType.PACKAGING, version$g);
|
|
938
1014
|
this.data = data;
|
|
939
1015
|
}
|
|
940
1016
|
}
|
|
941
1017
|
|
|
942
|
-
const version$
|
|
1018
|
+
const version$f = new DataVersion(1, 0, 0, 0);
|
|
943
1019
|
class Rating {
|
|
944
1020
|
constructor(id, value, comment) {
|
|
945
1021
|
this.id = id;
|
|
@@ -949,12 +1025,12 @@ class Rating {
|
|
|
949
1025
|
}
|
|
950
1026
|
class RatingObject extends DataObject {
|
|
951
1027
|
constructor(data) {
|
|
952
|
-
super('', DataType.RATING, version$
|
|
1028
|
+
super('', DataType.RATING, version$f);
|
|
953
1029
|
this.data = data;
|
|
954
1030
|
}
|
|
955
1031
|
}
|
|
956
1032
|
|
|
957
|
-
const version$
|
|
1033
|
+
const version$e = new DataVersion(1, 0, 0, 0);
|
|
958
1034
|
class Space {
|
|
959
1035
|
constructor(id, name, description, dimension) {
|
|
960
1036
|
this.id = id;
|
|
@@ -981,7 +1057,7 @@ class Shelf {
|
|
|
981
1057
|
}
|
|
982
1058
|
class ShelfObject extends DataObject {
|
|
983
1059
|
constructor(data) {
|
|
984
|
-
super('', DataType.SHELF, version$
|
|
1060
|
+
super('', DataType.SHELF, version$e);
|
|
985
1061
|
this.data = data;
|
|
986
1062
|
}
|
|
987
1063
|
getEntryCount() {
|
|
@@ -990,7 +1066,7 @@ class ShelfObject extends DataObject {
|
|
|
990
1066
|
}
|
|
991
1067
|
class SpaceObject extends DataObject {
|
|
992
1068
|
constructor(data) {
|
|
993
|
-
super('', DataType.SPACE, version$
|
|
1069
|
+
super('', DataType.SPACE, version$e);
|
|
994
1070
|
this.data = data;
|
|
995
1071
|
}
|
|
996
1072
|
getEntryCount() {
|
|
@@ -999,7 +1075,7 @@ class SpaceObject extends DataObject {
|
|
|
999
1075
|
}
|
|
1000
1076
|
class LevelObject extends DataObject {
|
|
1001
1077
|
constructor(data) {
|
|
1002
|
-
super('', DataType.LEVEL, version$
|
|
1078
|
+
super('', DataType.LEVEL, version$e);
|
|
1003
1079
|
this.data = data;
|
|
1004
1080
|
}
|
|
1005
1081
|
getEntryCount() {
|
|
@@ -1025,7 +1101,7 @@ function isShelf(value) {
|
|
|
1025
1101
|
return value && value.levels !== undefined;
|
|
1026
1102
|
}
|
|
1027
1103
|
|
|
1028
|
-
const version$
|
|
1104
|
+
const version$d = new DataVersion(1, 0, 0, 0);
|
|
1029
1105
|
class Stock {
|
|
1030
1106
|
constructor(id, name, room, shelf, row) {
|
|
1031
1107
|
this.id = id;
|
|
@@ -1037,7 +1113,7 @@ class Stock {
|
|
|
1037
1113
|
}
|
|
1038
1114
|
class StockObject extends DataObject {
|
|
1039
1115
|
constructor(data) {
|
|
1040
|
-
super('', DataType.STOCK, version$
|
|
1116
|
+
super('', DataType.STOCK, version$d);
|
|
1041
1117
|
this.data = data;
|
|
1042
1118
|
}
|
|
1043
1119
|
getEntryCount() {
|
|
@@ -1045,7 +1121,7 @@ class StockObject extends DataObject {
|
|
|
1045
1121
|
}
|
|
1046
1122
|
}
|
|
1047
1123
|
|
|
1048
|
-
const version$
|
|
1124
|
+
const version$c = new DataVersion(1, 0, 0, 0);
|
|
1049
1125
|
class Booking {
|
|
1050
1126
|
constructor(id, amount, unit, space, userid, item, bookingtype, purchaseprice, sellingprice, created) {
|
|
1051
1127
|
this.id = id;
|
|
@@ -1062,7 +1138,7 @@ class Booking {
|
|
|
1062
1138
|
}
|
|
1063
1139
|
class BookingObject extends DataObject {
|
|
1064
1140
|
constructor(data) {
|
|
1065
|
-
super('', DataType.BOOKING, version$
|
|
1141
|
+
super('', DataType.BOOKING, version$c);
|
|
1066
1142
|
this.data = data;
|
|
1067
1143
|
}
|
|
1068
1144
|
getEntryCount() {
|
|
@@ -1070,7 +1146,7 @@ class BookingObject extends DataObject {
|
|
|
1070
1146
|
}
|
|
1071
1147
|
}
|
|
1072
1148
|
|
|
1073
|
-
const version$
|
|
1149
|
+
const version$b = new DataVersion(1, 0, 0, 0);
|
|
1074
1150
|
class PurchasePrice {
|
|
1075
1151
|
constructor(id, startdate, enddate, item, space, unit, price) {
|
|
1076
1152
|
this.id = id;
|
|
@@ -1095,18 +1171,18 @@ class SellingPrice {
|
|
|
1095
1171
|
}
|
|
1096
1172
|
class PurchasePriceObject extends DataObject {
|
|
1097
1173
|
constructor(data) {
|
|
1098
|
-
super('', DataType.PURCHASEPRICE, version$
|
|
1174
|
+
super('', DataType.PURCHASEPRICE, version$b);
|
|
1099
1175
|
this.data = data;
|
|
1100
1176
|
}
|
|
1101
1177
|
}
|
|
1102
1178
|
class SellingPriceObject extends DataObject {
|
|
1103
1179
|
constructor(data) {
|
|
1104
|
-
super('', DataType.SELLINGPRICE, version$
|
|
1180
|
+
super('', DataType.SELLINGPRICE, version$b);
|
|
1105
1181
|
this.data = data;
|
|
1106
1182
|
}
|
|
1107
1183
|
}
|
|
1108
1184
|
|
|
1109
|
-
const version$
|
|
1185
|
+
const version$a = new DataVersion(1, 0, 0, 0);
|
|
1110
1186
|
class ItemShort {
|
|
1111
1187
|
constructor(id, name, description, itemno, ean) {
|
|
1112
1188
|
this.id = id;
|
|
@@ -1118,7 +1194,7 @@ class ItemShort {
|
|
|
1118
1194
|
}
|
|
1119
1195
|
class ItemShortObject extends DataObject {
|
|
1120
1196
|
constructor(data) {
|
|
1121
|
-
super('', DataType.ITEMSHORT, version$
|
|
1197
|
+
super('', DataType.ITEMSHORT, version$a);
|
|
1122
1198
|
this.data = data;
|
|
1123
1199
|
}
|
|
1124
1200
|
getEntryCount() {
|
|
@@ -1126,31 +1202,31 @@ class ItemShortObject extends DataObject {
|
|
|
1126
1202
|
}
|
|
1127
1203
|
}
|
|
1128
1204
|
|
|
1129
|
-
const version$
|
|
1205
|
+
const version$9 = new DataVersion(1, 0, 0, 0);
|
|
1130
1206
|
class ShelfLabel {
|
|
1131
1207
|
constructor() {
|
|
1132
1208
|
}
|
|
1133
1209
|
}
|
|
1134
1210
|
class ESLObject extends DataObject {
|
|
1135
1211
|
constructor(data) {
|
|
1136
|
-
super('', DataType.SHELFLABEL, version$
|
|
1212
|
+
super('', DataType.SHELFLABEL, version$9);
|
|
1137
1213
|
this.data = data;
|
|
1138
1214
|
}
|
|
1139
1215
|
}
|
|
1140
1216
|
|
|
1141
|
-
const version$
|
|
1217
|
+
const version$8 = new DataVersion(1, 0, 0, 0);
|
|
1142
1218
|
class ESLPool {
|
|
1143
1219
|
constructor() {
|
|
1144
1220
|
}
|
|
1145
1221
|
}
|
|
1146
1222
|
class ESLPoolObject extends DataObject {
|
|
1147
1223
|
constructor(data) {
|
|
1148
|
-
super('', DataType.ESLPOOL, version$
|
|
1224
|
+
super('', DataType.ESLPOOL, version$8);
|
|
1149
1225
|
this.data = data;
|
|
1150
1226
|
}
|
|
1151
1227
|
}
|
|
1152
1228
|
|
|
1153
|
-
const version$
|
|
1229
|
+
const version$7 = new DataVersion(1, 0, 0, 0);
|
|
1154
1230
|
class ESLAssociation {
|
|
1155
1231
|
constructor(id, label, item, space) {
|
|
1156
1232
|
this.id = id;
|
|
@@ -1161,12 +1237,12 @@ class ESLAssociation {
|
|
|
1161
1237
|
}
|
|
1162
1238
|
class ESLAssociationObject extends DataObject {
|
|
1163
1239
|
constructor(data) {
|
|
1164
|
-
super('', DataType.ESLASSOCIATION, version$
|
|
1240
|
+
super('', DataType.ESLASSOCIATION, version$7);
|
|
1165
1241
|
this.data = data;
|
|
1166
1242
|
}
|
|
1167
1243
|
}
|
|
1168
1244
|
|
|
1169
|
-
const version$
|
|
1245
|
+
const version$6 = new DataVersion(1, 0, 0, 0);
|
|
1170
1246
|
class EslTemplate {
|
|
1171
1247
|
constructor(id, name, mimetype, standard, width, height, data) {
|
|
1172
1248
|
this.id = id;
|
|
@@ -1180,7 +1256,7 @@ class EslTemplate {
|
|
|
1180
1256
|
}
|
|
1181
1257
|
class EslTemplateObject extends DataObject {
|
|
1182
1258
|
constructor(data) {
|
|
1183
|
-
super('', DataType.ESLTEMPLATE, version$
|
|
1259
|
+
super('', DataType.ESLTEMPLATE, version$6);
|
|
1184
1260
|
this.data = data;
|
|
1185
1261
|
}
|
|
1186
1262
|
getEntryCount() {
|
|
@@ -1188,7 +1264,7 @@ class EslTemplateObject extends DataObject {
|
|
|
1188
1264
|
}
|
|
1189
1265
|
}
|
|
1190
1266
|
|
|
1191
|
-
const version$
|
|
1267
|
+
const version$5 = new DataVersion(1, 0, 0, 0);
|
|
1192
1268
|
class EslUpdate {
|
|
1193
1269
|
constructor(shelflabel, template, accessPoint) {
|
|
1194
1270
|
this.shelflabel = shelflabel;
|
|
@@ -1198,7 +1274,7 @@ class EslUpdate {
|
|
|
1198
1274
|
}
|
|
1199
1275
|
class EslUpdateObject extends DataObject {
|
|
1200
1276
|
constructor(data) {
|
|
1201
|
-
super('', DataType.ESLUPDATE, version$
|
|
1277
|
+
super('', DataType.ESLUPDATE, version$5);
|
|
1202
1278
|
this.data = data;
|
|
1203
1279
|
}
|
|
1204
1280
|
getEntryCount() {
|
|
@@ -1206,19 +1282,19 @@ class EslUpdateObject extends DataObject {
|
|
|
1206
1282
|
}
|
|
1207
1283
|
}
|
|
1208
1284
|
|
|
1209
|
-
const version$
|
|
1285
|
+
const version$4 = new DataVersion(1, 0, 0, 0);
|
|
1210
1286
|
class Label {
|
|
1211
1287
|
constructor() {
|
|
1212
1288
|
}
|
|
1213
1289
|
}
|
|
1214
1290
|
class LabelObject extends DataObject {
|
|
1215
1291
|
constructor(data) {
|
|
1216
|
-
super('', DataType.LABEL, version$
|
|
1292
|
+
super('', DataType.LABEL, version$4);
|
|
1217
1293
|
this.data = data;
|
|
1218
1294
|
}
|
|
1219
1295
|
}
|
|
1220
1296
|
|
|
1221
|
-
const version$
|
|
1297
|
+
const version$3 = new DataVersion(1, 0, 0, 0);
|
|
1222
1298
|
class Variables {
|
|
1223
1299
|
constructor(key, value) {
|
|
1224
1300
|
}
|
|
@@ -1229,12 +1305,12 @@ class PrintData {
|
|
|
1229
1305
|
}
|
|
1230
1306
|
class PrintLabelObject extends DataObject {
|
|
1231
1307
|
constructor(data) {
|
|
1232
|
-
super('', DataType.LABELPRINT, version$
|
|
1308
|
+
super('', DataType.LABELPRINT, version$3);
|
|
1233
1309
|
this.data = data;
|
|
1234
1310
|
}
|
|
1235
1311
|
}
|
|
1236
1312
|
|
|
1237
|
-
const version$
|
|
1313
|
+
const version$2 = new DataVersion(1, 0, 0, 0);
|
|
1238
1314
|
class PrinterProperties {
|
|
1239
1315
|
constructor() {
|
|
1240
1316
|
}
|
|
@@ -1245,21 +1321,39 @@ class Printer {
|
|
|
1245
1321
|
}
|
|
1246
1322
|
class PrinterObject extends DataObject {
|
|
1247
1323
|
constructor(data) {
|
|
1248
|
-
super('', DataType.PRINTER, version$
|
|
1324
|
+
super('', DataType.PRINTER, version$2);
|
|
1249
1325
|
this.data = data;
|
|
1250
1326
|
}
|
|
1251
1327
|
}
|
|
1252
1328
|
|
|
1253
|
-
const version = new DataVersion(1, 0, 0, 0);
|
|
1329
|
+
const version$1 = new DataVersion(1, 0, 0, 0);
|
|
1254
1330
|
class Queue {
|
|
1255
1331
|
constructor() {
|
|
1256
1332
|
}
|
|
1257
1333
|
}
|
|
1258
1334
|
class QueueObject extends DataObject {
|
|
1259
1335
|
constructor(data) {
|
|
1260
|
-
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);
|
|
1261
1352
|
this.data = data;
|
|
1262
1353
|
}
|
|
1354
|
+
getEntryCount() {
|
|
1355
|
+
return this.data.length;
|
|
1356
|
+
}
|
|
1263
1357
|
}
|
|
1264
1358
|
|
|
1265
1359
|
/*
|
|
@@ -1270,5 +1364,5 @@ class QueueObject extends DataObject {
|
|
|
1270
1364
|
* Generated bundle index. Do not edit.
|
|
1271
1365
|
*/
|
|
1272
1366
|
|
|
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,
|
|
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 };
|
|
1274
1368
|
//# sourceMappingURL=captureid-datatypes.mjs.map
|