@justair/justair-library 7.3.0-alpha.e0c71b4 → 7.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +0 -12
  2. package/dist/constants/dataDownloads.d.ts +2 -0
  3. package/dist/constants/dataDownloads.d.ts.map +1 -0
  4. package/dist/constants/index.d.ts +2 -0
  5. package/dist/constants/pollutants.d.ts +46 -105
  6. package/dist/constants/pollutants.d.ts.map +1 -1
  7. package/dist/constants/timezones.d.ts +2 -0
  8. package/dist/constants/timezones.d.ts.map +1 -0
  9. package/dist/index.d.ts +16 -4
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/models/dataDownloads.d.ts +261 -0
  12. package/dist/models/dataDownloads.d.ts.map +1 -0
  13. package/dist/models/tests/dataDownloads.test.d.ts +2 -0
  14. package/dist/models/tests/dataDownloads.test.d.ts.map +1 -0
  15. package/dist/utils/dataDownloadValidation.d.ts +26 -0
  16. package/dist/utils/dataDownloadValidation.d.ts.map +1 -0
  17. package/dist/utils/quietHours.d.ts +3 -2
  18. package/dist/utils/quietHours.d.ts.map +1 -1
  19. package/dist/utils/tests/dataDownloadValidation.test.d.ts +2 -0
  20. package/dist/utils/tests/dataDownloadValidation.test.d.ts.map +1 -0
  21. package/dist/utils/tests/timezone.test.d.ts +2 -0
  22. package/dist/utils/tests/timezone.test.d.ts.map +1 -0
  23. package/dist/utils/timezone.d.ts +3 -0
  24. package/dist/utils/timezone.d.ts.map +1 -0
  25. package/package.json +1 -1
  26. package/src/constants/dataDownloads.js +19 -0
  27. package/src/constants/index.js +2 -0
  28. package/src/constants/pollutants.js +0 -46
  29. package/src/constants/tests/constantsBarrel.test.js +20 -3
  30. package/src/constants/tests/pollutants.test.js +1 -23
  31. package/src/constants/timezones.js +12 -0
  32. package/src/index.js +46 -4
  33. package/src/models/dataDownloads.js +169 -0
  34. package/src/utils/dataDownloadValidation.js +164 -0
  35. package/src/utils/quietHours.js +8 -33
  36. package/src/utils/tests/dataDownloadValidation.test.js +213 -0
  37. package/src/utils/tests/timezone.test.js +59 -0
  38. package/src/utils/timezone.js +46 -0
