@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.
- package/README.md +7 -0
- package/index.ts +2 -0
- package/out/index.d.ts +3 -0
- package/out/index.d.ts.map +1 -0
- package/out/index.js +3 -0
- package/out/index.js.map +1 -0
- package/out/schema.d.ts +138 -0
- package/out/schema.d.ts.map +1 -0
- package/out/schema.js +88 -0
- package/out/schema.js.map +1 -0
- package/out/sdk/build-bdc.d.ts +214 -0
- package/out/sdk/build-bdc.d.ts.map +1 -0
- package/out/sdk/build-bdc.js +500 -0
- package/out/sdk/build-bdc.js.map +1 -0
- package/out/sdk/buildings.d.ts +84 -0
- package/out/sdk/buildings.d.ts.map +1 -0
- package/out/sdk/buildings.js +75 -0
- package/out/sdk/buildings.js.map +1 -0
- package/out/sdk/client.d.ts +237 -0
- package/out/sdk/client.d.ts.map +1 -0
- package/out/sdk/client.js +430 -0
- package/out/sdk/client.js.map +1 -0
- package/out/sdk/common.d.ts +279 -0
- package/out/sdk/common.d.ts.map +1 -0
- package/out/sdk/common.js +162 -0
- package/out/sdk/common.js.map +1 -0
- package/out/sdk/data-collection.d.ts +244 -0
- package/out/sdk/data-collection.d.ts.map +1 -0
- package/out/sdk/data-collection.js +50 -0
- package/out/sdk/data-collection.js.map +1 -0
- package/out/sdk/download.d.ts +36 -0
- package/out/sdk/download.d.ts.map +1 -0
- package/out/sdk/download.js +76 -0
- package/out/sdk/download.js.map +1 -0
- package/out/sdk/filing-dates.d.ts +57 -0
- package/out/sdk/filing-dates.d.ts.map +1 -0
- package/out/sdk/filing-dates.js +50 -0
- package/out/sdk/filing-dates.js.map +1 -0
- package/out/sdk/filing-landscape.d.ts +124 -0
- package/out/sdk/filing-landscape.d.ts.map +1 -0
- package/out/sdk/filing-landscape.js +216 -0
- package/out/sdk/filing-landscape.js.map +1 -0
- package/out/sdk/index.d.ts +15 -0
- package/out/sdk/index.d.ts.map +1 -0
- package/out/sdk/index.js +15 -0
- package/out/sdk/index.js.map +1 -0
- package/out/sdk/list-files.d.ts +39 -0
- package/out/sdk/list-files.d.ts.map +1 -0
- package/out/sdk/list-files.js +26 -0
- package/out/sdk/list-files.js.map +1 -0
- package/out/sdk/location.d.ts +40 -0
- package/out/sdk/location.d.ts.map +1 -0
- package/out/sdk/location.js +23 -0
- package/out/sdk/location.js.map +1 -0
- package/out/sdk/nearest-infrastructure.d.ts +84 -0
- package/out/sdk/nearest-infrastructure.d.ts.map +1 -0
- package/out/sdk/nearest-infrastructure.js +84 -0
- package/out/sdk/nearest-infrastructure.js.map +1 -0
- package/out/sdk/parsing.d.ts +57 -0
- package/out/sdk/parsing.d.ts.map +1 -0
- package/out/sdk/parsing.js +87 -0
- package/out/sdk/parsing.js.map +1 -0
- package/out/sdk/plausibility.d.ts +256 -0
- package/out/sdk/plausibility.d.ts.map +1 -0
- package/out/sdk/plausibility.js +334 -0
- package/out/sdk/plausibility.js.map +1 -0
- package/out/sdk/technologies.d.ts +229 -0
- package/out/sdk/technologies.d.ts.map +1 -0
- package/out/sdk/technologies.js +217 -0
- package/out/sdk/technologies.js.map +1 -0
- package/package.json +97 -0
- package/schema.ts +172 -0
- package/sdk/build-bdc.ts +810 -0
- package/sdk/buildings.ts +87 -0
- package/sdk/client.ts +643 -0
- package/sdk/common.ts +363 -0
- package/sdk/data-collection.ts +268 -0
- package/sdk/download.ts +91 -0
- package/sdk/filing-dates.ts +88 -0
- package/sdk/filing-landscape.ts +287 -0
- package/sdk/index.ts +14 -0
- package/sdk/list-files.ts +72 -0
- package/sdk/location.ts +45 -0
- package/sdk/nearest-infrastructure.ts +129 -0
- package/sdk/parsing.ts +124 -0
- package/sdk/plausibility.ts +512 -0
- package/sdk/technologies.ts +258 -0
package/sdk/buildings.ts
ADDED
|
@@ -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]
|