@captureid/datatypes 0.0.54 → 0.0.56

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.
@@ -68,6 +68,7 @@ var DataType;
68
68
  DataType[DataType["BOOKING"] = 50] = "BOOKING";
69
69
  DataType[DataType["GPIO"] = 51] = "GPIO";
70
70
  DataType[DataType["ITEMDETAIL"] = 52] = "ITEMDETAIL";
71
+ DataType[DataType["ESLASSOCIATION"] = 53] = "ESLASSOCIATION";
71
72
  })(DataType || (DataType = {}));
72
73
  var BookingType;
73
74
  (function (BookingType) {
@@ -271,6 +272,40 @@ var Unit;
271
272
  }
272
273
  Unit.values = values;
273
274
  })(Unit || (Unit = {}));
275
+ var LoggingLevel;
276
+ (function (LoggingLevel) {
277
+ LoggingLevel[LoggingLevel["UNKNOWN"] = 0] = "UNKNOWN";
278
+ LoggingLevel[LoggingLevel["ERROR"] = 1] = "ERROR";
279
+ LoggingLevel[LoggingLevel["WARNING"] = 2] = "WARNING";
280
+ LoggingLevel[LoggingLevel["INFO"] = 3] = "INFO";
281
+ LoggingLevel[LoggingLevel["DEBUG"] = 4] = "DEBUG";
282
+ LoggingLevel[LoggingLevel["TRACE"] = 5] = "TRACE";
283
+ })(LoggingLevel || (LoggingLevel = {}));
284
+ (function (LoggingLevel) {
285
+ function valueOf(str) {
286
+ return LoggingLevel[str];
287
+ }
288
+ LoggingLevel.valueOf = valueOf;
289
+ function values() {
290
+ let res = [];
291
+ for (const value in Object.values(LoggingLevel)) {
292
+ if (isNaN(Object.values(LoggingLevel)[value]) && typeof (Object.values(LoggingLevel)[value]) !== 'function') {
293
+ res.push(Object.values(LoggingLevel)[value]);
294
+ }
295
+ }
296
+ return res;
297
+ }
298
+ LoggingLevel.values = values;
299
+ })(LoggingLevel || (LoggingLevel = {}));
300
+
301
+ class Logging {
302
+ constructor(level, message, exception, timestamp) {
303
+ this.level = level;
304
+ this.message = message;
305
+ this.exception = exception;
306
+ this.timestamp = timestamp;
307
+ }
308
+ }
274
309
 
