smartystreets-javascript-sdk 6.3.2 → 7.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 (150) hide show
  1. package/dist/cjs/AgentSender.cjs +1 -1
  2. package/dist/cjs/BaseUrlSender.cjs +1 -1
  3. package/dist/cjs/Batch.cjs +1 -1
  4. package/dist/cjs/ClientBuilder.cjs +1 -1
  5. package/dist/cjs/CustomHeaderSender.cjs +1 -1
  6. package/dist/cjs/Errors.cjs +1 -1
  7. package/dist/cjs/HttpSender.cjs +1 -1
  8. package/dist/cjs/InputData.cjs +1 -1
  9. package/dist/cjs/LicenseSender.cjs +1 -1
  10. package/dist/cjs/Request.cjs +1 -1
  11. package/dist/cjs/Response.cjs +1 -1
  12. package/dist/cjs/RetrySender.cjs +1 -1
  13. package/dist/cjs/SharedCredentials.cjs +1 -1
  14. package/dist/cjs/SigningSender.cjs +1 -1
  15. package/dist/cjs/StaticCredentials.cjs +1 -1
  16. package/dist/cjs/StatusCodeSender.cjs +1 -1
  17. package/dist/cjs/_virtual/Batch.cjs +1 -0
  18. package/dist/cjs/_virtual/Candidate.cjs +1 -0
  19. package/dist/cjs/_virtual/Candidate2.cjs +1 -0
  20. package/dist/cjs/_virtual/ClientBuilder.cjs +1 -0
  21. package/dist/cjs/_virtual/Errors.cjs +1 -0
  22. package/dist/cjs/_virtual/Lookup.cjs +1 -0
  23. package/dist/cjs/_virtual/Lookup2.cjs +1 -0
  24. package/dist/cjs/_virtual/Lookup3.cjs +1 -0
  25. package/dist/cjs/_virtual/Lookup4.cjs +1 -0
  26. package/dist/cjs/_virtual/Lookup5.cjs +1 -0
  27. package/dist/cjs/_virtual/Lookup6.cjs +1 -0
  28. package/dist/cjs/_virtual/Lookup7.cjs +1 -0
  29. package/dist/cjs/_virtual/Lookup8.cjs +1 -0
  30. package/dist/cjs/_virtual/Response.cjs +1 -0
  31. package/dist/cjs/_virtual/Result.cjs +1 -0
  32. package/dist/cjs/_virtual/Result2.cjs +1 -0
  33. package/dist/cjs/_virtual/SharedCredentials.cjs +1 -0
  34. package/dist/cjs/_virtual/Sleeper.cjs +1 -0
  35. package/dist/cjs/_virtual/StaticCredentials.cjs +1 -0
  36. package/dist/cjs/_virtual/Suggestion.cjs +1 -0
  37. package/dist/cjs/_virtual/Suggestion2.cjs +1 -0
  38. package/dist/cjs/_virtual/_axios.cjs +1 -1
  39. package/dist/cjs/_virtual/_commonjsHelpers.cjs +1 -1
  40. package/dist/cjs/_virtual/buildClients.cjs +1 -0
  41. package/dist/cjs/index.cjs +1 -1
  42. package/dist/cjs/international_address_autocomplete/Client.cjs +1 -1
  43. package/dist/cjs/international_address_autocomplete/Lookup.cjs +1 -1
  44. package/dist/cjs/international_address_autocomplete/Suggestion.cjs +1 -1
  45. package/dist/cjs/international_street/Candidate.cjs +1 -1
  46. package/dist/cjs/international_street/Client.cjs +1 -1
  47. package/dist/cjs/international_street/Lookup.cjs +1 -1
  48. package/dist/cjs/package.json.cjs +1 -1
  49. package/dist/cjs/us_autocomplete_pro/Client.cjs +1 -1
  50. package/dist/cjs/us_autocomplete_pro/Lookup.cjs +1 -1
  51. package/dist/cjs/us_autocomplete_pro/Suggestion.cjs +1 -1
  52. package/dist/cjs/us_enrichment/Client.cjs +1 -1
  53. package/dist/cjs/us_enrichment/Lookup.cjs +1 -1
  54. package/dist/cjs/us_enrichment/Response.cjs +1 -1
  55. package/dist/cjs/us_extract/Address.cjs +1 -1
  56. package/dist/cjs/us_extract/Client.cjs +1 -1
  57. package/dist/cjs/us_extract/Lookup.cjs +1 -1
  58. package/dist/cjs/us_extract/Result.cjs +1 -1
  59. package/dist/cjs/us_reverse_geo/Client.cjs +1 -1
  60. package/dist/cjs/us_reverse_geo/Lookup.cjs +1 -1
  61. package/dist/cjs/us_reverse_geo/Response.cjs +1 -1
  62. package/dist/cjs/us_reverse_geo/Result.cjs +1 -1
  63. package/dist/cjs/us_street/Candidate.cjs +1 -1
  64. package/dist/cjs/us_street/Client.cjs +1 -1
  65. package/dist/cjs/us_street/Lookup.cjs +1 -1
  66. package/dist/cjs/us_zipcode/Client.cjs +1 -1
  67. package/dist/cjs/us_zipcode/Lookup.cjs +1 -1
  68. package/dist/cjs/us_zipcode/Result.cjs +1 -1
  69. package/dist/cjs/util/Sleeper.cjs +1 -1
  70. package/dist/cjs/util/apiToSDKKeyMap.cjs +1 -1
  71. package/dist/cjs/util/buildClients.cjs +1 -1
  72. package/dist/cjs/util/buildInputData.cjs +1 -1
  73. package/dist/cjs/util/buildSmartyResponse.cjs +1 -1
  74. package/dist/cjs/util/sendBatch.cjs +1 -1
  75. package/dist/esm/AgentSender.mjs +1 -1
  76. package/dist/esm/BaseUrlSender.mjs +1 -1
  77. package/dist/esm/Batch.mjs +1 -1
  78. package/dist/esm/ClientBuilder.mjs +1 -1
  79. package/dist/esm/CustomHeaderSender.mjs +1 -1
  80. package/dist/esm/Errors.mjs +1 -1
  81. package/dist/esm/HttpSender.mjs +1 -1
  82. package/dist/esm/InputData.mjs +1 -1
  83. package/dist/esm/LicenseSender.mjs +1 -1
  84. package/dist/esm/Request.mjs +1 -1
  85. package/dist/esm/Response.mjs +1 -1
  86. package/dist/esm/RetrySender.mjs +1 -1
  87. package/dist/esm/SharedCredentials.mjs +1 -1
  88. package/dist/esm/SigningSender.mjs +1 -1
  89. package/dist/esm/StaticCredentials.mjs +1 -1
  90. package/dist/esm/StatusCodeSender.mjs +1 -1
  91. package/dist/esm/_virtual/Batch.mjs +1 -0
  92. package/dist/esm/_virtual/Candidate.mjs +1 -0
  93. package/dist/esm/_virtual/Candidate2.mjs +1 -0
  94. package/dist/esm/_virtual/ClientBuilder.mjs +1 -0
  95. package/dist/esm/_virtual/Errors.mjs +1 -0
  96. package/dist/esm/_virtual/Lookup.mjs +1 -0
  97. package/dist/esm/_virtual/Lookup2.mjs +1 -0
  98. package/dist/esm/_virtual/Lookup3.mjs +1 -0
  99. package/dist/esm/_virtual/Lookup4.mjs +1 -0
  100. package/dist/esm/_virtual/Lookup5.mjs +1 -0
  101. package/dist/esm/_virtual/Lookup6.mjs +1 -0
  102. package/dist/esm/_virtual/Lookup7.mjs +1 -0
  103. package/dist/esm/_virtual/Lookup8.mjs +1 -0
  104. package/dist/esm/_virtual/Response.mjs +1 -0
  105. package/dist/esm/_virtual/Result.mjs +1 -0
  106. package/dist/esm/_virtual/Result2.mjs +1 -0
  107. package/dist/esm/_virtual/SharedCredentials.mjs +1 -0
  108. package/dist/esm/_virtual/Sleeper.mjs +1 -0
  109. package/dist/esm/_virtual/StaticCredentials.mjs +1 -0
  110. package/dist/esm/_virtual/Suggestion.mjs +1 -0
  111. package/dist/esm/_virtual/Suggestion2.mjs +1 -0
  112. package/dist/esm/_virtual/_commonjsHelpers.mjs +1 -1
  113. package/dist/esm/_virtual/buildClients.mjs +1 -0
  114. package/dist/esm/index.mjs +1 -1
  115. package/dist/esm/international_address_autocomplete/Client.mjs +1 -1
  116. package/dist/esm/international_address_autocomplete/Lookup.mjs +1 -1
  117. package/dist/esm/international_address_autocomplete/Suggestion.mjs +1 -1
  118. package/dist/esm/international_street/Candidate.mjs +1 -1
  119. package/dist/esm/international_street/Client.mjs +1 -1
  120. package/dist/esm/international_street/Lookup.mjs +1 -1
  121. package/dist/esm/package.json.mjs +1 -1
  122. package/dist/esm/us_autocomplete_pro/Client.mjs +1 -1
  123. package/dist/esm/us_autocomplete_pro/Lookup.mjs +1 -1
  124. package/dist/esm/us_autocomplete_pro/Suggestion.mjs +1 -1
  125. package/dist/esm/us_enrichment/Client.mjs +1 -1
  126. package/dist/esm/us_enrichment/Lookup.mjs +1 -1
  127. package/dist/esm/us_enrichment/Response.mjs +1 -1
  128. package/dist/esm/us_extract/Address.mjs +1 -1
  129. package/dist/esm/us_extract/Client.mjs +1 -1
  130. package/dist/esm/us_extract/Lookup.mjs +1 -1
  131. package/dist/esm/us_extract/Result.mjs +1 -1
  132. package/dist/esm/us_reverse_geo/Client.mjs +1 -1
  133. package/dist/esm/us_reverse_geo/Lookup.mjs +1 -1
  134. package/dist/esm/us_reverse_geo/Response.mjs +1 -1
  135. package/dist/esm/us_reverse_geo/Result.mjs +1 -1
  136. package/dist/esm/us_street/Candidate.mjs +1 -1
  137. package/dist/esm/us_street/Client.mjs +1 -1
  138. package/dist/esm/us_street/Lookup.mjs +1 -1
  139. package/dist/esm/us_zipcode/Client.mjs +1 -1
  140. package/dist/esm/us_zipcode/Lookup.mjs +1 -1
  141. package/dist/esm/us_zipcode/Result.mjs +1 -1
  142. package/dist/esm/util/Sleeper.mjs +1 -1
  143. package/dist/esm/util/apiToSDKKeyMap.mjs +1 -1
  144. package/dist/esm/util/buildClients.mjs +1 -1
  145. package/dist/esm/util/buildInputData.mjs +1 -1
  146. package/dist/esm/util/buildSmartyResponse.mjs +1 -1
  147. package/dist/esm/util/sendBatch.mjs +1 -1
  148. package/dist/tsconfig.tsbuildinfo +1 -0
  149. package/dist/types/util/Sleeper.d.ts +4 -0
  150. package/package.json +12 -8