package/README.md CHANGED
@@ -97,18 +97,6 @@ The following parameters were added to `HEAVY_METALS` and are now included in `s
97
97
  | `MN` | Manganese |
98
98
  | `SE` | Selenium |
99
99
 
100
- ### New met parameters in 7.3.0
101
-
102
- The following parameters were added to `PARAMETERS` and are now included in `parametersEnum`. Consuming services that display or filter parameters without a `type` filter (admin pickers, notification threshold UIs, reporting) will start showing them on install, even though no service writes them yet.
103
-
104
- | id | Name | Unit |
105
- |---|---|---|
106
- | `T_AMB` | Ambient Temperature | `°F` |
107
- | `RH_AMB` | Ambient Relative Humidity | `%` |
108
- | `DP_AMB` | Ambient Dew Point | `°F` |
109
-
110
- These are **not** interchangeable with the bare `T` / `RH` / `DP` ids, which are enclosure-internal readings used only by correction equations and fog detection. Never fall back from one kind to the other. See "Ambient vs internal met parameters" in `CLAUDE.md` before wiring these up. `INTERNAL_TO_AMBIENT_PARAMETERS` exports the pairing as data so consumers can filter on it instead of hardcoding the six ids.
111
-
112
100
  ### Object shape
113
101
 
114
102
  Each constant is an object with the following fields:
@@ -0,0 +1,2 @@
1
+ export const DATA_DOWNLOAD_TYPES: readonly string[];
2
+ //# sourceMappingURL=dataDownloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataDownloads.d.ts","sourceRoot":"","sources":["../../src/constants/dataDownloads.js"],"names":[],"mappings":"AAkBA,oDAAoE"}
@@ -1,4 +1,6 @@
1
1
  export * from "./pollutants.js";
2
2
  export * from "./alertLevels.js";
3
3
  export * from "./userNotifications.js";
4
+ export * from "./timezones.js";
5
+ export * from "./dataDownloads.js";
4
6
  //# sourceMappingURL=index.d.ts.map
@@ -279,7 +279,7 @@ export namespace PARAMETERS {
279
279
  let impacts_15: any;
280
280
  export { impacts_15 as impacts };
281
281
  }
282
- namespace DP_AMB {
282
+ namespace RH {
283
283
  let id_16: string;
284
284
  export { id_16 as id };
285
285
  let label_16: string;
@@ -297,7 +297,7 @@ export namespace PARAMETERS {
297
297
  let impacts_16: any;
298
298
  export { impacts_16 as impacts };
299
299
  }
300
- namespace RH {
300
+ namespace T {
301
301
  let id_17: string;
302
302
  export { id_17 as id };
303
303
  let label_17: string;
@@ -315,7 +315,7 @@ export namespace PARAMETERS {
315
315
  let impacts_17: any;
316
316
  export { impacts_17 as impacts };
317
317
  }
318
- namespace RH_AMB {
318
+ namespace WD {
319
319
  let id_18: string;
320
320
  export { id_18 as id };
321
321
  let label_18: string;
@@ -333,7 +333,7 @@ export namespace PARAMETERS {
333
333
  let impacts_18: any;
334
334
  export { impacts_18 as impacts };
335
335
  }
336
- namespace T {
336
+ namespace WS {
337
337
  let id_19: string;
338
338
  export { id_19 as id };
339
339
  let label_19: string;
@@ -351,7 +351,7 @@ export namespace PARAMETERS {
351
351
  let impacts_19: any;
352
352
  export { impacts_19 as impacts };
353
353
  }
354
- namespace T_AMB {
354
+ namespace GS {
355
355
  let id_20: string;
356
356
  export { id_20 as id };
357
357
  let label_20: string;
@@ -369,7 +369,7 @@ export namespace PARAMETERS {
369
369
  let impacts_20: any;
370
370
  export { impacts_20 as impacts };
371
371
  }
372
- namespace WD {
372
+ namespace R {
373
373
  let id_21: string;
374
374
  export { id_21 as id };
375
375
  let label_21: string;
@@ -387,7 +387,7 @@ export namespace PARAMETERS {
387
387
  let impacts_21: any;
388
388
  export { impacts_21 as impacts };
389
389
  }
390
- namespace WS {
390
+ namespace SR {
391
391
  let id_22: string;
392
392
  export { id_22 as id };
393
393
  let label_22: string;
@@ -405,7 +405,7 @@ export namespace PARAMETERS {
405
405
  let impacts_22: any;
406
406
  export { impacts_22 as impacts };
407
407
  }
408
- namespace GS {
408
+ namespace P {
409
409
  let id_23: string;
410
410
  export { id_23 as id };
411
411
  let label_23: string;
@@ -423,7 +423,7 @@ export namespace PARAMETERS {
423
423
  let impacts_23: any;
424
424
  export { impacts_23 as impacts };
425
425
  }
426
- namespace R {
426
+ namespace PAR {
427
427
  let id_24: string;
428
428
  export { id_24 as id };
429
429
  let label_24: string;
@@ -441,7 +441,7 @@ export namespace PARAMETERS {
441
441
  let impacts_24: any;
442
442
  export { impacts_24 as impacts };
443
443
  }
444
- namespace SR {
444
+ namespace ARM {
445
445
  let id_25: string;
446
446
  export { id_25 as id };
447
447
  let label_25: string;
@@ -459,7 +459,7 @@ export namespace PARAMETERS {
459
459
  let impacts_25: any;
460
460
  export { impacts_25 as impacts };
461
461
  }
462
- namespace P {
462
+ namespace ARW {
463
463
  let id_26: string;
464
464
  export { id_26 as id };
465
465
  let label_26: string;
@@ -477,7 +477,7 @@ export namespace PARAMETERS {
477
477
  let impacts_26: any;
478
478
  export { impacts_26 as impacts };
479
479
  }
480
- namespace PAR {
480
+ namespace ARD {
481
481
  let id_27: string;
482
482
  export { id_27 as id };
483
483
  let label_27: string;
@@ -495,7 +495,7 @@ export namespace PARAMETERS {
495
495
  let impacts_27: any;
496
496
  export { impacts_27 as impacts };
497
497
  }
498
- namespace ARM {
498
+ namespace ARH {
499
499
  let id_28: string;
500
500
  export { id_28 as id };
501
501
  let label_28: string;
@@ -513,7 +513,9 @@ export namespace PARAMETERS {
513
513
  let impacts_28: any;
514
514
  export { impacts_28 as impacts };
515
515
  }
516
- namespace ARW {
516
+ }
517
+ export namespace HEAVY_METALS {
518
+ export namespace AS {
517
519
  let id_29: string;
518
520
  export { id_29 as id };
519
521
  let label_29: string;
@@ -524,14 +526,14 @@ export namespace PARAMETERS {
524
526
  export { unit_29 as unit };
525
527
  let type_29: string;
526
528
  export { type_29 as type };
527
- let rfc_29: any;
529
+ let rfc_29: number;
528
530
  export { rfc_29 as rfc };
529
- let origin_29: any;
531
+ let origin_29: string;
530
532
  export { origin_29 as origin };
531
- let impacts_29: any;
533
+ let impacts_29: string;
532
534
  export { impacts_29 as impacts };
533
535
  }
534
- namespace ARD {
536
+ export namespace BA {
535
537
  let id_30: string;
536
538
  export { id_30 as id };
537
539
  let label_30: string;
@@ -544,12 +546,12 @@ export namespace PARAMETERS {
544
546
  export { type_30 as type };
545
547
  let rfc_30: any;
546
548
  export { rfc_30 as rfc };
547
- let origin_30: any;
549
+ let origin_30: string;
548
550
  export { origin_30 as origin };
549
- let impacts_30: any;
551
+ let impacts_30: string;
550
552
  export { impacts_30 as impacts };
551
553
  }
552
- namespace ARH {
554
+ export namespace C6H6 {
553
555
  let id_31: string;
554
556
  export { id_31 as id };
555
557
  let label_31: string;
@@ -560,21 +562,14 @@ export namespace PARAMETERS {
560
562
  export { unit_31 as unit };
561
563
  let type_31: string;
562
564
  export { type_31 as type };
563
- let rfc_31: any;
565
+ let rfc_31: number;
564
566
  export { rfc_31 as rfc };
565
- let origin_31: any;
567
+ let origin_31: string;
566
568
  export { origin_31 as origin };
567
- let impacts_31: any;
569
+ let impacts_31: string;
568
570
  export { impacts_31 as impacts };
569
571
  }
570
- }
571
- export const INTERNAL_TO_AMBIENT_PARAMETERS: Readonly<{
572
- T: "T_AMB";
573
- RH: "RH_AMB";
574
- DP: "DP_AMB";
575
- }>;
576
- export namespace HEAVY_METALS {
577
- export namespace AS {
572
+ export namespace BE {
578
573
  let id_32: string;
579
574
  export { id_32 as id };
580
575
  let label_32: string;
@@ -592,7 +587,7 @@ export namespace HEAVY_METALS {
592
587
  let impacts_32: string;
593
588
  export { impacts_32 as impacts };
594
589
  }
595
- export namespace BA {
590
+ export namespace CD {
596
591
  let id_33: string;
597
592
  export { id_33 as id };
598
593
  let label_33: string;
@@ -603,14 +598,14 @@ export namespace HEAVY_METALS {
603
598
  export { unit_33 as unit };
604
599
  let type_33: string;
605
600
  export { type_33 as type };
606
- let rfc_33: any;
601
+ let rfc_33: number;
607
602
  export { rfc_33 as rfc };
608
603
  let origin_33: string;
609
604
  export { origin_33 as origin };
610
605
  let impacts_33: string;
611
606
  export { impacts_33 as impacts };
612
607
  }
613
- export namespace C6H6 {
608
+ export namespace CR {
614
609
  let id_34: string;
615
610
  export { id_34 as id };
616
611
  let label_34: string;
@@ -628,7 +623,7 @@ export namespace HEAVY_METALS {
628
623
  let impacts_34: string;
629
624
  export { impacts_34 as impacts };
630
625
  }
631
- export namespace BE {
626
+ export namespace CO_1 {
632
627
  let id_35: string;
633
628
  export { id_35 as id };
634
629
  let label_35: string;
@@ -639,14 +634,15 @@ export namespace HEAVY_METALS {
639
634
  export { unit_35 as unit };
640
635
  let type_35: string;
641
636
  export { type_35 as type };
642
- let rfc_35: number;
637
+ let rfc_35: any;
643
638
  export { rfc_35 as rfc };
644
639
  let origin_35: string;
645
640
  export { origin_35 as origin };
646
641
  let impacts_35: string;
647
642
  export { impacts_35 as impacts };
648
643
  }
649
- export namespace CD {
644
+ export { CO_1 as CO };
645
+ export namespace CU {
650
646
  let id_36: string;
651
647
  export { id_36 as id };
652
648
  let label_36: string;
@@ -657,14 +653,14 @@ export namespace HEAVY_METALS {
657
653
  export { unit_36 as unit };
658
654
  let type_36: string;
659
655
  export { type_36 as type };
660
- let rfc_36: number;
656
+ let rfc_36: any;
661
657
  export { rfc_36 as rfc };
662
658
  let origin_36: string;
663
659
  export { origin_36 as origin };
664
660
  let impacts_36: string;
665
661
  export { impacts_36 as impacts };
666
662
  }
667
- export namespace CR {
663
+ export namespace FE {
668
664
  let id_37: string;
669
665
  export { id_37 as id };
670
666
  let label_37: string;
@@ -675,14 +671,14 @@ export namespace HEAVY_METALS {
675
671
  export { unit_37 as unit };
676
672
  let type_37: string;
677
673
  export { type_37 as type };
678
- let rfc_37: number;
674
+ let rfc_37: any;
679
675
  export { rfc_37 as rfc };
680
676
  let origin_37: string;
681
677
  export { origin_37 as origin };
682
678
  let impacts_37: string;
683
679
  export { impacts_37 as impacts };
684
680
  }
685
- export namespace CO_1 {
681
+ export namespace PB {
686
682
  let id_38: string;
687
683
  export { id_38 as id };
688
684
  let label_38: string;
@@ -693,15 +689,14 @@ export namespace HEAVY_METALS {
693
689
  export { unit_38 as unit };
694
690
  let type_38: string;
695
691
  export { type_38 as type };
696
- let rfc_38: any;
692
+ let rfc_38: number;
697
693
  export { rfc_38 as rfc };
698
694
  let origin_38: string;
699
695
  export { origin_38 as origin };
700
696
  let impacts_38: string;
701
697
  export { impacts_38 as impacts };
702
698
  }
703
- export { CO_1 as CO };
704
- export namespace CU {
699
+ export namespace MN {
705
700
  let id_39: string;
706
701
  export { id_39 as id };
707
702
  let label_39: string;
@@ -712,14 +707,14 @@ export namespace HEAVY_METALS {
712
707
  export { unit_39 as unit };
713
708
  let type_39: string;
714
709
  export { type_39 as type };
715
- let rfc_39: any;
710
+ let rfc_39: number;
716
711
  export { rfc_39 as rfc };
717
712
  let origin_39: string;
718
713
  export { origin_39 as origin };
719
714
  let impacts_39: string;
720
715
  export { impacts_39 as impacts };
721
716
  }
722
- export namespace FE {
717
+ export namespace NI {
723
718
  let id_40: string;
724
719
  export { id_40 as id };
725
720
  let label_40: string;
@@ -737,7 +732,7 @@ export namespace HEAVY_METALS {
737
732
  let impacts_40: string;
738
733
  export { impacts_40 as impacts };
739
734
  }
740
- export namespace PB {
735
+ export namespace SE {
741
736
  let id_41: string;
742
737
  export { id_41 as id };
743
738
  let label_41: string;
@@ -748,14 +743,14 @@ export namespace HEAVY_METALS {
748
743
  export { unit_41 as unit };
749
744
  let type_41: string;
750
745
  export { type_41 as type };
751
- let rfc_41: number;
746
+ let rfc_41: any;
752
747
  export { rfc_41 as rfc };
753
748
  let origin_41: string;
754
749
  export { origin_41 as origin };
755
750
  let impacts_41: string;
756
751
  export { impacts_41 as impacts };
757
752
  }
758
- export namespace MN {
753
+ export namespace ZN {
759
754
  let id_42: string;
760
755
  export { id_42 as id };
761
756
  let label_42: string;
@@ -766,66 +761,12 @@ export namespace HEAVY_METALS {
766
761
  export { unit_42 as unit };
767
762
  let type_42: string;
768
763
  export { type_42 as type };
769
- let rfc_42: number;
764
+ let rfc_42: any;
770
765
  export { rfc_42 as rfc };
771
766
  let origin_42: string;
772
767
  export { origin_42 as origin };
773
768
  let impacts_42: string;
774
769
  export { impacts_42 as impacts };
775
770
  }
776
- export namespace NI {
777
- let id_43: string;
778
- export { id_43 as id };
779
- let label_43: string;
780
- export { label_43 as label };
781
- let name_43: string;
782
- export { name_43 as name };
783
- let unit_43: string;
784
- export { unit_43 as unit };
785
- let type_43: string;
786
- export { type_43 as type };
787
- let rfc_43: any;
788
- export { rfc_43 as rfc };
789
- let origin_43: string;
790
- export { origin_43 as origin };
791
- let impacts_43: string;
792
- export { impacts_43 as impacts };
793
- }
794
- export namespace SE {
795
- let id_44: string;
796
- export { id_44 as id };
797
- let label_44: string;
798
- export { label_44 as label };
799
- let name_44: string;
800
- export { name_44 as name };
801
- let unit_44: string;
802
- export { unit_44 as unit };
803
- let type_44: string;
804
- export { type_44 as type };
805
- let rfc_44: any;
806
- export { rfc_44 as rfc };
807
- let origin_44: string;
808
- export { origin_44 as origin };
809
- let impacts_44: string;
810
- export { impacts_44 as impacts };
811
- }
812
- export namespace ZN {
813
- let id_45: string;
814
- export { id_45 as id };
815
- let label_45: string;
816
- export { label_45 as label };
817
- let name_45: string;
818
- export { name_45 as name };
819
- let unit_45: string;
820
- export { unit_45 as unit };
821
- let type_45: string;
822
- export { type_45 as type };
823
- let rfc_45: any;
824
- export { rfc_45 as rfc };
825
- let origin_45: string;
826
- export { origin_45 as origin };
827
- let impacts_45: string;
828
- export { impacts_45 as impacts };
829
- }
830
771
  }
831
772
  //# sourceMappingURL=pollutants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pollutants.d.ts","sourceRoot":"","sources":["../../src/constants/pollutants.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+UA;;;;GAIG"}
1
+ {"version":3,"file":"pollutants.d.ts","sourceRoot":"","sources":["../../src/constants/pollutants.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export const DEFAULT_TIMEZONE: "America/New_York";
2
+ //# sourceMappingURL=timezones.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timezones.d.ts","sourceRoot":"","sources":["../../src/constants/timezones.js"],"names":[],"mappings":"AAWA,kDAAmD"}
package/dist/index.d.ts CHANGED
@@ -86,20 +86,32 @@ import { AccountNotification } from "./models/userNotifications.js";
86
86
  import { NOTIFICATION_KINDS } from "./models/userNotifications.js";
87
87
  import { NOTIFICATION_CHANNELS } from "./models/userNotifications.js";
88
88
  import { DELIVERY_STATUSES } from "./models/userNotifications.js";
89
+ import { DATA_DOWNLOAD_TYPES } from "./constants/dataDownloads.js";
90
+ import { dataDownloadSchema } from "./models/dataDownloads.js";
91
+ import { DataDownloads } from "./models/dataDownloads.js";
92
+ import { AqiDataDownload } from "./models/dataDownloads.js";
93
+ import { SampleDataDownload } from "./models/dataDownloads.js";
94
+ import { MAX_RANGE_DAYS as DATA_DOWNLOAD_MAX_RANGE_DAYS } from "./utils/dataDownloadValidation.js";
95
+ import { DATA_DOWNLOAD_ERRORS } from "./utils/dataDownloadValidation.js";
96
+ import { validateDateOrder as validateDataDownloadDateOrder } from "./utils/dataDownloadValidation.js";
97
+ import { validateMaxDateRange as validateDataDownloadMaxDateRange } from "./utils/dataDownloadValidation.js";
98
+ import { validateDownloadEmail as validateDataDownloadEmail } from "./utils/dataDownloadValidation.js";
99
+ import { normalizeDownloadEmail as normalizeDataDownloadEmail } from "./utils/dataDownloadValidation.js";
100
+ import { validateDownloadTimezone as validateDataDownloadTimezone } from "./utils/dataDownloadValidation.js";
101
+ import { normalizeDownloadTimezone as normalizeDataDownloadTimezone } from "./utils/dataDownloadValidation.js";
89
102
  import { PARAMETERS } from "./constants/pollutants.js";
90
103
  import { HEAVY_METALS } from "./constants/pollutants.js";
91
- import { INTERNAL_TO_AMBIENT_PARAMETERS } from "./constants/pollutants.js";
92
104
  import { ALERT_LEVEL_WEIGHTS } from "./constants/alertLevels.js";
93
105
  import { getAlertWeight } from "./constants/alertLevels.js";
94
106
  import { splitName } from "./utils/splitName.js";
95
107
  import { DEFAULT_QUIET_HOURS } from "./utils/quietHours.js";
96
- import { DEFAULT_TIMEZONE } from "./utils/quietHours.js";
108
+ import { DEFAULT_TIMEZONE } from "./constants/timezones.js";
97
109
  import { QUIET_HOURS_ERRORS } from "./utils/quietHours.js";
98
110
  import { isValidTimeString } from "./utils/quietHours.js";
99
- import { isValidIANATimezone } from "./utils/quietHours.js";
111
+ import { isValidIANATimezone } from "./utils/timezone.js";
100
112
  import { validateQuietHours } from "./utils/quietHours.js";
101
113
  import { getZoneMinutes } from "./utils/quietHours.js";
102
114
  import { isInQuietWindow } from "./utils/quietHours.js";
103
115
  import { resolveQuietHours } from "./utils/quietHours.js";
104
- export { Database, adminSchema, Admin, configurationsSchema, Configurations, measurementsSchema, Measurements, monitorRequestsSchema, MonitorRequests, monitorsSchema, Monitors, organizationsSchema, Organizations, usersSchema, Users, COOKIE_CONSENT_CATEGORIES, COOKIE_CONSENT_VALUES, validateCookieConsent, eventsSchema, Events, lightMonitorSchema, LightMonitors, monitorSuppliersSchema, MonitorSuppliers, contextsSchema, Contexts, parametersSchema, Parameters, announcementSchema, Announcements, jobsSchema, Jobs, apiKeySchema, ApiKey, UsageMetrics, usageMetricsSchema, Audit, auditSchema, EventsAudit, eventsAuditSchema, MonitorAudit, monitorAuditSchema, parametersEnum, deploymentTypesEnum, AlertsAudit, Alerts, alertsSchema, alertsAuditSchema, Features, featuresSchema, dataCompletenessSchema, DataCompleteness, networkMetricsSchema, NetworkMetrics, rateOfChangeSchema, RateOfChange, changeStreamCheckpointsSchema, ChangeStreamCheckpoints, sitesSchema, Sites, sampleSitesSchema, SampleSites, sampleSiteAuditSchema, SampleSiteAudit, sampleParametersEnum, samplesSchema, Samples, samplesAuditSchema, SamplesAudit, sampleParameterReferenceConcentrations, passwordResetTokenSchema, PasswordResetToken, monitorEpisodesSchema, MonitorEpisode, userNotificationsSchema, UserNotification, AqiAlertNotification, DeviceOfflineNotification, WeeklyDigestNotification, AccountNotification, NOTIFICATION_KINDS, NOTIFICATION_CHANNELS, DELIVERY_STATUSES, PARAMETERS, HEAVY_METALS, INTERNAL_TO_AMBIENT_PARAMETERS, ALERT_LEVEL_WEIGHTS, getAlertWeight, splitName, DEFAULT_QUIET_HOURS, DEFAULT_TIMEZONE, QUIET_HOURS_ERRORS, isValidTimeString, isValidIANATimezone, validateQuietHours, getZoneMinutes, isInQuietWindow, resolveQuietHours };
116
+ export { Database, adminSchema, Admin, configurationsSchema, Configurations, measurementsSchema, Measurements, monitorRequestsSchema, MonitorRequests, monitorsSchema, Monitors, organizationsSchema, Organizations, usersSchema, Users, COOKIE_CONSENT_CATEGORIES, COOKIE_CONSENT_VALUES, validateCookieConsent, eventsSchema, Events, lightMonitorSchema, LightMonitors, monitorSuppliersSchema, MonitorSuppliers, contextsSchema, Contexts, parametersSchema, Parameters, announcementSchema, Announcements, jobsSchema, Jobs, apiKeySchema, ApiKey, UsageMetrics, usageMetricsSchema, Audit, auditSchema, EventsAudit, eventsAuditSchema, MonitorAudit, monitorAuditSchema, parametersEnum, deploymentTypesEnum, AlertsAudit, Alerts, alertsSchema, alertsAuditSchema, Features, featuresSchema, dataCompletenessSchema, DataCompleteness, networkMetricsSchema, NetworkMetrics, rateOfChangeSchema, RateOfChange, changeStreamCheckpointsSchema, ChangeStreamCheckpoints, sitesSchema, Sites, sampleSitesSchema, SampleSites, sampleSiteAuditSchema, SampleSiteAudit, sampleParametersEnum, samplesSchema, Samples, samplesAuditSchema, SamplesAudit, sampleParameterReferenceConcentrations, passwordResetTokenSchema, PasswordResetToken, monitorEpisodesSchema, MonitorEpisode, userNotificationsSchema, UserNotification, AqiAlertNotification, DeviceOfflineNotification, WeeklyDigestNotification, AccountNotification, NOTIFICATION_KINDS, NOTIFICATION_CHANNELS, DELIVERY_STATUSES, DATA_DOWNLOAD_TYPES, dataDownloadSchema, DataDownloads, AqiDataDownload, SampleDataDownload, DATA_DOWNLOAD_MAX_RANGE_DAYS, DATA_DOWNLOAD_ERRORS, validateDataDownloadDateOrder, validateDataDownloadMaxDateRange, validateDataDownloadEmail, normalizeDataDownloadEmail, validateDataDownloadTimezone, normalizeDataDownloadTimezone, PARAMETERS, HEAVY_METALS, ALERT_LEVEL_WEIGHTS, getAlertWeight, splitName, DEFAULT_QUIET_HOURS, DEFAULT_TIMEZONE, QUIET_HOURS_ERRORS, isValidTimeString, isValidIANATimezone, validateQuietHours, getZoneMinutes, isInQuietWindow, resolveQuietHours };
105
117
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":"AAuHA;;;iBAEC;yBAvDwB,oBAAoB;qBADxB,gBAAgB;4BAjEF,mBAAmB;sBAAnB,mBAAmB;qCAI/C,4BAA4B;+BAA5B,4BAA4B;mCAM5B,0BAA0B;6BAA1B,0BAA0B;sCAI1B,6BAA6B;gCAA7B,6BAA6B;+BAQ7B,sBAAsB;yBAAtB,sBAAsB;oCACsB,2BAA2B;8BAA3B,2BAA2B;4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