|
2 | 2 | * this files is the entry point for rollup to bundle the library |
3 | 3 | * it exports all the classes and functions as named exports |
4 | 4 | */ |
| 5 | +import AgentSender from "./src/AgentSender.js"; |
5 | 6 | import Batch from "./src/Batch.js"; |
6 | 7 | import ClientBuilder from "./src/ClientBuilder.js"; |
7 | 8 | import buildClient from "./src/util/buildClients.js"; |
| 9 | +import Request from "./src/Request.js"; |
8 | 10 | import SharedCredentials from "./src/SharedCredentials.js"; |
9 | 11 | import StaticCredentials from "./src/StaticCredentials.js"; |
10 | 12 | import Errors from "./src/Errors.js"; |
@@ -33,61 +35,63 @@ import LookupUSEnrichment from "./src/us_enrichment/Lookup.js"; |
33 | 35 | import ResponseUSEnrichment from "./src/us_enrichment/Response.js"; |
34 | 36 |
|
35 | 37 | export const core = { |
36 | | - Batch, |
37 | | - ClientBuilder, |
38 | | - buildClient, |
39 | | - SharedCredentials, |
40 | | - StaticCredentials, |
41 | | - Errors, |
| 38 | + AgentSender, |
| 39 | + Batch, |
| 40 | + ClientBuilder, |
| 41 | + buildClient, |
| 42 | + Request, |
| 43 | + SharedCredentials, |
| 44 | + StaticCredentials, |
| 45 | + Errors, |
42 | 46 | }; |
43 | 47 |
|
44 | 48 | export const usStreet = { |
45 | | - Lookup: LookupUSStreet, |
46 | | - Candidate: CandidateUSStreet, |
| 49 | + Lookup: LookupUSStreet, |
| 50 | + Candidate: CandidateUSStreet, |
47 | 51 | }; |
48 | 52 |
|
49 | 53 | export const usZipcode = { |
50 | | - Lookup: LookupUSZipcode, |
51 | | - Result: ResultUSZipcode, |
| 54 | + Lookup: LookupUSZipcode, |
| 55 | + Result: ResultUSZipcode, |
52 | 56 | }; |
53 | 57 |
|
54 | 58 | export const usAutocompletePro = { |
55 | | - Lookup: LookupUSAutocompletePro, |
56 | | - Suggestion: SuggestionUSAutocompletePro, |
| 59 | + Lookup: LookupUSAutocompletePro, |
| 60 | + Suggestion: SuggestionUSAutocompletePro, |
57 | 61 | }; |
58 | 62 |
|
59 | 63 | export const usExtract = { |
60 | | - Lookup: LookupUSExtract, |
61 | | - Result: ResultUSExtract, |
| 64 | + Lookup: LookupUSExtract, |
| 65 | + Result: ResultUSExtract, |
62 | 66 | }; |
63 | 67 |
|
64 | 68 | export const internationalStreet = { |
65 | | - Lookup: LookupInternationalStreet, |
66 | | - Candidate: CandidateInternationalStreet, |
| 69 | + Lookup: LookupInternationalStreet, |
| 70 | + Candidate: CandidateInternationalStreet, |
67 | 71 | }; |
68 | 72 |
|
69 | 73 | export const usReverseGeo = { |
70 | | - Lookup: LookupUSReverseGeo, |
| 74 | + Lookup: LookupUSReverseGeo, |
71 | 75 | }; |
72 | 76 |
|
73 | 77 | export const internationalAddressAutocomplete = { |
74 | | - Lookup: LookupInternationalAddressAutocomplete, |
75 | | - Suggestion: SuggestionInternationalAddressAutocomplete, |
| 78 | + Lookup: LookupInternationalAddressAutocomplete, |
| 79 | + Suggestion: SuggestionInternationalAddressAutocomplete, |
76 | 80 | }; |
77 | 81 |
|
78 | 82 | export const usEnrichment = { |
79 | | - Lookup: LookupUSEnrichment, |
80 | | - Response: ResponseUSEnrichment, |
| 83 | + Lookup: LookupUSEnrichment, |
| 84 | + Response: ResponseUSEnrichment, |
81 | 85 | }; |
82 | 86 |
|
83 | 87 | export default { |
84 | | - core, |
85 | | - usStreet, |
86 | | - usZipcode, |
87 | | - usAutocompletePro, |
88 | | - usExtract, |
89 | | - internationalStreet, |
90 | | - usReverseGeo, |
91 | | - internationalAddressAutocomplete, |
92 | | - usEnrichment, |
| 88 | + core, |
| 89 | + usStreet, |
| 90 | + usZipcode, |
| 91 | + usAutocompletePro, |
| 92 | + usExtract, |
| 93 | + internationalStreet, |
| 94 | + usReverseGeo, |
| 95 | + internationalAddressAutocomplete, |
| 96 | + usEnrichment, |
93 | 97 | }; |
0 commit comments