smartystreets-javascript-sdk 8.2.2 → 9.0.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 (291) hide show
  1. package/LICENSE.md +183 -184
  2. package/README.md +145 -0
  3. package/dist/cjs/AgentSender.cjs +1 -1
  4. package/dist/cjs/BaseUrlSender.cjs +1 -1
  5. package/dist/cjs/Batch.cjs +1 -1
  6. package/dist/cjs/ClientBuilder.cjs +1 -1
  7. package/dist/cjs/CustomHeaderSender.cjs +1 -1
  8. package/dist/cjs/Errors.cjs +1 -1
  9. package/dist/cjs/HttpSender.cjs +1 -1
  10. package/dist/cjs/InputData.cjs +1 -1
  11. package/dist/cjs/LicenseSender.cjs +1 -1
  12. package/dist/cjs/Request.cjs +1 -1
  13. package/dist/cjs/Response.cjs +1 -1
  14. package/dist/cjs/RetrySender.cjs +1 -1
  15. package/dist/cjs/SigningSender.cjs +1 -1
  16. package/dist/cjs/StatusCodeSender.cjs +1 -1
  17. package/dist/cjs/index.cjs +1 -1
  18. package/dist/cjs/international_address_autocomplete/Client.cjs +1 -1
  19. package/dist/cjs/international_address_autocomplete/Lookup.cjs +1 -1
  20. package/dist/cjs/international_address_autocomplete/Suggestion.cjs +1 -1
  21. package/dist/cjs/international_postal_code/Client.cjs +1 -1
  22. package/dist/cjs/international_postal_code/Lookup.cjs +1 -1
  23. package/dist/cjs/international_postal_code/Result.cjs +1 -1
  24. package/dist/cjs/international_street/Candidate.cjs +1 -1
  25. package/dist/cjs/international_street/Client.cjs +1 -1
  26. package/dist/cjs/international_street/Lookup.cjs +1 -1
  27. package/dist/cjs/us_autocomplete_pro/Client.cjs +1 -1
  28. package/dist/cjs/us_autocomplete_pro/Lookup.cjs +1 -1
  29. package/dist/cjs/us_autocomplete_pro/Suggestion.cjs +1 -1
  30. package/dist/cjs/us_enrichment/Client.cjs +1 -1
  31. package/dist/cjs/us_enrichment/Lookup.cjs +1 -1
  32. package/dist/cjs/us_enrichment/Response.cjs +1 -1
  33. package/dist/cjs/us_extract/Address.cjs +1 -1
  34. package/dist/cjs/us_extract/Client.cjs +1 -1
  35. package/dist/cjs/us_extract/Lookup.cjs +1 -1
  36. package/dist/cjs/us_extract/Result.cjs +1 -1
  37. package/dist/cjs/us_reverse_geo/Client.cjs +1 -1
  38. package/dist/cjs/us_reverse_geo/Lookup.cjs +1 -1
  39. package/dist/cjs/us_reverse_geo/Response.cjs +1 -1
  40. package/dist/cjs/us_reverse_geo/Result.cjs +1 -1
  41. package/dist/cjs/us_street/Candidate.cjs +1 -1
  42. package/dist/cjs/us_street/Client.cjs +1 -1
  43. package/dist/cjs/us_street/Lookup.cjs +1 -1
  44. package/dist/cjs/us_zipcode/Client.cjs +1 -1
  45. package/dist/cjs/us_zipcode/Lookup.cjs +1 -1
  46. package/dist/cjs/us_zipcode/Result.cjs +1 -1
  47. package/dist/cjs/util/apiToSDKKeyMap.cjs +1 -1
  48. package/dist/cjs/util/buildClients.cjs +1 -1
  49. package/dist/cjs/util/buildInputData.cjs +1 -1
  50. package/dist/cjs/util/buildSmartyResponse.cjs +1 -1
  51. package/dist/cjs/util/buildUsStreetInputData.cjs +1 -1
  52. package/dist/cjs/util/sendBatch.cjs +1 -1
  53. package/dist/esm/AgentSender.mjs +1 -1
  54. package/dist/esm/BaseUrlSender.mjs +1 -1
  55. package/dist/esm/Batch.mjs +1 -1
  56. package/dist/esm/ClientBuilder.mjs +1 -1
  57. package/dist/esm/CustomHeaderSender.mjs +1 -1
  58. package/dist/esm/Errors.mjs +1 -1
  59. package/dist/esm/HttpSender.mjs +1 -1
  60. package/dist/esm/InputData.mjs +1 -1
  61. package/dist/esm/LicenseSender.mjs +1 -1
  62. package/dist/esm/Request.mjs +1 -1
  63. package/dist/esm/Response.mjs +1 -1
  64. package/dist/esm/RetrySender.mjs +1 -1
  65. package/dist/esm/SigningSender.mjs +1 -1
  66. package/dist/esm/StatusCodeSender.mjs +1 -1
  67. package/dist/esm/index.mjs +1 -1
  68. package/dist/esm/international_address_autocomplete/Client.mjs +1 -1
  69. package/dist/esm/international_address_autocomplete/Lookup.mjs +1 -1
  70. package/dist/esm/international_address_autocomplete/Suggestion.mjs +1 -1
  71. package/dist/esm/international_postal_code/Client.mjs +1 -1
  72. package/dist/esm/international_postal_code/Lookup.mjs +1 -1
  73. package/dist/esm/international_postal_code/Result.mjs +1 -1
  74. package/dist/esm/international_street/Candidate.mjs +1 -1
  75. package/dist/esm/international_street/Client.mjs +1 -1
  76. package/dist/esm/international_street/Lookup.mjs +1 -1
  77. package/dist/esm/us_autocomplete_pro/Client.mjs +1 -1
  78. package/dist/esm/us_autocomplete_pro/Lookup.mjs +1 -1
  79. package/dist/esm/us_autocomplete_pro/Suggestion.mjs +1 -1
  80. package/dist/esm/us_enrichment/Client.mjs +1 -1
  81. package/dist/esm/us_enrichment/Lookup.mjs +1 -1
  82. package/dist/esm/us_enrichment/Response.mjs +1 -1
  83. package/dist/esm/us_extract/Address.mjs +1 -1
  84. package/dist/esm/us_extract/Client.mjs +1 -1
  85. package/dist/esm/us_extract/Lookup.mjs +1 -1
  86. package/dist/esm/us_extract/Result.mjs +1 -1
  87. package/dist/esm/us_reverse_geo/Client.mjs +1 -1
  88. package/dist/esm/us_reverse_geo/Lookup.mjs +1 -1
  89. package/dist/esm/us_reverse_geo/Response.mjs +1 -1
  90. package/dist/esm/us_reverse_geo/Result.mjs +1 -1
  91. package/dist/esm/us_street/Candidate.mjs +1 -1
  92. package/dist/esm/us_street/Client.mjs +1 -1
  93. package/dist/esm/us_street/Lookup.mjs +1 -1
  94. package/dist/esm/us_zipcode/Client.mjs +1 -1
  95. package/dist/esm/us_zipcode/Lookup.mjs +1 -1
  96. package/dist/esm/us_zipcode/Result.mjs +1 -1
  97. package/dist/esm/util/apiToSDKKeyMap.mjs +1 -1
  98. package/dist/esm/util/buildClients.mjs +1 -1
  99. package/dist/esm/util/buildInputData.mjs +1 -1
  100. package/dist/esm/util/buildSmartyResponse.mjs +1 -1
  101. package/dist/esm/util/buildUsStreetInputData.mjs +1 -1
  102. package/dist/esm/util/sendBatch.mjs +1 -1
  103. package/dist/types/index.d.ts +180 -0
  104. package/dist/types/src/Batch.d.ts +12 -0
  105. package/dist/types/src/ClientBuilder.d.ts +55 -0
  106. package/dist/types/src/Errors.d.ts +59 -0
  107. package/dist/types/src/HttpSender.d.ts +11 -0
  108. package/dist/types/src/InputData.d.ts +9 -0
  109. package/dist/types/src/LicenseSender.d.ts +7 -0
  110. package/dist/types/src/Request.d.ts +9 -0
  111. package/dist/types/src/Response.d.ts +8 -0
  112. package/dist/types/{SigningSender.d.ts → src/SigningSender.d.ts} +1 -5
  113. package/dist/types/src/StatusCodeSender.d.ts +6 -0
  114. package/dist/types/src/international_address_autocomplete/Client.d.ts +7 -0
  115. package/dist/types/src/international_address_autocomplete/Lookup.d.ts +20 -0
  116. package/dist/types/src/international_address_autocomplete/Suggestion.d.ts +25 -0
  117. package/dist/types/src/international_postal_code/Client.d.ts +7 -0
  118. package/dist/types/src/international_postal_code/Lookup.d.ts +12 -0
  119. package/dist/types/src/international_postal_code/Result.d.ts +27 -0
  120. package/dist/types/src/international_street/Candidate.d.ts +250 -0
  121. package/dist/types/src/international_street/Client.d.ts +7 -0
  122. package/dist/types/src/international_street/Lookup.d.ts +24 -0
  123. package/dist/types/{types.d.ts → src/types.d.ts} +11 -1
  124. package/dist/types/src/us_autocomplete_pro/Client.d.ts +7 -0
  125. package/dist/types/src/us_autocomplete_pro/Lookup.d.ts +21 -0
  126. package/dist/types/src/us_autocomplete_pro/Suggestion.d.ts +19 -0
  127. package/dist/types/src/us_enrichment/Client.d.ts +11 -0
  128. package/dist/types/src/us_enrichment/Lookup.d.ts +13 -0
  129. package/dist/types/src/us_enrichment/Response.d.ts +1081 -0
  130. package/dist/types/src/us_extract/Address.d.ts +18 -0
  131. package/dist/types/src/us_extract/Client.d.ts +7 -0
  132. package/dist/types/src/us_extract/Lookup.d.ts +12 -0
  133. package/dist/types/src/us_extract/Result.d.ts +26 -0
  134. package/dist/types/src/us_reverse_geo/Client.d.ts +7 -0
  135. package/dist/types/src/us_reverse_geo/Lookup.d.ts +10 -0
  136. package/dist/types/src/us_reverse_geo/Response.d.ts +9 -0
  137. package/dist/types/src/us_reverse_geo/Result.d.ts +41 -0
  138. package/dist/types/src/us_street/Candidate.d.ts +189 -0
  139. package/dist/types/src/us_street/Client.d.ts +8 -0
  140. package/dist/types/src/us_street/Lookup.d.ts +24 -0
  141. package/dist/types/src/us_zipcode/Client.d.ts +8 -0
  142. package/dist/types/src/us_zipcode/Lookup.d.ts +11 -0
  143. package/dist/types/src/us_zipcode/Result.d.ts +67 -0
  144. package/dist/types/src/util/apiToSDKKeyMap.d.ts +13 -0
  145. package/dist/types/src/util/buildClients.d.ts +25 -0
  146. package/dist/types/src/util/buildInputData.d.ts +6 -0
  147. package/dist/types/src/util/buildSmartyResponse.d.ts +9 -0
  148. package/dist/types/src/util/buildUsStreetInputData.d.ts +2 -0
  149. package/dist/types/src/util/sendBatch.d.ts +5 -0
  150. package/dist/types/tests/fixtures/MockSleeper.d.ts +5 -0
  151. package/dist/types/tests/fixtures/mock_senders.d.ts +25 -0
  152. package/dist/types/tests/international_address_autocomplete/test_Client.d.ts +1 -0
  153. package/dist/types/tests/international_address_autocomplete/test_Lookup.d.ts +1 -0
  154. package/dist/types/tests/international_postal_code/test_Client.d.ts +1 -0
  155. package/dist/types/tests/international_postal_code/test_Lookup.d.ts +1 -0
  156. package/dist/types/tests/international_postal_code/test_Result.d.ts +1 -0
  157. package/dist/types/tests/international_street/test_Candidate.d.ts +1 -0
  158. package/dist/types/tests/international_street/test_Client.d.ts +1 -0
  159. package/dist/types/tests/international_street/test_Lookup.d.ts +1 -0
  160. package/dist/types/tests/test_AgentSender.d.ts +1 -0
  161. package/dist/types/tests/test_BaseUrlSender.d.ts +1 -0
  162. package/dist/types/tests/test_BasicAuthCredentials.d.ts +1 -0
  163. package/dist/types/tests/test_Batch.d.ts +1 -0
  164. package/dist/types/tests/test_ClientBuilder.d.ts +1 -0
  165. package/dist/types/tests/test_CustomHeaderSender.d.ts +1 -0
  166. package/dist/types/tests/test_CustomQuerySender.d.ts +1 -0
  167. package/dist/types/tests/test_ExtractExample.d.ts +1 -0
  168. package/dist/types/tests/test_HttpSender.d.ts +1 -0
  169. package/dist/types/tests/test_LicenseSender.d.ts +1 -0
  170. package/dist/types/tests/test_RetrySender.d.ts +1 -0
  171. package/dist/types/tests/test_SigningSender.d.ts +1 -0
  172. package/dist/types/tests/test_StatusCodeSender.d.ts +1 -0
  173. package/dist/types/tests/us_autocomplete_pro/test_Client.d.ts +1 -0
  174. package/dist/types/tests/us_autocomplete_pro/test_Lookup.d.ts +1 -0
  175. package/dist/types/tests/us_autocomplete_pro/test_Suggestion.d.ts +1 -0
  176. package/dist/types/tests/us_enrichment/test_Client.d.ts +1 -0
  177. package/dist/types/tests/us_enrichment/test_Lookup.d.ts +1 -0
  178. package/dist/types/tests/us_enrichment/test_Response.d.ts +1 -0
  179. package/dist/types/tests/us_extract/test_Address.d.ts +1 -0
  180. package/dist/types/tests/us_extract/test_Client.d.ts +1 -0
  181. package/dist/types/tests/us_extract/test_Lookup.d.ts +1 -0
  182. package/dist/types/tests/us_extract/test_Result.d.ts +1 -0
  183. package/dist/types/tests/us_reverse_geo/test_Client.d.ts +1 -0
  184. package/dist/types/tests/us_reverse_geo/test_Lookup.d.ts +1 -0
  185. package/dist/types/tests/us_reverse_geo/test_Response.d.ts +1 -0
  186. package/dist/types/tests/us_street/test_Candidate.d.ts +1 -0
  187. package/dist/types/tests/us_street/test_Client.d.ts +1 -0
  188. package/dist/types/tests/us_street/test_Lookup.d.ts +1 -0
  189. package/dist/types/tests/us_zipcode/test_Client.d.ts +1 -0
  190. package/dist/types/tests/us_zipcode/test_Result.d.ts +1 -0
  191. package/dist/types/tsconfig.tsbuildinfo +1 -0
  192. package/package.json +4 -5
  193. package/Readme.md +0 -11
  194. package/dist/cjs/_virtual/Batch.cjs +0 -1
  195. package/dist/cjs/_virtual/Candidate.cjs +0 -1
  196. package/dist/cjs/_virtual/Candidate2.cjs +0 -1
  197. package/dist/cjs/_virtual/ClientBuilder.cjs +0 -1
  198. package/dist/cjs/_virtual/Errors.cjs +0 -1
  199. package/dist/cjs/_virtual/Lookup.cjs +0 -1
  200. package/dist/cjs/_virtual/Lookup2.cjs +0 -1
  201. package/dist/cjs/_virtual/Lookup3.cjs +0 -1
  202. package/dist/cjs/_virtual/Lookup4.cjs +0 -1
  203. package/dist/cjs/_virtual/Lookup5.cjs +0 -1
  204. package/dist/cjs/_virtual/Lookup6.cjs +0 -1
  205. package/dist/cjs/_virtual/Lookup7.cjs +0 -1
  206. package/dist/cjs/_virtual/Lookup8.cjs +0 -1
  207. package/dist/cjs/_virtual/Lookup9.cjs +0 -1
  208. package/dist/cjs/_virtual/Response.cjs +0 -1
  209. package/dist/cjs/_virtual/Result.cjs +0 -1
  210. package/dist/cjs/_virtual/Result2.cjs +0 -1
  211. package/dist/cjs/_virtual/Result3.cjs +0 -1
  212. package/dist/cjs/_virtual/Suggestion.cjs +0 -1
  213. package/dist/cjs/_virtual/Suggestion2.cjs +0 -1
  214. package/dist/cjs/_virtual/_commonjsHelpers.cjs +0 -1
  215. package/dist/cjs/_virtual/buildClients.cjs +0 -1
  216. package/dist/esm/_virtual/Batch.mjs +0 -1
  217. package/dist/esm/_virtual/Candidate.mjs +0 -1
  218. package/dist/esm/_virtual/Candidate2.mjs +0 -1
  219. package/dist/esm/_virtual/ClientBuilder.mjs +0 -1
  220. package/dist/esm/_virtual/Errors.mjs +0 -1
  221. package/dist/esm/_virtual/Lookup.mjs +0 -1
  222. package/dist/esm/_virtual/Lookup2.mjs +0 -1
  223. package/dist/esm/_virtual/Lookup3.mjs +0 -1
  224. package/dist/esm/_virtual/Lookup4.mjs +0 -1
  225. package/dist/esm/_virtual/Lookup5.mjs +0 -1
  226. package/dist/esm/_virtual/Lookup6.mjs +0 -1
  227. package/dist/esm/_virtual/Lookup7.mjs +0 -1
  228. package/dist/esm/_virtual/Lookup8.mjs +0 -1
  229. package/dist/esm/_virtual/Lookup9.mjs +0 -1
  230. package/dist/esm/_virtual/Response.mjs +0 -1
  231. package/dist/esm/_virtual/Result.mjs +0 -1
  232. package/dist/esm/_virtual/Result2.mjs +0 -1
  233. package/dist/esm/_virtual/Result3.mjs +0 -1
  234. package/dist/esm/_virtual/Suggestion.mjs +0 -1
  235. package/dist/esm/_virtual/Suggestion2.mjs +0 -1
  236. package/dist/esm/_virtual/_commonjsHelpers.mjs +0 -1
  237. package/dist/esm/_virtual/buildClients.mjs +0 -1
  238. package/dist/tsconfig.tsbuildinfo +0 -1
  239. package/dist/types/Batch.d.ts +0 -19
  240. package/dist/types/ClientBuilder.d.ts +0 -126
  241. package/dist/types/Errors.d.ts +0 -42
  242. package/dist/types/HttpSender.d.ts +0 -22
  243. package/dist/types/InputData.d.ts +0 -10
  244. package/dist/types/LicenseSender.d.ts +0 -7
  245. package/dist/types/Request.d.ts +0 -13
  246. package/dist/types/Response.d.ts +0 -8
  247. package/dist/types/StatusCodeSender.d.ts +0 -6
  248. package/dist/types/international_address_autocomplete/Client.d.ts +0 -6
  249. package/dist/types/international_address_autocomplete/Lookup.d.ts +0 -15
  250. package/dist/types/international_address_autocomplete/Suggestion.d.ts +0 -14
  251. package/dist/types/international_postal_code/Client.d.ts +0 -15
  252. package/dist/types/international_postal_code/Lookup.d.ts +0 -17
  253. package/dist/types/international_postal_code/Result.d.ts +0 -18
  254. package/dist/types/international_street/Candidate.d.ts +0 -26
  255. package/dist/types/international_street/Client.d.ts +0 -10
  256. package/dist/types/international_street/Lookup.d.ts +0 -29
  257. package/dist/types/us_autocomplete_pro/Client.d.ts +0 -10
  258. package/dist/types/us_autocomplete_pro/Lookup.d.ts +0 -28
  259. package/dist/types/us_autocomplete_pro/Suggestion.d.ts +0 -14
  260. package/dist/types/us_enrichment/Client.d.ts +0 -10
  261. package/dist/types/us_enrichment/Lookup.d.ts +0 -13
  262. package/dist/types/us_enrichment/Response.d.ts +0 -20
  263. package/dist/types/us_extract/Address.d.ts +0 -13
  264. package/dist/types/us_extract/Client.d.ts +0 -10
  265. package/dist/types/us_extract/Lookup.d.ts +0 -23
  266. package/dist/types/us_extract/Result.d.ts +0 -19
  267. package/dist/types/us_reverse_geo/Client.d.ts +0 -10
  268. package/dist/types/us_reverse_geo/Lookup.d.ts +0 -16
  269. package/dist/types/us_reverse_geo/Response.d.ts +0 -8
  270. package/dist/types/us_reverse_geo/Result.d.ts +0 -13
  271. package/dist/types/us_street/Candidate.d.ts +0 -22
  272. package/dist/types/us_street/Client.d.ts +0 -15
  273. package/dist/types/us_street/Lookup.d.ts +0 -26
  274. package/dist/types/us_zipcode/Client.d.ts +0 -15
  275. package/dist/types/us_zipcode/Lookup.d.ts +0 -16
  276. package/dist/types/us_zipcode/Result.d.ts +0 -13
  277. package/dist/types/util/apiToSDKKeyMap.d.ts +0 -94
  278. package/dist/types/util/buildClients.d.ts +0 -10
  279. package/dist/types/util/buildInputData.d.ts +0 -2
  280. package/dist/types/util/buildSmartyResponse.d.ts +0 -2
  281. package/dist/types/util/buildUsStreetInputData.d.ts +0 -2
  282. package/dist/types/util/sendBatch.d.ts +0 -2
  283. /package/dist/types/{AgentSender.d.ts → src/AgentSender.d.ts} +0 -0
  284. /package/dist/types/{BaseUrlSender.d.ts → src/BaseUrlSender.d.ts} +0 -0
  285. /package/dist/types/{BasicAuthCredentials.d.ts → src/BasicAuthCredentials.d.ts} +0 -0
  286. /package/dist/types/{CustomHeaderSender.d.ts → src/CustomHeaderSender.d.ts} +0 -0
  287. /package/dist/types/{CustomQuerySender.d.ts → src/CustomQuerySender.d.ts} +0 -0
  288. /package/dist/types/{RetrySender.d.ts → src/RetrySender.d.ts} +0 -0
  289. /package/dist/types/{SharedCredentials.d.ts → src/SharedCredentials.d.ts} +0 -0
  290. /package/dist/types/{StaticCredentials.d.ts → src/StaticCredentials.d.ts} +0 -0
  291. /package/dist/types/{util → src/util}/Sleeper.d.ts +0 -0