275
310
  class DataVersion {
276
311
  constructor(major, minor, patch, build) {
@@ -282,10 +317,10 @@ class DataVersion {
282
317
  }
283
318
  }
284
319
 
285
- const version$t = new DataVersion(1, 0, 0, 0);
320
+ const version$u = new DataVersion(1, 0, 0, 0);
286
321
  class DataDto {
287
322
  constructor(data) {
288
- this.version = version$t;
323
+ this.version = version$u;
289
324
  if (data === undefined) {
290
325
  this.data = [];
291
326
  }
@@ -369,17 +404,17 @@ class VerifyRequest {
369
404
  }
370
405
  }
371
406
 
372
- const version$s = new DataVersion(1, 0, 0, 0);
407
+ const version$t = new DataVersion(1, 0, 0, 0);
373
408
  class AuthenticationData {
374
409
  }
375
410
  class AuthenticationObject extends DataObject {
376
411
  constructor(data) {
377
- super('', DataType.AUTHENTICATION, version$s);
412
+ super('', DataType.AUTHENTICATION, version$t);
378
413
  this.data = data;
379
414
  }
380
415
  }
381
416
 
382
- const version$r = new DataVersion(1, 0, 0, 0);
417
+ const version$s = new DataVersion(1, 0, 0, 0);
383
418
  class User {
384
419
  constructor(id, firstname, lastname, email, role, phone, mobile, city, zipcode, street, no, country, state, dateOfBirth, avatarImg, context, credentialsNonExpired) {
385
420
  this.firstname = firstname;
@@ -402,7 +437,7 @@ class User {
402
437
  }
403
438
  class UserObject extends DataObject {
404
439
  constructor(data) {
405
- super('', DataType.USER, version$r);
440
+ super('', DataType.USER, version$s);
406
441
  this.data = data;
407
442
  }
408
443
  }
@@ -432,7 +467,7 @@ var Context;
432
467
  Context.values = values;
433
468
  })(Context || (Context = {}));
434
469
 
435
- const version$q = new DataVersion(1, 0, 0, 0);
470
+ const version$r = new DataVersion(1, 0, 0, 0);
436
471
  class Manufacturer {
437
472
  constructor(id, name, addresses) {
438
473
  this.id = id;
@@ -442,12 +477,12 @@ class Manufacturer {
442
477
  }
443
478
  class ManufacturerObject extends DataObject {
444
479
  constructor(data) {
445
- super('', DataType.MANUFACTURER, version$q);
480
+ super('', DataType.MANUFACTURER, version$r);
446
481
  this.data = data;
447
482
  }
448
483
  }
449
484
 
450
- const version$p = new DataVersion(1, 0, 0, 0);
485
+ const version$q = new DataVersion(1, 0, 0, 0);
451
486
  class License {
452
487
  constructor(id, companyid, licensekey, validuntil) {
453
488
  this.id = id;
@@ -458,12 +493,12 @@ class License {
458
493
  }
459
494
  class LicenseObject extends DataObject {
460
495
  constructor(data) {
461
- super('', DataType.LICENSE, version$p);
496
+ super('', DataType.LICENSE, version$q);
462
497
  this.data = data;
463
498
  }
464
499
  }
465
500
 
466
- const version$o = new DataVersion(1, 0, 0, 0);
501
+ const version$p = new DataVersion(1, 0, 0, 0);
467
502
  class AddressType {
468
503
  }
469
504
  class AddressToCompany {
@@ -481,12 +516,12 @@ class Address {
481
516
  }
482
517
  class AddressObject extends DataObject {
483
518
  constructor(data) {
484
- super('', DataType.ADDRESS, version$o);
519
+ super('', DataType.ADDRESS, version$p);
485
520
  this.data = data;
486
521
  }
487
522
  }
488
523
 
489
- const version$n = new DataVersion(1, 0, 0, 0);
524
+ const version$o = new DataVersion(1, 0, 0, 0);
490
525
  class WebTemplates {
491
526
  }
492
527
  class EmailTemplates {
@@ -495,12 +530,12 @@ class Client {
495
530
  }
496
531
  class ClientObject extends DataObject {
497
532
  constructor(data) {
498
- super('', DataType.CLIENT, version$n);
533
+ super('', DataType.CLIENT, version$o);
499
534
  this.data = data;
500
535
  }
501
536
  }
502
537
 
503
- const version$m = new DataVersion(1, 0, 0, 0);
538
+ const version$n = new DataVersion(1, 0, 0, 0);
504
539
  class Currency {
505
540
  constructor(id, name, isocode, symbol) {
506
541
  this.id = id;
@@ -511,12 +546,12 @@ class Currency {
511
546
  }
512
547
  class CurrencyObject extends DataObject {
513
548
  constructor(data) {
514
- super('', DataType.CURRENCY, version$m);
549
+ super('', DataType.CURRENCY, version$n);
515
550
  this.data = data;
516
551
  }
517
552
  }
518
553
 
519
- const version$l = new DataVersion(1, 0, 0, 0);
554
+ const version$m = new DataVersion(1, 0, 0, 0);
520
555
  class Country {
521
556
  constructor(id, name) {
522
557
  this.id = id;
@@ -525,12 +560,12 @@ class Country {
525
560
  }
526
561
  class CountryObject extends DataObject {
527
562
  constructor(data) {
528
- super('', DataType.COUNTRY, version$l);
563
+ super('', DataType.COUNTRY, version$m);
529
564
  this.data = data;
530
565
  }
531
566
  }
532
567
 
533
- const version$k = new DataVersion(1, 0, 0, 0);
568
+ const version$l = new DataVersion(1, 0, 0, 0);
534
569
  class Image {
535
570
  constructor(width, height, url, blob) {
536
571
  this.width = width;
@@ -541,7 +576,7 @@ class Image {
541
576
  }
542
577
  class ImageObject extends DataObject {
543
578
  constructor(data) {
544
- super('', DataType.IMAGE, version$k);
579
+ super('', DataType.IMAGE, version$l);
545
580
  this.data = data;
546
581
  }
547
582
  getEntryCount() {
@@ -558,17 +593,17 @@ class VATHistory {
558
593
  }
559
594
  }
560
595
 
561
- const version$j = new DataVersion(1, 0, 0, 0);
596
+ const version$k = new DataVersion(1, 0, 0, 0);
562
597
  class Module {
563
598
  }
564
599
  class ModuleObject extends DataObject {
565
600
  constructor(data) {
566
- super('', DataType.MODULE, version$j);
601
+ super('', DataType.MODULE, version$k);
567
602
  this.data = data;
568
603
  }
569
604
  }
570
605
 
571
- const version$i = new DataVersion(1, 0, 0, 0);
606
+ const version$j = new DataVersion(1, 0, 0, 0);
572
607
  class Location {
573
608
  constructor(id, name, description, company, address, building) {
574
609
  this.id = id;
@@ -604,30 +639,30 @@ class Room {
604
639
  }
605
640
  class LocationObject extends DataObject {
606
641
  constructor(data) {
607
- super('', DataType.LOCATION, version$i);
642
+ super('', DataType.LOCATION, version$j);
608
643
  this.data = data;
609
644
  }
610
645
  }
611
646
  class BuildingObject extends DataObject {
612
647
  constructor(data) {
613
- super('', DataType.BUILDING, version$i);
648
+ super('', DataType.BUILDING, version$j);
614
649
  this.data = data;
615
650
  }
616
651
  }
617
652
  class FloorObject extends DataObject {
618
653
  constructor(data) {
619
- super('', DataType.FLOOR, version$i);
654
+ super('', DataType.FLOOR, version$j);
620
655
  this.data = data;
621
656
  }
622
657
  }
623
658
  class RoomObject extends DataObject {
624
659
  constructor(data) {
625
- super('', DataType.ROOM, version$i);
660
+ super('', DataType.ROOM, version$j);
626
661
  this.data = data;
627
662
  }
628
663
  }
629
664
 
630
- const version$h = new DataVersion(1, 0, 0, 0);
665
+ const version$i = new DataVersion(1, 0, 0, 0);
631
666
  class Company {
632
667
  constructor(id, name, form, taxno, taxid, addresses, website, registerno) {
633
668
  this.id = id;
@@ -642,12 +677,12 @@ class Company {
642
677
  }
643
678
  class CompanyObject extends DataObject {
644
679
  constructor(data) {
645
- super('', DataType.COMPANY, version$h);
680
+ super('', DataType.COMPANY, version$i);
646
681
  this.data = data;
647
682
  }
648
683
  }
649
684
 
650
- const version$g = new DataVersion(1, 0, 0, 0);
685
+ const version$h = new DataVersion(1, 0, 0, 0);
651
686
  class Dimension {
652
687
  constructor(width, height, depth) {
653
688
  this.width = width;
@@ -657,7 +692,7 @@ class Dimension {
657
692
  }
658
693
  class DimensionObject extends DataObject {
659
694
  constructor(data) {
660
- super('', DataType.DIMENSION, version$g);
695
+ super('', DataType.DIMENSION, version$h);
661
696
  this.data = data;
662
697
  }
663
698
  getEntryCount() {
@@ -665,7 +700,7 @@ class DimensionObject extends DataObject {
665
700
  }
666
701
  }
667
702
 
668
- const version$f = new DataVersion(1, 0, 0, 0);
703
+ const version$g = new DataVersion(1, 0, 0, 0);
669
704
  class Inventory {
670
705
  constructor(id, amount, unit, weight, space, item) {
671
706
  this.id = id;
@@ -681,7 +716,7 @@ class Inventory {
681
716
  }
682
717
  class InventoryObject extends DataObject {
683
718
  constructor(data) {
684
- super('', DataType.INVENTORY, version$f);
719
+ super('', DataType.INVENTORY, version$g);
685
720
  this.data = data;
686
721
  }
687
722
  getEntryCount() {
@@ -689,24 +724,24 @@ class InventoryObject extends DataObject {
689
724
  }
690
725
  }
691
726
 
692
- const version$e = new DataVersion(1, 0, 0, 0);
727
+ const version$f = new DataVersion(1, 0, 0, 0);
693
728
  class Item {
694
729
  constructor() {
695
730
  }
696
731
  }
697
732
  class ItemObject extends DataObject {
698
733
  constructor(data) {
699
- super('', DataType.ITEM, version$e);
734
+ super('', DataType.ITEM, version$f);
700
735
  this.data = data;
701
736
  }
702
737
  }
703
738
 
704
- const version$d = new DataVersion(1, 0, 0, 0);
739
+ const version$e = new DataVersion(1, 0, 0, 0);
705
740
  class ItemProperty {
706
741
  }
707
742
  class ItemPropertyObject extends DataObject {
708
743
  constructor(data) {
709
- super('', DataType.ITEMPROPERTY, version$d);
744
+ super('', DataType.ITEMPROPERTY, version$e);
710
745
  this.data = data;
711
746
  }
712
747
  }
@@ -716,12 +751,12 @@ class ItemProperties {
716
751
  }
717
752
  class ItemPropertiesObject extends DataObject {
718
753
  constructor(data) {
719
- super('', DataType.ITEMPROPERTIES, version$d);
754
+ super('', DataType.ITEMPROPERTIES, version$e);
720
755
  this.data = data;
721
756
  }
722
757
  }
723
758
 
724
- const version$c = new DataVersion(1, 0, 0, 0);
759
+ const version$d = new DataVersion(1, 0, 0, 0);
725
760
  class ItemDetail {
726
761
  constructor(item, stock, sellingprice, inventory) {
727
762
  this.item = item;
@@ -732,12 +767,12 @@ class ItemDetail {
732
767
  }
733
768
  class ItemDetailObject extends DataObject {
734
769
  constructor(data) {
735
- super('', DataType.ITEMDETAIL, version$c);
770
+ super('', DataType.ITEMDETAIL, version$d);
736
771
  this.data = data;
737
772
  }
738
773
  }
739
774
 
740
- const version$b = new DataVersion(1, 0, 0, 0);
775
+ const version$c = new DataVersion(1, 0, 0, 0);
741
776
  class Packaging {
742
777
  constructor(id, name, dimensions) {
743
778
  this.id = id;
@@ -747,12 +782,12 @@ class Packaging {
747
782
  }
748
783
  class PackagingObject extends DataObject {
749
784
  constructor(data) {
750
- super('', DataType.PACKAGING, version$b);
785
+ super('', DataType.PACKAGING, version$c);
751
786
  this.data = data;
752
787
  }
753
788
  }
754
789
 
755
- const version$a = new DataVersion(1, 0, 0, 0);
790
+ const version$b = new DataVersion(1, 0, 0, 0);
756
791
  class Rating {
757
792
  constructor(id, value, comment) {
758
793
  this.id = id;
@@ -762,12 +797,12 @@ class Rating {
762
797
  }
763
798
  class RatingObject extends DataObject {
764
799
  constructor(data) {
765
- super('', DataType.RATING, version$a);
800
+ super('', DataType.RATING, version$b);
766
801
  this.data = data;
767
802
  }
768
803
  }
769
804
 
770
- const version$9 = new DataVersion(1, 0, 0, 0);
805
+ const version$a = new DataVersion(1, 0, 0, 0);
771
806
  class Space {
772
807
  constructor(id, name, description, dimension) {
773
808
  this.id = id;
@@ -794,7 +829,7 @@ class Shelf {
794
829
  }
795
830
  class ShelfObject extends DataObject {
796
831
  constructor(data) {
797
- super('', DataType.SHELF, version$9);
832
+ super('', DataType.SHELF, version$a);
798
833
  this.data = data;
799
834
  }
800
835
  getEntryCount() {
@@ -803,7 +838,7 @@ class ShelfObject extends DataObject {
803
838
  }
804
839
  class SpaceObject extends DataObject {
805
840
  constructor(data) {
806
- super('', DataType.SPACE, version$9);
841
+ super('', DataType.SPACE, version$a);
807
842
  this.data = data;
808
843
  }
809
844
  getEntryCount() {
@@ -812,7 +847,7 @@ class SpaceObject extends DataObject {
812
847
  }
813
848
  class LevelObject extends DataObject {
814
849
  constructor(data) {
815
- super('', DataType.LEVEL, version$9);
850
+ super('', DataType.LEVEL, version$a);
816
851
  this.data = data;
817
852
  }
818
853
  getEntryCount() {
@@ -820,7 +855,7 @@ class LevelObject extends DataObject {
820
855
  }
821
856
  }
822
857
 
823
- const version$8 = new DataVersion(1, 0, 0, 0);
858
+ const version$9 = new DataVersion(1, 0, 0, 0);
824
859
  class Stock {
825
860
  constructor(id, name, room, shelf, row) {
826
861
  this.id = id;
@@ -832,7 +867,7 @@ class Stock {
832
867
  }
833
868
  class StockObject extends DataObject {
834
869
  constructor(data) {
835
- super('', DataType.STOCK, version$8);
870
+ super('', DataType.STOCK, version$9);
836
871
  this.data = data;
837
872
  }
838
873
  getEntryCount() {
@@ -840,7 +875,7 @@ class StockObject extends DataObject {
840
875
  }
841
876
  }
842
877
 
843
- const version$7 = new DataVersion(1, 0, 0, 0);
878
+ const version$8 = new DataVersion(1, 0, 0, 0);
844
879
  class Booking {
845
880
  constructor(id, amount, unit, space, item, bookingtype, purchaseprice, sellingprice) {
846
881
  this.id = id;
@@ -855,7 +890,7 @@ class Booking {
855
890
  }
856
891
  class BookingObject extends DataObject {
857
892
  constructor(data) {
858
- super('', DataType.BOOKING, version$7);
893
+ super('', DataType.BOOKING, version$8);
859
894
  this.data = data;
860
895
  }
861
896
  getEntryCount() {
@@ -863,7 +898,7 @@ class BookingObject extends DataObject {
863
898
  }
864
899
  }
865
900
 
866
- const version$6 = new DataVersion(1, 0, 0, 0);
901
+ const version$7 = new DataVersion(1, 0, 0, 0);
867
902
  class PurchasePrice {
868
903
  constructor(id, startdate, enddate, item, space, unit, price) {
869
904
  this.id = id;
@@ -888,37 +923,49 @@ class SellingPrice {
888
923
  }
889
924
  class PurchasePriceObject extends DataObject {
890
925
  constructor(data) {
891
- super('', DataType.PURCHASEPRICE, version$6);
926
+ super('', DataType.PURCHASEPRICE, version$7);
892
927
  this.data = data;
893
928
  }
894
929
  }
895
930
  class SellingPriceObject extends DataObject {
896
931
  constructor(data) {
897
- super('', DataType.SELLINGPRICE, version$6);
932
+ super('', DataType.SELLINGPRICE, version$7);
898
933
  this.data = data;
899
934
  }
900
935
  }
901
936
 
902
- const version$5 = new DataVersion(1, 0, 0, 0);
937
+ const version$6 = new DataVersion(1, 0, 0, 0);
903
938
  class ShelfLabel {
904
939
  constructor() {
905
940
  }
906
941
  }
907
942
  class ESLObject extends DataObject {
908
943
  constructor(data) {
909
- super('', DataType.SHELFLABEL, version$5);
944
+ super('', DataType.SHELFLABEL, version$6);
910
945
  this.data = data;
911
946
  }
912
947
  }
913
948
 
914
- const version$4 = new DataVersion(1, 0, 0, 0);
949
+ const version$5 = new DataVersion(1, 0, 0, 0);
915
950
  class ESLPool {
916
951
  constructor() {
917
952
  }
918
953
  }
919
954
  class ESLPoolObject extends DataObject {
920
955
  constructor(data) {
921
- super('', DataType.ESLPOOL, version$4);
956
+ super('', DataType.ESLPOOL, version$5);
957
+ this.data = data;
958
+ }
959
+ }
960
+
961
+ const version$4 = new DataVersion(1, 0, 0, 0);
962
+ class ESLAssociation {
963
+ constructor() {
964
+ }
965
+ }
966
+ class ESLAssociationObject extends DataObject {
967
+ constructor(data) {
968
+ super('', DataType.ESLASSOCIATION, version$4);
922
969
  this.data = data;
923
970
  }
924
971
  }
@@ -987,5 +1034,5 @@ class QueueObject extends DataObject {
987
1034
  * Generated bundle index. Do not edit.
988
1035
  */
989
1036
 
990
- export { Address, AddressObject, AddressToCompany, AddressType, AuthRequest, AuthResponse, AuthenticationData, AuthenticationObject, Booking, BookingObject, BookingType, Building, BuildingObject, CaptureidDatatypesService, Client, ClientObject, Company, CompanyObject, Context, Country, CountryObject, Currency, CurrencyObject, DataDto, DataObject, DataType, DataVersion, DatabaseEventType, Dimension, DimensionObject, EMailTemplateType, ESLObject, ESLPool, ESLPoolObject, EmailTemplates, Filter, FilterEntries, FilterEntry, Floor, FloorObject, Image, ImageObject, Inventory, InventoryObject, Item, ItemDetail, ItemDetailObject, ItemObject, ItemProperties, ItemPropertiesObject, ItemProperty, ItemPropertyObject, Label, LabelObject, Level, LevelObject, License, LicenseObject, Location, LocationObject, Manufacturer, ManufacturerObject, Module, ModuleObject, ModuleType, Operators, Packaging, PackagingObject, PinState, PrintData, PrintLabelObject, Printer, PrinterLanguage, PrinterManufacturer, PrinterObject, PrinterProperties, PurchasePrice, PurchasePriceObject, Queue, QueueObject, Rating, RatingObject, RegisterRequest, RegistrationState, Room, RoomObject, SellingPrice, SellingPriceObject, Shelf, ShelfLabel, ShelfObject, Space, SpaceObject, Stock, StockObject, Unit, User, UserObject, VAT, VATHistory, Variables, VerifyRequest, WebTemplateType, WebTemplates };
1037
+ export { Address, AddressObject, AddressToCompany, AddressType, AuthRequest, AuthResponse, AuthenticationData, AuthenticationObject, Booking, BookingObject, BookingType, Building, BuildingObject, CaptureidDatatypesService, Client, ClientObject, Company, CompanyObject, Context, Country, CountryObject, Currency, CurrencyObject, DataDto, DataObject, DataType, DataVersion, DatabaseEventType, Dimension, DimensionObject, EMailTemplateType, ESLAssociation, ESLAssociationObject, ESLObject, ESLPool, ESLPoolObject, EmailTemplates, Filter, FilterEntries, FilterEntry, Floor, FloorObject, Image, ImageObject, Inventory, InventoryObject, Item, ItemDetail, ItemDetailObject, ItemObject, ItemProperties, ItemPropertiesObject, ItemProperty, ItemPropertyObject, Label, LabelObject, Level, LevelObject, License, LicenseObject, Location, LocationObject, Logging, LoggingLevel, Manufacturer, ManufacturerObject, Module, ModuleObject, ModuleType, Operators, Packaging, PackagingObject, PinState, PrintData, PrintLabelObject, Printer, PrinterLanguage, PrinterManufacturer, PrinterObject, PrinterProperties, PurchasePrice, PurchasePriceObject, Queue, QueueObject, Rating, RatingObject, RegisterRequest, RegistrationState, Room, RoomObject, SellingPrice, SellingPriceObject, Shelf, ShelfLabel, ShelfObject, Space, SpaceObject, Stock, StockObject, Unit, User, UserObject, VAT, VATHistory, Variables, VerifyRequest, WebTemplateType, WebTemplates };
991
1038
  //# sourceMappingURL=captureid-datatypes.mjs.map