-
Notifications
You must be signed in to change notification settings - Fork 30
/
index.mjs
93 lines (75 loc) · 2.58 KB
/
index.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/**
* this files is the entry point for rollup to bundle the library
* it exports all the classes and functions as named exports
*/
import Batch from "./src/Batch.js";
import ClientBuilder from "./src/ClientBuilder.js";
import buildClient from "./src/util/buildClients.js";
import SharedCredentials from "./src/SharedCredentials.js";
import StaticCredentials from "./src/StaticCredentials.js";
import Errors from "./src/Errors.js";
import LookupUSStreet from "./src/us_street/Lookup.js";
import CandidateUSStreet from "./src/us_street/Candidate.js";
import LookupUSZipcode from "./src/us_zipcode/Lookup.js";
import ResultUSZipcode from "./src/us_zipcode/Result.js";
import LookupUSAutocompletePro from "./src/us_autocomplete_pro/Lookup.js";
import SuggestionUSAutocompletePro from "./src/us_autocomplete_pro/Suggestion.js";
import LookupUSExtract from "./src/us_extract/Lookup.js";
import ResultUSExtract from "./src/us_extract/Result.js";
import LookupInternationalStreet from "./src/international_street/Lookup.js";
import CandidateInternationalStreet from "./src/international_street/Candidate.js";
import LookupUSReverseGeo from "./src/us_reverse_geo/Lookup.js";
import LookupInternationalAddressAutocomplete from "./src/international_address_autocomplete/Lookup.js";
import SuggestionInternationalAddressAutocomplete from "./src/international_address_autocomplete/Suggestion.js";
import LookupUSEnrichment from "./src/us_enrichment/Lookup.js";
import ResponseUSEnrichment from "./src/us_enrichment/Response.js";
export const core = {
Batch,
ClientBuilder,
buildClient,
SharedCredentials,
StaticCredentials,
Errors,
};
export const usStreet = {
Lookup: LookupUSStreet,
Candidate: CandidateUSStreet,
};
export const usZipcode = {
Lookup: LookupUSZipcode,
Result: ResultUSZipcode,
};
export const usAutocompletePro = {
Lookup: LookupUSAutocompletePro,
Suggestion: SuggestionUSAutocompletePro,
};
export const usExtract = {
Lookup: LookupUSExtract,
Result: ResultUSExtract,
};
export const internationalStreet = {
Lookup: LookupInternationalStreet,
Candidate: CandidateInternationalStreet,
};
export const usReverseGeo = {
Lookup: LookupUSReverseGeo,
};
export const internationalAddressAutocomplete = {
Lookup: LookupInternationalAddressAutocomplete,
Suggestion: SuggestionInternationalAddressAutocomplete,
};
export const usEnrichment = {
Lookup: LookupUSEnrichment,
Response: ResponseUSEnrichment,
};
export default {
core,
usStreet,
usZipcode,
usAutocompletePro,
usExtract,
internationalStreet,
usReverseGeo,
internationalAddressAutocomplete,
usEnrichment,
};