@@ -1 +1 @@
1
- "use strict";var e=require("./node_modules/tslib/tslib.es6.cjs");exports.default=class{constructor(e=5,t,s){this.maxRetries=e,this.statusToRetry=[408,429,500,502,503,504],this.statusTooManyRequests=429,this.maxBackoffDuration=10,this.inner=t,this.sleeper=s}send(t){return e.__awaiter(this,void 0,void 0,function*(){let e=yield this.inner.send(t);for(let s=0;s<this.maxRetries;s++){const i=parseInt(String(e.statusCode));if(!this.statusToRetry.includes(i))break;if(i===this.statusTooManyRequests){let t=10;if(e.headers){const s=e.headers["Retry-After"];Number.isInteger(Number(s))&&(t=Number(s))}yield this.rateLimitBackOff(t)}else yield this.backoff(s);e=yield this.inner.send(t)}return e})}backoff(t){return e.__awaiter(this,void 0,void 0,function*(){const e=Math.min(t,this.maxBackoffDuration);console.log(`There was an error processing the request. Retrying in ${e} seconds...`),yield this.sleeper.sleep(e)})}rateLimitBackOff(t){return e.__awaiter(this,void 0,void 0,function*(){console.log(`Rate limit reached. Retrying in ${t} seconds...`),yield this.sleeper.sleep(t)})}};
1
+ "use strict";var e=require("./node_modules/tslib/tslib.es6.cjs");exports.default=class{constructor(e=5,t,s){this.maxRetries=e,this.statusToRetry=[408,429,500,502,503,504],this.statusTooManyRequests=429,this.maxBackoffDuration=10,this.inner=t,this.sleeper=s}send(t){return e.__awaiter(this,void 0,void 0,function*(){let e=yield this.inner.send(t);for(let s=0;s<this.maxRetries;s++){const i=e.statusCode;if(!this.statusToRetry.includes(i))break;if(i===this.statusTooManyRequests){let t=10;if(e.headers){const s=e.headers["Retry-After"];Number.isInteger(Number(s))&&(t=Number(s))}yield this.rateLimitBackOff(t)}else yield this.backoff(s);e=yield this.inner.send(t)}return e})}backoff(t){return e.__awaiter(this,void 0,void 0,function*(){const e=Math.min(t,this.maxBackoffDuration);console.log(`There was an error processing the request. Retrying in ${e} seconds...`),yield this.sleeper.sleep(e)})}rateLimitBackOff(t){return e.__awaiter(this,void 0,void 0,function*(){console.log(`Rate limit reached. Retrying in ${t} seconds...`),yield this.sleeper.sleep(t)})}};
@@ -1 +1 @@
1
- "use strict";var e=require("./SharedCredentials.cjs"),r=require("./_virtual/Errors.cjs");exports.default=class{constructor(e,r){this.signer=r,this.sender=e}send(s){if(s.payload&&this.signer instanceof e.default){const e="Shared credentials cannot be used in batches with a length greater than 1 or when using the US Extract API.";throw new r.ErrorsExports.UnprocessableEntityError(e)}return new Promise((e,r)=>{this.signer.sign(s),this.sender.send(s).then(e).catch(r)})}};
1
+ "use strict";var e=require("./SharedCredentials.cjs"),r=require("./Errors.cjs");exports.default=class{constructor(e,r){this.signer=r,this.sender=e}send(s){if(s.payload&&this.signer instanceof e.default){const e="Shared credentials cannot be used in batches with a length greater than 1 or when using the US Extract API.";throw new r.UnprocessableEntityError(e)}return this.signer.sign(s),this.sender.send(s)}};
@@ -1 +1 @@
1
- "use strict";var r,e,s=require("./Errors.cjs");exports.__require=function(){if(e)return r;e=1;const a=s.__require();return r=class{constructor(r){this.sender=r}send(r){return new Promise((e,s)=>{this.sender.send(r).then(e).catch(r=>{switch(r.statusCode){case 500:r.error=new a.InternalServerError;break;case 503:r.error=new a.ServiceUnavailableError;break;case 504:r.error=new a.GatewayTimeoutError;break;default:r.error=new a.DefaultError(r&&r.payload&&r.payload.errors[0]&&r.payload.errors[0].message)}s(r)})})}}};
1
+ "use strict";var r=require("./Errors.cjs");exports.default=class{constructor(r){this.sender=r}send(e){return new Promise((s,a)=>{this.sender.send(e).then(s).catch(e=>{var s,o;switch(e.statusCode){case 500:e.error=new r.InternalServerError;break;case 503:e.error=new r.ServiceUnavailableError;break;case 504:e.error=new r.GatewayTimeoutError;break;default:{const a=e.payload;e.error=new r.DefaultError(null===(o=null===(s=null==a?void 0:a.errors)||void 0===s?void 0:s[0])||void 0===o?void 0:o.message)}}a(e)})})}};
@@ -1 +1 @@
1
- "use strict";var e=require("./_virtual/Batch.cjs"),t=require("./_virtual/ClientBuilder.cjs"),r=require("./_virtual/buildClients.cjs"),u=require("./SharedCredentials.cjs"),i=require("./StaticCredentials.cjs"),a=require("./BasicAuthCredentials.cjs"),s=require("./_virtual/Errors.cjs"),o=require("./_virtual/Lookup.cjs"),l=require("./_virtual/Candidate.cjs"),d=require("./_virtual/Lookup2.cjs"),c=require("./_virtual/Result.cjs"),n=require("./_virtual/Lookup3.cjs"),p=require("./_virtual/Suggestion.cjs"),f=require("./_virtual/Lookup4.cjs"),v=require("./_virtual/Result2.cjs"),j=require("./_virtual/Lookup5.cjs"),q=require("./_virtual/Candidate2.cjs"),_=require("./_virtual/Lookup6.cjs"),k=require("./_virtual/Lookup7.cjs"),L=require("./_virtual/Suggestion2.cjs"),C=require("./_virtual/Lookup8.cjs"),x=require("./_virtual/Response.cjs"),S=require("./_virtual/Lookup9.cjs"),R=require("./_virtual/Result3.cjs");const g={Batch:e.default,ClientBuilder:t.default,buildClient:r.default,SharedCredentials:u.default,StaticCredentials:i.default,BasicAuthCredentials:a.default,Errors:s.default},h={Lookup:o.default,Candidate:l.default},A={Lookup:d.default,Result:c.default},m={Lookup:n.default,Suggestion:p.default},B={Lookup:f.default,Result:v.default},E={Lookup:j.default,Candidate:q.default},P={Lookup:_.default},b={Lookup:k.default,Suggestion:L.default},G={Lookup:C.default,Response:x.default},Z={Lookup:S.default,Result:R.default};var w={core:g,usStreet:h,usZipcode:A,usAutocompletePro:m,usExtract:B,internationalStreet:E,usReverseGeo:P,internationalAddressAutocomplete:b,usEnrichment:G,internationalPostalCode:Z};exports.core=g,exports.default=w,exports.internationalAddressAutocomplete=b,exports.internationalPostalCode=Z,exports.internationalStreet=E,exports.usAutocompletePro=m,exports.usEnrichment=G,exports.usExtract=B,exports.usReverseGeo=P,exports.usStreet=h,exports.usZipcode=A;
1
+ "use strict";var e=require("./Batch.cjs"),t=require("./ClientBuilder.cjs"),r=require("./util/buildClients.cjs"),u=require("./SharedCredentials.cjs"),o=require("./StaticCredentials.cjs"),s=require("./BasicAuthCredentials.cjs"),a=require("./Errors.cjs"),i=require("./us_street/Lookup.cjs"),l=require("./us_street/Candidate.cjs"),n=require("./us_zipcode/Lookup.cjs"),d=require("./us_zipcode/Result.cjs"),c=require("./us_autocomplete_pro/Lookup.cjs"),p=require("./us_autocomplete_pro/Suggestion.cjs"),f=require("./us_extract/Lookup.cjs"),j=require("./us_extract/Result.cjs"),q=require("./international_street/Lookup.cjs"),_=require("./international_street/Candidate.cjs"),k=require("./us_reverse_geo/Lookup.cjs"),L=require("./international_address_autocomplete/Lookup.cjs"),x=require("./international_address_autocomplete/Suggestion.cjs"),C=require("./us_enrichment/Lookup.cjs"),m=require("./us_enrichment/Response.cjs"),S=require("./international_postal_code/Lookup.cjs"),h=require("./international_postal_code/Result.cjs");const R={Batch:e.default,ClientBuilder:t.default,buildClient:r.default,SharedCredentials:u.default,StaticCredentials:o.default,BasicAuthCredentials:s.default,Errors:a.default},g={Lookup:i.default,Candidate:l.default},A={Lookup:n.default,Result:d.default},E={Lookup:c.default,Suggestion:p.default},B={Lookup:f.default,Result:j.default},v={Lookup:q.default,Candidate:_.default},P={Lookup:k.default},b={Lookup:L.default,Suggestion:x.default},y={Lookup:C.default,Response:m.default},z={Lookup:S.default,Result:h.default};var G={core:R,usStreet:g,usZipcode:A,usAutocompletePro:E,usExtract:B,internationalStreet:v,usReverseGeo:P,internationalAddressAutocomplete:b,usEnrichment:y,internationalPostalCode:z};exports.SmartyError=a.SmartyError,exports.core=R,exports.default=G,exports.internationalAddressAutocomplete=b,exports.internationalPostalCode=z,exports.internationalStreet=v,exports.usAutocompletePro=E,exports.usEnrichment=y,exports.usExtract=B,exports.usReverseGeo=P,exports.usStreet=g,exports.usZipcode=A;
@@ -1 +1 @@
1
- "use strict";var e,r,s=require("../Errors.cjs"),t=require("../Request.cjs"),i=require("./Suggestion.cjs"),u=require("../util/buildInputData.cjs"),n=require("../util/apiToSDKKeyMap.cjs");exports.__require=function(){if(r)return e;r=1;const a=s.__require(),d=t.__require(),o=i.__require(),c=u.__require(),l=n.__require().internationalAddressAutocomplete;return e=class{constructor(e){this.sender=e}send(e){if(void 0===e)throw new a.UndefinedLookupError;let r=new d;return r.parameters=c(e,l),e.addressId&&(r.baseUrlParam=e.addressId),new Promise((s,t)=>{this.sender.send(r).then(r=>{var i;r.error&&t(r.error),e.result=(i=r.payload)&&null===i.candidates?[]:i.candidates.map(e=>new o(e)),s(e)}).catch(t)})}}};
1
+ "use strict";var e=require("../Errors.cjs"),r=require("../Request.cjs"),s=require("./Suggestion.cjs"),t=require("../util/buildInputData.cjs");const a=require("../util/apiToSDKKeyMap.cjs").default.internationalAddressAutocomplete;exports.default=class{constructor(e){this.sender=e}send(d){if(void 0===d)throw new e.UndefinedLookupError;const n=new r.default;return n.parameters=t.default(d,a),d.addressId&&(n.baseUrlParam=d.addressId),new Promise((e,r)=>{this.sender.send(n).then(t=>{if(t.error)return r(t.error);const a=t.payload;d.result=a&&null!==a.candidates?a.candidates.map(e=>new s.default(e)):[],e(d)}).catch(r)})}};
@@ -1 +1 @@
1
- "use strict";var s,t;exports.__require=function(){return t?s:(t=1,s=class{constructor({search:s,addressId:t,country:e,maxResults:r=5,includeOnlyLocality:a,includeOnlyPostalCode:i}={}){this.result=[],this.search=s,this.addressId=t,this.country=e,this.maxResults=r,this.includeOnlyLocality=a,this.includeOnlyPostalCode=i,this.customParameters={}}addCustomParameter(s,t){this.customParameters[s]=t}})};
1
+ "use strict";exports.default=class{constructor({search:s,addressId:t,country:e,maxResults:a=5,includeOnlyLocality:l,includeOnlyPostalCode:r}={}){this.result=[],this.search=s,this.addressId=t,this.country=e,this.maxResults=a,this.includeOnlyLocality=l,this.includeOnlyPostalCode=r,this.customParameters={}}addCustomParameter(s,t){this.customParameters[s]=t}};
@@ -1 +1 @@
1
- "use strict";var t,s;exports.__require=function(){return s?t:(s=1,t=class{constructor(t){this.street=t.street,this.locality=t.locality,this.administrativeArea=t.administrative_area,this.administrativeAreaShort=t.administrative_area_short,this.administrativeAreaLong=t.administrative_area_long,this.postalCode=t.postal_code,this.countryIso3=t.country_iso3,this.entries=t.entries,this.addressText=t.address_text,this.addressId=t.address_id}})};
1
+ "use strict";exports.default=class{constructor(i){var t,s,a,e,d,l,r,o,n,v;this.street=null!==(t=i.street)&&void 0!==t?t:"",this.locality=null!==(s=i.locality)&&void 0!==s?s:"",this.administrativeArea=null!==(a=i.administrative_area)&&void 0!==a?a:"",this.administrativeAreaShort=null!==(e=i.administrative_area_short)&&void 0!==e?e:"",this.administrativeAreaLong=null!==(d=i.administrative_area_long)&&void 0!==d?d:"",this.postalCode=null!==(l=i.postal_code)&&void 0!==l?l:"",this.countryIso3=null!==(r=i.country_iso3)&&void 0!==r?r:"",this.entries=null!==(o=i.entries)&&void 0!==o?o:0,this.addressText=null!==(n=i.address_text)&&void 0!==n?n:"",this.addressId=null!==(v=i.address_id)&&void 0!==v?v:""}};
@@ -1 +1 @@
1
- "use strict";var r,e,t=require("../Request.cjs"),i=require("./Result.cjs"),u=require("../util/buildInputData.cjs"),s=require("../util/apiToSDKKeyMap.cjs"),n=require("../Errors.cjs");exports.__require=function(){if(e)return r;e=1;const o=t.__require(),a=i.__require(),c=u.__require(),l=s.__require().internationalPostalCode,{UndefinedLookupError:d}=n.__require();return r=class{constructor(r){this.sender=r}send(r){if(void 0===r)throw new d;let e=new o;return e.parameters=c(r,l),new Promise((t,i)=>{this.sender.send(e).then(e=>{e.error&&i(e.error),t(function(r,e){r.payload&&Array.isArray(r.payload)?e.result=r.payload.map(r=>new a(r)):e.result=[];return e}(e,r))}).catch(i)})}}};
1
+ "use strict";var e=require("../Request.cjs"),r=require("./Result.cjs"),t=require("../util/buildInputData.cjs"),s=require("../util/apiToSDKKeyMap.cjs"),a=require("../Errors.cjs");const u=s.default.internationalPostalCode;exports.default=class{constructor(e){this.sender=e}send(s){if(void 0===s)throw new a.UndefinedLookupError;const n=new e.default;return n.parameters=t.default(s,u),new Promise((e,t)=>{this.sender.send(n).then(a=>{if(a.error)return t(a.error);e(function(e,t){e.payload&&Array.isArray(e.payload)?t.result=e.payload.map(e=>new r.default(e)):t.result=[];return t}(a,s))}).catch(t)})}};
@@ -1 +1 @@
1
- "use strict";var t,s;exports.__require=function(){return s?t:(s=1,t=class{constructor(t,s,r,i,e){this.inputId=e,this.country=t,this.postalCode=s,this.administrativeArea=r,this.locality=i,this.result=[],this.customParameters={}}addCustomParameter(t,s){this.customParameters[t]=s}})};
1
+ "use strict";exports.default=class{constructor(t,s,a,i,r){this.inputId=r,this.country=t,this.postalCode=s,this.administrativeArea=a,this.locality=i,this.result=[],this.customParameters={}}addCustomParameter(t,s){this.customParameters[t]=s}};
@@ -1 +1 @@
1
- "use strict";var t,e;exports.__require=function(){return e?t:(e=1,t=class{constructor(t){this.inputId=t.input_id,this.administrativeArea=t.administrative_area,this.superAdministrativeArea=t.super_administrative_area,this.subAdministrativeArea=t.sub_administrative_area,this.locality=t.locality,this.dependentLocality=t.dependent_locality,this.dependentLocalityName=t.dependent_locality_name,this.doubleDependentLocality=t.double_dependent_locality,this.postalCode=t.postal_code,this.postalCodeExtra=t.postal_code_extra,this.countryIso3=t.country_iso_3}})};
1
+ "use strict";exports.default=class{constructor(i){var t,e,l,a,d,o,n,s,u,r,v;this.inputId=null!==(t=i.input_id)&&void 0!==t?t:"",this.administrativeArea=null!==(e=i.administrative_area)&&void 0!==e?e:"",this.superAdministrativeArea=null!==(l=i.super_administrative_area)&&void 0!==l?l:"",this.subAdministrativeArea=null!==(a=i.sub_administrative_area)&&void 0!==a?a:"",this.locality=null!==(d=i.locality)&&void 0!==d?d:"",this.dependentLocality=null!==(o=i.dependent_locality)&&void 0!==o?o:"",this.dependentLocalityName=null!==(n=i.dependent_locality_name)&&void 0!==n?n:"",this.doubleDependentLocality=null!==(s=i.double_dependent_locality)&&void 0!==s?s:"",this.postalCode=null!==(u=i.postal_code)&&void 0!==u?u:"",this.postalCodeExtra=null!==(r=i.postal_code_extra)&&void 0!==r?r:"",this.countryIso3=null!==(v=i.country_iso_3)&&void 0!==v?v:""}};
@@ -1 +1 @@
1
- "use strict";var s,n;exports.__require=function(){return n?s:(n=1,s=class{constructor(s){this.organization=s.organization,this.address1=s.address1,this.address2=s.address2,this.address3=s.address3,this.address4=s.address4,this.address5=s.address5,this.address6=s.address6,this.address7=s.address7,this.address8=s.address8,this.address9=s.address9,this.address10=s.address10,this.address11=s.address11,this.address12=s.address12,this.components={},void 0!==s.components&&(this.components.countryIso3=s.components.country_iso_3,this.components.superAdministrativeArea=s.components.super_administrative_area,this.components.administrativeArea=s.components.administrative_area,this.components.administrativeAreaIso2=s.components.administrative_area_iso2,this.components.administrativeAreaShort=s.components.administrative_area_short,this.components.administrativeAreaLong=s.components.administrative_area_long,this.components.subAdministrativeArea=s.components.sub_administrative_area,this.components.dependentLocality=s.components.dependent_locality,this.components.dependentLocalityName=s.components.dependent_locality_name,this.components.doubleDependentLocality=s.components.double_dependent_locality,this.components.locality=s.components.locality,this.components.postalCode=s.components.postal_code,this.components.postalCodeShort=s.components.postal_code_short,this.components.postalCodeExtra=s.components.postal_code_extra,this.components.premise=s.components.premise,this.components.premiseExtra=s.components.premise_extra,this.components.premisePrefixNumber=s.components.premise_prefix_number,this.components.premiseNumber=s.components.premise_number,this.components.premiseType=s.components.premise_type,this.components.thoroughfare=s.components.thoroughfare,this.components.thoroughfarePredirection=s.components.thoroughfare_predirection,this.components.thoroughfarePostdirection=s.components.thoroughfare_postdirection,this.components.thoroughfareName=s.components.thoroughfare_name,this.components.thoroughfareTrailingType=s.components.thoroughfare_trailing_type,this.components.thoroughfareType=s.components.thoroughfare_type,this.components.dependentThoroughfare=s.components.dependent_thoroughfare,this.components.dependentThoroughfarePredirection=s.components.dependent_thoroughfare_predirection,this.components.dependentThoroughfarePostdirection=s.components.dependent_thoroughfare_postdirection,this.components.dependentThoroughfareName=s.components.dependent_thoroughfare_name,this.components.dependentThoroughfareTrailingType=s.components.dependent_thoroughfare_trailing_type,this.components.dependentThoroughfareType=s.components.dependent_thoroughfare_type,this.components.building=s.components.building,this.components.buildingLeadingType=s.components.building_leading_type,this.components.buildingName=s.components.building_name,this.components.buildingTrailingType=s.components.building_trailing_type,this.components.subBuildingType=s.components.sub_building_type,this.components.subBuildingNumber=s.components.sub_building_number,this.components.subBuildingName=s.components.sub_building_name,this.components.subBuilding=s.components.sub_building,this.components.levelType=s.components.level_type,this.components.levelNumber=s.components.level_number,this.components.postBox=s.components.post_box,this.components.postBoxType=s.components.post_box_type,this.components.postBoxNumber=s.components.post_box_number,this.components.additionalContent=s.components.additional_content,this.components.deliveryInstallation=s.components.delivery_installation,this.components.deliveryInstallationType=s.components.delivery_installation_type,this.components.deliveryInstallationQualifierName=s.components.delivery_installation_qualifier_name,this.components.route=s.components.route,this.components.routeNumber=s.components.route_number,this.components.routeType=s.components.route_type),this.analysis={},void 0!==s.analysis&&(this.analysis.verificationStatus=s.analysis.verification_status,this.analysis.addressPrecision=s.analysis.address_precision,this.analysis.maxAddressPrecision=s.analysis.max_address_precision,this.analysis.changes={},void 0!==s.analysis.changes&&(this.analysis.changes.organization=s.analysis.changes.organization,this.analysis.changes.address1=s.analysis.changes.address1,this.analysis.changes.address2=s.analysis.changes.address2,this.analysis.changes.address3=s.analysis.changes.address3,this.analysis.changes.address4=s.analysis.changes.address4,this.analysis.changes.address5=s.analysis.changes.address5,this.analysis.changes.address6=s.analysis.changes.address6,this.analysis.changes.address7=s.analysis.changes.address7,this.analysis.changes.address8=s.analysis.changes.address8,this.analysis.changes.address9=s.analysis.changes.address9,this.analysis.changes.address10=s.analysis.changes.address10,this.analysis.changes.address11=s.analysis.changes.address11,this.analysis.changes.address12=s.analysis.changes.address12,this.analysis.changes.components={},void 0!==s.analysis.changes.components&&(this.analysis.changes.components.countryIso3=s.analysis.changes.components.country_iso_3,this.analysis.changes.components.superAdministrativeArea=s.analysis.changes.components.super_administrative_area,this.analysis.changes.components.administrativeArea=s.analysis.changes.components.administrative_area,this.analysis.changes.components.administrativeAreaIso2=s.analysis.changes.components.administrative_area_iso2,this.analysis.changes.components.administrativeAreaShort=s.analysis.changes.components.administrative_area_short,this.analysis.changes.components.administrativeAreaLong=s.analysis.changes.components.administrative_area_long,this.analysis.changes.components.subAdministrativeArea=s.analysis.changes.components.sub_administrative_area,this.analysis.changes.components.dependentLocality=s.analysis.changes.components.dependent_locality,this.analysis.changes.components.dependentLocalityName=s.analysis.changes.components.dependent_locality_name,this.analysis.changes.components.doubleDependentLocality=s.analysis.changes.components.double_dependent_locality,this.analysis.changes.components.locality=s.analysis.changes.components.locality,this.analysis.changes.components.postalCode=s.analysis.changes.components.postal_code,this.analysis.changes.components.postalCodeShort=s.analysis.changes.components.postal_code_short,this.analysis.changes.components.postalCodeExtra=s.analysis.changes.components.postal_code_extra,this.analysis.changes.components.premise=s.analysis.changes.components.premise,this.analysis.changes.components.premiseExtra=s.analysis.changes.components.premise_extra,this.analysis.changes.components.premisePrefixNumber=s.analysis.changes.components.premise_prefix_number,this.analysis.changes.components.premiseNumber=s.analysis.changes.components.premise_number,this.analysis.changes.components.premiseType=s.analysis.changes.components.premise_type,this.analysis.changes.components.thoroughfare=s.analysis.changes.components.thoroughfare,this.analysis.changes.components.thoroughfarePredirection=s.analysis.changes.components.thoroughfare_predirection,this.analysis.changes.components.thoroughfarePostdirection=s.analysis.changes.components.thoroughfare_postdirection,this.analysis.changes.components.thoroughfareName=s.analysis.changes.components.thoroughfare_name,this.analysis.changes.components.thoroughfareTrailingType=s.analysis.changes.components.thoroughfare_trailing_type,this.analysis.changes.components.thoroughfareType=s.analysis.changes.components.thoroughfare_type,this.analysis.changes.components.dependentThoroughfare=s.analysis.changes.components.dependent_thoroughfare,this.analysis.changes.components.dependentThoroughfarePredirection=s.analysis.changes.components.dependent_thoroughfare_predirection,this.analysis.changes.components.dependentThoroughfarePostdirection=s.analysis.changes.components.dependent_thoroughfare_postdirection,this.analysis.changes.components.dependentThoroughfareName=s.analysis.changes.components.dependent_thoroughfare_name,this.analysis.changes.components.dependentThoroughfareTrailingType=s.analysis.changes.components.dependent_thoroughfare_trailing_type,this.analysis.changes.components.dependentThoroughfareType=s.analysis.changes.components.dependent_thoroughfare_type,this.analysis.changes.components.building=s.analysis.changes.components.building,this.analysis.changes.components.buildingLeadingType=s.analysis.changes.components.building_leading_type,this.analysis.changes.components.buildingName=s.analysis.changes.components.building_name,this.analysis.changes.components.buildingTrailingType=s.analysis.changes.components.building_trailing_type,this.analysis.changes.components.subBuildingType=s.analysis.changes.components.sub_building_type,this.analysis.changes.components.subBuildingNumber=s.analysis.changes.components.sub_building_number,this.analysis.changes.components.subBuildingName=s.analysis.changes.components.sub_building_name,this.analysis.changes.components.subBuilding=s.analysis.changes.components.sub_building,this.analysis.changes.components.levelType=s.analysis.changes.components.level_type,this.analysis.changes.components.levelNumber=s.analysis.changes.components.level_number,this.analysis.changes.components.postBox=s.analysis.changes.components.post_box,this.analysis.changes.components.postBoxType=s.analysis.changes.components.post_box_type,this.analysis.changes.components.postBoxNumber=s.analysis.changes.components.post_box_number))),this.metadata={},void 0!==s.metadata&&(this.metadata.latitude=s.metadata.latitude,this.metadata.longitude=s.metadata.longitude,this.metadata.geocodePrecision=s.metadata.geocode_precision,this.metadata.maxGeocodePrecision=s.metadata.max_geocode_precision,this.metadata.addressFormat=s.metadata.address_format,this.metadata.occupantUse=s.metadata.occupant_use)}})};
1
+ "use strict";exports.default=class{constructor(s){var n,e,a,o,t,i,c,h,p,r,d,m,l;this.organization=null!==(n=s.organization)&&void 0!==n?n:"",this.address1=null!==(e=s.address1)&&void 0!==e?e:"",this.address2=null!==(a=s.address2)&&void 0!==a?a:"",this.address3=null!==(o=s.address3)&&void 0!==o?o:"",this.address4=null!==(t=s.address4)&&void 0!==t?t:"",this.address5=null!==(i=s.address5)&&void 0!==i?i:"",this.address6=null!==(c=s.address6)&&void 0!==c?c:"",this.address7=null!==(h=s.address7)&&void 0!==h?h:"",this.address8=null!==(p=s.address8)&&void 0!==p?p:"",this.address9=null!==(r=s.address9)&&void 0!==r?r:"",this.address10=null!==(d=s.address10)&&void 0!==d?d:"",this.address11=null!==(m=s.address11)&&void 0!==m?m:"",this.address12=null!==(l=s.address12)&&void 0!==l?l:"",this.components={},void 0!==s.components&&(this.components.countryIso3=s.components.country_iso_3,this.components.superAdministrativeArea=s.components.super_administrative_area,this.components.administrativeArea=s.components.administrative_area,this.components.administrativeAreaIso2=s.components.administrative_area_iso2,this.components.administrativeAreaShort=s.components.administrative_area_short,this.components.administrativeAreaLong=s.components.administrative_area_long,this.components.subAdministrativeArea=s.components.sub_administrative_area,this.components.dependentLocality=s.components.dependent_locality,this.components.dependentLocalityName=s.components.dependent_locality_name,this.components.doubleDependentLocality=s.components.double_dependent_locality,this.components.locality=s.components.locality,this.components.postalCode=s.components.postal_code,this.components.postalCodeShort=s.components.postal_code_short,this.components.postalCodeExtra=s.components.postal_code_extra,this.components.premise=s.components.premise,this.components.premiseExtra=s.components.premise_extra,this.components.premisePrefixNumber=s.components.premise_prefix_number,this.components.premiseNumber=s.components.premise_number,this.components.premiseType=s.components.premise_type,this.components.thoroughfare=s.components.thoroughfare,this.components.thoroughfarePredirection=s.components.thoroughfare_predirection,this.components.thoroughfarePostdirection=s.components.thoroughfare_postdirection,this.components.thoroughfareName=s.components.thoroughfare_name,this.components.thoroughfareTrailingType=s.components.thoroughfare_trailing_type,this.components.thoroughfareType=s.components.thoroughfare_type,this.components.dependentThoroughfare=s.components.dependent_thoroughfare,this.components.dependentThoroughfarePredirection=s.components.dependent_thoroughfare_predirection,this.components.dependentThoroughfarePostdirection=s.components.dependent_thoroughfare_postdirection,this.components.dependentThoroughfareName=s.components.dependent_thoroughfare_name,this.components.dependentThoroughfareTrailingType=s.components.dependent_thoroughfare_trailing_type,this.components.dependentThoroughfareType=s.components.dependent_thoroughfare_type,this.components.building=s.components.building,this.components.buildingLeadingType=s.components.building_leading_type,this.components.buildingName=s.components.building_name,this.components.buildingTrailingType=s.components.building_trailing_type,this.components.subBuildingType=s.components.sub_building_type,this.components.subBuildingNumber=s.components.sub_building_number,this.components.subBuildingName=s.components.sub_building_name,this.components.subBuilding=s.components.sub_building,this.components.levelType=s.components.level_type,this.components.levelNumber=s.components.level_number,this.components.postBox=s.components.post_box,this.components.postBoxType=s.components.post_box_type,this.components.postBoxNumber=s.components.post_box_number,this.components.additionalContent=s.components.additional_content,this.components.deliveryInstallation=s.components.delivery_installation,this.components.deliveryInstallationType=s.components.delivery_installation_type,this.components.deliveryInstallationQualifierName=s.components.delivery_installation_qualifier_name,this.components.route=s.components.route,this.components.routeNumber=s.components.route_number,this.components.routeType=s.components.route_type),this.analysis={},void 0!==s.analysis&&(this.analysis.verificationStatus=s.analysis.verification_status,this.analysis.addressPrecision=s.analysis.address_precision,this.analysis.maxAddressPrecision=s.analysis.max_address_precision,this.analysis.changes={},void 0!==s.analysis.changes&&(this.analysis.changes.organization=s.analysis.changes.organization,this.analysis.changes.address1=s.analysis.changes.address1,this.analysis.changes.address2=s.analysis.changes.address2,this.analysis.changes.address3=s.analysis.changes.address3,this.analysis.changes.address4=s.analysis.changes.address4,this.analysis.changes.address5=s.analysis.changes.address5,this.analysis.changes.address6=s.analysis.changes.address6,this.analysis.changes.address7=s.analysis.changes.address7,this.analysis.changes.address8=s.analysis.changes.address8,this.analysis.changes.address9=s.analysis.changes.address9,this.analysis.changes.address10=s.analysis.changes.address10,this.analysis.changes.address11=s.analysis.changes.address11,this.analysis.changes.address12=s.analysis.changes.address12,this.analysis.changes.components={},void 0!==s.analysis.changes.components&&(this.analysis.changes.components.countryIso3=s.analysis.changes.components.country_iso_3,this.analysis.changes.components.superAdministrativeArea=s.analysis.changes.components.super_administrative_area,this.analysis.changes.components.administrativeArea=s.analysis.changes.components.administrative_area,this.analysis.changes.components.administrativeAreaIso2=s.analysis.changes.components.administrative_area_iso2,this.analysis.changes.components.administrativeAreaShort=s.analysis.changes.components.administrative_area_short,this.analysis.changes.components.administrativeAreaLong=s.analysis.changes.components.administrative_area_long,this.analysis.changes.components.subAdministrativeArea=s.analysis.changes.components.sub_administrative_area,this.analysis.changes.components.dependentLocality=s.analysis.changes.components.dependent_locality,this.analysis.changes.components.dependentLocalityName=s.analysis.changes.components.dependent_locality_name,this.analysis.changes.components.doubleDependentLocality=s.analysis.changes.components.double_dependent_locality,this.analysis.changes.components.locality=s.analysis.changes.components.locality,this.analysis.changes.components.postalCode=s.analysis.changes.components.postal_code,this.analysis.changes.components.postalCodeShort=s.analysis.changes.components.postal_code_short,this.analysis.changes.components.postalCodeExtra=s.analysis.changes.components.postal_code_extra,this.analysis.changes.components.premise=s.analysis.changes.components.premise,this.analysis.changes.components.premiseExtra=s.analysis.changes.components.premise_extra,this.analysis.changes.components.premisePrefixNumber=s.analysis.changes.components.premise_prefix_number,this.analysis.changes.components.premiseNumber=s.analysis.changes.components.premise_number,this.analysis.changes.components.premiseType=s.analysis.changes.components.premise_type,this.analysis.changes.components.thoroughfare=s.analysis.changes.components.thoroughfare,this.analysis.changes.components.thoroughfarePredirection=s.analysis.changes.components.thoroughfare_predirection,this.analysis.changes.components.thoroughfarePostdirection=s.analysis.changes.components.thoroughfare_postdirection,this.analysis.changes.components.thoroughfareName=s.analysis.changes.components.thoroughfare_name,this.analysis.changes.components.thoroughfareTrailingType=s.analysis.changes.components.thoroughfare_trailing_type,this.analysis.changes.components.thoroughfareType=s.analysis.changes.components.thoroughfare_type,this.analysis.changes.components.dependentThoroughfare=s.analysis.changes.components.dependent_thoroughfare,this.analysis.changes.components.dependentThoroughfarePredirection=s.analysis.changes.components.dependent_thoroughfare_predirection,this.analysis.changes.components.dependentThoroughfarePostdirection=s.analysis.changes.components.dependent_thoroughfare_postdirection,this.analysis.changes.components.dependentThoroughfareName=s.analysis.changes.components.dependent_thoroughfare_name,this.analysis.changes.components.dependentThoroughfareTrailingType=s.analysis.changes.components.dependent_thoroughfare_trailing_type,this.analysis.changes.components.dependentThoroughfareType=s.analysis.changes.components.dependent_thoroughfare_type,this.analysis.changes.components.building=s.analysis.changes.components.building,this.analysis.changes.components.buildingLeadingType=s.analysis.changes.components.building_leading_type,this.analysis.changes.components.buildingName=s.analysis.changes.components.building_name,this.analysis.changes.components.buildingTrailingType=s.analysis.changes.components.building_trailing_type,this.analysis.changes.components.subBuildingType=s.analysis.changes.components.sub_building_type,this.analysis.changes.components.subBuildingNumber=s.analysis.changes.components.sub_building_number,this.analysis.changes.components.subBuildingName=s.analysis.changes.components.sub_building_name,this.analysis.changes.components.subBuilding=s.analysis.changes.components.sub_building,this.analysis.changes.components.levelType=s.analysis.changes.components.level_type,this.analysis.changes.components.levelNumber=s.analysis.changes.components.level_number,this.analysis.changes.components.postBox=s.analysis.changes.components.post_box,this.analysis.changes.components.postBoxType=s.analysis.changes.components.post_box_type,this.analysis.changes.components.postBoxNumber=s.analysis.changes.components.post_box_number))),this.metadata={},void 0!==s.metadata&&(this.metadata.latitude=s.metadata.latitude,this.metadata.longitude=s.metadata.longitude,this.metadata.geocodePrecision=s.metadata.geocode_precision,this.metadata.maxGeocodePrecision=s.metadata.max_geocode_precision,this.metadata.addressFormat=s.metadata.address_format,this.metadata.occupantUse=s.metadata.occupant_use)}};
@@ -1 +1 @@
1
- "use strict";var r,e,t=require("../Request.cjs"),i=require("../Errors.cjs"),u=require("./Candidate.cjs"),n=require("../util/buildInputData.cjs"),s=require("../util/apiToSDKKeyMap.cjs");exports.__require=function(){if(e)return r;e=1;const o=t.__require(),a=i.__require(),c=u.__require(),q=n.__require(),_=s.__require().internationalStreet;return r=class{constructor(r){this.sender=r}send(r){if(void 0===r)throw new a.UndefinedLookupError;let e=new o;return e.parameters=q(r,_),new Promise((t,i)=>{this.sender.send(e).then(e=>{e.error&&i(e.error),t(function(r,e){return r.payload.map(r=>{e.result.push(new c(r))}),e}(e,r))}).catch(i)})}}};
1
+ "use strict";var e=require("../Request.cjs"),r=require("../Errors.cjs"),t=require("./Candidate.cjs"),n=require("../util/buildInputData.cjs");const s=require("../util/apiToSDKKeyMap.cjs").default.internationalStreet;exports.default=class{constructor(e){this.sender=e}send(u){if(void 0===u)throw new r.UndefinedLookupError;u.ensureEnoughInfo();const a=new e.default;return a.parameters=n.default(u,s),new Promise((e,r)=>{this.sender.send(a).then(n=>{if(n.error)return r(n.error);e(function(e,r){e.payload&&e.payload.forEach(e=>{r.result.push(new t.default(e))});return r}(n,u))}).catch(r)})}};
@@ -1 +1 @@
1
- "use strict";var e,t,i=require("../Errors.cjs");exports.__require=function(){if(t)return e;t=1;const r=i.__require().UnprocessableEntityError,s="Country field is required.",o="Either freeform or address1 is required.",n="Insufficient information: One or more required fields were not set on the lookup.",a="Invalid input: geocode can only be set to 'true' (default is 'false'.",u="Invalid input: language can only be set to 'latin' or 'native'. When not set, the the output language will match the language of the input values.";function h(e){if(!e)return!0;return e.replace(/\s/g,"").length<1}function d(e){return!h(e)}return e=class{constructor(e,t){this.result=[],this.country=e,this.freeform=t,this.address1=void 0,this.address2=void 0,this.address3=void 0,this.address4=void 0,this.organization=void 0,this.locality=void 0,this.administrativeArea=void 0,this.postalCode=void 0,this.geocode=void 0,this.language=void 0,this.inputId=void 0,this.ensureEnoughInfo=this.ensureEnoughInfo.bind(this),this.ensureValidData=this.ensureValidData.bind(this),this.customParameters={}}addCustomParameter(e,t){this.customParameters[e]=t}ensureEnoughInfo(){if(h(this.country))throw new r(s);if(d(this.freeform))return!0;if(h(this.address1))throw new r(o);if(d(this.postalCode))return!0;if(h(this.locality)||h(this.administrativeArea))throw new r(n);return!0}ensureValidData(){if((()=>d(this.geocode)&&"true"!==this.geocode.toLowerCase())())throw new r(a);if((()=>{let e=e=>this.language.toLowerCase()===e;return d(this.language)&&!(e("latin")||e("native"))})())throw new r(u);return!0}}};
1
+ "use strict";var t=require("../Errors.cjs");const e="Country field is required.",r="Either freeform or address1 is required.",s="Invalid input: geocode can only be set to 'true' (default is 'false'.",i="Invalid input: language can only be set to 'latin' or 'native'. When not set, the the output language will match the language of the input values.";function o(t){if(!t)return!0;return t.replace(/\s/g,"").length<1}function n(t){return!o(t)}exports.default=class{constructor(t,e){this.result=[],this.country=t,this.freeform=e,this.address1=void 0,this.address2=void 0,this.address3=void 0,this.address4=void 0,this.organization=void 0,this.locality=void 0,this.administrativeArea=void 0,this.postalCode=void 0,this.geocode=void 0,this.language=void 0,this.inputId=void 0,this.ensureEnoughInfo=this.ensureEnoughInfo.bind(this),this.ensureValidData=this.ensureValidData.bind(this),this.customParameters={}}addCustomParameter(t,e){this.customParameters[t]=e}ensureEnoughInfo(){if(o(this.country))throw new t.UnprocessableEntityError(e);if(o(this.freeform)&&o(this.address1))throw new t.UnprocessableEntityError(r);return!0}ensureValidData(){if((()=>n(this.geocode)&&"true"!==this.geocode.toLowerCase())())throw new t.UnprocessableEntityError(s);if((()=>{const t=t=>this.language.toLowerCase()===t;return n(this.language)&&!(t("latin")||t("native"))})())throw new t.UnprocessableEntityError(i);return!0}};
@@ -1 +1 @@
1
- "use strict";var e,r,s=require("../Errors.cjs"),u=require("../Request.cjs"),t=require("./Suggestion.cjs"),i=require("../util/buildInputData.cjs"),n=require("../util/apiToSDKKeyMap.cjs");exports.__require=function(){if(r)return e;r=1;const o=s.__require(),c=u.__require(),a=t.__require(),q=i.__require(),_=n.__require().usAutocompletePro;return e=class{constructor(e){this.sender=e}send(e){if(void 0===e)throw new o.UndefinedLookupError;let r=new c;return r.parameters=q(e,_),new Promise((s,u)=>{this.sender.send(r).then(r=>{var t;r.error&&u(r.error),e.result=null===(t=r.payload).suggestions?[]:t.suggestions.map(e=>new a(e)),s(e)}).catch(u)})}}};
1
+ "use strict";var e=require("../Errors.cjs"),r=require("../Request.cjs"),s=require("./Suggestion.cjs"),t=require("../util/buildInputData.cjs");const u=require("../util/apiToSDKKeyMap.cjs").default.usAutocompletePro;exports.default=class{constructor(e){this.sender=e}send(o){if(void 0===o)throw new e.UndefinedLookupError;const n=new r.default;return n.parameters=t.default(o,u),new Promise((e,r)=>{this.sender.send(n).then(t=>{if(t.error)return r(t.error);const u=t.payload;o.result=null===u.suggestions?[]:u.suggestions.map(e=>new s.default(e)),e(o)}).catch(r)})}};
@@ -1 +1 @@
1
- "use strict";var t,e;exports.__require=function(){return e?t:(e=1,t=class{constructor(t){this.result=[],this.search=t,this.selected=void 0,this.maxResults=void 0,this.includeOnlyCities=[],this.includeOnlyStates=[],this.includeOnlyZIPCodes=[],this.excludeStates=[],this.preferCities=[],this.preferStates=[],this.preferZIPCodes=[],this.preferRatio=void 0,this.preferGeolocation=void 0,this.source=void 0,this.customParameters={}}addCustomParameter(t,e){this.customParameters[t]=e}})};
1
+ "use strict";exports.default=class{constructor(t){this.result=[],this.search=t,this.selected=void 0,this.maxResults=void 0,this.includeOnlyCities=[],this.includeOnlyStates=[],this.includeOnlyZIPCodes=[],this.excludeStates=[],this.preferCities=[],this.preferStates=[],this.preferZIPCodes=[],this.preferRatio=void 0,this.preferGeolocation=void 0,this.source=void 0,this.customParameters={}}addCustomParameter(t,s){this.customParameters[t]=s}};
@@ -1 +1 @@
1
- "use strict";var t,e;exports.__require=function(){return e?t:(e=1,t=class{constructor(t){this.streetLine=t.street_line,this.secondary=t.secondary,this.city=t.city,this.state=t.state,this.zipcode=t.zipcode,this.entries=t.entries,t.source&&(this.source=t.source)}})};
1
+ "use strict";exports.default=class{constructor(t){var s,e,i,o,l,r;this.streetLine=null!==(s=t.street_line)&&void 0!==s?s:"",this.secondary=null!==(e=t.secondary)&&void 0!==e?e:"",this.city=null!==(i=t.city)&&void 0!==i?i:"",this.state=null!==(o=t.state)&&void 0!==o?o:"",this.zipcode=null!==(l=t.zipcode)&&void 0!==l?l:"",this.entries=null!==(r=t.entries)&&void 0!==r?r:0,t.source&&(this.source=t.source)}};
@@ -1 +1 @@
1
- "use strict";var e,r,n=require("../Errors.cjs"),s=require("../Request.cjs"),o=require("../util/buildInputData.cjs"),a=require("../util/apiToSDKKeyMap.cjs");exports.__require=function(){if(r)return e;r=1;const t=n.__require(),i=s.__require(),d=o.__require(),{usEnrichment:u}=a.__require();return e=class{constructor(e){this.sender=e}sendPrincipal(e){if(void 0===e)throw new t.UndefinedLookupError;let r=new i;return r.parameters=d(e,u),r.baseUrlParam=e.smartyKey+"/property/principal",new Promise((n,s)=>{this.sender.send(r).then(r=>{r.error&&s(r.error),e.response=r.payload,n(e)}).catch(s)})}sendFinancial(e){if(void 0===e)throw new t.UndefinedLookupError;let r=new i;return r.parameters=d(e,u),r.baseUrlParam=e.smartyKey+"/property/financial",new Promise((n,s)=>{this.sender.send(r).then(r=>{r.error&&s(r.error),e.response=r.payload,n(e)}).catch(s)})}sendGeo(e){if(void 0===e)throw new t.UndefinedLookupError;let r=new i;return r.parameters=d(e,u),r.baseUrlParam=e.smartyKey+"/geo-reference",new Promise((n,s)=>{this.sender.send(r).then(r=>{r.error&&s(r.error),e.response=r.payload,n(e)}).catch(s)})}sendSecondary(e){if(void 0===e)throw new t.UndefinedLookupError;let r=new i;return r.parameters=d(e,u),r.baseUrlParam=e.smartyKey+"/secondary",new Promise((n,s)=>{this.sender.send(r).then(r=>{r.error&&s(r.error),e.response=r.payload,n(e)}).catch(s)})}sendSecondaryCount(e){if(void 0===e)throw new t.UndefinedLookupError;let r=new i;return r.parameters=d(e,u),r.baseUrlParam=e.smartyKey+"/secondary/count",new Promise((n,s)=>{this.sender.send(r).then(r=>{r.error&&s(r.error),e.response=r.payload,n(e)}).catch(s)})}}};
1
+ "use strict";var e=require("../Errors.cjs"),r=require("../Request.cjs"),n=require("../util/buildInputData.cjs"),s=require("../util/apiToSDKKeyMap.cjs"),o=require("./Response.cjs");const a=s.default.usEnrichment;exports.default=class{constructor(e){this.sender=e}sendPrincipal(s){if(void 0===s)throw new e.UndefinedLookupError;const t=new r.default;return t.parameters=n.default(s,a),t.baseUrlParam=s.smartyKey+"/property/principal",new Promise((e,r)=>{this.sender.send(t).then(n=>{if(n.error)return r(n.error);s.response=new o.Response(n.payload),e(s)}).catch(r)})}sendFinancial(s){if(void 0===s)throw new e.UndefinedLookupError;const t=new r.default;return t.parameters=n.default(s,a),t.baseUrlParam=s.smartyKey+"/property/financial",new Promise((e,r)=>{this.sender.send(t).then(n=>{if(n.error)return r(n.error);s.response=new o.FinancialResponse(n.payload),e(s)}).catch(r)})}sendGeo(s){if(void 0===s)throw new e.UndefinedLookupError;const t=new r.default;return t.parameters=n.default(s,a),t.baseUrlParam=s.smartyKey+"/geo-reference",new Promise((e,r)=>{this.sender.send(t).then(n=>{if(n.error)return r(n.error);s.response=new o.GeoResponse(n.payload),e(s)}).catch(r)})}sendSecondary(s){if(void 0===s)throw new e.UndefinedLookupError;const t=new r.default;return t.parameters=n.default(s,a),t.baseUrlParam=s.smartyKey+"/secondary",new Promise((e,r)=>{this.sender.send(t).then(n=>{if(n.error)return r(n.error);s.response=new o.Response(n.payload),e(s)}).catch(r)})}sendSecondaryCount(s){if(void 0===s)throw new e.UndefinedLookupError;const t=new r.default;return t.parameters=n.default(s,a),t.baseUrlParam=s.smartyKey+"/secondary/count",new Promise((e,r)=>{this.sender.send(t).then(n=>{if(n.error)return r(n.error);s.response=new o.Response(n.payload),e(s)}).catch(r)})}};
@@ -1 +1 @@
1
- "use strict";var t,s;exports.__require=function(){return s?t:(s=1,t=class{constructor(t,s,e,r,a){this.smartyKey=t,this.include=s,this.exclude=e,this.dataset=r,this.dataSubset=a,this.features=void 0,this.response={},this.customParameters={}}addCustomParameter(t,s){this.customParameters[t]=s}})};
1
+ "use strict";var s=require("./Response.cjs");exports.default=class{constructor(t,e,a,r,i){this.smartyKey=t,this.include=e,this.exclude=a,this.dataset=r,this.dataSubset=i,this.features=void 0,this.response=new s.Response({}),this.customParameters={}}addCustomParameter(s,t){this.customParameters[s]=t}};
@@ -1 +1 @@
1
- "use strict";var t,e;exports.__require=function(){return e?t:(e=1,t={Response:class{constructor(t){this.smartyKey=t.smarty_key,this.dataSetName=t.data_set_name,this.dataSubsetName=t.data_subset_name,this.attributes={},t.attributes&&(this.attributes.firstFloorSqft=t.attributes["1st_floor_sqft"],this.attributes.secondFlootSqft=t.attributes["2nd_floor_sqft"],this.attributes.acres=t.attributes.acres,this.attributes.addressInfoPrivacy=t.attributes.address_info_privacy,this.attributes.airConditioner=t.attributes.air_conditioner,this.attributes.arborPergola=t.attributes.arbor_pergola,this.attributes.assessedImprovementPercent=t.attributes.assessed_improvement_percent,this.attributes.assessedImprovementValue=t.attributes.assessed_improvement_value,this.attributes.assessedLandValue=t.attributes.assessed_land_value,this.attributes.assessedValue=t.attributes.assessed_value,this.attributes.assessorLastUpdate=t.attributes.assessor_last_update,this.attributes.assessorTaxrollUpdate=t.attributes.assessor_taxroll_update,this.attributes.atticArea=t.attributes.attic_area,this.attributes.atticFlag=t.attributes.attic_flag,this.attributes.balcony=t.attributes.balcony,this.attributes.balconyArea=t.attributes.balcony_area,this.attributes.basementSqft=t.attributes.basement_sqft,this.attributes.basementSqftFinished=t.attributes.basement_sqft_finished,this.attributes.basementsqftUnfinished=t.attributes.basement_sqft_unfinished,this.attributes.bathHouse=t.attributes.bath_house,this.attributes.bathHouseSqft=t.attributes.bath_house_sqft,this.attributes.bathroomsPartial=t.attributes.bathrooms_partial,this.attributes.bathroomsTotal=t.attributes.bathrooms_total,this.attributes.bedrooms=t.attributes.bedrooms,this.attributes.block1=t.attributes.block_1,this.attributes.block2=t.attributes.block_2,this.attributes.boatAccess=t.attributes.boat_access,this.attributes.boatHouse=t.attributes.boat_house,this.attributes.boatHouseSqft=t.attributes.boat_house_sqft,this.attributes.boatLift=t.attributes.boat_lift,this.attributes.bonusRoom=t.attributes.bonus_room,this.attributes.breakfastNook=t.attributes.breakfast_nook,this.attributes.breezeway=t.attributes.breezeway,this.attributes.buildingDefinitionCode=t.attributes.building_definition,this.attributes.buildingSqft=t.attributes.building_sqft,this.attributes.cabin=t.attributes.cabin,this.attributes.cabinSqft=t.attributes.cabin_sqft,this.attributes.canopy=t.attributes.canopy,this.attributes.canopySqft=t.attributes.canopy_sqft,this.attributes.carport=t.attributes.carport,this.attributes.carportSqft=t.attributes.carport_sqft,this.attributes.cbsaCode=t.attributes.cbsa_code,this.attributes.cbsaName=t.attributes.cbsa_name,this.attributes.cellar=t.attributes.cellar,this.attributes.censusBlock=t.attributes.census_block,this.attributes.censusTract=t.attributes.census_tract,this.attributes.censusBlockGroup=t.attributes.census_block_group,this.attributes.censusFipsPlaceCode=t.attributes.census_fips_place_code,this.attributes.censusTract=t.attributes.census_tract,this.attributes.centralVacuum=t.attributes.central_vacuum,this.attributes.codeTitleCompany=t.attributes.code_title_company,this.attributes.combinedStatisticalArea=t.attributes.combined_statistical_area,this.attributes.communityRec=t.attributes.community_rec,this.attributes.companyFlag=t.attributes.company_flag,this.attributes.congressionalDistrict=t.attributes.congressional_district,this.attributes.constructionType=t.attributes.construction_type,this.attributes.contactCity=t.attributes.contact_city,this.attributes.contactCrrt=t.attributes.contact_crrt,this.attributes.contactFullAddress=t.attributes.contact_full_address,this.attributes.contactHouseNumber=t.attributes.contact_house_number,this.attributes.contactMailInfoFormat=t.attributes.contact_main_info_format,this.attributes.contactMailInfoPrivacy=t.attributes.contact_mail_info_privacy,this.attributes.contactMailingCounty=t.attributes.contact_mailing_county,this.attributes.contactMailingFips=t.attributes.contact_mailing_fips,this.attributes.contactPostDirection=t.attributes.contact_post_direction,this.attributes.contactPreDirection=t.attributes.contact_pre_direction,this.attributes.contactState=t.attributes.contact_state,this.attributes.contactStreetName=t.attributes.contact_street_name,this.attributes.contactSuffix=t.attributes.contact_suffix,this.attributes.contactUnitDesignator=t.attributes.contact_unit_designator,this.attributes.contactValue=t.attributes.contact_value,this.attributes.contactZip=t.attributes.contact_zip,this.attributes.contactZip4=t.attributes.contact_zip4,this.attributes.courtyard=t.attributes.courtyard,this.attributes.courtyardArea=t.attributes.courtyard_area,this.attributes.deck=t.attributes.deck,this.attributes.deckArea=t.attributes.deck_area,this.attributes.deedDocumentPage=t.attributes.deed_document_page,this.attributes.deedDocumentBook=t.attributes.deed_document_book,this.attributes.deedDocumentNumber=t.attributes.deed_document_number,this.attributes.deedOwnerFirstName=t.attributes.deed_owner_first_name,this.attributes.deedOwnerFirstName2=t.attributes.deed_owner_first_name2,this.attributes.deedOwnerFirstName3=t.attributes.deed_owner_first_name3,this.attributes.deedOwnerFirstName4=t.attributes.deed_owner_first_name4,this.attributes.deedOwnerFullName=t.attributes.deed_owner_full_name,this.attributes.deedOwnerFullName2=t.attributes.deed_owner_full_name2,this.attributes.deedOwnerFullName3=t.attributes.deed_owner_full_name3,this.attributes.deedOwnerFullName4=t.attributes.deed_owner_full_name4,this.attributes.deedOwnerLastName=t.attributes.deed_owner_last_name,this.attributes.deedOwnerLastName2=t.attributes.deed_owner_last_name2,this.attributes.deedOwnerLastName3=t.attributes.deed_owner_last_name3,this.attributes.deedOwnerLastName4=t.attributes.deed_owner_last_name4,this.attributes.deedOwnerMiddleName=t.attributes.deed_owner_middle_name,this.attributes.deedOwnerMiddleName2=t.attributes.deed_owner_middle_name2,this.attributes.deedOwnerMiddleName3=t.attributes.deed_owner_middle_name3,this.attributes.deedOwnerMiddleName4=t.attributes.deed_owner_middle_name4,this.attributes.deedOwnerSuffix=t.attributes.deed_owner_suffix,this.attributes.deedOwnerSuffix2=t.attributes.deed_owner_suffix2,this.attributes.deedOwnerSuffix3=t.attributes.deed_owner_suffix3,this.attributes.deedOwnerSuffix4=t.attributes.deed_owner_suffix4,this.attributes.deedSaleDate=t.attributes.deed_sale_date,this.attributes.deedSalePrice=t.attributes.deed_sale_price,this.attributes.deedTransactionId=t.attributes.deed_transaction_id,this.attributes.depthLinearFootage=t.attributes.depth_linear_footage,this.attributes.disabledTaxExemption=t.attributes.disabled_tax_exemption,this.attributes.drivewaySqft=t.attributes.driveway_sqft,this.attributes.drivewayType=t.attributes.driveway_type,this.attributes.effectiveYearBuilt=t.attributes.effective_year_built,this.attributes.elevationFeet=t.attributes.elevation_feet,this.attributes.elevator=t.attributes.elevator,this.attributes.equestrianArena=t.attributes.equestrian_arena,this.attributes.escalator=t.attributes.escalator,this.attributes.exerciseRoom=t.attributes.exercise_room,this.attributes.exteriorWalls=t.attributes.exterior_walls,this.attributes.familyRoom=t.attributes.family_room,this.attributes.financialHistory=t.attributes.financial_history?t.attributes.financial_history.map(t=>({codeTitleCompany:t.code_title_company,instrumentDate:t.instrument_date,interestRateType2:t.interest_rate_type_2,lenderAddress:t.lender_address,lenderAddress2:t.lender_address_2,lenderCity:t.lender_city,lenderCity2:t.lender_city_2,lenderCode:t.lender_code,lenderCode2:t.lender_code_2,lenderFirstName:t.lender_first_name,lenderFirstName2:t.lender_first_name_2,lenderLastName:t.lender_last_name,lenderLastName2:t.lender_last_name_2,lenderName:t.lender_name,lenderName2:t.lender_name_2,lenderSellerCarryBack:t.lender_seller_carry_back,lenderSellerCarryBack2:t.lender_seller_carry_back_2,lenderState:t.lender_state,lenderState2:t.lender_state_2,lenderZip:t.lender_zip,lenderZip2:t.lender_zip_2,lenderZipExtended:t.lender_zip_extended,lenderZipExtended2:t.lender_zip_extended_2,mortgageAmount:t.mortgage_amount,mortgageAmount2:t.mortgage_amount_2,mortgageDueDate:t.mortgage_due_date,mortgageDueDate2:t.mortgage_due_date_2,mortgageInterestRate:t.mortgage_interest_rate,mortgageInterestRateType:t.mortgage_interest_rate_type,mortgageLenderCode:t.mortgage_lender_code,mortgageRate:t.mortgage_rate,mortgageRate2:t.mortgage_rate_2,mortgageRecordingDate:t.mortgage_recording_date,mortgageRecordingDate2:t.mortgage_recording_date_2,mortgageTerm:t.mortgage_term,mortgageTerm2:t.mortgage_term_2,mortgageTermType:t.mortgage_term_type,mortgageTermType2:t.mortgage_term_type_2,mortgageType:t.mortgage_type,mortgageType2:t.mortgage_type_2,multiParcelFlag:t.multi_parcel_flag,nameTitleCompany:t.name_title_company,recordingDate:t.recording_date,transferAmount:t.transfer_amount})):[],this.attributes.fence=t.attributes.fence,this.attributes.fenceArea=t.attributes.fence_area,this.attributes.fipsCode=t.attributes.fips_code,this.attributes.fireResistanceCode=t.attributes.fire_resistance_code,this.attributes.fireSprinklersFlag=t.attributes.fire_sprinkler_flag,this.attributes.fireplace=t.attributes.fireplace,this.attributes.fireplaceNumber=t.attributes.fireplace_number,this.attributes.firstName=t.attributes.first_name,this.attributes.firstName2=t.attributes.first_name2,this.attributes.firstName3=t.attributes.first_name3,this.attributes.firstName4=t.attributes.first_name4,this.attributes.flooring=t.attributes.flooring,this.attributes.foundation=t.attributes.foundation,this.attributes.gameRoom=t.attributes.game_room,this.attributes.garage=t.attributes.garage,this.attributes.garageSqft=t.attributes.garage_sqft,this.attributes.gazebo=t.attributes.gazebo,this.attributes.gazeboSqft=t.attributes.gazebo_sqft,this.attributes.golfCourse=t.attributes.golf_course,this.attributes.grainery=t.attributes.grainery,this.attributes.grainerySqft=t.attributes.grainery_sqft,this.attributes.greatRoom=t.attributes.great_room,this.attributes.greenhouse=t.attributes.greenhouse,this.attributes.greenhouseSqft=t.attributes.greenhouse_sqft,this.attributes.grossSqft=t.attributes.gross_sqft,this.attributes.guesthouse=t.attributes.guesthouse,this.attributes.guesthouseSqft=t.attributes.guesthouse_sqft,this.attributes.handicapAccessibility=t.attributes.handicap_accessibility,this.attributes.heat=t.attributes.heat,this.attributes.heatFuelType=t.attributes.heat_fuel_type,this.attributes.hobbyRoom=t.attributes.hobby_room,this.attributes.homeownerTaxExemption=t.attributes.homeowner_tax_exemption,this.attributes.instrumentDate=t.attributes.instrument_date,this.attributes.intercomSystem=t.attributes.intercom_system,this.attributes.interestRateType2=t.attributes.interest_rate_type_2,this.attributes.interiorStructure=t.attributes.interior_structure,this.attributes.kennel=t.attributes.kennel,this.attributes.kennelSqft=t.attributes.kennel_sqft,this.attributes.landUseCode=t.attributes.land_use_code,this.attributes.landUseGroup=t.attributes.land_use_group,this.attributes.landUseStandard=t.attributes.land_use_standard,this.attributes.lastName=t.attributes.last_name,this.attributes.lastName2=t.attributes.last_name_2,this.attributes.lastName3=t.attributes.last_name_3,this.attributes.lastName4=t.attributes.last_name_4,this.attributes.latitude=t.attributes.latitude,this.attributes.laundry=t.attributes.laundry,this.attributes.leanTo=t.attributes.lean_to,this.attributes.leanToSqft=t.attributes.lean_to_sqft,this.attributes.legalDescription=t.attributes.legal_description,this.attributes.legalUnit=t.attributes.legal_unit,this.attributes.lenderAddress=t.attributes.lender_address,this.attributes.lenderAddress2=t.attributes.lender_address_2,this.attributes.lenderCity=t.attributes.lender_city,this.attributes.lenderCity2=t.attributes.lender_city_2,this.attributes.lenderCode=t.attributes.lender_code,this.attributes.lenderCode2=t.attributes.lender_code_2,this.attributes.lenderFirstName=t.attributes.lender_first_name,this.attributes.lenderFirstName2=t.attributes.lender_first_name_2,this.attributes.lenderLastName=t.attributes.lender_last_name,this.attributes.lenderLastName2=t.attributes.lender_last_name_2,this.attributes.lenderName=t.attributes.lender_name,this.attributes.lenderName2=t.attributes.lender_name_2,this.attributes.lenderSellerCarryBack=t.attributes.lender_seller_carry_back,this.attributes.lenderSellerCarryBack2=t.attributes.lender_seller_carry_back_2,this.attributes.lenderState=t.attributes.lender_state,this.attributes.lenderState2=t.attributes.lender_state_2,this.attributes.lenderZip=t.attributes.lender_zip,this.attributes.lenderZip2=t.attributes.lender_zip_2,this.attributes.lenderZipExtended=t.attributes.lender_zip_extended,this.attributes.lenderZipExtended2=t.attributes.lender_zip_extended_2,this.attributes.loadingPlatform=t.attributes.loading_platform,this.attributes.loadingPlatformSqft=t.attributes.loading_platform_sqft,this.attributes.longitude=t.attributes.longitude,this.attributes.lot1=t.attributes.lot_1,this.attributes.lot2=t.attributes.lot_2,this.attributes.lot3=t.attributes.lot_3,this.attributes.lotSqft=t.attributes.lot_sqft,this.attributes.marketImprovementPercent=t.attributes.market_improvement_percent,this.attributes.marketImprovementValue=t.attributes.market_improvement_value,this.attributes.marketLandValue=t.attributes.market_land_value,this.attributes.marketValueYear=t.attributes.market_value_year,this.attributes.matchType=t.attributes.match_type,this.attributes.mediaRoom=t.attributes.media_room,this.attributes.metroDivision=t.attributes.metro_division,this.attributes.middleName=t.attributes.middle_name,this.attributes.middleName2=t.attributes.middle_name_2,this.attributes.middleName3=t.attributes.middle_name_3,this.attributes.middleName4=t.attributes.middle_name_4,this.attributes.milkhouse=t.attributes.milkhouse,this.attributes.milkhouseSqft=t.attributes.milkhouse_sqft,this.attributes.minorCivilDivisionCode=t.attributes.minor_civil_division_code,this.attributes.minorCivilDivisionName=t.attributes.minor_civil_division_name,this.attributes.mobileHomeHookup=t.attributes.mobile_home_hookup,this.attributes.mortgageAmount=t.attributes.mortgage_amount,this.attributes.mortgageAmount2=t.attributes.mortgage_amount_2,this.attributes.mortgageDueDate=t.attributes.mortgage_due_date,this.attributes.mortgageDueDate2=t.attributes.mortgage_due_date_2,this.attributes.mortgageInterestRate=t.attributes.mortgage_interest_rate,this.attributes.mortgageInterestRateType=t.attributes.mortgage_interest_rate_type,this.attributes.mortgageLenderCode=t.attributes.mortgage_lender_code,this.attributes.mortgageRate2=t.attributes.mortgage_rate_2,this.attributes.mortgageRecordingDate=t.attributes.mortgage_recording_date,this.attributes.mortgageRecordingDate2=t.attributes.mortgage_recording_date_2,this.attributes.mortgageTerm=t.attributes.mortgage_term,this.attributes.mortgageTerm2=t.attributes.mortgage_term_2,this.attributes.mortgageTermType=t.attributes.mortgage_term_type,this.attributes.mortgageTermType2=t.attributes.mortgage_term_type_2,this.attributes.mortgageType=t.attributes.mortgage_type,this.attributes.mortgageType2=t.attributes.mortgage_type_2,this.attributes.msaCode=t.attributes.msa_code,this.attributes.msaName=t.attributes.msa_name,this.attributes.mudRoom=t.attributes.mud_room,this.attributes.multiParcelFlag=t.attributes.multi_parcel_flag,this.attributes.nameTitleCompany=t.attributes.name_title_company,this.attributes.neighborhoodCode=t.attributes.neighborhood_code,this.attributes.numberOfBuildings=t.attributes.number_of_buildings,this.attributes.office=t.attributes.office,this.attributes.officeSqft=t.attributes.office_sqft,this.attributes.otherTaxExemption=t.attributes.other_tax_exemption,this.attributes.outdoorKitchenFireplace=t.attributes.outdoor_kitchen_fireplace,this.attributes.overheadDoor=t.attributes.overhead_door,this.attributes.ownerFullName=t.attributes.owner_full_name,this.attributes.ownerFullName2=t.attributes.owner_full_name_2,this.attributes.ownerFullName3=t.attributes.owner_full_name_3,this.attributes.ownerFullName4=t.attributes.owner_full_name_4,this.attributes.ownerOccupancyStatus=t.attributes.owner_occupancy_status,this.attributes.ownershipTransferDate=t.attributes.ownership_transfer_date,this.attributes.ownershipTransferDocNumber=t.attributes.ownership_transfer_doc_number,this.attributes.ownershipTransferTransactionId=t.attributes.ownership_transfer_transaction_id,this.attributes.ownershipType=t.attributes.ownership_type,this.attributes.ownershipType2=t.attributes.ownership_type_2,this.attributes.ownershipVestingRelationCode=t.attributes.ownership_vesting_relation_code,this.attributes.parcelAccountNumber=t.attributes.parcel_account_number,this.attributes.parcelMapBook=t.attributes.parcel_map_book,this.attributes.parcelMapPage=t.attributes.parcel_map_page,this.attributes.parcelNumberAlternate=t.attributes.parcel_number_alternate,this.attributes.parcelNumberFormatted=t.attributes.parcel_number_formatted,this.attributes.parcelNumberPrevious=t.attributes.parcel_number_previous,this.attributes.parcelNumberYearAdded=t.attributes.parcel_number_year_added,this.attributes.parcelNumberYearChange=t.attributes.parcel_number_year_change,this.attributes.parcelRawNumber=t.attributes.parcel_raw_number,this.attributes.parcelShellRecord=t.attributes.parcel_shell_record,this.attributes.parkingSpaces=t.attributes.parking_spaces,this.attributes.patioArea=t.attributes.patio_area,this.attributes.phaseName=t.attributes.phase_name,this.attributes.plumbingFixturesCount=t.attributes.plumbing_fixtures_count,this.attributes.poleStruct=t.attributes.pole_struct,this.attributes.poleStructSqft=t.attributes.pole_struct_sqft,this.attributes.pond=t.attributes.pond,this.attributes.pool=t.attributes.pool,this.attributes.poolArea=t.attributes.pool_area,this.attributes.poolhouse=t.attributes.poolhouse,this.attributes.poolhouseSqft=t.attributes.poolhouse_sqft,this.attributes.porch=t.attributes.porch,this.attributes.porchArea=t.attributes.porch_area,this.attributes.poultryHouse=t.attributes.poultry_house,this.attributes.poultryHouseSqft=t.attributes.poultry_house_sqft,this.attributes.previousAssessedValue=t.attributes.previous_assessed_value,this.attributes.priorSaleAmount=t.attributes.prior_sale_amount,this.attributes.priorSaleDate=t.attributes.prior_sale_date,this.attributes.propertyAddressCarrierRouteCode=t.attributes.property_address_carrier_route_code,this.attributes.propertyAddressCity=t.attributes.property_address_city,this.attributes.propertyAddressFull=t.attributes.property_address_full,this.attributes.propertyAddressHouseNumber=t.attributes.property_address_house_number,this.attributes.propertyAddressPostDirection=t.attributes.property_address_post_direction,this.attributes.propertyAddressPreDirection=t.attributes.property_address_pre_direction,this.attributes.propertyAddressState=t.attributes.property_address_state,this.attributes.propertyAddressStreetName=t.attributes.property_address_street_name,this.attributes.propertyAddressStreetSuffix=t.attributes.property_address_street_suffix,this.attributes.propertyAddressUnitDesignator=t.attributes.property_address_unit_designator,this.attributes.propertyAddressUnitValue=t.attributes.property_address_unit_value,this.attributes.propertyAddressZip4=t.attributes.property_address_zip_4,this.attributes.propertyAddressZipcode=t.attributes.property_address_zipcode,this.attributes.publicationDate=t.attributes.publication_date,this.attributes.quarter=t.attributes.quarter,this.attributes.quarterQuarter=t.attributes.quarter_quarter,this.attributes.quonset=t.attributes.quonset,this.attributes.quonsetSqft=t.attributes.quonset_sqft,this.attributes.range=t.attributes.range,this.attributes.recordingDate=t.attributes.recording_date,this.attributes.roofCover=t.attributes.roof_cover,this.attributes.roofFrame=t.attributes.roof_frame,this.attributes.rooms=t.attributes.rooms,this.attributes.rvParking=t.attributes.rv_parking,this.attributes.safeRoom=t.attributes.safe_room,this.attributes.saleAmount=t.attributes.sale_amount,this.attributes.saleDate=t.attributes.sale_date,this.attributes.sauna=t.attributes.sauna,this.attributes.section=t.attributes.section,this.attributes.securityAlarm=t.attributes.security_alarm,this.attributes.seniorTaxExemption=t.attributes.senior_tax_exemption,this.attributes.sewerType=t.attributes.sewer_type,this.attributes.shed=t.attributes.shed,this.attributes.shedSqft=t.attributes.shed_sqft,this.attributes.silo=t.attributes.silo,this.attributes.siloSqft=t.attributes.silo_sqft,this.attributes.sittingRoom=t.attributes.sitting_room,this.attributes.situsCounty=t.attributes.situs_county,this.attributes.situsState=t.attributes.situs_state,this.attributes.soundSystem=t.attributes.sound_system,this.attributes.sportsCourt=t.attributes.sports_court,this.attributes.sprinklers=t.attributes.sprinklers,this.attributes.stable=t.attributes.stable,this.attributes.stableSqft=t.attributes.stable_sqft,this.attributes.storageBuilding=t.attributes.storage_building,this.attributes.storageBuildingSqft=t.attributes.storage_buildling_sqft,this.attributes.storiesNumber=t.attributes.stories_number,this.attributes.stormShelter=t.attributes.storm_shelter,this.attributes.stormShutter=t.attributes.storm_shutter,this.attributes.structureStyle=t.attributes.structure_style,this.attributes.study=t.attributes.study,this.attributes.subdivision=t.attributes.subdivision,this.attributes.suffix=t.attributes.suffix,this.attributes.suffix2=t.attributes.suffix_2,this.attributes.suffix3=t.attributes.suffix_3,this.attributes.suffix4=t.attributes.suffix_4,this.attributes.sunroom=t.attributes.sunroom,this.attributes.taxAssessYear=t.attributes.tax_assess_year,this.attributes.taxBilledAmount=t.attributes.tax_billed_amount,this.attributes.taxDelinquentYear=t.attributes.tax_delinquent_year,this.attributes.taxFiscalYear=t.attributes.tax_fiscal_year,this.attributes.taxJurisdiction=t.attributes.tax_jurisdiction,this.attributes.taxRateArea=t.attributes.tax_rate_area,this.attributes.tennisCourt=t.attributes.tennis_court,this.attributes.topographyCode=t.attributes.topography_code,this.attributes.totalMarketValue=t.attributes.total_market_value,this.attributes.township=t.attributes.township,this.attributes.tractNumber=t.attributes.tract_number,this.attributes.transferAmount=t.attributes.transfer_amount,this.attributes.trustDescription=t.attributes.trust_description,this.attributes.unitCount=t.attributes.unit_count,this.attributes.upperFloorsSqft=t.attributes.upper_floors_sqft,this.attributes.utility=t.attributes.utility,this.attributes.utilityBuilding=t.attributes.utility_building,this.attributes.utilityBuildingSqft=t.attributes.utility_building_sqft,this.attributes.utilitySqft=t.attributes.utility_sqft,this.attributes.veteranTaxExemption=t.attributes.veteran_tax_exemption,this.attributes.viewDescription=t.attributes.view_description,this.attributes.waterFeature=t.attributes.water_feature,this.attributes.waterServiceType=t.attributes.water_service_type,this.attributes.wetBar=t.attributes.wet_bar,this.attributes.widowTaxExemption=t.attributes.widow_tax_exemption,this.attributes.widthLinearFootage=t.attributes.width_linear_footage,this.attributes.wineCellar=t.attributes.wine_cellar,this.attributes.yearBuilt=t.attributes.year_built,this.attributes.zoning=t.attributes.zoning)}},FinancialResponse:class{constructor(t){this.smartyKey=t.smarty_key,this.dataSetName=t.data_set_name,this.dataSubsetName=t.data_subset_name,this.attributes={},t.attributes&&(this.attributes.assessedImprovementPercent=t.attributes.assessed_improvement_percent,this.attributes.assessedImprovementValue=t.attributes.assessed_improvement_value,this.attributes.assessedLandValue=t.attributes.assessed_land_value,this.attributes.assessedValue=t.attributes.assessed_value,this.attributes.assessorLastUpdate=t.attributes.assessor_last_update,this.attributes.assessorTaxrollUpdate=t.attributes.assessor_taxroll_update,this.attributes.contactCity=t.attributes.contact_city,this.attributes.contactCrrt=t.attributes.contact_crrt,this.attributes.contactFullAddress=t.attributes.contact_full_address,this.attributes.contactHouseNumber=t.attributes.contact_house_number,this.attributes.contactMailInfoFormat=t.attributes.contact_main_info_format,this.attributes.contactMailInfoPrivacy=t.attributes.contact_mail_info_privacy,this.attributes.contactMailingCounty=t.attributes.contact_mailing_county,this.attributes.contactMailingFips=t.attributes.contact_mailing_fips,this.attributes.contactPostDirection=t.attributes.contact_post_direction,this.attributes.contactPreDirection=t.attributes.contact_pre_direction,this.attributes.contactState=t.attributes.contact_state,this.attributes.contactStreetName=t.attributes.contact_street_name,this.attributes.contactSuffix=t.attributes.contact_suffix,this.attributes.contactUnitDesignator=t.attributes.contact_unit_designator,this.attributes.contactValue=t.attributes.contact_value,this.attributes.contactZip=t.attributes.contact_zip,this.attributes.contactZip4=t.attributes.contact_zip4,this.attributes.deedDocumentPage=t.attributes.deed_document_page,this.attributes.deedDocumentBook=t.attributes.deed_document_book,this.attributes.deedDocumentNumber=t.attributes.deed_document_number,this.attributes.deedOwnerFirstName=t.attributes.deed_owner_first_name,this.attributes.deedOwnerFirstName2=t.attributes.deed_owner_first_name2,this.attributes.deedOwnerFirstName3=t.attributes.deed_owner_first_name3,this.attributes.deedOwnerFirstName4=t.attributes.deed_owner_first_name4,this.attributes.deedOwnerFullName=t.attributes.deed_owner_full_name,this.attributes.deedOwnerFullName2=t.attributes.deed_owner_full_name2,this.attributes.deedOwnerFullName3=t.attributes.deed_owner_full_name3,this.attributes.deedOwnerFullName4=t.attributes.deed_owner_full_name4,this.attributes.deedOwnerLastName=t.attributes.deed_owner_last_name,this.attributes.deedOwnerLastName2=t.attributes.deed_owner_last_name2,this.attributes.deedOwnerLastName3=t.attributes.deed_owner_last_name3,this.attributes.deedOwnerLastName4=t.attributes.deed_owner_last_name4,this.attributes.deedOwnerMiddleName=t.attributes.deed_owner_middle_name,this.attributes.deedOwnerMiddleName2=t.attributes.deed_owner_middle_name2,this.attributes.deedOwnerMiddleName3=t.attributes.deed_owner_middle_name3,this.attributes.deedOwnerMiddleName4=t.attributes.deed_owner_middle_name4,this.attributes.deedOwnerSuffix=t.attributes.deed_owner_suffix,this.attributes.deedOwnerSuffix2=t.attributes.deed_owner_suffix2,this.attributes.deedOwnerSuffix3=t.attributes.deed_owner_suffix3,this.attributes.deedOwnerSuffix4=t.attributes.deed_owner_suffix4,this.attributes.deedSaleDate=t.attributes.deed_sale_date,this.attributes.deedSalePrice=t.attributes.deed_sale_price,this.attributes.deedTransactionId=t.attributes.deed_transaction_id,this.attributes.disabledTaxExemption=t.attributes.disabled_tax_exemption,this.attributes.financialHistory=t.attributes.financial_history?t.attributes.financial_history.map(t=>({codeTitleCompany:t.code_title_company,instrumentDate:t.instrument_date,interestRateType2:t.interest_rate_type_2,lenderAddress:t.lender_address,lenderAddress2:t.lender_address_2,lenderCity:t.lender_city,lenderCity2:t.lender_city_2,lenderCode:t.lender_code,lenderCode2:t.lender_code_2,lenderFirstName:t.lender_first_name,lenderFirstName2:t.lender_first_name_2,lenderLastName:t.lender_last_name,lenderLastName2:t.lender_last_name_2,lenderName:t.lender_name,lenderName2:t.lender_name_2,lenderSellerCarryBack:t.lender_seller_carry_back,lenderSellerCarryBack2:t.lender_seller_carry_back_2,lenderState:t.lender_state,lenderState2:t.lender_state_2,lenderZip:t.lender_zip,lenderZip2:t.lender_zip_2,lenderZipExtended:t.lender_zip_extended,lenderZipExtended2:t.lender_zip_extended_2,mortgageAmount:t.mortgage_amount,mortgageAmount2:t.mortgage_amount_2,mortgageDueDate:t.mortgage_due_date,mortgageDueDate2:t.mortgage_due_date_2,mortgageInterestRate:t.mortgage_interest_rate,mortgageInterestRateType:t.mortgage_interest_rate_type,mortgageLenderCode:t.mortgage_lender_code,mortgageRate:t.mortgage_rate,mortgageRate2:t.mortgage_rate_2,mortgageRecordingDate:t.mortgage_recording_date,mortgageRecordingDate2:t.mortgage_recording_date_2,mortgageTerm:t.mortgage_term,mortgageTerm2:t.mortgage_term_2,mortgageTermType:t.mortgage_term_type,mortgageTermType2:t.mortgage_term_type_2,mortgageType:t.mortgage_type,mortgageType2:t.mortgage_type_2,multiParcelFlag:t.multi_parcel_flag,nameTitleCompany:t.name_title_company,recordingDate:t.recording_date,transferAmount:t.transfer_amount})):[],this.attributes.homeownerTaxExemption=t.attributes.homeowner_tax_exemption,this.attributes.marketImprovementPercent=t.attributes.market_improvement_percent,this.attributes.marketImprovementValue=t.attributes.market_improvement_value,this.attributes.marketLandValue=t.attributes.market_land_value,this.attributes.marketValueYear=t.attributes.market_value_year,this.attributes.matchType=t.attributes.match_type,this.attributes.otherTaxExemption=t.attributes.other_tax_exemption,this.attributes.ownershipTransferDate=t.attributes.ownership_transfer_date,this.attributes.ownershipTransferDocNumber=t.attributes.ownership_transfer_doc_number,this.attributes.ownershipTransferTransactionId=t.attributes.ownership_transfer_transaction_id,this.attributes.ownershipType=t.attributes.ownership_type,this.attributes.ownershipType2=t.attributes.ownership_type_2,this.attributes.previousAssessedValue=t.attributes.previous_assessed_value,this.attributes.priorSaleAmount=t.attributes.prior_sale_amount,this.attributes.priorSaleDate=t.attributes.prior_sale_date,this.attributes.saleAmount=t.attributes.sale_amount,this.attributes.saleDate=t.attributes.sale_date,this.attributes.seniorTaxExemption=t.attributes.senior_tax_exemption,this.attributes.taxAssessYear=t.attributes.tax_assess_year,this.attributes.taxBilledAmount=t.attributes.tax_billed_amount,this.attributes.taxDelinquentYear=t.attributes.tax_delinquent_year,this.attributes.taxFiscalYear=t.attributes.tax_fiscal_year,this.attributes.taxRateArea=t.attributes.tax_rate_area,this.attributes.totalMarketValue=t.attributes.total_market_value,this.attributes.trustDescription=t.attributes.trust_description,this.attributes.veteranTaxExemption=t.attributes.veteran_tax_exemption,this.attributes.widow_tax_exemption=t.attributes.widow_tax_exemption)}},GeoResponse:class{constructor(t){this.smartyKey=t.smarty_key,this.dataSetName=t.data_set_name,this.attributes={},t.attributes&&(this.attributes.censusBlock={},t.attributes.census_block&&(this.attributes.censusBlock.accuracy=t.attributes.census_block.accuracy,this.attributes.censusBlock.geoid=t.attributes.census_block.geoid),this.attributes.censusCountyDivision={},t.attributes.census_county_division&&(this.attributes.censusCountyDivision.accuracy=t.attributes.census_county_division.accuracy,this.attributes.censusCountyDivision.code=t.attributes.census_county_division.code,this.attributes.censusCountyDivision.name=t.attributes.census_county_division.name),this.attributes.censusTract={},t.attributes.census_tract&&(this.attributes.censusTract.code=t.attributes.census_tract.code),this.attributes.coreBasedStatArea={},t.attributes.core_based_stat_area&&(this.attributes.coreBasedStatArea.code=t.attributes.core_based_stat_area.code,this.attributes.coreBasedStatArea.name=t.attributes.core_based_stat_area.name),this.attributes.place={},t.attributes.place&&(this.attributes.place.accuracy=t.attributes.place.accuracy,this.attributes.place.code=t.attributes.place.code,this.attributes.place.name=t.attributes.place.name,this.attributes.place.type=t.attributes.place.type))}}})};
1
+ "use strict";class t{constructor(t){var e,s,a;this.smartyKey=null!==(e=t.smarty_key)&&void 0!==e?e:"",this.dataSetName=null!==(s=t.data_set_name)&&void 0!==s?s:"",this.dataSubsetName=null!==(a=t.data_subset_name)&&void 0!==a?a:"",this.attributes={},t.attributes&&(this.attributes.firstFloorSqft=t.attributes["1st_floor_sqft"],this.attributes.secondFloorSqft=t.attributes["2nd_floor_sqft"],this.attributes.acres=t.attributes.acres,this.attributes.addressInfoPrivacy=t.attributes.address_info_privacy,this.attributes.airConditioner=t.attributes.air_conditioner,this.attributes.arborPergola=t.attributes.arbor_pergola,this.attributes.assessedImprovementPercent=t.attributes.assessed_improvement_percent,this.attributes.assessedImprovementValue=t.attributes.assessed_improvement_value,this.attributes.assessedLandValue=t.attributes.assessed_land_value,this.attributes.assessedValue=t.attributes.assessed_value,this.attributes.assessorLastUpdate=t.attributes.assessor_last_update,this.attributes.assessorTaxrollUpdate=t.attributes.assessor_taxroll_update,this.attributes.atticArea=t.attributes.attic_area,this.attributes.atticFlag=t.attributes.attic_flag,this.attributes.balcony=t.attributes.balcony,this.attributes.balconyArea=t.attributes.balcony_area,this.attributes.basementSqft=t.attributes.basement_sqft,this.attributes.basementSqftFinished=t.attributes.basement_sqft_finished,this.attributes.basementsqftUnfinished=t.attributes.basement_sqft_unfinished,this.attributes.bathHouse=t.attributes.bath_house,this.attributes.bathHouseSqft=t.attributes.bath_house_sqft,this.attributes.bathroomsPartial=t.attributes.bathrooms_partial,this.attributes.bathroomsTotal=t.attributes.bathrooms_total,this.attributes.bedrooms=t.attributes.bedrooms,this.attributes.block1=t.attributes.block_1,this.attributes.block2=t.attributes.block_2,this.attributes.boatAccess=t.attributes.boat_access,this.attributes.boatHouse=t.attributes.boat_house,this.attributes.boatHouseSqft=t.attributes.boat_house_sqft,this.attributes.boatLift=t.attributes.boat_lift,this.attributes.bonusRoom=t.attributes.bonus_room,this.attributes.breakfastNook=t.attributes.breakfast_nook,this.attributes.breezeway=t.attributes.breezeway,this.attributes.buildingDefinitionCode=t.attributes.building_definition,this.attributes.buildingSqft=t.attributes.building_sqft,this.attributes.cabin=t.attributes.cabin,this.attributes.cabinSqft=t.attributes.cabin_sqft,this.attributes.canopy=t.attributes.canopy,this.attributes.canopySqft=t.attributes.canopy_sqft,this.attributes.carport=t.attributes.carport,this.attributes.carportSqft=t.attributes.carport_sqft,this.attributes.cbsaCode=t.attributes.cbsa_code,this.attributes.cbsaName=t.attributes.cbsa_name,this.attributes.cellar=t.attributes.cellar,this.attributes.censusBlock=t.attributes.census_block,this.attributes.censusTract=t.attributes.census_tract,this.attributes.censusBlockGroup=t.attributes.census_block_group,this.attributes.censusFipsPlaceCode=t.attributes.census_fips_place_code,this.attributes.centralVacuum=t.attributes.central_vacuum,this.attributes.codeTitleCompany=t.attributes.code_title_company,this.attributes.combinedStatisticalArea=t.attributes.combined_statistical_area,this.attributes.communityRec=t.attributes.community_rec,this.attributes.companyFlag=t.attributes.company_flag,this.attributes.congressionalDistrict=t.attributes.congressional_district,this.attributes.constructionType=t.attributes.construction_type,this.attributes.contactCity=t.attributes.contact_city,this.attributes.contactCrrt=t.attributes.contact_crrt,this.attributes.contactFullAddress=t.attributes.contact_full_address,this.attributes.contactHouseNumber=t.attributes.contact_house_number,this.attributes.contactMailInfoFormat=t.attributes.contact_main_info_format,this.attributes.contactMailInfoPrivacy=t.attributes.contact_mail_info_privacy,this.attributes.contactMailingCounty=t.attributes.contact_mailing_county,this.attributes.contactMailingFips=t.attributes.contact_mailing_fips,this.attributes.contactPostDirection=t.attributes.contact_post_direction,this.attributes.contactPreDirection=t.attributes.contact_pre_direction,this.attributes.contactState=t.attributes.contact_state,this.attributes.contactStreetName=t.attributes.contact_street_name,this.attributes.contactSuffix=t.attributes.contact_suffix,this.attributes.contactUnitDesignator=t.attributes.contact_unit_designator,this.attributes.contactValue=t.attributes.contact_value,this.attributes.contactZip=t.attributes.contact_zip,this.attributes.contactZip4=t.attributes.contact_zip4,this.attributes.courtyard=t.attributes.courtyard,this.attributes.courtyardArea=t.attributes.courtyard_area,this.attributes.deck=t.attributes.deck,this.attributes.deckArea=t.attributes.deck_area,this.attributes.deedDocumentPage=t.attributes.deed_document_page,this.attributes.deedDocumentBook=t.attributes.deed_document_book,this.attributes.deedDocumentNumber=t.attributes.deed_document_number,this.attributes.deedOwnerFirstName=t.attributes.deed_owner_first_name,this.attributes.deedOwnerFirstName2=t.attributes.deed_owner_first_name2,this.attributes.deedOwnerFirstName3=t.attributes.deed_owner_first_name3,this.attributes.deedOwnerFirstName4=t.attributes.deed_owner_first_name4,this.attributes.deedOwnerFullName=t.attributes.deed_owner_full_name,this.attributes.deedOwnerFullName2=t.attributes.deed_owner_full_name2,this.attributes.deedOwnerFullName3=t.attributes.deed_owner_full_name3,this.attributes.deedOwnerFullName4=t.attributes.deed_owner_full_name4,this.attributes.deedOwnerLastName=t.attributes.deed_owner_last_name,this.attributes.deedOwnerLastName2=t.attributes.deed_owner_last_name2,this.attributes.deedOwnerLastName3=t.attributes.deed_owner_last_name3,this.attributes.deedOwnerLastName4=t.attributes.deed_owner_last_name4,this.attributes.deedOwnerMiddleName=t.attributes.deed_owner_middle_name,this.attributes.deedOwnerMiddleName2=t.attributes.deed_owner_middle_name2,this.attributes.deedOwnerMiddleName3=t.attributes.deed_owner_middle_name3,this.attributes.deedOwnerMiddleName4=t.attributes.deed_owner_middle_name4,this.attributes.deedOwnerSuffix=t.attributes.deed_owner_suffix,this.attributes.deedOwnerSuffix2=t.attributes.deed_owner_suffix2,this.attributes.deedOwnerSuffix3=t.attributes.deed_owner_suffix3,this.attributes.deedOwnerSuffix4=t.attributes.deed_owner_suffix4,this.attributes.deedSaleDate=t.attributes.deed_sale_date,this.attributes.deedSalePrice=t.attributes.deed_sale_price,this.attributes.deedTransactionId=t.attributes.deed_transaction_id,this.attributes.depthLinearFootage=t.attributes.depth_linear_footage,this.attributes.disabledTaxExemption=t.attributes.disabled_tax_exemption,this.attributes.drivewaySqft=t.attributes.driveway_sqft,this.attributes.drivewayType=t.attributes.driveway_type,this.attributes.effectiveYearBuilt=t.attributes.effective_year_built,this.attributes.elevationFeet=t.attributes.elevation_feet,this.attributes.elevator=t.attributes.elevator,this.attributes.equestrianArena=t.attributes.equestrian_arena,this.attributes.escalator=t.attributes.escalator,this.attributes.exerciseRoom=t.attributes.exercise_room,this.attributes.exteriorWalls=t.attributes.exterior_walls,this.attributes.familyRoom=t.attributes.family_room,this.attributes.financialHistory=t.attributes.financial_history?t.attributes.financial_history.map(t=>({codeTitleCompany:t.code_title_company,instrumentDate:t.instrument_date,interestRateType2:t.interest_rate_type_2,lenderAddress:t.lender_address,lenderAddress2:t.lender_address_2,lenderCity:t.lender_city,lenderCity2:t.lender_city_2,lenderCode:t.lender_code,lenderCode2:t.lender_code_2,lenderFirstName:t.lender_first_name,lenderFirstName2:t.lender_first_name_2,lenderLastName:t.lender_last_name,lenderLastName2:t.lender_last_name_2,lenderName:t.lender_name,lenderName2:t.lender_name_2,lenderSellerCarryBack:t.lender_seller_carry_back,lenderSellerCarryBack2:t.lender_seller_carry_back_2,lenderState:t.lender_state,lenderState2:t.lender_state_2,lenderZip:t.lender_zip,lenderZip2:t.lender_zip_2,lenderZipExtended:t.lender_zip_extended,lenderZipExtended2:t.lender_zip_extended_2,mortgageAmount:t.mortgage_amount,mortgageAmount2:t.mortgage_amount_2,mortgageDueDate:t.mortgage_due_date,mortgageDueDate2:t.mortgage_due_date_2,mortgageInterestRate:t.mortgage_interest_rate,mortgageInterestRateType:t.mortgage_interest_rate_type,mortgageLenderCode:t.mortgage_lender_code,mortgageRate:t.mortgage_rate,mortgageRate2:t.mortgage_rate_2,mortgageRecordingDate:t.mortgage_recording_date,mortgageRecordingDate2:t.mortgage_recording_date_2,mortgageTerm:t.mortgage_term,mortgageTerm2:t.mortgage_term_2,mortgageTermType:t.mortgage_term_type,mortgageTermType2:t.mortgage_term_type_2,mortgageType:t.mortgage_type,mortgageType2:t.mortgage_type_2,multiParcelFlag:t.multi_parcel_flag,nameTitleCompany:t.name_title_company,recordingDate:t.recording_date,transferAmount:t.transfer_amount})):[],this.attributes.fence=t.attributes.fence,this.attributes.fenceArea=t.attributes.fence_area,this.attributes.fipsCode=t.attributes.fips_code,this.attributes.fireResistanceCode=t.attributes.fire_resistance_code,this.attributes.fireSprinklersFlag=t.attributes.fire_sprinkler_flag,this.attributes.fireplace=t.attributes.fireplace,this.attributes.fireplaceNumber=t.attributes.fireplace_number,this.attributes.firstName=t.attributes.first_name,this.attributes.firstName2=t.attributes.first_name2,this.attributes.firstName3=t.attributes.first_name3,this.attributes.firstName4=t.attributes.first_name4,this.attributes.flooring=t.attributes.flooring,this.attributes.foundation=t.attributes.foundation,this.attributes.gameRoom=t.attributes.game_room,this.attributes.garage=t.attributes.garage,this.attributes.garageSqft=t.attributes.garage_sqft,this.attributes.gazebo=t.attributes.gazebo,this.attributes.gazeboSqft=t.attributes.gazebo_sqft,this.attributes.golfCourse=t.attributes.golf_course,this.attributes.grainery=t.attributes.grainery,this.attributes.grainerySqft=t.attributes.grainery_sqft,this.attributes.greatRoom=t.attributes.great_room,this.attributes.greenhouse=t.attributes.greenhouse,this.attributes.greenhouseSqft=t.attributes.greenhouse_sqft,this.attributes.grossSqft=t.attributes.gross_sqft,this.attributes.guesthouse=t.attributes.guesthouse,this.attributes.guesthouseSqft=t.attributes.guesthouse_sqft,this.attributes.handicapAccessibility=t.attributes.handicap_accessibility,this.attributes.heat=t.attributes.heat,this.attributes.heatFuelType=t.attributes.heat_fuel_type,this.attributes.hobbyRoom=t.attributes.hobby_room,this.attributes.homeownerTaxExemption=t.attributes.homeowner_tax_exemption,this.attributes.instrumentDate=t.attributes.instrument_date,this.attributes.intercomSystem=t.attributes.intercom_system,this.attributes.interestRateType2=t.attributes.interest_rate_type_2,this.attributes.interiorStructure=t.attributes.interior_structure,this.attributes.kennel=t.attributes.kennel,this.attributes.kennelSqft=t.attributes.kennel_sqft,this.attributes.landUseCode=t.attributes.land_use_code,this.attributes.landUseGroup=t.attributes.land_use_group,this.attributes.landUseStandard=t.attributes.land_use_standard,this.attributes.lastName=t.attributes.last_name,this.attributes.lastName2=t.attributes.last_name_2,this.attributes.lastName3=t.attributes.last_name_3,this.attributes.lastName4=t.attributes.last_name_4,this.attributes.latitude=t.attributes.latitude,this.attributes.laundry=t.attributes.laundry,this.attributes.leanTo=t.attributes.lean_to,this.attributes.leanToSqft=t.attributes.lean_to_sqft,this.attributes.legalDescription=t.attributes.legal_description,this.attributes.legalUnit=t.attributes.legal_unit,this.attributes.lenderAddress=t.attributes.lender_address,this.attributes.lenderAddress2=t.attributes.lender_address_2,this.attributes.lenderCity=t.attributes.lender_city,this.attributes.lenderCity2=t.attributes.lender_city_2,this.attributes.lenderCode=t.attributes.lender_code,this.attributes.lenderCode2=t.attributes.lender_code_2,this.attributes.lenderFirstName=t.attributes.lender_first_name,this.attributes.lenderFirstName2=t.attributes.lender_first_name_2,this.attributes.lenderLastName=t.attributes.lender_last_name,this.attributes.lenderLastName2=t.attributes.lender_last_name_2,this.attributes.lenderName=t.attributes.lender_name,this.attributes.lenderName2=t.attributes.lender_name_2,this.attributes.lenderSellerCarryBack=t.attributes.lender_seller_carry_back,this.attributes.lenderSellerCarryBack2=t.attributes.lender_seller_carry_back_2,this.attributes.lenderState=t.attributes.lender_state,this.attributes.lenderState2=t.attributes.lender_state_2,this.attributes.lenderZip=t.attributes.lender_zip,this.attributes.lenderZip2=t.attributes.lender_zip_2,this.attributes.lenderZipExtended=t.attributes.lender_zip_extended,this.attributes.lenderZipExtended2=t.attributes.lender_zip_extended_2,this.attributes.loadingPlatform=t.attributes.loading_platform,this.attributes.loadingPlatformSqft=t.attributes.loading_platform_sqft,this.attributes.longitude=t.attributes.longitude,this.attributes.lot1=t.attributes.lot_1,this.attributes.lot2=t.attributes.lot_2,this.attributes.lot3=t.attributes.lot_3,this.attributes.lotSqft=t.attributes.lot_sqft,this.attributes.marketImprovementPercent=t.attributes.market_improvement_percent,this.attributes.marketImprovementValue=t.attributes.market_improvement_value,this.attributes.marketLandValue=t.attributes.market_land_value,this.attributes.marketValueYear=t.attributes.market_value_year,this.attributes.matchType=t.attributes.match_type,this.attributes.mediaRoom=t.attributes.media_room,this.attributes.metroDivision=t.attributes.metro_division,this.attributes.middleName=t.attributes.middle_name,this.attributes.middleName2=t.attributes.middle_name_2,this.attributes.middleName3=t.attributes.middle_name_3,this.attributes.middleName4=t.attributes.middle_name_4,this.attributes.milkhouse=t.attributes.milkhouse,this.attributes.milkhouseSqft=t.attributes.milkhouse_sqft,this.attributes.minorCivilDivisionCode=t.attributes.minor_civil_division_code,this.attributes.minorCivilDivisionName=t.attributes.minor_civil_division_name,this.attributes.mobileHomeHookup=t.attributes.mobile_home_hookup,this.attributes.mortgageAmount=t.attributes.mortgage_amount,this.attributes.mortgageAmount2=t.attributes.mortgage_amount_2,this.attributes.mortgageDueDate=t.attributes.mortgage_due_date,this.attributes.mortgageDueDate2=t.attributes.mortgage_due_date_2,this.attributes.mortgageInterestRate=t.attributes.mortgage_interest_rate,this.attributes.mortgageInterestRateType=t.attributes.mortgage_interest_rate_type,this.attributes.mortgageLenderCode=t.attributes.mortgage_lender_code,this.attributes.mortgageRate2=t.attributes.mortgage_rate_2,this.attributes.mortgageRecordingDate=t.attributes.mortgage_recording_date,this.attributes.mortgageRecordingDate2=t.attributes.mortgage_recording_date_2,this.attributes.mortgageTerm=t.attributes.mortgage_term,this.attributes.mortgageTerm2=t.attributes.mortgage_term_2,this.attributes.mortgageTermType=t.attributes.mortgage_term_type,this.attributes.mortgageTermType2=t.attributes.mortgage_term_type_2,this.attributes.mortgageType=t.attributes.mortgage_type,this.attributes.mortgageType2=t.attributes.mortgage_type_2,this.attributes.msaCode=t.attributes.msa_code,this.attributes.msaName=t.attributes.msa_name,this.attributes.mudRoom=t.attributes.mud_room,this.attributes.multiParcelFlag=t.attributes.multi_parcel_flag,this.attributes.nameTitleCompany=t.attributes.name_title_company,this.attributes.neighborhoodCode=t.attributes.neighborhood_code,this.attributes.numberOfBuildings=t.attributes.number_of_buildings,this.attributes.office=t.attributes.office,this.attributes.officeSqft=t.attributes.office_sqft,this.attributes.otherTaxExemption=t.attributes.other_tax_exemption,this.attributes.outdoorKitchenFireplace=t.attributes.outdoor_kitchen_fireplace,this.attributes.overheadDoor=t.attributes.overhead_door,this.attributes.ownerFullName=t.attributes.owner_full_name,this.attributes.ownerFullName2=t.attributes.owner_full_name_2,this.attributes.ownerFullName3=t.attributes.owner_full_name_3,this.attributes.ownerFullName4=t.attributes.owner_full_name_4,this.attributes.ownerOccupancyStatus=t.attributes.owner_occupancy_status,this.attributes.ownershipTransferDate=t.attributes.ownership_transfer_date,this.attributes.ownershipTransferDocNumber=t.attributes.ownership_transfer_doc_number,this.attributes.ownershipTransferTransactionId=t.attributes.ownership_transfer_transaction_id,this.attributes.ownershipType=t.attributes.ownership_type,this.attributes.ownershipType2=t.attributes.ownership_type_2,this.attributes.ownershipVestingRelationCode=t.attributes.ownership_vesting_relation_code,this.attributes.parcelAccountNumber=t.attributes.parcel_account_number,this.attributes.parcelMapBook=t.attributes.parcel_map_book,this.attributes.parcelMapPage=t.attributes.parcel_map_page,this.attributes.parcelNumberAlternate=t.attributes.parcel_number_alternate,this.attributes.parcelNumberFormatted=t.attributes.parcel_number_formatted,this.attributes.parcelNumberPrevious=t.attributes.parcel_number_previous,this.attributes.parcelNumberYearAdded=t.attributes.parcel_number_year_added,this.attributes.parcelNumberYearChange=t.attributes.parcel_number_year_change,this.attributes.parcelRawNumber=t.attributes.parcel_raw_number,this.attributes.parcelShellRecord=t.attributes.parcel_shell_record,this.attributes.parkingSpaces=t.attributes.parking_spaces,this.attributes.patioArea=t.attributes.patio_area,this.attributes.phaseName=t.attributes.phase_name,this.attributes.plumbingFixturesCount=t.attributes.plumbing_fixtures_count,this.attributes.poleStruct=t.attributes.pole_struct,this.attributes.poleStructSqft=t.attributes.pole_struct_sqft,this.attributes.pond=t.attributes.pond,this.attributes.pool=t.attributes.pool,this.attributes.poolArea=t.attributes.pool_area,this.attributes.poolhouse=t.attributes.poolhouse,this.attributes.poolhouseSqft=t.attributes.poolhouse_sqft,this.attributes.porch=t.attributes.porch,this.attributes.porchArea=t.attributes.porch_area,this.attributes.poultryHouse=t.attributes.poultry_house,this.attributes.poultryHouseSqft=t.attributes.poultry_house_sqft,this.attributes.previousAssessedValue=t.attributes.previous_assessed_value,this.attributes.priorSaleAmount=t.attributes.prior_sale_amount,this.attributes.priorSaleDate=t.attributes.prior_sale_date,this.attributes.propertyAddressCarrierRouteCode=t.attributes.property_address_carrier_route_code,this.attributes.propertyAddressCity=t.attributes.property_address_city,this.attributes.propertyAddressFull=t.attributes.property_address_full,this.attributes.propertyAddressHouseNumber=t.attributes.property_address_house_number,this.attributes.propertyAddressPostDirection=t.attributes.property_address_post_direction,this.attributes.propertyAddressPreDirection=t.attributes.property_address_pre_direction,this.attributes.propertyAddressState=t.attributes.property_address_state,this.attributes.propertyAddressStreetName=t.attributes.property_address_street_name,this.attributes.propertyAddressStreetSuffix=t.attributes.property_address_street_suffix,this.attributes.propertyAddressUnitDesignator=t.attributes.property_address_unit_designator,this.attributes.propertyAddressUnitValue=t.attributes.property_address_unit_value,this.attributes.propertyAddressZip4=t.attributes.property_address_zip_4,this.attributes.propertyAddressZipcode=t.attributes.property_address_zipcode,this.attributes.publicationDate=t.attributes.publication_date,this.attributes.quarter=t.attributes.quarter,this.attributes.quarterQuarter=t.attributes.quarter_quarter,this.attributes.quonset=t.attributes.quonset,this.attributes.quonsetSqft=t.attributes.quonset_sqft,this.attributes.range=t.attributes.range,this.attributes.recordingDate=t.attributes.recording_date,this.attributes.roofCover=t.attributes.roof_cover,this.attributes.roofFrame=t.attributes.roof_frame,this.attributes.rooms=t.attributes.rooms,this.attributes.rvParking=t.attributes.rv_parking,this.attributes.safeRoom=t.attributes.safe_room,this.attributes.saleAmount=t.attributes.sale_amount,this.attributes.saleDate=t.attributes.sale_date,this.attributes.sauna=t.attributes.sauna,this.attributes.section=t.attributes.section,this.attributes.securityAlarm=t.attributes.security_alarm,this.attributes.seniorTaxExemption=t.attributes.senior_tax_exemption,this.attributes.sewerType=t.attributes.sewer_type,this.attributes.shed=t.attributes.shed,this.attributes.shedSqft=t.attributes.shed_sqft,this.attributes.silo=t.attributes.silo,this.attributes.siloSqft=t.attributes.silo_sqft,this.attributes.sittingRoom=t.attributes.sitting_room,this.attributes.situsCounty=t.attributes.situs_county,this.attributes.situsState=t.attributes.situs_state,this.attributes.soundSystem=t.attributes.sound_system,this.attributes.sportsCourt=t.attributes.sports_court,this.attributes.sprinklers=t.attributes.sprinklers,this.attributes.stable=t.attributes.stable,this.attributes.stableSqft=t.attributes.stable_sqft,this.attributes.storageBuilding=t.attributes.storage_building,this.attributes.storageBuildingSqft=t.attributes.storage_buildling_sqft,this.attributes.storiesNumber=t.attributes.stories_number,this.attributes.stormShelter=t.attributes.storm_shelter,this.attributes.stormShutter=t.attributes.storm_shutter,this.attributes.structureStyle=t.attributes.structure_style,this.attributes.study=t.attributes.study,this.attributes.subdivision=t.attributes.subdivision,this.attributes.suffix=t.attributes.suffix,this.attributes.suffix2=t.attributes.suffix_2,this.attributes.suffix3=t.attributes.suffix_3,this.attributes.suffix4=t.attributes.suffix_4,this.attributes.sunroom=t.attributes.sunroom,this.attributes.taxAssessYear=t.attributes.tax_assess_year,this.attributes.taxBilledAmount=t.attributes.tax_billed_amount,this.attributes.taxDelinquentYear=t.attributes.tax_delinquent_year,this.attributes.taxFiscalYear=t.attributes.tax_fiscal_year,this.attributes.taxJurisdiction=t.attributes.tax_jurisdiction,this.attributes.taxRateArea=t.attributes.tax_rate_area,this.attributes.tennisCourt=t.attributes.tennis_court,this.attributes.topographyCode=t.attributes.topography_code,this.attributes.totalMarketValue=t.attributes.total_market_value,this.attributes.township=t.attributes.township,this.attributes.tractNumber=t.attributes.tract_number,this.attributes.transferAmount=t.attributes.transfer_amount,this.attributes.trustDescription=t.attributes.trust_description,this.attributes.unitCount=t.attributes.unit_count,this.attributes.upperFloorsSqft=t.attributes.upper_floors_sqft,this.attributes.utility=t.attributes.utility,this.attributes.utilityBuilding=t.attributes.utility_building,this.attributes.utilityBuildingSqft=t.attributes.utility_building_sqft,this.attributes.utilitySqft=t.attributes.utility_sqft,this.attributes.veteranTaxExemption=t.attributes.veteran_tax_exemption,this.attributes.viewDescription=t.attributes.view_description,this.attributes.waterFeature=t.attributes.water_feature,this.attributes.waterServiceType=t.attributes.water_service_type,this.attributes.wetBar=t.attributes.wet_bar,this.attributes.widowTaxExemption=t.attributes.widow_tax_exemption,this.attributes.widthLinearFootage=t.attributes.width_linear_footage,this.attributes.wineCellar=t.attributes.wine_cellar,this.attributes.yearBuilt=t.attributes.year_built,this.attributes.zoning=t.attributes.zoning)}}class e{constructor(t){var e,s,a;this.smartyKey=null!==(e=t.smarty_key)&&void 0!==e?e:"",this.dataSetName=null!==(s=t.data_set_name)&&void 0!==s?s:"",this.dataSubsetName=null!==(a=t.data_subset_name)&&void 0!==a?a:"",this.attributes={},t.attributes&&(this.attributes.assessedImprovementPercent=t.attributes.assessed_improvement_percent,this.attributes.assessedImprovementValue=t.attributes.assessed_improvement_value,this.attributes.assessedLandValue=t.attributes.assessed_land_value,this.attributes.assessedValue=t.attributes.assessed_value,this.attributes.assessorLastUpdate=t.attributes.assessor_last_update,this.attributes.assessorTaxrollUpdate=t.attributes.assessor_taxroll_update,this.attributes.contactCity=t.attributes.contact_city,this.attributes.contactCrrt=t.attributes.contact_crrt,this.attributes.contactFullAddress=t.attributes.contact_full_address,this.attributes.contactHouseNumber=t.attributes.contact_house_number,this.attributes.contactMailInfoFormat=t.attributes.contact_main_info_format,this.attributes.contactMailInfoPrivacy=t.attributes.contact_mail_info_privacy,this.attributes.contactMailingCounty=t.attributes.contact_mailing_county,this.attributes.contactMailingFips=t.attributes.contact_mailing_fips,this.attributes.contactPostDirection=t.attributes.contact_post_direction,this.attributes.contactPreDirection=t.attributes.contact_pre_direction,this.attributes.contactState=t.attributes.contact_state,this.attributes.contactStreetName=t.attributes.contact_street_name,this.attributes.contactSuffix=t.attributes.contact_suffix,this.attributes.contactUnitDesignator=t.attributes.contact_unit_designator,this.attributes.contactValue=t.attributes.contact_value,this.attributes.contactZip=t.attributes.contact_zip,this.attributes.contactZip4=t.attributes.contact_zip4,this.attributes.deedDocumentPage=t.attributes.deed_document_page,this.attributes.deedDocumentBook=t.attributes.deed_document_book,this.attributes.deedDocumentNumber=t.attributes.deed_document_number,this.attributes.deedOwnerFirstName=t.attributes.deed_owner_first_name,this.attributes.deedOwnerFirstName2=t.attributes.deed_owner_first_name2,this.attributes.deedOwnerFirstName3=t.attributes.deed_owner_first_name3,this.attributes.deedOwnerFirstName4=t.attributes.deed_owner_first_name4,this.attributes.deedOwnerFullName=t.attributes.deed_owner_full_name,this.attributes.deedOwnerFullName2=t.attributes.deed_owner_full_name2,this.attributes.deedOwnerFullName3=t.attributes.deed_owner_full_name3,this.attributes.deedOwnerFullName4=t.attributes.deed_owner_full_name4,this.attributes.deedOwnerLastName=t.attributes.deed_owner_last_name,this.attributes.deedOwnerLastName2=t.attributes.deed_owner_last_name2,this.attributes.deedOwnerLastName3=t.attributes.deed_owner_last_name3,this.attributes.deedOwnerLastName4=t.attributes.deed_owner_last_name4,this.attributes.deedOwnerMiddleName=t.attributes.deed_owner_middle_name,this.attributes.deedOwnerMiddleName2=t.attributes.deed_owner_middle_name2,this.attributes.deedOwnerMiddleName3=t.attributes.deed_owner_middle_name3,this.attributes.deedOwnerMiddleName4=t.attributes.deed_owner_middle_name4,this.attributes.deedOwnerSuffix=t.attributes.deed_owner_suffix,this.attributes.deedOwnerSuffix2=t.attributes.deed_owner_suffix2,this.attributes.deedOwnerSuffix3=t.attributes.deed_owner_suffix3,this.attributes.deedOwnerSuffix4=t.attributes.deed_owner_suffix4,this.attributes.deedSaleDate=t.attributes.deed_sale_date,this.attributes.deedSalePrice=t.attributes.deed_sale_price,this.attributes.deedTransactionId=t.attributes.deed_transaction_id,this.attributes.disabledTaxExemption=t.attributes.disabled_tax_exemption,this.attributes.financialHistory=t.attributes.financial_history?t.attributes.financial_history.map(t=>({codeTitleCompany:t.code_title_company,instrumentDate:t.instrument_date,interestRateType2:t.interest_rate_type_2,lenderAddress:t.lender_address,lenderAddress2:t.lender_address_2,lenderCity:t.lender_city,lenderCity2:t.lender_city_2,lenderCode:t.lender_code,lenderCode2:t.lender_code_2,lenderFirstName:t.lender_first_name,lenderFirstName2:t.lender_first_name_2,lenderLastName:t.lender_last_name,lenderLastName2:t.lender_last_name_2,lenderName:t.lender_name,lenderName2:t.lender_name_2,lenderSellerCarryBack:t.lender_seller_carry_back,lenderSellerCarryBack2:t.lender_seller_carry_back_2,lenderState:t.lender_state,lenderState2:t.lender_state_2,lenderZip:t.lender_zip,lenderZip2:t.lender_zip_2,lenderZipExtended:t.lender_zip_extended,lenderZipExtended2:t.lender_zip_extended_2,mortgageAmount:t.mortgage_amount,mortgageAmount2:t.mortgage_amount_2,mortgageDueDate:t.mortgage_due_date,mortgageDueDate2:t.mortgage_due_date_2,mortgageInterestRate:t.mortgage_interest_rate,mortgageInterestRateType:t.mortgage_interest_rate_type,mortgageLenderCode:t.mortgage_lender_code,mortgageRate:t.mortgage_rate,mortgageRate2:t.mortgage_rate_2,mortgageRecordingDate:t.mortgage_recording_date,mortgageRecordingDate2:t.mortgage_recording_date_2,mortgageTerm:t.mortgage_term,mortgageTerm2:t.mortgage_term_2,mortgageTermType:t.mortgage_term_type,mortgageTermType2:t.mortgage_term_type_2,mortgageType:t.mortgage_type,mortgageType2:t.mortgage_type_2,multiParcelFlag:t.multi_parcel_flag,nameTitleCompany:t.name_title_company,recordingDate:t.recording_date,transferAmount:t.transfer_amount})):[],this.attributes.homeownerTaxExemption=t.attributes.homeowner_tax_exemption,this.attributes.marketImprovementPercent=t.attributes.market_improvement_percent,this.attributes.marketImprovementValue=t.attributes.market_improvement_value,this.attributes.marketLandValue=t.attributes.market_land_value,this.attributes.marketValueYear=t.attributes.market_value_year,this.attributes.matchType=t.attributes.match_type,this.attributes.otherTaxExemption=t.attributes.other_tax_exemption,this.attributes.ownershipTransferDate=t.attributes.ownership_transfer_date,this.attributes.ownershipTransferDocNumber=t.attributes.ownership_transfer_doc_number,this.attributes.ownershipTransferTransactionId=t.attributes.ownership_transfer_transaction_id,this.attributes.ownershipType=t.attributes.ownership_type,this.attributes.ownershipType2=t.attributes.ownership_type_2,this.attributes.previousAssessedValue=t.attributes.previous_assessed_value,this.attributes.priorSaleAmount=t.attributes.prior_sale_amount,this.attributes.priorSaleDate=t.attributes.prior_sale_date,this.attributes.saleAmount=t.attributes.sale_amount,this.attributes.saleDate=t.attributes.sale_date,this.attributes.seniorTaxExemption=t.attributes.senior_tax_exemption,this.attributes.taxAssessYear=t.attributes.tax_assess_year,this.attributes.taxBilledAmount=t.attributes.tax_billed_amount,this.attributes.taxDelinquentYear=t.attributes.tax_delinquent_year,this.attributes.taxFiscalYear=t.attributes.tax_fiscal_year,this.attributes.taxRateArea=t.attributes.tax_rate_area,this.attributes.totalMarketValue=t.attributes.total_market_value,this.attributes.trustDescription=t.attributes.trust_description,this.attributes.veteranTaxExemption=t.attributes.veteran_tax_exemption,this.attributes.widowTaxExemption=t.attributes.widow_tax_exemption)}}class s{constructor(t){var e,s;if(this.smartyKey=null!==(e=t.smarty_key)&&void 0!==e?e:"",this.dataSetName=null!==(s=t.data_set_name)&&void 0!==s?s:"",this.attributes={},t.attributes){const e={};t.attributes.census_block&&(e.accuracy=t.attributes.census_block.accuracy,e.geoid=t.attributes.census_block.geoid),this.attributes.censusBlock=e;const s={};t.attributes.census_county_division&&(s.accuracy=t.attributes.census_county_division.accuracy,s.code=t.attributes.census_county_division.code,s.name=t.attributes.census_county_division.name),this.attributes.censusCountyDivision=s;const a={};t.attributes.census_tract&&(a.code=t.attributes.census_tract.code),this.attributes.censusTract=a;const r={};t.attributes.core_based_stat_area&&(r.code=t.attributes.core_based_stat_area.code,r.name=t.attributes.core_based_stat_area.name),this.attributes.coreBasedStatArea=r;const i={};t.attributes.place&&(i.accuracy=t.attributes.place.accuracy,i.code=t.attributes.place.code,i.name=t.attributes.place.name,i.type=t.attributes.place.type),this.attributes.place=i}}}var a={Response:t,FinancialResponse:e,GeoResponse:s};exports.FinancialResponse=e,exports.GeoResponse=s,exports.Response=t,exports.default=a;
@@ -1 +1 @@
1
- "use strict";var t,e,i=require("../us_street/Candidate.cjs");exports.__require=function(){if(e)return t;e=1;const r=i.__require();return t=class{constructor(t){this.text=t.text,this.verified=t.verified,this.line=t.line,this.start=t.start,this.end=t.end,this.candidates=t.api_output.map(t=>new r(t))}}};
1
+ "use strict";var t=require("../us_street/Candidate.cjs");exports.default=class{constructor(i){var e,s,d,l,u;this.text=null!==(e=i.text)&&void 0!==e?e:"",this.verified=null!==(s=i.verified)&&void 0!==s&&s,this.line=null!==(d=i.line)&&void 0!==d?d:0,this.start=null!==(l=i.start)&&void 0!==l?l:0,this.end=null!==(u=i.end)&&void 0!==u?u:0,this.candidates=i.api_output?i.api_output.map(i=>new t.default(i)):[]}};
@@ -1 +1 @@
1
- "use strict";var e,r,t=require("../Errors.cjs"),u=require("../Request.cjs"),s=require("./Result.cjs"),i=require("../util/buildInputData.cjs"),n=require("../util/apiToSDKKeyMap.cjs");exports.__require=function(){if(r)return e;r=1;const o=t.__require(),c=u.__require(),a=s.__require(),q=i.__require(),_=n.__require().usExtract;return e=class{constructor(e){this.sender=e}send(e){if(void 0===e)throw new o.UndefinedLookupError;let r=new c(e.text,{"Content-Type":"text/plain; charset=utf-8"});return r.parameters=q(e,_),new Promise((t,u)=>{this.sender.send(r).then(r=>{r.error&&u(r.error),e.result=new a(r.payload),t(e)}).catch(u)})}}};
1
+ "use strict";var e=require("../Errors.cjs"),r=require("../Request.cjs"),t=require("./Result.cjs"),s=require("../util/buildInputData.cjs");const u=require("../util/apiToSDKKeyMap.cjs").default.usExtract;exports.default=class{constructor(e){this.sender=e}send(n){if(void 0===n)throw new e.UndefinedLookupError;const a=new r.default(n.text,{"Content-Type":"text/plain; charset=utf-8"});return a.parameters=s.default(n,u),new Promise((e,r)=>{this.sender.send(a).then(s=>{if(s.error)return r(s.error);n.result=new t.default(s.payload),e(n)}).catch(r)})}};
@@ -1 +1 @@
1
- "use strict";var s,e;exports.__require=function(){return e?s:(e=1,s=class{constructor(s){this.result={meta:{},addresses:[]},this.text=s,this.html=void 0,this.aggressive=void 0,this.addressesHaveLineBreaks=void 0,this.addressesPerLine=void 0,this.customParameters={}}addCustomParameter(s,e){this.customParameters[s]=e}})};
1
+ "use strict";var s=require("./Result.cjs");exports.default=class{constructor(e){this.result=new s.default({meta:{},addresses:[]}),this.text=e,this.html=void 0,this.aggressive=void 0,this.addressesHaveLineBreaks=void 0,this.addressesPerLine=void 0,this.customParameters={}}addCustomParameter(s,e){this.customParameters[s]=e}};
@@ -1 +1 @@
1
- "use strict";var e,r,s=require("./Address.cjs");exports.__require=function(){if(r)return e;r=1;const t=s.__require();return e=class{constructor({meta:e,addresses:r}){this.meta={lines:e.lines,unicode:e.unicode,addressCount:e.address_count,verifiedCount:e.verified_count,bytes:e.bytes,characterCount:e.character_count},this.addresses=r.map(e=>new t(e))}}};
1
+ "use strict";var e=require("./Address.cjs");exports.default=class{constructor({meta:s,addresses:t}){this.meta={lines:s.lines,unicode:s.unicode,addressCount:s.address_count,verifiedCount:s.verified_count,bytes:s.bytes,characterCount:s.character_count},this.addresses=t.map(s=>new e.default(s))}};
@@ -1 +1 @@
1
- "use strict";var e,r,s=require("../Request.cjs"),u=require("./Response.cjs"),i=require("../util/buildInputData.cjs"),n=require("../util/apiToSDKKeyMap.cjs"),t=require("../Errors.cjs");exports.__require=function(){if(r)return e;r=1;const o=s.__require(),c=u.__require(),q=i.__require(),_=n.__require().usReverseGeo,{UndefinedLookupError:a}=t.__require();return e=class{constructor(e){this.sender=e}send(e){if(void 0===e)throw new a;let r=new o;return r.parameters=q(e,_),new Promise((s,u)=>{this.sender.send(r).then(r=>{r.error&&u(r.error),s(function(e,r){return r.response=new c(e.payload),r}(r,e))}).catch(u)})}}};
1
+ "use strict";var e=require("../Request.cjs"),r=require("./Response.cjs"),s=require("../util/buildInputData.cjs"),t=require("../util/apiToSDKKeyMap.cjs"),u=require("../Errors.cjs");const n=t.default.usReverseGeo;exports.default=class{constructor(e){this.sender=e}send(t){if(void 0===t)throw new u.UndefinedLookupError;const o=new e.default;return o.parameters=s.default(t,n),new Promise((e,s)=>{this.sender.send(o).then(u=>{if(u.error)return s(u.error);e(function(e,s){return s.response=new r.default(e.payload),s}(u,t))}).catch(s)})}};
@@ -1 +1 @@
1
- "use strict";var e,t,s=require("./Response.cjs");exports.__require=function(){if(t)return e;t=1;const r=s.__require();return e=class{constructor(e,t,s=""){this.latitude=e.toFixed(8),this.longitude=t.toFixed(8),this.source=s,this.response=new r,this.customParameters={}}addCustomParameter(e,t){this.customParameters[e]=t}}};
1
+ "use strict";var t=require("./Response.cjs");exports.default=class{constructor(s,e,r=""){this.latitude=s.toFixed(8),this.longitude=e.toFixed(8),this.source=r,this.response=new t.default,this.customParameters={}}addCustomParameter(t,s){this.customParameters[t]=s}};
@@ -1 +1 @@
1
- "use strict";var r,s,e=require("./Result.cjs");exports.__require=function(){if(s)return r;s=1;const t=e.__require();return r=class{constructor(r){this.results=[],r&&r.results.map(r=>{this.results.push(new t(r))})}}};
1
+ "use strict";var s=require("./Result.cjs");exports.default=class{constructor(t){this.results=[],t&&t.results.forEach(t=>{this.results.push(new s.default(t))})}};
@@ -1 +1 @@
1
- "use strict";var e,t;exports.__require=function(){return t?e:(t=1,e=class{constructor(e){if(this.distance=e.distance,this.address={},e.address&&(this.address.street=e.address.street,this.address.city=e.address.city,this.address.state_abbreviation=e.address.state_abbreviation,this.address.zipcode=e.address.zipcode,this.address.source=e.address.source),this.coordinate={},e.coordinate)if(this.coordinate.latitude=e.coordinate.latitude,this.coordinate.longitude=e.coordinate.longitude,this.coordinate.accuracy=e.coordinate.accuracy,1===e.coordinate.license)this.coordinate.license="SmartyStreets Proprietary";else this.coordinate.license="SmartyStreets"}})};
1
+ "use strict";exports.default=class{constructor(s){var e;if(this.distance=null!==(e=s.distance)&&void 0!==e?e:0,this.address={},s.address&&(this.address.street=s.address.street,this.address.city=s.address.city,this.address.stateAbbreviation=s.address.state_abbreviation,this.address.zipcode=s.address.zipcode,this.address.source=s.address.source,this.address.smartyKey=s.address.smarty_key),this.coordinate={},s.coordinate)if(this.coordinate.latitude=s.coordinate.latitude,this.coordinate.longitude=s.coordinate.longitude,this.coordinate.accuracy=s.coordinate.accuracy,1===s.coordinate.license)this.coordinate.license="SmartyStreets Proprietary";else this.coordinate.license="SmartyStreets"}};
@@ -1 +1 @@
1
- "use strict";var t,a;exports.__require=function(){return a?t:(a=1,t=class{constructor(t){if(this.inputIndex=t.input_index,this.candidateIndex=t.candidate_index,this.addressee=t.addressee,this.deliveryLine1=t.delivery_line_1,this.deliveryLine2=t.delivery_line_2,this.lastLine=t.last_line,this.deliveryPointBarcode=t.delivery_point_barcode,this.smartyKey=t.smarty_key,this.components={},void 0!==t.components&&(this.components.urbanization=t.components.urbanization,this.components.primaryNumber=t.components.primary_number,this.components.streetName=t.components.street_name,this.components.streetPredirection=t.components.street_predirection,this.components.streetPostdirection=t.components.street_postdirection,this.components.streetSuffix=t.components.street_suffix,this.components.secondaryNumber=t.components.secondary_number,this.components.secondaryDesignator=t.components.secondary_designator,this.components.extraSecondaryNumber=t.components.extra_secondary_number,this.components.extraSecondaryDesignator=t.components.extra_secondary_designator,this.components.pmbDesignator=t.components.pmb_designator,this.components.pmbNumber=t.components.pmb_number,this.components.cityName=t.components.city_name,this.components.defaultCityName=t.components.default_city_name,this.components.state=t.components.state_abbreviation,this.components.zipCode=t.components.zipcode,this.components.plus4Code=t.components.plus4_code,this.components.deliveryPoint=t.components.delivery_point,this.components.deliveryPointCheckDigit=t.components.delivery_point_check_digit),this.metadata={},void 0!==t.metadata){if(this.metadata.recordType=t.metadata.record_type,this.metadata.zipType=t.metadata.zip_type,this.metadata.countyFips=t.metadata.county_fips,this.metadata.countyName=t.metadata.county_name,this.metadata.carrierRoute=t.metadata.carrier_route,this.metadata.congressionalDistrict=t.metadata.congressional_district,this.metadata.buildingDefaultIndicator=t.metadata.building_default_indicator,this.metadata.rdi=t.metadata.rdi,this.metadata.elotSequence=t.metadata.elot_sequence,this.metadata.elotSort=t.metadata.elot_sort,this.metadata.latitude=t.metadata.latitude,this.metadata.longitude=t.metadata.longitude,1===t.metadata.coordinate_license)this.metadata.coordinateLicense="SmartyStreets Proprietary";else this.metadata.coordinateLicense="SmartyStreets";this.metadata.precision=t.metadata.precision,this.metadata.timeZone=t.metadata.time_zone,this.metadata.utcOffset=t.metadata.utc_offset,this.metadata.obeysDst=t.metadata.dst,this.metadata.ianaTimeZone=t.metadata.iana_time_zone,this.metadata.ianaUtcOffset=t.metadata.iana_utc_offset,this.metadata.ianaDst=t.metadata.iana_dst,this.metadata.isEwsMatch=t.metadata.ews_match}this.analysis={},void 0!==t.analysis&&(this.analysis.dpvMatchCode=t.analysis.dpv_match_code,this.analysis.dpvFootnotes=t.analysis.dpv_footnotes,this.analysis.cmra=t.analysis.dpv_cmra,this.analysis.vacant=t.analysis.dpv_vacant,this.analysis.noStat=t.analysis.dpv_no_stat,this.analysis.active=t.analysis.active,this.analysis.isEwsMatch=t.analysis.ews_match,this.analysis.footnotes=t.analysis.footnotes,this.analysis.lacsLinkCode=t.analysis.lacslink_code,this.analysis.lacsLinkIndicator=t.analysis.lacslink_indicator,this.analysis.isSuiteLinkMatch=t.analysis.suitelink_match,this.analysis.enhancedMatch=t.analysis.enhanced_match,this.analysis.components={},void 0!==t.analysis.components&&(this.analysis.components.primaryNumber=t.analysis.components.primary_number,this.analysis.components.streetPredirection=t.analysis.components.street_predirection,this.analysis.components.streetName=t.analysis.components.street_name,this.analysis.components.streetPostdirection=t.analysis.components.street_postdirection,this.analysis.components.streetSuffix=t.analysis.components.street_suffix,this.analysis.components.secondaryNumber=t.analysis.components.secondary_number,this.analysis.components.secondaryDesignator=t.analysis.components.secondary_designator,this.analysis.components.extraSecondaryNumber=t.analysis.components.extra_secondary_number,this.analysis.components.extraSecondaryDesignator=t.analysis.components.extra_secondary_designator,this.analysis.components.cityName=t.analysis.components.city_name,this.analysis.components.stateAbbreviation=t.analysis.components.state_abbreviation,this.analysis.components.zipCode=t.analysis.components.zipcode,this.analysis.components.plus4Code=t.analysis.components.plus4_code,this.analysis.components.urbanization=t.analysis.components.urbanization))}})};
1
+ "use strict";exports.default=class{constructor(t){var a,s,e,n,i,o,c,m,d;if(this.inputId=null!==(a=t.input_id)&&void 0!==a?a:"",this.inputIndex=null!==(s=t.input_index)&&void 0!==s?s:0,this.candidateIndex=null!==(e=t.candidate_index)&&void 0!==e?e:0,this.addressee=null!==(n=t.addressee)&&void 0!==n?n:"",this.deliveryLine1=null!==(i=t.delivery_line_1)&&void 0!==i?i:"",this.deliveryLine2=null!==(o=t.delivery_line_2)&&void 0!==o?o:"",this.lastLine=null!==(c=t.last_line)&&void 0!==c?c:"",this.deliveryPointBarcode=null!==(m=t.delivery_point_barcode)&&void 0!==m?m:"",this.smartyKey=null!==(d=t.smarty_key)&&void 0!==d?d:"",this.components={},void 0!==t.components&&(this.components.urbanization=t.components.urbanization,this.components.primaryNumber=t.components.primary_number,this.components.streetName=t.components.street_name,this.components.streetPredirection=t.components.street_predirection,this.components.streetPostdirection=t.components.street_postdirection,this.components.streetSuffix=t.components.street_suffix,this.components.secondaryNumber=t.components.secondary_number,this.components.secondaryDesignator=t.components.secondary_designator,this.components.extraSecondaryNumber=t.components.extra_secondary_number,this.components.extraSecondaryDesignator=t.components.extra_secondary_designator,this.components.pmbDesignator=t.components.pmb_designator,this.components.pmbNumber=t.components.pmb_number,this.components.cityName=t.components.city_name,this.components.defaultCityName=t.components.default_city_name,this.components.state=t.components.state_abbreviation,this.components.zipCode=t.components.zipcode,this.components.plus4Code=t.components.plus4_code,this.components.deliveryPoint=t.components.delivery_point,this.components.deliveryPointCheckDigit=t.components.delivery_point_check_digit),this.metadata={},void 0!==t.metadata){if(this.metadata.recordType=t.metadata.record_type,this.metadata.zipType=t.metadata.zip_type,this.metadata.countyFips=t.metadata.county_fips,this.metadata.countyName=t.metadata.county_name,this.metadata.carrierRoute=t.metadata.carrier_route,this.metadata.congressionalDistrict=t.metadata.congressional_district,this.metadata.buildingDefaultIndicator=t.metadata.building_default_indicator,this.metadata.rdi=t.metadata.rdi,this.metadata.elotSequence=t.metadata.elot_sequence,this.metadata.elotSort=t.metadata.elot_sort,this.metadata.latitude=t.metadata.latitude,this.metadata.longitude=t.metadata.longitude,1===t.metadata.coordinate_license)this.metadata.coordinateLicense="SmartyStreets Proprietary";else this.metadata.coordinateLicense="SmartyStreets";this.metadata.precision=t.metadata.precision,this.metadata.timeZone=t.metadata.time_zone,this.metadata.utcOffset=t.metadata.utc_offset,this.metadata.obeysDst=t.metadata.dst,this.metadata.ianaTimeZone=t.metadata.iana_time_zone,this.metadata.ianaUtcOffset=t.metadata.iana_utc_offset,this.metadata.ianaDst=t.metadata.iana_dst,this.metadata.isEwsMatch=t.metadata.ews_match}if(this.analysis={},void 0!==t.analysis&&(this.analysis.dpvMatchCode=t.analysis.dpv_match_code,this.analysis.dpvFootnotes=t.analysis.dpv_footnotes,this.analysis.cmra=t.analysis.dpv_cmra,this.analysis.vacant=t.analysis.dpv_vacant,this.analysis.noStat=t.analysis.dpv_no_stat,this.analysis.active=t.analysis.active,this.analysis.isEwsMatch=t.analysis.ews_match,this.analysis.footnotes=t.analysis.footnotes,this.analysis.lacsLinkCode=t.analysis.lacslink_code,this.analysis.lacsLinkIndicator=t.analysis.lacslink_indicator,this.analysis.isSuiteLinkMatch=t.analysis.suitelink_match,this.analysis.enhancedMatch=t.analysis.enhanced_match,this.analysis.components={},void 0!==t.analysis.components)){const a=t=>({status:null==t?void 0:t.status,change:null==t?void 0:t.change});this.analysis.components.primaryNumber=a(t.analysis.components.primary_number),this.analysis.components.streetPredirection=a(t.analysis.components.street_predirection),this.analysis.components.streetName=a(t.analysis.components.street_name),this.analysis.components.streetPostdirection=a(t.analysis.components.street_postdirection),this.analysis.components.streetSuffix=a(t.analysis.components.street_suffix),this.analysis.components.secondaryNumber=a(t.analysis.components.secondary_number),this.analysis.components.secondaryDesignator=a(t.analysis.components.secondary_designator),this.analysis.components.extraSecondaryNumber=a(t.analysis.components.extra_secondary_number),this.analysis.components.extraSecondaryDesignator=a(t.analysis.components.extra_secondary_designator),this.analysis.components.cityName=a(t.analysis.components.city_name),this.analysis.components.stateAbbreviation=a(t.analysis.components.state_abbreviation),this.analysis.components.zipCode=a(t.analysis.components.zipcode),this.analysis.components.plus4Code=a(t.analysis.components.plus4_code),this.analysis.components.urbanization=a(t.analysis.components.urbanization)}}};
@@ -1 +1 @@
1
- "use strict";var e,r,i=require("./Candidate.cjs"),t=require("./Lookup.cjs"),u=require("../Batch.cjs"),s=require("../Errors.cjs"),n=require("../util/sendBatch.cjs"),c=require("../util/buildUsStreetInputData.cjs");exports.__require=function(){if(r)return e;r=1;const o=i.__require(),_=t.__require(),q=u.__require(),a=s.__require().UndefinedLookupError,d=n.__require(),l=c.__require();return e=class{constructor(e){this.sender=e}send(e){const r=e instanceof _;if(!r&&!(e instanceof q))throw new a;let i;return r?(i=new q,i.add(e)):i=e,d(i,this.sender,o,null,l)}}};
1
+ "use strict";var e=require("./Candidate.cjs"),r=require("./Lookup.cjs"),t=require("../Batch.cjs"),s=require("../Errors.cjs"),u=require("../util/sendBatch.cjs"),a=require("../util/buildUsStreetInputData.cjs");exports.default=class{constructor(e){this.sender=e}send(d){const n=d instanceof t.default,i=d instanceof r.default;if(!i&&!n)throw new s.UndefinedLookupError;let c;return i?(c=new t.default,c.add(d)):c=d,u.default(c,this.sender,e.default,null,a.default)}};
@@ -1 +1 @@
1
- "use strict";var t,s;exports.__require=function(){return s?t:(s=1,t=class{constructor(t,s,i,e,r,a,h,o,u,c,n,d,m,l){this.street=t,this.street2=s,this.secondary=i,this.city=e,this.state=r,this.zipCode=a,this.lastLine=h,this.addressee=o,this.urbanization=u,this.match=c,this.maxCandidates=n,this.inputId=d,this.format=m,this.countySource=l,this.result=[],this.customParameters={}}addCustomParameter(t,s){this.customParameters[t]=s}})};
1
+ "use strict";exports.default=class{constructor(t,s,i,e,a,h,r,o,c,u,d,m,n,l){this.street=t,this.street2=s,this.secondary=i,this.city=e,this.state=a,this.zipCode=h,this.lastLine=r,this.addressee=o,this.urbanization=c,this.match=u,this.maxCandidates=d,this.inputId=m,this.format=n,this.countySource=l,this.result=[],this.customParameters={}}addCustomParameter(t,s){this.customParameters[t]=s}};
@@ -1 +1 @@
1
- "use strict";var e,r,i=require("./Lookup.cjs"),s=require("./Result.cjs"),u=require("../Batch.cjs"),t=require("../Errors.cjs"),n=require("../util/sendBatch.cjs"),c=require("../util/apiToSDKKeyMap.cjs");exports.__require=function(){if(r)return e;r=1;const o=i.__require(),_=s.__require(),q=u.__require(),a=t.__require().UndefinedLookupError,d=n.__require(),f=c.__require().usZipcode;return e=class{constructor(e){this.sender=e}send(e){const r=e instanceof o;if(!r&&!(e instanceof q))throw new a;let i;return r?(i=new q,i.add(e)):i=e,d(i,this.sender,_,f)}}};
1
+ "use strict";var e=require("./Lookup.cjs"),r=require("./Result.cjs"),t=require("../Batch.cjs"),s=require("../Errors.cjs"),u=require("../util/sendBatch.cjs");const c=require("../util/apiToSDKKeyMap.cjs").default.usZipcode;exports.default=class{constructor(e){this.sender=e}send(i){const a=i instanceof t.default,d=i instanceof e.default;if(!d&&!a)throw new s.UndefinedLookupError;let n;return d?(n=new t.default,n.add(i)):n=i,u.default(n,this.sender,r.default,c)}};
@@ -1 +1 @@
1
- "use strict";var t,s;exports.__require=function(){return s?t:(s=1,t=class{constructor(t,s,r,e){this.city=t,this.state=s,this.zipCode=r,this.inputId=e,this.result=[],this.customParameters={}}addCustomParameter(t,s){this.customParameters[t]=s}})};
1
+ "use strict";exports.default=class{constructor(t,s,e,i){this.city=t,this.state=s,this.zipCode=e,this.inputId=i,this.result=[],this.customParameters={}}addCustomParameter(t,s){this.customParameters[t]=s}};
@@ -1 +1 @@
1
- "use strict";var t,e;exports.__require=function(){return e?t:(e=1,t=class{constructor(t){this.inputIndex=t.input_index,this.status=t.status,this.reason=t.reason,this.valid=void 0===this.status&&void 0===this.reason,this.cities=t.city_states?t.city_states.map(t=>({city:t.city,stateAbbreviation:t.state_abbreviation,state:t.state,mailableCity:t.mailable_city})):[],this.zipcodes=t.zipcodes?t.zipcodes.map(t=>({zipcode:t.zipcode,zipcodeType:t.zipcode_type,defaultCity:t.default_city,countyFips:t.county_fips,countyName:t.county_name,latitude:t.latitude,longitude:t.longitude,precision:t.precision,stateAbbreviation:t.state_abbreviation,state:t.state,alternateCounties:t.alternate_counties?t.alternate_counties.map(t=>({countyFips:t.county_fips,countyName:t.county_name,stateAbbreviation:t.state_abbreviation,state:t.state})):[]})):[]}})};
1
+ "use strict";exports.default=class{constructor(t){var i;this.inputIndex=null!==(i=t.input_index)&&void 0!==i?i:0,this.status=t.status,this.reason=t.reason,this.valid=void 0===this.status&&void 0===this.reason,this.cities=t.city_states?t.city_states.map(t=>{var i,e,a,n;return{city:null!==(i=t.city)&&void 0!==i?i:"",stateAbbreviation:null!==(e=t.state_abbreviation)&&void 0!==e?e:"",state:null!==(a=t.state)&&void 0!==a?a:"",mailableCity:null!==(n=t.mailable_city)&&void 0!==n&&n}}):[],this.zipcodes=t.zipcodes?t.zipcodes.map(t=>{var i,e,a,n,o,l,s,u,d,v;return{zipcode:null!==(i=t.zipcode)&&void 0!==i?i:"",zipcodeType:null!==(e=t.zipcode_type)&&void 0!==e?e:"",defaultCity:null!==(a=t.default_city)&&void 0!==a?a:"",countyFips:null!==(n=t.county_fips)&&void 0!==n?n:"",countyName:null!==(o=t.county_name)&&void 0!==o?o:"",latitude:null!==(l=t.latitude)&&void 0!==l?l:0,longitude:null!==(s=t.longitude)&&void 0!==s?s:0,precision:null!==(u=t.precision)&&void 0!==u?u:"",stateAbbreviation:null!==(d=t.state_abbreviation)&&void 0!==d?d:"",state:null!==(v=t.state)&&void 0!==v?v:"",alternateCounties:t.alternate_counties?t.alternate_counties.map(t=>{var i,e,a,n;return{countyFips:null!==(i=t.county_fips)&&void 0!==i?i:"",countyName:null!==(e=t.county_name)&&void 0!==e?e:"",stateAbbreviation:null!==(a=t.state_abbreviation)&&void 0!==a?a:"",state:null!==(n=t.state)&&void 0!==n?n:""}}):[]}}):[]}};
@@ -1 +1 @@
1
- "use strict";var e,t;exports.__require=function(){return t?e:(t=1,e={usStreet:{street:"street",street2:"street2",secondary:"secondary",city:"city",state:"state",zipcode:"zipCode",lastline:"lastLine",addressee:"addressee",urbanization:"urbanization",match:"match",format:"format",candidates:"maxCandidates",county_source:"countySource",input_id:"inputId"},usAutocompletePro:{search:"search",selected:"selected",max_results:"maxResults",include_only_cities:"includeOnlyCities",include_only_states:"includeOnlyStates",include_only_zip_codes:"includeOnlyZIPCodes",exclude_states:"excludeStates",prefer_cities:"preferCities",prefer_states:"preferStates",prefer_zip_codes:"preferZIPCodes",prefer_ratio:"preferRatio",prefer_geolocation:"preferGeolocation",source:"source"},usZipcode:{city:"city",state:"state",zipcode:"zipCode"},internationalStreet:{country:"country",freeform:"freeform",address1:"address1",address2:"address2",address3:"address3",address4:"address4",organization:"organization",locality:"locality",administrative_area:"administrativeArea",postal_code:"postalCode",geocode:"geocode",language:"language"},internationalAddressAutocomplete:{search:"search",country:"country",max_results:"maxResults",include_only_administrative_area:"includeOnlyAdministrativeArea",include_only_locality:"includeOnlyLocality",include_only_postal_code:"includeOnlyPostalCode"},usReverseGeo:{latitude:"latitude",longitude:"longitude",source:"source"},usExtract:{html:"html",aggressive:"aggressive",addr_line_breaks:"addressesHaveLineBreaks",addr_per_line:"addressesPerLine"},usEnrichment:{include:"include",exclude:"exclude",dataset:"dataset",data_subset:"dataSubset"},internationalPostalCode:{input_id:"inputId",country:"country",locality:"locality",administrative_area:"administrativeArea",postal_code:"postalCode"}})};
1
+ "use strict";exports.default={usStreet:{street:"street",street2:"street2",secondary:"secondary",city:"city",state:"state",zipcode:"zipCode",lastline:"lastLine",addressee:"addressee",urbanization:"urbanization",match:"match",format:"format",candidates:"maxCandidates",county_source:"countySource",input_id:"inputId"},usAutocompletePro:{search:"search",selected:"selected",max_results:"maxResults",include_only_cities:"includeOnlyCities",include_only_states:"includeOnlyStates",include_only_zip_codes:"includeOnlyZIPCodes",exclude_states:"excludeStates",prefer_cities:"preferCities",prefer_states:"preferStates",prefer_zip_codes:"preferZIPCodes",prefer_ratio:"preferRatio",prefer_geolocation:"preferGeolocation",source:"source"},usZipcode:{city:"city",state:"state",zipcode:"zipCode"},internationalStreet:{country:"country",freeform:"freeform",address1:"address1",address2:"address2",address3:"address3",address4:"address4",organization:"organization",locality:"locality",administrative_area:"administrativeArea",postal_code:"postalCode",geocode:"geocode",language:"language"},internationalAddressAutocomplete:{search:"search",country:"country",max_results:"maxResults",include_only_administrative_area:"includeOnlyAdministrativeArea",include_only_locality:"includeOnlyLocality",include_only_postal_code:"includeOnlyPostalCode"},usReverseGeo:{latitude:"latitude",longitude:"longitude",source:"source"},usExtract:{html:"html",aggressive:"aggressive",addr_line_breaks:"addressesHaveLineBreaks",addr_per_line:"addressesPerLine"},usEnrichment:{include:"include",exclude:"exclude",dataset:"dataset",data_subset:"dataSubset"},internationalPostalCode:{input_id:"inputId",country:"country",locality:"locality",administrative_area:"administrativeArea",postal_code:"postalCode"}};
@@ -1 +1 @@
1
- "use strict";var t,e,n=require("../ClientBuilder.cjs");exports.__require=function(){if(e)return t;e=1;const r=n.__require();function i(t){return new r(t)}return t={usStreet:function(t){return i(t).buildUsStreetApiClient()},usAutocompletePro:function(t){return i(t).buildUsAutocompleteProClient()},usExtract:function(t){return i(t).buildUsExtractClient()},usZipcode:function(t){return i(t).buildUsZipcodeClient()},internationalStreet:function(t){return i(t).buildInternationalStreetClient()},usReverseGeo:function(t){return i(t).buildUsReverseGeoClient()},internationalAddressAutocomplete:function(t){return i(t).buildInternationalAddressAutocompleteClient()},usEnrichment:function(t){return i(t).buildUsEnrichmentClient()},internationalPostalCode:function(t){return i(t).buildInternationalPostalCodeClient()}}};
1
+ "use strict";var t=require("../ClientBuilder.cjs");function e(e){return new t.default(e)}var n={usStreet:function(t){return e(t).buildUsStreetApiClient()},usAutocompletePro:function(t){return e(t).buildUsAutocompleteProClient()},usExtract:function(t){return e(t).buildUsExtractClient()},usZipcode:function(t){return e(t).buildUsZipcodeClient()},internationalStreet:function(t){return e(t).buildInternationalStreetClient()},usReverseGeo:function(t){return e(t).buildUsReverseGeoClient()},internationalAddressAutocomplete:function(t){return e(t).buildInternationalAddressAutocompleteClient()},usEnrichment:function(t){return e(t).buildUsEnrichmentClient()},internationalPostalCode:function(t){return e(t).buildInternationalPostalCodeClient()}};exports.default=n;
@@ -1 +1 @@
1
- "use strict";var e,r,t=require("../InputData.cjs");exports.__require=function(){if(r)return e;r=1;const a=t.__require();return e=(e,r)=>{var t;let s=new a(e);const u=Object.keys(null!==(t=e.customParameters)&&void 0!==t?t:{}).length>0;for(let e in r)s.add(e,r[e]);if(u)for(let r in e.customParameters)s.addCustomParameter(r,e.customParameters[r]);return s.data}};
1
+ "use strict";var t=require("../InputData.cjs");exports.default=function(e,a){var r;const n=new t.default(e),s=null!==(r=e.customParameters)&&void 0!==r?r:{},o=Object.keys(s).length>0;for(const t in a)n.add(t,a[t]);if(o)for(const t in s)n.addCustomParameter(t,s[t]);return n.data};
@@ -1 +1 @@
1
- "use strict";var e,r,t=require("../Response.cjs");exports.__require=function(){if(r)return e;r=1;const n=t.__require();return e={buildSmartyResponse:function(e,r){return e?new n(e.status,e.data,e.error,e.headers):new n(void 0,void 0,r)}}};
1
+ "use strict";var e=require("../Response.cjs");exports.buildSmartyResponse=function(r,s){return r?new e.default(r.status,r.data,r.error,r.headers):new e.default(0,null,s)};
@@ -1 +1 @@
1
- "use strict";var e,r,t=require("./buildInputData.cjs"),a=require("./apiToSDKKeyMap.cjs");exports.__require=function(){if(r)return e;r=1;const n=t.__require(),i=a.__require().usStreet;return e=e=>{let r=e.match,t=e.maxCandidates;r||(r="enhanced"),"enhanced"!==r||t||(t=5);const a=Object.assign({},e,{match:r,maxCandidates:t});return n(a,i)}};
1
+ "use strict";var e=require("./buildInputData.cjs");const t=require("./apiToSDKKeyMap.cjs").default.usStreet;exports.default=function(a){let n=a.match,s=a.maxCandidates;n||(n="enhanced"),"enhanced"!==n||s||(s=5);const c=Object.assign({},a,{match:n,maxCandidates:s});return e.default(c,t)};
@@ -1 +1 @@
1
- "use strict";var r,e,t=require("../Request.cjs"),n=require("../Errors.cjs"),u=require("./buildInputData.cjs");exports.__require=function(){if(e)return r;e=1;const i=t.__require(),s=n.__require(),o=u.__require();return r=(r,e,t,n,u)=>{if(r.isEmpty())throw new s.BatchEmptyError;let a=new i;return 1===r.length()?a.parameters=p(r)[0]:a.payload=p(r),new Promise((n,u)=>{e.send(a).then(e=>{e.error&&u(e.error),n(function(r,e){return e.payload.map(e=>{let n=new t(e);r.getByIndex(n.inputIndex).result.push(n)}),r}(r,e))}).catch(u)});function p(r){return r.lookups.map(r=>u?u(r):o(r,n))}}};
1
+ "use strict";var r=require("../Request.cjs"),e=require("../Errors.cjs"),t=require("./buildInputData.cjs");exports.default=function(n,u,o,s,a){if(n.isEmpty())throw new e.BatchEmptyError;const c=new r.default;return 1===n.length()?c.parameters=i(n)[0]:c.payload=i(n),new Promise((r,e)=>{u.send(c).then(t=>{if(t.error)return e(t.error);r(function(r,e){return e.payload.forEach(e=>{const t=new o(e);r.getByIndex(t.inputIndex).result.push(t)}),r}(n,t))}).catch(e)});function i(r){return r.lookups.map(r=>a?a(r):t.default(r,s))}};
@@ -1 +1 @@
1
- import s from"./package.json.mjs";class e{constructor(s){this.sender=s}send(e){return e.parameters.agent="smarty (sdk:javascript@"+s.version+")",new Promise((s,r)=>{this.sender.send(e).then(s).catch(r)})}}export{e as default};
1
+ import s from"./package.json.mjs";class e{constructor(s){this.sender=s}send(e){return e.parameters.agent="smarty (sdk:javascript@"+s.version+")",this.sender.send(e)}}export{e as default};
@@ -1 +1 @@
1
- class e{constructor(e,r){this.urlOverride=r,this.sender=e}send(e){return new Promise((r,s)=>{e.baseUrl=`${this.urlOverride}${e.baseUrlParam?`/${e.baseUrlParam}`:""}`,this.sender.send(e).then(r).catch(s)})}}export{e as default};
1
+ class r{constructor(r,e){this.urlOverride=e,this.sender=r}send(r){return r.baseUrl=`${this.urlOverride}${r.baseUrlParam?`/${r.baseUrlParam}`:""}`,this.sender.send(r)}}export{r as default};
@@ -1 +1 @@
1
- import{__require as o}from"./Errors.mjs";var r,t;function s(){if(t)return r;t=1;const s=o().BatchFullError;return r=class{constructor(){this.lookups=[]}add(o){if(!this.lookupsHasRoomForLookup())throw new s;this.lookups.push(o)}lookupsHasRoomForLookup(){return this.lookups.length<100}length(){return this.lookups.length}getByIndex(o){return this.lookups[o]}getByInputId(o){return this.lookups.filter(r=>r.inputId===o)[0]}clear(){this.lookups=[]}isEmpty(){return 0===this.length()}}}export{s as __require};
1
+ import{BatchFullError as o}from"./Errors.mjs";class t{constructor(){this.lookups=[]}add(t){if(!this.lookupsHasRoomForLookup())throw new o;this.lookups.push(t)}lookupsHasRoomForLookup(){return this.lookups.length<100}length(){return this.lookups.length}getByIndex(o){return this.lookups[o]}getByInputId(o){return this.lookups.filter(t=>t.inputId===o)[0]}clear(){this.lookups=[]}isEmpty(){return 0===this.length()}}export{t as default};