@mailwoman/bdc 8.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 (87) hide show
  1. package/README.md +7 -0
  2. package/index.ts +2 -0
  3. package/out/index.d.ts +3 -0
  4. package/out/index.d.ts.map +1 -0
  5. package/out/index.js +3 -0
  6. package/out/index.js.map +1 -0
  7. package/out/schema.d.ts +138 -0
  8. package/out/schema.d.ts.map +1 -0
  9. package/out/schema.js +88 -0
  10. package/out/schema.js.map +1 -0
  11. package/out/sdk/build-bdc.d.ts +214 -0
  12. package/out/sdk/build-bdc.d.ts.map +1 -0
  13. package/out/sdk/build-bdc.js +500 -0
  14. package/out/sdk/build-bdc.js.map +1 -0
  15. package/out/sdk/buildings.d.ts +84 -0
  16. package/out/sdk/buildings.d.ts.map +1 -0
  17. package/out/sdk/buildings.js +75 -0
  18. package/out/sdk/buildings.js.map +1 -0
  19. package/out/sdk/client.d.ts +237 -0
  20. package/out/sdk/client.d.ts.map +1 -0
  21. package/out/sdk/client.js +430 -0
  22. package/out/sdk/client.js.map +1 -0
  23. package/out/sdk/common.d.ts +279 -0
  24. package/out/sdk/common.d.ts.map +1 -0
  25. package/out/sdk/common.js +162 -0
  26. package/out/sdk/common.js.map +1 -0
  27. package/out/sdk/data-collection.d.ts +244 -0
  28. package/out/sdk/data-collection.d.ts.map +1 -0
  29. package/out/sdk/data-collection.js +50 -0
  30. package/out/sdk/data-collection.js.map +1 -0
  31. package/out/sdk/download.d.ts +36 -0
  32. package/out/sdk/download.d.ts.map +1 -0
  33. package/out/sdk/download.js +76 -0
  34. package/out/sdk/download.js.map +1 -0
  35. package/out/sdk/filing-dates.d.ts +57 -0
  36. package/out/sdk/filing-dates.d.ts.map +1 -0
  37. package/out/sdk/filing-dates.js +50 -0
  38. package/out/sdk/filing-dates.js.map +1 -0
  39. package/out/sdk/filing-landscape.d.ts +124 -0
  40. package/out/sdk/filing-landscape.d.ts.map +1 -0
  41. package/out/sdk/filing-landscape.js +216 -0
  42. package/out/sdk/filing-landscape.js.map +1 -0
  43. package/out/sdk/index.d.ts +15 -0
  44. package/out/sdk/index.d.ts.map +1 -0
  45. package/out/sdk/index.js +15 -0
  46. package/out/sdk/index.js.map +1 -0
  47. package/out/sdk/list-files.d.ts +39 -0
  48. package/out/sdk/list-files.d.ts.map +1 -0
  49. package/out/sdk/list-files.js +26 -0
  50. package/out/sdk/list-files.js.map +1 -0
  51. package/out/sdk/location.d.ts +40 -0
  52. package/out/sdk/location.d.ts.map +1 -0
  53. package/out/sdk/location.js +23 -0
  54. package/out/sdk/location.js.map +1 -0
  55. package/out/sdk/nearest-infrastructure.d.ts +84 -0
  56. package/out/sdk/nearest-infrastructure.d.ts.map +1 -0
  57. package/out/sdk/nearest-infrastructure.js +84 -0
  58. package/out/sdk/nearest-infrastructure.js.map +1 -0
  59. package/out/sdk/parsing.d.ts +57 -0
  60. package/out/sdk/parsing.d.ts.map +1 -0
  61. package/out/sdk/parsing.js +87 -0
  62. package/out/sdk/parsing.js.map +1 -0
  63. package/out/sdk/plausibility.d.ts +256 -0
  64. package/out/sdk/plausibility.d.ts.map +1 -0
  65. package/out/sdk/plausibility.js +334 -0
  66. package/out/sdk/plausibility.js.map +1 -0
  67. package/out/sdk/technologies.d.ts +229 -0
  68. package/out/sdk/technologies.d.ts.map +1 -0
  69. package/out/sdk/technologies.js +217 -0
  70. package/out/sdk/technologies.js.map +1 -0
  71. package/package.json +97 -0
  72. package/schema.ts +172 -0
  73. package/sdk/build-bdc.ts +810 -0
  74. package/sdk/buildings.ts +87 -0
  75. package/sdk/client.ts +643 -0
  76. package/sdk/common.ts +363 -0
  77. package/sdk/data-collection.ts +268 -0
  78. package/sdk/download.ts +91 -0
  79. package/sdk/filing-dates.ts +88 -0
  80. package/sdk/filing-landscape.ts +287 -0
  81. package/sdk/index.ts +14 -0
  82. package/sdk/list-files.ts +72 -0
  83. package/sdk/location.ts +45 -0
  84. package/sdk/nearest-infrastructure.ts +129 -0
  85. package/sdk/parsing.ts +124 -0
  86. package/sdk/plausibility.ts +512 -0
  87. package/sdk/technologies.ts +258 -0