@@ -1 +1 @@
1
- "use strict";var e=require("./package.json.cjs");var s=class{constructor(e){this.sender=e}send(s){return s.parameters.agent="smarty (sdk:javascript@"+e.default.version+")",new Promise(((e,r)=>{this.sender.send(s).then(e).catch(r)}))}};exports.AgentSender_1=s;
1
+ "use strict";var e,r,s=require("./package.json.cjs");exports.__require=function(){return r?e:(r=1,e=class{constructor(e){this.sender=e}send(e){return e.parameters.agent="smarty (sdk:javascript@"+s.default.version+")",new Promise(((r,s)=>{this.sender.send(e).then(r).catch(s)}))}})};
@@ -1 +1 @@
1
- "use strict";var r=class{constructor(r,e){this.urlOverride=e,this.sender=r}send(r){return new Promise(((e,s)=>{r.baseUrl=`${this.urlOverride}${r.baseUrlParam?`/${r.baseUrlParam}`:""}`,this.sender.send(r).then(e).catch(s)}))}};exports.BaseUrlSender_1=r;
1
+ "use strict";var r,e;exports.__require=function(){return e?r:(e=1,r=class{constructor(r,e){this.urlOverride=e,this.sender=r}send(r){return new Promise(((e,s)=>{r.baseUrl=`${this.urlOverride}${r.baseUrlParam?`/${r.baseUrlParam}`:""}`,this.sender.send(r).then(e).catch(s)}))}})};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("./_virtual/_commonjsHelpers.cjs");const r=require("./Errors.cjs").Errors.BatchFullError;var t=class{constructor(){this.lookups=[]}add(o){if(!this.lookupsHasRoomForLookup())throw new r;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()}},s=o.getDefaultExportFromCjs(t);exports.Batch_1=t,exports.default=s;
1
+ "use strict";var o,r,t=require("./Errors.cjs");exports.__require=function(){if(r)return o;r=1;const s=t.__require().BatchFullError;return o=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()}}};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./_virtual/_commonjsHelpers.cjs"),t=require("./HttpSender.cjs"),r=require("./SigningSender.cjs"),i=require("./BaseUrlSender.cjs"),s=require("./AgentSender.cjs"),n=require("./StaticCredentials.cjs"),u=require("./SharedCredentials.cjs"),l=require("./CustomHeaderSender.cjs"),o=require("./StatusCodeSender.cjs"),a=require("./LicenseSender.cjs"),d=require("./Errors.cjs"),h=require("./RetrySender.cjs"),c=require("./util/Sleeper.cjs"),p=require("./us_street/Client.cjs"),m=require("./us_zipcode/Client.cjs"),C=require("./us_autocomplete_pro/Client.cjs"),S=require("./us_extract/Client.cjs"),_=require("./international_street/Client.cjs"),b=require("./us_reverse_geo/Client.cjs"),j=require("./international_address_autocomplete/Client.cjs"),w=require("./us_enrichment/Client.cjs");const q=t.HttpSender_1,x=r.SigningSender_1,y=i.BaseUrlSender_1,g=s.AgentSender_1,U=n.StaticCredentials_1,v=u.SharedCredentials_1,f=l.CustomHeaderSender_1,H=o.StatusCodeSender_1,R=a.LicenseSender_1,A=d.Errors.BadCredentialsError,E=h.RetrySender_1,k=c.Sleeper_1,B=p.Client_1,T=m.Client_1,L=C.Client_1,M=S.Client_1,P=_.Client_1,z=b.Client_1,D=j.Client_1,I=w.Client_1;var F=class{constructor(e){if(!e instanceof U||!e instanceof v)throw new A;this.signer=e,this.httpSender=void 0,this.maxRetries=5,this.maxTimeout=1e4,this.baseUrl=void 0,this.proxy=void 0,this.customHeaders={},this.debug=void 0,this.licenses=[]}withMaxRetries(e){return this.maxRetries=e,this}withMaxTimeout(e){return this.maxTimeout=e,this}withSender(e){return this.httpSender=e,this}withBaseUrl(e){return this.baseUrl=e,this}withProxy(e,t,r,i,s){return this.proxy={host:e,port:t,protocol:r},i&&s&&(this.proxy.auth={username:i,password:s}),this}withCustomHeaders(e){return this.customHeaders=e,this}withDebug(){return this.debug=!0,this}withLicenses(e){return this.licenses=e,this}buildSender(){if(this.httpSender)return this.httpSender;const e=new q(this.maxTimeout,this.proxy,this.debug),t=new H(e),r=new x(t,this.signer);let i=new g(r);if(this.maxRetries>0){const e=new E(this.maxRetries,r,new k);i=new g(e)}const s=new f(i,this.customHeaders),n=new y(s,this.baseUrl);return new R(n,this.licenses)}buildClient(e,t){return this.baseUrl||(this.baseUrl=e),new t(this.buildSender())}buildUsStreetApiClient(){return this.buildClient("https://us-street.api.smarty.com/street-address",B)}buildUsZipcodeClient(){return this.buildClient("https://us-zipcode.api.smarty.com/lookup",T)}buildUsAutocompleteProClient(){return this.buildClient("https://us-autocomplete-pro.api.smarty.com/lookup",L)}buildUsExtractClient(){return this.buildClient("https://us-extract.api.smarty.com/",M)}buildInternationalStreetClient(){return this.buildClient("https://international-street.api.smarty.com/verify",P)}buildUsReverseGeoClient(){return this.buildClient("https://us-reverse-geo.api.smarty.com/lookup",z)}buildInternationalAddressAutocompleteClient(){return this.buildClient("https://international-autocomplete.api.smarty.com/v2/lookup",D)}buildUsEnrichmentClient(){return this.buildClient("https://us-enrichment.api.smarty.com/lookup",I)}},G=e.getDefaultExportFromCjs(F);exports.ClientBuilder_1=F,exports.default=G;
1
+ "use strict";var e,t,r=require("./HttpSender.cjs"),i=require("./SigningSender.cjs"),s=require("./BaseUrlSender.cjs"),u=require("./AgentSender.cjs"),n=require("./StaticCredentials.cjs"),o=require("./SharedCredentials.cjs"),l=require("./CustomHeaderSender.cjs"),h=require("./StatusCodeSender.cjs"),a=require("./LicenseSender.cjs"),c=require("./Errors.cjs"),d=require("./RetrySender.cjs"),_=require("./_virtual/Sleeper.cjs"),p=require("./us_street/Client.cjs"),m=require("./us_zipcode/Client.cjs"),q=require("./us_autocomplete_pro/Client.cjs"),C=require("./us_extract/Client.cjs"),b=require("./international_street/Client.cjs"),w=require("./us_reverse_geo/Client.cjs"),S=require("./international_address_autocomplete/Client.cjs"),j=require("./us_enrichment/Client.cjs");exports.__require=function(){if(t)return e;t=1;const x=r.__require(),y=i.__require(),U=s.__require(),g=u.__require(),v=n.__require(),f=o.__require(),R=l.__require(),H=h.__require(),k=a.__require(),A=c.__require().BadCredentialsError,E=d.__require(),T=_.default,B=p.__require(),z=m.__require(),I=q.__require(),L=C.__require(),M=b.__require(),P=w.__require(),D=S.__require(),G=j.__require();return e=class{constructor(e){if(!e instanceof v||!e instanceof f)throw new A;this.signer=e,this.httpSender=void 0,this.maxRetries=5,this.maxTimeout=1e4,this.baseUrl=void 0,this.proxy=void 0,this.customHeaders={},this.debug=void 0,this.licenses=[]}withMaxRetries(e){return this.maxRetries=e,this}withMaxTimeout(e){return this.maxTimeout=e,this}withSender(e){return this.httpSender=e,this}withBaseUrl(e){return this.baseUrl=e,this}withProxy(e,t,r,i,s){return this.proxy={host:e,port:t,protocol:r},i&&s&&(this.proxy.auth={username:i,password:s}),this}withCustomHeaders(e){return this.customHeaders=e,this}withDebug(){return this.debug=!0,this}withLicenses(e){return this.licenses=e,this}buildSender(){if(this.httpSender)return this.httpSender;const e=new x(this.maxTimeout,this.proxy,this.debug),t=new H(e),r=new y(t,this.signer);let i=new g(r);if(this.maxRetries>0){const e=new E(this.maxRetries,r,new T);i=new g(e)}const s=new R(i,this.customHeaders),u=new U(s,this.baseUrl);return new k(u,this.licenses)}buildClient(e,t){return this.baseUrl||(this.baseUrl=e),new t(this.buildSender())}buildUsStreetApiClient(){return this.buildClient("https://us-street.api.smarty.com/street-address",B)}buildUsZipcodeClient(){return this.buildClient("https://us-zipcode.api.smarty.com/lookup",z)}buildUsAutocompleteProClient(){return this.buildClient("https://us-autocomplete-pro.api.smarty.com/lookup",I)}buildUsExtractClient(){return this.buildClient("https://us-extract.api.smarty.com/",L)}buildInternationalStreetClient(){return this.buildClient("https://international-street.api.smarty.com/verify",M)}buildUsReverseGeoClient(){return this.buildClient("https://us-reverse-geo.api.smarty.com/lookup",P)}buildInternationalAddressAutocompleteClient(){return this.buildClient("https://international-autocomplete.api.smarty.com/v2/lookup",D)}buildUsEnrichmentClient(){return this.buildClient("https://us-enrichment.api.smarty.com/lookup",G)}},e};
@@ -1 +1 @@
1
- "use strict";var e=class{constructor(e,s){this.sender=e,this.customHeaders=s}send(e){for(let s in this.customHeaders)e.headers[s]=this.customHeaders[s];return new Promise(((s,t)=>{this.sender.send(e).then(s).catch(t)}))}};exports.CustomHeaderSender_1=e;
1
+ "use strict";var e,s;exports.__require=function(){return s?e:(s=1,e=class{constructor(e,s){this.sender=e,this.customHeaders=s}send(e){for(let s in this.customHeaders)e.headers[s]=this.customHeaders[s];return new Promise(((s,r)=>{this.sender.send(e).then(s).catch(r)}))}})};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./_virtual/_commonjsHelpers.cjs");class r extends Error{constructor(e="unexpected error"){super(e)}}var t={BatchFullError:class extends r{constructor(){super("A batch can contain a max of 100 lookups.")}},BatchEmptyError:class extends r{constructor(){super("A batch must contain at least 1 lookup.")}},UndefinedLookupError:class extends r{constructor(){super("The lookup provided is missing or undefined. Make sure you're passing a Lookup object.")}},BadCredentialsError:class extends r{constructor(){super("Unauthorized: The credentials were provided incorrectly or did not match any existing active credentials.")}},PaymentRequiredError:class extends r{constructor(){super("Payment Required: There is no active subscription for the account associated with the credentials submitted with the request.")}},RequestEntityTooLargeError:class extends r{constructor(){super("Request Entity Too Large: The request body has exceeded the maximum size.")}},BadRequestError:class extends r{constructor(){super("Bad Request (Malformed Payload): A GET request lacked a street field or the request body of a POST request contained malformed JSON.")}},UnprocessableEntityError:class extends r{constructor(e){super(e)}},TooManyRequestsError:class extends r{constructor(){super("When using the public 'embedded key' authentication, we restrict the number of requests coming from a given source over too short of a time.")}},InternalServerError:class extends r{constructor(){super("Internal Server Error.")}},ServiceUnavailableError:class extends r{constructor(){super("Service Unavailable. Try again later.")}},GatewayTimeoutError:class extends r{constructor(){super("The upstream data provider did not respond in a timely fashion and the request failed. A serious, yet rare occurrence indeed.")}},DefaultError:class extends r{constructor(e){super(e)}}},s=e.getDefaultExportFromCjs(t);exports.Errors=t,exports.default=s;
1
+ "use strict";var e,r;exports.__require=function(){if(r)return e;r=1;class t extends Error{constructor(e="unexpected error"){super(e)}}return e={BatchFullError:class extends t{constructor(){super("A batch can contain a max of 100 lookups.")}},BatchEmptyError:class extends t{constructor(){super("A batch must contain at least 1 lookup.")}},UndefinedLookupError:class extends t{constructor(){super("The lookup provided is missing or undefined. Make sure you're passing a Lookup object.")}},BadCredentialsError:class extends t{constructor(){super("Unauthorized: The credentials were provided incorrectly or did not match any existing active credentials.")}},PaymentRequiredError:class extends t{constructor(){super("Payment Required: There is no active subscription for the account associated with the credentials submitted with the request.")}},RequestEntityTooLargeError:class extends t{constructor(){super("Request Entity Too Large: The request body has exceeded the maximum size.")}},BadRequestError:class extends t{constructor(){super("Bad Request (Malformed Payload): A GET request lacked a street field or the request body of a POST request contained malformed JSON.")}},UnprocessableEntityError:class extends t{constructor(e){super(e)}},TooManyRequestsError:class extends t{constructor(){super("When using the public 'embedded key' authentication, we restrict the number of requests coming from a given source over too short of a time.")}},InternalServerError:class extends t{constructor(){super("Internal Server Error.")}},ServiceUnavailableError:class extends t{constructor(){super("Service Unavailable. Try again later.")}},GatewayTimeoutError:class extends t{constructor(){super("The upstream data provider did not respond in a timely fashion and the request failed. A serious, yet rare occurrence indeed.")}},DefaultError:class extends t{constructor(e){super(e)}}}};
@@ -1 +1 @@
1
- "use strict";var e=require("./_virtual/_axios.cjs"),t=require("./util/buildSmartyResponse.cjs");const s=e.default.default,{buildSmartyResponse:o}=t.buildSmartyResponse_1;var a=class{constructor(e=1e4,t,o=!1){this.axiosInstance=s.create(),this.timeout=e,this.proxyConfig=t,o&&this.enableDebug()}buildRequestConfig({payload:e,parameters:t,headers:s,baseUrl:o}){let a={method:"GET",timeout:this.timeout,params:t,headers:s,baseURL:o,validateStatus:function(e){return e<500}};return e&&(a.method="POST",a.data=e),this.proxyConfig&&(a.proxy=this.proxyConfig),a}send(e){return new Promise(((t,s)=>{let a=this.buildRequestConfig(e);this.axiosInstance(a).then((e=>{let a=o(e);a.statusCode>=400&&s(a),t(a)})).catch((e=>s(o(void 0,e))))}))}enableDebug(){this.axiosInstance.interceptors.request.use((e=>(console.log("Request:\r\n",e),console.log("\r\n*******************************************\r\n"),e))),this.axiosInstance.interceptors.response.use((e=>(console.log("Response:\r\n"),console.log("Status:",e.status,e.statusText),console.log("Headers:",e.headers),console.log("Data:",e.data),e)))}};exports.HttpSender_1=a;
1
+ "use strict";var e,t,s=require("./_virtual/_axios.cjs"),o=require("./util/buildSmartyResponse.cjs");exports.__require=function(){if(t)return e;t=1;const r=s.default.default,{buildSmartyResponse:a}=o.__require();return e=class{constructor(e=1e4,t,s=!1){this.axiosInstance=r.create(),this.timeout=e,this.proxyConfig=t,s&&this.enableDebug()}buildRequestConfig({payload:e,parameters:t,headers:s,baseUrl:o}){let r={method:"GET",timeout:this.timeout,params:t,headers:s,baseURL:o,validateStatus:function(e){return e<500}};return e&&(r.method="POST",r.data=e),this.proxyConfig&&(r.proxy=this.proxyConfig),r}send(e){return new Promise(((t,s)=>{let o=this.buildRequestConfig(e);this.axiosInstance(o).then((e=>{let o=a(e);o.statusCode>=400&&s(o),t(o)})).catch((e=>s(a(void 0,e))))}))}enableDebug(){this.axiosInstance.interceptors.request.use((e=>(console.log("Request:\r\n",e),console.log("\r\n*******************************************\r\n"),e))),this.axiosInstance.interceptors.response.use((e=>(console.log("Response:\r\n"),console.log("Status:",e.status,e.statusText),console.log("Headers:",e.headers),console.log("Data:",e.data),e)))}}};
@@ -1 +1 @@
1
- "use strict";var t=class{constructor(t){this.lookup=t,this.data={}}add(t,a){this.lookupFieldIsPopulated(a)&&(this.data[t]=this.formatData(this.lookup[a]))}addCustomParameter(t,a){this.data[t]=a}formatData(t){return Array.isArray(t)?t.join(";"):t}lookupFieldIsPopulated(t){return""!==this.lookup[t]&&void 0!==this.lookup[t]}};exports.InputData_1=t;
1
+ "use strict";var t,o;exports.__require=function(){return o?t:(o=1,t=class{constructor(t){this.lookup=t,this.data={}}add(t,o){this.lookupFieldIsPopulated(o)&&(this.data[t]=this.formatData(this.lookup[o]))}addCustomParameter(t,o){this.data[t]=o}formatData(t){return Array.isArray(t)?t.join(";"):t}lookupFieldIsPopulated(t){return""!==this.lookup[t]&&void 0!==this.lookup[t]}})};
@@ -1 +1 @@
1
- "use strict";var e=class{constructor(e,s){this.sender=e,this.licenses=s}send(e){return 0!==this.licenses.length&&(e.parameters.license=this.licenses.join(",")),new Promise(((s,n)=>{this.sender.send(e).then(s).catch(n)}))}};exports.LicenseSender_1=e;
1
+ "use strict";var e,s;exports.__require=function(){return s?e:(s=1,e=class{constructor(e,s){this.sender=e,this.licenses=s}send(e){return 0!==this.licenses.length&&(e.parameters.license=this.licenses.join(",")),new Promise(((s,n)=>{this.sender.send(e).then(s).catch(n)}))}})};
@@ -1 +1 @@
1
- "use strict";var s=class{constructor(s,t={"Content-Type":"application/json; charset=utf-8"}){this.baseUrl="",this.baseUrlParam="",this.payload=s,this.headers=t,this.parameters={}}};exports.Request_1=s;
1
+ "use strict";var t,s;exports.__require=function(){return s?t:(s=1,t=class{constructor(t,s={"Content-Type":"application/json; charset=utf-8"}){this.baseUrl="",this.baseUrlParam="",this.payload=t,this.headers=s,this.parameters={}}})};
@@ -1 +1 @@
1
- "use strict";var s=class{constructor(s,t,r,e){this.statusCode=s,this.payload=t,this.error=r,this.headers=e}};exports.Response_1=s;
1
+ "use strict";var r,s;exports.__require=function(){return s?r:(s=1,r=class{constructor(r,s,t,e){this.statusCode=r,this.payload=s,this.error=t,this.headers=e}})};
@@ -1 +1 @@
1
- "use strict";var e=class{constructor(e=5,s,t){this.maxRetries=e,this.statusToRetry=[408,429,500,502,503,504],this.statusTooManyRequests=429,this.maxBackoffDuration=10,this.inner=s,this.sleeper=t}async send(e){let s=await this.inner.send(e);for(let t=0;t<this.maxRetries&&this.statusToRetry.includes(parseInt(s.statusCode));t++){if(parseInt(s.statusCode)===this.statusTooManyRequests){let e=10;if(s.headers){const t=s.headers["Retry-After"];Number.isInteger(t)&&(e=t)}await this.rateLimitBackOff(e)}else await this.backoff(t);s=await this.inner.send(e)}return s}async backoff(e){const s=Math.min(e,this.maxBackoffDuration);console.log(`There was an error processing the request. Retrying in ${s} seconds...`),await this.sleeper.sleep(s)}async rateLimitBackOff(e){console.log(`Rate limit reached. Retrying in ${e} seconds...`),await this.sleeper.sleep(e)}};exports.RetrySender_1=e;
1
+ "use strict";var e,t;exports.__require=function(){return t?e:(t=1,e=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}async send(e){let t=await this.inner.send(e);for(let s=0;s<this.maxRetries&&this.statusToRetry.includes(parseInt(t.statusCode));s++){if(parseInt(t.statusCode)===this.statusTooManyRequests){let e=10;if(t.headers){const s=t.headers["Retry-After"];Number.isInteger(s)&&(e=s)}await this.rateLimitBackOff(e)}else await this.backoff(s);t=await this.inner.send(e)}return t}async backoff(e){const t=Math.min(e,this.maxBackoffDuration);console.log(`There was an error processing the request. Retrying in ${t} seconds...`),await this.sleeper.sleep(t)}async rateLimitBackOff(e){console.log(`Rate limit reached. Retrying in ${e} seconds...`),await this.sleeper.sleep(e)}})};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./_virtual/_commonjsHelpers.cjs");var t=class{constructor(e,t){this.authId=e,this.hostName=t}sign(e){e.parameters.key=this.authId,this.hostName&&(e.headers.Referer="https://"+this.hostName)}},s=e.getDefaultExportFromCjs(t);exports.SharedCredentials_1=t,exports.default=s;
1
+ "use strict";var t,s;exports.__require=function(){return s?t:(s=1,t=class{constructor(t,s){this.authId=t,this.hostName=s}sign(t){t.parameters.key=this.authId,this.hostName&&(t.headers.Referer="https://"+this.hostName)}})};
@@ -1 +1 @@
1
- "use strict";var e=require("./Errors.cjs"),r=require("./SharedCredentials.cjs");const s=e.Errors.UnprocessableEntityError,n=r.SharedCredentials_1;var t=class{constructor(e,r){this.signer=r,this.sender=e}send(e){if(e.payload&&this.signer instanceof n){throw new s("Shared credentials cannot be used in batches with a length greater than 1 or when using the US Extract API.")}return new Promise(((r,s)=>{this.signer.sign(e),this.sender.send(e).then(r).catch(s)}))}};exports.SigningSender_1=t;
1
+ "use strict";var e,r,s=require("./Errors.cjs"),t=require("./SharedCredentials.cjs");exports.__require=function(){if(r)return e;r=1;const n=s.__require().UnprocessableEntityError,i=t.__require();return e=class{constructor(e,r){this.signer=r,this.sender=e}send(e){if(e.payload&&this.signer instanceof i){throw new n("Shared credentials cannot be used in batches with a length greater than 1 or when using the US Extract API.")}return new Promise(((r,s)=>{this.signer.sign(e),this.sender.send(e).then(r).catch(s)}))}}};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("./_virtual/_commonjsHelpers.cjs");var e=class{constructor(t,e){this.authId=t,this.authToken=e}sign(t){t.parameters["auth-id"]=this.authId,t.parameters["auth-token"]=this.authToken}},r=t.getDefaultExportFromCjs(e);exports.StaticCredentials_1=e,exports.default=r;
1
+ "use strict";var t,r;exports.__require=function(){return r?t:(r=1,t=class{constructor(t,r){this.authId=t,this.authToken=r}sign(t){t.parameters["auth-id"]=this.authId,t.parameters["auth-token"]=this.authToken}})};
@@ -1 +1 @@
1
- "use strict";const r=require("./Errors.cjs").Errors;var e=class{constructor(r){this.sender=r}send(e){return new Promise(((s,a)=>{this.sender.send(e).then(s).catch((e=>{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:e.error=new r.DefaultError(e&&e.payload&&e.payload.errors[0]&&e.payload.errors[0].message)}a(e)}))}))}};exports.StatusCodeSender_1=e;
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)}))}))}}};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../Batch.cjs").__require(),s=e.getDefaultExportFromCjs(r);exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../us_street/Candidate.cjs").__require(),s=e.getDefaultExportFromCjs(r);exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../international_street/Candidate.cjs").__require(),t=e.getDefaultExportFromCjs(r);exports.default=t;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../ClientBuilder.cjs").__require(),s=e.getDefaultExportFromCjs(r);exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";var r=require("./_commonjsHelpers.cjs"),e=require("../Errors.cjs").__require(),s=r.getDefaultExportFromCjs(e);exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../us_street/Lookup.cjs").__require(),s=e.getDefaultExportFromCjs(r);exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../us_zipcode/Lookup.cjs").__require(),s=e.getDefaultExportFromCjs(r);exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../us_autocomplete_pro/Lookup.cjs").__require(),o=e.getDefaultExportFromCjs(r);exports.default=o;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../us_extract/Lookup.cjs").__require(),s=e.getDefaultExportFromCjs(r);exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../international_street/Lookup.cjs").__require(),t=e.getDefaultExportFromCjs(r);exports.default=t;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../us_reverse_geo/Lookup.cjs").__require(),s=e.getDefaultExportFromCjs(r);exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../international_address_autocomplete/Lookup.cjs").__require(),t=e.getDefaultExportFromCjs(r);exports.default=t;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../us_enrichment/Lookup.cjs").__require(),s=e.getDefaultExportFromCjs(r);exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../us_enrichment/Response.cjs").__require(),s=e.getDefaultExportFromCjs(r);exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../us_zipcode/Result.cjs").__require(),s=e.getDefaultExportFromCjs(r);exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../us_extract/Result.cjs").__require(),s=e.getDefaultExportFromCjs(r);exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../SharedCredentials.cjs").__require(),s=e.getDefaultExportFromCjs(r);exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("../util/Sleeper.cjs"),r=require("./_commonjsHelpers.cjs").getAugmentedNamespace(e);exports.default=r;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../StaticCredentials.cjs").__require(),t=e.getDefaultExportFromCjs(r);exports.default=t;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../us_autocomplete_pro/Suggestion.cjs").__require(),s=e.getDefaultExportFromCjs(r);exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../international_address_autocomplete/Suggestion.cjs").__require(),t=e.getDefaultExportFromCjs(r);exports.default=t;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("axios"),r=require("./_commonjsHelpers.cjs");function t(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,c.get?c:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var c=t(e),u=r.getAugmentedNamespace(c);exports.default=u;
1
+ "use strict";var e=require("axios"),r=require("./_commonjsHelpers.cjs");function t(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,c.get?c:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var c=t(e),n=r.getAugmentedNamespace(c);exports.default=n;
@@ -1 +1 @@
1
- "use strict";exports.getAugmentedNamespace=function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})})),r},exports.getDefaultExportFromCjs=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e};
1
+ "use strict";exports.getAugmentedNamespace=function(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})})),r},exports.getDefaultExportFromCjs=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./_commonjsHelpers.cjs"),r=require("../util/buildClients.cjs").__require(),s=e.getDefaultExportFromCjs(r);exports.default=s;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Batch.cjs"),t=require("./ClientBuilder.cjs"),r=require("./util/buildClients.cjs"),u=require("./SharedCredentials.cjs"),s=require("./StaticCredentials.cjs"),o=require("./Errors.cjs"),i=require("./us_street/Lookup.cjs"),a=require("./us_street/Candidate.cjs"),l=require("./us_zipcode/Lookup.cjs"),d=require("./us_zipcode/Result.cjs"),n=require("./us_autocomplete_pro/Lookup.cjs"),c=require("./us_autocomplete_pro/Suggestion.cjs"),p=require("./us_extract/Lookup.cjs"),f=require("./us_extract/Result.cjs"),j=require("./international_street/Lookup.cjs"),_=require("./international_street/Candidate.cjs"),q=require("./us_reverse_geo/Lookup.cjs"),k=require("./international_address_autocomplete/Lookup.cjs"),L=require("./international_address_autocomplete/Suggestion.cjs"),x=require("./us_enrichment/Lookup.cjs"),m=require("./us_enrichment/Response.cjs");const C={Batch:e.default,ClientBuilder:t.default,buildClient:r.default,SharedCredentials:u.default,StaticCredentials:s.default,Errors:o.default},S={Lookup:i.default,Candidate:a.default},g={Lookup:l.default,Result:d.default},h={Lookup:n.default,Suggestion:c.default},R={Lookup:p.default,Result:f.default},v={Lookup:j.default,Candidate:_.default},A={Lookup:q.default},E={Lookup:k.default,Suggestion:L.default},B={Lookup:x.default,Response:m.default};var b={core:C,usStreet:S,usZipcode:g,usAutocompletePro:h,usExtract:R,internationalStreet:v,usReverseGeo:A,internationalAddressAutocomplete:E,usEnrichment:B};exports.core=C,exports.default=b,exports.internationalAddressAutocomplete=E,exports.internationalStreet=v,exports.usAutocompletePro=h,exports.usEnrichment=B,exports.usExtract=R,exports.usReverseGeo=A,exports.usStreet=S,exports.usZipcode=g;
1
+ "use strict";var e=require("./_virtual/Batch.cjs"),t=require("./_virtual/ClientBuilder.cjs"),r=require("./_virtual/buildClients.cjs"),u=require("./_virtual/SharedCredentials.cjs"),i=require("./_virtual/StaticCredentials.cjs"),a=require("./_virtual/Errors.cjs"),o=require("./_virtual/Lookup.cjs"),s=require("./_virtual/Candidate.cjs"),l=require("./_virtual/Lookup2.cjs"),d=require("./_virtual/Result.cjs"),c=require("./_virtual/Lookup3.cjs"),n=require("./_virtual/Suggestion.cjs"),p=require("./_virtual/Lookup4.cjs"),v=require("./_virtual/Result2.cjs"),f=require("./_virtual/Lookup5.cjs"),j=require("./_virtual/Candidate2.cjs"),q=require("./_virtual/Lookup6.cjs"),_=require("./_virtual/Lookup7.cjs"),k=require("./_virtual/Suggestion2.cjs"),L=require("./_virtual/Lookup8.cjs"),x=require("./_virtual/Response.cjs");const C={Batch:e.default,ClientBuilder:t.default,buildClient:r.default,SharedCredentials:u.default,StaticCredentials:i.default,Errors:a.default},S={Lookup:o.default,Candidate:s.default},g={Lookup:l.default,Result:d.default},R={Lookup:c.default,Suggestion:n.default},h={Lookup:p.default,Result:v.default},m={Lookup:f.default,Candidate:j.default},A={Lookup:q.default},E={Lookup:_.default,Suggestion:k.default},B={Lookup:L.default,Response:x.default};var b={core:C,usStreet:S,usZipcode:g,usAutocompletePro:R,usExtract:h,internationalStreet:m,usReverseGeo:A,internationalAddressAutocomplete:E,usEnrichment:B};exports.core=C,exports.default=b,exports.internationalAddressAutocomplete=E,exports.internationalStreet=m,exports.usAutocompletePro=R,exports.usEnrichment=B,exports.usExtract=h,exports.usReverseGeo=A,exports.usStreet=S,exports.usZipcode=g;
@@ -1 +1 @@
1
- "use strict";var e=require("../Errors.cjs"),r=require("../Request.cjs"),s=require("./Suggestion.cjs"),t=require("../util/buildInputData.cjs"),a=require("../util/apiToSDKKeyMap.cjs");const i=e.Errors,n=r.Request_1,d=s.Suggestion_1,o=t.buildInputData,u=a.apiToSDKKeyMap.internationalAddressAutocomplete;var c=class{constructor(e){this.sender=e}send(e){if(void 0===e)throw new i.UndefinedLookupError;let r=new n;return r.parameters=o(e,u),e.addressId&&(r.baseUrlParam=e.addressId),new Promise(((s,t)=>{this.sender.send(r).then((r=>{var a;r.error&&t(r.error),e.result=(a=r.payload)&&null===a.candidates?[]:a.candidates.map((e=>new d(e))),s(e)})).catch(t)}))}};exports.Client_1=c;
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 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("../_virtual/_commonjsHelpers.cjs");var t=class{constructor({search:s,addressId:t,country:e,maxResults:r=5,includeOnlyLocality:a,includeOnlyPostalCode:l}={}){this.result=[],this.search=s,this.addressId=t,this.country=e,this.maxResults=r,this.includeOnlyLocality=a,this.includeOnlyPostalCode=l,this.customParameters={}}addCustomParameter(s,t){this.customParameters[s]=t}},e=s.getDefaultExportFromCjs(t);exports.default=e;
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 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../_virtual/_commonjsHelpers.cjs");var e=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}},s=t.getDefaultExportFromCjs(e);exports.Suggestion_1=e,exports.default=s;
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 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("../_virtual/_commonjsHelpers.cjs");var n=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)}},e=s.getDefaultExportFromCjs(n);exports.Candidate_1=n,exports.default=e;
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)}})};
@@ -1 +1 @@
1
- "use strict";var e=require("../Request.cjs"),r=require("../Errors.cjs"),t=require("./Candidate.cjs"),s=require("../util/buildInputData.cjs"),n=require("../util/apiToSDKKeyMap.cjs");const i=e.Request_1,a=r.Errors,u=t.Candidate_1,o=s.buildInputData,d=n.apiToSDKKeyMap.internationalStreet;var c=class{constructor(e){this.sender=e}send(e){if(void 0===e)throw new a.UndefinedLookupError;let r=new i;return r.parameters=o(e,d),new Promise(((t,s)=>{this.sender.send(r).then((r=>{r.error&&s(r.error),t(function(e,r){return e.payload.map((e=>{r.result.push(new u(e))})),r}(r,e))})).catch(s)}))}};exports.Client_1=c;
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 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_virtual/_commonjsHelpers.cjs");const t=require("../Errors.cjs").Errors.UnprocessableEntityError,r="Country field is required.",i="Either freeform or address1 is required.",s="Insufficient information: One or more required fields were not set on the lookup.",o="Invalid input: geocode can only be set to 'true' (default is 'false'.",n="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 a(e){if(!e)return!0;return e.replace(/\s/g,"").length<1}function u(e){return!a(e)}var d=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(a(this.country))throw new t(r);if(u(this.freeform))return!0;if(a(this.address1))throw new t(i);if(u(this.postalCode))return!0;if(a(this.locality)||a(this.administrativeArea))throw new t(s);return!0}ensureValidData(){if((()=>u(this.geocode)&&"true"!==this.geocode.toLowerCase())())throw new t(o);if((()=>{let e=e=>this.language.toLowerCase()===e;return u(this.language)&&!(e("latin")||e("native"))})())throw new t(n);return!0}},h=e.getDefaultExportFromCjs(d);exports.default=h;
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 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e="6.3.2",r={version:e};exports.default=r,exports.version=e;
1
+ "use strict";var e="7.0.0",r={version:e};exports.default=r,exports.version=e;
@@ -1 +1 @@
1
- "use strict";var e=require("../Errors.cjs"),r=require("../Request.cjs"),s=require("./Suggestion.cjs"),t=require("../util/buildInputData.cjs"),u=require("../util/apiToSDKKeyMap.cjs");const o=e.Errors,i=r.Request_1,n=s.Suggestion_1,a=t.buildInputData,c=u.apiToSDKKeyMap.usAutocompletePro;var l=class{constructor(e){this.sender=e}send(e){if(void 0===e)throw new o.UndefinedLookupError;let r=new i;return r.parameters=a(e,c),new Promise(((s,t)=>{this.sender.send(r).then((r=>{var u;r.error&&t(r.error),e.result=null===(u=r.payload).suggestions?[]:u.suggestions.map((e=>new n(e))),s(e)})).catch(t)}))}};exports.Client_1=l;
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 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_virtual/_commonjsHelpers.cjs");var t=class{constructor(e){this.result=[],this.search=e,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(e,t){this.customParameters[e]=t}},s=e.getDefaultExportFromCjs(t);exports.default=s;
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 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_virtual/_commonjsHelpers.cjs");var t=class{constructor(e){this.streetLine=e.street_line,this.secondary=e.secondary,this.city=e.city,this.state=e.state,this.zipcode=e.zipcode,this.entries=e.entries,e.source&&(this.source=e.source)}},s=e.getDefaultExportFromCjs(t);exports.Suggestion_1=t,exports.default=s;
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 +1 @@
1
- "use strict";var e=require("../Errors.cjs"),r=require("../Request.cjs"),n=require("../util/buildInputData.cjs"),s=require("../util/apiToSDKKeyMap.cjs");const o=e.Errors,a=r.Request_1,t=n.buildInputData,{usEnrichment:i}=s.apiToSDKKeyMap;var d=class{constructor(e){this.sender=e}sendPrincipal(e){if(void 0===e)throw new o.UndefinedLookupError;let r=new a;return r.parameters=t(e,i),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 o.UndefinedLookupError;let r=new a;return r.parameters=t(e,i),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 o.UndefinedLookupError;let r=new a;return r.parameters=t(e,i),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 o.UndefinedLookupError;let r=new a;return r.parameters=t(e,i),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 o.UndefinedLookupError;let r=new a;return r.parameters=t(e,i),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)}))}};exports.Client_1=d;
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 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../_virtual/_commonjsHelpers.cjs");var e=class{constructor(t,e,s,r,a){this.smartyKey=t,this.include=e,this.exclude=s,this.dataset=r,this.dataSubset=a,this.response={},this.customParameters={}}addCustomParameter(t,e){this.customParameters[t]=e}},s=t.getDefaultExportFromCjs(e);exports.default=s;
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.response={},this.customParameters={}}addCustomParameter(t,s){this.customParameters[t]=s}})};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../_virtual/_commonjsHelpers.cjs");var e={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.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))}}},s=t.getDefaultExportFromCjs(e);exports.default=s;
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.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 +1 @@
1
- "use strict";const t=require("../us_street/Candidate.cjs").Candidate_1;var e=class{constructor(e){this.text=e.text,this.verified=e.verified,this.line=e.line,this.start=e.start,this.end=e.end,this.candidates=e.api_output.map((e=>new t(e)))}};exports.Address_1=e;
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 +1 @@
1
- "use strict";var e=require("../Errors.cjs"),r=require("../Request.cjs"),t=require("./Result.cjs"),s=require("../util/buildInputData.cjs"),u=require("../util/apiToSDKKeyMap.cjs");const i=e.Errors,n=r.Request_1,a=t.Result_1,o=s.buildInputData,c=u.apiToSDKKeyMap.usExtract;var l=class{constructor(e){this.sender=e}send(e){if(void 0===e)throw new i.UndefinedLookupError;let r=new n(e.text,{"Content-Type":"text/plain; charset=utf-8"});return r.parameters=o(e,c),new Promise(((t,s)=>{this.sender.send(r).then((r=>{r.error&&s(r.error),e.result=new a(r.payload),t(e)})).catch(s)}))}};exports.Client_1=l;
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 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_virtual/_commonjsHelpers.cjs");var s=class{constructor(e){this.result={meta:{},addresses:[]},this.text=e,this.html=void 0,this.aggressive=void 0,this.addressesHaveLineBreaks=void 0,this.addressesPerLine=void 0,this.customParameters={}}addCustomParameter(e,s){this.customParameters[e]=s}},t=e.getDefaultExportFromCjs(s);exports.default=t;
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 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_virtual/_commonjsHelpers.cjs");const s=require("./Address.cjs").Address_1;var r=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 s(e)))}},t=e.getDefaultExportFromCjs(r);exports.Result_1=r,exports.default=t;
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 +1 @@
1
- "use strict";var e=require("../Request.cjs"),r=require("./Response.cjs"),s=require("../util/buildInputData.cjs"),t=require("../util/apiToSDKKeyMap.cjs"),n=require("../Errors.cjs");const o=e.Request_1,i=r.Response_1,u=s.buildInputData,a=t.apiToSDKKeyMap.usReverseGeo,{UndefinedLookupError:c}=n.Errors;var p=class{constructor(e){this.sender=e}send(e){if(void 0===e)throw new c;let r=new o;return r.parameters=u(e,a),new Promise(((s,t)=>{this.sender.send(r).then((r=>{r.error&&t(r.error),s(function(e,r){return r.response=new i(e.payload),r}(r,e))})).catch(t)}))}};exports.Client_1=p;
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 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_virtual/_commonjsHelpers.cjs");const s=require("./Response.cjs").Response_1;var t=class{constructor(e,t,r=""){this.latitude=e.toFixed(8),this.longitude=t.toFixed(8),this.source=r,this.response=new s,this.customParameters={}}addCustomParameter(e,s){this.customParameters[e]=s}},r=e.getDefaultExportFromCjs(t);exports.default=r;
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 +1 @@
1
- "use strict";const s=require("./Result.cjs").Result_1;var t=class{constructor(t){this.results=[],t&&t.results.map((t=>{this.results.push(new s(t))}))}};exports.Response_1=t;
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))}))}}};