@internetdata/internetdata 2.7.2 → 2.7.3

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.
@@ -544,12 +544,21 @@ export type ListDatabasesData = {
544
544
  };
545
545
  export type ListDatabasesErrors = {
546
546
  /**
547
- * Missing or invalid bearer key, the key lacks the `db.download` scope, or
548
- * it belongs to no organization.
547
+ * Missing, invalid, revoked or expired key; the key lacks the
548
+ * `db.download` scope; or the key belongs to no active organization.
549
+ * Each answers the same.
549
550
  * `rc`: `UNAUTHORIZED`.
550
551
  *
551
552
  */
552
553
  401: Error;
554
+ /**
555
+ * The request comes from an address outside the key's or its
556
+ * organization's allowed addresses. Change the allowlist or call from an
557
+ * allowed address: the key itself is fine.
558
+ * `rc`: `IP_NOT_ALLOWED`.
559
+ *
560
+ */
561
+ 403: Error;
553
562
  };
554
563
  export type ListDatabasesError = ListDatabasesErrors[keyof ListDatabasesErrors];
555
564
  export type ListDatabasesResponses = {
@@ -582,16 +591,19 @@ export type DownloadDatabaseV2Errors = {
582
591
  */
583
592
  400: Error;
584
593
  /**
585
- * Missing or invalid bearer key, the key lacks the `db.download` scope, or
586
- * it belongs to no organization.
594
+ * Missing, invalid, revoked or expired key; the key lacks the
595
+ * `db.download` scope; or the key belongs to no active organization.
596
+ * Each answers the same.
587
597
  * `rc`: `UNAUTHORIZED`.
588
598
  *
589
599
  */
590
600
  401: Error;
591
601
  /**
592
- * Your organization holds no license for this database, or its term has
593
- * ended.
594
- * `rc`: `NOT_LICENSED`, `LICENSE_EXPIRED`.
602
+ * Your organization holds no license for this database (`NOT_LICENSED`),
603
+ * or its term has ended (`LICENSE_EXPIRED`); or the request comes from an
604
+ * address outside the key's or its organization's allowed addresses
605
+ * (`IP_NOT_ALLOWED`).
606
+ * `rc`: `NOT_LICENSED`, `LICENSE_EXPIRED`, `IP_NOT_ALLOWED`.
595
607
  *
596
608
  */
597
609
  403: Error;
@@ -622,12 +634,21 @@ export type DatabaseMetadataV2Data = {
622
634
  };
623
635
  export type DatabaseMetadataV2Errors = {
624
636
  /**
625
- * Missing or invalid bearer key, the key lacks the `db.download` scope, or
626
- * it belongs to no organization.
637
+ * Missing, invalid, revoked or expired key; the key lacks the
638
+ * `db.download` scope; or the key belongs to no active organization.
639
+ * Each answers the same.
627
640
  * `rc`: `UNAUTHORIZED`.
628
641
  *
629
642
  */
630
643
  401: Error;
644
+ /**
645
+ * The request comes from an address outside the key's or its
646
+ * organization's allowed addresses. Change the allowlist or call from an
647
+ * allowed address: the key itself is fine.
648
+ * `rc`: `IP_NOT_ALLOWED`.
649
+ *
650
+ */
651
+ 403: Error;
631
652
  /**
632
653
  * No such database.
633
654
  * `rc`: `UNKNOWN_DATASET`.
@@ -670,16 +691,19 @@ export type DatabaseChecksumV2Errors = {
670
691
  */
671
692
  400: Error;
672
693
  /**
673
- * Missing or invalid bearer key, the key lacks the `db.download` scope, or
674
- * it belongs to no organization.
694
+ * Missing, invalid, revoked or expired key; the key lacks the
695
+ * `db.download` scope; or the key belongs to no active organization.
696
+ * Each answers the same.
675
697
  * `rc`: `UNAUTHORIZED`.
676
698
  *
677
699
  */
678
700
  401: Error;
679
701
  /**
680
- * Your organization holds no license for this database, or its term has
681
- * ended.
682
- * `rc`: `NOT_LICENSED`, `LICENSE_EXPIRED`.
702
+ * Your organization holds no license for this database (`NOT_LICENSED`),
703
+ * or its term has ended (`LICENSE_EXPIRED`); or the request comes from an
704
+ * address outside the key's or its organization's allowed addresses
705
+ * (`IP_NOT_ALLOWED`).
706
+ * `rc`: `NOT_LICENSED`, `LICENSE_EXPIRED`, `IP_NOT_ALLOWED`.
683
707
  *
684
708
  */
685
709
  403: Error;
@@ -721,12 +745,21 @@ export type ListDownloadsData = {
721
745
  };
722
746
  export type ListDownloadsErrors = {
723
747
  /**
724
- * Missing or invalid bearer key, the key lacks the `db.download` scope, or
725
- * it belongs to no organization.
748
+ * Missing, invalid, revoked or expired key; the key lacks the
749
+ * `db.download` scope; or the key belongs to no active organization.
750
+ * Each answers the same.
726
751
  * `rc`: `UNAUTHORIZED`.
727
752
  *
728
753
  */
729
754
  401: Error;
755
+ /**
756
+ * The request comes from an address outside the key's or its
757
+ * organization's allowed addresses. Change the allowlist or call from an
758
+ * allowed address: the key itself is fine.
759
+ * `rc`: `IP_NOT_ALLOWED`.
760
+ *
761
+ */
762
+ 403: Error;
730
763
  };
731
764
  export type ListDownloadsError = ListDownloadsErrors[keyof ListDownloadsErrors];
732
765
  export type ListDownloadsResponses = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetdata/internetdata",
3
- "version": "2.7.2",
3
+ "version": "2.7.3",
4
4
  "description": "Official Node.js client library for the InternetData API. Download, verify and inspect licensed IP database files.",
5
5
  "type": "module",
6
6
  "license": "MIT",