@@ -0,0 +1,87 @@
1
+ /**
2
+ * @copyright Sister Software.
3
+ * @license AGPL-3.0
4
+ * @author Teffen Ellis, et al.
5
+ * @file FCC/NITA Building Type Codes
6
+ * @see https://www.fcc.gov/sites/default/files/2019-08/Building%20Type%20Code%20List.pdf
7
+ */
8
+
9
+ /**
10
+ * Code indicating the type of building at the location.
11
+ *
12
+ * @category NTIA
13
+ * @category FCC
14
+ * @title Building Type Code
15
+ */
16
+ export const BuildingTypeCode = {
17
+ /**
18
+ * A single-family home, apartment building, or condominium.
19
+ *
20
+ * @title Residential Building
21
+ */
22
+ Residential: "R",
23
+ /**
24
+ * A office building, retail store, or warehouse.
25
+ *
26
+ * @title Non-residential Building
27
+ */
28
+ NonResidential: "B",
29
+ /**
30
+ * Both residential and non-residential units.
31
+ *
32
+ * @title Mixed-use Building
33
+ */
34
+ Mixed: "X",
35
+ /**
36
+ * A dormitory, nursing home, or prison.
37
+ *
38
+ * @title Group Quarters
39
+ */
40
+ GroupQuarters: "G",
41
+ /**
42
+ * @title Community Anchor Institution
43
+ * @see {@link https://help.bdc.fcc.gov/hc/en-us/articles/13471550784411-How-to-Identify-a-Community-Anchor-Institution-as-a-Broadband-Serviceable-Location CAI Guide}
44
+ */
45
+ CAI: "C",
46
+ /**
47
+ * @title Enterprise or business park.
48
+ */
49
+ Enterprise: "E",
50
+ /**
51
+ * Building type not covered by the above categories.
52
+ *
53
+ * @title Other
54
+ */
55
+ Other: "O",
56
+ } as const
57
+
58
+ /**
59
+ * @category NTIA
60
+ * @category FCC
61
+ */
62
+ export type BuildingTypeCode = (typeof BuildingTypeCode)[keyof typeof BuildingTypeCode]
63
+
64
+ /**
65
+ * Code indicating the type of building at the location.
66
+ *
67
+ * @title Business/Residential Code
68
+ */
69
+ export const BusinessResidentialCode = {
70
+ /**
71
+ * @title Business-only service.
72
+ */
73
+ Business: BuildingTypeCode.NonResidential,
74
+ /**
75
+ * @title Residential-only service.
76
+ */
77
+ Residential: BuildingTypeCode.Residential,
78
+ /**
79
+ * @title Mixed business and residential service.
80
+ */
81
+ Mixed: BuildingTypeCode.Mixed,
82
+ } as const
83
+
84
+ /**
85
+ * @title Business/Residential Code
86
+ */
87
+ export type BusinessResidentialCode = (typeof BusinessResidentialCode)[keyof typeof BusinessResidentialCode]